Accepting request 427892 from GNOME:Next

- Build with vala 0.34:
  + Replace pkgconfig(libvala-0.32) BuildRequires with
    pkgconfig(libvala-0.34).
  + Add anjuta-vala-0.34.patch: add support for vala 0.34.
  + Add gnome-common BuildRequires and call to autogen.sh: above
    patch touches the build system.

OBS-URL: https://build.opensuse.org/request/show/427892
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/anjuta?expand=0&rev=192
This commit is contained in:
Dominique Leuenberger 2016-09-15 09:19:56 +00:00 committed by Git OBS Bridge
parent 296bf3733e
commit fab5d4a268
3 changed files with 29 additions and 1 deletions

13
anjuta-vala-0.34.patch Normal file
View File

@ -0,0 +1,13 @@
Index: anjuta-3.20.0/configure.ac
===================================================================
--- anjuta-3.20.0.orig/configure.ac
+++ anjuta-3.20.0/configure.ac
@@ -329,7 +329,7 @@ if test "$user_disabled_vala" = 1; then
else
AC_MSG_RESULT(no)
AC_MSG_CHECKING(if libvala is available)
- m4_foreach([VERSION], [[0.18], [0.20], [0.22], [0.24], [0.26], [0.28], [0.30], [0.32]],
+ m4_foreach([VERSION], [[0.18], [0.20], [0.22], [0.24], [0.26], [0.28], [0.30], [0.32], [0.34]],
[PKG_CHECK_EXISTS([ libvala-VERSION ],
[ valaver="-VERSION" ])
])

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Sep 15 08:39:40 UTC 2016 - dimstar@opensuse.org
- Build with vala 0.34:
+ Replace pkgconfig(libvala-0.32) BuildRequires with
pkgconfig(libvala-0.34).
+ Add anjuta-vala-0.34.patch: add support for vala 0.34.
+ Add gnome-common BuildRequires and call to autogen.sh: above
patch touches the build system.
-------------------------------------------------------------------
Mon Mar 21 08:35:34 UTC 2016 - dimstar@opensuse.org

View File

@ -25,12 +25,15 @@ Group: Development/Tools/IDE
Url: https://wiki.gnome.org/Apps/Anjuta
Source0: http://download.gnome.org/sources/anjuta/3.20/%{name}-%{version}.tar.xz
Source99: %{name}-rpmlintrc
# PATCH-FIX-UPSTREAM anjuta-vala-0.34.patch dimstar@opensuse.org -- Enable building with vala 0.34
Patch0: anjuta-vala-0.34.patch
BuildRequires: autogen
BuildRequires: binutils-devel
BuildRequires: bison
BuildRequires: fdupes
BuildRequires: flex
BuildRequires: gcc-c++
BuildRequires: gnome-common
BuildRequires: gobject-introspection-devel
BuildRequires: intltool
BuildRequires: libapr-util1-devel
@ -56,7 +59,7 @@ BuildRequires: pkgconfig(gtksourceview-3.0) >= 3.0.0
BuildRequires: pkgconfig(libdevhelp-3.0) >= 3.7.5
BuildRequires: pkgconfig(libgda-5.0) >= 5.0.0
BuildRequires: pkgconfig(libgvc)
BuildRequires: pkgconfig(libvala-0.32)
BuildRequires: pkgconfig(libvala-0.34)
BuildRequires: pkgconfig(libxml-2.0) >= 2.4.23
BuildRequires: pkgconfig(serf-1)
BuildRequires: pkgconfig(vte-2.91)
@ -149,9 +152,11 @@ and more.
%lang_package
%prep
%setup -q
%patch0 -p1
translation-update-upstream
%build
NOCONFIGURE=1 ./autogen.sh
%configure\
--disable-static \
--enable-glade-catalog