Accepting request 100760 from GNOME:Factory

Fix build + new version

OBS-URL: https://build.opensuse.org/request/show/100760
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/anjuta?expand=0&rev=73
This commit is contained in:
Stephan Kulow 2012-01-24 11:16:16 +00:00 committed by Git OBS Bridge
commit d85b5b723f
5 changed files with 63 additions and 7 deletions

View File

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

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

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

18
anjuta-vala-0_16.patch Normal file
View File

@ -0,0 +1,18 @@
diff -ur anjuta-3.3.3/configure.ac anjuta-3.3.3.patched/configure.ac
--- anjuta-3.3.3/configure.ac 2011-11-21 19:45:44.000000000 +0100
+++ anjuta-3.3.3.patched/configure.ac 2012-01-13 12:20:09.376074138 +0100
@@ -263,12 +263,12 @@
AC_MSG_RESULT(no)
enable_vala="yes"
PKG_CHECK_MODULES(VALA,
- [libvala-0.14 >= $VALA_REQUIRED],LIBVALA="libvala-0.14")
+ [libvala-0.16 >= $VALA_REQUIRED],LIBVALA="libvala-0.16")
AC_SUBST(LIBVALA)
fi
if test x$enable_vala = xyes; then
- AC_PATH_PROGS(VALAC, [valac-0.14 valac], valac)
+ AC_PATH_PROGS(VALAC, [valac-0.16 valac], valac)
AC_SUBST(VALAC)
fi

View File

@ -1,3 +1,30 @@
-------------------------------------------------------------------
Tue Jan 17 15:40:34 UTC 2012 - dimstar@opensuse.org
- Update to version 3.3.4:
+ Small improvements in search (bgo#665945).
+ Several improvements in generated files from project-wizard.
+ language-support-cpp: Code completion now closes parentheses
(bgo#633341)
+ symbol-db: Fix symbol update when switching branches
(bgo#664413)
+ Various other code changes.
+ Other bugs fixed: bgo#667903, bgo#666621, bgo#666966.
+ Updated translations.
-------------------------------------------------------------------
Fri Jan 13 13:56:58 UTC 2012 - dimstar@opensuse.org
- Replace pkgconfig(libvala-0.14) BuildRequires with
pkgconfig(libvala-0.16) in order to build against vala 0.15/0.16.
- Add anjuta-vala-0_16.patch: Fix build with libvala-0.16
- Add gnome-common BuildRequires and call to autogen.sh, as the
above patch touches the build system.
- Delete .c files that are auto-generated from .vala files to
ensure they are generated with the right vala compiler.
- Add vala BuildRequires: as we drop the shipped generated .c
files, we need to rebuild them during our build.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 20 23:11:52 UTC 2011 - vuntz@opensuse.org Tue Dec 20 23:11:52 UTC 2011 - vuntz@opensuse.org

View File

@ -1,7 +1,7 @@
# #
# spec file for package anjuta # spec file for package anjuta
# #
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -15,9 +15,8 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
Name: anjuta Name: anjuta
Version: 3.3.3 Version: 3.3.4
Release: 0 Release: 0
Summary: Versatile Integrated Development Environment for GNOME Summary: Versatile Integrated Development Environment for GNOME
License: GPL-2.0+ License: GPL-2.0+
@ -25,12 +24,16 @@ Group: Development/Tools/IDE
Url: http://anjuta.sourceforge.net/ Url: http://anjuta.sourceforge.net/
Source: http://download.gnome.org/sources/anjuta/3.3/%{name}-%{version}.tar.xz Source: http://download.gnome.org/sources/anjuta/3.3/%{name}-%{version}.tar.xz
Source99: %{name}-rpmlintrc Source99: %{name}-rpmlintrc
# PATCH-FIX-UPSTREAM anjuta-vala-0_16.patch bgo#667851 dimstar@opensuse.org -- Detect vala 0.15/0.16.
Patch0: anjuta-vala-0_16.patch
BuildRequires: autogen BuildRequires: autogen
BuildRequires: binutils-devel BuildRequires: binutils-devel
BuildRequires: bison BuildRequires: bison
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: flex BuildRequires: flex
BuildRequires: gcc-c++ BuildRequires: gcc-c++
# Needed bt patch0
BuildRequires: gnome-common
BuildRequires: gnome-doc-utils-devel BuildRequires: gnome-doc-utils-devel
BuildRequires: gnome-icon-theme BuildRequires: gnome-icon-theme
BuildRequires: gobject-introspection-devel BuildRequires: gobject-introspection-devel
@ -44,6 +47,8 @@ BuildRequires: sqlite3-devel
BuildRequires: subversion-devel BuildRequires: subversion-devel
BuildRequires: translation-update-upstream BuildRequires: translation-update-upstream
BuildRequires: update-desktop-files BuildRequires: update-desktop-files
# Needed because we drop some generated .c files in order to support vala 0.15/0.16.
BuildRequires: vala
%ifnarch ia64 s390 s390x %ifnarch ia64 s390 s390x
BuildRequires: valgrind-devel BuildRequires: valgrind-devel
%endif %endif
@ -59,7 +64,7 @@ BuildRequires: pkgconfig(libdevhelp-3.0)
BuildRequires: pkgconfig(libgda-5.0) >= 4.99.0 BuildRequires: pkgconfig(libgda-5.0) >= 4.99.0
BuildRequires: pkgconfig(libgraph) BuildRequires: pkgconfig(libgraph)
BuildRequires: pkgconfig(libgvc) BuildRequires: pkgconfig(libgvc)
BuildRequires: pkgconfig(libvala-0.14) >= 0.13.3 BuildRequires: pkgconfig(libvala-0.16)
BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(neon) BuildRequires: pkgconfig(neon)
BuildRequires: pkgconfig(vte-2.90) BuildRequires: pkgconfig(vte-2.90)
@ -152,9 +157,15 @@ and more.
%lang_package %lang_package
%prep %prep
%setup -q %setup -q
%patch0 -p1
# Remove 'pre-built' .c files built with 'older' vala versions
rm plugins/language-support-vala/{locator,plugin,provider,report}.c
rm plugins/symbol-db/anjuta-tags/ctags-visitor.c
translation-update-upstream translation-update-upstream
%build %build
# Needed by patch0
./autogen.sh
%configure\ %configure\
--disable-static \ --disable-static \
--disable-scrollkeeper --disable-scrollkeeper