2020-04-22 18:59:00 +00:00
committed by Git OBS Bridge
parent 496cb2672e
commit 2b9c24cf8d
7 changed files with 27 additions and 56 deletions

View File

@@ -1,44 +0,0 @@
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:c54b3921da14a97c99ab2f79feca468cf2abca65adf907dba6216e47edab7cb7
size 3859720

View File

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

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

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

View File

@@ -0,0 +1,6 @@
-----BEGIN PGP SIGNATURE-----
iF0EABECAB0WIQTxD5aGZSsOlJ/NlMMY3KEj+Um9OwUCXpa1bgAKCRAY3KEj+Um9
O6zAAJ9kaRhS/EJmkU2BNEYjIjuQH/SvzgCgutT87rtNfH5i+9cMWjcZ7hR0SzY=
=cuTA
-----END PGP SIGNATURE-----

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Tue Apr 21 06:53:31 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>
- Update to version 3.0.2
* Better UI for the blend modes which are now grouped by category.
* Ctrl+Click can be used to rename a module instance.
* Allow larger vignette scale
* Add pseudo preset in whitebalance to keep user's modifications.
* In crop&rotate module it is possible to allow only vertical
composition change using the Shift modifier when dragging
the crop area and horizontal one using the Ctrl modifier.
* Varios fixes
* Add new supported cameras
* Add new white balance presets
- Remove 8bceae80bd8459f4ec5929df75d6ec0471c3d26c.patch
-------------------------------------------------------------------
Tue Mar 10 16:28:28 UTC 2020 - Andreas Schneider <asn@cryptomilk.org>

View File

@@ -55,10 +55,10 @@
%endif
Name: darktable
Version: 3.0.1
Version: 3.0.2
Release: 0
%define pkg_name darktable
%define pkg_version 3.0.1
%define pkg_version 3.0.2
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,7 +71,6 @@ 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