[Pkg-gmagick-im-team] Bug#773980: libmagickcore-6.q16-2: 8:6.8.9.9-4 breaks images in GNU Emacs 24 (displayed as single colour rectangles)

Bastien ROUCARIES roucaries.bastien at gmail.com
Fri Dec 26 21:14:29 UTC 2014


Le 26 déc. 2014 17:15, "Adam Sjøgren" <asjo at koldfront.dk> a écrit :
>
> Package: libmagickcore-6.q16-2
> Version: 8:6.8.9.9-4
> Severity: normal
>
> When displaying an image in GNU Emacs 24 (package emacs24), after
upgrading
> from ImageMagick 8:6.8.9.9-3 to 8:6.8.9.9-4, images with :type
'imagemagick
> are displayed as single colour rectangles.

Thanks could you get the exact command running ?

Bastien
>
> With 8:6.8.9.9-3 the image is (scaled and) displayed as expected:
>
>  * http://koldfront.dk/misc/gnu-emacs/my-test-image-testing.png
>
> With 8:6.8.9.9-4 a blue rectangle appears instead:
>
>  * http://koldfront.dk/misc/gnu-emacs/my-test-image-unstable.png
>
> To reproduce:
>
>  * Install emacs24
>  * Run emacs --no-init-file my-test-image.el
>    Type M-x eval-buffer
>    Where the file my-test-image.el contains:
>
> == =
> (defun my-test-image ()
>   (let* ((image (create-image
"/usr/share/emacs/24.4/etc/images/splash.xpm"))
>          (magnitude 2.0)
>          (size (image-size image t))
>          (spec (cdr image)))
>     (plist-put spec :type 'imagemagick)
>     (plist-put spec :width  (round (* (car size) magnitude)))
>     (plist-put spec :height (round (* (cdr size) magnitude)))
>     (insert-image image)))
>
> (my-test-image) ;; M-x eval-buffer should insert a scaled splash image.
>                 ;; With 8:6.8.9.9-4 a blue rectangle is shown instead.
> == =
>
> (The actual scaling is not necessary to trigger the problem, I only kept
it to
> illustrate why setting :type 'imagemagick might be relevant.)
>
> If I go back to ImageMagick from testing:
>
> == =
> $ wajig install libmagickcore-6.q16-2:amd64/testing
libmagickwand-6.q16-2/testing libmagick++-6-headers/testing
libmagick++-6.q16-dev/testing libmagick++-dev/testing
libmagickcore-6-arch-config/testing libmagickcore-6-headers/testing
libmagickcore-6.q16-dev/testing libmagickwand-6-headers/testing
libmagickwand-6.q16-dev/testing
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Selected version '8:6.8.9.9-3' (Debian:testing [all]) for
'libmagickwand-6-headers'
> Selected version '8:6.8.9.9-3' (Debian:testing [amd64]) for
'libmagickcore-6-arch-config'
> Selected version '8:6.8.9.9-3' (Debian:testing [all]) for
'imagemagick-common' because of 'libmagickcore-6-arch-config'
> Selected version '8:6.8.9.9-3' (Debian:testing [amd64]) for
'libmagickcore-6.q16-2'
> Selected version '8:6.8.9.9-3' (Debian:testing [amd64]) for
'libmagickcore-6.q16-dev'
> Selected version '8:6.8.9.9-3' (Debian:testing [amd64]) for
'libmagickwand-6.q16-2'
> Selected version '8:6.8.9.9-3' (Debian:testing [amd64]) for
'libmagickwand-6.q16-dev'
> Selected version '8:6.8.9.9-3' (Debian:testing [all]) for
'libmagick++-dev'
> Selected version '8:6.8.9.9-3' (Debian:testing [all]) for
'libmagickcore-6-heade
> Selected version '8:6.8.9.9-3' (Debian:testing [amd64]) for
'libmagick++-6.q16-d
> Selected version '8:6.8.9.9-3' (Debian:testing [all]) for
'libmagick++-6-headers
> The following extra packages will be installed:
>   imagemagick-common libmagick++-6.q16-5 libmagickcore-6.q16-2-extra
> The following packages will be DOWNGRADED:
>   imagemagick-common libmagick++-6-headers libmagick++-6.q16-5
libmagick++-6.q16
>   libmagickcore-6.q16-dev libmagickwand-6-headers libmagickwand-6.q16-2
libmagic
> 0 upgraded, 0 newly installed, 13 downgraded, 0 to remove and 1 not
upgraded.
> Need to get 0 B/4,994 kB of archives.
> After this operation, 476 kB of additional disk space will be used.
> == =
>
> Then the image is displayed correctly, as seen in the first screenshot.
>
> -- System Information:
> Debian Release: 8.0
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (500, 'testing')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
>
> Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
> Locale: LANG=en_DK.UTF-8, LC_CTYPE=da_DK.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
> Init: systemd (via /run/systemd/system)
>
> Versions of packages libmagickcore-6.q16-2 depends on:
> ii  dpkg                1.17.22
> ii  imagemagick-common  8:6.8.9.9-4
> ii  libbz2-1.0          1.0.6-7+b2
> ii  libc6               2.19-13
> ii  libfftw3-double3    3.3.4-2
> ii  libfontconfig1      2.11.0-6.3
> ii  libfreetype6        2.5.2-2koldfront1
> ii  libgcc1             1:4.9.2-9
> ii  libgomp1            4.9.2-9
> ii  libjbig0            2.1-3.1
> ii  libjpeg62-turbo     1:1.3.1-11
> ii  liblcms2-2          2.6-3+b3
> ii  liblqr-1-0          0.4.2-2
> ii  libltdl7            2.4.2-1.11
> ii  liblzma5            5.1.1alpha+20120614-2+b3
> ii  libpng12-0          1.2.50-2+b2
> ii  libtiff5            4.0.3-11
> ii  libx11-6            2:1.6.2-3
> ii  libxext6            2:1.3.3-1
> ii  libxml2             2.9.2+dfsg1-1+b1
> ii  multiarch-support   2.19-13
> ii  zlib1g              1:1.2.8.dfsg-2+b1
>
> Versions of packages libmagickcore-6.q16-2 recommends:
> ii  ghostscript  9.06~dfsg-1.1+b1
> ii  gsfonts      1:8.11+urwcyr1.0.7~pre44-4.2
>
> Versions of packages libmagickcore-6.q16-2 suggests:
> ii  libmagickcore-6.q16-2-extra  8:6.8.9.9-4
>
> -- no debconf information
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-gmagick-im-team/attachments/20141226/72a1b9b1/attachment.html>


More information about the Pkg-gmagick-im-team mailing list