From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#24536: 25.1; cannot display JPEG image Date: Sun, 25 Sep 2016 17:21:45 +0300 Message-ID: <83bmzcawli.fsf@gnu.org> References: <87eg48d7ew.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1474813351 21433 195.159.176.226 (25 Sep 2016 14:22:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 25 Sep 2016 14:22:31 +0000 (UTC) Cc: 24536@debbugs.gnu.org To: ynyaaa@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 25 16:22:22 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1boAJm-0003CT-SG for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Sep 2016 16:22:10 +0200 Original-Received: from localhost ([::1]:39169 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1boAJo-0001km-Ac for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Sep 2016 10:22:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57963) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1boAJi-0001jE-Eu for bug-gnu-emacs@gnu.org; Sun, 25 Sep 2016 10:22:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1boAJe-00016W-6G for bug-gnu-emacs@gnu.org; Sun, 25 Sep 2016 10:22:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57697) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1boAJe-00016L-2Q for bug-gnu-emacs@gnu.org; Sun, 25 Sep 2016 10:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1boAJd-0001x5-QX for bug-gnu-emacs@gnu.org; Sun, 25 Sep 2016 10:22:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Sep 2016 14:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24536 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24536-submit@debbugs.gnu.org id=B24536.14748132967466 (code B ref 24536); Sun, 25 Sep 2016 14:22:01 +0000 Original-Received: (at 24536) by debbugs.gnu.org; 25 Sep 2016 14:21:36 +0000 Original-Received: from localhost ([127.0.0.1]:35654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1boAJE-0001wL-1F for submit@debbugs.gnu.org; Sun, 25 Sep 2016 10:21:36 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1boAJC-0001w7-Gl for 24536@debbugs.gnu.org; Sun, 25 Sep 2016 10:21:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1boAJ3-0000r0-CD for 24536@debbugs.gnu.org; Sun, 25 Sep 2016 10:21:29 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54570) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1boAJ3-0000qm-9F; Sun, 25 Sep 2016 10:21:25 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3058 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1boAIz-0002Mb-Et; Sun, 25 Sep 2016 10:21:23 -0400 In-reply-to: <87eg48d7ew.fsf@gmail.com> (ynyaaa@gmail.com) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:123674 Archived-At: > 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.