Hello community,

here is the log from the commit of package VirtualGL for openSUSE:Factory 
checked in at 2016-08-29 15:34:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/VirtualGL (Old)
 and      /work/SRC/openSUSE:Factory/.VirtualGL.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "VirtualGL"

Changes:
--------
--- /work/SRC/openSUSE:Factory/VirtualGL/VirtualGL.changes      2016-06-19 
11:08:49.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.VirtualGL.new/VirtualGL.changes 2016-08-29 
15:36:00.000000000 +0200
@@ -1,0 +2,8 @@
+Wed Aug 24 14:05:22 UTC 2016 - [email protected]
+
+- Fix bnc#993645 as-needed eating symbols needed by this lib
+  * virtualgl-nodl.patch
+- Use system xcb headers
+- Rename glxinfo2 to vglxinfo, sounds bit better and more descriptive
+
+-------------------------------------------------------------------

New:
----
  virtualgl-nodl.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ VirtualGL.spec ++++++
--- /var/tmp/diff_new_pack.Ia9ee0/_old  2016-08-29 15:36:05.000000000 +0200
+++ /var/tmp/diff_new_pack.Ia9ee0/_new  2016-08-29 15:36:05.000000000 +0200
@@ -27,6 +27,7 @@
 Source1:        baselibs.conf
 Patch1:         VirtualGL-link-libs.patch
 Patch2:         gcc6_literal_suffixes.patch
+Patch3:         virtualgl-nodl.patch
 BuildRequires:  Mesa-devel
 BuildRequires:  Mesa-libGLU-devel
 BuildRequires:  cmake
@@ -35,12 +36,14 @@
 BuildRequires:  glibc-devel
 BuildRequires:  libjpeg-devel
 BuildRequires:  pkgconfig
+BuildRequires:  pkgconfig(gl)
 BuildRequires:  pkgconfig(glu)
 BuildRequires:  pkgconfig(libcrypto)
 BuildRequires:  pkgconfig(libssl)
 BuildRequires:  pkgconfig(openssl)
 BuildRequires:  pkgconfig(x11)
 BuildRequires:  pkgconfig(x11-xcb)
+BuildRequires:  pkgconfig(xcb-keysyms)
 BuildRequires:  pkgconfig(xext)
 BuildRequires:  pkgconfig(xv)
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -94,6 +97,7 @@
 %setup -q
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 # Use /var/lib
 sed -e "s#%{_sysconfdir}/opt#%{_localstatedir}/lib#g" \
@@ -107,6 +111,7 @@
 %cmake \
     -DVGL_SYSTEMFLTK=ON \
     -DVGL_SYSTEMGLX=ON \
+    -DVGL_SYSTEMXCB=ON \
     -DVGL_USESSL=ON \
     -DVGL_USEXV=ON \
     -DTJPEG_INCLUDE_DIR=%{_includedir} \
@@ -128,7 +133,7 @@
 # Docs had wrong names
 chmod 644 doc/LGPL.txt doc/LICENSE.txt doc/index.html doc/*.png doc/*.gif 
doc/*.css
 rm -rf %{buildroot}%{_prefix}/doc
-mv -f %{buildroot}%{_bindir}/glxinfo %{buildroot}%{_bindir}/glxinfo2
+mv -f %{buildroot}%{_bindir}/glxinfo %{buildroot}%{_bindir}/vglxinfo
 
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
@@ -140,7 +145,7 @@
 %{_bindir}/tcbench
 %{_bindir}/nettest
 %{_bindir}/cpustat
-%{_bindir}/glxinfo2
+%{_bindir}/vglxinfo
 %{_bindir}/glxspheres
 # God knows what this is but other
 # distributions do the same...

++++++ virtualgl-nodl.patch ++++++
Index: VirtualGL-2.5/server/CMakeLists.txt
===================================================================
--- VirtualGL-2.5.orig/server/CMakeLists.txt
+++ VirtualGL-2.5/server/CMakeLists.txt
@@ -78,6 +78,7 @@ if(VGL_USEXV)
        set(FAKER_SOURCES ${FAKER_SOURCES};XVTrans.cpp)
 endif()
 
+set(GLLIB -Wl,--no-as-needed ${OPENGL_gl_LIBRARY} -Wl,--as-needed)
 foreach(fakerlib ${VGL_FAKER_NAME} ${VGL_FAKER_NAME}-nodl)
        add_library(${fakerlib} SHARED ${FAKER_SOURCES})
        if(MAPFLAG)
@@ -91,7 +92,7 @@ foreach(fakerlib ${VGL_FAKER_NAME} ${VGL
        target_link_libraries(${fakerlib} vglcommon ${FBXFAKERLIB} vglsocket m
                ${LIBDL})
        if(${fakerlib} STREQUAL ${VGL_FAKER_NAME})
-               target_link_libraries(${fakerlib} ${OPENGL_gl_LIBRARY})
+               target_link_libraries(${fakerlib} ${GLLIB})
        endif()
        if(CMAKE_SYSTEM_NAME STREQUAL "SunOS" AND CMAKE_COMPILER_IS_GNUCXX)
                # For some reason, on SunOS/GCC CMake tries to use the C 
compiler to link

Reply via email to