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#7716: 23.2.91; Pretest Windows binary doesn't support PNG images Date: Wed, 29 Dec 2010 20:05:07 +0200 Message-ID: <83mxnobgks.fsf@gnu.org> References: <87k4j0cp2z.fsf@gmail.com> <83vd2ke2p7.fsf@gnu.org> <877hf0ck7a.fsf@gmail.com> <83r5d7ec4p.fsf@gnu.org> <8339pmernh.fsf@gnu.org> <83zkruciq4.fsf@gnu.org> <87r5d6azlb.fsf@gmail.com> <83ipyic8mw.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1293647018 6991 80.91.229.12 (29 Dec 2010 18:23:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 29 Dec 2010 18:23:38 +0000 (UTC) To: sean.sieger@gmail.com, bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 29 19:23:33 2010 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 1PY0gO-0003qO-7W for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Dec 2010 19:23:32 +0100 Original-Received: from localhost ([127.0.0.1]:41019 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PY0gN-0005IN-Lp for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Dec 2010 13:23:31 -0500 Original-Received: from [140.186.70.92] (port=35541 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PY0gJ-0005I8-1N for bug-gnu-emacs@gnu.org; Wed, 29 Dec 2010 13:23:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PY0gH-0003XU-7M for bug-gnu-emacs@gnu.org; Wed, 29 Dec 2010 13:23:26 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40669) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PY0gH-0003XQ-5p for bug-gnu-emacs@gnu.org; Wed, 29 Dec 2010 13:23:25 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PY0Gk-0007k2-8K; Wed, 29 Dec 2010 12:57:02 -0500 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, 29 Dec 2010 17:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7716 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by submit@debbugs.gnu.org id=B.129364538129707 (code B ref -1); Wed, 29 Dec 2010 17:57:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Dec 2010 17:56:21 +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 1PY0G4-0007j6-3t for submit@debbugs.gnu.org; Wed, 29 Dec 2010 12:56:20 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PY0G2-0007iv-45 for submit@debbugs.gnu.org; Wed, 29 Dec 2010 12:56:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PY0Mg-0007tK-Sc for submit@debbugs.gnu.org; Wed, 29 Dec 2010 13:03:11 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:60081) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PY0Mg-0007tG-QM for submit@debbugs.gnu.org; Wed, 29 Dec 2010 13:03:10 -0500 Original-Received: from [140.186.70.92] (port=49066 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PY0Mf-0008D1-OD for bug-gnu-emacs@gnu.org; Wed, 29 Dec 2010 13:03:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PY0Me-0007ru-C5 for bug-gnu-emacs@gnu.org; Wed, 29 Dec 2010 13:03:09 -0500 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:42684) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PY0Me-0007og-07 for bug-gnu-emacs@gnu.org; Wed, 29 Dec 2010 13:03:08 -0500 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LE700B00BA7X600@a-mtaout23.012.net.il> for bug-gnu-emacs@gnu.org; Wed, 29 Dec 2010 20:03:02 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.124.219.104]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LE700BG1BH0PE50@a-mtaout23.012.net.il>; Wed, 29 Dec 2010 20:03:02 +0200 (IST) In-reply-to: <83ipyic8mw.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 29 Dec 2010 12:57:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:42919 Archived-At: > Date: Sat, 25 Dec 2010 14:57:43 +0200 > From: Eli Zaretskii > Cc: bug-gnu-emacs@gnu.org > > > From: Sean Sieger > > Date: Sat, 25 Dec 2010 05:58:24 -0500 > > Cc: > > > > Eli Zaretskii writes: > > > > > and http://www.libpng.org/pub/png/libpng.html > > > > > > libpng version 1.4.3 - June 26, 2010 > > > > Are there Windows binaries available for this version of libpng > > somewhere? The GnuWin32 binaries are for version 1.2.37, not for > > 1.4.x. This could be the source of incompatibilities which could > > potentially prevent display of PNG images. I see some hits in Google > > for "libpng 1.4 vs 1.2 incompatibilities", and they seem to say that > > these two versions are indeed incompatible. > > > > FWIW, I have headers and binaries for version 1.2.8. > > > > There are security issues with those. > > There's only one security issue with version 1.2.37, the latest one > available from GnuWin32, and that issue is only relevant to web > browsers. > > Anyway, compiling an MS-Windows binary with a library for which > there's no binary DLL available seems useless to me. If you want to > build with version 1.4.x, please build also the DLL and make it > available. I downloaded libpng 1.4.5, the latest version, built it, and the pretest binary indeed can display PNG images using that. However, the library name is libpng14.dll, which is not in image-library-alist; adding it there would be a bad idea due to incompatibilities between 1.2.x and 1.4.x versions. I will next try to find a way to tweak our PNG-related code to be able to use either version of the shared libraries, in the hope that this is possible. If not, we will have some hard decisions to make. P.S. Building libpng on Windows is very easy (there's a MinGW specific Makefile in the distro).