all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: ynyaaa@gmail.com
Cc: 24536@debbugs.gnu.org
Subject: bug#24536: 25.1; cannot display JPEG image
Date: Sun, 25 Sep 2016 17:21:45 +0300	[thread overview]
Message-ID: <83bmzcawli.fsf@gnu.org> (raw)
In-Reply-To: <87eg48d7ew.fsf@gmail.com> (ynyaaa@gmail.com)

> From: ynyaaa@gmail.com
> Date: Sun, 25 Sep 2016 11:45:11 +0900
> 
> I installed emacs-25.1-i686-w64-mingw32.zip and
> copied libjpeg-9.dll and libgif-7.dll into emacs bin directory.
> 
> JPEG images are not displayed in emacs buffer,
> while GIF images are displayed.
> 
> Emacs says "Cannot display image: (Invalid image specification)".
> 
> DLLs are obtained from http://sourceforge.net/projects/ezwinports/files/,
> archived in jpeg-v9a-w32-bin.zip and giflib-5.1.0-w32-bin.zip.
> 
> dynamic-library-alist's value is
> ((xpm "libxpm.dll" "xpm4.dll" "libXpm-nox4.dll")
>  (png "libpng16.dll" "libpng16-16.dll")
>  (tiff "libtiff-5.dll" "libtiff3.dll" "libtiff.dll")
>  (jpeg "libjpeg-8.dll")
>  (gif "libgif-7.dll")
>  (svg "librsvg-2-2.dll")
>  (gdk-pixbuf "libgdk_pixbuf-2.0-0.dll")
>  (glib "libglib-2.0-0.dll")
>  (gobject "libgobject-2.0-0.dll")
>  (gnutls "libgnutls-30.dll")
>  (libxml2 "libxml2-2.dll" "libxml2.dll")
>  (zlib "zlib1.dll" "libz-1.dll"))

Ouch! what a mess!

It looks like the MinGW64 project doesn't yet offer a build of
libjpeg-9.dll, so the Emacs binary you have was compiled against
libjpeg-8.dll, and Emacs wants it.  But the ezwinports site only has
the later libjpeg-9.dll, so Emacs refuses to use it (because they are
binary-incompatible).

For now, you will be better off using the DLLs from here:

  http://alpha.gnu.org/gnu/emacs/pretest/windows/emacs-25-i686-deps.zip

(Btw, Phillip: why on alpha.gnu? why not ftp.gnu.org, right next to
the Emacs binaries?)

I will try to upload the older libjpeg-8.dll to the ezwinports site
when I have time, so that users of the official binaries could get it
there as well.

A similar problem is with libgnutls-30.dll, except that there, MinGW64
is ahead of ezwinports.  I will try to port and upload the newer
version soon.

Sorry.





  reply	other threads:[~2016-09-25 14:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-25  2:45 bug#24536: 25.1; cannot display JPEG image ynyaaa
2016-09-25 14:21 ` Eli Zaretskii [this message]
2016-09-25 15:08   ` Eli Zaretskii
2016-09-26  8:59     ` ynyaaa
2016-09-26 15:00       ` Eli Zaretskii
2016-10-04 10:38         ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83bmzcawli.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=24536@debbugs.gnu.org \
    --cc=ynyaaa@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.