Package: graphicsmagick Version: 1.4+really1.3.33 Severity: minor Tags: patch
Hello. The default priority (5) is used by dedicated viewers. Graphicsmagick can deal with Postscript variants, but should certainly not be the default viewer. The priority field exists exactly for this purpose according to the update-mime(8) manual page. A patch is attached. Thanks.
Description: adjust MIME priority for EPS, PS and PDF The default priority (5) is used by dedicated viewers. Graphicsmagick can deal with Postscript variants, but should certainly not be the default viewer. The priority field exists exactly for this purpose according to the update-mime(8) manual page. Author: Nicolas Boulenguez <[email protected]> --- a/debian/graphicsmagick.mime +++ b/debian/graphicsmagick.mime @@ -2,7 +2,7 @@ image/bie; gm display 'bie:%s'; test=test -n "$DISPLAY" image/x-ms-bmp; gm display 'bmp:%s'; test=test -n "$DISPLAY" image/dcx; gm display 'dcx:%s'; test=test -n "$DISPLAY" -image/eps; gm display 'eps:%s'; test=test -n "$DISPLAY" +image/eps; gm display 'eps:%s'; test=test -n "$DISPLAY"; priority=2 image/fax; gm display 'fax:%s'; test=test -n "$DISPLAY" image/fits; gm display 'fits:%s'; test=test -n "$DISPLAY" image/gif; gm display 'gif:%s'; test=test -n "$DISPLAY" @@ -13,13 +13,13 @@ image/x-portable-bitmap; gm display 'pbm:%s'; test=test -n "$DISPLAY" image/pcd; gm display 'pcd:%s'; test=test -n "$DISPLAY" image/pcx; gm display 'pcx:%s'; test=test -n "$DISPLAY" -image/pdf; gm display 'pdf:%s'; test=test -n "$DISPLAY" +image/pdf; gm display 'pdf:%s'; test=test -n "$DISPLAY"; priority=2 image/x-portable-graymap; gm display 'pgm:%s'; test=test -n "$DISPLAY" image/pict; gm display 'pict:%s'; test=test -n "$DISPLAY" image/png; gm display 'png:%s'; test=test -n "$DISPLAY" image/x-portable-anymap; gm display 'pnm:%s'; test=test -n "$DISPLAY" image/x-portable-pixmap; gm display 'ppm:%s'; test=test -n "$DISPLAY" -image/ps; gm display 'ps:%s'; test=test -n "$DISPLAY" +image/ps; gm display 'ps:%s'; test=test -n "$DISPLAY"; priority=2 image/rad; gm display 'rad:%s'; test=test -n "$DISPLAY" image/rla; gm display 'rla:%s'; test=test -n "$DISPLAY" image/rle; gm display 'rle:%s'; test=test -n "$DISPLAY"

