Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/anjuta: metadata.xml anjuta-3.10.2.ebuild ChangeLog
Date: Tue, 24 Dec 2013 16:06:04
Message-Id: 20131224160559.A10312004C@flycatcher.gentoo.org
1 pacho 13/12/24 16:05:59
2
3 Modified: metadata.xml ChangeLog
4 Added: anjuta-3.10.2.ebuild
5 Log:
6 Version bump for Gnome 3.10, drop old
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
9
10 Revision Changes Path
11 1.21 dev-util/anjuta/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/anjuta/metadata.xml?rev=1.21&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/anjuta/metadata.xml?rev=1.21&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/anjuta/metadata.xml?r1=1.20&r2=1.21
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-util/anjuta/metadata.xml,v
20 retrieving revision 1.20
21 retrieving revision 1.21
22 diff -u -r1.20 -r1.21
23 --- metadata.xml 30 Jun 2013 15:38:40 -0000 1.20
24 +++ metadata.xml 24 Dec 2013 16:05:59 -0000 1.21
25 @@ -6,6 +6,7 @@
26 <flag name="devhelp">Enable devhelp integration</flag>
27 <flag name="glade">Build glade plugin for anjuta</flag>
28 <flag name="packagekit">Use packagekit to search for missing tools</flag>
29 + <flag name="terminal">Enable terminal plugin based on <pkg>x11-libs/vte</pkg></flag>
30 <flag name="vala">Enable support for the Vala programming
31 language</flag>
32 </use>
33
34
35
36 1.171 dev-util/anjuta/ChangeLog
37
38 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/anjuta/ChangeLog?rev=1.171&view=markup
39 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/anjuta/ChangeLog?rev=1.171&content-type=text/plain
40 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/anjuta/ChangeLog?r1=1.170&r2=1.171
41
42 Index: ChangeLog
43 ===================================================================
44 RCS file: /var/cvsroot/gentoo-x86/dev-util/anjuta/ChangeLog,v
45 retrieving revision 1.170
46 retrieving revision 1.171
47 diff -u -r1.170 -r1.171
48 --- ChangeLog 8 Dec 2013 18:13:31 -0000 1.170
49 +++ ChangeLog 24 Dec 2013 16:05:59 -0000 1.171
50 @@ -1,6 +1,12 @@
51 # ChangeLog for dev-util/anjuta
52 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
53 -# $Header: /var/cvsroot/gentoo-x86/dev-util/anjuta/ChangeLog,v 1.170 2013/12/08 18:13:31 pacho Exp $
54 +# $Header: /var/cvsroot/gentoo-x86/dev-util/anjuta/ChangeLog,v 1.171 2013/12/24 16:05:59 pacho Exp $
55 +
56 +*anjuta-3.10.2 (24 Dec 2013)
57 +
58 + 24 Dec 2013; Pacho Ramos <pacho@g.o> +anjuta-3.10.2.ebuild,
59 + metadata.xml:
60 + Version bump for Gnome 3.10, drop old
61
62 08 Dec 2013; Pacho Ramos <pacho@g.o> anjuta-3.8.4.ebuild:
63 x86 stable, bug #478252
64
65
66
67 1.1 dev-util/anjuta/anjuta-3.10.2.ebuild
68
69 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/anjuta/anjuta-3.10.2.ebuild?rev=1.1&view=markup
70 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/anjuta/anjuta-3.10.2.ebuild?rev=1.1&content-type=text/plain
71
72 Index: anjuta-3.10.2.ebuild
73 ===================================================================
74 # Copyright 1999-2013 Gentoo Foundation
75 # Distributed under the terms of the GNU General Public License v2
76 # $Header: /var/cvsroot/gentoo-x86/dev-util/anjuta/anjuta-3.10.2.ebuild,v 1.1 2013/12/24 16:05:59 pacho Exp $
77
78 EAPI="5"
79 GCONF_DEBUG="yes"
80 GNOME2_LA_PUNT="yes"
81 PYTHON_COMPAT=( python{2_6,2_7} )
82 # libanjuta-language-vala.so links to a specific slot of libvala; we want to
83 # avoid automagic behavior.
84 VALA_MIN_API_VERSION="0.20"
85 VALA_MAX_API_VERSION="${VALA_MIN_API_VERSION}"
86
87 inherit gnome2 flag-o-matic readme.gentoo python-single-r1 vala
88
89 DESCRIPTION="A versatile IDE for GNOME"
90 HOMEPAGE="http://projects.gnome.org/anjuta/"
91
92 LICENSE="GPL-2+"
93 SLOT="0"
94 KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
95 IUSE="debug devhelp glade +introspection packagekit subversion terminal test vala"
96
97 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
98
99 # FIXME: make python dependency non-automagic
100 COMMON_DEPEND="
101 >=dev-libs/glib-2.34:2
102 x11-libs/gdk-pixbuf:2
103 >=x11-libs/gtk+-3.6:3
104 >=dev-libs/libxml2-2.4.23
105 >=dev-libs/gdl-3.5.5:3=
106 >=x11-libs/gtksourceview-3:3.0
107
108 sys-devel/autogen
109
110 >=gnome-extra/libgda-5:5=
111 dev-util/ctags
112
113 x11-libs/libXext
114 x11-libs/libXrender
115
116 ${PYTHON_DEPS}
117
118 devhelp? ( >=dev-util/devhelp-3.7.4:= )
119 glade? ( >=dev-util/glade-3.12:3.10= )
120 introspection? ( >=dev-libs/gobject-introspection-0.9.5 )
121 subversion? (
122 >=dev-vcs/subversion-1.5.0:=
123 >=net-libs/neon-0.28.2:=
124 >=dev-libs/apr-1:=
125 >=dev-libs/apr-util-1:= )
126 terminal? ( >=x11-libs/vte-0.27.6:2.90 )
127 vala? ( $(vala_depend) )
128 "
129 RDEPEND="${COMMON_DEPEND}
130 packagekit? ( app-admin/packagekit-base )
131 "
132 DEPEND="${COMMON_DEPEND}
133 >=dev-lang/perl-5
134 >=dev-util/gtk-doc-am-1.4
135 >=dev-util/intltool-0.40.1
136 sys-devel/bison
137 sys-devel/flex
138 >=sys-devel/gettext-0.17
139 virtual/pkgconfig
140 !!dev-libs/gnome-build
141 test? (
142 app-text/docbook-xml-dtd:4.1.2
143 app-text/docbook-xml-dtd:4.5 )
144 app-text/yelp-tools
145 dev-libs/gobject-introspection-common
146 gnome-base/gnome-common
147 "
148 # yelp-tools, gi-common and gnome-common are required by eautoreconf
149
150 pkg_setup() {
151 python-single-r1_pkg_setup
152 }
153
154 src_prepare() {
155 if use vala; then
156 DISABLE_AUTOFORMATTING="yes"
157 DOC_CONTENTS="To create a generic vala project you will need to specify
158 desired valac versioned binary to be used, to do that you
159 will need to:
160 1. Go to 'Build' -> 'Configure project'
161 2. Add 'VALAC=/usr/bin/valac-X.XX' (respecting quotes) to
162 'Configure options'."
163 fi
164
165 # COPYING is used in Anjuta's help/about entry
166 DOCS="AUTHORS ChangeLog COPYING FUTURE MAINTAINERS NEWS README ROADMAP THANKS TODO"
167
168 # Conflicts with -pg in a plugin, bug #266777
169 filter-flags -fomit-frame-pointer
170
171 # python2.7-configure in Fedora vs. python-configure in Gentoo
172 sed -e 's:$PYTHON-config:$PYTHON$PYTHON_VERSION-config:g' \
173 -i plugins/am-project/tests/anjuta.lst || die "sed failed"
174
175 # Do not build benchmarks, they are not installed and for dev purpose only
176 sed -e '/SUBDIRS =/ s/benchmark//' \
177 -i plugins/symbol-db/Makefile.{am,in} || die
178
179 use vala && vala_src_prepare
180 gnome2_src_prepare
181 }
182
183 src_configure() {
184 gnome2_src_configure \
185 --disable-static \
186 --docdir=/usr/share/doc/${PF} \
187 $(use_enable debug) \
188 $(use_enable devhelp plugin-devhelp) \
189 $(use_enable glade plugin-glade) \
190 $(use_enable glade glade-catalog) \
191 $(use_enable introspection) \
192 $(use_enable packagekit) \
193 $(use_enable subversion plugin-subversion) \
194 $(use_enable terminal plugin-terminal) \
195 $(use_enable vala)
196 }
197
198 src_install() {
199 # COPYING is used in Anjuta's help/about entry
200 docompress -x "/usr/share/doc/${PF}/COPYING"
201
202 # Anjuta uses a custom rule to install DOCS, get rid of it
203 gnome2_src_install
204 rm -rf "${ED}"/usr/share/doc/${PN} || die "rm failed"
205
206 use vala && readme.gentoo_create_doc
207 }
208
209 pkg_postinst() {
210 gnome2_pkg_postinst
211 use vala && readme.gentoo_print_elog
212 }