graphics/cimg: upgrade to 3.1.0

This commit is contained in:
Thierry Thomas 2022-04-26 19:12:25 +02:00
parent 7dd73cf435
commit 4c30f7f1c9
3 changed files with 15 additions and 19 deletions

View File

@ -2,9 +2,8 @@
PORTNAME= cimg
DISTVERSIONPREFIX= v.
DISTVERSION= 3.0.2
DISTVERSION= 3.1.0
PORTEPOCH= 3
PORTREVISION= 1
CATEGORIES= graphics devel
MAINTAINER= thierry@FreeBSD.org

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1642525146
SHA256 (dtschump-CImg-v.3.0.2_GH0.tar.gz) = 0fd89c28f627192c7b67f7a6615bed278b1e0deb360f2e4598184df184fedc9f
SIZE (dtschump-CImg-v.3.0.2_GH0.tar.gz) = 11276693
TIMESTAMP = 1650992252
SHA256 (dtschump-CImg-v.3.1.0_GH0.tar.gz) = 95fcba7687beed2b9cad74c01aa8f539e81775c54bab0c0ba469e2d968d25c67
SIZE (dtschump-CImg-v.3.1.0_GH0.tar.gz) = 11951341

View File

@ -1,4 +1,4 @@
--- examples/Makefile.orig 2021-04-02 13:11:36 UTC
--- examples/Makefile.orig 2022-04-26 06:16:18 UTC
+++ examples/Makefile
@@ -89,7 +89,7 @@ VERSION2 = $(shell grep 'cimg_version\ ' ../CImg.h | t
VERSION3 = $(shell grep 'cimg_version\ ' ../CImg.h | tail -c2 | head -c1)
@ -18,19 +18,16 @@
LIBS = -lm
ifdef IS_GCC
CXXVER = $(shell $(CXX) -v 2>&1 | tail -n 1)
@@ -151,9 +151,9 @@ DEBUG_CFLAGS = -Dcimg_verbosity=3 -Dcimg_strict_warnin
@@ -151,7 +151,7 @@ DEBUG_CFLAGS = -Dcimg_verbosity=3 -Dcimg_strict_warnin
VT100_CFLAGS = -Dcimg_use_vt100
# Flags to enable code optimization by the compiler.
-OPT_CFLAGS = -Ofast
+OPT_CFLAGS = # -Ofast - handled by the port CFLAGS
ifdef IS_GCC
-OPT_CFLAGS = -Ofast -mtune=generic
+OPT_CFLAGS =
endif
ifdef IS_ICPC
OPT_CFLAGS = -fast
@@ -172,9 +172,9 @@ endif
# Add -mtune=generic for GCC if supported.
NO_MTUNE_GENERIC = $(shell $(CXX) -mtune=generic -E - < /dev/null > /dev/null 2>&1; echo $$?)
@@ -176,9 +176,9 @@ endif
# Flags to enable OpenCV support.
OPENCV_DEFINE = -Dcimg_use_opencv
@ -42,7 +39,7 @@
# Flags used to disable display capablities of CImg
NODISPLAY_CFLAGS = -Dcimg_display=0
@@ -224,7 +224,7 @@ JPEG_LIBS = -ljpeg
@@ -228,7 +228,7 @@ JPEG_LIBS = -ljpeg
TIFF_DEFINE = -Dcimg_use_tiff
TIFF_INCDIR =
TIFF_CFLAGS = $(TIFF_DEFINE) $(TIFF_INCDIR)
@ -51,7 +48,7 @@
# Flags to enable native support for loading HEIF image files, using the libheif library.
# ( https://github.com/strukturag/libheif )
@@ -243,16 +243,16 @@ MINC2_LIBS = -lminc_io -lvolume_io2 -lminc2 -lnetcdf -
@@ -247,16 +247,16 @@ MINC2_LIBS = -lminc_io -lvolume_io2 -lminc2 -lnetcdf -
# Flags to enable native support for EXR image files, using the OpenEXR library.
# ( http://www.openexr.com/ )
OPENEXR_DEFINE = -Dcimg_use_openexr
@ -74,7 +71,7 @@
# Flags to enable native support for compressed .cimgz files, using the Zlib library.
# ( http://www.zlib.net/ )
@@ -288,17 +288,17 @@ endif
@@ -292,17 +292,17 @@ endif
# Flags to enable the use of LAPACK routines for matrix computation
# ( http://www.netlib.org/lapack/ )
@ -98,7 +95,7 @@
# Flags to compile GIMP plug-ins.
ifeq ($(MSYSTEM),MINGW32)
@@ -368,6 +368,7 @@ $(TIFF_LIBS) \
@@ -372,6 +372,7 @@ $(TIFF_LIBS) \
$(HEIF_LIBS) \
$(LAPACK_LIBS) \
$(XSHM_LIBS)" \
@ -106,7 +103,7 @@
all $(EXTRA_FILES)
# Linux/BSD/Mac OSX targets, with X11 display.
@@ -461,8 +462,11 @@ $(ZLIB_CFLAGS) \
@@ -465,8 +466,11 @@ $(ZLIB_CFLAGS) \
$(CURL_CFLAGS) \
$(OPENCV_CFLAGS) \
$(MAGICK_CFLAGS) \
@ -118,7 +115,7 @@
$(X11_LIBS) \
$(XSHM_LIBS) \
$(XRANDR_LIBS) \
@@ -475,6 +479,8 @@ $(ZLIB_LIBS) \
@@ -479,6 +483,8 @@ $(ZLIB_LIBS) \
$(CURL_LIBS) \
$(OPENCV_LIBS) \
$(MAGICK_LIBS) \