Bug 178232 - Bump graphics/darktable version to 1.2
Summary: Bump graphics/darktable version to 1.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alexey Dokuchaev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-29 08:50 UTC by Matthieu Volat
Modified: 2013-05-01 08:32 UTC (History)
0 users

See Also:


Attachments
file.diff (4.73 KB, patch)
2013-04-29 08:50 UTC, Matthieu Volat
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthieu Volat 2013-04-29 08:50:01 UTC
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.

Fix: Patch provided :)

Patch attached with submission follows:
How-To-Repeat: -
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-04-29 08:50:10 UTC
Responsible Changed
From-To: freebsd-ports-bugs->danfe

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-05-01 08:27:36 UTC
Author: danfe
Date: Wed May  1 07:27:27 2013
New Revision: 316997
URL: http://svnweb.freebsd.org/changeset/ports/316997

Log:
  Update to version 1.2, which brings some nice and useful features (profiled
  denoise, usability enhancements, JPEG2000 support).
  
  PR:		ports/178232
  Submitted by:	Matthieu Volat

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

Modified: head/graphics/darktable/Makefile
==============================================================================
--- head/graphics/darktable/Makefile	Wed May  1 07:25:09 2013	(r316996)
+++ head/graphics/darktable/Makefile	Wed May  1 07:27:27 2013	(r316997)
@@ -2,9 +2,9 @@
 # $FreeBSD$
 
 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@FreeBSD.org
 COMMENT=	Virtual lighttable and darkroom for photographers
@@ -24,6 +24,7 @@ ONLY_FOR_ARCHS_REASON=	uses SSE extensio
 MAKE_JOBS_SAFE=	yes
 
 USES=		cmake:outsource
+USE_XZ=		yes
 USE_GNOME=	librsvg2
 USE_SQLITE=	yes
 USE_LDCONFIG=	${PREFIX}/lib/${PORTNAME}
@@ -32,7 +33,7 @@ MAN1=		${PORTNAME}.1
 LDFLAGS+=	-L${LOCALBASE}/lib
 
 OPTIONS_DEFINE=	GPHOTO GEO FLICKR FACEBOOK KWALLET GNOMEKEYRING RAWSPEED \
-		SLIDESHOW NLS GCC46
+		OPENJPEG SLIDESHOW NLS GCC46
 
 GEO_DESC=	Build geotagging parts
 FACEBOOK_DESC=	Support images export to Facebook
@@ -93,6 +94,13 @@ CMAKE_ARGS+=	-DUSE_GNOME_KEYRING:BOOL=OF
 CMAKE_ARGS+=	-DDONT_USE_RAWSPEED:BOOL=ON
 .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:MSLIDESHOW}
 USE_GL=		gl
 USE_SDL=	sdl
@@ -102,7 +110,7 @@ CMAKE_ARGS+=	-DBUILD_SLIDESHOW:BOOL=OFF
 .endif
 
 .if ${PORT_OPTIONS:MNLS}
-USES+=	gettext
+USES+=		gettext
 .else
 CMAKE_ARGS+=	-DUSE_NLS:BOOL=OFF
 .endif

Modified: head/graphics/darktable/distinfo
==============================================================================
--- head/graphics/darktable/distinfo	Wed May  1 07:25:09 2013	(r316996)
+++ head/graphics/darktable/distinfo	Wed May  1 07:27:27 2013	(r316997)
@@ -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

Modified: head/graphics/darktable/pkg-plist
==============================================================================
--- head/graphics/darktable/pkg-plist	Wed May  1 07:25:09 2013	(r316996)
+++ head/graphics/darktable/pkg-plist	Wed May  1 07:27:27 2013	(r316997)
@@ -14,7 +14,10 @@ bin/darktable-cltest
 %%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/denoiseprofile.cl
 %%DATADIR%%/kernels/extended.cl
 %%DATADIR%%/kernels/gaussian.cl
 %%DATADIR%%/kernels/highpass.cl
@@ -42,6 +45,7 @@ bin/darktable-cltest
 %%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
@@ -104,7 +108,6 @@ lib/darktable/plugins/imageio/storage/li
 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 +126,8 @@ lib/darktable/plugins/libcolorout.so
 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 +189,6 @@ lib/darktable/plugins/lighttable/libnavi
 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
@@ -219,6 +223,7 @@ share/locale/ru/LC_MESSAGES/darktable.mo
 share/locale/sq/LC_MESSAGES/darktable.mo
 share/locale/sv/LC_MESSAGES/darktable.mo
 share/locale/th/LC_MESSAGES/darktable.mo
+share/locale/uk/LC_MESSAGES/darktable.mo
 share/locale/zh_CN/LC_MESSAGES/darktable.mo
 @dirrmtry share/applications
 @dirrm lib/darktable/views
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Alexey Dokuchaev freebsd_committer freebsd_triage 2013-05-01 08:31:16 UTC
State Changed
From-To: open->closed

Committed with some modifications, thanks!  I'll handle GraphicsMagick support 
later (when our ported version would be ready for it).