Re: Fwd: Trigger-Rally 0.6.7 release

Tobias Frost <[email protected]> Fri, 24 Jul 2026 14:31:53 +0200
Newsgroups gmane.linux.debian.devel.games
Message-ID <[email protected]>
Hi,

please file a bug against the package, so that your information / patch
won't get lost. (The package maintainers not necessarily read this
mailing list, so the BTS would be the better venue anyways)

Thanks!

-- 
tobi

On Thu, Jul 23, 2026 at 11:46:21PM +0300, Barracuda wrote:
> Hello!
> 
> We are pleased to announce a new release after a few years of hiatus:
> https://sourceforge.net/projects/trigger-rally/files/trigger-0.6.7/
> 
> Packaging-wise there's not that much changed; we removed a GLU dependency and
> incorporated two patches, disable-strip.patch and libtinyxml2-7.0.0.patch,
> into the source tree.
> We also moved two data files, trigger-rally.appdata.xml and
> trigger-rally.desktop, into another directory.
> Other than that, everything should be the same.
> 
> I attach a patch against 0.6.6.1's debian config which incorporates most
> changes and allows packages to be built, you can use it as a baseline. Beware
> that it removes verbose-build.patch.
> 
> I'll be more that glad to answer any questions in case you have some.
> 
> Best regards,
> Ivan
> 
> P.S. Sorry if this is a wrong list to use for notification. I've attempted to
> reach Alexandre Detiste, who is a maintainer of this package
> (https://salsa.debian.org/games-team/trigger-rally) directly, but didn't get a
> response.

> diff -Naur debian/changelog debian-new/changelog
> --- debian/changelog	2025-05-02 14:21:20.000000000 +0300
> +++ debian-new/changelog	2026-06-18 17:32:19.153012698 +0300
> @@ -1,3 +1,13 @@
> +trigger-rally (0.6.7-1) unstable; urgency=medium
> +
> +  * New upstream version 0.6.7.
> +  * Remove disable-strip.patch and libtinyxml2-7.0.0.patch (merged upstream)
> +  * Update fix-sdl2-detection.patch
> +  * Remove bundled trigger-rally.desktop file (provided upstream)
> +  * Handle trigger-rally.appdata.xml metadata file
> +
> + -- John Doe <[email protected]>  Fri, 12 Jun 2026 23:59:59 +0200
> +
>  trigger-rally (0.6.6.1-4) unstable; urgency=medium
>  
>    * Team upload.
> diff -Naur debian/not-installed debian-new/not-installed
> --- debian/not-installed	2025-05-02 14:00:00.000000000 +0300
> +++ debian-new/not-installed	2026-06-18 17:37:43.506754721 +0300
> @@ -20,3 +20,5 @@
>  usr/share/games/trigger-rally/icon/trigger-96.png
>  usr/share/games/trigger-rally/icon/trigger-rally-icons.svg
>  usr/share/games/trigger-rally/icon/trigger-rally-win.ico
> +usr/share/games/trigger-rally/metainfo/trigger-rally.appdata.xml
> +usr/share/games/trigger-rally/metainfo/trigger-rally.desktop
> diff -Naur debian/patches/disable-strip.patch debian-new/patches/disable-strip.patch
> --- debian/patches/disable-strip.patch	2025-05-02 13:45:20.000000000 +0300
> +++ debian-new/patches/disable-strip.patch	1970-01-01 03:00:00.000000000 +0300
> @@ -1,17 +0,0 @@
> -Description: We already strip our binaries, stripping them before means
> - we can't have dbg packages
> -Author: Gianfranco Costamagna <[email protected]>
> -
> ---- a/src/GNUmakefile
> -+++ b/src/GNUmakefile
> -@@ -121,8 +121,8 @@
> - # links the object files into the executable, which it then strips
> - $(TR_EXEFILE): $(OBJFILES)
> - 	$(CXX) -o $@ $(OBJFILES) $(LDFLAGS)
> --	@printf "strip\t%s\n" $@
> --	@strip $@
> -+	#@printf "strip\t%s\n" $@
> -+	#@strip $@
> - 
> - #
> - # removes object files, dependency files, executable and
> diff -Naur debian/patches/fix-sdl2-detection.patch debian-new/patches/fix-sdl2-detection.patch
> --- debian/patches/fix-sdl2-detection.patch	2025-05-02 13:45:20.000000000 +0300
> +++ debian-new/patches/fix-sdl2-detection.patch	2026-06-18 17:32:19.153012698 +0300
> @@ -20,15 +20,15 @@
>  +
>   # standard GNU and custom variables
>   DISTNAME        := trigger-rally
> - DISTVER         := 0.6.6.1
> + DISTVER         := 0.6.7
>  @@ -25,8 +31,8 @@
>   DMACROS         := -DNDEBUG -DUNIX -DPACKAGE_VERSION=\"$(DISTVER)\"
>   INCDIRS         := -I'./include'
>   CXXFLAGS        += -std=c++11 $(WARNINGS) $(OPTIMS)
>  -CPPFLAGS        += $(DMACROS) $(INCDIRS)
> --EXTRA_LIBS      := -lSDL2main -lGL -lGLU -lGLEW -lSDL2 -lSDL2_image -lphysfs -lopenal -lalut -lpthread -ltinyxml2
> +-EXTRA_LIBS      := -lSDL2main -lGL -lGLEW -lSDL2 -lSDL2_image -lphysfs -lopenal -lalut -lpthread -ltinyxml2
>  +CPPFLAGS        += $(DMACROS) $(INCDIRS) $(SDL2_CFLAGS) $(SDL2_IMAGE_CFLAGS)
> -+EXTRA_LIBS      := $(SDL2_LIBS) $(SDL2_IMAGE_LIBS) -lSDL2main -lGL -lGLU -lGLEW -lSDL2 -lSDL2_image -lphysfs -lopenal -lalut -lpthread -ltinyxml2
> ++EXTRA_LIBS      := $(SDL2_LIBS) $(SDL2_IMAGE_LIBS) -lSDL2main -lGL -lGLEW -lSDL2 -lSDL2_image -lphysfs -lopenal -lalut -lpthread -ltinyxml2
>   LDFLAGS         += $(EXTRA_LIBS)
>   INSTALL_PROGRAM := install --mode=0755
>   INSTALL_DATA    := install --mode=0644
> diff -Naur debian/patches/libtinyxml2-7.0.0.patch debian-new/patches/libtinyxml2-7.0.0.patch
> --- debian/patches/libtinyxml2-7.0.0.patch	2025-05-02 13:45:20.000000000 +0300
> +++ debian-new/patches/libtinyxml2-7.0.0.patch	1970-01-01 03:00:00.000000000 +0300
> @@ -1,36 +0,0 @@
> -Description: Fix compatibility with TinyXML-2 2.2.0. 
> -Author: Andrei Bondor <[email protected]>
> -Origin: upstream, commit:r962
> -
> -Index: trigger-rally/src/PEngine/util.cpp
> -===================================================================
> ---- a/src/PEngine/util.cpp
> -+++ b/src/PEngine/util.cpp
> -@@ -232,7 +232,11 @@
> -   XMLElement *rootelem = doc.FirstChildElement(rootName);
> -   if (!rootelem) {
> -     PUtil::outLog() << "Load failed: TinyXML error" << std::endl;
> -+#if TINYXML2_MAJOR_VERSION >= 6
> -     PUtil::outLog() << "TinyXML: " << doc.ErrorStr() << std::endl;
> -+#else
> -+    PUtil::outLog() << "TinyXML: " << doc.GetErrorStr1() << ' ' << doc.GetErrorStr2() << std::endl;
> -+#endif
> -     return nullptr;
> -   }
> - 
> -Index: trigger-rally/src/Trigger/main.cpp
> -===================================================================
> ---- a/src/Trigger/main.cpp
> -+++ b/src/Trigger/main.cpp
> -@@ -500,7 +500,11 @@
> -   XMLElement *rootelem = PUtil::loadRootElement(xmlfile, cfgfilename, "config");
> -   if (!rootelem) {
> -     PUtil::outLog() << "Error: Couldn't load configuration file" << std::endl;
> -+#if TINYXML2_MAJOR_VERSION >= 6
> -     PUtil::outLog() << "TinyXML: " << xmlfile.ErrorStr() << std::endl;
> -+#else
> -+    PUtil::outLog() << "TinyXML: " << xmlfile.GetErrorStr1() << ' ' << xmlfile.GetErrorStr2() << std::endl;
> -+#endif
> -     PUtil::outLog() << "Your data paths are probably not set up correctly" << std::endl;
> -     throw MakePException ("Boink");
> -   }
> diff -Naur debian/patches/series debian-new/patches/series
> --- debian/patches/series	2025-05-02 13:45:20.000000000 +0300
> +++ debian-new/patches/series	2026-06-18 17:32:19.153012698 +0300
> @@ -1,4 +1 @@
> -verbose-build.patch
> -disable-strip.patch
> -libtinyxml2-7.0.0.patch
>  fix-sdl2-detection.patch
> diff -Naur debian/patches/verbose-build.patch debian-new/patches/verbose-build.patch
> --- debian/patches/verbose-build.patch	2025-05-02 13:45:20.000000000 +0300
> +++ debian-new/patches/verbose-build.patch	1970-01-01 03:00:00.000000000 +0300
> @@ -1,28 +0,0 @@
> -Description: BLHC tool can't read non-verbose build logs
> -Author: Gianfranco Costamagna <[email protected]>
> -
> -Index: trigger-rally/src/GNUmakefile
> -===================================================================
> ---- trigger-rally.orig/src/GNUmakefile	2019-02-05 19:36:20.230775701 +0100
> -+++ trigger-rally/src/GNUmakefile	2019-02-05 19:37:26.133775351 +0100
> -@@ -120,12 +120,7 @@
> - 
> - # links the object files into the executable, which it then strips
> - $(TR_EXEFILE): $(OBJFILES)
> --	@printf "%s" $(CXX)
> --	@for file in $(OBJFILES); do \
> --		printf "\t%s\n" $$file; \
> --		done
> --	@printf "\t-> %s\n" $@
> --	@$(CXX) -o $@ $(OBJFILES) $(LDFLAGS)
> -+	$(CXX) -o $@ $(OBJFILES) $(LDFLAGS)
> - 	@printf "strip\t%s\n" $@
> - 	@strip $@
> - 
> -@@ -154,5 +149,4 @@
> - # if this makefile is edited
> - #
> - %.o: %.cpp GNUmakefile
> --	@printf "%s\t%s -> %s\n" $(CXX) $< $@
> --	@$(CXX) $(CXXFLAGS) $(CPPFLAGS) -MMD -MP -c $< -o $@
> -+	$(CXX) $(CXXFLAGS) $(CPPFLAGS) -MMD -MP -c $< -o $@
> diff -Naur debian/trigger-rally.install debian-new/trigger-rally.install
> --- debian/trigger-rally.install	2025-05-02 13:45:20.000000000 +0300
> +++ debian-new/trigger-rally.install	2026-06-18 17:32:19.153012698 +0300
> @@ -1,2 +1,3 @@
> -debian/trigger-rally.desktop /usr/share/applications
>  usr/games/trigger-rally
> +usr/share/metainfo/trigger-rally.appdata.xml
> +usr/share/applications/trigger-rally.desktop