Skip to content

Improve debian packaging#13811

Open
Fantu wants to merge 9 commits into
linuxmint:masterfrom
Fantu:improve-deb
Open

Improve debian packaging#13811
Fantu wants to merge 9 commits into
linuxmint:masterfrom
Fantu:improve-deb

Conversation

@Fantu

@Fantu Fantu commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

merge some improments from Debian packaging

Fantu added 9 commits June 12, 2026 19:47
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)
@Fantu

Fantu commented Jun 12, 2026

Copy link
Copy Markdown
Contributor Author

Both builds seems failed for not related issues:

mint 22

--2026-06-12 19:22:53--  https://github.com/linuxmint/nemo/releases/download/master.mint22/packages.tar.gz
Resolving github.com (github.com)... 140.82.112.4
Connecting to github.com (github.com)|140.82.112.4|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2026-06-12 19:22:53 ERROR 404: Not Found.

lmde7

Dependency cjs-1.0 found: NO. Found 6.5.0 but need: '>= 115.0'
Dependency lookup for cjs-1.0 with method 'pkgconfig' failed: Invalid version, need 'cjs-1.0' ['>= 115.0'] found '6.5.0'.
CMake binary for host machine is not cached
CMake binary missing from cross or native file, or env var undefined.
Trying a default CMake fallback at cmake
Did not find CMake 'cmake'
Found CMake: NO
Dependency lookup for cjs-1.0 with method 'cmake' failed: CMake binary for machine host machine not found. Giving up.
Run-time dependency cjs-1.0 found: NO 

../meson.build:28:6: ERROR: Dependency lookup for cjs-1.0 with method 'pkgconfig' failed: Invalid version, need 'cjs-1.0' ['>= 115.0'] found '6.5.0'.
make[1]: *** [debian/rules:17: override_dh_auto_configure] Error 25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant