pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Aug  8 16:52:11 UTC 2017

Modified Files:
        pkgsrc/graphics/gdk-pixbuf2: Makefile Makefile.version distinfo
        pkgsrc/graphics/gdk-pixbuf2-jasper: Makefile
        pkgsrc/graphics/gdk-pixbuf2-xlib: Makefile
        pkgsrc/graphics/gdk-pixbuf2/patches: patch-gdk-pixbuf_io-ico.c
Added Files:
        pkgsrc/graphics/gdk-pixbuf2/patches: patch-configure
Removed Files:
        pkgsrc/graphics/gdk-pixbuf2/patches:
            patch-thumbnailer_gnome-thumbnailer-skeleton.c

Log Message:
2.36.8:
* jpeg: restore grayscale image support
* bmp: Tighten image dimension checks
* ico: Fixo icon quality sorting
* Various other leak and overflow fixes
* Add some assertion to help static analysis
* Remove support for building on various obsolete platforms
* Translation updates

2.36.7:
* Add tests for recent bug fixes
* ico, bmp, tiff: avoid integer overflows
* jpeg: error out if wrong number of channels
* Misc.bugfixes
* Support mimetypes: image/wmf, image/emf
* Translation updates


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 pkgsrc/graphics/gdk-pixbuf2/Makefile
cvs rdiff -u -r1.16 -r1.17 pkgsrc/graphics/gdk-pixbuf2/Makefile.version
cvs rdiff -u -r1.33 -r1.34 pkgsrc/graphics/gdk-pixbuf2/distinfo
cvs rdiff -u -r1.16 -r1.17 pkgsrc/graphics/gdk-pixbuf2-jasper/Makefile
cvs rdiff -u -r1.19 -r1.20 pkgsrc/graphics/gdk-pixbuf2-xlib/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/gdk-pixbuf2/patches/patch-configure
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/graphics/gdk-pixbuf2/patches/patch-gdk-pixbuf_io-ico.c
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/graphics/gdk-pixbuf2/patches/patch-thumbnailer_gnome-thumbnailer-skeleton.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/gdk-pixbuf2/Makefile
diff -u pkgsrc/graphics/gdk-pixbuf2/Makefile:1.32 pkgsrc/graphics/gdk-pixbuf2/Makefile:1.33
--- pkgsrc/graphics/gdk-pixbuf2/Makefile:1.32   Sun Oct  9 17:49:38 2016
+++ pkgsrc/graphics/gdk-pixbuf2/Makefile        Tue Aug  8 16:52:10 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2016/10/09 17:49:38 ryoon Exp $
+# $NetBSD: Makefile,v 1.33 2017/08/08 16:52:10 adam Exp $
 
 DISTNAME=      gdk-pixbuf-${PIXBUF2_VERSION}
 PKGNAME=       ${DISTNAME:S/pixbuf/pixbuf2/}
@@ -15,11 +15,10 @@ CONFLICTS+= gtk2+<2.22
 
 .include "../../graphics/gdk-pixbuf2/Makefile.version"
 
-GNU_CONFIGURE=         yes
 USE_LIBTOOL=           yes
-USE_TOOLS+=            pkg-config gmake
 USE_PKGLOCALEDIR=      yes
-
+USE_TOOLS+=            gmake pkg-config
+GNU_CONFIGURE=         yes
 PKGCONFIG_OVERRIDE+=   contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib-2.0.pc.in
 PKGCONFIG_OVERRIDE+=   gdk-pixbuf-2.0.pc.in
 
@@ -32,6 +31,7 @@ _BUILDING_GTK2= yes
 post-install:
        ${RM} -f ${DESTDIR}${GDK_PIXBUF_LOADERS_DB}
 
+.include "../../databases/shared-mime-info/buildlink3.mk"
 BUILDLINK_API_DEPENDS.glib2+= glib2>=2.37.2
 .include "../../devel/glib2/buildlink3.mk"
 BUILDLINK_DEPMETHOD.gobject-introspection:= build

