Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Dec 2014 20:52:17 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r375597 - in head: . games/oolite/files graphics/png graphics/png/files
Message-ID:  <201412252052.sBPKqHwo030801@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Thu Dec 25 20:52:16 2014
New Revision: 375597
URL: https://svnweb.freebsd.org/changeset/ports/375597
QAT: https://qat.redports.org/buildarchive/r375597/

Log:
  - Update graphics/png to 1.6.16
  - Patch oolite to build with this new version
  A portrevision bump will follow soon
  
  Differential Revision:	https://reviews.freebsd.org/D1360
  Submitted by:	bapt
  Exp-run:	self

Added:
  head/games/oolite/files/patch-src_Core_Materials_OOPNGTextureLoader.m   (contents, props changed)
Deleted:
  head/graphics/png/files/patch-libpng-config-body.in
  head/graphics/png/files/patch-makefile.freebsd
Modified:
  head/UPDATING
  head/graphics/png/Makefile
  head/graphics/png/distinfo
  head/graphics/png/pkg-plist

Modified: head/UPDATING
==============================================================================
--- head/UPDATING	Thu Dec 25 19:12:08 2014	(r375596)
+++ head/UPDATING	Thu Dec 25 20:52:16 2014	(r375597)
@@ -6,6 +6,18 @@ You should get into the habit of checkin
 you update your ports collection, before attempting any port upgrades.
 
 
+20141225:
+  AFFECTS: users of graphics/png
+  AUTHOR: antoine@FreeBSD.org
+
+  The PNG library has been updated to version 1.6.16.  Please rebuild all
+  ports that depend on it.
+
+  If you use portmaster:
+        portmaster -r png
+  If you use portupgrade:
+        portupgrade -fr graphics/png
+
 20141224:
   AFFECTS: users of lang/neon29
   AUTHOR: ohauer@FreeBSD.org

Added: head/games/oolite/files/patch-src_Core_Materials_OOPNGTextureLoader.m
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/oolite/files/patch-src_Core_Materials_OOPNGTextureLoader.m	Thu Dec 25 20:52:16 2014	(r375597)
@@ -0,0 +1,12 @@
+--- src/Core/Materials/OOPNGTextureLoader.m.orig	2014-06-30 08:50:36 UTC
++++ src/Core/Materials/OOPNGTextureLoader.m
+@@ -31,9 +31,6 @@ SOFTWARE.
+ #import "OOCPUInfo.h"
+ #import "NSDataOOExtensions.h"
+ 
+-void png_error(png_structp, png_const_charp) NO_RETURN_FUNC;
+-
+-
+ static void PNGError(png_structp png, png_const_charp message);
+ static void PNGWarning(png_structp png, png_const_charp message);
+ static void PNGRead(png_structp png, png_bytep bytes, png_size_t size);

Modified: head/graphics/png/Makefile
==============================================================================
--- head/graphics/png/Makefile	Thu Dec 25 19:12:08 2014	(r375596)
+++ head/graphics/png/Makefile	Thu Dec 25 20:52:16 2014	(r375597)
@@ -2,24 +2,21 @@
 # $FreeBSD$
 
 PORTNAME=	png
-PORTVERSION=	1.5.21
+PORTVERSION=	1.6.16
 CATEGORIES=	graphics
-MASTER_SITES=	SF/lib${PORTNAME}/lib${PORTNAME}15/${PORTVERSION}
+MASTER_SITES=	SF/lib${PORTNAME}/lib${PORTNAME}16/${PORTVERSION}
+PATCH_SITES=	SF/apng/lib${PORTNAME}/lib${PORTNAME}16/
 DISTNAME=	lib${PORTNAME}-${PORTVERSION}
-DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
 
 MAINTAINER=	portmgr@FreeBSD.org
 COMMENT=	Library for manipulating PNG images
 
-PORTSCOUT=	limit:^1\.5\.
-
 USES=		cmake cpe tar:xz
 CPE_PRODUCT=	libpng
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 
 CMAKE_ARGS+=	-DPNG_MAN_DIR:STRING=man
-SOSUFFIX=	.${PORTVERSION:E}
 
 OPTIONS_DEFINE=APNG PNGTEST
 OPTIONS_DEFAULT=APNG PNGTEST
@@ -28,25 +25,12 @@ PNGTEST_DESC=Enable Regression Test (rec
 
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MAPNG} || make(makesum) || defined(FETCH_ALL)
-MASTER_SITES+=	SF/apng/libpng/libpng15/:apng
-DISTFILES+=	${DISTNAME}-apng.patch.gz:apng
-EXTRACT_ONLY+=	${DISTNAME}${EXTRACT_SUFX}
-.endif
-.if ${PORT_OPTIONS:MAPNG}
-EXTRA_PATCHES+=	${WRKSRC}/${DISTNAME}-apng.unix
-.endif
-
-post-extract:
-.if ${PORT_OPTIONS:MAPNG}
-	${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}-apng.patch.gz ${WRKSRC}/
-	${GZIP_CMD} -d ${WRKSRC}/${DISTNAME}-apng.patch.gz
-	${TR} -d '\r' < ${WRKSRC}/${DISTNAME}-apng.patch > ${WRKSRC}/${DISTNAME}-apng.unix
+.if ${PORT_OPTIONS:MAPNG} || make(makesum)
+PATCHFILES=	${DISTNAME}-apng.patch.gz
 .endif
 
 post-patch:
 	${REINPLACE_CMD} \
