Your message dated Mon, 20 Apr 2009 21:17:10 +0000
with message-id <[email protected]>
and subject line Bug#407701: fixed in debhelper 7.2.8
has caused the Debian Bug report #407701,
regarding dh_desktop: please generate the ${Mime-Types} variable
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.)
--
407701: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407701
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debhelper
Severity: wishlist
Tags: patch
The attached patch to dh_desktop creates a ${Mime-Types} substitution
variable, containing the list of supported MIME types in the
shipped .desktop files.
The goal is to create for packages a new field:
XB-Mime-Types: ${Mime-Types}
In the end, it could be used by Debian-specific tools to look for an
application supporting a specific MIME type.
Furthermore, it doesn't create the postinst/postrm scripts when no MIME
types are supported, as in this case they are not necessary.
--
.''`.
: :' : We are debian.org. Lower your prices, surrender your code.
`. `' We will add your hardware and software distinctiveness to
`- our own. Resistance is futile.
--- /usr/bin/dh_desktop 2006-01-04 02:20:51.000000000 +0100
+++ dh_desktop 2007-01-20 17:53:39.000000000 +0100
@@ -32,8 +32,15 @@
# usr/share/applications and thus might need
# update-desktop-database be called. Other desktop
# files don't.
- my $desktop_files = `find $tmp/usr/share/applications -type f -name \\*.desktop -printf '%p\n'`;
- if ($desktop_files && ! $dh{NOSCRIPTS}) {
+ my $do_scripts = 0;
+
+ foreach my $file (split /\n/, `find $tmp/usr/share/applications -type f -name \\*.desktop -printf '%p\n'`) {
+ foreach my $type (split /\;/, `sed -n s/^MimeType=//p $file`) {
+ $do_scripts = 1;
+ addsubstvar($package, "Mime-Types", $type);
+ }
+ }
+ if ($do_scripts && ! $dh{NOSCRIPTS}) {
autoscript($package,"postinst","postinst-desktop");
autoscript($package,"postrm","postrm-desktop");
}
signature.asc
Description: Ceci est une partie de message numériquement signée
--- End Message ---
--- Begin Message ---
Source: debhelper
Source-Version: 7.2.8
We believe that the bug you reported is fixed in the latest version of
debhelper, which is due to be installed in the Debian FTP archive:
debhelper_7.2.8.dsc
to pool/main/d/debhelper/debhelper_7.2.8.dsc
debhelper_7.2.8.tar.gz
to pool/main/d/debhelper/debhelper_7.2.8.tar.gz
debhelper_7.2.8_all.deb
to pool/main/d/debhelper/debhelper_7.2.8_all.deb
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.
Joey Hess <[email protected]> (supplier of updated debhelper 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: SHA1
Format: 1.8
Date: Mon, 20 Apr 2009 16:15:32 -0400
Source: debhelper
Binary: debhelper
Architecture: source all
Version: 7.2.8
Distribution: unstable
Urgency: low
Maintainer: Joey Hess <[email protected]>
Changed-By: Joey Hess <[email protected]>
Description:
debhelper - helper programs for debian/rules
Closes: 407701 521960 523474
Changes:
debhelper (7.2.8) unstable; urgency=low
.
* dh_desktop: Now a deprecated no-op, since desktop-file-utils
uses triggers. Closes: #523474
(also Closes: #521960, #407701 as no longer applicable)
* Move dh sequence documentation to PROGRAMMING.
Checksums-Sha1:
7138d22f44c95e0b09817f7f71ffb0ae9230185f 906 debhelper_7.2.8.dsc
6b99fddfba955f917bf8768b4202c85ce1f3aaca 295714 debhelper_7.2.8.tar.gz
73a635be20bd53ba502e18e8c228061f5fadb666 545724 debhelper_7.2.8_all.deb
Checksums-Sha256:
e3fc3086ce8ba2f2249298a9d3ae10e536f0816323ae5f4f9b5bfe2da429d210 906
debhelper_7.2.8.dsc
783f2087e10e83c3e28d32e9367a99010dda7419115d2fd5f11b7dabad30233b 295714
debhelper_7.2.8.tar.gz
3e3dc5772353db4ac020eb00c0693bd9182da969298db50ffa865cd47de493db 545724
debhelper_7.2.8_all.deb
Files:
b6326141d66d00a13d03660ce828a3f9 906 devel optional debhelper_7.2.8.dsc
c283d5e6f4be1b2ee27404f02ffa8401 295714 devel optional debhelper_7.2.8.tar.gz
80dfaa300e36e3d2a60a03fb7fe793fa 545724 devel optional debhelper_7.2.8_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFJ7NnI2tp5zXiKP0wRAgCPAJ0VKevCEE8RIR2/ompNI6f2giHdCACgjl+u
hjVR0aB1KvcQrhlk8UtklJ8=
=+KOx
-----END PGP SIGNATURE-----
--- End Message ---