Index: pkgsrc/graphics/gdk-pixbuf2/Makefile.version
diff -u pkgsrc/graphics/gdk-pixbuf2/Makefile.version:1.16 pkgsrc/graphics/gdk-pixbuf2/Makefile.version:1.17
--- pkgsrc/graphics/gdk-pixbuf2/Makefile.version:1.16   Sun May 14 12:55:16 2017
+++ pkgsrc/graphics/gdk-pixbuf2/Makefile.version        Tue Aug  8 16:52:10 2017
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile.version,v 1.16 2017/05/14 12:55:16 spz Exp $
+# $NetBSD: Makefile.version,v 1.17 2017/08/08 16:52:10 adam Exp $
 #
 # used by graphics/gdk-pixbuf2/Makefile
 # used by graphics/gdk-pixbuf2-jasper/Makefile
 # used by graphics/gdk-pixbuf2-xlib/Makefile
 
-PIXBUF2_VERSION=       2.36.6
+PIXBUF2_VERSION=       2.36.8
 MSITE_VERSION=         ${PIXBUF2_VERSION:R}

Index: pkgsrc/graphics/gdk-pixbuf2/distinfo
diff -u pkgsrc/graphics/gdk-pixbuf2/distinfo:1.33 pkgsrc/graphics/gdk-pixbuf2/distinfo:1.34
--- pkgsrc/graphics/gdk-pixbuf2/distinfo:1.33   Sun May 14 12:55:16 2017
+++ pkgsrc/graphics/gdk-pixbuf2/distinfo        Tue Aug  8 16:52:10 2017
@@ -1,13 +1,13 @@
-$NetBSD: distinfo,v 1.33 2017/05/14 12:55:16 spz Exp $
+$NetBSD: distinfo,v 1.34 2017/08/08 16:52:10 adam Exp $
 
-SHA1 (gdk-pixbuf-2.36.6.tar.xz) = 8caa99dbbb143cddbb896bf35e01da717bb1479f
-RMD160 (gdk-pixbuf-2.36.6.tar.xz) = 9894ee0a16ed9fd6e7a152c1a5c2636985430d3a
-SHA512 (gdk-pixbuf-2.36.6.tar.xz) = b963f01161b58463c83499079545aa946fd824ec5e7167e0898698ac46e0cc3fb3dcb0cac5afabd6b7d957391b9c9bba55f340294076433155fc91052d5403ec
-Size (gdk-pixbuf-2.36.6.tar.xz) = 5166980 bytes
+SHA1 (gdk-pixbuf-2.36.8.tar.xz) = f68129cceffa0e48bfc0be3b812d276f9c6dae89
+RMD160 (gdk-pixbuf-2.36.8.tar.xz) = 6a5d6729d62d9e3b1c4321f5f916e42f142d3f4a
+SHA512 (gdk-pixbuf-2.36.8.tar.xz) = db92770098eff80706aad6fcd4ad6709aa6e4643d8740fc49dc0bb0620f94ff1b3df5d9ff65e7b27b060f36119ae654a0358fd40118f75b205f751a870bae052
+Size (gdk-pixbuf-2.36.8.tar.xz) = 5769164 bytes
+SHA1 (patch-configure) = 1207c64836c0f5a79d32c19a97b6f539af136d45
 SHA1 (patch-contrib_gdk-pixbuf-xlib_Makefile.in) = 636ab94c6bfde10c118b7833b4637a586781bfd5
 SHA1 (patch-gdk-pixbuf_Makefile.in) = 9173c4dbc89e4a4d34359e52885121c19a8a7ba6
 SHA1 (patch-gdk-pixbuf_gdk-pixbuf-scaled-anim.c) = 486db8d3f352b0d72b7074ba48f14ccbfa09deda
 SHA1 (patch-gdk-pixbuf_io-icns.c) = 71c1aa8ab88a260086b2bb345094d6a4376319a4