-		-e 's|RELEASE}.0|RELEASE}|' \
 		-e 's|LIBDIR}/pkgconfig|LIBDIR}data/pkgconfig|' \
 		${WRKSRC}/CMakeLists.txt
 
@@ -61,18 +45,4 @@ post-build:
         fi)
 .endif
 
-pre-install:
-	${MKDIR} ${STAGEDIR}${PREFIX}/include/libpng
-	${MKDIR} ${STAGEDIR}${PREFIX}/libdata/pkgconfig
-
-post-install:
-	${INSTALL_DATA} ${WRKSRC}/pngdebug.h ${WRKSRC}/pnginfo.h \
-		${WRKSRC}/pngpriv.h ${WRKSRC}/pngstruct.h \
-		${STAGEDIR}${PREFIX}/include/libpng15/
-	-${RMDIR} ${STAGEDIR}${PREFIX}/include/libpng
-	${RM} ${STAGEDIR}${PREFIX}/libdata/pkgconfig/libpng.pc
-	${LN} -sf libpng15.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/libpng.pc
-	${RM} ${STAGEDIR}${PREFIX}/lib/libpng15.so.15
-	${MV} ${STAGEDIR}${PREFIX}/lib/libpng15.so.15${SOSUFFIX} ${STAGEDIR}${PREFIX}/lib/libpng15.so.15
-
 .include <bsd.port.mk>

Modified: head/graphics/png/distinfo
==============================================================================
--- head/graphics/png/distinfo	Thu Dec 25 19:12:08 2014	(r375596)
+++ head/graphics/png/distinfo	Thu Dec 25 20:52:16 2014	(r375597)
@@ -1,4 +1,4 @@
-SHA256 (libpng-1.5.21.tar.xz) = b5151c64bc70489997790a492e1094d106be90a22b2958c43eee25a70dffdba7
-SIZE (libpng-1.5.21.tar.xz) = 734356
-SHA256 (libpng-1.5.21-apng.patch.gz) = 8a4fffa885f1a1a34a7bdcaa2d1b8f1e025f6e1cf9c5bf17224672d2a6948d94
-SIZE (libpng-1.5.21-apng.patch.gz) = 9511
+SHA256 (libpng-1.6.16.tar.xz) = 42f754df633e4e700544e5913cbe2fd4928bbfccdc07708a5cf84e59827fbe60
+SIZE (libpng-1.6.16.tar.xz) = 907284
+SHA256 (libpng-1.6.16-apng.patch.gz) = 07eb4825f6787283aa2c4f77b6fd421875ec7982e2a5b1705c3bea0cdccf5c2d
+SIZE (libpng-1.6.16-apng.patch.gz) = 9552

Modified: head/graphics/png/pkg-plist
==============================================================================
--- head/graphics/png/pkg-plist	Thu Dec 25 19:12:08 2014	(r375596)
+++ head/graphics/png/pkg-plist	Thu Dec 25 20:52:16 2014	(r375597)
@@ -1,24 +1,21 @@
 bin/libpng-config
-bin/libpng15-config
-include/libpng15/png.h
-include/libpng15/pngconf.h
-include/libpng15/pngdebug.h
-include/libpng15/pnginfo.h
-include/libpng15/pnglibconf.h
-include/libpng15/pngpriv.h
-include/libpng15/pngstruct.h
+bin/libpng16-config
+include/libpng16/png.h
+include/libpng16/pngconf.h
+include/libpng16/pnglibconf.h
 include/png.h
 include/pngconf.h
 include/pnglibconf.h
 lib/libpng.a
 lib/libpng.so
-libdata/pkgconfig/libpng15.pc
+lib/libpng/libpng16-%%CMAKE_BUILD_TYPE%%.cmake
+lib/libpng/libpng16.cmake
+lib/libpng16.a
+lib/libpng16.so
+lib/libpng16.so.16
+lib/libpng16.so.16.16.0
 libdata/pkgconfig/libpng.pc
-lib/libpng/libpng15-%%CMAKE_BUILD_TYPE%%.cmake
-lib/libpng/libpng15.cmake
-lib/libpng15.a
-lib/libpng15.so
-lib/libpng15.so.15
+libdata/pkgconfig/libpng16.pc
 man/man3/libpng.3.gz
 man/man3/libpngpf.3.gz
 man/man5/png.5.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412252052.sBPKqHwo030801>