Accepting request 77913 from graphics

darktable is a photography workflow application; 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.

OBS-URL: https://build.opensuse.org/request/show/77913
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/darktable?expand=0&rev=1
This commit is contained in:
Sascha Peilicke 2011-08-04 10:36:12 +00:00 committed by Git OBS Bridge
commit f81d07e6b2
6 changed files with 265 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,32 @@
From cb710267cd2754f01776d625368ce350f87b6d68 Mon Sep 17 00:00:00 2001
From: Tobias Ellinghaus <houz@gmx.de>
Date: Mon, 25 Jul 2011 22:50:53 +0200
Subject: [PATCH 1/1] Remove dependancy on git
Building a tgz package created using "make pkgsrc" didn't have a correct
build/src/accelstrings_gen.h as the script creating that file used
"git grep" which doesn't work when not inside of a git tree. Instead, we
now use "git -r".
---
tools/create_accel_strings.sh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/create_accel_strings.sh b/tools/create_accel_strings.sh
index 1658dbb..b86e557 100755
--- a/tools/create_accel_strings.sh
+++ b/tools/create_accel_strings.sh
@@ -1,9 +1,9 @@
#!/bin/sh
# Finding all the module names
-modules=`git grep 'add_library( *[a-zA-Z0-9]\+ *MODULE *[^)]\+' | \
+modules=`grep -r 'add_library( *[a-zA-Z0-9]\+ *MODULE *[^)]\+' $1 | \
sed 's/[^:]*:[^a]*add_library( *\([^ ]\+\).*/\1/p' | sort | uniq`
-words=`git grep '\"<Darktable>' $1 | \
+words=`grep -r '\"<Darktable>' $1 | \
sed 's/[^"]*"\([^"]\+\)"[^"]*/\1/' | tr '/' '\n' | \
sort | uniq`
--
1.7.1

3
darktable-0.9.1.tar.bz2 Normal file
View File

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

101
darktable.changes Normal file
View File

@ -0,0 +1,101 @@
-------------------------------------------------------------------
Tue Jul 26 07:14:25 UTC 2011 - toganm@opensuse.org
- Updated to bugfix release 0.9.1
+ new rawspeed, dcraw, libraw
+ fixed various segfaults and deadlocks
+ the pipeline is now more real HDR (no more gamut clipping in
between)
+ fixed a nasty bug which could cause complete loss of history
for an image
+ darktable-faster now plays nicely with darktablerc (non-gconf)
+ lots of opencl improvements
+ updated translations
+ second part of our GSoC: customizable keyboard shortcuts!
-------------------------------------------------------------------
Tue Jul 5 13:56:48 UTC 2011 - toganm@opensuse.org
-Release 0.9:
+ run-time switchable opencl to exploit all the power of your GPU
whenever you decide to install the driver
+ many new plugins, including a spot removal tool, better denoising
(on raw pixels and non-local means) and many more
+ blend operations, overlay your plugin only 20 percent if you want
+ spot removal tool
+ low light vision tool
+ non-local-means denoising (relatively fast for nlmeans, but still
slow)
+ first part of the google summer of code project
already merged
+ framing plugin (adds postcard borders to match
given aspect ratio)
+ tonemapping a lot faster now (probably the fastest high-dimensional
bilateral filter)
+ changed images come with the darktable|changed tag
- removed darktable-08 related patches as they are now in the upstream
- use RPM optflags
-------------------------------------------------------------------
Fri Jun 17 16:14:09 UTC 2011 - fcrozat@suse.com
- Add darktable-0.8-unused_variables.patch and
darktable-0.8-clean_up_set_but_unused_variables.patch to fix
build with gcc 4.6
- Add darktable-0.8-default_generic_optimizations.patch and
darktable-0.8-binary_package_build.patch: don't optimize build
for build system.
- Ensure package is build with debuginfo.
-------------------------------------------------------------------
Fri Jun 10 13:39:01 UTC 2011 - fcrozat@suse.com
- Add libflickcurl-devel BuildRequires to get Flickr upload
support.
-------------------------------------------------------------------
Thu Mar 3 23:20:59 UTC 2011 - toganm@opensuse.org
- Fix building for x86_64
-------------------------------------------------------------------
Wed Feb 23 16:45:28 UTC 2011 - fcrozat@novell.com
- Release 0.8:
+ much faster image loading due to rawspeed, an awesome new
library by klaus post @rawstudio
+ lots of performance improvements in our caches and pixel
pipelines (together with the above like 5x--10x)
+ gpu computing using opencl (for graphics boards that support
it) for a lot of common plugins, to give a huge performance
boost
+ overhauled collection plugin for more flexible image
collections
+ metadata editor (set author and copyright information etc)
+ fast demosaicing now done on roi and in floating point
+ HDR bracketing and tone mapping (somewhat experimental)
+ flickr upload
+ lots of new color matrices and white balance presets
+ lots of bugfixes
+ Updated translations
-------------------------------------------------------------------
Mon Dec 13 13:53:26 UTC 2010 - fcrozat@novell.com
- Release 0.7.1 :
* some more white balance presets
* layout fixes for overlong profile names
* styles now actually work
-------------------------------------------------------------------
Tue Nov 23 16:04:01 UTC 2010 - bitshuffler@opensuse.org
- Update to 0.7.
-------------------------------------------------------------------
Wed Sep 1 17:52:38 UTC 2010 - bitshuffler@opensuse.org
- Initial package

