Package: referencer
Version: 1.1.6-2+b1
Severity: minor
Tags: patch

--- Please enter the report below this line. ---
Hi,

I found some issues concerning the desktop entry file of referencer:

The TryExec field is useless. [1] states this field is supposed to call
an executable to find out if the program is actually installed. This
field is optional and I suggest to remove it from the .desktop file.

The Exec field calls referencer without an absolute path. I'd suggest to
call /usr/bin/referencer directly as this avoids messing with users'
PATH environment.

The program desktop-file-validate (package desktop-file-utils)
complains:
---- [ snip ] ----
/usr/share/applications/referencer.desktop: warning: value
"GNOME;Application;Office;" for key "Categories" in group "Desktop
Entry" contains a deprecated value "Application"
---- [ snap ] ----

I've attached a patch that hopefully addresses all issues.

Cheers - Fuddl

[1] http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s05.html

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.39-2-686-pae

Debian Release: wheezy/sid
  500 unstable        ftp.de.debian.org 
    1 experimental    ftp.de.debian.org 

--- Package information. ---
Depends                         (Version) | Installed
=========================================-+-==============
libatkmm-1.6-1                (>= 2.22.1) | 2.22.5-1
libboost-regex1.46.1        (>= 1.46.1-1) | 1.46.1-6
libc6                       (>= 2.3.6-6~) | 2.13-10
libgcc1                      (>= 1:4.1.1) | 1:4.6.1-3
libgconfmm-2.6-1c2            (>= 2.24.0) | 2.28.0-1
libgdk-pixbuf2.0-0            (>= 2.22.0) | 2.23.5-1
libglademm-2.4-1c2a            (>= 2.6.0) | 2.6.7-2
libglib2.0-0                  (>= 2.14.0) | 2.28.6-1
libglibmm-2.4-1c2a            (>= 2.28.0) | 2.28.1-1
libgnome-vfsmm-2.6-1c2a       (>= 2.22.0) | 2.26.0-1
libgnomemm-2.6-1c2            (>= 2.16.0) | 2.30.0-1
libgnomeuimm-2.6-1c2a         (>= 2.16.0) | 2.28.0-1
libgtk2.0-0                    (>= 2.8.0) | 2.24.5-1
libgtkmm-2.4-1c2a           (>= 1:2.24.0) | 1:2.24.0-1
libpangomm-1.4-1              (>= 2.27.1) | 2.28.2-1
libpoppler-glib6                (>= 0.16) | 0.16.7-2
libpython2.6                     (>= 2.6) | 2.6.7-3
libsigc++-2.0-0c2a             (>= 2.0.2) | 2.2.9-1
libstdc++6                       (>= 4.6) | 4.6.1-3


Package's Recommends field is empty.

Package's Suggests field is empty.



--- /usr/share/applications/referencer.desktop	2011-07-04 13:34:15.000000000 +0200
+++ referencer.desktop	2011-07-12 12:44:19.134874243 +0200
@@ -1,11 +1,10 @@
 [Desktop Entry]
 Name=Referencer
 Comment=Document organiser
-Exec=referencer %F
-TryExec=referencer
+Exec=/usr/bin/referencer %F
 Icon=referencer
 Terminal=false
 Type=Application
-Categories=GNOME;Application;Office;
+Categories=GNOME;Office;
 StartupNotify=true
 MimeType=application/x-referencer;

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to