Accepting request 601887 from graphics
- update to 2.4.3 OBS-URL: https://build.opensuse.org/request/show/601887 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/darktable?expand=0&rev=72
This commit is contained in:
parent
084a4d99aa
commit
aef9c29fcf
22
887d55c.patch
Normal file
22
887d55c.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
commit 887d55c86c66ba4dcd90fe7574c18125dde916c6
|
||||||
|
Author: Andreas Schneider <asn@cryptomilk.org>
|
||||||
|
Date: Fri Apr 27 07:55:51 2018 +0200
|
||||||
|
|
||||||
|
tools: Fix typo in darktable-gen-noiseprofile
|
||||||
|
|
||||||
|
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
||||||
|
(cherry picked from commit 42c43728b70817ec9d4b59a6f8f1b03e2b5473af)
|
||||||
|
|
||||||
|
diff --git a/tools/noise/darktable-gen-noiseprofile b/tools/noise/darktable-gen-noiseprofile
|
||||||
|
index 0e999a583..ea95f5659 100755
|
||||||
|
--- a/tools/noise/darktable-gen-noiseprofile
|
||||||
|
+++ b/tools/noise/darktable-gen-noiseprofile
|
||||||
|
@@ -134,7 +134,7 @@ profile_image() {
|
||||||
|
|
||||||
|
xmp="$scriptdir/profiling-shot.xmp"
|
||||||
|
noiseprofile="$scriptdir/darktable-noiseprofile"
|
||||||
|
- if [ ! -x "$scriptdir/dt-noiseprofile" ]; then
|
||||||
|
+ if [ ! -x "$scriptdir/darktable-noiseprofile" ]; then
|
||||||
|
echo "ERROR: Could not find darktable-noiseprofile tool in $scriptdir"
|
||||||
|
exit 1
|
||||||
|
fi
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:9d37388aee79d5ada71062bbac3cda612a61d1a781f6320b784b27308f3a1878
|
|
||||||
size 3387972
|
|
3
darktable-2.4.3.tar.xz
Normal file
3
darktable-2.4.3.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1dc5fc7bd142f4c74a5dd4706ac1dad772dfc7cd5538f033e60e3a08cfed03d3
|
||||||
|
size 3422460
|
@ -1,3 +1,214 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 27 11:51:22 UTC 2018 - mrueckert@suse.de
|
||||||
|
|
||||||
|
- pull from the stable branch 887d55c.patch:
|
||||||
|
fix typo in the noise profile tools
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 24 16:00:26 UTC 2018 - mrueckert@suse.de
|
||||||
|
|
||||||
|
- also track the debian packaging files as sources in the spec file
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 24 00:50:28 UTC 2018 - mrueckert@suse.de
|
||||||
|
|
||||||
|
- also build and package the noise profiling tools:
|
||||||
|
new subpackage darktable-tools-noise
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 24 00:41:18 UTC 2018 - mrueckert@suse.de
|
||||||
|
|
||||||
|
- update to 2.4.3
|
||||||
|
- New Features
|
||||||
|
- Support for tags and ratings in the watermark module
|
||||||
|
- Read Xmp.exif.DateTimeOriginal from XMP sidecars
|
||||||
|
- Build and install noise tools
|
||||||
|
- Add a script for converting .dtyle to an .xmp
|
||||||
|
- Bugfixes
|
||||||
|
- Don't create unneeded folders during export in some cases
|
||||||
|
- When collecting by tags, don't select subtags
|
||||||
|
- Fix language selection on OSX
|
||||||
|
- Fix a crash while tethering
|
||||||
|
- Camera support, compared to 2.4.2
|
||||||
|
- Base Support
|
||||||
|
- Fujifilm X-H1 (compressed)
|
||||||
|
- Kodak EOS DCS 3
|
||||||
|
- Olympus E-PL9
|
||||||
|
- Panasonic DC-GX9 (4:3)
|
||||||
|
- Sony DSC-RX1RM2
|
||||||
|
- Sony ILCE-7M3
|
||||||
|
- White Balance Presets
|
||||||
|
- Sony ILCE-7M3
|
||||||
|
- Noise Profiles
|
||||||
|
- Canon PowerShot G1 X Mark III
|
||||||
|
- Nikon D7500
|
||||||
|
- Sony ILCE-7M3
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 22 01:06:51 UTC 2018 - mrueckert@suse.de
|
||||||
|
|
||||||
|
- force gcc 7 on suse_version 1315 to get the new GCC flags working
|
||||||
|
in :Update
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 21 21:33:26 UTC 2018 - mrueckert@suse.de
|
||||||
|
|
||||||
|
- update to 2.4.2
|
||||||
|
- New Features
|
||||||
|
- Add presets to location search in map mode
|
||||||
|
- Add timestamps to the output of `-d` command line switches
|
||||||
|
- Add a compression level slider to the TIFF export module
|
||||||
|
- Add native binary NetPNM loading, without using
|
||||||
|
GraphicsMagick
|
||||||
|
- Add a battery indicator for people running darktable on a
|
||||||
|
laptop. This is not very portable code and disabled by
|
||||||
|
default
|
||||||
|
- Allow to use /? to show the help message on Windows
|
||||||
|
- Bugfixes
|
||||||
|
- Turn off smooth scrolling for X11/Quartz. That might help
|
||||||
|
with oversensitive scrolling
|
||||||
|
- Fix reading and writing of TIFFs with non-ASCII filenames on
|
||||||
|
Windows
|
||||||
|
- Ellipsize background job labels when too long
|
||||||
|
- Hard code D50 white point when exporting to OpenEXR
|
||||||
|
- Add tootips to the haze removal module
|
||||||
|
- Fix a crash when changing lenses while tethering
|
||||||
|
- Fix incorrect Atom CPU detection on Windows
|
||||||
|
- Revised performance configuration
|
||||||
|
- Don't overlay the colorbalance sliders on the left for a
|
||||||
|
cleaner look
|
||||||
|
- Honor local copy in copy export format
|
||||||
|
- Make trashing of files on Windows silent
|
||||||
|
- Fix string termination override on memmove
|
||||||
|
- Fix a use after free and some memleaks
|
||||||
|
- Fix a crash in PDF export
|
||||||
|
- Fix the min color picker
|
||||||
|
- Don't hardcode '/' in OpenCL paths on Windows
|
||||||
|
- Camera support, compared to 2.4.1
|
||||||
|
- Base Support
|
||||||
|
- Canon PowerShot G1 X Mark III
|
||||||
|
- Panasonic DMC-FZ2000 (3:2)
|
||||||
|
- Panasonic DMC-FZ2500 (3:2)
|
||||||
|
- Panasonic DMC-ZS100 (3:2)
|
||||||
|
- Sony DSC-RX0
|
||||||
|
- Sony DSC-RX10M4
|
||||||
|
- Noise Profiles
|
||||||
|
- Canon EOS 200D
|
||||||
|
- Canon EOS Kiss X9
|
||||||
|
- Canon EOS Rebel SL2
|
||||||
|
- Canon EOS 760D
|
||||||
|
- Canon EOS 8000D
|
||||||
|
- Canon EOS Rebel T6s
|
||||||
|
- Canon PowerShot G1 X Mark II
|
||||||
|
- Canon PowerShot G9 X
|
||||||
|
- Fujifilm X100F
|
||||||
|
- Nikon D850
|
||||||
|
- Panasonic DC-G9
|
||||||
|
- Panasonic DMC-GF6
|
||||||
|
- Panasonic DMC-LX10
|
||||||
|
- Panasonic DMC-LX15
|
||||||
|
- Panasonic DMC-LX9
|
||||||
|
- Panasonic DMC-TZ70
|
||||||
|
- Panasonic DMC-TZ71
|
||||||
|
- Panasonic DMC-ZS50
|
||||||
|
- Translations
|
||||||
|
- Dutch
|
||||||
|
- French
|
||||||
|
- German
|
||||||
|
- Hungarian
|
||||||
|
- Italian
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 22 16:45:21 UTC 2018 - mrueckert@suse.de
|
||||||
|
|
||||||
|
- update to 2.4.1
|
||||||
|
- New Features
|
||||||
|
- Allow to select the GUI language in the preferences
|
||||||
|
- Add a filter rule to the collect module to find locally
|
||||||
|
copied images
|
||||||
|
- Add favourite toggle to darkroom modules' right click popup
|
||||||
|
- Allow blending/masking in the hot pixels module
|
||||||
|
- Add keyboard shortcuts to zoom and pan an image in darkroom.
|
||||||
|
Panning uses the arrow keys, zooming defaults to `ctrl-` and
|
||||||
|
`ctrl+`. Use `alt` and `ctrl` to change the step size of
|
||||||
|
panning.
|
||||||
|
- Some minor speedups in the grain module
|
||||||
|
- Handling stdout on Windows: do not redirect stdout for simple
|
||||||
|
command line arguments (`--help` and `--version`)
|
||||||
|
- On Windows, show the location of the log file in the help
|
||||||
|
message
|
||||||
|
- Enable searching in the more modules list – click into the
|
||||||
|
list to give focus to it, then start typing. The default GTK
|
||||||
|
shortcut `ctrl-f` doesn't work as it's used for filmstrip
|
||||||
|
already
|
||||||
|
- Add a debug print when compiling OpenCL kernels
|
||||||
|
- Bugfixes
|
||||||
|
- Use the configured overwrite color profile when exporting
|
||||||
|
from Lua – this broke GIMP integration
|
||||||
|
- Support presets with `<` in their name
|
||||||
|
- Fix export to non-existing path with `\` as the path
|
||||||
|
separator on Windows
|
||||||
|
- Don't insist on the db being locked when it doesn't even
|
||||||
|
exist
|
||||||
|
- Don't touch the mix slider when resetting the curve in color
|
||||||
|
zones
|
||||||
|
- Fix a bug in the exposure module that would only allow
|
||||||
|
corrections of up to 10 stops
|
||||||
|
- Fix custom shortcuts with `shift` modifier
|
||||||
|
- Properly ellipsize text in the recently used collections list
|
||||||
|
- Fix exported galeries with filenames containing a `'`
|
||||||
|
- Fix finding mipmaps cache folder in `purge_from_cache.sh`
|
||||||
|
script
|
||||||
|
- Fix a crash in the recently used collections list due to a
|
||||||
|
broken config file
|
||||||
|
- Set the sqlite threading mode to Serialized
|
||||||
|
- Fix old export presets using OpenEXR
|
||||||
|
- Fix building with clang on Windows
|
||||||
|
- Changed Dependencies
|
||||||
|
- iso-codes version 3.66 or newer is suggested for a nicer list
|
||||||
|
of translations in the preferences.
|
||||||
|
- Camera support, compared to 2.4.0 Warning: support for Nikon
|
||||||
|
NEF 'lossy after split' raws was unintentionally broken due to
|
||||||
|
the lack of such samples. Please see
|
||||||
|
[this post](https://discuss.pixls.us/t/nikon-a-specific-raw-sample-wanted/5483?u=lebedevri)
|
||||||
|
for more details. If you have affected raws, please contribute
|
||||||
|
samples!
|
||||||
|
- Base Support
|
||||||
|
- Panasonic DC-G9 (4:3)
|
||||||
|
- Paralenz Dive Camera (chdk)
|
||||||
|
- Pentax KP
|
||||||
|
- Sjcam SJ6 LEGEND (chdk-b, chdk-c)
|
||||||
|
- White Balance Presets
|
||||||
|
- Leaf Credo 40
|
||||||
|
- Nikon D3400
|
||||||
|
- Olympus E-M1MarkII
|
||||||
|
- Panasonic DC-G9
|
||||||
|
- Sony ILCE-7RM3
|
||||||
|
- Noise Profiles
|
||||||
|
- Canon EOS 750D
|
||||||
|
- Canon EOS Kiss X8i
|
||||||
|
- Canon EOS Rebel T6i
|
||||||
|
- Canon EOS 77D
|
||||||
|
- Canon EOS 9000D
|
||||||
|
- Canon EOS M100
|
||||||
|
- Canon EOS M6
|
||||||
|
- Sony DSC-RX100M4
|
||||||
|
- YI TECHNOLOGY M1
|
||||||
|
- Translations
|
||||||
|
- Czech
|
||||||
|
- Dutch
|
||||||
|
- French
|
||||||
|
- German
|
||||||
|
- Hebrew
|
||||||
|
- Hungarian
|
||||||
|
- Italian
|
||||||
|
- Slovenian
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Dec 24 20:29:54 UTC 2017 - mrueckert@suse.de
|
||||||
|
|
||||||
|
- merge back in the fedora support
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Dec 24 11:34:51 UTC 2017 - mrueckert@suse.de
|
Sun Dec 24 11:34:51 UTC 2017 - mrueckert@suse.de
|
||||||
|
|
||||||
|
10
darktable.dsc
Normal file
10
darktable.dsc
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
Format: 3.0 (quilt)
|
||||||
|
Source: darktable
|
||||||
|
Binary: darktable
|
||||||
|
Architecture: any-amd64 any-arm64
|
||||||
|
Version: 2.4.3-1.1
|
||||||
|
Homepage: http://www.darktable.org/
|
||||||
|
Standards-Version: 3.9.8
|
||||||
|
Build-Depends: cmake, debhelper (>= 9), intltool, iso-codes, libcairo2-dev, libcolord-dev, libcolord-gtk-dev, libcups2-dev, libcurl4-gnutls-dev | libcurl-dev, libexiv2-dev, libflickcurl-dev, libglib2.0-dev, libgphoto2-dev, libgraphicsmagick1-dev, libgtk-3-dev, libjpeg-dev, libjson-glib-dev, liblcms2-dev, liblensfun-dev, liblua5.3-dev, libopenexr-dev, libopenjp2-7-dev, libosmgpsmap-1.0-dev, libpng-dev, libpugixml-dev, librsvg2-dev, libsecret-1-dev, libsoup2.4-dev, libsqlite3-dev, libtiff5-dev, libtiff-dev, libwebp-dev, xsltproc
|
||||||
|
Package-List:
|
||||||
|
darktable deb graphics optional arch=any-amd64,any-arm64
|
173
darktable.spec
173
darktable.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package darktable
|
# spec file for package darktable
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,9 +16,14 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%if 0%{?fedora_version}
|
||||||
|
%bcond_with basecurve_tool
|
||||||
|
%else
|
||||||
|
%bcond_without basecurve_tool
|
||||||
|
%endif
|
||||||
%bcond_with clang
|
%bcond_with clang
|
||||||
|
|
||||||
%if ( 0%{?suse_version} > 1310 && 0%{?is_opensuse} )
|
%if 0%{?is_opensuse} || 0%{?fedora_version} >= 26
|
||||||
%bcond_without osmgpsmap
|
%bcond_without osmgpsmap
|
||||||
%bcond_without flickcurl
|
%bcond_without flickcurl
|
||||||
%bcond_without translated_manpages
|
%bcond_without translated_manpages
|
||||||
@ -28,35 +33,45 @@
|
|||||||
%bcond_with translated_manpages
|
%bcond_with translated_manpages
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?suse_version} >= 1330
|
%if 0%{?suse_version} >= 1330 || 0%{?fedora_version} >= 26
|
||||||
%bcond_without system_lua
|
%bcond_without system_lua
|
||||||
%else
|
%else
|
||||||
%bcond_with system_lua
|
%bcond_with system_lua
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?suse_version} > 1320
|
%if 0%{?suse_version} > 1320 || 0%{?fedora_version} >= 26
|
||||||
%bcond_without system_opencl
|
%bcond_without system_opencl
|
||||||
%else
|
%else
|
||||||
%bcond_with system_opencl
|
%bcond_with system_opencl
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%define cmake_options -DCMAKE_SKIP_RPATH:BOOL=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBINARY_PACKAGE_BUILD=1 -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_INSTALL_LIBDIR="%{_lib}"
|
%global _libexec_subdir "lib"
|
||||||
|
%if 0%{?fedora_version}
|
||||||
|
%global _libexec_subdir "libexec"
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%define cmake_options -DCMAKE_SKIP_RPATH:BOOL=OFF -DCMAKE_BUILD_TYPE=Release -DBINARY_PACKAGE_BUILD=1 -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_INSTALL_LIBDIR="%{_lib}" -DCMAKE_INSTALL_LIBEXECDIR="%{_libexec_subdir}" -DBUILD_NOISE_TOOLS=ON
|
||||||
|
|
||||||
%if 0%{?suse_version} == 1315
|
%if 0%{?suse_version} == 1315
|
||||||
%define force_gcc_version 6
|
%define force_gcc_version 7
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: darktable
|
Name: darktable
|
||||||
Version: 2.4.0
|
Version: 2.4.3
|
||||||
Release: 0
|
Release: 0
|
||||||
%define pkg_version 2.4.0
|
%define pkg_name darktable
|
||||||
|
%define pkg_version 2.4.3
|
||||||
Url: http://www.darktable.org/
|
Url: http://www.darktable.org/
|
||||||
Source0: %{name}-%{pkg_version}.tar.xz
|
Source0: %{name}-%{pkg_version}.tar.xz
|
||||||
Source1: https://github.com/darktable-org/darktable/releases/download/release-2.0.0/darktable-usermanual.pdf
|
Source1: https://github.com/darktable-org/darktable/releases/download/release-2.0.0/darktable-usermanual.pdf
|
||||||
Source2: https://github.com/darktable-org/darktable/releases/download/release-2.0.0/darktable-usermanual-fr.pdf
|
Source2: https://github.com/darktable-org/darktable/releases/download/release-2.0.0/darktable-usermanual-fr.pdf
|
||||||
Source3: https://github.com/darktable-org/darktable/releases/download/release-2.0.0/darktable-usermanual-es.pdf
|
Source3: https://github.com/darktable-org/darktable/releases/download/release-2.0.0/darktable-usermanual-es.pdf
|
||||||
Source4: https://github.com/darktable-org/darktable/releases/download/release-2.0.0/darktable-lua-api.pdf
|
Source4: https://github.com/darktable-org/darktable/releases/download/release-2.0.0/darktable-lua-api.pdf
|
||||||
|
Source97: darktable.dsc
|
||||||
|
Source98: debian.tar.xz
|
||||||
Source99: README.openSUSE
|
Source99: README.openSUSE
|
||||||
Patch: darktable-old-glib.patch
|
Patch: darktable-old-glib.patch
|
||||||
|
Patch1: 887d55c.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
ExclusiveArch: x86_64 aarch64
|
ExclusiveArch: x86_64 aarch64
|
||||||
@ -65,6 +80,9 @@ BuildRequires: clang
|
|||||||
BuildRequires: cmake >= 3
|
BuildRequires: cmake >= 3
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: llvm-devel
|
BuildRequires: llvm-devel
|
||||||
|
%if 0%{?fedora_version}
|
||||||
|
BuildRequires: llvm-static
|
||||||
|
%endif
|
||||||
%if ! %{with clang}
|
%if ! %{with clang}
|
||||||
BuildRequires: gcc%{?force_gcc_version}-c++ >= 5
|
BuildRequires: gcc%{?force_gcc_version}-c++ >= 5
|
||||||
%if 0%{?force_gcc_version}
|
%if 0%{?force_gcc_version}
|
||||||
@ -110,6 +128,7 @@ BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
|||||||
BuildRequires: pkgconfig(gio-2.0)
|
BuildRequires: pkgconfig(gio-2.0)
|
||||||
BuildRequires: pkgconfig(glib-2.0)
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
BuildRequires: pkgconfig(gtk+-3.0)
|
BuildRequires: pkgconfig(gtk+-3.0)
|
||||||
|
BuildRequires: pkgconfig(iso-codes)
|
||||||
BuildRequires: pkgconfig(json-glib-1.0)
|
BuildRequires: pkgconfig(json-glib-1.0)
|
||||||
BuildRequires: pkgconfig(lcms2)
|
BuildRequires: pkgconfig(lcms2)
|
||||||
BuildRequires: pkgconfig(lensfun)
|
BuildRequires: pkgconfig(lensfun)
|
||||||
@ -127,9 +146,12 @@ BuildRequires: pkgconfig(sqlite3)
|
|||||||
%if %{with system_opencl}
|
%if %{with system_opencl}
|
||||||
BuildRequires: opencl-headers
|
BuildRequires: opencl-headers
|
||||||
%endif
|
%endif
|
||||||
|
# for the sake of simplicity we do not enforce the version here
|
||||||
|
# the package is small enough that installing it doesnt hurt
|
||||||
|
Requires: iso-codes
|
||||||
#
|
#
|
||||||
Summary: A virtual Lighttable and Darkroom
|
Summary: A virtual Lighttable and Darkroom
|
||||||
License: GPL-3.0+
|
License: GPL-3.0-or-later
|
||||||
Group: Productivity/Graphics/Viewers
|
Group: Productivity/Graphics/Viewers
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -137,6 +159,7 @@ darktable is a virtual lighttable and darkroom for photographers: it manages
|
|||||||
your digital negatives in a database and lets you view them through a zoomable
|
your digital negatives in a database and lets you view them through a zoomable
|
||||||
lighttable. it also enables you to develop raw images and enhance them.
|
lighttable. it also enables you to develop raw images and enhance them.
|
||||||
|
|
||||||
|
%if %{with basecurve_tool}
|
||||||
%package tools-basecurve
|
%package tools-basecurve
|
||||||
Summary: The basecurve tool from tools/basecurve/
|
Summary: The basecurve tool from tools/basecurve/
|
||||||
Group: Productivity/Graphics/Viewers
|
Group: Productivity/Graphics/Viewers
|
||||||
@ -152,6 +175,20 @@ lighttable. it also enables you to develop raw images and enhance them.
|
|||||||
This package provides the basecurve tool from tools/basecurve/.
|
This package provides the basecurve tool from tools/basecurve/.
|
||||||
Another option to solve the same problem might be the darktable-chart module
|
Another option to solve the same problem might be the darktable-chart module
|
||||||
from the darktable package.
|
from the darktable package.
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%package tools-noise
|
||||||
|
Summary: The noise profiling tools to support new cameras
|
||||||
|
Group: Productivity/Graphics/Viewers
|
||||||
|
Requires: /usr/bin/convert
|
||||||
|
Requires: gnuplot
|
||||||
|
|
||||||
|
%description tools-noise
|
||||||
|
darktable is a virtual lighttable and darkroom for photographers: it manages
|
||||||
|
your digital negatives in a database and lets you view them through a zoomable
|
||||||
|
lighttable. it also enables you to develop raw images and enhance them.
|
||||||
|
|
||||||
|
This package provides the noise profiling tools to add support for new cameras.
|
||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
Summary: A virtual Lighttable and Darkroom
|
Summary: A virtual Lighttable and Darkroom
|
||||||
@ -168,7 +205,8 @@ This package provides the user manual in pdf format
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
%patch -p1
|
%patch -p1
|
||||||
chmod -x tools/create_control_svg.sh tools/purge_non_existing_images.sh tools/basecurve/* tools/noise/*
|
%patch1 -p1
|
||||||
|
chmod -x tools/basecurve/* tools/noise/*
|
||||||
|
|
||||||
cp %{S:1} %{S:2} %{S:3} %{S:4} .
|
cp %{S:1} %{S:2} %{S:3} %{S:4} .
|
||||||
cp %{S:99} .
|
cp %{S:99} .
|
||||||
@ -195,51 +233,99 @@ export CC="/usr/bin/clang"
|
|||||||
export CXX="/usr/bin/clang++"
|
export CXX="/usr/bin/clang++"
|
||||||
%endif
|
%endif
|
||||||
export _OPENCL_INCLUDE_DIR=$(clang -print-search-dirs | awk -F= '/^libra/ {print $2}' | awk -F: '{print $1 "/include"}')
|
export _OPENCL_INCLUDE_DIR=$(clang -print-search-dirs | awk -F= '/^libra/ {print $2}' | awk -F: '{print $1 "/include"}')
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
#suse branch
|
||||||
%cmake \
|
%cmake \
|
||||||
-DCLANG_OPENCL_INCLUDE_DIR=${_OPENCL_INCLUDE_DIR} \
|
-DCLANG_OPENCL_INCLUDE_DIR=${_OPENCL_INCLUDE_DIR} \
|
||||||
%if ! %{with system_lua}
|
%if ! %{with system_lua}
|
||||||
-DDONT_USE_INTERNAL_LUA=Off \
|
-DDONT_USE_INTERNAL_LUA=Off \
|
||||||
%endif
|
%endif
|
||||||
|
%ifarch aarch64
|
||||||
|
-DTESTBUILD_OPENCL_PROGRAMS=OFF \
|
||||||
|
%endif
|
||||||
%{cmake_options} \
|
%{cmake_options} \
|
||||||
|| cat CMakeFiles/CMakeError.log
|
|| cat CMakeFiles/CMakeError.log
|
||||||
make %{_smp_mflags} VERBOSE=1
|
make %{_smp_mflags} VERBOSE=1
|
||||||
cd $BUILDDIR
|
cd $BUILDDIR
|
||||||
|
|
||||||
pushd tools/basecurve
|
cd tools/basecurve
|
||||||
%cmake
|
%cmake
|
||||||
make %{_smp_mflags} VERBOSE=1
|
make %{_smp_mflags} VERBOSE=1
|
||||||
|
#/ suse branch
|
||||||
|
%else
|
||||||
|
#fedora branch
|
||||||
|
mkdir %{_target_platform}
|
||||||
|
pushd %{_target_platform}
|
||||||
|
%cmake \
|
||||||
|
%if ! %{with system_lua}
|
||||||
|
-DDONT_USE_INTERNAL_LUA=Off \
|
||||||
|
%endif
|
||||||
|
%ifarch aarch64
|
||||||
|
-DTESTBUILD_OPENCL_PROGRAMS=OFF \
|
||||||
|
%endif
|
||||||
|
%{cmake_options} ..
|
||||||
|
make %{_smp_mflags} VERBOSE=1
|
||||||
|
cd $BUILDDIR
|
||||||
|
|
||||||
|
%if %{with basecurve_tool}
|
||||||
|
cd tools/basecurve
|
||||||
|
mkdir %{_target_platform}
|
||||||
|
pushd %{_target_platform}
|
||||||
|
%cmake ..
|
||||||
|
make %{_smp_mflags} VERBOSE=1
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
cd $BUILDDIR
|
cd $BUILDDIR
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
# suse branch
|
||||||
%cmake_install
|
%cmake_install
|
||||||
|
%if %{with basecurve_tool}
|
||||||
pushd tools/basecurve
|
pushd tools/basecurve
|
||||||
%cmake_install
|
%cmake_install
|
||||||
popd
|
popd
|
||||||
|
%endif
|
||||||
%suse_update_desktop_file darktable
|
%suse_update_desktop_file darktable
|
||||||
|
|
||||||
|
mkdir -p %{buildroot}%{_defaultdocdir}/%{pkg_name}/
|
||||||
|
mv %{buildroot}%{_datadir}/doc/darktable/* %{buildroot}%{_defaultdocdir}/%{pkg_name}/
|
||||||
|
#/ suse branch
|
||||||
|
%else
|
||||||
|
# fedora branch
|
||||||
|
make install DESTDIR="%{buildroot}" -C %{_target_platform}
|
||||||
|
%if %{with basecurve_tool}
|
||||||
|
make install DESTDIR="%{buildroot}" -C tools/basecurve/%{_target_platform}
|
||||||
|
%endif
|
||||||
|
#/ fedora branch
|
||||||
|
%endif
|
||||||
find %{buildroot}%{_libdir} -name "*.la" -delete
|
find %{buildroot}%{_libdir} -name "*.la" -delete
|
||||||
%find_lang darktable
|
%find_lang darktable
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_defaultdocdir}/%{name}/tools/
|
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_defaultdocdir}/%{name}/tools/basecurve/
|
|
||||||
|
|
||||||
mv %{buildroot}%{_datadir}/doc/darktable/* %{buildroot}%{_defaultdocdir}/%{name}/
|
|
||||||
|
|
||||||
cp -av %{S:2} doc/ChangeLog doc/NEWS \
|
cp -av %{S:2} doc/ChangeLog doc/NEWS \
|
||||||
doc/thumbnail_color_management.txt \
|
doc/thumbnail_color_management.txt \
|
||||||
doc/TODO doc/TRANSLATORS \
|
doc/TODO doc/TRANSLATORS.md \
|
||||||
%{buildroot}%{_defaultdocdir}/%{name}
|
%{buildroot}%{_defaultdocdir}/%{pkg_name}
|
||||||
|
|
||||||
cp -av tools/purge* \
|
mkdir -p %{buildroot}%{_defaultdocdir}/%{pkg_name}/tools/ %{buildroot}%{_datadir}/%{pkg_name}/tools/
|
||||||
%{buildroot}%{_defaultdocdir}/%{name}/tools/
|
|
||||||
|
|
||||||
cp -av tools/basecurve/plot* tools/basecurve/README.md \
|
cp -av tools/purge* tools/common.sh \
|
||||||
%{buildroot}%{_defaultdocdir}/%{name}/tools/basecurve/
|
%{buildroot}%{_datadir}/%{pkg_name}/tools/
|
||||||
|
|
||||||
|
%if %{with basecurve_tool}
|
||||||
|
mkdir -p %{buildroot}%{_datadir}/%{pkg_name}/tools/basecurve/
|
||||||
|
cp -av tools/basecurve/plot* \
|
||||||
|
%{buildroot}%{_datadir}/%{pkg_name}/tools/basecurve/
|
||||||
|
|
||||||
|
install -D -m 0644 tools/basecurve/README.md \
|
||||||
|
%{buildroot}%{_defaultdocdir}/%{pkg_name}/README.tools.basecurve.md
|
||||||
|
%endif
|
||||||
|
|
||||||
%fdupes %{buildroot}
|
%fdupes %{buildroot}
|
||||||
|
|
||||||
|
%if 0%{?suse_version}
|
||||||
# on newer distros it is handled via file trigger
|
# on newer distros it is handled via file trigger
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} < 1500
|
%if 0%{?suse_version} < 1500
|
||||||
%post
|
%post
|
||||||
%desktop_database_post
|
%desktop_database_post
|
||||||
%icon_theme_cache_post
|
%icon_theme_cache_post
|
||||||
@ -248,12 +334,28 @@ cp -av tools/basecurve/plot* tools/basecurve/README.md \
|
|||||||
%desktop_database_postun
|
%desktop_database_postun
|
||||||
%icon_theme_cache_postun
|
%icon_theme_cache_postun
|
||||||
%endif
|
%endif
|
||||||
|
%else
|
||||||
|
%post
|
||||||
|
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
||||||
|
|
||||||
|
%postun
|
||||||
|
update-desktop-database &> /dev/null || :
|
||||||
|
if [ $1 -eq 0 ] ; then
|
||||||
|
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
||||||
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||||
|
fi
|
||||||
|
|
||||||
|
%posttrans
|
||||||
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||||
|
%endif
|
||||||
|
|
||||||
%files -f darktable.lang
|
%files -f darktable.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc %{_defaultdocdir}/%{name}
|
%doc %{_defaultdocdir}/%{pkg_name}
|
||||||
%exclude %{_defaultdocdir}/%{name}/*.pdf
|
%exclude %{_defaultdocdir}/%{pkg_name}/*.pdf
|
||||||
%exclude %{_defaultdocdir}/%{name}/tools/basecurve/
|
%if %{with basecurve_tool}
|
||||||
|
%exclude %{_defaultdocdir}/%{pkg_name}/README.tools.basecurve.md
|
||||||
|
%endif
|
||||||
%{_bindir}/darktable
|
%{_bindir}/darktable
|
||||||
%{_bindir}/darktable-cltest
|
%{_bindir}/darktable-cltest
|
||||||
%{_bindir}/darktable-cli
|
%{_bindir}/darktable-cli
|
||||||
@ -264,6 +366,7 @@ cp -av tools/basecurve/plot* tools/basecurve/README.md \
|
|||||||
%{_libdir}/darktable
|
%{_libdir}/darktable
|
||||||
%{_datadir}/applications/darktable.desktop
|
%{_datadir}/applications/darktable.desktop
|
||||||
%{_datadir}/darktable
|
%{_datadir}/darktable
|
||||||
|
%exclude %{_datadir}/%{pkg_name}/tools/basecurve/
|
||||||
%dir %{_datadir}/appdata
|
%dir %{_datadir}/appdata
|
||||||
%{_datadir}/appdata/darktable.appdata.xml
|
%{_datadir}/appdata/darktable.appdata.xml
|
||||||
%{_datadir}/icons/hicolor/*/apps/darktable*
|
%{_datadir}/icons/hicolor/*/apps/darktable*
|
||||||
@ -272,14 +375,26 @@ cp -av tools/basecurve/plot* tools/basecurve/README.md \
|
|||||||
%{_mandir}/*/man1/darktable*.1*
|
%{_mandir}/*/man1/darktable*.1*
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if %{with basecurve_tool}
|
||||||
%files tools-basecurve
|
%files tools-basecurve
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/dt-curve-tool
|
%{_bindir}/dt-curve-tool
|
||||||
%{_bindir}/dt-curve-tool-helper
|
%{_bindir}/dt-curve-tool-helper
|
||||||
%doc %{_defaultdocdir}/%{name}/tools/basecurve/
|
%{_datadir}/%{pkg_name}/tools/basecurve/
|
||||||
|
%doc %{_defaultdocdir}/%{pkg_name}/README.tools.basecurve.md
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files tools-noise
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_libexecdir}/darktable
|
||||||
|
%dir %{_libexecdir}/darktable/tools
|
||||||
|
%{_libexecdir}/darktable/tools/darktable-gen-noiseprofile
|
||||||
|
%{_libexecdir}/darktable/tools/darktable-noiseprofile
|
||||||
|
%{_libexecdir}/darktable/tools/profiling-shot.xmp
|
||||||
|
%{_libexecdir}/darktable/tools/subr.sh
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_defaultdocdir}/%{name}/*.pdf
|
%{_defaultdocdir}/%{pkg_name}/*.pdf
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
3
debian.tar.xz
Normal file
3
debian.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a3bae73f6e01d830fe5020683eeb07c3d65ad9dd54cf7c9f62d241abc0312d3f
|
||||||
|
size 19816
|
Loading…
Reference in New Issue
Block a user