-SHA1 (patch-gdk-pixbuf_io-ico.c) = b9899618924d8201f3577d4d010e9c00be1c5d3b
+SHA1 (patch-gdk-pixbuf_io-ico.c) = 182c1e599259d6a043612abbad69a9527fa969e9
 SHA1 (patch-gdk-pixbuf_io-tiff.c) = a43137f861ff9a240d148adb2a278c2112291652
-SHA1 (patch-thumbnailer_gnome-thumbnailer-skeleton.c) = ea0f9dd8fa79f3eb794873745ea3b132e157e176

Index: pkgsrc/graphics/gdk-pixbuf2-jasper/Makefile
diff -u pkgsrc/graphics/gdk-pixbuf2-jasper/Makefile:1.16 pkgsrc/graphics/gdk-pixbuf2-jasper/Makefile:1.17
--- pkgsrc/graphics/gdk-pixbuf2-jasper/Makefile:1.16    Thu Oct  1 15:53:48 2015
+++ pkgsrc/graphics/gdk-pixbuf2-jasper/Makefile Tue Aug  8 16:52:11 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2015/10/01 15:53:48 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2017/08/08 16:52:11 adam Exp $
 
 DISTNAME=      gdk-pixbuf-${PIXBUF2_VERSION}
 PKGNAME=       gdk-pixbuf2-jasper-${PIXBUF2_VERSION}
@@ -16,11 +16,13 @@ PATCHDIR=   ${.CURDIR}/../../graphics/gdk-
 
 .include "../../graphics/gdk-pixbuf2/Makefile.version"
 
-GNU_CONFIGURE=         yes
-CONFIGURE_ARGS+=       --without-libtiff --without-libjpeg --without-libpng
-CONFIGURE_ARGS+=       --with-libjasper
 USE_LIBTOOL=           yes
 USE_TOOLS+=            gmake pkg-config
+GNU_CONFIGURE=         yes
+CONFIGURE_ARGS+=       --with-libjasper
+CONFIGURE_ARGS+=       --without-libjpeg
+CONFIGURE_ARGS+=       --without-libpng
+CONFIGURE_ARGS+=       --without-libtiff
 
 BUILD_DIRS=    gdk-pixbuf
 BUILD_TARGET=  libpixbufloader-jasper.la
@@ -34,6 +36,7 @@ do-install:
 
 .include "../../graphics/gdk-pixbuf2/loaders.mk"
 
+.include "../../databases/shared-mime-info/buildlink3.mk"
 BUILDLINK_API_DEPENDS.glib2+= glib2>=2.26.0
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../graphics/jasper/buildlink3.mk"

Index: pkgsrc/graphics/gdk-pixbuf2-xlib/Makefile
diff -u pkgsrc/graphics/gdk-pixbuf2-xlib/Makefile:1.19 pkgsrc/graphics/gdk-pixbuf2-xlib/Makefile:1.20
--- pkgsrc/graphics/gdk-pixbuf2-xlib/Makefile:1.19      Sun Jul 30 22:47:51 2017
+++ pkgsrc/graphics/gdk-pixbuf2-xlib/Makefile   Tue Aug  8 16:52:11 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2017/07/30 22:47:51 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2017/08/08 16:52:11 adam Exp $
 
 DISTNAME=      gdk-pixbuf-${PIXBUF2_VERSION}
 PKGNAME=       gdk-pixbuf2-xlib-${PIXBUF2_VERSION}
@@ -20,16 +20,18 @@ CONFLICTS+= gtk2+<2.22
 
 .include "../../graphics/gdk-pixbuf2/Makefile.version"
 
-GNU_CONFIGURE=         yes
-CONFIGURE_ARGS+=       --without-libtiff --without-libjpeg --without-libpng
-CONFIGURE_ARGS+=       --with-x11
 USE_LIBTOOL=           yes
-USE_TOOLS+=            pkg-config
 USE_PKGLOCALEDIR=      yes
