Your message dated Wed, 10 Jun 2026 22:07:04 +0000
with message-id <[email protected]>
and subject line Bug#1139214: fixed in pkg-kde-tools 0.22.0
has caused the Debian Bug report #1139214,
regarding pkg-kde-tools: dh_qmldeps (v0.22) for compat 14
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1139214: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1139214
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debhelper
Version: 13.31
Severity: normal
X-Debbugs-Cc: [email protected]
Control: block 1072698 by -1
Hey,
I write here as author of dh_qmldeps a tool to detect QML depdendecies
in files. The tool only returns a list of dependencies that are placed
into qml6:Depends - as the tool cannot know if the qml file is needed or
not.
Before wrting this bug report I read the referrenced documation:
https://lists.debian.org/debian-devel/2024/03/msg00030.html
and https://lists.debian.org/debian-devel/2024/02/msg00230.html.
Still I'm not sure how to fix dh_qmldeps or how to do demotion for
specific packages.
I have several examples where a qml dependecy needs to be demoted in the
Qt/KDE maintainer umbrella.
(full demotion):
kquickimageeditor-dev: only the examples have qml files. That's why
recommending all the qml depdendecy seems resonable. The normal usecase
of an dev package is to be used to build other packages. Installing the
dependencies for examples is too much.
(partial demotion):
libkf6purpose-bin: A tool to provide functionality allover the
plasma desktop to share files and other things. As it support a bunch of
different targets. You may want to not install every dependency as you
do not want to install kdeconnect so do not depend on
qml6-module-org-kde-kdeconnect. And at that time where the recommend was
added, qml6-module-org-kde-kdeconnect does not existed yet in unstable.
qml6-module-org-kde-purpose is needed to be demoted as otherwise we
would face a circular dependency.
I know, partion demotion doesn't work within Dh 13 too.
So I created a workaround to implement it:
After generation the dependency list, go through the
Depends/Recommends/... fields in d/control and removes all the explicit
mentioned dpendendencies of those fields.
https://salsa.debian.org/qt-kde-team/pkg-kde-tools/-/blob/master/pythonlib/qmldeps.py?ref_type=heads#L396
That works and would work in Dh 14 too - but as far as I understand it
is against the idea behind the automatic use of the substvars fields,
that does not support demotion.
At least from the documentation it sounds like the tool (dh_qmldeps)
needs to support manipulating the vars.
I think it would be great, if there is a way to demote in Dh 14 without
the tools to support manipulating. Because if no tool exists than a
sed/awk needs to be used and this is error-prune.
eg. to demote foo to suggests and "bar" to recommends.
# qml6:Depends=foo,bar,zig
dh_manipulate --field "qml6" --demote-from Depends --suggests "foo"
--recommends "bar"
# qml6:Depends=zig
# qml6:Suggests=foo
# qml6:Recommends=bar
The other way would be to specify/recommend the tool API e.g. for dh_qmldeps,
dh_python3,...:
* support -d parameter for full demotion
* support --pre-depends, --recommends, --suggests to promote/demote specific
automatic
detected depenedencies as pre-depends, recommends, suggests instead of depends
Regards,
hefee
-- System Information:
Debian Release: forky/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (100,
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.19.10+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages debhelper depends on:
ii autotools-dev 20240727.1
ii dh-autoreconf 22
ii dh-strip-nondeterminism 1.15.0-1
ii dpkg 1.23.7
ii dpkg-dev 1.23.7
ii dwz 0.16-4
ii file 1:5.46-5+b1
ii libdebhelper-perl 13.31
ii libdpkg-perl 1.23.7
ii man-db 2.13.1-1
ii perl 5.40.1-7+b1
ii po-debconf 1.0.22
debhelper recommends no packages.
Versions of packages debhelper suggests:
ii dh-make 2.202503
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: pkg-kde-tools
Source-Version: 0.22.0
Done: Sandro Knauß <[email protected]>
We believe that the bug you reported is fixed in the latest version of
pkg-kde-tools, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sandro Knauß <[email protected]> (supplier of updated pkg-kde-tools package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 10 Jun 2026 23:01:36 +0200
Source: pkg-kde-tools
Architecture: source
Version: 0.22.0
Distribution: unstable
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <[email protected]>
Changed-By: Sandro Knauß <[email protected]>
Closes: 1139214
Changes:
pkg-kde-tools (0.22.0) unstable; urgency=medium
.
* Release to unstable (Closes: #1139214).
* Add new arguments to use examples files in qmlfiles.
* Move partial demotion detection change to Debhelper 14.
* Build with Debhelper 13 (as dh_python3 cannot handle debhelper 14).
.
pkg-kde-tools (0.22.0~rc2) experimental; urgency=medium
.
* fix autopkgtests.
* Fix dh_plasmaversionbase to detect correct debheler level.
.
pkg-kde-tools (0.22.0~rc1) experimental; urgency=medium
.
* dh_qmldeps:
- Prepare for tests.
- Add autopkgtests for debhelper 13-15.
- Split demotion handling into own functions.
- Add new -d paramenter to control the dependency field
where qml deps are added.
- qml examples dependencies end in recommends.
* Support -d paramenter in dh_qmldeps and .qmlfiles.
.
pkg-kde-tools (0.22.0~pre1) experimental; urgency=medium
.
[ Sandro Knauß ]
* dh_qmldeps:
- Only warn about not found files for pkg instead of an error.
- Do not treat missing qml6:Depends anymore as error in debhelper 14.
- Fail if no qml file is found and it is a single binary package.
- replace self crafted substvar handling with debian.substvars.
- import pkgkde via relative import (better for debugging).
- suppress warnings from debian.deb822 in normal run.
- trigger dh_qmldeps after dh_installdeb instead of before
dh_gencontrol (needed for debhelper 14).
- use deb822 filter contextmanager.
* dh_plasmaversionbase:
- execute after dh_installdeb instead of before dh_control.
- only check for plasma var if debhelper < 14.
* Move deb822 filter function to pkgkde and create a contextmanager.
* Use machine readable copyright format.
* Update copyright and license information.
* Bump Standrds-Version to 4.7.4 (remove Priority and Rules-Requires-
Root field).
* Add myself to uploaders.
* Reorder Files paragraphs in debian/copyright by directory depth.
* Use dh_python3 for the python dependencies.
* Use debhelper 14 to build.
Checksums-Sha1:
9d78d12bac561a27aea724ce5101eda286d9a045 2381 pkg-kde-tools_0.22.0.dsc
9343fb84cbd24d6192dab1f2f78b73e588bb058b 113492 pkg-kde-tools_0.22.0.tar.xz
04bc8a09b06e836c3b442d3d4c106638591719e3 215336 pkg-kde-tools_0.22.0.git.tar.xz
a3f93eb5c1b1e284bfa41f1b6ef4231c7a760769 17508
pkg-kde-tools_0.22.0_source.buildinfo
Checksums-Sha256:
880282109f5134c54da4568baf4fd5534f01426da48d772b19ad67ac35a34618 2381
pkg-kde-tools_0.22.0.dsc
2b0124893aad6d8e6f0f50e3b975d560dc9315175d015762b1c0699afe50d4ab 113492
pkg-kde-tools_0.22.0.tar.xz
2f8d26a382eae91690dc450d6a2d3e9bb018a3ce71335c57031d800a43a08e9e 215336
pkg-kde-tools_0.22.0.git.tar.xz
15eebf37fa90c6e95fd469463da0c25471e34e80db02fae5ad49f5947e0d78db 17508
pkg-kde-tools_0.22.0_source.buildinfo
Files:
d2594ccf43a7ffe45bd40bd2dcd643ca 2381 devel optional pkg-kde-tools_0.22.0.dsc
8203cb22e5043cd21fdf543395fbc9e8 113492 devel optional
pkg-kde-tools_0.22.0.tar.xz
747c8c1891e840969cd46b241e7fde44 215336 devel None
pkg-kde-tools_0.22.0.git.tar.xz
cf7d84152e16d84e6b32c6a289257d5a 17508 devel optional
pkg-kde-tools_0.22.0_source.buildinfo
Git-Tag-Info: tag=ab1976374f2ae4945c1116bb73b51d38f31ceb6c
fp=39ec11a02016b72926491a06e3adb00850605636
Git-Tag-Tagger: Sandro Knauß <[email protected]>
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmop1zwACgkQYG0ITkaD
wHnAkQ//YUtZXFM28z8wftVUDhoJvvxUspY1vt/3asxNQ7YBEv86KP9yizKMrxA/
cQzsJOzWvIaaWwFLLOxLtXt9Uf3UlhyO9eBVBO+U3X8CzeNwpURdXsbIKDU3M96o
+OtRAIBMD90BUSU6H1mVLNEbgUAwUm3nrbtoqpHqvgihdNh2cgCln/DQz6OoYLrF
YRFVHDUaVjzUxis7P1+elj+GMiAurg95AwsaKj+1EIvy7bjNFzetbIfbC+Rn5N6/
lDTrHn2w8g1QFTZEvrKUFadJI9eN2Cbigwc/jgXb8BrRj+yGd+l73LCFIpTSDwFt
nGl7WE5eXLIU6qaquTq5uhmsbWNEY3qZXU6lo58ZcXzTKaCEdEaUdZULVNGX7thX
6PQDavHX5q0rMdrAagEYZw7XhYGWodaDnsU1trVDKTwZo2RLRu8uO7cjKAQOeqbj
dLB/rsV/XQ/N5xyzQDSZg5DNqYTlCNWbMGtcqQ7RD0DfWEUiV26JBp+9hdqfpwCU
RgUEPMSyvmJx2K8BQ76pm7DB40TtyJ39LjEe7J2JbzQ/YIPQ4KUNXzLMApup+bcG
yMe4mk1Es1VkQ8hfGkzDoPqHKbrFxOFdiviPzVkeRtmdlt1bExzfxZ6P4nm5RwPO
iBToxteubnvCIXH+KoOx8GUQCBsxklf4mhdxri5rmutaSZPfRU8=
=m617
-----END PGP SIGNATURE-----
pgp4DlIX9aLqm.pgp
Description: PGP signature
--- End Message ---