pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics Version 5.1.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/119c4dd050ea
branches:  trunk
changeset: 634366:119c4dd050ea
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu May 15 14:16:11 2014 +0000

description:
Version 5.1.0
=============

Changes to the API require a library major-version bump.

Code Fixes
----------
* A small change to the API: DGifClose() and EGifClose() now take a
  pointer-to-int second argument (like the corresponding openers)
  where a diagnostic code will be deposited when they return
  GIF_ERROR.  This replaces the old behavior in which the GifFile
  structure was left unfreed so the Error member in it could be filled
  and remain available.  The change was was required because it's
  not always possible to free the struct afterwards. Case in point is
  a C# wrapper for giflib (or any language/environment where you can't
  just free objects allocated in a foreign shared library.)

* Minor fix for SF bug 56; BitsPerPixel may be left as uninitialized
  value when reading (truncated) gif.

* Applied SF patch 17: Use a fallback on Windows where mkstemp is not
  available.

* Applied SF patch 15: Code hardening, preventing spurious
  defective-image messages.

Retirements
-----------
* Removed gif2raw from utils. Its blithe assumption that the EGA16
  palette is a reliable default is now about 20 years obsolete. Format
  conversion is better done with convert(1) from the ImageMagick suite,
  anyway.

diffstat:

 graphics/giflib-util/Makefile   |  6 +++---
 graphics/giflib-util/PLIST      |  5 +----
 graphics/giflib/Makefile.common |  5 ++---
 graphics/giflib/distinfo        |  8 ++++----
 4 files changed, 10 insertions(+), 14 deletions(-)

diffs (82 lines):

diff -r 4745b7920ee3 -r 119c4dd050ea graphics/giflib-util/Makefile
--- a/graphics/giflib-util/Makefile     Thu May 15 14:14:54 2014 +0000
+++ b/graphics/giflib-util/Makefile     Thu May 15 14:16:11 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2013/08/31 18:41:33 adam Exp $
+# $NetBSD: Makefile,v 1.8 2014/05/15 14:16:11 adam Exp $
 
 .include "../../graphics/giflib/Makefile.common"
 
@@ -15,9 +15,9 @@
 INSTALLATION_DIRS=     ${HTMLDIR} ${HTMLDIR}/whatsinagif
 
 post-install:
-       cd ${WRKSRC}/doc; ${INSTALL_DATA} *.html *.txt \
+       cd ${WRKSRC}/doc && ${INSTALL_DATA} *.html *.txt \
                ${DESTDIR}${PREFIX}/${HTMLDIR}
-       cd ${WRKSRC}/doc/whatsinagif; ${INSTALL_DATA} *.html *.gif \
+       cd ${WRKSRC}/doc/whatsinagif && ${INSTALL_DATA} *.html *.gif \
                ${DESTDIR}${PREFIX}/${HTMLDIR}/whatsinagif
 
 .include "../../mk/giflib.buildlink3.mk"
diff -r 4745b7920ee3 -r 119c4dd050ea graphics/giflib-util/PLIST
--- a/graphics/giflib-util/PLIST        Thu May 15 14:14:54 2014 +0000
+++ b/graphics/giflib-util/PLIST        Thu May 15 14:16:11 2014 +0000
@@ -1,5 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2013/08/31 18:41:33 adam Exp $
-bin/gif2raw
+@comment $NetBSD: PLIST,v 1.4 2014/05/15 14:16:11 adam Exp $
 bin/gif2rgb
 bin/gifbuild
 bin/gifclrmp
@@ -8,7 +7,6 @@
 bin/gifinto
 bin/giftext
 bin/giftool
-man/man1/gif2raw.1
 man/man1/gif2rgb.1
 man/man1/gifbuild.1
 man/man1/gifclrmp.1
@@ -18,7 +16,6 @@
 man/man1/giflib.1
 man/man1/giftext.1
 man/man1/giftool.1
-share/doc/giflib/gif2raw.html
 share/doc/giflib/gif2rgb.html
 share/doc/giflib/gif87.txt
 share/doc/giflib/gif89.txt
diff -r 4745b7920ee3 -r 119c4dd050ea graphics/giflib/Makefile.common
--- a/graphics/giflib/Makefile.common   Thu May 15 14:14:54 2014 +0000
+++ b/graphics/giflib/Makefile.common   Thu May 15 14:16:11 2014 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile.common,v 1.6 2014/04/01 06:34:34 adam Exp $
+# $NetBSD: Makefile.common,v 1.7 2014/05/15 14:16:11 adam Exp $
 # used by graphics/giflib/Makefile
 # used by graphics/giflib-util/Makefile
 
-DISTNAME=      giflib-5.0.6
+DISTNAME=      giflib-5.1.0
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=giflib/}
 EXTRACT_SUFX=  .tar.bz2
@@ -17,7 +17,6 @@
 USE_LANGUAGES=         c c++
 USE_LIBTOOL=           yes
 GNU_CONFIGURE=         yes
-
 CONFIGURE_ARGS+=       --disable-rle
 CONFIGURE_ARGS+=       --disable-x11
 CONFIGURE_ARGS+=       --disable-gl
diff -r 4745b7920ee3 -r 119c4dd050ea graphics/giflib/distinfo
--- a/graphics/giflib/distinfo  Thu May 15 14:14:54 2014 +0000
+++ b/graphics/giflib/distinfo  Thu May 15 14:16:11 2014 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.13 2014/04/01 06:34:34 adam Exp $
+$NetBSD: distinfo,v 1.14 2014/05/15 14:16:11 adam Exp $
 
-SHA1 (giflib-5.0.6.tar.bz2) = 5c30ae506b6d1b24e331ab072e7ab4638c5ce709
-RMD160 (giflib-5.0.6.tar.bz2) = 6a69ac96264f792556a5bd188a219be2652a2866
-Size (giflib-5.0.6.tar.bz2) = 621073 bytes
+SHA1 (giflib-5.1.0.tar.bz2) = 2078f6f20652e6c72fcbed5be8f1f447b0354077
+RMD160 (giflib-5.1.0.tar.bz2) = b4199c1efe10693f5f7cdb28a6b1724b2176742f
+Size (giflib-5.1.0.tar.bz2) = 621155 bytes



Home | Main Index | Thread Index | Old Index