ports/145222: [UPDATE] graphics/darktable to version 0.5

Andrei Lavreniyuk andy.lavr at gmail.com
Tue Mar 30 20:50:08 UTC 2010


>Number:         145222
>Category:       ports
>Synopsis:       [UPDATE] graphics/darktable to version 0.5
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 30 20:50:08 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Andrei Lavreniyuk
>Release:        FreeBSD 8.0-STABLE
>Organization:
Technica-03, Inc.
>Environment:
FreeBSD datacenter.technica-03.local 8.0-STABLE FreeBSD 8.0-STABLE #0: Thu Mar 25 12:32:37 EET 2010     root at datacenter.technica-03.local:/usr/obj/usr/src/sys/SMP64  amd64

>Description:

See webpage: http://darktable.sf.net/
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN darktable.bak/Makefile darktable/Makefile
--- darktable.bak/Makefile	2010-03-30 23:41:45.890403892 +0300
+++ darktable/Makefile	2010-03-30 22:52:07.000000000 +0300
@@ -6,15 +6,14 @@
 #
 
 PORTNAME=	darktable
-PORTVERSION=	0.4
-PORTREVISION=	2
+PORTVERSION=	0.5
 CATEGORIES=	graphics
 MASTER_SITES=	SF
 
 MAINTAINER=	danfe at FreeBSD.org
 COMMENT=	A virtual lighttable and darkroom for photographers
 
-LIB_DEPENDS=	gegl-0.0.1.101:${PORTSDIR}/graphics/gegl \
+LIB_DEPENDS=	gegl-0.1:${PORTSDIR}/graphics/gegl \
 		exiv2.7:${PORTSDIR}/graphics/exiv2 \
 		lensfun.0:${PORTSDIR}/graphics/lensfun \
 		lcms.1:${PORTSDIR}/graphics/lcms
diff -ruN darktable.bak/distinfo darktable/distinfo
--- darktable.bak/distinfo	2010-03-12 00:46:20.000000000 +0200
+++ darktable/distinfo	2010-03-30 22:52:28.000000000 +0300
@@ -1,3 +1,3 @@
-MD5 (darktable-0.4.tar.bz2) = 23ef3c77925fc579457c2e6bc3e557c9
-SHA256 (darktable-0.4.tar.bz2) = ab167d42870fb1254d94b584d702910f40b4c64dd38ab5558be2af4fc67153e6
-SIZE (darktable-0.4.tar.bz2) = 698809
+MD5 (darktable-0.5.tar.bz2) = 7e441a94e6c44e8b212439f7ac5cf3a6
+SHA256 (darktable-0.5.tar.bz2) = e5469091c54f053b6666d105e16bce88a6972241fd7e8efe4c443cf0193185d4
+SIZE (darktable-0.5.tar.bz2) = 821578
diff -ruN darktable.bak/files/patch-all.diff darktable/files/patch-all.diff
--- darktable.bak/files/patch-all.diff	1970-01-01 03:00:00.000000000 +0300
+++ darktable/files/patch-all.diff	2010-03-30 23:36:03.000000000 +0300
@@ -0,0 +1,74 @@
+--- src/dtgtk/button.h.orig	2010-03-11 16:52:10.000000000 +0200
++++ src/dtgtk/button.h	2010-03-30 23:18:07.943825759 +0300
+@@ -43,4 +43,4 @@
+ /** Instansiate a new darktable button control passing paint function as content */
+ GtkWidget* dtgtk_button_new(DTGTKCairoPaintIconFunc paint, gboolean paintflag);
+ G_END_DECLS
+-#endif 
+\ No newline at end of file
++#endif
+--- src/dtgtk/paint.c.orig	2010-03-15 12:37:20.000000000 +0200
++++ src/dtgtk/paint.c	2010-03-30 23:19:27.294483127 +0300
+@@ -103,4 +103,4 @@
+   }
+   
+   cairo_identity_matrix(cr);
+-}
+\ No newline at end of file
++}
+--- src/dtgtk/paint.h.orig	2010-03-15 12:37:20.000000000 +0200
++++ src/dtgtk/paint.h	2010-03-30 23:19:51.000000000 +0300
+@@ -43,4 +43,4 @@
+ /** Paint a switch icon */
+ void dtgtk_cairo_paint_switch(cairo_t *cr,gint x,gint y,gint w,gint h,gint flags);
+ 
+-#endif
+\ No newline at end of file
++#endif
+--- src/dtgtk/togglebutton.h.orig	2010-03-12 14:41:30.000000000 +0200
++++ src/dtgtk/togglebutton.h	2010-03-30 23:21:47.743393862 +0300
+@@ -43,4 +43,4 @@
+ /** Instansiate a new darktable slider control passing adjustment as range */
+ GtkWidget* dtgtk_togglebutton_new(DTGTKCairoPaintIconFunc paint, gint paintflag);
+ G_END_DECLS
+-#endif 
+\ No newline at end of file
++#endif
+--- src/common/fswatch.h.orig	2010-03-30 23:24:22.237560529 +0300
++++ src/common/fswatch.h	2010-03-30 23:23:46.000000000 +0300
+@@ -47,4 +47,4 @@
+ /** Removes an watch of type and assigned data. */
+ void dt_fswatch_remove(const dt_fswatch_t * fswatch, dt_fswatch_type_t type, void *data);
+ 
+-#endif
+\ No newline at end of file
++#endif
+--- src/common/imageio_ppm.h.orig	2010-03-16 10:14:29.000000000 +0200
++++ src/common/imageio_ppm.h	2010-03-30 23:25:41.641019380 +0300
+@@ -24,4 +24,4 @@
+ /** write 16-bit PPM file. */
+ int dt_imageio_ppm_write_16(const char *filename, const uint16_t *in, const int width, const int height);
+ 
+-#endif
+\ No newline at end of file
++#endif
+--- src/common/imageio_tiff.c.orig	2010-03-17 09:43:13.000000000 +0200
++++ src/common/imageio_tiff.c	2010-03-30 23:26:14.000000000 +0300
+@@ -170,4 +170,4 @@
+ {
+     TIFFClose(tiff->handle);
+   return 1;
+-}
+\ No newline at end of file
++}
+--- src/common/image.c.orig	2010-03-26 17:48:38.000000000 +0200
++++ src/common/image.c	2010-03-30 23:28:48.000000000 +0300
+@@ -777,7 +777,7 @@
+   dt_mipmap_cache_t *cache = darktable.mipmap_cache;
+   // max memory: user supplied number of bytes, evenly distributed among mip levels.
+   // clamped between 50MB -- 4GB
+-#if defined(__APPLE__) || defined(__MACH__)
++#if defined(__APPLE__) || defined(__MACH__) || defined(__FreeBSD__)
+   // apple's size_t sucks
+   size_t max_mem = (size_t)(MAX(52428800, dt_conf_get_int("cache_memory"))/(float)DT_IMAGE_FULL);
+ #else


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list