Bug#1012363: Please add support for systemd-binfmt
Michael Biebl
biebl at debian.org
Sun Jun 5 18:52:04 BST 2022
Package: love
Version: 11.3-1
Severity: wishlist
Tags: patch
User: pkg-systemd-maintainers at lists.alioth.debian.org
Usertags: systemd-binfmt
Hi,
your package love declares a dependency (Recommends) on binfmt-support
and ships binfmt-support configuration files in /usr/share/binfmts/.
systemd provides a builtin, cross-distro facility named systemd-binfmt to
register binary formats.
You can read more about it at
https://www.freedesktop.org/software/systemd/man/systemd-binfmt.html
https://www.freedesktop.org/software/systemd/man/binfmt.d.html
https://www.kernel.org/doc/html/latest/admin-guide/binfmt-misc.html
The systemd package provides a dpkg file trigger so it is sufficient to
simply install configuration files in /usr/lib/binfmt.d/, no
modifications in the maintainer scripts are necessary.
The attached patch adds support for systemd-binfmt and adjusts the
dependency on binfmt-support accordingly, so binfmt-support is no longer
installed automatically if systemd is already available.
Regards,
Michael
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.17.0-3-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages love depends on:
ii libc6 2.33-7
ii libfreetype6 2.12.1+dfsg-2
ii libgcc-s1 12.1.0-2
pn libluajit-5.1-2 <none>
ii libmodplug1 1:0.8.9.0-3
ii libmpg123-0 1.29.3-1
ii libogg0 1.3.4-0.1
ii libopenal1 1:1.19.1-2
ii libsdl2-2.0-0 2.0.22+dfsg-4
ii libstdc++6 12.1.0-2
ii libtheora0 1.1.1+dfsg.1-16
ii libvorbisfile3 1.3.7-1
ii zlib1g 1:1.2.11.dfsg-4
Versions of packages love recommends:
ii binfmt-support 2.2.2-1
love suggests no packages.
-------------- next part --------------
diff -Nru love-11.3/debian/changelog love-11.3/debian/changelog
--- love-11.3/debian/changelog 2020-02-04 01:41:24.000000000 +0100
+++ love-11.3/debian/changelog 2022-06-05 19:42:35.000000000 +0200
@@ -1,3 +1,9 @@
+love (11.3-1.1) UNRELEASED; urgency=medium
+
+ * Add support for systemd-binfmt
+
+ -- Michael Biebl <biebl at debian.org> Sun, 05 Jun 2022 19:42:35 +0200
+
love (11.3-1) unstable; urgency=medium
* Team upload.
diff -Nru love-11.3/debian/control love-11.3/debian/control
--- love-11.3/debian/control 2020-02-04 01:41:24.000000000 +0100
+++ love-11.3/debian/control 2022-06-05 19:41:50.000000000 +0200
@@ -35,7 +35,7 @@
${misc:Depends},
${shlibs:Depends}
Recommends:
- binfmt-support
+ binfmt-support | systemd
Description: 2D game development framework based on Lua and OpenGL
L?VE was created to be a user-friendly engine in which simple (or
complicated) games could be made without having extensive knowledge
diff -Nru love-11.3/debian/love.conf love-11.3/debian/love.conf
--- love-11.3/debian/love.conf 1970-01-01 01:00:00.000000000 +0100
+++ love-11.3/debian/love.conf 2022-06-05 19:42:10.000000000 +0200
@@ -0,0 +1 @@
+:love:E::love::/usr/bin/love:
diff -Nru love-11.3/debian/love.install love-11.3/debian/love.install
--- love-11.3/debian/love.install 2020-02-04 01:41:24.000000000 +0100
+++ love-11.3/debian/love.install 2022-06-05 19:42:31.000000000 +0200
@@ -5,3 +5,4 @@
debian/pixmaps/*.png usr/share/pixmaps/
debian/pixmaps/*.svg usr/share/pixmaps/
debian/pixmaps/*.xpm usr/share/pixmaps/
+debian/love.conf usr/lib/binfmt.d/
More information about the Pkg-games-devel
mailing list