app2unit 1.4.4-1
Package Information
| Description | CLI for launching desktop entries as systemd user units app2unit launches XDG desktop entries or arbitrary commands as systemd user units (scopes or services), providing proper systemd integration for Wayland compositors and application launchers. |
|---|---|
| Maintainer | Debian Hyprland Maintainers <team+hyprland@tracker.debian.org> |
| Changed By | Carl Keinath <carlo@debian.org> |
| Sponsor | carl.keinath@gmail.com |
| Distribution | unstable |
| Architecture | all |
| VCS | git: https://salsa.debian.org/hyprland-team/app2unit.git (browse) |
| Closes | #1137593 |
| Tracker | https://tracker.debian.org/pkg/app2unit |
| Uploaded | 2 hours ago |
New Package Report
.changes
| Distribution | unstable |
|---|---|
| Date | Wed, 25 Nov 2026 11:10:25 +0100 |
| Source | app2unit |
| Version | 1.4.4-1 |
| Changed-By | Carl Keinath <carlo@debian.org> |
| Architecture | source all |
Changelog
app2unit (1.4.4-1) unstable; urgency=medium . * Initial release. (Closes: #1137593)
.dsc
| Section | utils |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | app2unit deb utils optional arch=all |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Source: https://github.com/Vladimir-csp/app2unit Upstream-Name: app2unit Upstream-Contact: https://github.com/Vladimir-csp/app2unit/issues/new Files: * Copyright: 2024 Vladimir-csp License: GPL-3+ Files: debian/* Copyright: 2026 Carl Keinath <carlo@debian.org> License: GPL-3+ License: GPL-3+ This package is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package. If not, see <https://www.gnu.org/licenses/>. Comment: On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
DFSG Assistant LLM REVIEW 1 blocker, 1 important, 1 minor
This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.
Reviewed 1 hour ago.
Report
DFSG NEW review for app2unit version 1.4.4-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: No - Packaging is of good quality: No
- Issues: 1 blocker, 1 important, 1 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: nothing found
Licensing
The source is DFSG-free: one 62 KB /bin/sh script (also reachable through six symlinks), a Makefile, a scdoc man-page source, README.md and an unmodified GPLv3 LICENSE; there are no non-free terms, no missing licence and no third-party embedded code. debian/copyright is accurate as to holders and covers every path, and its DEP-5 structure (Files stanzas, stand-alone License paragraph with a Comment) is valid. It is inaccurate on one point: Files: * declares GPL-3+, but nothing in the source grants "or any later version" — LICENSE is plain GPLv3 and the phrase occurs only in the GPL's own "How to Apply" appendix, so the upstream files are GPL-3, not GPL-3+.
Packaging
The packaging is otherwise modern and minimal: 3.0 (quilt), debhelper-compat (= 14) with plain dh, one binary package, autopkgtest, Vcs-*, upstream/metadata, a correct app2unit.links for the six man-page aliases, and a single-binary add-on that debhelper itself provides. The installed content (one script, six symlinks, one man page) matches the build system, and Standards-Version 4.7.4 is current against Policy 4.7.4.1. One real defect remains: the documented opener mode (app2unit-open/-O) shells out to xdg-mime, but xdg-utils is not in Depends, so that whole mode dies with a command-not-found under set -e.
Issues
blocker licensing 1. Files: * declares GPL-3+ but upstream grants GPLv3 only, with no "or any later version" statement ◂
- Files:
debian/copyright:6-10,LICENSE:1-20,LICENSE:572-640 - Basis: checked, in the package or with a reference tool
- Evidence:
Copyright: 2024 Vladimir-csp/License: GPL-3+; the tree has no per-file licence header and no licence section in README.md; the only occurrences of "or any later version" are in the GPLv3 text's own "How to Apply These Terms" appendix (LICENSE:572-640). - Problem: debian/copyright must state the licence the upstream files are actually under (Policy 12.5: a verbatim copy of the package's distribution licence). Declaring GPL-3+ tells recipients they may take the work under any later GPL version, a permission the source never grants; upstream ships only the unmodified GPLv3 text. The
debian/*stanza may keep GPL-3+ as the packager's own choice, but theFiles: *stanza cannot. - Fix: Change the
Files: *stanza toLicense: GPL-3(the existing Comment already points at /usr/share/common-licenses/GPL-3). If upstream states "or later" somewhere outside the tarball, cite that statement in the stanza instead.
important packaging 2. app2unit-open / -O requires xdg-mime but xdg-utils is missing from Depends ◂
- Files:
debian/control:19,app2unit:1506,app2unit:1524,app2unit:1931-1962 - Basis: checked, in the package or with a reference tool
- Evidence:
Depends:lists onlysystemd, xdg-terminal-exec; app2unit doesa2u__f_mime=$(xdg-mime query filetype "$1")anda2u__f_assoc=$(xdg-mime query default "$1")in get_mime()/get_assoc(), called unguarded from opener mode. - Problem: Opener mode is a documented, first-class feature (README "Opener mode", man page -O, the shipped app2unit-open* names), and it cannot work without xdg-mime from xdg-utils. With
set -euf, the failed command substitution inside get_mime() terminates the script with status 127 and no message. Policy 7.2: Depends should list packages required for a significant amount of functionality. - Fix: Add
xdg-utilsto Depends (or, if the mode is to stay optional, check for xdg-mime in get_mime()/get_assoc() and fail with an error message, and list xdg-utils as Recommends).
minor packaging 3. Patch fixing upstream's man-page NAME section is marked Forwarded: not-needed and has no Description ◂
- Files:
debian/patches/fix-manpage.patch:4-5 - Basis: inferred from what was read, not seen directly
- Evidence:
Forwarded: not-neededabove a diff that joins the two paragraphs of upstream's NAME section and adds\-, with noDescription:field. - Problem: The change is not Debian-specific: a NAME section broken by a blank line leaves whatis/apropos entries without a description, which upstream would want fixed. Marking it not-needed means the fix is never offered upstream, and the DEP-3 header is incomplete.
- Fix: Add a
Description:field and forward the patch, recording the forwarding URL inForwarded:(useForwarded: noonly if upstream declines).
Verified ◂
- Read every file under debian/ in full (control, rules, changelog, copyright, app2unit.links, gbp.conf, salsa-ci.yml, source/format, tests/control, upstream/metadata, patches/series, patches/fix-manpage.patch).
- Read every upstream path: app2unit (62.3 KB /bin/sh), app2unit.1.scd, Makefile, README.md and LICENSE; the six 0-byte names app2unit-open, app2unit-open-scope, app2unit-open-service, app2unit-term, app2unit-term-scope, app2unit-term-service are symlinks to app2unit, not duplicated code.
- Prescan account: it listed no individual file, only "Scanned 5 files ... every holder found is named". The five non-symlink upstream files carry no copyright or licence header at all; the only holder asserted anywhere is Vladimir-csp, which Files: * names, and the FSF notice inside LICENSE is the GPLv3 text's own copyright kept verbatim.
- No built artifacts, minified code, PDFs, images, fonts or other binaries in the tree; app2unit.1.gz is generated at build time from app2unit.1.scd, which is present.
- debian/app2unit.links pairs are in dh_link order (source app2unit.1.gz, destination alias), so the six man-page aliases resolve; the six binary symlinks come from the Makefile's install-bin.
- --with=single-binary is provided by debhelper itself (apt-cache: dh-sequence-single-binary is a virtual package provided by debhelper 14.5), so no Build-Depends is missing; the override_dh_auto_install prefix=/usr is needed because the Makefile defaults to /usr/local.
- At compat 14 dh_gencontrol adds relationship substvars itself, so the absent ${misc:Depends}/${shlibs:Depends} are correct; no compiled code, so hardening flags are irrelevant.
- xdg-terminal-exec 0.14.3-3 (provides /usr/bin/xdg-terminal-exec) and xdg-utils 1.2.1-2 (provides xdg-mime) both exist in the archive; xdg-terminal-exec declares no Depends, so xdg-utils is not pulled in transitively.
- Standards-Version 4.7.4 is current against Policy 4.7.4.1; changelog is unstable, 1.4.4-1, Initial release closing an ITP bug, with a valid date format; autopkgtest Testsuite/Testsuite-Triggers are generated (seen in the .dsc).
- No maintainer scripts, systemd units, desktop files or init scripts to review; no install/links mistakes found beyond the ones reported.
- uscan found the packaged version as the newest upstream release (upstream
1.4.4, packaged1.4.4). - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (GPL-3).
Not confirmed ◂
- Not built or run: whether the man page lands at /usr/share/man/man1/app2unit.1.gz and the aliases resolve in the .deb is reasoned from rules, Makefile and dh behaviour, not observed.
- Whether upstream asserts GPL-3+ outside the shipped tree (project web page, release announcement) could not be checked; the finding rests on the tarball, which contains no such grant.
- Bug number #1137593 in the changelog could not be looked up.
- The runtime behaviour of app2unit --test and the xdg-mime failure path were not executed, only read.
Proposed changes ◂
None.
Uploader's response to the LLM review
Waiting for the uploader's response until , because the review found serious issues.
Are you a maintainer or uploader of this package? Log in with Salsa to comment on the review.