Accepting request 100753 from X11:XOrg
- create the full set of fake libxcb-* libs being replaced now by libxcb-util (reported by email) OBS-URL: https://build.opensuse.org/request/show/100753 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xorg-x11-libs?expand=0&rev=114
This commit is contained in:
commit
4fed9b8544
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 19 10:54:03 UTC 2012 - sndirsch@suse.com
|
||||
|
||||
- create the full set of fake libxcb-* libs being replaced now
|
||||
by libxcb-util (reported by email)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 16 11:25:52 CET 2012 - sndirsch@suse.de
|
||||
|
||||
|
@ -146,11 +146,16 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
||||
# for compatibility reasons
|
||||
ln -s libXaw7.so.7 $RPM_BUILD_ROOT/%{_libdir}/libXaw8.so.8
|
||||
ln -s libXaw.so.7 $RPM_BUILD_ROOT/%{_libdir}/libXaw.so.8
|
||||
# create fake libxcb-atom.so.1 (bnc #741465)
|
||||
> xcb-atom.c
|
||||
gcc -Wall -ansi -pedantic -c xcb-atom.c -fPIC
|
||||
gcc -shared -Wl,-soname,libxcb-atom.so.1 \
|
||||
-o $RPM_BUILD_ROOT%{_libdir}/libxcb-atom.so.1 xcb-atom.o
|
||||
# create fake libxcb-* libs being replaced now by libxcb-util (bnc #741465
|
||||
# and reported by others)
|
||||
for ext_version in atom:1 aux:0 event:1 icccm:1 image:0 keysyms:1 property:1 render-util:0 reply:1; do
|
||||
ext=${ext_version%:*}
|
||||
version=${ext_version#*:}
|
||||
> xcb-${ext}.c
|
||||
gcc -Wall -ansi -pedantic -c xcb-${ext}.c -fPIC
|
||||
gcc -shared -Wl,-soname,libxcb-${ext}so.${version} \
|
||||
-o $RPM_BUILD_ROOT%{_libdir}/libxcb-${ext}.so.${version} xcb-${ext}.o
|
||||
done
|
||||
%if %suse_version > 1110
|
||||
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user