Update to 2.20 attached - could someone include this in a bulk, please?
On 10/25/26 6:31 PM, Volker Schlecht wrote:
On 10/24/26 7:50 PM, Stuart Henderson wrote:
+DISTNAME = lcms2-2.19.1
+SITES = https://github.com/mm2/Little-CMS/releases/download/
${DISTNAME:S/2-//}/
simpler (and shorter) to just do V or VERSION = 2.19.1 and use it in DISTNAME
and
SITES rather than ${DISTNAME:S...}, e.g.
SITES = https://github.com/mm2/Little-CMS/releases/download/$V/
SITES = https://github.com/mm2/Little-CMS/releases/download/${VERSION}/
Update attached.
otherwise LGTM but it's quite widely used so would want something in the
way of tests of other ports, especially bearing in mind that the build
type has changed (pkg-config file is the same, but you lose the .la):
So far it works at runtime as a drop-in replacement for lcms2 2.18.x - could
someone running bulks include the diff in on of the upcoming runs?
<sym: graphics/lcms2>$ deps
[...]
editors/libreoffice # l
editors/libreoffice,-main # l[...]
There's some heavy stuff in there :-)
Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/lcms2/Makefile,v
diff -u -p -r1.29 Makefile
--- Makefile 20 Apr 2026 19:07:42 -0000 1.29
+++ Makefile 1 Nov 2026 14:18:17 -0000
@@ -1,28 +1,27 @@
COMMENT = color management library
-DISTNAME = lcms2-2.18pl20260420
-COMMIT = f8425ad6ab6fc4c7c8a52187a700a8b38d92e012
-DIST_TUPLE = github mm2 Little-CMS ${COMMIT} .
+V = 2.20
+DISTNAME = lcms2-${V}
CATEGORIES = graphics
-SHARED_LIBS += lcms2 3.0 # 2.19
+SHARED_LIBS += lcms2 3.1 # 2.20
HOMEPAGE = https://www.littlecms.com/
# MIT
PERMIT_PACKAGE = Yes
-WANTLIB = ${COMPILER_LIBCXX} Lerc c jpeg lzma m pthread tiff z zstd
+WANTLIB += c jpeg m pthread tiff z
-COMPILER = base-clang ports-gcc base-gcc
+SITES = https://github.com/mm2/Little-CMS/releases/download/lcms${V}/
-LIB_DEPENDS = graphics/tiff
+COMPILER = base-clang ports-gcc
-CONFIGURE_STYLE = gnu
-CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
+MODULES = devel/cmake
-WRKDIST = ${WRKDIR}/Little-CMS-${COMMIT}
+LIB_DEPENDS = \
+ graphics/jpeg \
+ graphics/tiff
DEBUG_PACKAGES = ${BUILD_PACKAGES}
Index: distinfo
===================================================================
RCS file: /cvs/ports/graphics/lcms2/distinfo,v
diff -u -p -r1.15 distinfo
--- distinfo 20 Apr 2026 19:07:42 -0000 1.15
+++ distinfo 1 Nov 2026 14:18:17 -0000
@@ -1,2 +1,2 @@
-SHA256 (mm2-Little-CMS-f8425ad6ab6fc4c7c8a52187a700a8b38d92e012.tar.gz) = KilZfa5xc2sOiBSCrckTHv6PMWPvVfN6/EfsXp2Oc4s=
-SIZE (mm2-Little-CMS-f8425ad6ab6fc4c7c8a52187a700a8b38d92e012.tar.gz) = 5731247
+SHA256 (lcms2-2.20.tar.gz) = GP9VBPqcyKKx81kRgNkOrRbIoup45TBSO0bqtw4cprk=
+SIZE (lcms2-2.20.tar.gz) = 5477898
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/graphics/lcms2/pkg/PLIST,v
diff -u -p -r1.7 PLIST
--- pkg/PLIST 11 Mar 2022 19:22:39 -0000 1.7
+++ pkg/PLIST 1 Nov 2026 14:18:17 -0000
@@ -1,12 +1,17 @@
@bin bin/jpgicc
@bin bin/linkicc
@bin bin/psicc
+@bin bin/tifdiff
@bin bin/tificc
@bin bin/transicc
include/lcms2.h
include/lcms2_plugin.h
+lib/cmake/lcms2/
+lib/cmake/lcms2/lcms2-config-version.cmake
+lib/cmake/lcms2/lcms2-config.cmake
+lib/cmake/lcms2/lcms2-targets${MODCMAKE_BUILD_SUFFIX}
+lib/cmake/lcms2/lcms2-targets.cmake
@static-lib lib/liblcms2.a
-lib/liblcms2.la
@lib lib/liblcms2.so.${LIBlcms2_VERSION}
lib/pkgconfig/lcms2.pc
@man man/man1/jpgicc.1