From owner-svn-ports-all@freebsd.org Sun Dec 2 20:22:26 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 93890132CF03; Sun, 2 Dec 2018 20:22:26 +0000 (UTC) (envelope-from thierry@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3CF217BBAB; Sun, 2 Dec 2018 20:22:26 +0000 (UTC) (envelope-from thierry@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1F9283DB5; Sun, 2 Dec 2018 20:22:26 +0000 (UTC) (envelope-from thierry@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wB2KMQHu048810; Sun, 2 Dec 2018 20:22:26 GMT (envelope-from thierry@FreeBSD.org) Received: (from thierry@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wB2KMPI6048805; Sun, 2 Dec 2018 20:22:25 GMT (envelope-from thierry@FreeBSD.org) Message-Id: <201812022022.wB2KMPI6048805@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: thierry set sender to thierry@FreeBSD.org using -f From: Thierry Thomas Date: Sun, 2 Dec 2018 20:22:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r486481 - in head/graphics/cimg: . files X-SVN-Group: ports-head X-SVN-Commit-Author: thierry X-SVN-Commit-Paths: in head/graphics/cimg: . files X-SVN-Commit-Revision: 486481 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 3CF217BBAB X-Spamd-Result: default: False [0.47 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_SPAM_LONG(0.05)[0.050,0]; NEURAL_SPAM_MEDIUM(0.03)[0.029,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_SPAM_SHORT(0.39)[0.389,0] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Dec 2018 20:22:26 -0000 Author: thierry Date: Sun Dec 2 20:22:25 2018 New Revision: 486481 URL: https://svnweb.freebsd.org/changeset/ports/486481 Log: Upgrade to 2.4.2. Modified: head/graphics/cimg/Makefile head/graphics/cimg/distinfo head/graphics/cimg/files/patch-examples__Makefile Modified: head/graphics/cimg/Makefile ============================================================================== --- head/graphics/cimg/Makefile Sun Dec 2 20:21:03 2018 (r486480) +++ head/graphics/cimg/Makefile Sun Dec 2 20:22:25 2018 (r486481) @@ -3,8 +3,7 @@ PORTNAME= cimg DISTVERSIONPREFIX= v. -DISTVERSION= 2.4.1 -PORTREVISION= 1 +DISTVERSION= 2.4.2 PORTEPOCH= 3 CATEGORIES= graphics devel @@ -92,6 +91,7 @@ USE_XORG+= xext . endif DOCBASE= README.txt +MAKE_ENV+= FREEBSD_LDFLAGS="${LDFLAGS}" PROGS= CImg_demo captcha curve_editor2d dtmri_view3d \ edge_explorer2d fade_images gaussian_fit1d generate_loop_macros \ hough_transform2d image2ascii image_registration2d image_surface3d \ Modified: head/graphics/cimg/distinfo ============================================================================== --- head/graphics/cimg/distinfo Sun Dec 2 20:21:03 2018 (r486480) +++ head/graphics/cimg/distinfo Sun Dec 2 20:22:25 2018 (r486481) @@ -1,3 +1,3 @@ -TIMESTAMP = 1541016670 -SHA256 (dtschump-CImg-v.2.4.1_GH0.tar.gz) = 8249610a17197747219ee5f7cb64c8ddb7749d396d89c3ebc853b049b37701f0 -SIZE (dtschump-CImg-v.2.4.1_GH0.tar.gz) = 11072570 +TIMESTAMP = 1543780030 +SHA256 (dtschump-CImg-v.2.4.2_GH0.tar.gz) = 8e4b375c3b50827cdaa399d259ca8223450d674c52dd538c672ae6da1c6607ef +SIZE (dtschump-CImg-v.2.4.2_GH0.tar.gz) = 11074772 Modified: head/graphics/cimg/files/patch-examples__Makefile ============================================================================== --- head/graphics/cimg/files/patch-examples__Makefile Sun Dec 2 20:21:03 2018 (r486480) +++ head/graphics/cimg/files/patch-examples__Makefile Sun Dec 2 20:22:25 2018 (r486481) @@ -1,39 +1,36 @@ ---- examples/Makefile.orig 2018-10-02 08:22:30 UTC +--- examples/Makefile.orig 2018-11-30 12:37:36 UTC +++ examples/Makefile -@@ -84,7 +84,7 @@ EXTRA_FILES = use_tiff_stream use_jpeg_b - # Set correct variables and paths - #--------------------------------- - VERSION = `grep 'cimg_version\ ' ../CImg.h | tail -c4 | head -c3` --X11PATH = /usr/X11R6 -+X11PATH = $(LOCALBASE) - EXEPFX = - ifeq ($(MSYSTEM),MINGW32) - EXESFX = .exe -@@ -107,7 +107,7 @@ CXXVER = "icpc \( `$(CXX) -v 2>&1` - CFLAGS = -I.. - LIBS = - else --CFLAGS = -I.. -Wall -Wextra -Wfatal-errors -+CFLAGS = -I.. -Wall -Wextra $(CPPFLAGS) - LIBS = -lm +@@ -89,7 +89,7 @@ VERSION2 = $(shell grep 'cimg_version\ ' + VERSION3 = $(shell grep 'cimg_version\ ' ../CImg.h | tail -c2 | head -c1) + SVERSION=$(VERSION1).$(VERSION2).$(VERSION3) + +-X11PATH = /usr/X11R6 ++X11PATH = $(LOCALBASE) + + EXE_PRE = + EXE_EXT = +@@ -111,7 +111,7 @@ IS_ICPC = 1 endif -@@ -131,12 +131,12 @@ VT100_CFLAGS = -Dcimg_use_vt100 + CXXVER = $(CXX) +-CFLAGS = -I.. -Wall -Wextra -Wfatal-errors ++CFLAGS = -I.. -Wall -Wextra $(CPPFLAGS) + LIBS = -lm + ifdef IS_GCC + CXXVER = $(shell $(CXX) -v 2>&1 | tail -n 1) +@@ -144,9 +144,9 @@ DEBUG_CFLAGS = -Dcimg_verbosity=3 -Dcimg + VT100_CFLAGS = -Dcimg_use_vt100 # Flags to enable code optimization by the compiler. - ifeq ($(notdir $(CXX)),g++) --OPT_CFLAGS = -Ofast -mtune=generic -+OPT_CFLAGS = -mtune=generic - else - ifeq ($(notdir $(CXX)),icpc) - OPT_CFLAGS = -fast - else -OPT_CFLAGS = -Ofast +OPT_CFLAGS = # -Ofast - handled by the port CFLAGS + ifdef IS_GCC +-OPT_CFLAGS = -Ofast -mtune=generic ++OPT_CFLAGS = -mtune=generic endif - endif - -@@ -203,7 +203,7 @@ JPEG_LIBS = -ljpeg + ifdef IS_ICPC + OPT_CFLAGS = -fast +@@ -217,7 +217,7 @@ JPEG_LIBS = -ljpeg TIFF_DEFINE = -Dcimg_use_tiff TIFF_INCDIR = TIFF_CFLAGS = $(TIFF_DEFINE) $(TIFF_INCDIR) @@ -42,7 +39,7 @@ # Flags to enable native support for MINC2 image files, using the MINC2 library. # ( http://en.wikibooks.org/wiki/MINC/Reference/MINC2.0_Users_Guide ) -@@ -215,16 +215,16 @@ MINC2_LIBS = -lminc_io -lvolume_io2 -lmi +@@ -229,16 +229,16 @@ MINC2_LIBS = -lminc_io -lvolume_io2 -lmi # Flags to enable native support for EXR image files, using the OpenEXR library. # ( http://www.openexr.com/ ) OPENEXR_DEFINE = -Dcimg_use_openexr @@ -64,7 +61,7 @@ # Flags to enable native support for compressed .cimgz files, using the Zlib library. # ( http://www.zlib.net/ ) -@@ -260,18 +260,21 @@ endif +@@ -274,15 +274,15 @@ endif # Flags to enable the use of LAPACK routines for matrix computation # ( http://www.netlib.org/lapack/ ) @@ -77,20 +74,14 @@ +#LAPACK_LIBS = -lblas -llapack # Flags to enable the use of the Board library - # ( http://libboard.sourceforge.net/ ) + # ( https://github.com/c-koi/libboard ) BOARD_DEFINE = -Dcimg_use_board -BOARD_INCDIR = -I/usr/include/board +BOARD_INCDIR = -I$(LOCALBASE)/include/board BOARD_CFLAGS = $(BOARD_DEFINE) $(BOARD_INCDIR) BOARD_LIBS = -lboard -+# Flags to compile on FreeBSD -+FREEBSD_LDFLAGS = $(LDFLAGS) -ffast-math -I$(X11PATH)/include $(EXTRA_FLAGS) -lX11 -L$(X11PATH)/lib -+ - # Flags to compile on Sun Solaris - SOLARIS_LIBS = -R$(X11PATH)/lib -lrt -lnsl -lsocket - -@@ -347,6 +350,7 @@ $(X11_LIBS) \ +@@ -361,6 +361,7 @@ $(X11_LIBS) \ $(TIFF_LIBS) \ $(LAPACK_LIBS) \ $(XSHM_LIBS)" \ @@ -98,7 +89,7 @@ all $(EXTRA_FILES) # Linux/BSD/Mac OSX targets, with X11 display. -@@ -439,8 +443,11 @@ $(ZLIB_CFLAGS) \ +@@ -453,8 +454,11 @@ $(ZLIB_CFLAGS) \ $(CURL_CFLAGS) \ $(OPENCV_CFLAGS) \ $(MAGICK_CFLAGS) \ @@ -110,7 +101,7 @@ $(X11_LIBS) \ $(XSHM_LIBS) \ $(XRANDR_LIBS) \ -@@ -452,6 +459,8 @@ $(ZLIB_LIBS) \ +@@ -466,6 +470,8 @@ $(ZLIB_LIBS) \ $(CURL_LIBS) \ $(OPENCV_LIBS) \ $(MAGICK_LIBS) \