]> git.pld-linux.org Git - packages/darktable.git/commitdiff
fix librsvg header deprecation auto/th/darktable-1.0.5-2
authorElan Ruusamäe <glen@delfi.ee>
Sat, 1 Sep 2012 20:35:10 +0000 (23:35 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sat, 1 Sep 2012 20:35:10 +0000 (23:35 +0300)
Including <librsvg/rsvg-cairo.h> directly is deprecated.

darktable.spec
librsvg-headers.patch [new file with mode: 0644]

index 133e3b10347d616097c016a166fc79d88a2a9b4c..710d72fe005b4ca2c0393fc0cf7202dc142451ac 100644 (file)
@@ -6,12 +6,13 @@ Summary:      darktable is a virtual lighttable and darkroom for photographers
 Summary(pl.UTF-8):     darktable to wirtualny podświetlany stół i ciemnia dla fotografów
 Name:          darktable
 Version:       1.0.5
 Summary(pl.UTF-8):     darktable to wirtualny podświetlany stół i ciemnia dla fotografów
 Name:          darktable
 Version:       1.0.5
-Release:       1
+Release:       2
 License:       GPL v3
 Group:         X11/Applications/Graphics
 Source0:       http://downloads.sourceforge.net/darktable/%{name}-%{version}.tar.gz
 # Source0-md5: 9ad88a1a6b9761fce28c8073d8f47941
 Patch0:                cmake-glib.patch
 License:       GPL v3
 Group:         X11/Applications/Graphics
 Source0:       http://downloads.sourceforge.net/darktable/%{name}-%{version}.tar.gz
 # Source0-md5: 9ad88a1a6b9761fce28c8073d8f47941
 Patch0:                cmake-glib.patch
+Patch1:                librsvg-headers.patch
 URL:           http://darktable.sourceforge.net/
 BuildRequires: GConf2
 BuildRequires: GConf2-devel
 URL:           http://darktable.sourceforge.net/
 BuildRequires: GConf2
 BuildRequires: GConf2-devel
@@ -60,6 +61,7 @@ darktable to wirtualny podświetlany stół i ciemnia dla fotografów
 %prep
 %setup -q
 %patch0 -p1
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 install -d build
 
 %build
 install -d build
diff --git a/librsvg-headers.patch b/librsvg-headers.patch
new file mode 100644 (file)
index 0000000..bd11baa
--- /dev/null
@@ -0,0 +1,11 @@
+--- darktable-1.0.5/src/iop/watermark.c~       2012-07-21 13:44:08.000000000 +0300
++++ darktable-1.0.5/src/iop/watermark.c        2012-09-01 23:32:58.391794753 +0300
+@@ -38,7 +38,7 @@
+ #include <inttypes.h>
+ #include <librsvg/rsvg.h>
+-#include <librsvg/rsvg-cairo.h>
++#include <cairo.h>
+ #include "common/metadata.h"
+ #include "common/utility.h"
This page took 0.15907 seconds and 4 git commands to generate.