all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#24536: 25.1; cannot display JPEG image
@ 2016-09-25  2:45 ynyaaa
  2016-09-25 14:21 ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: ynyaaa @ 2016-09-25  2:45 UTC (permalink / raw)
  To: 24536


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"))




In GNU Emacs 25.1.1 (i686-w64-mingw32)
 of 2016-09-18 built on LAPHROAIG
Windowing system distributor 'Microsoft Corp.', version 6.0.6002
Configured using:
 'configure --host=i686-w64-mingw32 --without-dbus
 --without-compress-install CFLAGS=-static'

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB
TOOLKIT_SCROLL_BARS

Important settings:
  value of $LANG: JPN
  locale-coding-system: cp932

Major mode: Dired by name

Minor modes in effect:
  shell-dirtrack-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message format-spec rfc822 mml mml-sec
password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils advice
misearch multi-isearch dired-aux help-mode cl-loaddefs pcase cl-lib
shell pcomplete comint ansi-color ring thingatpt nxml-uchnm rng-xsd
xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse
nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode
nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok image-mode
easymenu dired time-date mule-util japan-util tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp
disp-table w32-win w32-vars term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese charscript case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote w32notify w32 multi-tty
make-network-process emacs)

Memory information:
((conses 8 117010 8676)
 (symbols 32 22479 0)
 (miscs 32 61 205)
 (strings 16 22990 5108)
 (string-bytes 1 624970)
 (vectors 8 16640)
 (vector-slots 4 575211 7254)
 (floats 8 199 278)
 (intervals 28 1523 653)
 (buffers 520 23))





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#24536: 25.1; cannot display JPEG image
  2016-09-25  2:45 bug#24536: 25.1; cannot display JPEG image ynyaaa
@ 2016-09-25 14:21 ` Eli Zaretskii
  2016-09-25 15:08   ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2016-09-25 14:21 UTC (permalink / raw)
  To: ynyaaa; +Cc: 24536

> 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.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#24536: 25.1; cannot display JPEG image
  2016-09-25 14:21 ` Eli Zaretskii
@ 2016-09-25 15:08   ` Eli Zaretskii
  2016-09-26  8:59     ` ynyaaa
  0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2016-09-25 15:08 UTC (permalink / raw)
  To: ynyaaa; +Cc: 24536

> Date: Sun, 25 Sep 2016 17:21:45 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: 24536@debbugs.gnu.org
> 
> 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.

It's there now, look for jpeg-v8d-w32-bin.zip.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#24536: 25.1; cannot display JPEG image
  2016-09-25 15:08   ` Eli Zaretskii
@ 2016-09-26  8:59     ` ynyaaa
  2016-09-26 15:00       ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: ynyaaa @ 2016-09-26  8:59 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 24536

Eli Zaretskii <eliz@gnu.org> writes:

>> Date: Sun, 25 Sep 2016 17:21:45 +0300
>> From: Eli Zaretskii <eliz@gnu.org>
>> 
>> 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.
>
> It's there now, look for jpeg-v8d-w32-bin.zip.

I downloaded jpeg-v8d-w32-bin.zip and installed libjpeg-8.dll.
Now I can view JPEG images. Thank you.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#24536: 25.1; cannot display JPEG image
  2016-09-26  8:59     ` ynyaaa
@ 2016-09-26 15:00       ` Eli Zaretskii
  2016-10-04 10:38         ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2016-09-26 15:00 UTC (permalink / raw)
  To: ynyaaa; +Cc: 24536

> From: ynyaaa@gmail.com
> Cc: 24536@debbugs.gnu.org
> Date: Mon, 26 Sep 2016 17:59:50 +0900
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > It's there now, look for jpeg-v8d-w32-bin.zip.
> 
> I downloaded jpeg-v8d-w32-bin.zip and installed libjpeg-8.dll.
> Now I can view JPEG images. Thank you.

Great, thanks for testing.

Gnutls 3.4 will take a bit more time, as it needs dependencies.  I
will try to do this during the next few days.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#24536: 25.1; cannot display JPEG image
  2016-09-26 15:00       ` Eli Zaretskii
@ 2016-10-04 10:38         ` Eli Zaretskii
  0 siblings, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2016-10-04 10:38 UTC (permalink / raw)
  To: ynyaaa; +Cc: 24536-done

> Date: Mon, 26 Sep 2016 18:00:39 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: 24536@debbugs.gnu.org
> 
> Gnutls 3.4 will take a bit more time, as it needs dependencies.  I
> will try to do this during the next few days.

Done now, and uploaded.  Look for gnutls-3.4.15-w32-bin.zip.

With this accomplished, I consider this bug done.

Thanks.





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-10-04 10:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-25  2:45 bug#24536: 25.1; cannot display JPEG image ynyaaa
2016-09-25 14:21 ` Eli Zaretskii
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

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.