[packages/gnome-code-assistance] - fix building with vala 0.32
baggins
baggins at pld-linux.org
Sat Apr 16 20:54:29 CEST 2016
commit 092500e234c82680d4e3ebdeca5ceb1e7fc85007
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sat Apr 16 20:54:18 2016 +0200
- fix building with vala 0.32
gnome-code-assistance.spec | 6 ++++++
vala-0.32.patch | 11 +++++++++++
2 files changed, 17 insertions(+)
---
diff --git a/gnome-code-assistance.spec b/gnome-code-assistance.spec
index f6a971b..afb93dc 100644
--- a/gnome-code-assistance.spec
+++ b/gnome-code-assistance.spec
@@ -18,6 +18,7 @@ License: GPL v2+
Group: X11/Applications/Editors
Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-code-assistance/3.16/%{name}-%{version}.tar.xz
# Source0-md5: 356a034dd60271f39f3d5ce658b75f09
+Patch0: vala-0.32.patch
URL: https://wiki.gnome.org/Projects/CodeAssistance
BuildRequires: gjs-devel
BuildRequires: glib2 >= 1:2.36
@@ -70,8 +71,13 @@ własnego rozwiązania w każdym edytorze.
%prep
%setup -q
+%patch0 -p1
%build
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
%configure \
%{!?with_llvm:--disable-c} \
%{!?with_golang:--disable-go} \
diff --git a/vala-0.32.patch b/vala-0.32.patch
new file mode 100644
index 0000000..fd5457a
--- /dev/null
+++ b/vala-0.32.patch
@@ -0,0 +1,11 @@
+--- gnome-code-assistance-3.16.0/configure.ac~ 2015-04-29 21:33:03.000000000 +0200
++++ gnome-code-assistance-3.16.0/configure.ac 2016-04-16 20:53:17.011283001 +0200
+@@ -410,7 +410,7 @@
+ [enable_vala=$enableval],
+ [enable_vala=auto])
+
+-BACKEND_VALA_LIBVALA_VERSIONS="libvala-0.30 libvala-0.28 libvala-0.26 libvala-0.24 libvala-0.22 libvala-0.20"
++BACKEND_VALA_LIBVALA_VERSIONS="libvala-0.32 libvala-0.30 libvala-0.28 libvala-0.26 libvala-0.24 libvala-0.22 libvala-0.20"
+ BACKEND_VALA_MODULES="gobject-2.0 >= 2.36 glib-2.0 >= 2.36 gio-2.0 >= 2.36 gee-0.8 gio-unix-2.0 >= 2.36"
+
+ BACKEND_VALA_LIBVALA=
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gnome-code-assistance.git/commitdiff/092500e234c82680d4e3ebdeca5ceb1e7fc85007
More information about the pld-cvs-commit
mailing list