delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-announce/2001/05/06/16:28:57

Mailing-List: contact cygwin-announce-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-announce-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-announce/>
List-Post: <mailto:cygwin-announce AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-announce-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-announce-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-announce AT sources DOT redhat DOT com
Delivered-To: moderator for cygwin-announce AT sources DOT redhat DOT com
Message-ID: <3AF5A861.9A214AAB@ece.gatech.edu>
Date: Sun, 06 May 2001 15:39:13 -0400
From: "Charles S. Wilson" <cwilson AT ece DOT gatech DOT edu>
X-Mailer: Mozilla 4.75 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin-announce AT cygwin DOT com
Subject: Updated: libpng-1.0.11-1

The libpng package has been updated to version 1.0.11-1.  libpng is a
library that provides routines to access and manipulate Portable Network
Graphics (PNG) images.  PNG is a lossless, patent-unencumbered image
format intended to replace GIF.

Since the png-developers group released version 1.0.11 and our previous
cygwin version was based on 1.0.9, I updated our package.

CHANGES:

- many bugfixes from the png-developers group between 1.0.9 and 1.0.11.

- supports the '-DALL_STATIC' compile-time flag as a synonym for
-DPNG_STATIC (and ZLIB_STATIC).  This should help make it easier to
compile statically a project with many dependencies.  However, this is a
long-term project: each 'dll-ized' library must be updated before
'-DALL_STATIC' is useful.  Don't hold your breath.  So far, the
following libraries support -DALL_STATIC:
  zlib-1.1.3-6
  libpng-1.0.11-1
  ncurses-5.2-5

INSTALLATION:

To update your installation, click on the "Install Cygwin now" link on
the http://sources.redhat.com/cygwin web page.  This downloads setup.exe
to your system.

Run setup and answer all of the questions.  PLEASE, PLEASE, PLEASE
choose a mirror site for your download.  The 'sources.redhat.com' site
is badly overloaded.  The mirrors below have the latest version of this
package:

ftp://ftp.sunsite.utk.edu/pub/cygwin/ (US)
ftp://ftp.uni-erlangen.de/pub/pc/gnuwin32/cygwin/mirrors/cygnus
(Germany)
ftp://ftp.mirror.ac.uk/sites/sourceware.cygnus.com/pub/cygwin/ (UK)

The setup.exe program will figure out what needs to be updated on your
system and should install the libpng package automatically.

If you have questions or comments, please send them to the Cygwin
mailing list at:  cygwin AT sources DOT redhat DOT com .  I would appreciate if you
would use this mailing list rather than emailing me directly. This
includes ideas and comments about the setup utility or Cygwin general.

If you want to make a point or ask a question the Cygwin mailing list is
the appropriate place.

              *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe to the cygwin-announce mailing list, look at
the "List-Unsubscribe: " tag in the email header of this message. Send
email to the address specified there.  It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain DOT com AT sources DOT redhat DOT com


NOTES:

o If you are building a package that depends on libpng, and you wish to
link *statically*, define -DPNG_STATIC *and* -DZLIB_STATIC (or just
define -DALL_STATIC) to get the 'correct' #define's in png.h/pngconf.h 
*and* zlib.h/zconf.h when compiling the .o files in your package. Also, 
use 'gcc -static' when linking your package.

o No special -Ddefine options or link options are needed when building a
package that depends on libpng and you want to link dynamically
(recommended).

o I was able to successfully compile and pass libpng's internal tests
('make test') with all of the following build enviromenments:
  - static
  - dll
  - static with pnggccrd (assembler optimizations)
  - dll with pnggccrd
  - static (compiled with 'gcc -mwin32')
  - dll (+ 'gcc -mwin32')
  - static with pnggccrd (+ 'gcc -mnin32')
  - dll with pnggccrd (+ 'gcc -mwin32')
However, the binary package did not use any of the assembler code, and I
didn't use 'gcc -mwin32' to compile it. According to tests reported
on the libpng-developer's mailing list, the pnggccrd code did not speed
it up all that much, and it breaks cygwin's compatibility with older
processors (a no-no). If you want to build your own libpng with those
enhancements, download the source --
/usr/doc/Cygwin/libpng-1.0.11.README 
contains instructions for building your own asm-accelerated libpng. 

Charles Wilson
libpng volunteer maintainer for cygwin

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019