Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package glslang for openSUSE:Factory checked 
in at 2022-09-10 20:17:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/glslang (Old)
 and      /work/SRC/openSUSE:Factory/.glslang.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "glslang"

Sat Sep 10 20:17:09 2022 rev:37 rq:1002298 version:11.11.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/glslang/glslang.changes  2022-08-24 
15:10:40.412476178 +0200
+++ /work/SRC/openSUSE:Factory/.glslang.new.2083/glslang.changes        
2022-09-10 20:17:15.620824190 +0200
@@ -1,0 +2,13 @@
+Fri Sep  9 10:35:49 UTC 2022 - Ralf Habacker <ralf.habac...@freenet.de>
+
+- Adjust the cmake support files to use the shared libraries added
+  from the latest changes
+
+-------------------------------------------------------------------
+Wed Sep  7 09:20:41 UTC 2022 - Jan Engelhardt <jeng...@inai.de>
+
+- Rework static library removal & building procedure to identify
+  new static libs. (libGenericCodeGen.so and
+  libMachineIndependent.so are now added)
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ glslang.spec ++++++
--- /var/tmp/diff_new_pack.7gq4rv/_old  2022-09-10 20:17:16.092825403 +0200
+++ /var/tmp/diff_new_pack.7gq4rv/_new  2022-09-10 20:17:16.096825413 +0200
@@ -79,7 +79,6 @@
 %global _lto_cflags %{_lto_cflags} -ffat-lto-objects
 %cmake_install
 b="%buildroot"
-find "$b" -type f -name "*.a" -print -delete
 mkdir -p "$b/%_includedir"
 cp -a SPIRV glslang "$b/%_includedir/"
 find "$b/%_includedir/" -type f ! -iname "*.h" -a ! -iname "*.hpp" -print 
-delete
@@ -87,10 +86,14 @@
 find "$b/%_includedir/" -type f -exec chmod a-x "{}" "+"
 cp build/StandAlone/libglslang-default-resource-limits.so "$b/%_libdir/"
 
-# 3rd party programs use -lOGLCompiler (because pristine glslang ships .a 
files),
+# 3rd party programs use -lOGLCompiler (because pristine glslang shipped .a 
files),
 # so satisfy them under our shared build.
-ln -s libglslang.so "$b/%_libdir/libOGLCompiler.so"
-ln -s libglslang.so "$b/%_libdir/libOSDependent.so"
+for i in libOGLCompiler libOSDependent libGenericCodeGen 
libMachineIndependent; do
+       ln -s libglslang.so "$b/%_libdir/$i.so"
+       rm -f "$b/%_libdir/$i.a"
+done
+sed -i 's,\.a",\.so",g' %buildroot%{_datadir}/glslang/glslang-targets-*.cmake
+
 %fdupes %buildroot/%_prefix
 
 %post   -n %lname -p /sbin/ldconfig
@@ -104,7 +107,9 @@
 %_bindir/spirv*
 %_libdir/cmake/
 %_libdir/*resource*.so
+%_libdir/libGenericCodeGen.so
 %_libdir/libHLSL.so
+%_libdir/libMachineIndependent.so
 %_libdir/libOGLCompiler.so
 %_libdir/libOSDependent.so
 %_libdir/libSPIRV.so

Reply via email to