Wed Dec 7 08:04:42 2022 UTC ()
jpegoptim: updated to 1.5.0

v1.5.0
Parallel processing support added. Use option -w max or --workers=max to enable.
Fix --stdin option
Other minor fixes


(adam)
diff -r1.22 -r1.23 pkgsrc/graphics/jpegoptim/Makefile
diff -r1.17 -r1.18 pkgsrc/graphics/jpegoptim/distinfo
diff -r0 -r1.1 pkgsrc/graphics/jpegoptim/patches/patch-configure

cvs diff -r1.22 -r1.23 pkgsrc/graphics/jpegoptim/Makefile (expand / switch to context diff)
--- pkgsrc/graphics/jpegoptim/Makefile 2019/08/08 21:17:48 1.22
+++ pkgsrc/graphics/jpegoptim/Makefile 2022/12/07 08:04:41 1.23
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.22 2019/08/08 21:17:48 nia Exp $
+# $NetBSD: Makefile,v 1.23 2022/12/07 08:04:41 adam Exp $
 
-DISTNAME=	jpegoptim-1.4.6
+DISTNAME=	jpegoptim-1.5.0
 CATEGORIES=	graphics
 MASTER_SITES=	http://www.kokkonen.net/tjko/src/
 

cvs diff -r1.17 -r1.18 pkgsrc/graphics/jpegoptim/distinfo (expand / switch to context diff)
--- pkgsrc/graphics/jpegoptim/distinfo 2021/10/26 10:46:21 1.17
+++ pkgsrc/graphics/jpegoptim/distinfo 2022/12/07 08:04:41 1.18
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.17 2021/10/26 10:46:21 nia Exp $
+$NetBSD: distinfo,v 1.18 2022/12/07 08:04:41 adam Exp $
 
-BLAKE2s (jpegoptim-1.4.6.tar.gz) = 49a1c2954442e7fb3eea605fb3150c58025e73548013b8513e1076d891510267
+BLAKE2s (jpegoptim-1.5.0.tar.gz) = 529833d8bfb51b0f481706ef719f282b8cbeecb775c861902d8dadbc241fea2e
-SHA512 (jpegoptim-1.4.6.tar.gz) = 1ebd4986cbfeae19c1e01521862c15de25e078ccb6483c29f0d89b9c8e308c93d8dca7a200a57dd5da793e481ca5dc9c4f0d84b252f5b9408b4e719c35d7e90f
+SHA512 (jpegoptim-1.5.0.tar.gz) = 79f839cd1c014dc471fdf8f56d42d9c2ec9e0758007a3388f43aba278e239dcebb7c859b16fc39ef41b1ce80540e3bb2b7dcafc695534ad13553ae3785c3e5fd
-Size (jpegoptim-1.4.6.tar.gz) = 99004 bytes
+Size (jpegoptim-1.5.0.tar.gz) = 110902 bytes
+SHA1 (patch-configure) = e403f3243608687a9ac98ea59a5fb4a2c4363f53

File Added: pkgsrc/graphics/jpegoptim/patches/patch-configure
$NetBSD: patch-configure,v 1.1 2022/12/07 08:04:42 adam Exp $

Portablility fixes.

--- configure.orig	2022-12-07 07:55:53.000000000 +0000
+++ configure
@@ -3397,7 +3397,7 @@ arith_code=0
 # Check whether --with-arith was given.
 if test "${with_arith+set}" = set; then :
   withval=$with_arith;
-	if test $withval == yes; then
+	if test $withval = yes; then
 	   arith_code=1
 	fi
 
@@ -4167,7 +4167,7 @@ fi
 
 fi
 
-if test $arith_code == 1 -a $jpegoptim_cv_arith_code_support = yes; then
+if test $arith_code = 1 -a $jpegoptim_cv_arith_code_support = yes; then
   arith_code_status="Enabled"
   $as_echo "#define HAVE_ARITH_CODE 1" >>confdefs.h