Hi,I got the below bug report, and I'm a bit hesitating: on one side I understand the wish from the requester, and it would be a useful extension of the package; on the other hand, I already use update-menus and update-mime to manipulate exactly the same kind of information. Moreover the two utilities are integrated into the debian package system through dh_installmenu and dh_installmime. Wouldn't it be a more generic solution if these utilities would actually take care of these "details"?
So, what's your opinion and what's the best way to address this?I would tend to start a discussion on debian-devel and/or forward the bug to debhelper.
Thanks, Eric -------- Original Message -------- Subject: Bug#296258: freemind: Integration into GNOME/KDE Resent-Date: Mon, 21 Feb 2005 12:18:07 UTC Resent-From: Johannes Rohr <j.rohr@comlink.org> Resent-To: debian-bugs-dist@lists.debian.org Resent-CC: Eric Lavarde <deb@zorglub.s.bawue.de> Date: Mon, 21 Feb 2005 12:28:30 +0100 From: Johannes Rohr <j.rohr@comlink.org> Reply-To: Johannes Rohr <j.rohr@comlink.org>, 296258@bugs.debian.org To: Debian Bug Tracking System <submit@bugs.debian.org> Package: freemind Version: 0.7.1-6 Severity: wishlist Hi and thanks for bringing freemind into Debian, the only useful Java program I know... ;-) It would be nice if you would integrate freemind with the freedesktop.org mime standard, i.e. register a mime type for freemind's mind maps and register freemind itself as handler. This needs two steps, basically: Install the attached freemind.desktop into /usr/share/applications and freemind.xml into /usr/share/mime/packages
From postinst, you need to run (if they exist)
'/usr/bin/update-desktop-database' and '/usr/bin/update-mime-database /usr/share/mime' . After that, clicking a .mm file in nautilus or konqueror should open them with freemind, and freemind itself should appear in the Office menu category. To have a menu icon, I have extracted FreeMindWindowIcon.png from freemind.jar, converted it to xpm and copied the result to /usr/share/pixmaps. Thanks, Johannes -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (101, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.8-2-k7 Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Versions of packages freemind depends on:ii j2re1.4 [java2-runtime] 1.4.2.01-1 Blackdown Java(TM) 2 Runtime Envir
-- no debconf information -- http://www.infoe.de/ -- Gewalt ist die letzte Zuflucht der Inkompetenz. Violence is the Last Resort of the Incompetent. Gwalt jest ostatnem schronieniem niekompetencji. La violence est le dernier refuge de l'incompetence. ~ Isaac Asimov
[Desktop Entry] Version=1.0 Encoding=UTF-8 Name=FreeMind Comment= Exec=/usr/bin/freemind Terminal=false Icon=/usr/share/pixmaps/FreeMindWindowIcon.xpm Type=Application MimeType=application/x-freemind Categories=Application;Office; GenericName=FreeMind Comment=A free mind mapping tool
Attachment:
freemind.xml
Description: XML document