Control: tags -1 patch

On Sat, 7 Dec 2024 20:15:08 +0100 Niels Thykier <ni...@thykier.net> wrote:
Source: gemdropx
Version: 0.9-9
Severity: important
Tags: ftbfs
Justification: FTBFS
X-Debbugs-Cc: ni...@thykier.net
User: ni...@thykier.net
Usertags: rrr-no-as-default-issue

Dear maintainer,

During a test rebuild for building packages with
`Rules-Requires-Root: no` as the default in `dpkg`,
gemdropx failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]


Hi

Please see attached as a patch.

I intend to NMU to make progress on the MBF if I do not hear from you on this. It would help me if you either uploaded this soon or approved the NMU (enabling me to skip the delay). Thanks in advance.

Best regards,
Niels

diff -Nru gemdropx-0.9/debian/changelog gemdropx-0.9/debian/changelog
--- gemdropx-0.9/debian/changelog       2023-01-06 13:30:08.000000000 +0100
+++ gemdropx-0.9/debian/changelog       2024-12-31 15:09:35.000000000 +0100
@@ -1,3 +1,11 @@
+gemdropx (0.9-9.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Remove requirement for root when building the package.
+    (Closes: #1089335)
+
+ -- Niels Thykier <ni...@thykier.net>  Tue, 31 Dec 2024 14:09:35 +0000
+
 gemdropx (0.9-9) unstable; urgency=medium
 
   [ Debian Janitor ]
diff -Nru gemdropx-0.9/debian/control gemdropx-0.9/debian/control
--- gemdropx-0.9/debian/control 2023-01-05 17:52:07.000000000 +0100
+++ gemdropx-0.9/debian/control 2024-12-31 15:08:52.000000000 +0100
@@ -5,6 +5,7 @@
 Build-Depends: debhelper-compat (= 13),
                libsdl-mixer1.2-dev,
                libsdl1.2-dev
+Rules-Requires-Root: no
 Standards-Version: 4.6.2
 Vcs-Browser: https://salsa.debian.org/debian/gemdropx
 Vcs-Git: https://salsa.debian.org/debian/gemdropx.git
diff -Nru gemdropx-0.9/debian/rules gemdropx-0.9/debian/rules
--- gemdropx-0.9/debian/rules   2023-01-05 17:35:58.000000000 +0100
+++ gemdropx-0.9/debian/rules   2024-12-31 15:08:43.000000000 +0100
@@ -14,7 +14,7 @@
        dh_auto_build --  DEB_CFLAGS="$(CFLAGS)" SOUND=YES JOY=YES 
DATA_PREFIX=/usr/share/games/gemdropx
 
 override_dh_auto_install:
-       dh_auto_install
-       install -g root -o root -m 644 data/images/gemdropx-icon.xpm \
+       dh_auto_install -- installbin="install -m 755" installdat="install -m 
644"
+       install -m 644 data/images/gemdropx-icon.xpm \
                $(CURDIR)/debian/gemdropx/usr/share/pixmaps/
        install -m 644 debian/gemdropx.desktop 
$(CURDIR)/debian/gemdropx/usr/share/applications

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to