summaryrefslogtreecommitdiff
path: root/graphics/mng
diff options
context:
space:
mode:
authoradam <adam>2004-04-06 09:17:56 +0000
committeradam <adam>2004-04-06 09:17:56 +0000
commited2ac5559f206639f1cdfe44622903f53693c016 (patch)
treeb3351055a1fda4babcb5edb4a934ab553a7cfce3 /graphics/mng
parentedadea7f7a3d59161f1035ccf9545ca0faa71eaf (diff)
downloadpkgsrc-ed2ac5559f206639f1cdfe44622903f53693c016.tar.gz
Changes 1.0.7:
bugfixes: - fixed inclusion of IJNG chunk for non-JNG use (J.S) - fixed bug in chunk-storage of SHOW chunk (where from == to) - fixed bug in promote_g8_g8 with 16bit support off core: - added CANVAS_RGB565 and CANVAS_BGR565 (big thanx to Raphael Assenat!!) - added CANVAS_RGBA565 and CANVAS_BGRA565 ( -- ditto -- ) - upgraded to zlib 1.2.1 - upgraded to lcms 1.11 - added premultiplied alpha canvas' for RGBA, ARGB, ABGR (thx to John Stiles) - more optimizations with 16bit support off - put conditionals around openstream/closestream callbacks. - fixed typo (MNG_SKIPCHUNK_SAVE -> MNG_SKIPCHUNK_nEED) - fixed some 64-bit platform compiler warnings Changes 1.0.6: core: - added support for reducing the footprint of libmng by macros that optionally skip unused chunks, remove 16-bit sample support, remove Delta support, and remove JNG support, to accomodate Mozilla/Firebird. - further optional removal of unused functions - added MNG_NO_SUPPORT_FUNCQUERY conditional - added iPNGdepth member to pData structure - added conditionals around MAGN chunk support - added conditionals around non-VLC chunk support - added conditionals around "mng_display_go*" and other unused functions - added more conditionals around "promote" functions - removed email references as appropriate
Diffstat (limited to 'graphics/mng')
-rw-r--r--graphics/mng/Makefile18
-rw-r--r--graphics/mng/distinfo7
-rw-r--r--graphics/mng/patches/patch-aa27
3 files changed, 17 insertions, 35 deletions
diff --git a/graphics/mng/Makefile b/graphics/mng/Makefile
index a5153bcb4b7..a103c65dcd1 100644
--- a/graphics/mng/Makefile
+++ b/graphics/mng/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.15 2004/03/07 14:37:02 minskim Exp $
+# $NetBSD: Makefile,v 1.16 2004/04/06 09:17:56 adam Exp $
-DISTNAME= libmng-1.0.5
+DISTNAME= libmng-1.0.7
PKGNAME= ${DISTNAME:S/lib//}
CATEGORIES= graphics
-MASTER_SITES= http://www.3-t.com/libmng/download/ \
- ${MASTER_SITE_SOURCEFORGE:=libmng/} \
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libmng/} \
+ http://www.3-t.com/libmng/download/ \
http://www.libmng.com/download/
MAINTAINER= tech-pkg@NetBSD.org
@@ -25,6 +25,15 @@ DOCDIR= ${PREFIX}/share/doc/mng
INSTALLATION_DIRS= man/man3 man/man5
+pre-configure:
+ cd ${WRKSRC}; \
+ ${LN} -sf makefiles/configure.in .; \
+ ${LN} -sf makefiles/Makefile.am .; \
+ ${ACLOCAL}; \
+ ${LOCALBASE}/bin/libtoolize --automake; \
+ ${AUTOMAKE} -a --foreign -i; \
+ ${AUTOCONF}
+
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
cd ${WRKSRC}/doc && \
@@ -38,4 +47,5 @@ post-install:
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/lcms/buildlink3.mk"
+.include "../../mk/automake.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/mng/distinfo b/graphics/mng/distinfo
index b2017530d7e..bea514f65ba 100644
--- a/graphics/mng/distinfo
+++ b/graphics/mng/distinfo
@@ -1,5 +1,4 @@
-$NetBSD: distinfo,v 1.5 2003/03/04 13:50:16 wiz Exp $
+$NetBSD: distinfo,v 1.6 2004/04/06 09:17:56 adam Exp $
-SHA1 (libmng-1.0.5.tar.gz) = 236c92061c629adacf0ded8c98781333081f584c
-Size (libmng-1.0.5.tar.gz) = 623279 bytes
-SHA1 (patch-aa) = ff3745f9b6f1d7058f4c43583195cfcb0fb522ed
+SHA1 (libmng-1.0.7.tar.gz) = 05e5575ddd3928f3299d9f2b450d01994c2b2102
+Size (libmng-1.0.7.tar.gz) = 501577 bytes
diff --git a/graphics/mng/patches/patch-aa b/graphics/mng/patches/patch-aa
deleted file mode 100644
index a20eb252991..00000000000
--- a/graphics/mng/patches/patch-aa
+++ /dev/null
@@ -1,27 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2001/03/07 08:34:52 skrll Exp $
-
---- configure.orig Tue Mar 6 14:14:17 2001
-+++ configure Tue Mar 6 14:14:40 2001
-@@ -9,7 +9,7 @@
-
- # Defaults:
- ac_help=
--ac_default_prefix=/usr/local
-+ac_default_prefix=${PREFIX}
- # Any additions from configure.in:
- ac_help="$ac_help
- --enable-shared[=PKGS] build shared libraries [default=yes]"
-@@ -728,11 +728,11 @@
- { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
- fi
- cat >> confdefs.h <<EOF
--#define PACKAGE "$PACKAGE"
-+#define MNG_PACKAGE "$PACKAGE"
- EOF
-
- cat >> confdefs.h <<EOF
--#define VERSION "$VERSION"
-+#define MNG_VERSION "$VERSION"
- EOF
-
-