Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Aug 2016 18:35:54 +0000 (UTC)
From:      =?UTF-8?Q?Jean-S=c3=a9bastien_P=c3=a9dron?= <dumbbell@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r419702 - head/graphics/darktable
Message-ID:  <201608051835.u75IZsVN090858@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dumbbell (src committer)
Date: Fri Aug  5 18:35:54 2016
New Revision: 419702
URL: https://svnweb.freebsd.org/changeset/ports/419702

Log:
  graphics/darktable: Update to 2.0.5
  
  Add several missing dependencies, as reported by `make stage-qa`.
  
  Clean up port options:
      o  `COLORD` and `OPENEXR` had an incomplete an dependencies list.
      o  `NLS` was broken when turned off.
      o  `RAWSPEED` and `SQUISH` were not CMake knobs anymore in darktable.
  
  Approved by:	mat
  Differential Revision:	https://reviews.freebsd.org/D7147

Modified:
  head/graphics/darktable/Makefile
  head/graphics/darktable/distinfo
  head/graphics/darktable/pkg-plist

Modified: head/graphics/darktable/Makefile
==============================================================================
--- head/graphics/darktable/Makefile	Fri Aug  5 18:32:16 2016	(r419701)
+++ head/graphics/darktable/Makefile	Fri Aug  5 18:35:54 2016	(r419702)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	darktable
-PORTVERSION=	2.0.4
+PORTVERSION=	2.0.5
 PORTREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	https://github.com/darktable-org/${PORTNAME}/releases/download/release-${PORTVERSION:C/\.rc/rc/}/
@@ -12,13 +12,16 @@ COMMENT=	Virtual lighttable and darkroom
 
 LICENSE=	GPLv3
 
-BUILD_DEPENDS=	xsltproc:textproc/libxslt
+BUILD_DEPENDS=	${LOCALBASE}/lib/libsquish.a:graphics/squish \
+		xsltproc:textproc/libxslt
 LIB_DEPENDS=	libcurl.so:ftp/curl \
 		libexiv2.so:graphics/exiv2 \
 		libjson-glib-1.0.so:devel/json-glib \
 		liblcms2.so:graphics/lcms2 \
 		liblensfun.so:graphics/lensfun \
+		libpng16.so:graphics/png \
 		libpugixml.so:textproc/pugixml \
+		libsoup-2.4.so:devel/libsoup \
 		libtiff.so:graphics/tiff
 
 ONLY_FOR_ARCHS=		amd64
@@ -26,23 +29,21 @@ ONLY_FOR_ARCHS_REASON=	uses SSE instruct
 
 USES=		cmake:outsource compiler:c++11-lib desktop-file-utils	\
 		jpeg ninja pkgconfig sqlite tar:xz
-USE_GNOME=	gtk30 intltool librsvg2 libxml2
+USE_GL=		glu
+USE_GNOME=	cairo gtk30 intltool librsvg2 libxml2
+USE_XORG=	ice sm x11 xext xrandr
 USE_LDCONFIG=	${PREFIX}/lib/${PORTNAME}
 INSTALLS_ICONS=	yes
-LDFLAGS+=	-L${LOCALBASE}/lib -lintl
 
 OPTIONS_DEFINE=	COLORD DOCS FLICKR GEO GNOMEKEYRING GPHOTO GRAPHMAGICK	\
-		LIBSECRET LUA NLS OPENEXR OPENJPEG PRINT RAWSPEED	\
-		SLIDESHOW SQUISH WEBP
+		LIBSECRET LUA NLS OPENEXR OPENJPEG PRINT SLIDESHOW WEBP
 
 GEO_DESC=	Support geotagging
 LIBSECRET_DESC=	Support libsecret as password backend
-SQUISH_DESC=	Compress thumbnail via libsquish
-RAWSPEED_DESC=	Compile with rawspeed backend
 SLIDESHOW_DESC=	Build OpenGL/SDL slideshow viewer
 
 OPTIONS_DEFAULT=COLORD FLICKR GEO GPHOTO LUA OPENEXR OPENJPEG	\
-		PRINT RAWSPEED SLIDESHOW SQUISH WEBP
+		PRINT SLIDESHOW WEBP
 OPTIONS_SUB=	yes
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:C/\.rc/~rc/}
@@ -53,14 +54,14 @@ CMAKE_ARGS+=	-DUSE_KWALLET:BOOL=ON
 
 # darktable 1.4+ can use colord but provides its own libcolord,
 # statically linked to libdarktable.so.
-COLORD_LIB_DEPENDS=	libcolord-gtk.so:graphics/colord-gtk
+COLORD_LIB_DEPENDS=	libcolord.so:graphics/colord \
+			libcolord-gtk.so:graphics/colord-gtk
 COLORD_CMAKE_OFF=	-DUSE_COLORD:BOOL=OFF
 
 FLICKR_LIB_DEPENDS=	libflickcurl.so:www/flickcurl
 FLICKR_CMAKE_OFF=	-DUSE_FLICKR:BOOL=OFF
 
