[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Fix for XFree86.spec (XFree86-4.1.0-12.src.rpm)



	Mike, a little fix to allow build binaries from XFree86-4.1.0-12.src.rpm.

	If you want to build binaries, setting WithExternalMesa = 0 (to compile a
hardware accelerated libGL.so), you need to comment the line 2087 of the
XFree86.spec file the same way it is in the files section. Otherwise, the
final stages of the build process will fail because there were missing
files. You may want to quit the dash in the first case if you want
libOSMesa.so to live in /usr/lib too.

%files devel
%defattr(-,root,root)
%if ! %{WithExternalMesa}
%dir /usr/X11R6/include/GL
/usr/X11R6/include/GL/*
/usr/X11R6/lib/libGL*.so
/usr/X11R6/lib/libOSMesa.so
/usr/include/GL
/usr/lib/libGL.so
#/usr/lib/libOSMesa.so		<--- If this is commented...

[...]

# Shared libraries:  /usr/X11R6/lib/lib*.so.* might be better in the long
run
# except for arch specific stuff, but it shouldn't be built in the first
place.
# libxrx.so can probably be disabled with imake "SharedLibxrx NO" instead
%if ! %{WithExternalMesa}
/usr/X11R6/lib/libGL*.so.*
/usr/X11R6/lib/libOSMesa.so.*
/usr/lib/libGL*.so.*
/usr/lib/libOSMesa.so.*            <--- comment here too!
%endif


	Regards - alfredo





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]