pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/mng Changes 1.0.7:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f713ad6836ec
branches:  trunk
changeset: 472183:f713ad6836ec
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Apr 06 09:17:56 2004 +0000

description:
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:

 graphics/mng/Makefile         |  18 ++++++++++++++----
 graphics/mng/distinfo         |   7 +++----
 graphics/mng/patches/patch-aa |  27 ---------------------------
 3 files changed, 17 insertions(+), 35 deletions(-)

diffs (83 lines):

diff -r 0229090c3cc2 -r f713ad6836ec graphics/mng/Makefile
--- a/graphics/mng/Makefile     Tue Apr 06 07:17:02 2004 +0000
+++ b/graphics/mng/Makefile     Tue Apr 06 09:17:56 2004 +0000
@@ -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@localhost
@@ -25,6 +25,15 @@
 
 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 @@
 .include "../../graphics/jpeg/buildlink3.mk"
 .include "../../graphics/lcms/buildlink3.mk"
 
+.include "../../mk/automake.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 0229090c3cc2 -r f713ad6836ec graphics/mng/distinfo
--- a/graphics/mng/distinfo     Tue Apr 06 07:17:02 2004 +0000
+++ b/graphics/mng/distinfo     Tue Apr 06 09:17:56 2004 +0000
@@ -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 -r 0229090c3cc2 -r f713ad6836ec graphics/mng/patches/patch-aa
--- a/graphics/mng/patches/patch-aa     Tue Apr 06 07:17:02 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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
- 
- 



Home | Main Index | Thread Index | Old Index