[packages/eog] - lower bullshit librsvg version dependency, eog builds and works with older (C-based) library
baggins
baggins at pld-linux.org
Fri Oct 25 00:43:38 CEST 2019
commit 3bdf79f48fb804726fd07e6040d79db64858bb63
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Fri Oct 25 00:42:27 2019 +0200
- lower bullshit librsvg version dependency, eog builds and works with older (C-based) library
eog.spec | 4 +++-
librsvg.patch | 11 +++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/eog.spec b/eog.spec
index 3e6ffab..7fc1586 100644
--- 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
index 0000000..4bfdf80
--- /dev/null
+++ b/librsvg.patch
@@ -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)
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/eog.git/commitdiff/3bdf79f48fb804726fd07e6040d79db64858bb63
More information about the pld-cvs-commit
mailing list