From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#8324: Emacs 23.3 for W32 and libpng: update documentation Date: Wed, 23 Mar 2011 06:07:20 +0200 Message-ID: <8362rav5s7.fsf@gnu.org> References: <4D89307A.1010104@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1300856558 20620 80.91.229.12 (23 Mar 2011 05:02:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 23 Mar 2011 05:02:38 +0000 (UTC) Cc: 8324@debbugs.gnu.org To: pglpm0@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 23 06:02:30 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q2GDF-0005le-OV for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Mar 2011 06:02:30 +0100 Original-Received: from localhost ([127.0.0.1]:55597 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q2GDF-0001hh-0n for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Mar 2011 01:02:29 -0400 Original-Received: from [140.186.70.92] (port=45440 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q2Foi-0001Pt-VJ for bug-gnu-emacs@gnu.org; Wed, 23 Mar 2011 00:37:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q2Foh-0004n8-57 for bug-gnu-emacs@gnu.org; Wed, 23 Mar 2011 00:37:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37695) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q2Foh-0004n4-2S for bug-gnu-emacs@gnu.org; Wed, 23 Mar 2011 00:37:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Q2FMX-0007eE-Mp; Wed, 23 Mar 2011 00:08:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Mar 2011 04:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8324 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8324-submit@debbugs.gnu.org id=B8324.130085324929357 (code B ref 8324); Wed, 23 Mar 2011 04:08:01 +0000 Original-Received: (at 8324) by debbugs.gnu.org; 23 Mar 2011 04:07:29 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q2FM0-0007dS-Vf for submit@debbugs.gnu.org; Wed, 23 Mar 2011 00:07:29 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q2FLy-0007dF-RS for 8324@debbugs.gnu.org; Wed, 23 Mar 2011 00:07:28 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0LIH00B00SRUPY00@a-mtaout21.012.net.il> for 8324@debbugs.gnu.org; Wed, 23 Mar 2011 06:07:20 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.16.52]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LIH00BIVSS7JV70@a-mtaout21.012.net.il>; Wed, 23 Mar 2011 06:07:20 +0200 (IST) In-reply-to: <4D89307A.1010104@gmail.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 23 Mar 2011 00:08:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:45277 Archived-At: > 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.