On 05.12.2012 09:37, Edward Mann wrote:
> On , Luis Felipe Strano
Moraes wrote:
>
>> Edward,
>>
>> sorry for taking so long to reply,
but see below:
>>
>> On Fri, Nov 23, 2012 at 3:12 PM, Edward Mann
<[email protected]> wrote:
>>
>>> On 23.11.2012 10:42, Luis Felipe
Strano Moraes wrote:
>>>
>>>> Edward,
>>>> which spec are you using
to build? I haven't dealt with Fedora packages for quite some time, but
it seems that that file is being installed by make install but is not
being packaged anywhere.
>>>> Your change just disabled the gl_x11
engine, but the right way out would be to point the install section to
package that file.
>>>> Ping me on irc ('lfelipe') and I can try to
help you out.
>>>> Best regards,
>>>> Luis Felipe
>>>>
>>>> On Fri,
Nov 23, 2012 at 12:20 PM, Edward Mann <[email protected]> wrote:
>>>>
>>>>> When i am building Evas i have an problem and get this error
>>>>>
>>>>> Installed (but unpackaged) file(s) found:
>>>>>
/usr/lib64/evas/modules/engines/gl_x11/linux-gnu-x86_64-1.7.2/module.so
>>>>>
>>>>> I just edit the spec file and move
>>>>>
>>>>>
%bcond_with module_engine_gl_x11
>>>>>
>>>>> into the
>>>>>
>>>>>
%bcond_without module_engine_gl_x11
>>>>>
>>>>> and it will build. I
don't set any special flags, so is this expected behavior?
>>>> --
>>>>
>>>> Luís Felipe Strano Moraes
>>>> http://www.strano.org [1]
>>>
>>>
I did not see you in IRC. If the message at the top of the evas.spec
file is correct, what i did was enabled the packaging of gl_x11.
>>>
>>> # Conditional build stuff; from rpm 4.4 /usr/lib/rpm/macros.
>>> #
bcond_without defaults to WITH, and vice versa. Yes, it's
>>> #
ass-backward. Blame PLD.
>>
>> Yes, you're correct.
>>
>>> i just
untar the evas release and edit the evas.spec file that is present.
>>>
>>> I then tar evas-1.7.2 back up and run rpmbuild -ta
evas-1.7.2.tar.gz and it works.
>>>
>>> I have had to make this change
for a while, so i want to know if i am building the package wrong.
>>
>> You're not building the package wrong, what is incorrect is in fact
the spec file. I've setup a Fedora VM here and will be updating the spec
files accordingly, but basically the spec file had the gl_x11 engine
disabled by default, but the argument it was giving configure to disable
it does not exist.
>>
>> configure: WARNING: unrecognized options:
--enable-image-saver-eet, --enable-image-saver-jpeg,
--enable-image-saver-png, --enable-image-saver-tiff,
--disable-image-saver-edb, --disable-gl-x11, --disable-sdl
>>
>>
Configure was then autodetecting the gl_x11 engine to be built, but the
proper installation sections were ifdef'd out.
>>
>> I'll be going
over all the specs soon in order to check other legacy options there and
will try to update them accordingly during this week, if you've any
other feedback that would sure be helpful.
>>
>> Best regards,
>>
Luis Felipe
>>
>> --
>> Luís Felipe Strano Moraes
>>
http://www.strano.org [1]
>
> I noticed this warning in other builds as
well. I was planning on getting into each spec.in file that was showing
that error and fixing them. If so do you want me to send you a diff, or
do you just want me to wait for you to fix them?
>
> Thanks
>
>
------------------------------------------------------------------------------
>
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
>
Remotely access PCs and mobile devices and provide instant support
>
Improve your efficiency, and focus on delivering more value-add
services
> Discover what IT Professionals Know. Rescue delivers
>
http://p.sf.net/sfu/logmein_12329d2d [2]
>
>
_______________________________________________
> Enlightenment-release
mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/enlightenment-release
[3]
I have spent some time messing around with evas trying to get it to
build with gl support with xcb and sdl, was not successful, however i
did clean up the spec.in file. I have attached my patch here.
I also
added in the cpu stuff. However i am not sure if i should take that back
out or not. I was following the build instructions here ->
http://trac.enlightenment.org/e/wiki/Packaging for evas, it's a little
out of date. If you want i can create a new issue and attach the patch.
If that is what i should do from now on let me know.
Links:
------
[1] http://www.strano.org
[2]
http://p.sf.net/sfu/logmein_12329d2d
[3]
https://lists.sourceforge.net/lists/listinfo/enlightenment-release
--- evas.spec.in.orig 2012-12-11 13:02:09.962001521 -0600
+++ evas.spec.in 2012-12-11 15:05:04.095001213 -0600
@@ -16,14 +16,11 @@
## disabled features
%bcond_with module_loader_edb
-%bcond_with module_saver_edb
-%bcond_with module_engine_directfb
-%bcond_with module_engine_gl_x11
-%bcond_with module_engine_software_16_x11
-%bcond_with module_engine_software_sdl
+%bcond_with module_engine_software_xlib
%bcond_with module_engine_software_xcb
-%bcond_with module_loader_gif
%bcond_with module_loader_svg
+%bcond_with module_engine_gl_xcb
+%bcond_with module_engine_gl_sdl
## enabled features
%bcond_without module_engine_software_x11
@@ -31,13 +28,9 @@
%bcond_without module_engine_fb
%bcond_without module_loader_pmaps
%bcond_without module_loader_png
-%bcond_without module_saver_png
%bcond_without module_loader_jpeg
-%bcond_without module_saver_jpeg
%bcond_without module_loader_tiff
-%bcond_without module_saver_tiff
%bcond_without module_loader_eet
-%bcond_without module_saver_eet
%bcond_without module_loader_xpm
%bcond_without module_loader_bmp
%bcond_without module_loader_wbmp
@@ -45,6 +38,21 @@
%bcond_without module_loader_ico
%bcond_without module_loader_psd
%bcond_without module_loader_generic
+%bcond_without module_loader_gif
+%bcond_without module_engine_directfb
+%bcond_without module_engine_software_16_x11
+%bcond_without module_engine_gl_xlib
+%bcond_without module_saver_eet
+%bcond_without module_saver_jpeg
+%bcond_without module_saver_png
+%bcond_without module_saver_tiff
+%bcond_without cpu_mmx
+%bcond_without cpu_sse
+%bcond_without cpu_sse3
+%bcond_without pthreads
+%bcond_without async_events
+%bcond_without async_preload
+%bcond_without cpu_c
# This just keeps a missing doxygen from killing the build.
%define _missing_doc_files_terminate_build 0
@@ -65,21 +73,24 @@
%define ac_with_module_loader_ico
--%{?with_module_loader_ico:en}%{!?with_module_loader_ico:dis}able-image-loader-ico
%define ac_with_module_loader_psd
--%{?with_module_loader_psd:en}%{!?with_module_loader_psd:dis}able-image-loader-psd
%define ac_with_module_loader_generic
--%{?with_module_loader_generic:en}%{!?with_module_loader_generic:dis}able-image-loader-generic
-%define ac_with_module_saver_eet
--%{?with_module_saver_eet:en}%{!?with_module_saver_eet:dis}able-image-saver-eet
-%define ac_with_module_saver_jpeg
--%{?with_module_saver_jpeg:en}%{!?with_module_saver_jpeg:dis}able-image-saver-jpeg
-%define ac_with_module_saver_png
--%{?with_module_saver_png:en}%{!?with_module_saver_png:dis}able-image-saver-png
-%define ac_with_module_saver_tiff
--%{?with_module_saver_tiff:en}%{!?with_module_saver_tiff:dis}able-image-saver-tiff
-%define ac_with_module_saver_gif
--%{?with_module_saver_gif:en}%{!?with_module_saver_gif:dis}able-image-saver-gif
-%define ac_with_module_saver_edb
--%{?with_module_saver_edb:en}%{!?with_module_saver_edb:dis}able-image-saver-edb
-%define ac_with_module_saver_xpm
--%{?with_module_saver_xpm:en}%{!?with_module_saver_xpm:dis}able-image-saver-xpm
%define ac_with_module_engine_software-x11
--%{?with_module_engine_software_x11:en}%{!?with_module_engine_software_x11:dis}able-software-x11
%define ac_with_module_engine_buffer
--%{?with_module_engine_buffer:en}%{!?with_module_engine_buffer:dis}able-buffer
%define ac_with_module_engine_fb
--%{?with_module_engine_fb:en}%{!?with_module_engine_fb:dis}able-fb
-%define ac_with_module_engine_gl_x11
--%{?with_module_engine_gl_x11:en}%{!?with_module_engine_gl_x11:dis}able-gl-x11
%define ac_with_module_engine_directfb
--%{?with_module_engine_directfb:en}%{!?with_module_engine_directfb:dis}able-directfb
%define ac_with_module_engine_software_16_x11
--%{?with_module_engine_software_16_x11:en}%{!?with_module_engine_software_16_x11:dis}able-software-16-x11
-%define ac_with_module_engine_software_sdl
--%{?with_module_engine_software_sdl:en}%{!?with_module_engine_software_sdl:dis}able-sdl
+%define ac_with_module_engine_software_xlib
--%{?with_module_engine_software_xlib:en}%{!?with_module_engine_software_xlib:dis}able-software-xlib
%define ac_with_module_engine_software_xcb
--%{?with_module_engine_software_xcb:en}%{!?with_module_engine_software_xcb:dis}able-software-xcb
+%define ac_with_module_engine_gl_xcb
--%{?with_module_engine_gl_xcb:en}%{!?with_module_engine_gl_xcb:dis}able-gl-xcb
+%define ac_with_module_engine_gl_xlib
--%{?with_module_engine_gl_xlib:en}%{!?with_module_engine_gl_xlib:dis}able-gl-xlib
+%define ac_with_module_engine_gl_sdl
--%{?with_module_engine_gl_sdl:en}%{!?with_module_engine_gl_sdl:dis}able-gl-sdl
+%define ac_with_pthreads
--%{?with_pthreads:en}%{!?with_pthreads:dis}able-pthreads
+%define ac_with_async_events
--%{?with_async_events:en}%{!?with_async_events:dis}able-async-events
+%define ac_with_async_preload
--%{?with_async_preload:en}%{!?with_async_preload:dis}able-async-preload
+%define ac_with_cpu_mmx --%{?with_cpu_mmx:en}%{!?with_cpu_mmx:dis}able-cpu-mmx
+%define ac_with_cpu_sse --%{?with_cpu_sse:en}%{!?with_cpu_sse:dis}able-cpu-sse
+%define ac_with_cpu_sse3
--%{?with_cpu_sse3:en}%{!?with_cpu_sse3:dis}able-cpu-sse3
+%define ac_with_cpu_c --%{?with_cpu_c:en}%{!?with_cpu_c:dis}able-cpu-c
+
%{!?_rel:%{expand:%%global _rel 0.enl%{?dist}}}
@@ -233,7 +244,7 @@
%package module_loader_svg
Summary: SVG Image loader module for Evas
Group: System Environment/Libraries
-BuildRequires: esvg-devel >= 0.16
+BuildRequires: librsvg2-devel >= 0.16
%description module_loader_svg
svg Image loader module for Evas
%endif
@@ -330,16 +341,25 @@
Framebuffer rendering engine module for Evas
%endif
-%if %{with module_engine_gl_x11}
-%package module_engine_gl_x11
+%if %{with module_engine_gl_xlib}
+%package module_engine_gl_xlib
Summary: OpenGL under X11 rendering engine module for Evas
Group: System Environment/Libraries
#BuildSuggests: xorg-x11-devel, xorg-x11-Mesa-libGL, XFree86-devel
Requires: evas
-%description module_engine_gl_x11
+%description module_engine_gl_xlib
OpenGL under X11 rendering engine module for Evas
%endif
+%if %{with module_engine_gl_xcb}
+%package module_engine_gl_xcb
+Summary: OpenGL XCB rendering engine module for Evas
+Group: System Environment/Libraries
+Requires: evas
+%description module_engine_gl_xcb
+OpenGL XCB rendering engine module for Evas
+%endif
+
%if %{with module_engine_directfb}
%package module_engine_directfb
Summary: Directfb rendering engine module for Evas
@@ -383,6 +403,16 @@
Software XCB X11 rendering engine module for Evas
%endif
+%if %{with module_engine_gl_sdl}
+%package module_engine_gl_sdl
+Summary: OpenGl SDL rendering backend for Evas
+Group: System Environment/Libraries
+BuildRequires: SDL-devel
+Requires: evas
+%description module_engine_gl_sdl
+OpenGl SDL rendering backend for Evas
+%endif
+
%prep
%setup -q
@@ -412,11 +442,19 @@
%{?ac_with_module_engine_software_x11} \
%{?ac_with_module_engine_buffer} \
%{?ac_with_module_engine_fb} \
- %{?ac_with_module_engine_gl_x11} \
+ %{?ac_with_module_engine_gl_xlib} \
%{?ac_with_module_engine_directfb} \
%{?ac_with_module_engine_software_16_x11} \
%{?ac_with_module_engine_software_sdl} \
%{?ac_with_module_engine_software_xcb} \
+ %{?ac_with_module_engine_gl_xcb} \
+ %{?ac_with_pthreads} \
+ %{?ac_with_async_events} \
+ %{?ac_with_async_preload} \
+ %{?ac_with_cpu_mmx} \
+ %{?ac_with_cpu_sse} \
+ %{?ac_with_cpu_sse3} \
+ %{?ac_with_cpu_c} \
$RPM_CONFIGURE_OPTS
%{__make} %{?_smp_mflags} %{?mflags}
test -x `which doxygen` && /bin/sh gendoc || :
@@ -594,12 +632,18 @@
%{_libdir}/evas/modules/engines/fb/*/module.so
%endif
-%if %{with module_engine_gl_x11}
-%files module_engine_gl_x11
+%if %{with module_engine_gl_xlib}
+%files module_engine_gl_xlib
%defattr(-, root, root)
%{_libdir}/evas/modules/engines/gl_x11/*/module.so
%endif
+%if %{with module_engine_gl_xcb}
+%files module_engine_gl_xcb
+%defattr(-, root, root)
+%{_libdir}/evas/modules/engines/gl_xcb/*/module.so
+%endif
+
%if %{with module_engine_directfb}
%files module_engine_directfb
%defattr(-, root, root)
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Enlightenment-release mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-release