Dominique Leuenberger 2020-03-18 11:46:41 +00:00 committed by Git OBS Bridge
parent 621a9a9dfb
commit 496cb2672e
9 changed files with 67 additions and 14 deletions

View File

@ -0,0 +1,44 @@
From 8bceae80bd8459f4ec5929df75d6ec0471c3d26c Mon Sep 17 00:00:00 2001
From: coolcom200 <coolcom200@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");

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7195a5ff7ee95ab7c5a57e4e84f8c90cc4728b2c917359203c21293ab754c0db
size 3827412

View File

@ -1,6 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iF0EABECAB0WIQTxD5aGZSsOlJ/NlMMY3KEj+Um9OwUCXf3towAKCRAY3KEj+Um9
O5r9AJ4uTtqV9XCPfNlrHFC/DPLEJDbYWQCfcCPdtR2SJPDiLuflXR7DZqYrlXM=
=XC3w
-----END PGP SIGNATURE-----

3
darktable-3.0.1.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c54b3921da14a97c99ab2f79feca468cf2abca65adf907dba6216e47edab7cb7
size 3859720

View File

@ -0,0 +1,6 @@
-----BEGIN PGP SIGNATURE-----
iF0EABECAB0WIQTxD5aGZSsOlJ/NlMMY3KEj+Um9OwUCXmKP+QAKCRAY3KEj+Um9
O2+jAJ9hoieIVUy6Rx+WrbmG4PtPr2+VrwCgqiNviiC5Qc2WKBPWp5lVXMzXOtI=
=+RBy
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Mar 10 16:28:28 UTC 2020 - Andreas Schneider <asn@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.
-------------------------------------------------------------------
Wed Feb 12 15:15:45 UTC 2020 - Andreas Schneider <asn@cryptomilk.org>

View File

@ -4,7 +4,7 @@ Section: graphics
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),

View File

@ -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 @@ Source97: darktable.dsc
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

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:36b1aac62bbaca09d409d4331f6a2c2d35a040d22737dbf4eb3d81596c0a6e3d
size 21032
oid sha256:af78738db9fcac7131eed85421636a9c2991b64e7c12688f27dd12997ff7ed38
size 21744