[Pkg-amule-devel] Bug#761462: plasma-widget-amule: incorrect shared MIME registration

Dmitry Smirnov onlyjob at debian.org
Sat Sep 13 18:45:42 UTC 2014


Package: plasma-widget-amule
Version: 2.3.1-11
Severity: normal
Tags: patch

Installation of "plasma-widget-amule" produces the following warning:

  Warning: mailcap line not starting with a media type in plasma-widget-amule
  Problematic line: usr/share/mime/amule.xml

because "debian/plasma-widget-amule.mime" has invalid content.

Unlike "debian/*.(install|docs|manpages)" files,
"debian/*.(mime|sharedmimeinfo)" are installed directly and they are expected
to contain MIME registration data (not file path/name).

Typically ".mime" file would contain something like

    application/x-emulecollection; amule '%s'; description="Collection of eD2k-links"; test=test -n "$DISPLAY"; nametemplate=%s.emulecollection

while ".sharedmimeinfo" would contain corresponding XML with shared-mime-info.

To fix the problem I suggest removing "debian/plasma-widget-amule.mime"
and making symbolic link "debian/plasma-widget-amule.sharedmimeinfo" pointing
to "../src/utils/plasmamule/amule.xml" (see attached patch).

-- 
All the best,
 Dmitry Smirnov
 GPG key : 4096R/53968D1B

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-plasma-widget-amule-MIME-registration.patch
Type: text/x-patch
Size: 1002 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-amule-devel/attachments/20140914/1a3a3fef/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-amule-devel/attachments/20140914/1a3a3fef/attachment.sig>


More information about the Pkg-amule-devel mailing list