Package: sun-java5
Severity: wishlist
Tags: patch

Currently the package places files in /usr/share/mime-info, which
provides info for the old GNOME mime system. I think these files were
last used by gnome-vfs 2.6.

Current versions of GNOME use the freedesktop.org shared-mime-info
database. Since you are using dh_installmime, creating
debian/sharedmimeinfo with the following content should suffice:

<?xml version="1.0"?>
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
        <mime-type type="application/java-archive">
                <comment>Java Archive</comment>
                <glob pattern="*.jar"/>
        </mime-type>

        <mime-type type="application/x-java-jnlp-file">
                <comment>Java Web Start application</comment>
                <glob pattern="*.jnlp"/>
        </mime-type>
</mime-info>

Although the obsolete files are harmless if left installed, my
preference would be to remove them to reduce the level of cruft
on systems where the package is installed, as well as user
confusion. The same applies to the files in
/usr/share/application-registry, which  have been supersceded
by the .desktop files in /usr/share/applications.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (530, 'testing'), (520, 'unstable'), (510, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.16-1-k7
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to