Your message dated Sun, 23 Feb 2020 22:34:23 +0000
with message-id <[email protected]>
and subject line Bug#951758: fixed in graphicsmagick 1.4+really1.3.35-1
has caused the Debian Bug report #951758,
regarding graphicsmagick: please lower MIME priority
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
951758: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=951758
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:graphicsmagick
Version: 1.4+really1.3.34+hg16230-1
Severity: minor
Tags: patch

Hello.

Short version:
#935099 is not limited to PS/PDF, all image types are affected.

Long version:
The default priority (5) is used by dedicated viewers.  Graphicsmagick
can edit images, 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.
>From d40e57f05b8126ac98d16605b27b35ac6b40b481 Mon Sep 17 00:00:00 2001
From: Nicolas Boulenguez <[email protected]>
Date: Fri, 21 Feb 2020 09:45:36 +0100
Subject: [PATCH 1/2] mime: improve formatting

---
 debian/graphicsmagick.mime | 62 +++++++++++++++++++-------------------
 1 file changed, 31 insertions(+), 31 deletions(-)

diff --git a/debian/graphicsmagick.mime b/debian/graphicsmagick.mime
index a39f738..423350f 100644
--- a/debian/graphicsmagick.mime
+++ b/debian/graphicsmagick.mime
@@ -1,34 +1,34 @@
-image/avs; gm display 'avs:%s'; test=test -n "$DISPLAY"
-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"; 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"
-image/hdf; gm display 'hdf:%s'; test=test -n "$DISPLAY"
-image/jpeg; gm display 'jpeg:%s'; test=test -n "$DISPLAY"
-image/miff; gm display 'miff:%s'; test=test -n "$DISPLAY"
-image/mtv; gm display 'mtv:%s'; test=test -n "$DISPLAY"
+image/avs;               gm display 'avs:%s'; test=test -n "$DISPLAY"
+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";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"
+image/hdf;               gm display 'hdf:%s'; test=test -n "$DISPLAY"
+image/jpeg;              gm display 'jpeg:%s';test=test -n "$DISPLAY"
+image/miff;              gm display 'miff:%s';test=test -n "$DISPLAY"
+image/mtv;               gm display 'mtv:%s'; test=test -n "$DISPLAY"
 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"; 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/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";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"; 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"
-image/sgi; gm display 'sgi:%s'; test=test -n "$DISPLAY"
-image/sun-raster; gm display 'sun:%s'; test=test -n "$DISPLAY"
-image/targa; gm display 'tga:%s'; test=test -n "$DISPLAY"
-image/tiff; gm display 'tiff:%s'; test=test -n "$DISPLAY"
-image/vid; gm display 'vid:%s'; test=test -n "$DISPLAY"
-image/viff; gm display 'viff:%s'; test=test -n "$DISPLAY"
-image/x-xbitmap; gm display 'xbm:%s'; test=test -n "$DISPLAY"
-image/x-xpixmap; gm display 'xpm:%s'; test=test -n "$DISPLAY"
-image/x-xwindowdump; gm display 'xwd:%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"
+image/sgi;               gm display 'sgi:%s'; test=test -n "$DISPLAY"
+image/sun-raster;        gm display 'sun:%s'; test=test -n "$DISPLAY"
+image/targa;             gm display 'tga:%s'; test=test -n "$DISPLAY"
+image/tiff;              gm display 'tiff:%s';test=test -n "$DISPLAY"
+image/vid;               gm display 'vid:%s'; test=test -n "$DISPLAY"
+image/viff;              gm display 'viff:%s';test=test -n "$DISPLAY"
+image/x-xbitmap;         gm display 'xbm:%s'; test=test -n "$DISPLAY"
+image/x-xpixmap;         gm display 'xpm:%s'; test=test -n "$DISPLAY"
+image/x-xwindowdump;     gm display 'xwd:%s'; test=test -n "$DISPLAY"
-- 
2.20.1

>From 87b78e46f2a9fc855e01d54d724f06ad58f5b9c2 Mon Sep 17 00:00:00 2001
From: Nicolas Boulenguez <[email protected]>
Date: Fri, 21 Feb 2020 09:46:22 +0100
Subject: [PATCH 2/2] mime: adjust priority for all images

The default priority (5) is used by dedicated viewers.
Graphicsmagick is intended for image edition
ut should certainly not be the default viewer.
he priority field exists exactly for this purpose
according to the update-mime(8) manual page.

This completes the changes introduced by #935099 for PS/PDF.
---
 debian/graphicsmagick.mime | 62 +++++++++++++++++++-------------------
 1 file changed, 31 insertions(+), 31 deletions(-)

