unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: sean.sieger@gmail.com, bug-gnu-emacs@gnu.org
Subject: bug#7716: 23.2.91; Pretest Windows binary doesn't support PNG images
Date: Wed, 29 Dec 2010 20:05:07 +0200	[thread overview]
Message-ID: <83mxnobgks.fsf@gnu.org> (raw)
In-Reply-To: <83ipyic8mw.fsf@gnu.org>

> Date: Sat, 25 Dec 2010 14:57:43 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: bug-gnu-emacs@gnu.org
> 
> > From: Sean Sieger <sean.sieger@gmail.com>
> > Date: Sat, 25 Dec 2010 05:58:24 -0500
> > Cc: 
> > 
> > Eli Zaretskii <eliz@gnu.org> 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).





  reply	other threads:[~2010-12-29 18:05 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-23  6:03 bug#7716: 23.2.91; Pretest Windows binary doesn't support PNG images Eli Zaretskii
2010-12-23 15:29 ` Drew Adams
2010-12-23 16:09   ` Eli Zaretskii
2010-12-23 17:36     ` Drew Adams
2010-12-23 18:23       ` Eli Zaretskii
2010-12-23 21:18         ` Drew Adams
2010-12-23 23:24           ` Sean Sieger
2010-12-24  0:40             ` Drew Adams
2010-12-24  2:56               ` David De La Harpe Golden
2010-12-24 10:03             ` Eli Zaretskii
2010-12-24  9:59           ` Eli Zaretskii
2010-12-24 16:03             ` Drew Adams
2010-12-24 16:23               ` Eli Zaretskii
2010-12-24 16:47                 ` Drew Adams
2010-12-24 18:11                   ` Eli Zaretskii
2010-12-24 18:21                     ` Drew Adams
2010-12-24 18:36                   ` Drew Adams
2010-12-24 19:03                     ` Eli Zaretskii
2010-12-24 19:21                       ` Drew Adams
2010-12-24 19:35                         ` Eli Zaretskii
2010-12-24 19:46                           ` Drew Adams
2010-12-24 23:52                           ` Drew Adams
2011-01-10 22:59                             ` Drew Adams
2011-01-11  4:07                               ` Eli Zaretskii
2011-01-11  4:41                                 ` Drew Adams
2011-01-11 18:45                                   ` Eli Zaretskii
2011-01-11 19:19                                     ` Drew Adams
2011-01-11 19:31                                       ` Eli Zaretskii
2011-01-11 19:53                                         ` Drew Adams
2011-01-11 21:02                                         ` Lennart Borgman
2010-12-24 18:21                 ` Sean Sieger
2010-12-24 19:01                   ` Eli Zaretskii
2010-12-23 18:51     ` Sean Sieger
2010-12-23 18:37 ` Sean Sieger
2010-12-23 18:57   ` Sean Sieger
2010-12-23 18:58   ` Eli Zaretskii
2010-12-23 20:23     ` Sean Sieger
2010-12-24  9:47       ` Eli Zaretskii
2010-12-24 22:24         ` Eli Zaretskii
2010-12-24 22:56           ` Sean Sieger
2010-12-25  9:19             ` Eli Zaretskii
2010-12-25 10:58               ` Sean Sieger
2010-12-25 12:57                 ` Eli Zaretskii
2010-12-29 18:05                   ` Eli Zaretskii [this message]
2010-12-29 20:12                     ` Sean Sieger
2010-12-29 23:57                   ` Jason Rumney
2010-12-30  4:12                     ` Eli Zaretskii
2010-12-30 15:58                       ` Jason Rumney
2010-12-31 12:46                         ` 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=83mxnobgks.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=sean.sieger@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).