-
+USE_TOOLS+=            pkg-config
+GNU_CONFIGURE=         yes
+CONFIGURE_ARGS+=       --without-libjpeg
+CONFIGURE_ARGS+=       --without-libpng
+CONFIGURE_ARGS+=       --without-libtiff
+CONFIGURE_ARGS+=       --with-x11
 PKGCONFIG_OVERRIDE+=   contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib-2.0.pc.in
 PKGCONFIG_OVERRIDE+=   gdk-pixbuf-2.0.pc.in
 
+.include "../../databases/shared-mime-info/buildlink3.mk"
 .include "../../graphics/gdk-pixbuf2/buildlink3.mk"
 BUILDLINK_API_DEPENDS.glib2+= glib2>=2.26.0
 .include "../../devel/glib2/buildlink3.mk"

Index: pkgsrc/graphics/gdk-pixbuf2/patches/patch-gdk-pixbuf_io-ico.c
diff -u pkgsrc/graphics/gdk-pixbuf2/patches/patch-gdk-pixbuf_io-ico.c:1.1 pkgsrc/graphics/gdk-pixbuf2/patches/patch-gdk-pixbuf_io-ico.c:1.2
--- pkgsrc/graphics/gdk-pixbuf2/patches/patch-gdk-pixbuf_io-ico.c:1.1   Sun May 14 12:55:16 2017
+++ pkgsrc/graphics/gdk-pixbuf2/patches/patch-gdk-pixbuf_io-ico.c       Tue Aug  8 16:52:10 2017
@@ -1,13 +1,13 @@
-$NetBSD: patch-gdk-pixbuf_io-ico.c,v 1.1 2017/05/14 12:55:16 spz Exp $
+$NetBSD: patch-gdk-pixbuf_io-ico.c,v 1.2 2017/08/08 16:52:10 adam Exp $
 
 from https://bugzilla.gnome.org/attachment.cgi?id=347366&action=diff
 for CVE-2017-6312
 
---- gdk-pixbuf/io-ico.c.orig   2017-02-27 17:24:19.000000000 +0000
+--- gdk-pixbuf/io-ico.c.orig   2017-08-07 16:52:44.000000000 +0000
 +++ gdk-pixbuf/io-ico.c
-@@ -330,10 +330,8 @@ static void DecodeHeader(guchar *Data, g
-                       return;
-               }
+@@ -333,10 +333,8 @@ static void DecodeHeader(guchar *Data, g
+       for (l = State->entries; l != NULL; l = g_list_next (l)) {
+               entry = l->data;
  
 -              /* We know how many bytes are in the "header" part. */
 -              State->HeaderSize = entry->DIBoffset + INFOHEADER_SIZE;
@@ -18,7 +18,7 @@ for CVE-2017-6312
                        g_set_error (error,
                                     GDK_PIXBUF_ERROR,
                                     GDK_PIXBUF_ERROR_CORRUPT_IMAGE,
-@@ -341,6 +339,9 @@ static void DecodeHeader(guchar *Data, g
+@@ -344,6 +342,9 @@ static void DecodeHeader(guchar *Data, g
                        return;
                }
  

Added files:

Index: pkgsrc/graphics/gdk-pixbuf2/patches/patch-configure
diff -u /dev/null pkgsrc/graphics/gdk-pixbuf2/patches/patch-configure:1.1
--- /dev/null   Tue Aug  8 16:52:11 2017
+++ pkgsrc/graphics/gdk-pixbuf2/patches/patch-configure Tue Aug  8 16:52:10 2017
@@ -0,0 +1,14 @@
+$NetBSD: patch-configure,v 1.1 2017/08/08 16:52:10 adam Exp $
+
+Fix libtiff detection.
+
+--- configure.orig     2017-08-08 16:46:18.000000000 +0000
++++ configure
+@@ -18796,6 +18796,7 @@ $as_echo "yes" >&6; }
+ 
+ fi
+     libtiff_found=yes
++    LIBTIFF=-ltiff
+   fi
+ 
+   if test x$with_libtiff != xno && test x$libtiff_found = xno; then



Home | Main Index | Thread Index | Old Index