summaryrefslogtreecommitdiff
path: root/graphics/darktable/patches
diff options
context:
space:
mode:
authorjakllsch <jakllsch>2012-12-08 00:15:26 +0000
committerjakllsch <jakllsch>2012-12-08 00:15:26 +0000
commit689b0e05cbe8df9be9c5085965769c3f230d764c (patch)
tree0a3409ad2562b03733dfd02912bbedfe55c5f1bf /graphics/darktable/patches
parent5929f5b4c4435d798a3c7ebb9c656e84e217fe50 (diff)
downloadpkgsrc-689b0e05cbe8df9be9c5085965769c3f230d764c.tar.gz
update darktable to 1.1
upstream release notes: general new camera support, new whitebalance presets, etc., including canon eos m support and samsung nx fix similarity matching search for images that look alike. geotagging, complete with map view (thanks to dinamic for starting that ages ago and to houz for actually bringing it home): http://www.darktable.org/2012/09/geotagging-in-darktable/ mac os package: http://www.darktable.org/2012/08/bringing-current-darktable-to-os-x/ a lot of bugfixes (mainly thanks to ulrich for his meticulous work) facebook exporter (for those who have an account there) ui reworked the much hated `more plugins' widget (thanks to boucman) image grouping: http://www.darktable.org/2012/09/grouping/ command line interface! http://www.darktable.org/2012/07/exporting-images-on-the-command-line/ tone and base curves got a new user interface to better support fine grained workflow as in: http://www.darktable.org/2012/02/mastering-color-with-lab-tone-curves/ visually low-profile controls with finetuning: http://www.darktable.org/2012/03/bauhaus-widgets/ color correction module (http://www.darktable.org/2012/03/color-correction/) got a GUI update since the blog post (two circles indicating shadows and highlights instead of the quad). live view for tethered shooting! http://www.darktable.org/2012/05/live-view/ darkroom extensive use of edge-aware filtering techniques to suppress noise, halos and ringing all around darktable: http://www.darktable.org/2012/09/edge-aware-image-development/ conditional blending, and a lot of goodies around it! http://www.darktable.org/2012/07/some-enhancements-to-conditional-blending/ magenta highlights: http://www.darktable.org/2012/07/magenta-highlights/improved on high-contrast edges to overexposed areas (should get rid of purple highlights on tiny water waves and purple fringes around tree leaves for example) much improved sharpness for both export and darkroom view, especially for downsampled images and if you use lens corrections or rotations/perspective corrections. check the new options in the preferences dialog, also one more than mentioned in the blog ("demosaicing for zoomed out darkroom mode" to trade performance for even more sharpness): http://www.darktable.org/2012/06/upcoming-features-new-interpolation-modes-and-better-resize/ color management improved per-screen color management (should reload the screen profile automatically) more compatible embedded color profiles (should fix problems on windows viewing our images, if that matters) read embedded color profiles from jpg opencl most of our modules now can take advantage of your computer's gpu power caching for compiled opencl kernels (even in case the driver doesn't do it) for faster startup times usermanual find a pdf snapshot here: https://sourceforge.net/projects/darktable/files/darktable/1.1/darktable-usermanual.pdf/download is reasonably up to date again not translated so far translations two new translations (both portuguese.. ;) ) well translated: cs de es fr it ja nl pl pt_BR pt_PT sv half translated: ca fi gl ro ru sq th zh_CN
Diffstat (limited to 'graphics/darktable/patches')
-rw-r--r--graphics/darktable/patches/patch-src_CMakeLists.txt60
-rw-r--r--graphics/darktable/patches/patch-src_LibRaw_libraw_libraw__alloc.h4
-rw-r--r--graphics/darktable/patches/patch-src_common_darktable.c13
-rw-r--r--graphics/darktable/patches/patch-src_common_darktable.h6
-rw-r--r--graphics/darktable/patches/patch-src_common_imageio__rgbe.c4
-rw-r--r--graphics/darktable/patches/patch-src_control_control.c14
-rw-r--r--graphics/darktable/patches/patch-src_control_jobs_control__jobs.c13
-rw-r--r--graphics/darktable/patches/patch-src_develop_blend.c23
-rw-r--r--graphics/darktable/patches/patch-src_iop_lens.c8
-rw-r--r--graphics/darktable/patches/patch-src_iop_watermark.c14
-rw-r--r--graphics/darktable/patches/patch-src_rawspeed_RawSpeed_Common.h16
11 files changed, 41 insertions, 134 deletions
diff --git a/graphics/darktable/patches/patch-src_CMakeLists.txt b/graphics/darktable/patches/patch-src_CMakeLists.txt
deleted file mode 100644
index eaad35329f0..00000000000
--- a/graphics/darktable/patches/patch-src_CMakeLists.txt
+++ /dev/null
@@ -1,60 +0,0 @@
-$NetBSD: patch-src_CMakeLists.txt,v 1.6 2012/05/05 19:18:33 jakllsch Exp $
-
-Various thing to possibly improve portability.
-
---- src/CMakeLists.txt.orig 2012-04-27 20:25:52.000000000 +0000
-+++ src/CMakeLists.txt
-@@ -242,36 +242,37 @@ if(NOT WIN32)
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread")
- endif(NOT WIN32)
-
-+MESSAGE("-- Checking for -march=native support")
-+CHECK_C_COMPILER_FLAG("-march=native" MARCHNATIVE)
-+MESSAGE("-- Checking for -mtune=native support")
-+CHECK_C_COMPILER_FLAG("-mtune=native" MTUNENATIVE)
-+MESSAGE("-- Checking for -mtune=generic support")
-+CHECK_C_COMPILER_FLAG("-mtune=generic" MTUNEGENERIC)
-+
- if(NOT BINARY_PACKAGE_BUILD)
-- MESSAGE("-- Checking for -march=native support")
-- CHECK_C_COMPILER_FLAG("-march=native" MARCHNATIVE)
- if (MARCHNATIVE)
- set(MARCH "-march=native")
- else()
-- MESSAGE("-- Checking for -mtune=native support")
-- CHECK_C_COMPILER_FLAG("-mtune=native" MTUNENATIVE)
- if (MTUNENATIVE)
- set(MARCH "-mtune=native")
- else()
-- set(MARCH "-mtune=generic")
-+ if (MTUNEGENERIC)
-+ set(MARCH "-mtune=generic")
-+ endif()
- endif()
- endif()
- else()
-- set(MARCH "-mtune=generic")
-+ if (MTUNEGENERIC)
-+ set(MARCH "-mtune=generic")
-+ endif()
- endif()
-
--set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse2 -g")
--set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -O3 -ffast-math -fexpensive-optimizations ${MARCH}")
-+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g")
-+set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -O2 -ffast-math -fexpensive-optimizations ${MARCH}")
- set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O0 -g -D_DEBUG")
--set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse2 -g")
--set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 -ffast-math -fexpensive-optimizations ${MARCH}")
-+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g")
-+set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O2 -ffast-math -fexpensive-optimizations ${MARCH}")
- set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -O0 -g -D_DEBUG")
--if(CMAKE_COMPILER_IS_GNUCC)
--set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mfpmath=sse")
--endif()
--if(CMAKE_COMPILER_IS_GNUCXX)
--set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mfpmath=sse")
--endif()
-
- #
- # Generate config.h
diff --git a/graphics/darktable/patches/patch-src_LibRaw_libraw_libraw__alloc.h b/graphics/darktable/patches/patch-src_LibRaw_libraw_libraw__alloc.h
index 18106a709cb..87b5f6b9c9d 100644
--- a/graphics/darktable/patches/patch-src_LibRaw_libraw_libraw__alloc.h
+++ b/graphics/darktable/patches/patch-src_LibRaw_libraw_libraw__alloc.h
@@ -1,8 +1,8 @@
-$NetBSD: patch-src_LibRaw_libraw_libraw__alloc.h,v 1.2 2011/08/25 14:42:53 jakllsch Exp $
+$NetBSD: patch-src_LibRaw_libraw_libraw__alloc.h,v 1.3 2012/12/08 00:15:26 jakllsch Exp $
Work around redefined symbol.
---- src/external/LibRaw/libraw/libraw_alloc.h.orig 2011-08-24 09:20:29.000000000 +0000
+--- src/external/LibRaw/libraw/libraw_alloc.h.orig 2012-11-23 23:23:21.000000000 +0000
+++ src/external/LibRaw/libraw/libraw_alloc.h
@@ -27,6 +27,7 @@ it under the terms of the one of three l
diff --git a/graphics/darktable/patches/patch-src_common_darktable.c b/graphics/darktable/patches/patch-src_common_darktable.c
deleted file mode 100644
index 5ad5591bbc6..00000000000
--- a/graphics/darktable/patches/patch-src_common_darktable.c
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-src_common_darktable.c,v 1.1 2012/08/12 07:47:29 marino Exp $
-
---- src/common/darktable.c.orig 2012-07-21 10:44:08.000000000 +0000
-+++ src/common/darktable.c
-@@ -54,7 +54,7 @@
- #include <unistd.h>
- #include <locale.h>
-
--#if !defined(__APPLE__) && !defined(__FreeBSD__)
-+#if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__DragonFly__)
- #include <malloc.h>
- #endif
- #ifdef __APPLE__
diff --git a/graphics/darktable/patches/patch-src_common_darktable.h b/graphics/darktable/patches/patch-src_common_darktable.h
index 575c95e7b6b..72210773216 100644
--- a/graphics/darktable/patches/patch-src_common_darktable.h
+++ b/graphics/darktable/patches/patch-src_common_darktable.h
@@ -1,8 +1,8 @@
-$NetBSD: patch-src_common_darktable.h,v 1.1 2012/08/12 07:47:29 marino Exp $
+$NetBSD: patch-src_common_darktable.h,v 1.2 2012/12/08 00:15:26 jakllsch Exp $
---- src/common/darktable.h.orig 2012-07-21 10:44:08.000000000 +0000
+--- src/common/darktable.h.orig 2012-11-23 23:23:21.000000000 +0000
+++ src/common/darktable.h
-@@ -43,7 +43,7 @@
+@@ -47,7 +47,7 @@
#include <mach/mach.h>
#include <sys/sysctl.h>
#endif
diff --git a/graphics/darktable/patches/patch-src_common_imageio__rgbe.c b/graphics/darktable/patches/patch-src_common_imageio__rgbe.c
index 09936a9967c..2b21b7b3f64 100644
--- a/graphics/darktable/patches/patch-src_common_imageio__rgbe.c
+++ b/graphics/darktable/patches/patch-src_common_imageio__rgbe.c
@@ -1,6 +1,6 @@
-$NetBSD: patch-src_common_imageio__rgbe.c,v 1.1 2012/05/05 19:18:33 jakllsch Exp $
+$NetBSD: patch-src_common_imageio__rgbe.c,v 1.2 2012/12/08 00:15:26 jakllsch Exp $
---- src/common/imageio_rgbe.c.orig 2012-04-27 20:25:52.000000000 +0000
+--- src/common/imageio_rgbe.c.orig 2012-11-23 23:23:21.000000000 +0000
+++ src/common/imageio_rgbe.c
@@ -189,7 +189,7 @@ int RGBE_ReadHeader(FILE *fp, int *width
info->valid |= RGBE_VALID_PROGRAMTYPE;
diff --git a/graphics/darktable/patches/patch-src_control_control.c b/graphics/darktable/patches/patch-src_control_control.c
new file mode 100644
index 00000000000..a5d967159b1
--- /dev/null
+++ b/graphics/darktable/patches/patch-src_control_control.c
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_control_control.c,v 1.1 2012/12/08 00:15:26 jakllsch Exp $
+
+--- src/control/control.c.orig 2012-11-23 23:23:21.000000000 +0000
++++ src/control/control.c
+@@ -594,7 +594,9 @@ void dt_control_init(dt_control_t *s)
+
+ // selected_images should have a primary key. add it if it's missing:
+ int is_in_primary_key = 0;
++#if 0
+ sqlite3_table_column_metadata(dt_database_get(darktable.db), NULL, "selected_images", "imgid", NULL, NULL, NULL, &is_in_primary_key, NULL);
++#endif
+ if(is_in_primary_key == 0)
+ {
+ sqlite3_exec(dt_database_get(darktable.db),
diff --git a/graphics/darktable/patches/patch-src_control_jobs_control__jobs.c b/graphics/darktable/patches/patch-src_control_jobs_control__jobs.c
deleted file mode 100644
index 5868d8bf006..00000000000
--- a/graphics/darktable/patches/patch-src_control_jobs_control__jobs.c
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-src_control_jobs_control__jobs.c,v 1.3 2012/05/05 19:18:33 jakllsch Exp $
-
---- src/control/jobs/control_jobs.c.orig 2012-04-27 20:25:52.000000000 +0000
-+++ src/control/jobs/control_jobs.c
-@@ -534,7 +534,7 @@ int32_t dt_control_export_job_run(dt_job
- // GCC won't accept that this variable is used in a macro, considers
- // it set but not used, which makes for instance Fedora break.
- const __attribute__((__unused__)) int num_threads = MAX(1, MIN(full_entries, 8));
--#if !defined(__SUNOS__)
-+#if !defined(__SUNOS__) && !defined(__NetBSD__)
- #pragma omp parallel default(none) private(imgid, size) shared(control, fraction, w, h, stderr, mformat, mstorage, t, sdata, job, jid, darktable) num_threads(num_threads) if(num_threads > 1)
- #else
- #pragma omp parallel private(imgid, size) shared(control, fraction, w, h, mformat, mstorage, t, sdata, job, jid, darktable) num_threads(num_threads) if(num_threads > 1)
diff --git a/graphics/darktable/patches/patch-src_develop_blend.c b/graphics/darktable/patches/patch-src_develop_blend.c
index 36511e4318c..1caa0024049 100644
--- a/graphics/darktable/patches/patch-src_develop_blend.c
+++ b/graphics/darktable/patches/patch-src_develop_blend.c
@@ -1,13 +1,22 @@
-$NetBSD: patch-src_develop_blend.c,v 1.2 2012/03/16 00:35:01 jakllsch Exp $
+$NetBSD: patch-src_develop_blend.c,v 1.3 2012/12/08 00:15:26 jakllsch Exp $
---- src/develop/blend.c.orig 2012-03-13 21:29:39.000000000 +0000
+--- src/develop/blend.c.orig 2012-11-23 23:23:21.000000000 +0000
+++ src/develop/blend.c
-@@ -1230,7 +1230,7 @@ void dt_develop_blend_process (struct dt
- ch = 1;
-
+@@ -1718,7 +1718,7 @@ void dt_develop_blend_process (struct dt
+ if(self->suppress_mask && self->dev->gui_attached && self == self->dev->gui_module && piece->pipe == self->dev->pipe && (d->blendif & (1<<31)))
+ {
#ifdef _OPENMP
-#if !defined(__SUNOS__)
+#if !defined(__SUNOS__) && !defined(__NetBSD__)
- #pragma omp parallel for default(none) shared(in,roi_out,out,blend,d,stderr,ch)
+ #pragma omp parallel for default(none) shared(roi_out,mask,stderr)
#else
- #pragma omp parallel for shared(in,roi_out,out,blend,d,ch)
+ #pragma omp parallel for shared(roi_out,mask)
+@@ -1733,7 +1733,7 @@ void dt_develop_blend_process (struct dt
+
+
+ #ifdef _OPENMP
+-#if !defined(__SUNOS__)
++#if !defined(__SUNOS__) && !defined(__NetBSD__)
+ #pragma omp parallel for default(none) shared(i,roi_out,o,mask,blend,stderr,ch)
+ #else
+ #pragma omp parallel for shared(i,roi_out,o,mask,blend,ch)
diff --git a/graphics/darktable/patches/patch-src_iop_lens.c b/graphics/darktable/patches/patch-src_iop_lens.c
index 470b48719bb..b954fb39742 100644
--- a/graphics/darktable/patches/patch-src_iop_lens.c
+++ b/graphics/darktable/patches/patch-src_iop_lens.c
@@ -1,8 +1,8 @@
-$NetBSD: patch-src_iop_lens.c,v 1.1 2012/05/05 19:18:33 jakllsch Exp $
+$NetBSD: patch-src_iop_lens.c,v 1.2 2012/12/08 00:15:26 jakllsch Exp $
---- src/iop/lens.c.orig 2012-04-27 20:25:52.000000000 +0000
+--- src/iop/lens.c.orig 2012-11-23 23:23:21.000000000 +0000
+++ src/iop/lens.c
-@@ -842,7 +842,7 @@ static void parse_maker_model (
+@@ -1106,7 +1106,7 @@ static void parse_maker_model (
{
const gchar *sep;
@@ -11,7 +11,7 @@ $NetBSD: patch-src_iop_lens.c,v 1.1 2012/05/05 19:18:33 jakllsch Exp $
txt++;
sep = strchr (txt, ',');
if (sep)
-@@ -853,7 +853,7 @@ static void parse_maker_model (
+@@ -1117,7 +1117,7 @@ static void parse_maker_model (
memcpy (make, txt, len);
make [len] = 0;
diff --git a/graphics/darktable/patches/patch-src_iop_watermark.c b/graphics/darktable/patches/patch-src_iop_watermark.c
deleted file mode 100644
index d6a803d4f2b..00000000000
--- a/graphics/darktable/patches/patch-src_iop_watermark.c
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-src_iop_watermark.c,v 1.1 2012/08/29 16:26:51 wiz Exp $
-
-Direct inclusion of this header is deprecated.
-
---- src/iop/watermark.c.orig 2012-07-21 10:44:08.000000000 +0000
-+++ src/iop/watermark.c
-@@ -38,7 +38,6 @@
- #include <inttypes.h>
-
- #include <librsvg/rsvg.h>
--#include <librsvg/rsvg-cairo.h>
-
- #include "common/metadata.h"
- #include "common/utility.h"
diff --git a/graphics/darktable/patches/patch-src_rawspeed_RawSpeed_Common.h b/graphics/darktable/patches/patch-src_rawspeed_RawSpeed_Common.h
deleted file mode 100644
index ec8765d2d55..00000000000
--- a/graphics/darktable/patches/patch-src_rawspeed_RawSpeed_Common.h
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-src_rawspeed_RawSpeed_Common.h,v 1.2 2011/08/25 14:42:53 jakllsch Exp $
-
-Move typedef to correct place.
-
---- src/external/rawspeed/RawSpeed/Common.h.orig 2011-08-24 09:20:29.000000000 +0000
-+++ src/external/rawspeed/RawSpeed/Common.h
-@@ -42,8 +42,8 @@ void* _aligned_malloc(size_t bytes, size
- #define _aligned_free(a) do { free(a); } while (0)
- #ifndef MIN
- #define MIN(a, b) lmin(a,b)
--typedef unsigned long long uint64;
- #endif
-+typedef unsigned long long uint64;
- #ifndef MAX
- #define MAX(a, b) lmax(a,b)
- #endif