e2512d11af
version 1.4.5beta01 [September 25, 2010] Fixed possible configure.ac bug introduced in version 1.4.4rc05. Rebuilt configure scripts with autoconf-2.68 instead of autoconf-2.65 version 1.4.5beta02 [October 5, 2010] Reverted configure scripts to autoconf-2.65 Fixed problem with symbols creation in Makefile.am which was assuming that all versions of cpp write to standard output by default (Martin Banky). The bug was introduced in libpng-1.2.9beta5. version 1.4.5beta03 [October 8, 2010] Wrapped long lines in CMakeLists.txt and introduced ${libpng_public_hdrs} Undid Makefile.am revision of 1.4.5beta02. version 1.4.5beta04 [November 8, 2010] Check for out-of-range text compression mode in png_set_text(). version 1.4.5rc01 [November 19, 2010] No changes. version 1.4.5beta05 [November 20, 2010] Revised png_get_uint_32, png_get_int_32, png_get_uint_16 (Cosmin) Moved reading of file signature into png_read_sig (Cosmin) Fixed atomicity of chunk header serialization (Cosmin) Added test for io_state in pngtest.c (Cosmin) Added "#!/bin/sh" at the top of contrib/pngminim/*/gather.sh scripts. version 1.4.5beta06 [November 21, 2010] Restored the parentheses in pngrutil.c; they are needed when the png_get_*int_*() functions are compiled (i.e., when PNG_USE_READ_MACROS is not defined). Make the "png_get_uint_16" macro return a png_uint_32 in libpng-1.4 for API compatibility. Changes to remove gcc warnings (John Bowler) Certain optional gcc warning flags resulted in warnings in libpng code. With these changes only -Wconversion and -Wcast-qual cannot be turned on. Changes are trivial rearrangements of code. -Wconversion is not possible for pngrutil.c (because of the widespread use of += et al on variables smaller than (int) or (unsigned int)) and -Wcast-qual is not possible with pngwio.c and pngwutil.c because the 'write' callback and zlib compression both fail to declare their input buffers with 'const'. version 1.4.5beta07 [November 25, 2010] Reverted png_get_uint_16 macro to beta05 and added comment about the potential API incompatibility. version 1.4.5rc02 [December 2, 2010] No changes. version 1.4.5rc03 [December 3, 2010] Added missing vstudio/*/*.vcxproj files to the zip and 7z distributions. version 1.4.5 [December 9, 2010] Removed PNG_NO_WRITE_GAMMA from pngminim/encoder/pngusr.h
35 lines
1.1 KiB
Makefile
35 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.126 2010/12/10 12:37:26 wiz Exp $
|
|
|
|
DISTNAME= libpng-1.4.5
|
|
PKGNAME= ${DISTNAME:S/lib//}
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libpng/} \
|
|
ftp://ftp.fu-berlin.de/unix/graphics/png/src/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= wiz@NetBSD.org
|
|
HOMEPAGE= http://www.libpng.org/pub/png/libpng.html
|
|
COMMENT= Library for manipulating PNG images
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
GNU_CONFIGURE= yes
|
|
PKGCONFIG_OVERRIDE= scripts/libpng.pc.in libpng.pc.in
|
|
TEST_TARGET= check
|
|
USE_LIBTOOL= yes
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
# keep this in sync with the same code in buildlink3.mk
|
|
.if ${MACHINE_ARCH} != "i386" && ${MACHINE_ARCH} != "x86_64"
|
|
CPPFLAGS+= -DPNG_NO_ASSEMBLER_CODE
|
|
.endif
|
|
|
|
SUBST_CLASSES+= rpathfix
|
|
SUBST_FILES.rpathfix= libpng-config.in
|
|
SUBST_MESSAGE.rpathfix= Adding rpath to libpng-config
|
|
SUBST_SED.rpathfix= -e 's/-L$${libdir}/${COMPILER_RPATH_FLAG}$${libdir} -L$${libdir}/g'
|
|
SUBST_STAGE.rpathfix= pre-configure
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|