Your message dated Mon, 01 Sep 2008 21:02:50 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#497370: fixed in gdesklets 0.36-4
has caused the Debian Bug report #497370,
regarding gdesklets includes shared mime info files
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.)
--
497370: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=497370
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: gdesklets
Version: 0.36-3
Severity: normal
Tags: patch
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu intrepid ubuntu-patch
Hi,
gdesklets includes in the package a number of shared mime info files:
/usr/share/mime/packages/gdesklets.xml
/usr/share/mime/application/x-gdesklets-display.xml
/usr/share/mime/globs2
/usr/share/mime/types
/usr/share/mime/generic-icons
/usr/share/mime/icons
/usr/share/mime/treemagic
Only /usr/share/mime/packages/gdesklets.xml should be included, all others are
created by running update-mime-database during build.
Note that in the package there are a number of rm calls in debian/rules to
remove some shared mime info files. Instead of updating these I think it
would be better to remove alltogether the calls to update-mime-database; this
way the package should be future-proof.
I have patched it this way in Ubuntu, I thought you may want to do the same
(patch attached).
I hope this helps,
Cesare
PS. The best would obviously be to be able to disable the whole
shared-mime-info business through a configure option, perhaps its worth
addressing this upstream?
diff -u gdesklets-0.36/debian/rules gdesklets-0.36/debian/rules
--- gdesklets-0.36/debian/rules
+++ gdesklets-0.36/debian/rules
@@ -21,11 +21,3 @@
- -rm -f debian/gdesklets/usr/share/mime/globs
- -rm -f debian/gdesklets/usr/share/mime/magic
- -rm -f debian/gdesklets/usr/share/mime/aliases
- -rm -f debian/gdesklets/usr/share/mime/subclasses
- -rm -f debian/gdesklets/usr/share/mime/XMLnamespaces
- -rm -f debian/gdesklets/usr/share/applications/mimeinfo.cache
ln -sf ../lib/gdesklets/gdesklets debian/gdesklets/usr/bin/gdesklets
cp debian/migration-tool debian/gdesklets/usr/share/gdesklets/
chmod 755 debian/gdesklets/usr/share/gdesklets/migration-tool
- # NEVER EVER ship the cache (#373600)
- -rm -f debian/gdesklets/usr/share/mime/mime.cache
only in patch2:
unchanged:
--- gdesklets-0.36.orig/debian/patches/30_remove_update_mime_database.diff
+++ gdesklets-0.36/debian/patches/30_remove_update_mime_database.diff
@@ -0,0 +1,21 @@
+diff -Nur -x '*.orig' -x '*~' gdesklets-0.36/data/Makefile.in gdesklets-0.36.new/data/Makefile.in
+--- gdesklets-0.36/data/Makefile.in 2008-02-16 18:45:50.000000000 +0100
++++ gdesklets-0.36.new/data/Makefile.in 2008-09-01 10:46:19.000000000 +0200
+@@ -549,17 +549,11 @@
+ cd $(DESTDIR)/$(fakepixmapdir); \
+ $(LN_S) -f ../../../share/pixmaps/gdesklets.png gdesklets.png;
+
+- if test -n "$(UPDATE_MIME_DATABASE)"; then \
+- $(UPDATE_MIME_DATABASE) "$(DESTDIR)${sharedmimedir}"; \
+- fi;
+ if test -n "$(UPDATE_DESKTOP_DATABASE)"; then \
+ $(UPDATE_DESKTOP_DATABASE) "$(DESTDIR)${desktopdir}"; \
+ fi;
+
+ uninstall-local: uninstall-desktopDATA uninstall-sharedmimepackageDATA
+- if test -n "$(UPDATE_MIME_DATABASE)"; then \
+- $(UPDATE_MIME_DATABASE) "$(DESTDIR)${sharedmimedir}"; \
+- fi;
+ if test -n "$(UPDATE_DESKTOP_DATABASE)"; then \
+ $(UPDATE_DESKTOP_DATABASE) "$(DESTDIR)${desktopdir}"; \
+ fi;
--- End Message ---
--- Begin Message ---
Source: gdesklets
Source-Version: 0.36-4
We believe that the bug you reported is fixed in the latest version of
gdesklets, which is due to be installed in the Debian FTP archive:
gdesklets_0.36-4.diff.gz
to pool/main/g/gdesklets/gdesklets_0.36-4.diff.gz
gdesklets_0.36-4.dsc
to pool/main/g/gdesklets/gdesklets_0.36-4.dsc
gdesklets_0.36-4_amd64.deb
to pool/main/g/gdesklets/gdesklets_0.36-4_amd64.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.
Deng Xiyue <[EMAIL PROTECTED]> (supplier of updated gdesklets 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: Tue, 02 Sep 2008 01:35:03 +0800
Source: gdesklets
Binary: gdesklets
Architecture: source amd64
Version: 0.36-4
Distribution: unstable
Urgency: high
Maintainer: Clément Stenac <[EMAIL PROTECTED]>
Changed-By: Deng Xiyue <[EMAIL PROTECTED]>
Description:
gdesklets - Architecture for desktop applets
Closes: 497370
Changes:
gdesklets (0.36-4) unstable; urgency=high
.
* Include patches based on Cesare Tirabassi <[EMAIL PROTECTED]>'s proposal
to stop gdesklets from generating extra mime files to /usr/share/mime.
Thanks Cesare Tirabassi. Closes: #497370.
+ Added 40_dont_update_mime.diff to check whether DESTDIR is set before
update-mime-database so that it doesn't run in our builds.
+ Refresh 70_relibtoolize.diff.
- Remove lines to remove mime files by hand in debian/rules based on
Cesare's patch.
+ Fix RC bug, hence high urgency.
* Build-Depends on intltool in debian/control*.
Checksums-Sha1:
5b6bf2d1fab59f37d3437719ed8deb2486b01e35 1517 gdesklets_0.36-4.dsc
646f840a9b79d80f3707fec4babed988d05522f3 118919 gdesklets_0.36-4.diff.gz
b7b0bcc0a9e86c7c968c41e51ed42a66314e15a0 2863916 gdesklets_0.36-4_amd64.deb
Checksums-Sha256:
9ddd7f75b92e7a91b2c5094be8551f45fb1d09876d2b1b022fce3a719c42a1f3 1517
gdesklets_0.36-4.dsc
49ee031af4df3319553c6826dce0a7a0db07e551f2c7de1684cf0fb544eab31a 118919
gdesklets_0.36-4.diff.gz
a52fa39526f0ec8ad2fb9dc7fb96864960d4e7e953895bc58eac16456d894c98 2863916
gdesklets_0.36-4_amd64.deb
Files:
f626fce6d00c85afee8b741fe9f5ab83 1517 gnome optional gdesklets_0.36-4.dsc
76affa9f23ecb10df827ba2ca5bb3b10 118919 gnome optional gdesklets_0.36-4.diff.gz
b485ab1d7156031ec35fbc5d3c0f6c6d 2863916 gnome optional
gdesklets_0.36-4_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAki8R5gACgkQ4VUX8isJIMDeDACgvTAuBQDkv1c9d7fVr9oBwPSY
C3EAoLHDK9h7RDFzp6YndQWOL13h5SEU
=wpzO
-----END PGP SIGNATURE-----
--- End Message ---