Hello community, here is the log from the commit of package glslang for openSUSE:Factory checked in at 2019-10-18 14:30:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/glslang (Old) and /work/SRC/openSUSE:Factory/.glslang.new.2352 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "glslang" Fri Oct 18 14:30:14 2019 rev:18 rq:738488 version:7.12.3352 Changes: -------- --- /work/SRC/openSUSE:Factory/glslang/glslang.changes 2019-09-11 10:24:07.235483013 +0200 +++ /work/SRC/openSUSE:Factory/.glslang.new.2352/glslang.changes 2019-10-18 14:30:15.656735131 +0200 @@ -1,0 +2,7 @@ +Mon Oct 14 21:01:23 UTC 2019 - Jan Engelhardt <[email protected]> + +- Drop unused static libraries, functions of libOGLCompilerDLL and + libOSDependent are actually present in libglslang already. + [boo#1153950] + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ glslang.spec ++++++ --- /var/tmp/diff_new_pack.RFgyf2/_old 2019-10-18 14:30:16.128733901 +0200 +++ /var/tmp/diff_new_pack.RFgyf2/_new 2019-10-18 14:30:16.132733890 +0200 @@ -82,6 +82,7 @@ %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 @@ -89,6 +90,11 @@ 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), +# so satisfy them under our shared build. +ln -s libglslang.so "$b/%_libdir/libOGLCompiler.so" +ln -s libglslang.so "$b/%_libdir/libOSDependent.so" + %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig @@ -100,9 +106,10 @@ %defattr(-,root,root) %_bindir/gls* %_bindir/spirv* -%_libdir/*.a %_libdir/*resource*.so %_libdir/libHLSL.so +%_libdir/libOGLCompiler.so +%_libdir/libOSDependent.so %_libdir/libSPIRV.so %_libdir/libSPVRemapper.so %_libdir/libglslang.so
