From owner-svn-ports-all@freebsd.org Thu Aug 13 16:27:25 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1C1D737DE22; Thu, 13 Aug 2020 16:27:25 +0000 (UTC) (envelope-from dumbbell@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BSBmr71d5z4Tpb; Thu, 13 Aug 2020 16:27:24 +0000 (UTC) (envelope-from dumbbell@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 D4641202E8; Thu, 13 Aug 2020 16:27:24 +0000 (UTC) (envelope-from dumbbell@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 07DGRO3f083580; Thu, 13 Aug 2020 16:27:24 GMT (envelope-from dumbbell@FreeBSD.org) Received: (from dumbbell@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 07DGROvc083578; Thu, 13 Aug 2020 16:27:24 GMT (envelope-from dumbbell@FreeBSD.org) Message-Id: <202008131627.07DGROvc083578@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dumbbell set sender to dumbbell@FreeBSD.org using -f From: =?UTF-8?Q?Jean-S=c3=a9bastien_P=c3=a9dron?= Date: Thu, 13 Aug 2020 16:27:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r544820 - head/graphics/darktable X-SVN-Group: ports-head X-SVN-Commit-Author: dumbbell X-SVN-Commit-Paths: head/graphics/darktable X-SVN-Commit-Revision: 544820 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 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: Thu, 13 Aug 2020 16:27:25 -0000 Author: dumbbell Date: Thu Aug 13 16:27:24 2020 New Revision: 544820 URL: https://svnweb.freebsd.org/changeset/ports/544820 Log: graphics/darktable: Make the dependency to exiftool optional ... and off by default. The only component which uses it is a rarely used script. Modified: head/graphics/darktable/Makefile head/graphics/darktable/pkg-plist Modified: head/graphics/darktable/Makefile ============================================================================== --- head/graphics/darktable/Makefile Thu Aug 13 16:26:00 2020 (r544819) +++ head/graphics/darktable/Makefile Thu Aug 13 16:27:24 2020 (r544820) @@ -3,7 +3,7 @@ PORTNAME= darktable PORTVERSION= 3.2.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= https://github.com/darktable-org/${PORTNAME}/releases/download/release-${PORTVERSION:C/\.rc/rc/}/ @@ -15,8 +15,7 @@ LICENSE= GPLv3 ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= uses SSE instructions and 64-bit address space -BUILD_DEPENDS= ${RUN_DEPENDS} \ - iso-codes>=0:misc/iso-codes \ +BUILD_DEPENDS= iso-codes>=0:misc/iso-codes \ p5-Pod-Parser>=0:textproc/p5-Pod-Parser \ po4a-translate:textproc/po4a \ xsltproc:textproc/libxslt @@ -31,7 +30,6 @@ LIB_DEPENDS= libcolord-gtk.so:graphics/colord-gtk \ libpugixml.so:textproc/pugixml \ libsoup-2.4.so:devel/libsoup \ libtiff.so:graphics/tiff -RUN_DEPENDS= exiftool:graphics/p5-Image-ExifTool USES= cmake compiler:c++11-lib desktop-file-utils gl gnome jpeg \ pkgconfig shebangfix sqlite tar:xz xorg @@ -53,12 +51,12 @@ LDFLAGS+= -L${LOCALBASE}/lib WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/\.rc/~rc/} OPTIONS_DEFINE= DOCS GEO GPHOTO GRAPHMAGICK LIBSECRET LUA NLS OPENEXR \ - OPENJPEG PRINT WEBP + OPENJPEG PRINT TOOLS WEBP OPTIONS_DEFAULT= GEO GPHOTO LUA OPENEXR OPENJPEG PRINT WEBP OPTIONS_SUB= yes -GEO_DESC= Support geotagging -LIBSECRET_DESC= Support libsecret as password backend +GEO_DESC= Support geotagging +LIBSECRET_DESC= Support libsecret as password backend GEO_LIB_DEPENDS= libosmgpsmap-1.0.so:x11-toolkits/osm-gps-map GEO_CMAKE_OFF= -DUSE_MAP:BOOL=OFF @@ -92,6 +90,10 @@ OPENJPEG_CMAKE_OFF= -DUSE_OPENJPEG:BOOL=OFF PRINT_LIB_DEPENDS= libcups.so:print/cups PRINT_CMAKE_OFF= -DBUILD_PRINT:BOOL=OFF +TOOLS_DESC= Install additional scripts +TOOLS_BUILD_DEPENDS= exiftool:graphics/p5-Image-ExifTool +TOOLS_RUN_DEPENDS= exiftool:graphics/p5-Image-ExifTool + WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CMAKE_OFF= -DUSE_WEBP:BOOL=OFF @@ -114,5 +116,8 @@ STRIP= # undefined. Remove _XOPEN_SOURCE maro definitions. post-patch: ${REINPLACE_CMD} '/add_definitions."-D_XOPEN_SOURCE=.*"/d' ${WRKSRC}/CMakeLists.txt + +post-install-TOOLS-off: + @${RM} -f ${STAGEDIR}${DATADIR}/tools/extract_wb_from_images.sh .include Modified: head/graphics/darktable/pkg-plist ============================================================================== --- head/graphics/darktable/pkg-plist Thu Aug 13 16:26:00 2020 (r544819) +++ head/graphics/darktable/pkg-plist Thu Aug 13 16:27:24 2020 (r544820) @@ -368,7 +368,7 @@ share/applications/darktable.desktop %%DATADIR%%/themes/darktable-icons.css %%DATADIR%%/themes/darktable.css %%DATADIR%%/tools/common.sh -%%DATADIR%%/tools/extract_wb_from_images.sh +%%TOOLS%%%%DATADIR%%/tools/extract_wb_from_images.sh %%DATADIR%%/tools/purge_from_cache.sh %%DATADIR%%/tools/purge_non_existing_images.sh %%DATADIR%%/tools/purge_unused_tags.sh