105
darktable.spec Normal file
View File

@ -0,0 +1,105 @@
# norootforbuild
Name: darktable
Version: 0.9.1
Release: 0
License: GPLv3+
Group: Productivity/Graphics/Viewers
Url: http://darktable.sourceforge.net
Source0: %{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM 0001-Remove-dependancy-on-git.patch
# Tobias Ellinghaus # <houz@gmx.de>
# Backported from git fixing accelstrings_gen.h
Patch0: 0001-Remove-dependancy-on-git.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: gconf2-devel
BuildRequires: gnome-keyring-devel
BuildRequires: gtk2-devel
BuildRequires: intltool
BuildRequires: lensfun-devel
BuildRequires: libcurl-devel
BuildRequires: libexiv2-devel
BuildRequires: libflickcurl-devel
BuildRequires: libglade2-devel
BuildRequires: libgphoto2-devel
BuildRequires: libjpeg-devel
BuildRequires: liblcms2-devel
BuildRequires: librsvg-devel
BuildRequires: libtiff-devel
BuildRequires: OpenEXR-devel
BuildRequires: pkg-config
BuildRequires: sqlite3-devel
BuildRequires: update-desktop-files
BuildRequires: fdupes
Summary: A virtual Lighttable and Darkroom
%gconf_schemas_requires
%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.
%prep
%setup -q
%patch0 -p1
%build
[ ! -d "build" ] && mkdir build
cd build
export CXXFLAGS="%{optflags} -fno-strict-aliasing "
export CFLAGS="$CXXFLAGS"
cmake \
-DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_INSTALL=%{_lib} \
-DDONT_INSTALL_GCONF_SCHEMAS:BOOLEAN=ON \
-DCMAKE_BUILD_TYPE=Release \
-DBINARY_PACKAGE_BUILD=1 \
-DINSTALL_IOP_EXPERIMENTAL=Off -DINSTALL_IOP_LEGACY=Off ..
%__make %{_smp_mflags} VERBOSE=1
%install
cd build
%make_install
cd ..
%__mkdir_p %{buildroot}%{_sysconfdir}/gconf/schemas
install -m644 data/darktable.schemas %{buildroot}%{_sysconfdir}/gconf/schemas
%suse_update_desktop_file darktable
find %{buildroot}%{_libdir} -name "*.la" -delete
%find_lang darktable
%find_gconf_schemas
cat darktable.schemas_list >> darktable.lang
%__mkdir_p %{buildroot}%{_defaultdocdir}
%__mv %{buildroot}%{_datadir}/doc/darktable %{buildroot}%{_defaultdocdir}
%fdupes %{buildroot}
%clean
test "%{buildroot}" != "/" && %__rm -rf %{buildroot}
%pre -f %{name}.schemas_pre
%preun -f %{name}.schemas_preun
%posttrans -f %{name}.schemas_posttrans
%files -f darktable.lang
%defattr(-,root,root)
%doc doc/AUTHORS doc/TODO doc/LICENSE
%{_bindir}/darktable
%{_bindir}/darktable-cltest
%{_bindir}/darktable-faster
%{_libdir}/darktable
%{_datadir}/applications/darktable.desktop
%{_datadir}/darktable
%{_datadir}/icons/hicolor/*/apps/darktable.*
%{_mandir}/man1/darktable.1.*