pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/jbig2dec jbig2dec: Update to 0.17



details:   https://anonhg.NetBSD.org/pkgsrc/rev/983747692eee
branches:  trunk
changeset: 405840:983747692eee
user:      leot <leot%pkgsrc.org@localhost>
date:      Tue Dec 10 10:35:59 2019 +0000

description:
jbig2dec: Update to 0.17

pkgsrc changes:
 - Update HOMEPAGE

Changes:
Version 0.17 (2019 October 1)
 * Updated documentation with accurate contact information.
 * Moved version number to jbig2.h, and adapted configure
   correspondingly. Added pkg-config file to be installed
   along side library. Added run-time check of version
   number so that the correct header is used with the matching
   binary library.
 * Bug fixes.

diffstat:

 graphics/jbig2dec/Makefile                 |   9 +++++----
 graphics/jbig2dec/PLIST                    |   3 ++-
 graphics/jbig2dec/distinfo                 |  11 ++++++-----
 graphics/jbig2dec/patches/patch-autogen.sh |  16 ++++++++++++++++
 4 files changed, 29 insertions(+), 10 deletions(-)

diffs (76 lines):

diff -r 6906d34aef21 -r 983747692eee graphics/jbig2dec/Makefile
--- a/graphics/jbig2dec/Makefile        Tue Dec 10 10:31:58 2019 +0000
+++ b/graphics/jbig2dec/Makefile        Tue Dec 10 10:35:59 2019 +0000
@@ -1,13 +1,12 @@
-# $NetBSD: Makefile,v 1.13 2019/12/10 10:31:58 leot Exp $
+# $NetBSD: Makefile,v 1.14 2019/12/10 10:35:59 leot Exp $
 
-DISTNAME=      jbig2dec-0.16
-PKGREVISION=   1
+DISTNAME=      jbig2dec-0.17
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=ArtifexSoftware/}
 GITHUB_TAG=    ${PKGVERSION_NOREV}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://www.ghostscript.com/jbig2dec.html
+HOMEPAGE=      https://jbig2dec.com/
 COMMENT=       JBIG2 decoder library
 LICENSE=       gnu-agpl-v3
 
@@ -15,6 +14,8 @@
 USE_TOOLS+=    autoreconf autoconf automake
 GNU_CONFIGURE= yes
 
+PKGCONFIG_OVERRIDE+=   jbig2dec.pc.in
+
 PYTHON_FOR_BUILD_ONLY= test
 
 TEST_TARGET=   check
diff -r 6906d34aef21 -r 983747692eee graphics/jbig2dec/PLIST
--- a/graphics/jbig2dec/PLIST   Tue Dec 10 10:31:58 2019 +0000
+++ b/graphics/jbig2dec/PLIST   Tue Dec 10 10:35:59 2019 +0000
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2010/09/09 02:13:50 joerg Exp $
+@comment $NetBSD: PLIST,v 1.2 2019/12/10 10:35:59 leot Exp $
 bin/jbig2dec
 include/jbig2.h
 lib/libjbig2dec.la
+lib/pkgconfig/jbig2dec.pc
 man/man1/jbig2dec.1
diff -r 6906d34aef21 -r 983747692eee graphics/jbig2dec/distinfo
--- a/graphics/jbig2dec/distinfo        Tue Dec 10 10:31:58 2019 +0000
+++ b/graphics/jbig2dec/distinfo        Tue Dec 10 10:35:59 2019 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.9 2019/04/17 08:27:20 adam Exp $
+$NetBSD: distinfo,v 1.10 2019/12/10 10:35:59 leot Exp $
 
-SHA1 (jbig2dec-0.16.tar.gz) = 5cb8e40ac5c847752255ca94acd7f128bd9e2874
-RMD160 (jbig2dec-0.16.tar.gz) = 506dbae2a2680c61df4a4cb9c4d3182db1fb694f
-SHA512 (jbig2dec-0.16.tar.gz) = a8aa1b1f14466104eed412c38604b2450d1acc1c73faaaf81d5211ac7f4d636bf8d177285f6550f1f5211b31d14f1c14d83571e3e899700ebfc9af00912ed874
-Size (jbig2dec-0.16.tar.gz) = 140155 bytes
+SHA1 (jbig2dec-0.17.tar.gz) = 8d2ba831bcf475da05a381df02020e0706322ccf
+RMD160 (jbig2dec-0.17.tar.gz) = 96aab09c5ce1a749b5aadc4644c038790ee4a00c
+SHA512 (jbig2dec-0.17.tar.gz) = 79b3957186a30fc304ecd571d31c5cc421364921eb4eba242c3ea941ea111f461773f86c975657fa2ce91f2f79ff9abf760ef9bed404c7a4f35c036e5642ba0f
+Size (jbig2dec-0.17.tar.gz) = 141195 bytes
+SHA1 (patch-autogen.sh) = 1d22310c07b10c0f7cddda387c363f17132bc83f
diff -r 6906d34aef21 -r 983747692eee graphics/jbig2dec/patches/patch-autogen.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/jbig2dec/patches/patch-autogen.sh        Tue Dec 10 10:35:59 2019 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-autogen.sh,v 1.1 2019/12/10 10:36:00 leot Exp $
+
+`+' is an ordinary character in obsolete ('basic') regular expression,
+rewrite it to use `*'.
+
+--- autogen.sh.orig    2019-10-02 12:52:19.000000000 +0000
++++ autogen.sh
+@@ -22,7 +22,7 @@ VERSIONGREP="sed -e s/.*[^0-9\.]\([0-9][
+ VERSIONMKMAJ="sed -e s/\([0-9][0-9]*\)[^0-9].*/\\1/"
+ VERSIONMKMIN="sed -e s/.*[0-9][0-9]*\.//"
+ 
+-JBIG2VERSIONGREP="sed -e s/^.*(\([0-9]\+\)).*/\\1/"
++JBIG2VERSIONGREP="sed -e s/^.*(\([0-9][0-9]*\)).*/\\1/"
+ JBIG2MAJOR=$(grep 'define JBIG2_VERSION_MAJOR' jbig2.h | $JBIG2VERSIONGREP)
+ JBIG2MINOR=$(grep 'define JBIG2_VERSION_MINOR' jbig2.h | $JBIG2VERSIONGREP)
+ sed -e "s/^\(AC_INIT[^,]*,\)[^,]*\(,.*\)$/\1 [$JBIG2MAJOR.$JBIG2MINOR]\2/" configure.ac.in > configure.ac



Home | Main Index | Thread Index | Old Index