Package: zim Version: 0.17-1 Severity: wishlist Tags: patch Launching Zim gave me this STDERR message:
WARNING: You don't seem to have any mimeinfo.cache files. Try running the update-desktop-database command. If you don't have this command you should install the desktop-file-utils package. This package is available from http://freedesktop.org/wiki/Software_2fdesktop_2dfile_2dutils You know, there's no need to bother the user with stuff about upstream tarballs. The desktop-file-utils package is right here: http://packages.debian.org/stable/devel/desktop-file-utils and if Zim wants it then it should have told the sysadmin via a routine "Suggests:" or "Recommends" dependency. The attached patch just adds a Suggests, so users may still occasionally see the warning but you can blame the sysadmin. -- System Information: Debian Release: 4.0 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i586) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17.hurakan Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1) Versions of packages zim depends on: ii libfile-basedir-perl 0.02-1 Perl module to use the freedesktop ii libfile-mimeinfo-perl 0.13-1 Perl module to determine file type ii libgtk2-perl 1:1.140-1 Perl interface to the 2.x series o ii perl 5.8.8-6.1 Larry Wall's Practical Extraction Versions of packages zim recommends: ii libgtk2-spell-perl 1.03-2 Perl interface to the GtkSpell lib ii libgtk2-trayicon-perl 0.04-1 Perl interface to fill the system -- no debconf information -- JBR Ankh kak! (Ancient Egyptian blessing)
diff -ruN zim-0.17.orig/debian/control zim-0.17/debian/control --- zim-0.17.orig/debian/control 2006-12-08 21:39:10.000000000 +0000 +++ zim-0.17/debian/control 2006-12-08 21:41:23.000000000 +0000 @@ -11,6 +11,7 @@ Architecture: all Depends: ${perl:Depends}, libfile-basedir-perl, libfile-mimeinfo-perl, libgtk2-perl Recommends: libgtk2-trayicon-perl, libgtk2-spell-perl +Suggests: desktop-file-utils Description: a desktop wiki Zim is a WYSIWYG text editor. It aims at bringing the concept of a wiki to your desktop. For example every page is saved as a text file with wiki markup.