svn commit: r566311 - in head/graphics/pngquant: . files

Alex Kozlov ak at FreeBSD.org
Mon Feb 22 17:00:34 UTC 2021


Author: ak
Date: Mon Feb 22 17:00:33 2021
New Revision: 566311
URL: https://svnweb.freebsd.org/changeset/ports/566311

Log:
  - Update to 2.13.1
  - Switch MASTER_SITES to https://

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	Mon Feb 22 16:40:16 2021	(r566310)
+++ head/graphics/pngquant/Makefile	Mon Feb 22 17:00:33 2021	(r566311)
@@ -2,10 +2,10 @@
 # $FreeBSD$
 
 PORTNAME=	pngquant
-PORTVERSION=	2.12.5
+PORTVERSION=	2.13.1
 DISTVERSIONSUFFIX=	-src
 CATEGORIES=	graphics
-MASTER_SITES=	http://pngquant.org/
+MASTER_SITES=	https://pngquant.org/
 
 MAINTAINER=	ak at FreeBSD.org
 COMMENT=	Converts 32-bit RGBA PNGs into 8-bit RGBA-palette PNGs

Modified: head/graphics/pngquant/distinfo
==============================================================================
--- head/graphics/pngquant/distinfo	Mon Feb 22 16:40:16 2021	(r566310)
+++ head/graphics/pngquant/distinfo	Mon Feb 22 17:00:33 2021	(r566311)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1584965570
-SHA256 (pngquant-2.12.5-src.tar.gz) = 3638936cf6270eeeaabcee42e10768d78e4dc07cac9310307835c1f58b140808
-SIZE (pngquant-2.12.5-src.tar.gz) = 145307
+TIMESTAMP = 1614010937
+SHA256 (pngquant-2.13.1-src.tar.gz) = 4b911a11aa0c35d364b608c917d13002126185c8c314ba4aa706b62fd6a95a7a
+SIZE (pngquant-2.13.1-src.tar.gz) = 145914

Modified: head/graphics/pngquant/files/patch-configure
==============================================================================
--- head/graphics/pngquant/files/patch-configure	Mon Feb 22 16:40:16 2021	(r566310)
+++ head/graphics/pngquant/files/patch-configure	Mon Feb 22 17:00:33 2021	(r566311)
@@ -104,7 +104,7 @@ Index: configure
          cflags "$($PKG_CONFIG --cflags "$LIBNAME")"
          lflags "$($PKG_CONFIG --libs "$LIBNAME")"
          LIBRARY_FOUND_VERSION=$($PKG_CONFIG --modversion "$LIBNAME")
-@@ -241,9 +241,13 @@
+@@ -244,9 +244,13 @@
          return 0
      fi
  
@@ -121,7 +121,7 @@ Index: configure
              return 0
          fi
      done
-@@ -300,12 +304,8 @@
+@@ -303,12 +307,8 @@
  # SSE
  if [ "$SSE" = 'auto' ]; then
      SSE=0
@@ -136,7 +136,7 @@ Index: configure
  fi
  
  if [ "$SSE" -eq 1 ]; then
-@@ -328,9 +328,8 @@
+@@ -331,9 +331,8 @@
      else
          OPENMPFLAGS="-fopenmp"
      fi
@@ -148,14 +148,16 @@ Index: configure
          cflags "$OPENMPFLAGS"
          lflags "$OPENMPFLAGS"
          status "OpenMP" "yes"
-@@ -345,38 +344,35 @@
+@@ -348,7 +347,7 @@
  fi
  
  # Cocoa
 -if [[ "$OSTYPE" =~ "darwin" ]]; then
 +if echo "$OSTYPE" | grep -q "darwin"; then
-     cflags "-mmacosx-version-min=10.7"
-     lflags "-mmacosx-version-min=10.7"
+     if [ -z "${MACOSX_DEPLOYMENT_TARGET+isset}" ]; then
+         cflags "-mmacosx-version-min=10.9"
+         lflags "-mmacosx-version-min=10.9"
+@@ -356,32 +355,29 @@
  fi
  
  # pairs of possible *.h and lib*.so locations
@@ -190,16 +192,16 @@ Index: configure
      # Search Developer SDK paths, since Apple seems to have dropped the standard Unixy ones
      XCODE_CMD="xcode-select"
      XCODE_PATH=$($XCODE_CMD -p)
--    DIRS+=("$XCODE_PATH/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include $XCODE_PATH/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/lib")
--    DIRS+=("$XCODE_PATH/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include $XCODE_PATH/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/lib")
+-    DIRS+=("$XCODE_PATH/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include $XCODE_PATH/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib")
+-    DIRS+=("$XCODE_PATH/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include $XCODE_PATH/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/lib")
 -elif [[ "$OSTYPE" =~ "msys" ]]; then
