diff options
author | leot <leot@pkgsrc.org> | 2019-12-10 10:35:59 +0000 |
---|---|---|
committer | leot <leot@pkgsrc.org> | 2019-12-10 10:35:59 +0000 |
commit | d15fcaa50e4cb8c6e34a1269c309e20497f1d133 (patch) | |
tree | 18e2662b2952b556dd7035c32c73c98ceb5662d1 | |
parent | 35085b92dc1730614f70fae55d165e150ac3cebc (diff) | |
download | pkgsrc-d15fcaa50e4cb8c6e34a1269c309e20497f1d133.tar.gz |
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.
-rw-r--r-- | graphics/jbig2dec/Makefile | 9 | ||||
-rw-r--r-- | graphics/jbig2dec/PLIST | 3 | ||||
-rw-r--r-- | graphics/jbig2dec/distinfo | 11 | ||||
-rw-r--r-- | graphics/jbig2dec/patches/patch-autogen.sh | 16 |
4 files changed, 29 insertions, 10 deletions
diff --git a/graphics/jbig2dec/Makefile b/graphics/jbig2dec/Makefile index a99599c0233..843ae51fdee 100644 --- a/graphics/jbig2dec/Makefile +++ b/graphics/jbig2dec/Makefile @@ -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 -HOMEPAGE= https://www.ghostscript.com/jbig2dec.html +HOMEPAGE= https://jbig2dec.com/ COMMENT= JBIG2 decoder library LICENSE= gnu-agpl-v3 @@ -15,6 +14,8 @@ USE_LIBTOOL= yes USE_TOOLS+= autoreconf autoconf automake GNU_CONFIGURE= yes +PKGCONFIG_OVERRIDE+= jbig2dec.pc.in + PYTHON_FOR_BUILD_ONLY= test TEST_TARGET= check diff --git a/graphics/jbig2dec/PLIST b/graphics/jbig2dec/PLIST index 7af7ee6c7dc..657361358ba 100644 --- a/graphics/jbig2dec/PLIST +++ b/graphics/jbig2dec/PLIST @@ -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 --git a/graphics/jbig2dec/distinfo b/graphics/jbig2dec/distinfo index 7aea6b05868..734dbe41ede 100644 --- a/graphics/jbig2dec/distinfo +++ b/graphics/jbig2dec/distinfo @@ -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 --git a/graphics/jbig2dec/patches/patch-autogen.sh b/graphics/jbig2dec/patches/patch-autogen.sh new file mode 100644 index 00000000000..9ea8f98a4e5 --- /dev/null +++ b/graphics/jbig2dec/patches/patch-autogen.sh @@ -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 |