]> git.pld-linux.org Git - packages/eog.git/commitdiff
- lower bullshit librsvg version dependency, eog builds and works with older (C-based... auto/th/eog-3.34.1-1
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 24 Oct 2019 22:42:27 +0000 (00:42 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 24 Oct 2019 22:42:27 +0000 (00:42 +0200)
eog.spec
librsvg.patch [new file with mode: 0644]

index 3e6ffab4f5fec0b79f41893667483c6559d70faa..7fc1586153bb3ca9a04d60cf8b9dc568972a8042 100644 (file)
--- a/eog.spec
+++ b/eog.spec
@@ -13,6 +13,7 @@ License:      GPL v2+
 Group:         X11/Applications/Graphics
 Source0:       http://ftp.gnome.org/pub/GNOME/sources/eog/3.34/%{name}-%{version}.tar.xz
 # Source0-md5: f68762ed4cc6306e52cc8528257adf65
+Patch0:                librsvg.patch
 URL:           https://wiki.gnome.org/Apps/EyeOfGnome
 BuildRequires: docbook-dtd412-xml
 BuildRequires: exempi-devel >= 1.99.5
@@ -28,7 +29,7 @@ BuildRequires:        lcms2-devel >= 2
 BuildRequires: libexif-devel >= 1:0.6.14
 BuildRequires: libjpeg-turbo-devel
 BuildRequires: libpeas-gtk-devel >= 1.0.0
-%{?with_librsvg:BuildRequires: librsvg-devel >= 2.44.0}
+%{?with_librsvg:BuildRequires: librsvg-devel >= 2.40.0}
 BuildRequires: meson >= 0.50.0
 BuildRequires: ninja >= 1.5
 BuildRequires: pkgconfig >= 1:0.9.0
@@ -94,6 +95,7 @@ Dokumentacja API Eye of GNOME.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %meson build \
diff --git a/librsvg.patch b/librsvg.patch
new file mode 100644 (file)
index 0000000..4bfdf80
--- /dev/null
@@ -0,0 +1,11 @@
+--- eog-3.34.1/meson.build~    2019-10-07 21:08:34.000000000 +0200
++++ eog-3.34.1/meson.build     2019-10-25 00:38:30.775797693 +0200
+@@ -182,7 +182,7 @@
+ # RSVG (optional for scaling svg image)
+ enable_librsvg = get_option('librsvg')
+ if enable_librsvg
+-  common_deps += dependency('librsvg-2.0', version: '>= 2.44.0')
++  common_deps += dependency('librsvg-2.0', version: '>= 2.40.0')
+ endif
+ config_h.set('HAVE_RSVG', enable_librsvg)
This page took 0.269092 seconds and 4 git commands to generate.