git: f684e84d28ec - main - graphics/cimg: upgrade to v.3.5.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 20 Jan 2025 18:05:50 UTC
The branch main has been updated by thierry:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f684e84d28ec1ca83db50c88dfd42ec5656ed74a
commit f684e84d28ec1ca83db50c88dfd42ec5656ed74a
Author: Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2025-01-20 18:00:55 +0000
Commit: Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2025-01-20 18:03:32 +0000
graphics/cimg: upgrade to v.3.5.0
---
graphics/cimg/Makefile | 4 ++--
graphics/cimg/distinfo | 6 +++---
graphics/cimg/files/patch-examples__Makefile | 18 ++++++++++--------
3 files changed, 15 insertions(+), 13 deletions(-)
diff --git a/graphics/cimg/Makefile b/graphics/cimg/Makefile
index 35f2f92f4d35..f5e8dc15e9f2 100644
--- a/graphics/cimg/Makefile
+++ b/graphics/cimg/Makefile
@@ -1,7 +1,6 @@
PORTNAME= cimg
DISTVERSIONPREFIX= v.
-DISTVERSION= 3.4.0
-PORTREVISION= 1
+DISTVERSION= 3.5.0
PORTEPOCH= 3
CATEGORIES= graphics devel
@@ -53,6 +52,7 @@ LIB_DEPENDS+= libcurl.so:ftp/curl \
libheif.so:graphics/libheif \
libOpenEXR.so:graphics/openexr \
libfftw3.so:math/fftw3 \
+ libwebp.so:graphics/webp \
libopencv_core.so:graphics/opencv \
libGraphicsMagick.so:graphics/GraphicsMagick
RUN_DEPENDS+= dcraw:graphics/dcraw
diff --git a/graphics/cimg/distinfo b/graphics/cimg/distinfo
index dac176605a3b..6d095da5880c 100644
--- a/graphics/cimg/distinfo
+++ b/graphics/cimg/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1718460592
-SHA256 (GreycLab-CImg-v.3.4.0_GH0.tar.gz) = 4a498fbf8fdd00c77e6e0917920b17c9a59e75d7953dc2fc378187755365693f
-SIZE (GreycLab-CImg-v.3.4.0_GH0.tar.gz) = 12666884
+TIMESTAMP = 1737313629
+SHA256 (GreycLab-CImg-v.3.5.0_GH0.tar.gz) = e23205a75b640423fdac394bd77b5e36a56070743892656fe6705597f38bfc3a
+SIZE (GreycLab-CImg-v.3.5.0_GH0.tar.gz) = 12669372
diff --git a/graphics/cimg/files/patch-examples__Makefile b/graphics/cimg/files/patch-examples__Makefile
index bb61907dc368..2d59a595a91f 100644
--- a/graphics/cimg/files/patch-examples__Makefile
+++ b/graphics/cimg/files/patch-examples__Makefile
@@ -1,4 +1,4 @@
---- examples/Makefile.orig 2024-01-10 06:42:56 UTC
+--- examples/Makefile.orig 2024-12-29 17:54:58 UTC
+++ examples/Makefile
@@ -89,7 +89,7 @@ SVERSION = $(VERSION1).$(VERSION2).$(VERSION3)
VERSION3 = $(shell grep 'cimg_version\ ' ../CImg.h | tail -c2 | head -c1)
@@ -84,7 +84,7 @@
+#LAPACK_LIBS = -lblas -llapack
# Flags to enable the use of the Board library
- # ( https://github.com/c-koi/libboard )
+ # ( https://github.com/GreycLab/libboard )
BOARD_DEFINE = -Dcimg_use_board
-BOARD_INCDIR = -I/usr/include/board
-BOARD_CFLAGS = $(BOARD_DEFINE) $(BOARD_INCDIR)
@@ -93,9 +93,9 @@
+#BOARD_CFLAGS = $(BOARD_DEFINE) $(BOARD_INCDIR)
+#BOARD_LIBS = -lboard
- # Flags to compile GIMP plug-ins.
- ifeq ($(MSYSTEM),MINGW32)
-@@ -372,6 +372,7 @@ $(XSHM_LIBS)" \
+ # Enable native support of WebP image files, using the WebP library.
+ # (https://chromium.googlesource.com/webm/libwebp/)
+@@ -379,6 +379,7 @@ $(XSHM_LIBS)" \
$(HEIF_LIBS) \
$(LAPACK_LIBS) \
$(XSHM_LIBS)" \
@@ -103,7 +103,7 @@
all $(EXTRA_FILES)
# Linux/BSD/Mac OSX targets, with X11 display.
-@@ -452,6 +453,7 @@ $(OPT_CFLAGS) \
+@@ -459,6 +460,7 @@ $(OPT_CFLAGS) \
@$(MAKE) \
"CONF_CFLAGS = \
$(OPT_CFLAGS) \
@@ -111,24 +111,26 @@
$(VT100_CFLAGS) \
$(X11_CFLAGS) \
$(XSHM_CFLAGS) \
-@@ -465,8 +467,11 @@ $(MAGICK_CFLAGS) \
+@@ -472,8 +474,12 @@ $(MAGICK_CFLAGS) \
$(CURL_CFLAGS) \
$(OPENCV_CFLAGS) \
$(MAGICK_CFLAGS) \
+$(LAPACK_CFLAGS) \
+$(BOARD_CFLAGS) \
++$(WEBP_CFLAGS) \
$(FFTW3_CFLAGS)" \
"CONF_LIBS = \
+$(FREEBSD_LDFLAGS) \
$(X11_LIBS) \
$(XSHM_LIBS) \
$(XRANDR_LIBS) \
-@@ -479,6 +484,8 @@ $(MAGICK_LIBS) \
+@@ -486,6 +492,9 @@ $(MAGICK_LIBS) \
$(CURL_LIBS) \
$(OPENCV_LIBS) \
$(MAGICK_LIBS) \
+$(LAPACK_LIBS) \
+$(BOARD_LIBS) \
++$(WEBP_LIBS) \
$(FFTW3_LIBS)" \
"STRIP_EXE=true" \
all $(EXTRA_FILES)