From owner-svn-ports-head@freebsd.org Fri Mar 25 20:56:29 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AA215ADE15C; Fri, 25 Mar 2016 20:56:29 +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 mx1.freebsd.org (Postfix) with ESMTPS id 83DDB1749; Fri, 25 Mar 2016 20:56:29 +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 u2PKuSuj095199; Fri, 25 Mar 2016 20:56:28 GMT (envelope-from thierry@FreeBSD.org) Received: (from thierry@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u2PKuSpg095196; Fri, 25 Mar 2016 20:56:28 GMT (envelope-from thierry@FreeBSD.org) Message-Id: <201603252056.u2PKuSpg095196@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: thierry set sender to thierry@FreeBSD.org using -f From: Thierry Thomas Date: Fri, 25 Mar 2016 20:56:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r411907 - in head/graphics/cimg: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2016 20:56:29 -0000 Author: thierry Date: Fri Mar 25 20:56:28 2016 New Revision: 411907 URL: https://svnweb.freebsd.org/changeset/ports/411907 Log: Upgrade to 1.7.0. Deleted: head/graphics/cimg/files/patch-plugins_tiff__stream.h 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 Fri Mar 25 20:54:43 2016 (r411906) +++ head/graphics/cimg/Makefile Fri Mar 25 20:56:28 2016 (r411907) @@ -3,7 +3,7 @@ PORTNAME= cimg DISTVERSIONPREFIX= v -DISTVERSION= 1.6.9 +DISTVERSION= 1.7.0 PORTEPOCH= 3 CATEGORIES= graphics devel Modified: head/graphics/cimg/distinfo ============================================================================== --- head/graphics/cimg/distinfo Fri Mar 25 20:54:43 2016 (r411906) +++ head/graphics/cimg/distinfo Fri Mar 25 20:56:28 2016 (r411907) @@ -1,2 +1,2 @@ -SHA256 (dtschump-CImg-v1.6.9-v.169_GH0.tar.gz) = d8b304e537a64a9d3213669bf52d3282490b84347248460c9a8bb3a0cf0f22c7 -SIZE (dtschump-CImg-v1.6.9-v.169_GH0.tar.gz) = 18776098 +SHA256 (dtschump-CImg-v1.7.0-v.170_GH0.tar.gz) = 4fcac199accd11ed135a6f9046c4362145950d9ba957bcc182d16ea4171e10c8 +SIZE (dtschump-CImg-v1.7.0-v.170_GH0.tar.gz) = 18867045 Modified: head/graphics/cimg/files/patch-examples__Makefile ============================================================================== --- head/graphics/cimg/files/patch-examples__Makefile Fri Mar 25 20:54:43 2016 (r411906) +++ head/graphics/cimg/files/patch-examples__Makefile Fri Mar 25 20:56:28 2016 (r411907) @@ -1,4 +1,4 @@ ---- examples/Makefile.orig 2016-02-04 15:57:56 UTC +--- examples/Makefile.orig 2016-03-24 12:00:28 UTC +++ examples/Makefile @@ -85,7 +85,7 @@ CIMG_EXTRA_FILES = use_tiff_stream use_j # Set correct variables and paths @@ -31,21 +31,21 @@ # Flags to enable OpenCV support. CIMG_OPENCV_DEFINE = -Dcimg_use_opencv --CIMG_OPENCV_INCDIR = -I/usr/include/opencv -+CIMG_OPENCV_INCDIR = -I$(LOCALBASE)/include/opencv +-CIMG_OPENCV_INCDIR = `pkg-config opencv --cflags || echo -I/usr/include/opencv` -I/usr/include/opencv ++CIMG_OPENCV_INCDIR = `pkg-config opencv --cflags || echo -I$(LOCALBASE)/include/opencv` -I$(LOCALBASE)/include/opencv CIMG_OPENCV_CFLAGS = $(CIMG_OPENCV_DEFINE) $(CIMG_OPENCV_INCDIR) - CIMG_OPENCV_LIBS = -lopencv_core -lopencv_highgui - #CIMG_OPENCV_LIBS = -lcv -lhighgui #-> Use this for OpenCV < 2.2.0 -@@ -162,7 +162,7 @@ CIMG_NODISPLAY_CFLAGS = -Dcimg_display=0 + CIMG_OPENCV_LIBS = `pkg-config opencv --libs || echo -lopencv_core -lopencv_highgui` + +@@ -160,7 +160,7 @@ CIMG_NODISPLAY_CFLAGS = -Dcimg_display=0 CIMG_X11_DEFINE = -Dcimg_display=1 - CIMG_X11_INCDIR = -I$(X11PATH)/include + CIMG_X11_INCDIR = `pkg-config --cflags x11 || echo -I/usr/X11R6/include` CIMG_X11_CFLAGS = $(CIMG_X11_DEFINE) $(CIMG_X11_INCDIR) --CIMG_X11_LIBS = -L$(X11PATH)/lib -lpthread -lX11 -+CIMG_X11_LIBS = -L$(X11PATH)/lib -lX11 $(PTHREAD_LIBS) +-CIMG_X11_LIBS = `pkg-config --libs x11 || echo -L/usr/X11R6/lib -lX11` -lpthread ++CIMG_X11_LIBS = `pkg-config --libs x11 || echo -L$(LOCALBASE)/X11R6/lib -lX11` -lpthread # Flags to enable fast image display, using the XSHM library (when using X11). # !!! Seems to randomly crash when used on MacOSX and 64bits systems, so use it only when necessary !!! -@@ -202,7 +202,7 @@ CIMG_JPEG_LIBS = -ljpeg +@@ -200,7 +200,7 @@ CIMG_JPEG_LIBS = -ljpeg CIMG_TIFF_DEFINE = -Dcimg_use_tiff CIMG_TIFF_INCDIR = CIMG_TIFF_CFLAGS = $(CIMG_TIFF_DEFINE) $(CIMG_TIFF_INCDIR) @@ -54,7 +54,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 ) -@@ -214,14 +214,14 @@ CIMG_MINC2_LIBS = -lminc_io -lvolume_io2 +@@ -212,14 +212,14 @@ CIMG_MINC2_LIBS = -lminc_io -lvolume_io2 # Flags to enable native support for EXR image files, using the OpenEXR library. # ( http://www.openexr.com/ ) CIMG_EXR_DEFINE = -Dcimg_use_openexr @@ -71,7 +71,7 @@ CIMG_FFMPEG_CFLAGS = $(CIMG_FFMPEG_DEFINE) $(CIMG_FFMPEG_INCDIR) CIMG_FFMPEG_LIBS = -lavcodec -lavformat -lswscale -@@ -239,12 +239,12 @@ CIMG_CURL_INCDIR = +@@ -237,10 +237,10 @@ CIMG_CURL_INCDIR = CIMG_CURL_CFLAGS = $(CIMG_CURL_DEFINE) CIMG_CURL_LIBS = -lcurl @@ -79,20 +79,17 @@ +# Flags to enable native support of most classical image file formats, using the GraphicsMagick++ library. # ( http://www.imagemagick.org/Magick++/ ) CIMG_MAGICK_DEFINE = -Dcimg_use_magick --CIMG_MAGICK_INCDIR = `Magick++-config --cppflags` `Magick++-config --cxxflags` -+CIMG_MAGICK_INCDIR = `GraphicsMagick++-config --cppflags` `GraphicsMagick++-config --cxxflags` +-CIMG_MAGICK_INCDIR = `pkg-config --cflags GraphicsMagick++ || echo -I$(USR)/$(INCLUDE)/GraphicsMagick` ++CIMG_MAGICK_INCDIR = `pkg-config --cflags GraphicsMagick++ || echo -I$(LOCALBASE)/$(INCLUDE)/GraphicsMagick` CIMG_MAGICK_CFLAGS = $(CIMG_MAGICK_DEFINE) $(CIMG_MAGICK_INCDIR) --CIMG_MAGICK_LIBS = `Magick++-config --ldflags` `Magick++-config --libs` -+CIMG_MAGICK_LIBS = `GraphicsMagick++-config --ldflags` `GraphicsMagick++-config --libs` + CIMG_MAGICK_LIBS = `pkg-config --libs GraphicsMagick++ || echo -lGraphicsMagick++` - # Flags to enable faster Discrete Fourier Transform computation, using the FFTW3 library - # ( http://www.fftw.org/ ) -@@ -261,16 +261,19 @@ endif +@@ -259,16 +259,19 @@ endif # ( http://www.netlib.org/lapack/ ) CIMG_LAPACK_DEFINE = -Dcimg_use_lapack CIMG_LAPACK_INCDIR = -CIMG_LAPACK_CFLAGS = $(CIMG_LAPACK_DEFINE) $(CIMG_LAPACK_INCDIR) --CIMG_LAPACK_LIBS = -lblas -lg2c -llapack +-CIMG_LAPACK_LIBS = -lblas -llapack +#CIMG_LAPACK_CFLAGS = $(CIMG_LAPACK_DEFINE) $(CIMG_LAPACK_INCDIR) +#CIMG_LAPACK_LIBS = -lblas -llapack @@ -111,9 +108,9 @@ CIMG_SOLARIS_LIBS = -R$(X11PATH)/lib -lrt -lnsl -lsocket @@ -343,7 +346,8 @@ $(CIMG_XSHM_CFLAGS)" \ - "CONF_LIBS = \ $(CIMG_X11_LIBS) \ $(CIMG_TIFF_LIBS) \ + $(CIMG_LAPACK_LIBS) \ -$(CIMG_XSHM_LIBS)" \ +$(CIMG_XSHM_LIBS) \ +$(PTHREAD_LIBS)" \