Hello community, here is the log from the commit of package darktable for openSUSE:Factory checked in at 2020-03-18 12:46:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/darktable (Old) and /work/SRC/openSUSE:Factory/.darktable.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "darktable" Wed Mar 18 12:46:41 2020 rev:86 rq:786116 version:3.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/darktable/darktable.changes 2020-02-13 10:13:48.152419551 +0100 +++ /work/SRC/openSUSE:Factory/.darktable.new.3160/darktable.changes 2020-03-18 12:52:14.213204974 +0100 @@ -1,0 +2,8 @@ +Tue Mar 10 16:28:28 UTC 2020 - Andreas Schneider <a...@cryptomilk.org> + +- Update to version 3.0.1 + * https://github.com/darktable-org/darktable/releases/tag/release-3.0.1 +- added https://github.com/darktable-org/darktable/commit/8bceae80bd8459f4ec5929df75d6ec0471c3d26c.patch + to fix regression in the basic adjustment module. + +------------------------------------------------------------------- Old: ---- darktable-3.0.0.tar.xz darktable-3.0.0.tar.xz.asc New: ---- 8bceae80bd8459f4ec5929df75d6ec0471c3d26c.patch darktable-3.0.1.tar.xz darktable-3.0.1.tar.xz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ darktable.spec ++++++ --- /var/tmp/diff_new_pack.8YhvBG/_old 2020-03-18 12:52:19.237207974 +0100 +++ /var/tmp/diff_new_pack.8YhvBG/_new 2020-03-18 12:52:19.237207974 +0100 @@ -55,10 +55,10 @@ %endif Name: darktable -Version: 3.0.0 +Version: 3.0.1 Release: 0 %define pkg_name darktable -%define pkg_version 3.0.0 +%define pkg_version 3.0.1 URL: http://www.darktable.org/ Source0: %{pkg_name}-%{pkg_version}.tar.xz Source1: https://github.com/darktable-org/darktable/releases/download/release-3.0.0/darktable-usermanual.pdf @@ -71,6 +71,7 @@ Source98: debian.tar.xz Source99: README.openSUSE Patch: darktable-old-glib.patch +Patch1: https://github.com/darktable-org/darktable/commit/8bceae80bd8459f4ec5929df75d6ec0471c3d26c.patch ExclusiveArch: x86_64 aarch64 ppc64le # build time tools ++++++ 8bceae80bd8459f4ec5929df75d6ec0471c3d26c.patch ++++++ >From 8bceae80bd8459f4ec5929df75d6ec0471c3d26c Mon Sep 17 00:00:00 2001 From: coolcom200 <coolcom...@users.noreply.github.com> Date: Mon, 9 Mar 2020 20:47:16 -0400 Subject: [PATCH] Fix: Missing legacy_params in Basic Adjustment module --- src/iop/basicadj.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/iop/basicadj.c b/src/iop/basicadj.c index fa24e32ae4..9b79690d7d 100644 --- a/src/iop/basicadj.c +++ b/src/iop/basicadj.c @@ -90,6 +90,30 @@ typedef struct dt_iop_basicadj_global_data_t int kernel_basicadj; } dt_iop_basicadj_global_data_t; +int legacy_params(dt_iop_module_t *self, const void *const old_params, const int old_version, void *new_params, + const int new_version) +{ + if(old_version == 1 && new_version == 2) + { + const dt_iop_basicadj_params_t *old = old_params; + dt_iop_basicadj_params_t *new = new_params; + + new->black_point = old->black_point; + new->exposure = old->exposure; + new->hlcompr = old->hlcompr; + new->hlcomprthresh = old->hlcomprthresh; + new->contrast = old->contrast; + new->preserve_colors = old->preserve_colors; + new->middle_grey = old->middle_grey; + new->brightness = old->brightness; + new->saturation = old->saturation; + new->clip = old->clip; + new->vibrance = 0; + return 0; + } + return 1; +} + const char *name() { return _("basic adjustments"); ++++++ darktable-3.0.0.tar.xz -> darktable-3.0.1.tar.xz ++++++ ++++ 39268 lines of diff (skipped) ++++++ darktable.dsc ++++++ --- /var/tmp/diff_new_pack.8YhvBG/_old 2020-03-18 12:52:20.401208670 +0100 +++ /var/tmp/diff_new_pack.8YhvBG/_new 2020-03-18 12:52:20.401208670 +0100 @@ -4,7 +4,7 @@ Priority: optional Binary: darktable darktable-tools-basecurve darktable-tools-noise Architecture: any-amd64 any-arm64 -Version: 3.0.0-1.1 +Version: 3.0.1-1.1 Homepage: http://www.darktable.org/ Build-Depends: cmake, debhelper (>= 10), ++++++ debian.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/debian/changelog new/debian/changelog --- old/debian/changelog 2020-01-19 23:12:20.997237660 +0100 +++ new/debian/changelog 2020-03-10 17:31:11.242726820 +0100 @@ -1,3 +1,11 @@ +darktable (3.0.1-1.1) experimental; urgency=medium + + * update to 3.0.1 + https://github.com/darktable-org/darktable/releases/tag/release-3.0.1 + * added https://github.com/darktable-org/darktable/commit/8bceae80bd8459f4ec5929df75d6ec0471c3d26c.patch + to fix regression in the basic adjustment module. + + -- Andreas Schneider <a...@cryptomilk.org> Tue, 10 Mar 2020 15:31:00 -0000 darktable (3.0.0-1.1) experimental; urgency=medium * update to 3.0.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/debian/patches/8bceae80bd8459f4ec5929df75d6ec0471c3d26c.patch new/debian/patches/8bceae80bd8459f4ec5929df75d6ec0471c3d26c.patch --- old/debian/patches/8bceae80bd8459f4ec5929df75d6ec0471c3d26c.patch 1970-01-01 01:00:00.000000000 +0100 +++ new/debian/patches/8bceae80bd8459f4ec5929df75d6ec0471c3d26c.patch 2020-03-10 17:31:43.758698116 +0100 @@ -0,0 +1,44 @@ +From 8bceae80bd8459f4ec5929df75d6ec0471c3d26c Mon Sep 17 00:00:00 2001 +From: coolcom200 <coolcom...@users.noreply.github.com> +Date: Mon, 9 Mar 2020 20:47:16 -0400 +Subject: [PATCH] Fix: Missing legacy_params in Basic Adjustment module + +--- + src/iop/basicadj.c | 24 ++++++++++++++++++++++++ + 1 file changed, 24 insertions(+) + +diff --git a/src/iop/basicadj.c b/src/iop/basicadj.c +index fa24e32ae4..9b79690d7d 100644 +--- a/src/iop/basicadj.c ++++ b/src/iop/basicadj.c +@@ -90,6 +90,30 @@ typedef struct dt_iop_basicadj_global_data_t + int kernel_basicadj; + } dt_iop_basicadj_global_data_t; + ++int legacy_params(dt_iop_module_t *self, const void *const old_params, const int old_version, void *new_params, ++ const int new_version) ++{ ++ if(old_version == 1 && new_version == 2) ++ { ++ const dt_iop_basicadj_params_t *old = old_params; ++ dt_iop_basicadj_params_t *new = new_params; ++ ++ new->black_point = old->black_point; ++ new->exposure = old->exposure; ++ new->hlcompr = old->hlcompr; ++ new->hlcomprthresh = old->hlcomprthresh; ++ new->contrast = old->contrast; ++ new->preserve_colors = old->preserve_colors; ++ new->middle_grey = old->middle_grey; ++ new->brightness = old->brightness; ++ new->saturation = old->saturation; ++ new->clip = old->clip; ++ new->vibrance = 0; ++ return 0; ++ } ++ return 1; ++} ++ + const char *name() + { + return _("basic adjustments"); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/debian/patches/series new/debian/patches/series --- old/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ new/debian/patches/series 2020-03-10 17:31:54.506688627 +0100 @@ -0,0 +1 @@ +8bceae80bd8459f4ec5929df75d6ec0471c3d26c.patch -p1