Bug#288636: support for application/x-dia-diagram MIME type in
mailcap db
Loïc Minier
Loïc Minier ,
288636@bugs.debian.org
Tue, 4 Jan 2005 21:12:49 +0100
Package: dia-common
Version: 0.94.0-4
Severity: wishlist
Hi,
The MIME type for DIA diagrams is not standardized, but some people
seem to use "application/x-dia-diagram" meanwhile (I think */x-* types
are meant for custom types and typically used while waiting for an
assignment).
It would be nice to have support for this MIME type in the mailcap db
as it is supported in GNOME's old "/usr/share/mime-info" system and in
Freedesktop's newer "/usr/share/applications/dia.desktop".
This is done by adding a $package.mime file in debian/ with the
following content:
application/x-dia-diagram; dia '%s'; description="DIA diagram";
test=test -n "$DISPLAY"; nametemplate=%s.dia
(on a single line)
(dh_installmime will do the magic of creating /usr/lib/mime/$package
and calling update-mime.)
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=3Dfr_FR@euro, LC_CTYPE=3Dfr_FR@euro (charmap=ISO-8859-15)
Versions of packages dia-common depends on:
ii python-gtk2 2.4.1-2 Python bindings for the GTK+ widge
-- no debconf information
Regards,
--
Loïc Minier <lool@dooz.org>