diff --git a/debian/graphicsmagick.mime b/debian/graphicsmagick.mime
index 423350f..f486d66 100644
--- a/debian/graphicsmagick.mime
+++ b/debian/graphicsmagick.mime
@@ -1,34 +1,34 @@
-image/avs;               gm display 'avs:%s'; test=test -n "$DISPLAY"
-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/avs;               gm display 'avs:%s'; test=test -n "$DISPLAY";prority=2
+image/bie;               gm display 'bie:%s'; test=test -n "$DISPLAY";prority=2
+image/x-ms-bmp;          gm display 'bmp:%s'; test=test -n "$DISPLAY";prority=2
+image/dcx;               gm display 'dcx:%s'; test=test -n "$DISPLAY";prority=2
 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"
-image/hdf;               gm display 'hdf:%s'; test=test -n "$DISPLAY"
-image/jpeg;              gm display 'jpeg:%s';test=test -n "$DISPLAY"
-image/miff;              gm display 'miff:%s';test=test -n "$DISPLAY"
-image/mtv;               gm display 'mtv:%s'; test=test -n "$DISPLAY"
-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/fax;               gm display 'fax:%s'; test=test -n "$DISPLAY";prority=2
+image/fits;              gm display 'fits:%s';test=test -n "$DISPLAY";prority=2
+image/gif;               gm display 'gif:%s'; test=test -n "$DISPLAY";prority=2
+image/hdf;               gm display 'hdf:%s'; test=test -n "$DISPLAY";prority=2
+image/jpeg;              gm display 'jpeg:%s';test=test -n "$DISPLAY";prority=2
+image/miff;              gm display 'miff:%s';test=test -n "$DISPLAY";prority=2
+image/mtv;               gm display 'mtv:%s'; test=test -n "$DISPLAY";prority=2
+image/x-portable-bitmap; gm display 'pbm:%s'; test=test -n "$DISPLAY";prority=2
+image/pcd;               gm display 'pcd:%s'; test=test -n "$DISPLAY";prority=2
+image/pcx;               gm display 'pcx:%s'; test=test -n "$DISPLAY";prority=2
 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/x-portable-graymap;gm display 'pgm:%s'; test=test -n "$DISPLAY";prority=2
+image/pict;              gm display 'pict:%s';test=test -n "$DISPLAY";prority=2
+image/png;               gm display 'png:%s'; test=test -n "$DISPLAY";prority=2
+image/x-portable-anymap; gm display 'pnm:%s'; test=test -n "$DISPLAY";prority=2
+image/x-portable-pixmap; gm display 'ppm:%s'; test=test -n "$DISPLAY";prority=2
 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"
-image/sgi;               gm display 'sgi:%s'; test=test -n "$DISPLAY"
-image/sun-raster;        gm display 'sun:%s'; test=test -n "$DISPLAY"
-image/targa;             gm display 'tga:%s'; test=test -n "$DISPLAY"
-image/tiff;              gm display 'tiff:%s';test=test -n "$DISPLAY"
-image/vid;               gm display 'vid:%s'; test=test -n "$DISPLAY"
-image/viff;              gm display 'viff:%s';test=test -n "$DISPLAY"
-image/x-xbitmap;         gm display 'xbm:%s'; test=test -n "$DISPLAY"
-image/x-xpixmap;         gm display 'xpm:%s'; test=test -n "$DISPLAY"
-image/x-xwindowdump;     gm display 'xwd:%s'; test=test -n "$DISPLAY"
+image/rad;               gm display 'rad:%s'; test=test -n "$DISPLAY";prority=2
+image/rla;               gm display 'rla:%s'; test=test -n "$DISPLAY";prority=2
+image/rle;               gm display 'rle:%s'; test=test -n "$DISPLAY";prority=2
+image/sgi;               gm display 'sgi:%s'; test=test -n "$DISPLAY";prority=2
+image/sun-raster;        gm display 'sun:%s'; test=test -n "$DISPLAY";prority=2
+image/targa;             gm display 'tga:%s'; test=test -n "$DISPLAY";prority=2
+image/tiff;              gm display 'tiff:%s';test=test -n "$DISPLAY";prority=2
+image/vid;               gm display 'vid:%s'; test=test -n "$DISPLAY";prority=2
+image/viff;              gm display 'viff:%s';test=test -n "$DISPLAY";prority=2
+image/x-xbitmap;         gm display 'xbm:%s'; test=test -n "$DISPLAY";prority=2
+image/x-xpixmap;         gm display 'xpm:%s'; test=test -n "$DISPLAY";prority=2
+image/x-xwindowdump;     gm display 'xwd:%s'; test=test -n "$DISPLAY";prority=2
-- 
2.20.1


