1 |
commit: f6891ce8edbbfc17e86d366587bae5ac7cdb961a |
2 |
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 27 10:50:40 2018 +0000 |
4 |
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 27 12:47:01 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=f6891ce8 |
7 |
|
8 |
dev-util/anjuta: 3.22.0 → 3.26.0 |
9 |
|
10 |
Fix infinite loop and crash when updating a project. Fix compilation & |
11 |
run time warnings. Make builds reproducible. Fix CPU usage when switch |
12 |
tabs with scintilla editor. Add support for newer vala releases. |
13 |
|
14 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
15 |
Manifest-Sign-Key: 0x5A56C8CD0C13248A |
16 |
|
17 |
dev-util/anjuta/anjuta-3.26.0.ebuild | 136 +++++++++++++++++++++++++++++++++++ |
18 |
dev-util/anjuta/metadata.xml | 14 ++++ |
19 |
2 files changed, 150 insertions(+) |
20 |
|
21 |
diff --git a/dev-util/anjuta/anjuta-3.26.0.ebuild b/dev-util/anjuta/anjuta-3.26.0.ebuild |
22 |
new file mode 100644 |
23 |
index 00000000..fc3d3a75 |
24 |
--- /dev/null |
25 |
+++ b/dev-util/anjuta/anjuta-3.26.0.ebuild |
26 |
@@ -0,0 +1,136 @@ |
27 |
+# Copyright 1999-2018 Gentoo Foundation |
28 |
+# Distributed under the terms of the GNU General Public License v2 |
29 |
+ |
30 |
+EAPI=6 |
31 |
+GNOME2_LA_PUNT="yes" |
32 |
+PYTHON_COMPAT=( python2_7 ) |
33 |
+# libanjuta-language-vala.so links to a specific slot of libvala; we want to |
34 |
+# avoid automagic behavior. |
35 |
+VALA_MIN_API_VERSION="0.36" |
36 |
+VALA_MAX_API_VERSION="${VALA_MIN_API_VERSION}" |
37 |
+ |
38 |
+inherit gnome2 flag-o-matic readme.gentoo-r1 python-single-r1 vala |
39 |
+ |
40 |
+DESCRIPTION="A versatile IDE for GNOME" |
41 |
+HOMEPAGE="https://wiki.gnome.org/Apps/Anjuta" |
42 |
+ |
43 |
+LICENSE="GPL-2+" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd" |
46 |
+ |
47 |
+IUSE="debug devhelp glade +introspection packagekit subversion terminal test vala" |
48 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
49 |
+ |
50 |
+# FIXME: make python dependency non-automagic |
51 |
+# automagic on libgda:6 when it will be release |
52 |
+COMMON_DEPEND=" |
53 |
+ >=dev-libs/glib-2.34:2[dbus] |
54 |
+ x11-libs/gdk-pixbuf:2 |
55 |
+ >=x11-libs/gtk+-3.10:3 |
56 |
+ >=dev-libs/libxml2-2.4.23 |
57 |
+ >=dev-libs/gdl-3.5.5:3= |
58 |
+ >=x11-libs/gtksourceview-3:3.0 |
59 |
+ |
60 |
+ sys-devel/autogen |
61 |
+ |
62 |
+ >=gnome-extra/libgda-5:5= |
63 |
+ dev-util/ctags |
64 |
+ |
65 |
+ x11-libs/libXext |
66 |
+ x11-libs/libXrender |
67 |
+ |
68 |
+ ${PYTHON_DEPS} |
69 |
+ |
70 |
+ devhelp? ( >=dev-util/devhelp-3.7.4:= ) |
71 |
+ glade? ( >=dev-util/glade-3.12:3.10= ) |
72 |
+ introspection? ( >=dev-libs/gobject-introspection-0.9.5:= ) |
73 |
+ subversion? ( |
74 |
+ >=dev-vcs/subversion-1.8:= |
75 |
+ >=net-libs/serf-1.2:1= |
76 |
+ >=dev-libs/apr-1:= |
77 |
+ >=dev-libs/apr-util-1:= ) |
78 |
+ terminal? ( >=x11-libs/vte-0.27.6:2.91 ) |
79 |
+ vala? ( $(vala_depend) ) |
80 |
+" |
81 |
+RDEPEND="${COMMON_DEPEND} |
82 |
+ gnome-base/gsettings-desktop-schemas |
83 |
+ packagekit? ( app-admin/packagekit-base ) |
84 |
+" |
85 |
+DEPEND="${COMMON_DEPEND} |
86 |
+ >=dev-lang/perl-5 |
87 |
+ >=dev-util/gtk-doc-am-1.4 |
88 |
+ >=dev-util/intltool-0.40.1 |
89 |
+ sys-devel/bison |
90 |
+ sys-devel/flex |
91 |
+ >=sys-devel/gettext-0.17 |
92 |
+ virtual/pkgconfig |
93 |
+ !!dev-libs/gnome-build |
94 |
+ test? ( |
95 |
+ app-text/docbook-xml-dtd:4.1.2 |
96 |
+ app-text/docbook-xml-dtd:4.5 ) |
97 |
+ app-text/yelp-tools |
98 |
+ dev-libs/gobject-introspection-common |
99 |
+ gnome-base/gnome-common |
100 |
+" |
101 |
+# yelp-tools, gi-common and gnome-common are required by eautoreconf |
102 |
+ |
103 |
+pkg_setup() { |
104 |
+ python-single-r1_pkg_setup |
105 |
+} |
106 |
+ |
107 |
+src_prepare() { |
108 |
+ if use vala; then |
109 |
+ DISABLE_AUTOFORMATTING="yes" |
110 |
+ DOC_CONTENTS="To create a generic vala project you will need to specify |
111 |
+desired valac versioned binary to be used, to do that you |
112 |
+will need to: |
113 |
+1. Go to 'Build' -> 'Configure project' |
114 |
+2. Add 'VALAC=/usr/bin/valac-X.XX' (respecting quotes) to |
115 |
+'Configure options'." |
116 |
+ fi |
117 |
+ |
118 |
+ # COPYING is used in Anjuta's help/about entry |
119 |
+ DOCS="AUTHORS ChangeLog COPYING FUTURE MAINTAINERS NEWS README ROADMAP THANKS TODO" |
120 |
+ |
121 |
+ # Conflicts with -pg in a plugin, bug #266777 |
122 |
+ filter-flags -fomit-frame-pointer |
123 |
+ |
124 |
+ # Do not build benchmarks, they are not installed and for dev purpose only |
125 |
+ sed -e '/SUBDIRS =/ s/benchmark//' \ |
126 |
+ -i plugins/symbol-db/Makefile.{am,in} || die |
127 |
+ |
128 |
+ use vala && vala_src_prepare |
129 |
+ gnome2_src_prepare |
130 |
+} |
131 |
+ |
132 |
+src_configure() { |
133 |
+ gnome2_src_configure \ |
134 |
+ --disable-neon \ |
135 |
+ --disable-static \ |
136 |
+ $(use_enable debug) \ |
137 |
+ $(use_enable devhelp plugin-devhelp) \ |
138 |
+ $(use_enable glade plugin-glade) \ |
139 |
+ $(use_enable glade glade-catalog) \ |
140 |
+ $(use_enable introspection) \ |
141 |
+ $(use_enable packagekit) \ |
142 |
+ $(use_enable subversion plugin-subversion) \ |
143 |
+ $(use_enable subversion serf) \ |
144 |
+ $(use_enable terminal plugin-terminal) \ |
145 |
+ $(use_enable vala) |
146 |
+} |
147 |
+ |
148 |
+src_install() { |
149 |
+ # COPYING is used in Anjuta's help/about entry |
150 |
+ docompress -x "/usr/share/doc/${PF}/COPYING" |
151 |
+ |
152 |
+ # Anjuta uses a custom rule to install DOCS, get rid of it |
153 |
+ gnome2_src_install |
154 |
+ rm -rf "${ED}"/usr/share/doc/${PN} || die "rm failed" |
155 |
+ |
156 |
+ use vala && readme.gentoo_create_doc |
157 |
+} |
158 |
+ |
159 |
+pkg_postinst() { |
160 |
+ gnome2_pkg_postinst |
161 |
+ use vala && readme.gentoo_print_elog |
162 |
+} |
163 |
|
164 |
diff --git a/dev-util/anjuta/metadata.xml b/dev-util/anjuta/metadata.xml |
165 |
new file mode 100644 |
166 |
index 00000000..0073ebca |
167 |
--- /dev/null |
168 |
+++ b/dev-util/anjuta/metadata.xml |
169 |
@@ -0,0 +1,14 @@ |
170 |
+<?xml version="1.0" encoding="UTF-8"?> |
171 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
172 |
+<pkgmetadata> |
173 |
+ <maintainer type="project"> |
174 |
+ <email>gnome@g.o</email> |
175 |
+ <name>Gentoo GNOME Desktop</name> |
176 |
+ </maintainer> |
177 |
+ <use> |
178 |
+ <flag name="devhelp">Enable devhelp integration</flag> |
179 |
+ <flag name="glade">Build glade plugin for anjuta</flag> |
180 |
+ <flag name="packagekit">Use packagekit to search for missing tools</flag> |
181 |
+ <flag name="terminal">Enable terminal plugin based on <pkg>x11-libs/vte</pkg></flag> |
182 |
+ </use> |
183 |
+</pkgmetadata> |