Package: graphicsmagick
Version: 1.1.7-10
Severity: normal
Tags: patch

(Still applies in 1.1.7-11)

/usr/share/menu/graphicsmagick has:

 command="/usr/bin/gm display"

That works from an X-terminal-emulator CLI (showing the fallback
logo image), but not from the Debian menu system.  Similar TTY-less
command-invokers such as gmrun also silently fail.

imagemagick doesn't have this problem, so maybe the better answer
would be to modify the behaviour of the binary, but the simple
workaround is to make the menu entry invoke

 command="/usr/bin/gm display LOGO:"

-- 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.18.hurakan
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages graphicsmagick depends on:
ii  libbz2-1.0                1.0.3-6        high-quality block-sorting file co
ii  libc6                     2.3.6.ds1-8    GNU C Library: Shared libraries
ii  libfreetype6              2.2.1-5        FreeType 2 font engine, shared lib
ii  libgraphicsmagick1        1.1.7-10       format-independent image processin
ii  libice6                   1:1.0.1-2      X11 Inter-Client Exchange library
ii  libjasper-1.701-1         1.701.0-2      The JasPer JPEG-2000 runtime libra
ii  libjpeg62                 6b-13          The Independent JPEG Group's JPEG 
ii  liblcms1                  1.15-1         Color management library
ii  libpng12-0                1.2.15~beta5-1 PNG library - runtime
ii  libsm6                    1:1.0.1-3      X11 Session Management library
ii  libtiff4                  3.8.2-7        Tag Image File Format (TIFF) libra
ii  libwmf0.2-7               0.2.8.4-2      Windows metafile conversion librar
ii  libx11-6                  2:1.0.3-4      X11 client-side library
ii  libxext6                  1:1.0.1-2      X11 miscellaneous extension librar
ii  libxml2                   2.6.27.dfsg-1  GNOME XML library
ii  zlib1g                    1:1.2.3-13     compression library - runtime

graphicsmagick recommends no packages.

-- no debconf information
-- 
JBR
Ankh kak! (Ancient Egyptian blessing)
diff -ruN graphicsmagick-1.1.7.orig/debian/graphicsmagick.menu graphicsmagick-1.1.7/debian/graphicsmagick.menu
--- graphicsmagick-1.1.7.orig/debian/graphicsmagick.menu	2007-01-18 16:25:25.000000000 +0000
+++ graphicsmagick-1.1.7/debian/graphicsmagick.menu	2007-01-18 16:27:05.000000000 +0000
@@ -1,2 +1,2 @@
 ?package(graphicsmagick):needs="X11" section="Apps/Viewers"\
-  title="GraphicsMagick" command="/usr/bin/gm display"
+  title="GraphicsMagick" command="/usr/bin/gm display LOGO:"

Reply via email to