-+    DIRS="$DIRS $XCODE_PATH/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include $XCODE_PATH/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/lib"
-+    DIRS="$DIRS $XCODE_PATH/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include $XCODE_PATH/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/lib"
++    DIRS="$DIRS $XCODE_PATH/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include $XCODE_PATH/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib"
++    DIRS="$DIRS $XCODE_PATH/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include $XCODE_PATH/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/lib"
 +elif echo "$OSTYPE" | grep -q "msys" ; then
      SOLIBSUFFIX=dll
  else
      SOLIBSUFFIX=so
-@@ -417,7 +413,7 @@
+@@ -422,7 +418,7 @@
  if echo "#include \"png.h\"
      int main(){
      return !png_create_write_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL);
@@ -208,7 +210,7 @@ Index: configure
      status "libpng" "custom flags"
      HAS_LIBPNG=1
  fi
-@@ -428,7 +424,7 @@
+@@ -433,7 +429,7 @@
      if [ -n "$PNGH" ]; then
          PNGH_STRING=$(pngh_string "$PNGH")
          PNGH_MAJMIN=$(pngh_majmin "$PNGH")
@@ -217,7 +219,7 @@ Index: configure
              LIBPNGA=$(find_f "$LIBPNG_DIR" "libpng${PNGH_MAJMIN}.a")
              if [ -z "$LIBPNGA" ]; then
                  LIBPNGA=$(find_f "$LIBPNG_DIR" "libpng.a")
-@@ -447,14 +443,19 @@
+@@ -452,14 +448,19 @@
      if find_pkgconfig libpng; then
          HAS_LIBPNG=1
      else
@@ -242,7 +244,7 @@ Index: configure
                      if [ -n "$LIBPNGSO" ]; then
                          cflags "-I${PNGH%/*}"
                          lflags "-L${LIBPNGSO%/*} -lpng${PNGH_MAJMIN}"
-@@ -468,7 +469,7 @@
+@@ -473,7 +474,7 @@
      fi
  fi
  if [ "$HAS_LIBPNG" -eq 0 ]; then
@@ -251,7 +253,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`'
-@@ -535,6 +536,6 @@
+@@ -542,6 +543,6 @@
  SOLIBSUFFIX = $SOLIBSUFFIX
  STATICLIBDEPS = $STATICLIBDEPS
  LIQSRCDIR = $LIQSRCDIR

Modified: head/graphics/pngquant/files/patch-lib_configure
==============================================================================
--- head/graphics/pngquant/files/patch-lib_configure	Mon Feb 22 16:40:16 2021	(r566310)
+++ head/graphics/pngquant/files/patch-lib_configure	Mon Feb 22 17:00:33 2021	(r566311)
@@ -41,14 +41,16 @@ Index: lib/configure
          cflags "$OPENMPFLAGS"
          lflags "$OPENMPFLAGS"
          status "OpenMP" "yes"
-@@ -212,20 +207,20 @@
+@@ -212,22 +207,22 @@
  fi
  
  # Cocoa
 -if [[ "$OSTYPE" =~ "darwin" ]]; then
 +if echo "$OSTYPE" | grep -q "darwin" ; then
-     cflags "-mmacosx-version-min=10.7"
-     lflags "-mmacosx-version-min=10.7"
+     if [ -z "${MACOSX_DEPLOYMENT_TARGET+isset}" ]; then
+         cflags "-mmacosx-version-min=10.9"
+         lflags "-mmacosx-version-min=10.9"
+     fi
  fi
  
 -if [[ "$OSTYPE" =~ "darwin" ]]; then
@@ -58,11 +60,11 @@ Index: lib/configure
      # Search Developer SDK paths, since Apple seems to have dropped the standard Unixy ones
      XCODE_CMD="xcode-select"
      XCODE_PATH=$($XCODE_CMD -p)
--    DIRS+=("$XCODE_PATH/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include $XCODE_PATH/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/lib")
--    DIRS+=("$XCODE_PATH/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include $XCODE_PATH/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/lib")
+-    DIRS+=("$XCODE_PATH/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include $XCODE_PATH/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib")
+-    DIRS+=("$XCODE_PATH/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include $XCODE_PATH/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/lib")
 -elif [[ "$OSTYPE" =~ "msys" ]]; then
-+    DIRS="$DIRS $XCODE_PATH/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include $XCODE_PATH/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/lib"
-+    DIRS="$DIRS $XCODE_PATH/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include $XCODE_PATH/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/lib"
++    DIRS="$DIRS $XCODE_PATH/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include $XCODE_PATH/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib"
++    DIRS="$DIRS $XCODE_PATH/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include $XCODE_PATH/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/lib"
 +elif echo "$OSTYPE" | grep -q "msys" ; then
      SOLIBSUFFIX=dll
  else


More information about the svn-ports-all mailing list