Improve debian packaging#13811
Open
Fantu wants to merge 9 commits into
Open
Conversation
The Debian package maintains an up-to-date per-file DEP-5 copyright analysis, while our copy had drifted (missing newer files like st-password-entry, stale stanzas for files that no longer exist, outdated copyright years). Replace the file with the Debian version. Differences kept from our side: the Files: debian/* stanza stays as before (Linux Mint Project, GPL-2+ instead of the Debian packaging team), and the proxygsettings.py stanza removed in 23f1d9e stays removed, together with its now-unused GPL-3_SSLException license paragraph. Assisted-by: Claude Code (Fable 5)
…gl1-mesa-dev
libgl1-mesa-dev is nowadays just a transitional package; libgl-dev is
the real one shipping the GL development files (gl.pc, requested by
meson via dependency('gl')). Verified available on Mint 22 (libgl-dev
1.7.0). The Debian packaging made the same change in 2023.
Assisted-by: Claude Code (Fable 5)
librsvg2-dev, libgudev-1.0-dev and gir1.2-json-1.0 are not referenced anywhere: no meson dependency() requests them and there are no matching includes or imports in the sources. They are leftovers from old GNOME Shell-derived code dropped long ago; the Debian packaging already removed them in 2015. Verified on Mint 22: build dependency installation and meson configure both succeed without them. Assisted-by: Claude Code (Fable 5)
dpkg-dev (>= 1.16.1~) dates back to the hardening flags work; every supported base ships a far newer dpkg-dev, and the build-essential toolchain guarantees it anyway. The Debian packaging dropped it in 2021 for the same reason. Assisted-by: Claude Code (Fable 5)
projects.linuxmint.com no longer resolves at all, so the Homepage field pointed to a dead link. Point it to the GitHub repository, like the Debian packaging and our own debian/copyright Source field already do. Assisted-by: Claude Code (Fable 5)
devhelp will be removed from Debian and replaced by GNOME's manuals app. But this dependency is unnecessary anyway. Assisted-by: Claude Code (Fable 5)
Activate the gir and python3 debhelper sequences through the dh-sequence-* virtual build dependencies instead of --with in debian/rules. dh-sequence-python3 is provided by dh-python (which it replaces in Build-Depends) and dh-sequence-gir by gobject-introspection, which is already there. Same change as the Debian packaging did in 2021. Verified on Mint 22 that both addons still activate (dh_girepository and dh_python3 are in the dh sequence). Assisted-by: Claude Code (Fable 5)
gir1.2-networkmanager-1.0 (the pre-libnm NetworkManager gir) and gnome-themes-standard (transitional package for gnome-themes-extra) are not available anymore on any supported base, so the alternatives are dead. The Debian packaging removed both in 2021. Assisted-by: Claude Code (Fable 5)
Nothing in the build fills this substitution variable (it comes from dh_gnome in gnome-pkg-tools, which we don't use), so it always expands to nothing and dpkg-gencontrol warns about it. The Debian packaging removed it back in 2012. Assisted-by: Claude Code (Fable 5)
Contributor
Author
|
Both builds seems failed for not related issues: mint 22 lmde7 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
merge some improments from Debian packaging