b5a7d4cba0
- Update to release 1.1.4 This is bugfix release no new features are introduced. * Fix tooltip style definition in darktable.gtkrc. * colorspaces: avoid trademark issues * colorspaces: workaround horrible brokenness of some printshops * colorspaces: actually cprt is a required icc tag * thumbs: use mip always > image size, not closest. * wb_presets: Nikon D3200 (stolen from UFRaw) * wb_presets: SONY SLT-A77V * wb_presets: Panasonic DMC-G5 (thanks to thouks) * wb_presets: Pentax K-5 II s (thanks to Jack Bowling) * wb_presets: Nikon D800(E) update * rawspeed: minor fix for LX7 in 3:2 mode * rawspeed: support Panasonic DMC-LX7 16:9 and 1:1 aspect ratio modes * rawspeed: support Panasonic DMC-LX7 3:2 aspect ratio mode * rawspeed: Preliminary support for the PENTAX K-5 II s * rawspeed: added Panasonic DMC-G5 1:1/16:9 modes * rawspeed: Nikon 1 S1 support * rawspeed: Nikon 1 J3 support * rawspeed: Nikon Coolpix P7100 blackpoint fix (thanks to nesthib) * Fix base curve presets for Canon on Spanish locale * Fix #9205: Read metadata from non-dt XMPs * blend: fix edge case in color blend mode * redraw: remove now obsolete flood stopping. * redraw: allow more redraws per second. * redraw signal: simplify the locking logic somewhat. * pack blendif settings a little bit closer in GUI * cache: have full buffers according to potentially exporting threads * lens correction: fix for #9270 * opencl: work around a bug in some OpenCL drivers (forwarded request 158643 from toganm) OBS-URL: https://build.opensuse.org/request/show/158644 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/darktable?expand=0&rev=25
132 lines
4.3 KiB
RPMSpec
132 lines
4.3 KiB
RPMSpec
#
|
|
# spec file for package darktable
|
|
#
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: darktable
|
|
Version: 1.1.4
|
|
Release: 0
|
|
Url: http://darktable.sourceforge.net
|
|
Source0: https://downloads.sourceforge.net/project/darktable/darktable/1.1/darktable-%{version}.tar.xz
|
|
Source1: http://downloads.sourceforge.net/project/darktable/darktable/1.1/darktable-usermanual-1.1.2.pdf
|
|
# PATCH-FIX-UPSTREAM 0001-Fix-svg-uses-premultiplied-alpha-we-didn-t-respect-t.patch Max Killer <hal.from.2001@gmail.com>
|
|
Patch0: 0001-Fix-svg-uses-premultiplied-alpha-we-didn-t-respect-t.patch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildRequires: cmake
|
|
BuildRequires: dbus-1-glib-devel
|
|
BuildRequires: fdupes
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: intltool
|
|
BuildRequires: lensfun-devel
|
|
BuildRequires: libjpeg-devel
|
|
BuildRequires: libtiff-devel
|
|
BuildRequires: libxslt
|
|
BuildRequires: pkg-config
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: pkgconfig(OpenEXR)
|
|
BuildRequires: pkgconfig(colord)
|
|
BuildRequires: pkgconfig(dri)
|
|
BuildRequires: pkgconfig(exiv2)
|
|
BuildRequires: pkgconfig(flickcurl)
|
|
BuildRequires: pkgconfig(gnome-keyring-1)
|
|
BuildRequires: pkgconfig(gtk+-2.0)
|
|
BuildRequires: pkgconfig(json-glib-1.0)
|
|
BuildRequires: pkgconfig(lcms2)
|
|
BuildRequires: pkgconfig(libcurl)
|
|
BuildRequires: pkgconfig(libglade-2.0)
|
|
BuildRequires: pkgconfig(libgphoto2)
|
|
BuildRequires: pkgconfig(librsvg-2.0)
|
|
BuildRequires: pkgconfig(libsoup-2.4)
|
|
BuildRequires: pkgconfig(sdl)
|
|
BuildRequires: pkgconfig(sqlite3)
|
|
ExclusiveArch: %ix86 x86_64
|
|
%if 0%{?suse_version} == 1210
|
|
BuildRequires: xz
|
|
%endif
|
|
|
|
Summary: A virtual Lighttable and Darkroom
|
|
License: GPL-3.0+
|
|
Group: Productivity/Graphics/Viewers
|
|
|
|
%description
|
|
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.
|
|
|
|
%package doc
|
|
Summary: A virtual Lighttable and Darkroom
|
|
Group: Productivity/Graphics/Viewers
|
|
|
|
%description doc
|
|
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 user manual in pdf format
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1
|
|
chmod -x tools/create_control_svg.sh tools/purge_non_existing_images.sh
|
|
cp %{S:1} darktable-usermanual.pdf
|
|
|
|
%build
|
|
[ ! -d "build" ] && mkdir build
|
|
cd build
|
|
|
|
export CXXFLAGS="%{optflags} -fno-strict-aliasing "
|
|
export CFLAGS="$CXXFLAGS"
|
|
|
|
cmake \
|
|
-DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_INSTALL=%{_lib} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DBINARY_PACKAGE_BUILD=1 \
|
|
-DUSE_XMLLINT=OFF \
|
|
-DINSTALL_IOP_EXPERIMENTAL=On ..
|
|
%__make %{_smp_mflags} VERBOSE=1
|
|
|
|
%install
|
|
cd build
|
|
%make_install
|
|
cd ..
|
|
%suse_update_desktop_file darktable
|
|
find %{buildroot}%{_libdir} -name "*.la" -delete
|
|
%find_lang darktable
|
|
|
|
%__mkdir_p %{buildroot}%{_defaultdocdir}
|
|
%__mv %{buildroot}%{_datadir}/doc/darktable %{buildroot}%{_defaultdocdir}
|
|
|
|
%fdupes %{buildroot}
|
|
|
|
%files -f darktable.lang
|
|
%defattr(-,root,root)
|
|
%doc doc/AUTHORS doc/TODO doc/LICENSE tools/purge_non_existing_images.sh tools/create_control_svg.sh
|
|
%{_bindir}/darktable
|
|
%{_bindir}/darktable-cltest
|
|
%{_bindir}/darktable-cli
|
|
%{_bindir}/darktable-viewer
|
|
%{_libdir}/darktable
|
|
%{_datadir}/applications/darktable.desktop
|
|
%{_datadir}/darktable
|
|
%{_datadir}/icons/hicolor/*/apps/darktable.*
|
|
%{_mandir}/man1/darktable.1.*
|
|
|
|
%files doc
|
|
%defattr(-,root,root)
|
|
%doc darktable-usermanual.pdf
|
|
|
|
%changelog
|