Package: lynx
Version: 2.8.5-2
Severity: minor
Tags: patch

Lynx installs a desktop entry file in obsolete format and in obsolete location.
Today, both GNOME and KDE (and others should, 'cause it's a de-facto standard 
now)
supports freedesktop.org's desktop-entry and menu specifications. So I prepared 
a
standard-compilant .desktop file for lynx. Place it into
/usr/share/applications. Also you should add something like these to the
postinst script (or just use dh_desktop):

        if [ "$1" = "configure" ] && which update-desktop-database >/dev/null 
2>&1 ; then
                update-desktop-database -q
        fi

This is needed to update the MIME cache, because lynx is registered as a
handler for HTML files.

Finally, you should remove the old .desktop file in /usr/share/applnk/.

Thanks!
        

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.8-10-amd64-k8
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages lynx depends on:
ii  libbz2-1.0                    1.0.2-5    high-quality block-sorting file co
ii  libc6                         2.3.4-3    GNU C Library: Shared libraries an
ii  libgnutls11                   1.0.16-13  GNU TLS library - runtime library
ii  libncursesw5                  5.4-4      Shared libraries for terminal hand
ii  zlib1g                        1:1.2.2-4  compression library - runtime

-- no debconf information
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Lynx Web Browser
Name[ru]=ÐÐÐ-ÐÑÐÑÐÐÑ Lynx
GenericName=Web Browser
GenericName[ru]=ÐÐÐ-ÐÑÐÑÐÐÑ
Comment=Browse the web in the text mode
Comment[ru]=ÐÐÐ-ÐÑÐÑÐÐÑ Ð ÑÐÐÑÑÐÐÐÐ (ÐÐÐÑÐÐÑÐÐÐ) 
ÑÐÐÐÐÐ
TryExec=lynx
Exec=lynx %u
Terminal=true
MimeType=text/html
Categories=Application;Network;WebBrowser;ConsoleOnly;
NotShowIn=GNOME;
Icon=web-browser
XClassHintResName=Lynx

Reply via email to