--- End Message ---
--- Begin Message ---
Source: graphicsmagick
Source-Version: 1.4+really1.3.35-1
Done: Laszlo Boszormenyi (GCS) <[email protected]>

We believe that the bug you reported is fixed in the latest version of
graphicsmagick, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Laszlo Boszormenyi (GCS) <[email protected]> (supplier of updated graphicsmagick 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 23 Feb 2020 20:42:10 +0000
Source: graphicsmagick
Architecture: source
Version: 1.4+really1.3.35-1
Distribution: unstable
Urgency: high
Maintainer: Laszlo Boszormenyi (GCS) <[email protected]>
Changed-By: Laszlo Boszormenyi (GCS) <[email protected]>
Closes: 951758
Changes:
 graphicsmagick (1.4+really1.3.35-1) unstable; urgency=high
 .
   * New upstream release, fixing the following security issues among others:
     - ReadSVGImage(): Fix dereference of NULL pointer when stopping image
       timer,
     - DrawImage(): Fix integer-overflow in DrawPolygonPrimitive() .
   * Update library symbols for this release.
 .
   [ Nicolas Boulenguez <[email protected]> ]
   * mime: improve formatting.
   * mime: adjust priority for all images (closes: #951758).
Checksums-Sha1:
 00b75a0505b6df5dd5576dd517d66132cd3ee7b7 2896 
graphicsmagick_1.4+really1.3.35-1.dsc
 b0460d7fb8b2d542a44446322ea62c053bc54b0c 5543224 
graphicsmagick_1.4+really1.3.35.orig.tar.xz
 5d0ce0e51b195818a3d6a41a28935fad4540cb55 145760 
graphicsmagick_1.4+really1.3.35-1.debian.tar.xz
Checksums-Sha256:
 a853cd28c3b5d9562ddca4c37ffd7ea0c1d1356981ee05294570aeb4f595db0f 2896 
graphicsmagick_1.4+really1.3.35-1.dsc
 188a8d6108fea87a0208723e8d206ec1d4d7299022be8ce5d0a9720509250250 5543224 
graphicsmagick_1.4+really1.3.35.orig.tar.xz
 584312bbc4a425af08e45e343385c6c6ff216b5fb2170dc2c694063846e4a79c 145760 
graphicsmagick_1.4+really1.3.35-1.debian.tar.xz
Files:
 9a1ab9fd10175c08cca70e0e9e6ee5ad 2896 graphics optional 
graphicsmagick_1.4+really1.3.35-1.dsc
 e565b6ce1564d62409b3faa5c747096e 5543224 graphics optional 
graphicsmagick_1.4+really1.3.35.orig.tar.xz
 1a19a274840f9b085670a46b26b92509 145760 graphics optional 
graphicsmagick_1.4+really1.3.35-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfYh9yLp7u6e4NeO63OMQ54ZMyL8FAl5S+NAACgkQ3OMQ54ZM
yL8GiA//SajdeOJ5cCVVL/E3NJx1dQxwtfNlwseD2hExe/b8uTWV45ZCLYBLYGCW
UPzX2gGRjY71tq+XQMhICHC8BMKn+2PDPD0o4gid6xBuZBUBTIJvf+LUWDlKEsb7
/coyoF74kkiCXT0/PMvgdQvHZdi3DtTHXntAI/Plexut7OT3mfrUm0fn/wgUDlvZ
Cvi1yITqcYEUIXpG5xDtf15gQCMFkBKPtdhZpZEBkXvRkydBc4fj8NaYtYXMoICy
Gpe6B08SEc1d3aVnkqueT8bBjIUbpjfVOw1cqOBLfsWV8tvWox0L30/6XHNC4wTn
PG7YlcJSmftml/wJbC5a4OvXGsnclsuvaCvAxyWqbT4jsv2J4qYmahqI8Iu0kyVt
Nuxe5JvGFhdUGknkzDXJGfV6bsK+kNL3CPGBtjeY4VQtH1fK52MEYnNpGm9HG03t
AfOekiPKFpsSxx2/SYZV3F4ZX1sXObV9LzZBVfpWlFZoI/Kpr1ylHpCO+I2ogh1f
vSi6XaaQ9h1JZxvbQsxoaZqXmVix5dnsCrEbrPWcgEmfwqD1nS3Rjno5HTvLxD/Y
CfhSlNy+qwotJcmurUsb83+x4UDBI4OiKORtlJT3OUuUAh34rG4ChXiFXwSoGNm5
WjvVBrljokAXeFvEoRqOwe69bwepuveUiENQBC48xpmJDGGFIqo=
=1Zh/
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to