diff -Nru titanion-0.3.dfsg1/debian/changelog titanion-0.3.dfsg1/debian/changelog --- titanion-0.3.dfsg1/debian/changelog 2021-09-17 17:57:01.000000000 +0000 +++ titanion-0.3.dfsg1/debian/changelog 2022-07-30 21:25:14.000000000 +0000 @@ -1,32 +1,18 @@ -titanion (0.3.dfsg1-7build5) impish; urgency=medium +titanion (0.3.dfsg1-8) unstable; urgency=medium - * No-change rebuild for libgphobos soname change. + * Team upload. + * Fix FTBFS with gdc 12. (Closes: #1013054) + * Import repository to salsa. + * Update debhelper compat level to 13. + * Update Standards-Version to 4.6.1. + - Declare that d/rules does not require root. + * Drop dh_auto_build override, as dpkg-buildflags already supports + -fdebug/-frelease via noopt. + * Enable all hardening options. + * Bump watch file format to 4. + * Use https for homepage. - -- Matthias Klose Fri, 17 Sep 2021 19:57:01 +0200 - -titanion (0.3.dfsg1-7build4) groovy; urgency=medium - - * No-change rebuild for final libgphobos ABI changes. - - -- Matthias Klose Fri, 15 May 2020 15:24:22 +0200 - -titanion (0.3.dfsg1-7build3) focal; urgency=medium - - * No-change rebuild for libgphobos soname change. - - -- Matthias Klose Tue, 24 Mar 2020 15:39:45 +0100 - -titanion (0.3.dfsg1-7build2) focal; urgency=medium - - * No-change rebuild for libgcc-s1 package name change. - - -- Matthias Klose Sun, 22 Mar 2020 16:59:51 +0100 - -titanion (0.3.dfsg1-7build1) eoan; urgency=medium - - * No-change rebuild for libgphobos symbol changes. - - -- Matthias Klose Sun, 01 Sep 2019 04:24:00 +0000 + -- Reiner Herrmann Sat, 30 Jul 2022 23:25:14 +0200 titanion (0.3.dfsg1-7) unstable; urgency=medium diff -Nru titanion-0.3.dfsg1/debian/compat titanion-0.3.dfsg1/debian/compat --- titanion-0.3.dfsg1/debian/compat 2018-04-24 20:09:34.000000000 +0000 +++ titanion-0.3.dfsg1/debian/compat 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -11 diff -Nru titanion-0.3.dfsg1/debian/control titanion-0.3.dfsg1/debian/control --- titanion-0.3.dfsg1/debian/control 2018-04-24 20:09:34.000000000 +0000 +++ titanion-0.3.dfsg1/debian/control 2022-07-30 21:25:14.000000000 +0000 @@ -7,7 +7,7 @@ Peter De Wachter , Barry deFreese Build-Depends: - debhelper (>= 11), + debhelper-compat (= 13), gdc (>= 4.8.1), libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, @@ -16,10 +16,11 @@ libsdl1.2-dev Build-Conflicts: libphobos-4.4-dev -Standards-Version: 4.1.4 -Homepage: http://www.asahi-net.or.jp/~cs8k-cyu/windows/ttn_e.html -Vcs-Svn: svn://anonscm.debian.org/pkg-games/packages/trunk/titanion/ -Vcs-Browser: https://anonscm.debian.org/viewvc/pkg-games/packages/trunk/titanion/ +Standards-Version: 4.6.1 +Homepage: https://www.asahi-net.or.jp/~cs8k-cyu/windows/ttn_e.html +Vcs-Git: https://salsa.debian.org/games-team/titanion.git +Vcs-Browser: https://salsa.debian.org/games-team/titanion +Rules-Requires-Root: no Package: titanion Architecture: any diff -Nru titanion-0.3.dfsg1/debian/patches/gcc12.patch titanion-0.3.dfsg1/debian/patches/gcc12.patch --- titanion-0.3.dfsg1/debian/patches/gcc12.patch 1970-01-01 00:00:00.000000000 +0000 +++ titanion-0.3.dfsg1/debian/patches/gcc12.patch 2022-07-30 21:25:14.000000000 +0000 @@ -0,0 +1,77 @@ +Author: Reiner Herrmann +Description: Fix FTBFS with gdc 12 +Bug-Debian: https://bugs.debian.org/1013054 + +--- a/src/abagames/util/vector.d ++++ b/src/abagames/util/vector.d +@@ -35,7 +35,7 @@ + x = y = 0; + } + +- public float opMul(Vector v) { ++ public float opBinary(string op)(Vector v) if (op == "*") { + return x * v.x + y * v.y; + } + +@@ -69,22 +69,22 @@ + return rsl; + } + +- public void opAddAssign(Vector v) { ++ public void opOpAssign(string op)(Vector v) if (op == "+") { + x += v.x; + y += v.y; + } + +- public void opSubAssign(Vector v) { ++ public void opOpAssign(string op)(Vector v) if (op == "-") { + x -= v.x; + y -= v.y; + } + +- public void opMulAssign(float a) { ++ public void opOpAssign(string op)(float a) if (op == "*") { + x *= a; + y *= a; + } + +- public void opDivAssign(float a) { ++ public void opOpAssign(string op)(float a) if (op == "/") { + x /= a; + y /= a; + } +@@ -334,29 +334,29 @@ + return rsl; + } + +- public float opMul(Vector3 v) { ++ public float opBinary(string op)(Vector3 v) if (op == "*") { + return x * v.x + y * v.y + z * v.z; + } + +- public void opAddAssign(Vector3 v) { ++ public void opOpAssign(string op)(Vector3 v) if (op == "+") { + x += v.x; + y += v.y; + z += v.z; + } + +- public void opSubAssign(Vector3 v) { ++ public void opOpAssign(string op)(Vector3 v) if (op == "-") { + x -= v.x; + y -= v.y; + z -= v.z; + } + +- public void opMulAssign(float a) { ++ public void opOpAssign(string op)(float a) if (op == "*") { + x *= a; + y *= a; + z *= a; + } + +- public void opDivAssign(float a) { ++ public void opOpAssign(string op)(float a) if (op == "/") { + x /= a; + y /= a; + z /= a; diff -Nru titanion-0.3.dfsg1/debian/patches/series titanion-0.3.dfsg1/debian/patches/series --- titanion-0.3.dfsg1/debian/patches/series 2018-04-24 20:09:34.000000000 +0000 +++ titanion-0.3.dfsg1/debian/patches/series 2022-07-30 21:25:14.000000000 +0000 @@ -7,3 +7,4 @@ makefile.patch dlang_v2.patch gdc-8.patch +gcc12.patch diff -Nru titanion-0.3.dfsg1/debian/rules titanion-0.3.dfsg1/debian/rules --- titanion-0.3.dfsg1/debian/rules 2018-04-24 20:09:34.000000000 +0000 +++ titanion-0.3.dfsg1/debian/rules 2022-07-30 21:25:14.000000000 +0000 @@ -1,19 +1,10 @@ #!/usr/bin/make -f -ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) - DFLAGS = -fdebug -else - DFLAGS = -frelease -endif - +export DEB_BUILD_MAINT_OPTIONS = hardening=+all %: dh $@ -override_dh_auto_build: - dh_auto_build -- DFLAGS="$(DFLAGS)" - - get-orig-source: dh_testdir dh_testroot diff -Nru titanion-0.3.dfsg1/debian/watch titanion-0.3.dfsg1/debian/watch --- titanion-0.3.dfsg1/debian/watch 2018-04-24 20:09:34.000000000 +0000 +++ titanion-0.3.dfsg1/debian/watch 2022-07-30 21:25:14.000000000 +0000 @@ -1,4 +1,4 @@ -version=3 +version=4 opts="uversionmangle=s/_/\./,dversionmangle=s/[+.]dfsg(.?\d+)?$//" \ -http://www.asahi-net.or.jp/~cs8k-cyu/windows/ttn_e.html .*/ttn([\d_]+)\.zip +https://www.asahi-net.or.jp/~cs8k-cyu/windows/ttn_e.html .*/ttn([\d_]+)\.zip