-GEO_LIB_DEPENDS=	libosmgpsmap-1.0.so:x11-toolkits/osm-gps-map \
-			libsoup-2.4.so:devel/libsoup
+GEO_LIB_DEPENDS=	libosmgpsmap-1.0.so:x11-toolkits/osm-gps-map
 GEO_CMAKE_OFF=		-DUSE_GEO:BOOL=OFF
 
 GNOMEKEYRING_LIB_DEPENDS=libgnome-keyring.so:security/libgnome-keyring
@@ -78,10 +79,15 @@ LIBSECRET_CMAKE_OFF=	-DUSE_LIBSECRET:BOO
 LUA_USES=		lua:52
 LUA_CMAKE_OFF=		-DUSE_LUA:BOOL=OFF
 
+# FIXME: Even with NLS turned off, darktable(1) is still linked to
+# libintl.so.
 NLS_USES=		gettext
+NLS_USES_OFF=		gettext-runtime
 NLS_CMAKE_OFF=		-DUSE_NLS:BOOL=OFF
+NLS_LDFLAGS=		-L${LOCALBASE}/lib -lintl
 
-OPENEXR_LIB_DEPENDS=	libIlmImf.so:graphics/OpenEXR
+OPENEXR_LIB_DEPENDS=	libIlmImf.so:graphics/OpenEXR \
+			libIlmThread-2_2.so:graphics/ilmbase
 OPENEXR_CMAKE_OFF=	-DUSE_OPENEXR:BOOL=OFF
 
 OPENJPEG_LIB_DEPENDS=	libopenjpeg.so:graphics/openjpeg15
@@ -90,14 +96,9 @@ OPENJPEG_CMAKE_OFF=	-DUSE_OPENJPEG:BOOL=
 PRINT_LIB_DEPENDS=	libcups.so:print/cups
 PRINT_CMAKE_OFF=	-DBUILD_PRINT:BOOL=OFF
 
-RAWSPEED_CMAKE_OFF=	-DDONT_USE_RAWSPEED:BOOL=ON
-
 SLIDESHOW_USE=		GL=gl SDL=sdl
 SLIDESHOW_CMAKE_OFF=	-DBUILD_SLIDESHOW:BOOL=OFF
 
-SQUISH_BUILD_DEPENDS=	${LOCALBASE}/lib/libsquish.a:graphics/squish
-SQUISH_CMAKE_OFF=	-DUSE_SQUISH:BOOL=OFF
-
 WEBP_LIB_DEPENDS=	libwebp.so:graphics/webp
 WEBP_CMAKE_OFF=		-DUSE_WEBP:BOOL=OFF
 

Modified: head/graphics/darktable/distinfo
==============================================================================
--- head/graphics/darktable/distinfo	Fri Aug  5 18:32:16 2016	(r419701)
+++ head/graphics/darktable/distinfo	Fri Aug  5 18:35:54 2016	(r419702)
@@ -1,2 +1,3 @@
-SHA256 (darktable-2.0.4.tar.xz) = 80e448622ff060bca1d64bf6151c27de34dea8fe6b7ddb708e1e3526a5961e62
-SIZE (darktable-2.0.4.tar.xz) = 3013676
+TIMESTAMP = 1467836994
+SHA256 (darktable-2.0.5.tar.xz) = 898b71b94e7ef540eb1c87c829daadc8d8d025b1705d4a9471b1b9ed91b90a02
+SIZE (darktable-2.0.5.tar.xz) = 3015380

Modified: head/graphics/darktable/pkg-plist
==============================================================================
--- head/graphics/darktable/pkg-plist	Fri Aug  5 18:32:16 2016	(r419701)
+++ head/graphics/darktable/pkg-plist	Fri Aug  5 18:35:54 2016	(r419702)
@@ -296,8 +296,8 @@ share/applications/darktable.desktop
 %%DATADIR%%/pixmaps/plugins/darkroom/watermark.svg
 %%DATADIR%%/pixmaps/plugins/darkroom/zonesystem.png
 %%DATADIR%%/pixmaps/plugins/darkroom/zonesystem.svg
-%%RAWSPEED%%%%DATADIR%%/rawspeed/cameras.xml
-%%RAWSPEED%%%%DATADIR%%/rawspeed/showcameras.xsl
+%%DATADIR%%/rawspeed/cameras.xml
+%%DATADIR%%/rawspeed/showcameras.xsl
 %%DATADIR%%/style/bullet.gif
 %%DATADIR%%/style/close.gif
 %%DATADIR%%/style/closelabel.gif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608051835.u75IZsVN090858>