pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/libimagequant version 2.9:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d240f17b7df9
branches:  trunk
changeset: 360104:d240f17b7df9
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Mar 22 02:13:05 2017 +0000

description:
version 2.9:
- new liq_histogram_add_colors()

pkgsrc:
- use correct PREFIX

diffstat:

 graphics/libimagequant/Makefile                |   8 +++++---
 graphics/libimagequant/distinfo                |  12 ++++++------
 graphics/libimagequant/patches/patch-configure |  25 +++++--------------------
 3 files changed, 16 insertions(+), 29 deletions(-)

diffs (95 lines):

diff -r c1c95de1879b -r d240f17b7df9 graphics/libimagequant/Makefile
--- a/graphics/libimagequant/Makefile   Wed Mar 22 01:45:07 2017 +0000
+++ b/graphics/libimagequant/Makefile   Wed Mar 22 02:13:05 2017 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.1 2017/01/29 11:57:03 adam Exp $
+# $NetBSD: Makefile,v 1.2 2017/03/22 02:13:05 adam Exp $
 
-DISTNAME=      libimagequant-2.8.2
+DISTNAME=      libimagequant-2.9.0
 CATEGORIES=    graphics
 MASTER_SITES+= ${MASTER_SITE_GITHUB:=ImageOptim/}
 
 MAINTAINER=    adam%NetBSD.org@localhost
-HOMEPAGE=      http://www.libpng.org/pub/png/libpng.html
+HOMEPAGE=      https://pngquant.org/lib/
 COMMENT=       High-quality conversion of RGBA images to 8-bit indexed-color
 LICENSE=       gnu-gpl-v3
 
@@ -14,6 +14,8 @@
 USE_LIBTOOL=           yes
 USE_TOOLS+=            gmake
 HAS_CONFIGURE=         yes
+CONFIGURE_ARGS+=       --disable-sse
+CONFIGURE_ARGS+=       --prefix="${PREFIX}"
 CONFIGURE_ARGS+=       --without-openmp
 BUILD_TARGET=          shared
 
diff -r c1c95de1879b -r d240f17b7df9 graphics/libimagequant/distinfo
--- a/graphics/libimagequant/distinfo   Wed Mar 22 01:45:07 2017 +0000
+++ b/graphics/libimagequant/distinfo   Wed Mar 22 02:13:05 2017 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.1 2017/01/29 11:57:03 adam Exp $
+$NetBSD: distinfo,v 1.2 2017/03/22 02:13:05 adam Exp $
 
-SHA1 (libimagequant-2.8.2.tar.gz) = 0058b265a8b594db40609969b01a38927c909d13
-RMD160 (libimagequant-2.8.2.tar.gz) = e0e11024c9a8db8e11bf7b4fef6614b437761b8a
-SHA512 (libimagequant-2.8.2.tar.gz) = 91bd5b821c823fd6508643d412253a6d1b8173d76548d96a0c41e2a7cfd7f21c082d901d0412fa10906b9da0cd2430b48fcb8cb60ec88fac60e7f4565a00bb07
-Size (libimagequant-2.8.2.tar.gz) = 63386 bytes
+SHA1 (libimagequant-2.9.0.tar.gz) = 3ee01906a5d1660364c23cc2d3d2eb2458f5da8b
+RMD160 (libimagequant-2.9.0.tar.gz) = 7c2f5ea0d5faae2d5737bc58873be88706e3f536
+SHA512 (libimagequant-2.9.0.tar.gz) = dcd6009acfbf8af56121d636dc6bf65f34024452425323dc7e03454a2e39fa66448b864693bbaf2e2513bdf200ae51877e68ba12017bfd413e8ff18f21ecf2ac
+Size (libimagequant-2.9.0.tar.gz) = 63765 bytes
 SHA1 (patch-Makefile) = e1bd81385c268e104c9bf8c119c28831ba023d08
-SHA1 (patch-configure) = 1c8d3cde6cac8b3ace2335d93d5f2464e6852e2e
+SHA1 (patch-configure) = 94366657d4b524849b9098ecc1490309407716cc
diff -r c1c95de1879b -r d240f17b7df9 graphics/libimagequant/patches/patch-configure
--- a/graphics/libimagequant/patches/patch-configure    Wed Mar 22 01:45:07 2017 +0000
+++ b/graphics/libimagequant/patches/patch-configure    Wed Mar 22 02:13:05 2017 +0000
@@ -1,11 +1,10 @@
-$NetBSD: patch-configure,v 1.1 2017/01/29 11:57:03 adam Exp $
+$NetBSD: patch-configure,v 1.2 2017/03/22 02:13:05 adam Exp $
 
-Remove SSE auto-detection, it is not portable.
 Remove unwanted compiler flags.
 
---- configure.orig     2016-12-23 23:22:46.000000000 +0000
+--- configure.orig     2017-03-02 01:07:29.000000000 +0000
 +++ configure
-@@ -125,7 +124,7 @@ cflags "-std=c99 -I."
+@@ -128,7 +128,7 @@ cflags "-std=c99 -I."
  
  # DEBUG
  if [ -z "$DEBUG" ]; then
@@ -14,21 +13,7 @@
      status "Debug" "no"
  else
      cflags "-O1 -g"
-@@ -133,13 +132,6 @@ else
- fi
- 
- # SSE
--if [ "$SSE" = 'auto' ]; then
--    if [[ "$(uname -m)" =~ (amd|x86_)64 ||
--          "$(grep -E -m1 "^flags" /proc/cpuinfo)" =~ "sse" ]]; then
--        SSE=1
--    fi
--fi
--
- if [ "$SSE" -eq 1 ]; then
-     status "SSE" "yes"
-     cflags "-DUSE_SSE=1"
-@@ -160,15 +152,9 @@ if [ -n "$OPENMP" ]; then
+@@ -166,15 +166,9 @@ if [ -n "$OPENMP" ]; then
      else
          OPENMPFLAGS="-fopenmp"
      fi
@@ -44,7 +29,7 @@
  else
      # silence warnings about omp pragmas
      cflags "-Wno-unknown-pragmas"
-@@ -177,19 +163,9 @@ else
+@@ -183,19 +177,9 @@ else
  fi
  
  # Cocoa



Home | Main Index | Thread Index | Old Index