[anjuta] Build with vala 0.13

Kalev Lember kalev at fedoraproject.org
Wed Jul 13 16:01:14 UTC 2011


commit aded991d20d08d47c7c9ddbfb95c713a2651a538
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Wed Jul 13 18:57:07 2011 +0300

    Build with vala 0.13
    
    This is just a quick hack. The right way would probably involve looking
    for libvala-0.14 and libvala-0.12 in turn; or alternatively introducing
    a --with-vala=0.14 configure option.

 anjuta.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/anjuta.spec b/anjuta.spec
index c6f4f48..386558c 100644
--- a/anjuta.spec
+++ b/anjuta.spec
@@ -5,7 +5,7 @@ Summary:	GNOME IDE for various programming languages (including C/C++, Python, V
 Name:		anjuta
 Epoch:		1
 Version:	3.1.2
-Release:	1%{?dist}
+Release:	2%{?dist}
 License:	GPLv2+
 Group:		Development/Tools
 URL:		http://www.anjuta.org/
@@ -132,6 +132,11 @@ mkdir -p ./PKGCONFIG
 sed --expression 's|-R/usr/lib64||' %{_libdir}/pkgconfig/pangox.pc > \
   ./PKGCONFIG/pangox.pc
 
+# hack to build with vala 0.13 development release
+sed -i -e 's/libvala-0\.12/libvala-0.14/g' \
+       -e 's/valac-0\.12/valac-0.14/g' \
+       configure
+
 %build
 export PKG_CONFIG_PATH="./PKGCONFIG"
 %configure --disable-schemas-compile --disable-silent-rules --disable-static \
@@ -317,6 +322,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas
 %{_datadir}/omf/%{name}-manual/%{name}-manual-*.omf
 
 %changelog
+* Wed Jul 13 2011 Kalev Lember <kalevlember at gmail.com> - 3.1.2-2
+- Build with vala 0.13
+
 * Thu Jun 16 2011 Tomas Bzatek <tbzatek at redhat.com> - 3.1.2-1
 - Update to 3.1.2
 


More information about the scm-commits mailing list