Hello community, here is the log from the commit of package yamagi-quake2 for openSUSE:Factory checked in at 2017-06-12 15:34:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yamagi-quake2 (Old) and /work/SRC/openSUSE:Factory/.yamagi-quake2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "yamagi-quake2" Mon Jun 12 15:34:39 2017 rev:4 rq:502839 version:7.00 Changes: -------- --- /work/SRC/openSUSE:Factory/yamagi-quake2/yamagi-quake2.changes 2017-05-03 15:57:43.951631615 +0200 +++ /work/SRC/openSUSE:Factory/.yamagi-quake2.new/yamagi-quake2.changes 2017-06-12 15:34:44.264846362 +0200 @@ -0,0 +1,21 @@ + +------------------------------------------------------------------- +Fri Jun 9 13:43:49 UTC 2017 - mardnh@gmx.de + +- Update to version 7.0.0 + + Remove the broken multitexturing render path from the OpenGL 1.4 + renderer. It was switched off by default in 6.00. + + Reimplement the support for shared renderer libraries. Please note + the this is an incompatible implementation with an custom API. The + original renderer libraries will not work! + + Implement an OpenGL 3.2 renderer. This renderer has the same look + and feel as the old OpenGL 1.4 renderer but makes heavy use of + modern OpenGL and GPU features. An OpenGL 3.2 capable GPU (Intel + starting with Ivy Bridge on Windows or Sandy Bridge on Linux, Nvidia + staring with G80 and AMD starting with R600 / HD2000) is required. + + Fix OpenAL compatibility with modern openal-soft versions. + + Several fixes and optimizations to OpenAL, implement support for + doppler effects. (by xorw) +- Add patch: + + yamagi-quake2-fix-OpenGL-linking.diff + Old: ---- quake2-6.00.tar.xz New: ---- quake2-7.00.tar.xz yamagi-quake2-fix-OpenGL-linking.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yamagi-quake2.spec ++++++ --- /var/tmp/diff_new_pack.IR0lOw/_old 2017-06-12 15:34:44.888758364 +0200 +++ /var/tmp/diff_new_pack.IR0lOw/_new 2017-06-12 15:34:44.892757800 +0200 @@ -18,7 +18,7 @@ Name: yamagi-quake2 -Version: 6.00 +Version: 7.00 Release: 0 Summary: Enhanced Quake 2 Source Port License: GPL-2.0 @@ -27,6 +27,7 @@ Source: http://deponie.yamagi.org/quake2/quake2-%{version}.tar.xz Source99: %{name}.changes Source100: yamagi-quake2.appdata.xml +Patch0: yamagi-quake2-fix-OpenGL-linking.diff BuildRequires: ImageMagick BuildRequires: cmake BuildRequires: gcc-c++ @@ -48,13 +49,15 @@ %prep %setup -q -n quake2-%{version} +%patch0 -p1 # Fix usage of __DATE__ macro to prevent build in excess modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{SOURCE99}")" DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\"" sed -i "s/__DATE__/${DATE}/g" src/common/misc.c src/game/savegame/savegame.c %build -%cmake -DSYSTEMWIDE_SUPPORT=ON +%cmake \ + -DSYSTEMWIDE_SUPPORT=ON make %{_smp_mflags} %install @@ -62,6 +65,8 @@ install -dm 755 %{buildroot}%{_bindir} install -Dpm 755 build/release/quake2 $q2dir/yquake2 install -Dpm 755 build/release/q2ded $q2dir/yq2ded +install -Dpm 644 build/release/ref_gl1.so $q2dir/ref_gl1.so +install -Dpm 644 build/release/ref_gl3.so $q2dir/ref_gl3.so install -Dpm 644 build/release/baseq2/game.so $q2dir/baseq2/game.so install -Dpm 644 stuff/yq2.cfg $q2dir/baseq2/yq2.cfg ++++++ quake2-6.00.tar.xz -> quake2-7.00.tar.xz ++++++ ++++ 45516 lines of diff (skipped) ++++++ yamagi-quake2-fix-OpenGL-linking.diff ++++++ diff --git a/CMakeLists.txt b/CMakeLists.txt index 8e4a1b3..0cb3d28 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -524,7 +524,7 @@ set_target_properties(ref_gl1 PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/release RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/release ) -target_link_libraries(ref_gl1 ${yquake2LinkerFlags} ${yquake2OpenGLLinkerFlags} ${yquake2SDLLinkerFlags}) +target_link_libraries(ref_gl1 ${yquake2LinkerFlags} ${yquake2OpenGLLinkerFlags} ${yquake2SDLLinkerFlags} GL) # Build the GL3 dynamic library add_library(ref_gl3 MODULE ${GL3-Source} ${GL3-Header} ${GL-Platform-Specific-Source}) @@ -533,4 +533,4 @@ set_target_properties(ref_gl3 PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/release RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/release ) -target_link_libraries(ref_gl3 ${yquake2LinkerFlags} ${yquake2OpenGLLinkerFlags} ${yquake2SDLLinkerFlags}) +target_link_libraries(ref_gl3 ${yquake2LinkerFlags} ${yquake2OpenGLLinkerFlags} ${yquake2SDLLinkerFlags} GL)