unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: pglpm0@gmail.com
Cc: 8324@debbugs.gnu.org
Subject: bug#8324: Emacs 23.3 for W32 and libpng: update documentation
Date: Wed, 23 Mar 2011 06:07:20 +0200	[thread overview]
Message-ID: <8362rav5s7.fsf@gnu.org> (raw)
In-Reply-To: <4D89307A.1010104@gmail.com>

> Date: Tue, 22 Mar 2011 19:27:54 -0400
> From: pglpm0@gmail.com
> Cc: 
> 
> I had some problems visualizing png images with the new 
> Emacs 23.3, MSwindows port. Eventually I discovered that the 
> 'image-library-alist' has changed from v23.2: it now 
> requires libpng14 instead of libpng12. I was using the 
> latter from Gnuwin32. After getting libpng14 from GTK+ 
> everything works fine.
> 
> The 'bug' is this: please update the README file to warn 
> about these changes, I found no mentions of them in the 
> updated documentation.

It is mentioned in nt/INSTALL and in README.W32, see below.  Please
tell how to make it more visible than that, and please see how did you
miss that.

INSTALL:

  For PNG images, we recommend to use versions 1.4.x and later of
  libpng, because previous versions had security issues.  You can find
  precompiled libraries and headers on the GTK download page for
  Windows (http://www.gtk.org/download-windows.html).

  Versions 1.4.0 and later of libpng are binary incompatible with
  earlier versions, so Emacs will only look for libpng libraries which
  are compatible with the version it was compiled against.  That
  version is given by the value of the Lisp variable `libpng-version';
  e.g., 10403 means version 1.4.3.  The variable `image-library-alist'
  is automatically set to name only those DLL names that are known to
  be compatible with the version given by `libpng-version'.  If PNG
  support does not work for you even though you have the support DLL
  installed, check the name of the installed DLL against
  `image-library-alist' and the value of `libpng-version', and
  download compatible DLLs if needed.

README.W32:

      PNG: requires the PNG reference library 1.4 or later, which will
      be named libpng14.dll or libpng14-14.dll.  LibPNG requires zlib,
      which should come from the same source as you got libpng.
      Starting with Emacs 23.3, the precompiled Emacs binaries are
      built with libpng 1.4.x and later, and are incompatible with
      earlier versions of libpng DLLs.  So if you have libpng 1.2.x,
      the PNG support will not work, and you will have to download
      newer versions.





  reply	other threads:[~2011-03-23  4:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-22 23:27 bug#8324: Emacs 23.3 for W32 and libpng: update documentation pglpm0
2011-03-23  4:07 ` Eli Zaretskii [this message]
     [not found]   ` <4D897457.5000804@gmail.com>
2011-03-23 18:16     ` 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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=8362rav5s7.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=8324@debbugs.gnu.org \
    --cc=pglpm0@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).