ports/178232: Bump graphics/darktable version to 1.2
Matthieu Volat
mazhe at alkumuna.eu
Mon Apr 29 07:50:03 UTC 2013
>Number: 178232
>Category: ports
>Synopsis: Bump graphics/darktable version to 1.2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Apr 29 07:50:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Matthieu Volat
>Release: 9.1-RELEASE
>Organization:
>Environment:
FreeBSD freedom.alkumuna.eu 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
I know that darktable 1.2 release is less than a month old, but there are many useful features (profiled denoise, usability, jpeg2000) so I patched the current port and wanted to share the results (attached diff).
Note that I tried the GraphicsMagick support but ports version is not high enough to work with darktable (orientation in Image objects is required). I left the option for later, this is only a minor feature imho.
>How-To-Repeat:
-
>Fix:
Patch provided :)
Patch attached with submission follows:
diff -ru /usr/ports/graphics/darktable/Makefile darktable/Makefile
--- /usr/ports/graphics/darktable/Makefile 2013-04-26 18:39:14.000000000 +0200
+++ darktable/Makefile 2013-04-29 09:38:12.000000000 +0200
@@ -1,10 +1,10 @@
# Created by: Alexey Dokuchaev <danfe at FreeBSD.org>
-# $FreeBSD: graphics/darktable/Makefile 316624 2013-04-26 16:39:14Z bapt $
+# $FreeBSD: graphics/darktable/Makefile 314960 2013-03-22 20:06:14Z makc $
PORTNAME= darktable
-PORTVERSION= 1.1.3
+PORTVERSION= 1.2
CATEGORIES= graphics
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:R}
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
MAINTAINER= danfe at FreeBSD.org
COMMENT= Virtual lighttable and darkroom for photographers
@@ -27,12 +27,13 @@
USE_GNOME= librsvg2
USE_SQLITE= yes
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}
+USE_XZ= yes
INSTALLS_ICONS= yes
MAN1= ${PORTNAME}.1
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= GPHOTO GEO FLICKR FACEBOOK KWALLET GNOMEKEYRING RAWSPEED \
- SLIDESHOW NLS GCC46
+ SLIDESHOW NLS GCC46 OPENJPEG GRAPHMAGICK
GEO_DESC= Build geotagging parts
FACEBOOK_DESC= Support images export to Facebook
@@ -63,6 +64,13 @@
CMAKE_ARGS+= -DUSE_GEO:BOOL=OFF
.endif
+.if ${PORT_OPTIONS:MGRAPHMAGICK}
+BROKEN= GraphicsMagick version in ports is not high enough yet
+LIB_DEPENDS+= GraphicsMagick:${PORTSDIR}/graphics/GraphicsMagick
+.else
+CMAKE_ARGS+= -DUSE_GRAPHICSMAGICK:BOOL=OFF
+.endif
+
.if ${PORT_OPTIONS:MFLICKR}
LIB_DEPENDS+= flickcurl:${PORTSDIR}/www/flickcurl
PLIST_FILES+= lib/darktable/plugins/imageio/storage/libflickr.so
@@ -89,7 +97,16 @@
CMAKE_ARGS+= -DUSE_GNOME_KEYRING:BOOL=OFF
.endif
+.if ! ${PORT_OPTIONS:MOPENJPEG}
+LIB_DEPENDS+= openjpeg:${PORTSDIR}/graphics/openjpeg
+PLIST_FILES+= lib/darktable/plugins/imageio/format/libj2k.so
+.else
+CMAKE_ARGS+= -DUSE_OPENJPEG:BOOL=OFF
+.endif
+
.if ! ${PORT_OPTIONS:MRAWSPEED}
+PLIST_FILES+= share/darktable/rawspeed/cameras.xml \
+ share/darktable/rawspeed/showcameras.xsl
CMAKE_ARGS+= -DDONT_USE_RAWSPEED:BOOL=ON
.endif
Only in darktable: darktable-1.2.diff.txt
diff -ru /usr/ports/graphics/darktable/distinfo darktable/distinfo
--- /usr/ports/graphics/darktable/distinfo 2013-02-22 06:49:52.000000000 +0100
+++ darktable/distinfo 2013-04-26 14:12:31.000000000 +0200
@@ -1,2 +1,2 @@
-SHA256 (darktable-1.1.3.tar.gz) = 7607b4a891babe0d4d4e24288c6c463d67eb6c82ca8912f209104fbb2f924a3d
-SIZE (darktable-1.1.3.tar.gz) = 3432839
+SHA256 (darktable-1.2.tar.xz) = dc52582b5c5dfbd22e936f1d441e192a4aa53ac6533fe2c53aaa59433ccd5450
+SIZE (darktable-1.2.tar.xz) = 2399856
diff -ru /usr/ports/graphics/darktable/pkg-plist darktable/pkg-plist
--- /usr/ports/graphics/darktable/pkg-plist 2013-01-30 10:31:34.000000000 +0100
+++ darktable/pkg-plist 2013-04-29 09:35:31.000000000 +0200
@@ -14,6 +14,8 @@
%%DATADIR%%/kernels/basic.cl
%%DATADIR%%/kernels/bilateral.cl
%%DATADIR%%/kernels/blendop.cl
+%%DATADIR%%/kernels/colorspace.cl
+%%DATADIR%%/kernels/common.h
%%DATADIR%%/kernels/demosaic_ppg.cl
%%DATADIR%%/kernels/extended.cl
%%DATADIR%%/kernels/gaussian.cl
@@ -42,6 +44,7 @@
%%DATADIR%%/pixmaps/plugins/darkroom/colortransfer.png
%%DATADIR%%/pixmaps/plugins/darkroom/colorzones.png
%%DATADIR%%/pixmaps/plugins/darkroom/demosaic.png
+%%DATADIR%%/pixmaps/plugins/darkroom/dither.png
%%DATADIR%%/pixmaps/plugins/darkroom/exposure.png
%%DATADIR%%/pixmaps/plugins/darkroom/flip.png
%%DATADIR%%/pixmaps/plugins/darkroom/graduatednd.png
@@ -74,8 +77,6 @@
%%DATADIR%%/pixmaps/plugins/darkroom/vignette.png
%%DATADIR%%/pixmaps/plugins/darkroom/watermark.png
%%DATADIR%%/pixmaps/plugins/darkroom/zonesystem.png
-%%DATADIR%%/rawspeed/cameras.xml
-%%DATADIR%%/rawspeed/showcameras.xsl
%%DATADIR%%/style/bullet.gif
%%DATADIR%%/style/close.gif
%%DATADIR%%/style/closelabel.gif
@@ -104,7 +105,6 @@
lib/darktable/plugins/imageio/storage/libemail.so
lib/darktable/plugins/imageio/storage/libgallery.so
lib/darktable/plugins/imageio/storage/liblatex.so
-lib/darktable/plugins/imageio/storage/libpicasa.so
lib/darktable/plugins/libatrous.so
lib/darktable/plugins/libbasecurve.so
lib/darktable/plugins/libbilat.so
@@ -123,6 +123,8 @@
lib/darktable/plugins/libcolortransfer.so
lib/darktable/plugins/libcolorzones.so
lib/darktable/plugins/libdemosaic.so
+lib/darktable/plugins/libdenoiseprofile.so
+lib/darktable/plugins/libdither.so
lib/darktable/plugins/libequalizer.so
lib/darktable/plugins/libexposure.so
lib/darktable/plugins/libflip.so
@@ -184,7 +186,6 @@
lib/darktable/plugins/lighttable/libratings.so
lib/darktable/plugins/lighttable/librecentcollect.so
lib/darktable/plugins/lighttable/libselect.so
-lib/darktable/plugins/lighttable/libsimilarity.so
lib/darktable/plugins/lighttable/libsnapshots.so
lib/darktable/plugins/lighttable/libstyles.so
lib/darktable/plugins/lighttable/libtagging.so
Only in darktable: work
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list