jpegoptim: updated to 1.5.2 v1.5.2 Add support for reading list of files to process from a file (--files-from) or from standard input (--files-stdin) Improved JPEG marker reporting Fix -d, --dest option (thanks to Almas Kunapyanov), Other minor fixesdiff -r1.24 -r1.25 pkgsrc/graphics/jpegoptim/Makefile
(adam)
@@ -1,17 +1,18 @@ | @@ -1,17 +1,18 @@ | |||
1 | # $NetBSD: Makefile,v 1.24 2023/01/09 20:11:24 fcambus Exp $ | 1 | # $NetBSD: Makefile,v 1.25 2023/02/11 07:49:55 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= jpegoptim-1.5.1 | 3 | DISTNAME= jpegoptim-1.5.2 | |
4 | CATEGORIES= graphics | 4 | CATEGORIES= graphics | |
5 | MASTER_SITES= http://www.kokkonen.net/tjko/src/ | 5 | MASTER_SITES= http://www.kokkonen.net/tjko/src/ | |
6 | 6 | |||
7 | MAINTAINER= pkgsrc-users@NetBSD.org | 7 | MAINTAINER= pkgsrc-users@NetBSD.org | |
8 | HOMEPAGE= https://www.kokkonen.net/tjko/projects.html | 8 | HOMEPAGE= https://www.kokkonen.net/tjko/projects.html | |
9 | COMMENT= JPEG optimizer | 9 | COMMENT= JPEG optimizer | |
10 | LICENSE= gnu-gpl-v2 | 10 | LICENSE= gnu-gpl-v2 | |
11 | 11 | |||
12 | GNU_CONFIGURE= yes | 12 | USE_TOOLS+= gmake | |
13 | GNU_CONFIGURE= yes | |||
13 | 14 | |||
14 | INSTALL_MAKE_FLAGS+= mandir=${PREFIX}/${PKGMANDIR} | 15 | INSTALL_MAKE_FLAGS+= mandir=${PREFIX}/${PKGMANDIR} | |
15 | 16 | |||
16 | .include "../../mk/jpeg.buildlink3.mk" | 17 | .include "../../mk/jpeg.buildlink3.mk" | |
17 | .include "../../mk/bsd.pkg.mk" | 18 | .include "../../mk/bsd.pkg.mk" |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.19 2023/01/09 20:11:24 fcambus Exp $ | 1 | $NetBSD: distinfo,v 1.20 2023/02/11 07:49:55 adam Exp $ | |
2 | 2 | |||
3 | BLAKE2s (jpegoptim-1.5.1.tar.gz) = 0762e31748718faf204b6cb62ab397a9344d4e8bb678c6790093a031dcf45c3c | 3 | BLAKE2s (jpegoptim-1.5.2.tar.gz) = 0376992a2816568f4398288a31b46b3f967f78c36bbc9f349f593f8984e120f2 | |
4 | SHA512 (jpegoptim-1.5.1.tar.gz) = cf9d459a96b06c5114118dccce9fcde3f6d92b0263736e4af080231aa935184a24de165764217abbfd1f106754b96db31e083e2fe13aec771acf391eb78a055c | 4 | SHA512 (jpegoptim-1.5.2.tar.gz) = 7caed3721928f7783903864d2e9fbae5d5431ec8e86f85d4ec0f3fbbbdf66632d696168d316faae5ac1b827808c953b557cd0eb15a3829a43d244ca9781811f1 | |
5 | Size (jpegoptim-1.5.1.tar.gz) = 119296 bytes | 5 | Size (jpegoptim-1.5.2.tar.gz) = 120959 bytes | |
6 | SHA1 (patch-configure) = e403f3243608687a9ac98ea59a5fb4a2c4363f53 | 6 | SHA1 (patch-configure) = dc33a3c78a5178f0b79dea8f0c5e95a15454c5ec |
@@ -1,24 +1,33 @@ | @@ -1,24 +1,33 @@ | |||
1 | $NetBSD: patch-configure,v 1.1 2022/12/07 08:04:42 adam Exp $ | 1 | $NetBSD: patch-configure,v 1.2 2023/02/11 07:49:55 adam Exp $ | |
2 | 2 | |||
3 | Portablility fixes. | 3 | Portablility fixes. | |
4 | 4 | |||
5 | --- configure.orig 2022-12-07 07:55:53.000000000 +0000 | 5 | --- configure.orig 2023-02-11 02:00:41.000000000 +0000 | |
6 | +++ configure | 6 | +++ configure | |
7 | @@ -3397,7 +3397,7 @@ arith_code=0 | 7 | @@ -3398,7 +3398,7 @@ arith_code=0 | |
8 | # Check whether --with-arith was given. | 8 | # Check whether --with-arith was given. | |
9 | if test "${with_arith+set}" = set; then : | 9 | if test "${with_arith+set}" = set; then : | |
10 | withval=$with_arith; | 10 | withval=$with_arith; | |
11 | - if test $withval == yes; then | 11 | - if test $withval == yes; then | |
12 | + if test $withval = yes; then | 12 | + if test $withval = yes; then | |
13 | arith_code=1 | 13 | arith_code=1 | |
14 | fi | 14 | fi | |
15 | 15 | |||
16 | @@ -4167,7 +4167,7 @@ fi | 16 | @@ -4168,7 +4168,7 @@ fi | |
17 | 17 | |||
18 | fi | 18 | fi | |
19 | 19 | |||
20 | -if test $arith_code == 1 -a $jpegoptim_cv_arith_code_support = yes; then | 20 | -if test $arith_code == 1 -a $jpegoptim_cv_arith_code_support = yes; then | |
21 | +if test $arith_code = 1 -a $jpegoptim_cv_arith_code_support = yes; then | 21 | +if test $arith_code = 1 -a $jpegoptim_cv_arith_code_support = yes; then | |
22 | arith_code_status="Enabled" | 22 | arith_code_status="Enabled" | |
23 | $as_echo "#define HAVE_ARITH_CODE 1" >>confdefs.h | 23 | $as_echo "#define HAVE_ARITH_CODE 1" >>confdefs.h | |
24 | 24 | |||
25 | @@ -4226,7 +4226,7 @@ $as_echo "$jpegoptim_cv_extension_settin | |||
26 | echo "--------------------------------------------------" | |||
27 | echo "Extension settings: $extension_settings_status" | |||
28 | echo "Arithmetic coding: $arith_code_status" | |||
29 | -if test $arith_code == 0 -a "$jpegoptim_cv_arith_code_support" == "yes"; then | |||
30 | +if test $arith_code = 0 -a "$jpegoptim_cv_arith_code_support" = "yes"; then | |||
31 | echo "(use --with-arith to enable Arithmetic coding support)" | |||
32 | fi | |||
33 | echo "--------------------------------------------------" |