Accepting request 186843 from GNOME:Factory

push GNOME:Factory

OBS-URL: https://build.opensuse.org/request/show/186843
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/anjuta?expand=0&rev=89
This commit is contained in:
Tomáš Chvátal 2013-08-16 10:28:02 +00:00 committed by Git OBS Bridge
commit ca8cfb37f0
5 changed files with 66 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b994f73b32f05831e5b49f01c9a85e483c2f5a429303a2ce7a01ec9d9f9ea9e5
size 5389808

3
anjuta-3.9.5.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cb020f32fd93ed7e745d3cbb65dcb95556de9cc22fe483326e675296b6b8f908
size 5392288

33
anjuta-vala-0.22.patch Normal file
View File

@ -0,0 +1,33 @@
From b0adfbe1197ad97f39e5db583fdc63f78c3fbff3 Mon Sep 17 00:00:00 2001
From: Dominique Leuenberger <dimstar@opensuse.org>
Date: Tue, 6 Aug 2013 11:17:45 +0200
Subject: [PATCH] build: add support for libvala-0.22
To make maintenance a little bit easier in the future, rewrite the
detection to use foreach instead of nesting the checks.
---
configure.ac | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/configure.ac b/configure.ac
index 41c482d..f7a9c18 100644
--- a/configure.ac
+++ b/configure.ac
@@ -310,11 +310,9 @@ if test "$user_disabled_vala" = 1; then
else
AC_MSG_RESULT(no)
AC_MSG_CHECKING(if libvala is available)
- PKG_CHECK_EXISTS([ libvala-0.20 ],
- [ valaver="-0.20" ],
- [ PKG_CHECK_EXISTS([ libvala-0.18 ],
- [ valaver="-0.18" ],
- [ valaver="" ])
+ m4_foreach([VERSION], [[0.18], [0.20], [0.22]],
+ [PKG_CHECK_EXISTS([ libvala-VERSION ],
+ [ valaver="-VERSION" ])
])
if test "x$valaver" != "x"; then
AC_MSG_RESULT(yes)
--
1.7.10.4

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Tue Aug 6 09:24:08 UTC 2013 - dimstar@opensuse.org
- Add anjuta-vala-0.22.patch: Allow building with vala 0.22.
- Add gnome-common BuildRequires and call to gnome-autogen.sh, as
above patch touches the build system.
- Change pkgconfig(libvala-0.20) BuildRequires to
pkgconfig(libvala-0.22) in order to perform the switch to Vala
0.22.
- Stop passing obsolete --disable-scrollkeeper to configure.
-------------------------------------------------------------------
Tue Jul 30 07:01:20 UTC 2013 - dimstar@opensuse.org
- Update to version 3.9.5:
+ anjuta: Only show app-menu if supported by environment.
+ libanjuta: Make AnjutaCommandBar easier to use on small
screens.
+ Bugs fixed: bgo#699544.
+ Updated translations.
-------------------------------------------------------------------
Tue Jul 9 06:55:25 UTC 2013 - dimstar@opensuse.org

View File

@ -17,7 +17,7 @@
Name: anjuta
Version: 3.9.4
Version: 3.9.5
Release: 0
Summary: Versatile Integrated Development Environment for GNOME
License: GPL-2.0+
@ -25,12 +25,16 @@ Group: Development/Tools/IDE
Url: http://anjuta.sourceforge.net/
Source0: http://download.gnome.org/sources/anjuta/3.9/%{name}-%{version}.tar.xz
Source99: %{name}-rpmlintrc
# PATCH-FIX-UPSTREAM anjuta-vala-0.22.patch bgo#705548 dimstar@opensuse.org -- Allow building with vala 0.22
Patch0: anjuta-vala-0.22.patch
BuildRequires: autogen
BuildRequires: binutils-devel
BuildRequires: bison
BuildRequires: fdupes
BuildRequires: flex
BuildRequires: gcc-c++
# Needed for patch0
BuildRequires: gnome-common
BuildRequires: gnome-icon-theme
BuildRequires: gobject-introspection-devel
BuildRequires: intltool
@ -57,7 +61,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.20)
BuildRequires: pkgconfig(libvala-0.22)
BuildRequires: pkgconfig(libxml-2.0) >= 2.4.23
BuildRequires: pkgconfig(neon)
BuildRequires: pkgconfig(vte-2.90) >= 0.27.6
@ -150,12 +154,14 @@ and more.
%lang_package
%prep
%setup -q
%patch0 -p1
translation-update-upstream
%build
# Needed for patch0
NOCONFIGURE=1 gnome-autogen.sh
%configure\
--disable-static \
--disable-scrollkeeper \
--enable-glade-catalog
make %{?_smp_mflags} V=1