From owner-svn-ports-all@freebsd.org Wed Aug 1 11:58:23 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 32D2310593DE; Wed, 1 Aug 2018 11:58:23 +0000 (UTC) (envelope-from ak@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6C43D70637; Wed, 1 Aug 2018 11:58:22 +0000 (UTC) (envelope-from ak@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 48F5422210; Wed, 1 Aug 2018 11:58:22 +0000 (UTC) (envelope-from ak@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w71BwMKY011091; Wed, 1 Aug 2018 11:58:22 GMT (envelope-from ak@FreeBSD.org) Received: (from ak@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w71BwL4C011088; Wed, 1 Aug 2018 11:58:21 GMT (envelope-from ak@FreeBSD.org) Message-Id: <201808011158.w71BwL4C011088@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ak set sender to ak@FreeBSD.org using -f From: Alex Kozlov Date: Wed, 1 Aug 2018 11:58:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r476174 - in head/graphics/pngquant: . files X-SVN-Group: ports-head X-SVN-Commit-Author: ak X-SVN-Commit-Paths: in head/graphics/pngquant: . files X-SVN-Commit-Revision: 476174 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Aug 2018 11:58:23 -0000 Author: ak Date: Wed Aug 1 11:58:21 2018 New Revision: 476174 URL: https://svnweb.freebsd.org/changeset/ports/476174 Log: - Update to 2.12.0 Modified: head/graphics/pngquant/Makefile head/graphics/pngquant/distinfo head/graphics/pngquant/files/patch-configure head/graphics/pngquant/files/patch-lib_configure Modified: head/graphics/pngquant/Makefile ============================================================================== --- head/graphics/pngquant/Makefile Wed Aug 1 11:49:02 2018 (r476173) +++ head/graphics/pngquant/Makefile Wed Aug 1 11:58:21 2018 (r476174) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= pngquant -PORTVERSION= 2.11.7 +PORTVERSION= 2.12.0 DISTVERSIONSUFFIX= -src CATEGORIES= graphics MASTER_SITES= http://pngquant.org/ Modified: head/graphics/pngquant/distinfo ============================================================================== --- head/graphics/pngquant/distinfo Wed Aug 1 11:49:02 2018 (r476173) +++ head/graphics/pngquant/distinfo Wed Aug 1 11:58:21 2018 (r476174) @@ -1,3 +1,3 @@ -TIMESTAMP = 1517669180 -SHA256 (pngquant-2.11.7-src.tar.gz) = d70b46c3335c7abf21944aced2d9d2b54819ab84ed1a140b354d5e8cc9f0fb0a -SIZE (pngquant-2.11.7-src.tar.gz) = 141959 +TIMESTAMP = 1533123633 +SHA256 (pngquant-2.12.0-src.tar.gz) = 0e540c64bb58c05f2a05b4eaf1d3d165f0d3278500f15abfeac47f93f8fa8fa8 +SIZE (pngquant-2.12.0-src.tar.gz) = 143335 Modified: head/graphics/pngquant/files/patch-configure ============================================================================== --- head/graphics/pngquant/files/patch-configure Wed Aug 1 11:49:02 2018 (r476173) +++ head/graphics/pngquant/files/patch-configure Wed Aug 1 11:58:21 2018 (r476174) @@ -13,7 +13,7 @@ Index: configure SSE=auto OPENMP= LIBPNG_DIR=. -@@ -41,7 +41,7 @@ +@@ -35,7 +35,7 @@ help "--with-libimagequant= external libimagequant (lib/ default)" help "--with-openmp=static compile with multicore support" help "--with-lcms2/--without-lcms2 compile with color profile support" @@ -22,7 +22,7 @@ Index: configure help "--with-cocoa/--without-cocoa use Cocoa framework to read images" fi help "--with-libpng= search for libpng in directory" -@@ -56,35 +56,35 @@ +@@ -50,35 +50,35 @@ CC=*) CC=${i#*=} SKIP_CC_CHECK=1 @@ -66,7 +66,7 @@ Index: configure ;; --with-lcms2) LCMS2=1 -@@ -111,16 +111,16 @@ +@@ -103,16 +103,16 @@ ;; --prefix=*) PREFIX=${i#*=} @@ -86,7 +86,7 @@ Index: configure ;; *) echo "warning: unknown switch ${i%%=*} (see $0 --help for the list)" -@@ -130,7 +130,7 @@ +@@ -122,7 +122,7 @@ # If someone runs sudo make install as very first command, and configure later, # $CONFIG cannot be overwritten, and must be deleted before continuing. @@ -95,7 +95,7 @@ Index: configure echo "Cannot overwrite file $CONFIG! Please delete it." exit 1 fi -@@ -167,7 +167,7 @@ +@@ -159,7 +159,7 @@ find_pkgconfig() { local LIBNAME=$1 @@ -104,7 +104,7 @@ Index: configure cflags "$(pkg-config --cflags "$LIBNAME")" lflags "$(pkg-config --libs "$LIBNAME")" LIBRARY_FOUND_VERSION=$(pkg-config --modversion "$LIBNAME") -@@ -248,9 +248,13 @@ +@@ -240,9 +240,13 @@ return 0 fi @@ -121,7 +121,7 @@ Index: configure return 0 fi done -@@ -305,12 +309,8 @@ +@@ -299,12 +303,8 @@ # SSE if [ "$SSE" = 'auto' ]; then SSE=0 @@ -136,7 +136,7 @@ Index: configure fi if [ "$SSE" -eq 1 ]; then -@@ -333,9 +333,8 @@ +@@ -327,9 +327,8 @@ else OPENMPFLAGS="-fopenmp" fi @@ -148,17 +148,15 @@ Index: configure cflags "$OPENMPFLAGS" lflags "$OPENMPFLAGS" status "OpenMP" "yes" -@@ -342,7 +342,7 @@ +@@ -344,38 +343,35 @@ fi # Cocoa -if [[ "$OSTYPE" =~ "darwin" ]]; then +if echo "$OSTYPE" | grep -q "darwin"; then - cflags "-mmacosx-version-min=10.6" - lflags "-mmacosx-version-min=10.6" + cflags "-mmacosx-version-min=10.7" + lflags "-mmacosx-version-min=10.7" fi -@@ -365,32 +366,29 @@ - fi # pairs of possible *.h and lib*.so locations -DIRS=() @@ -201,7 +199,7 @@ Index: configure SOLIBSUFFIX=dll else SOLIBSUFFIX=so -@@ -431,7 +429,7 @@ +@@ -416,7 +412,7 @@ if echo "#include \"png.h\" int main(){ return !png_create_write_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL); @@ -210,7 +208,7 @@ Index: configure status "libpng" "custom flags" HAS_LIBPNG=1 fi -@@ -442,7 +440,7 @@ +@@ -427,7 +423,7 @@ if [ -n "$PNGH" ]; then PNGH_STRING=$(pngh_string "$PNGH") PNGH_MAJMIN=$(pngh_majmin "$PNGH") @@ -219,7 +217,7 @@ Index: configure LIBPNGA=$(find_f "$LIBPNG_DIR" "libpng${PNGH_MAJMIN}.a") if [ -z "$LIBPNGA" ]; then LIBPNGA=$(find_f "$LIBPNG_DIR" "libpng.a") -@@ -461,14 +459,19 @@ +@@ -446,14 +442,19 @@ if find_pkgconfig libpng; then HAS_LIBPNG=1 else @@ -244,7 +242,7 @@ Index: configure if [ -n "$LIBPNGSO" ]; then cflags "-I${PNGH%/*}" lflags "-L${LIBPNGSO%/*} -lpng${PNGH_MAJMIN}" -@@ -482,7 +485,7 @@ +@@ -467,7 +468,7 @@ fi fi if [ "$HAS_LIBPNG" -eq 0 ]; then @@ -253,7 +251,7 @@ Index: configure LIBPNG_CMD='`brew install libpng`' else LIBPNG_CMD='`apt-get install libpng16-dev` or `apt-get install libpng-dev` or `yum install libpng-devel`' -@@ -550,6 +553,6 @@ +@@ -534,6 +535,6 @@ SOLIBSUFFIX = $SOLIBSUFFIX STATICLIBDEPS = $STATICLIBDEPS LIQSRCDIR = $LIQSRCDIR Modified: head/graphics/pngquant/files/patch-lib_configure ============================================================================== --- head/graphics/pngquant/files/patch-lib_configure Wed Aug 1 11:49:02 2018 (r476173) +++ head/graphics/pngquant/files/patch-lib_configure Wed Aug 1 11:58:21 2018 (r476174) @@ -5,7 +5,7 @@ Index: lib/configure CONFIG="config.mk" PREFIX="/usr/local" -@@ -86,7 +86,7 @@ +@@ -105,7 +105,7 @@ # If someone runs sudo make install as very first command, and configure later, # $CONFIG cannot be overwritten, and must be deleted before continuing. @@ -14,7 +14,7 @@ Index: lib/configure echo "Cannot overwrite file $CONFIG! Please delete it." exit 1 fi -@@ -146,12 +146,8 @@ +@@ -167,12 +167,8 @@ # SSE if [ "$SSE" = 'auto' ]; then SSE=0 @@ -29,7 +29,7 @@ Index: lib/configure fi if [ "$SSE" -eq 1 ]; then -@@ -174,9 +170,8 @@ +@@ -195,9 +191,8 @@ else OPENMPFLAGS="-fopenmp" fi @@ -41,14 +41,14 @@ Index: lib/configure cflags "$OPENMPFLAGS" lflags "$OPENMPFLAGS" status "OpenMP" "yes" -@@ -191,20 +186,20 @@ +@@ -212,20 +207,20 @@ fi # Cocoa -if [[ "$OSTYPE" =~ "darwin" ]]; then +if echo "$OSTYPE" | grep -q "darwin" ; then - cflags "-mmacosx-version-min=10.6" - lflags "-mmacosx-version-min=10.6" + cflags "-mmacosx-version-min=10.7" + lflags "-mmacosx-version-min=10.7" fi -if [[ "$OSTYPE" =~ "darwin" ]]; then