1 |
tetromino 14/09/29 14:31:01 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gedit-3.12.2-r1.ebuild |
5 |
Removed: gedit-3.12.1.ebuild |
6 |
Log: |
7 |
Really allow multiple python targets for python plugins and install gi overrides in the right place (bug #524018, thanks to Alexander Tsoy). Drop old. |
8 |
|
9 |
(Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key CF0ADD61) |
10 |
|
11 |
Revision Changes Path |
12 |
1.372 app-editors/gedit/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/gedit/ChangeLog?rev=1.372&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/gedit/ChangeLog?rev=1.372&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/gedit/ChangeLog?r1=1.371&r2=1.372 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/app-editors/gedit/ChangeLog,v |
21 |
retrieving revision 1.371 |
22 |
retrieving revision 1.372 |
23 |
diff -u -r1.371 -r1.372 |
24 |
--- ChangeLog 23 Jul 2014 15:13:11 -0000 1.371 |
25 |
+++ ChangeLog 29 Sep 2014 14:31:01 -0000 1.372 |
26 |
@@ -1,6 +1,14 @@ |
27 |
# ChangeLog for app-editors/gedit |
28 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit/ChangeLog,v 1.371 2014/07/23 15:13:11 ago Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit/ChangeLog,v 1.372 2014/09/29 14:31:01 tetromino Exp $ |
31 |
+ |
32 |
+*gedit-3.12.2-r1 (29 Sep 2014) |
33 |
+ |
34 |
+ 29 Sep 2014; Alexandre Rostovtsev <tetromino@g.o> |
35 |
+ -gedit-3.12.1.ebuild, +gedit-3.12.2-r1.ebuild: |
36 |
+ Really allow multiple python targets for python plugins and install gi |
37 |
+ overrides in the right place (bug #524018, thanks to Alexander Tsoy). Drop |
38 |
+ old. |
39 |
|
40 |
23 Jul 2014; Agostino Sarubbo <ago@g.o> gedit-3.12.2.ebuild: |
41 |
Stable for x86, wrt bug #512012 |
42 |
|
43 |
|
44 |
|
45 |
1.1 app-editors/gedit/gedit-3.12.2-r1.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/gedit/gedit-3.12.2-r1.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/gedit/gedit-3.12.2-r1.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: gedit-3.12.2-r1.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2014 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit/gedit-3.12.2-r1.ebuild,v 1.1 2014/09/29 14:31:01 tetromino Exp $ |
55 |
|
56 |
EAPI="5" |
57 |
GCONF_DEBUG="no" |
58 |
GNOME2_LA_PUNT="yes" # plugins are dlopened |
59 |
PYTHON_COMPAT=( python3_{2,3} ) |
60 |
|
61 |
inherit eutils gnome2 multilib python-r1 virtualx |
62 |
|
63 |
DESCRIPTION="A text editor for the GNOME desktop" |
64 |
HOMEPAGE="https://wiki.gnome.org/Apps/Gedit" |
65 |
|
66 |
LICENSE="GPL-2+ CC-BY-SA-3.0" |
67 |
SLOT="0" |
68 |
|
69 |
IUSE="+introspection +python spell zeitgeist" |
70 |
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
71 |
|
72 |
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux" |
73 |
|
74 |
# X libs are not needed for OSX (aqua) |
75 |
COMMON_DEPEND=" |
76 |
>=dev-libs/libxml2-2.5.0:2 |
77 |
>=dev-libs/glib-2.39.5:2 |
78 |
>=x11-libs/gtk+-3.11.6:3[introspection?] |
79 |
>=x11-libs/gtksourceview-3.11.2:3.0[introspection?] |
80 |
>=dev-libs/libpeas-1.7.0[gtk] |
81 |
|
82 |
gnome-base/gsettings-desktop-schemas |
83 |
gnome-base/gvfs |
84 |
|
85 |
x11-libs/libX11 |
86 |
|
87 |
net-libs/libsoup:2.4 |
88 |
|
89 |
introspection? ( >=dev-libs/gobject-introspection-0.9.3 ) |
90 |
python? ( |
91 |
${PYTHON_DEPS} |
92 |
>=dev-libs/gobject-introspection-0.9.3 |
93 |
>=x11-libs/gtk+-3:3[introspection] |
94 |
>=x11-libs/gtksourceview-3.6:3.0[introspection] |
95 |
dev-python/pycairo[${PYTHON_USEDEP}] |
96 |
>=dev-python/pygobject-3:3[cairo,${PYTHON_USEDEP}] ) |
97 |
spell? ( |
98 |
>=app-text/enchant-1.2:= |
99 |
>=app-text/iso-codes-0.35 ) |
100 |
zeitgeist? ( >=gnome-extra/zeitgeist-0.9.12 ) |
101 |
" |
102 |
RDEPEND="${COMMON_DEPEND} |
103 |
x11-themes/gnome-icon-theme-symbolic |
104 |
python? ( dev-libs/libpeas[${PYTHON_USEDEP}] ) |
105 |
" |
106 |
DEPEND="${COMMON_DEPEND} |
107 |
app-text/docbook-xml-dtd:4.1.2 |
108 |
>=app-text/scrollkeeper-0.3.11 |
109 |
dev-libs/libxml2:2 |
110 |
>=dev-util/gtk-doc-am-1 |
111 |
>=dev-util/intltool-0.50.1 |
112 |
>=sys-devel/gettext-0.18 |
113 |
virtual/pkgconfig |
114 |
" |
115 |
# yelp-tools, gnome-common needed to eautoreconf |
116 |
|
117 |
src_prepare() { |
118 |
# FIXME: Not able to set some metadata |
119 |
sed -e '/g_test_add_func/d' \ |
120 |
-i tests/document-loader.c || die |
121 |
|
122 |
gnome2_src_prepare |
123 |
} |
124 |
|
125 |
src_configure() { |
126 |
DOCS="AUTHORS BUGS ChangeLog MAINTAINERS NEWS README" |
127 |
|
128 |
gedit_configure() { |
129 |
ECONF_SOURCE=${S} \ |
130 |
gnome2_src_configure \ |
131 |
--disable-deprecations \ |
132 |
--enable-updater \ |
133 |
--enable-gvfs-metadata \ |
134 |
$(use_enable introspection) \ |
135 |
$(use_enable spell) \ |
136 |
$(use_enable zeitgeist) \ |
137 |
ITSTOOL=$(type -P true) \ |
138 |
"$@" |
139 |
} |
140 |
|
141 |
gedit_py_configure() { |
142 |
mkdir -p "${BUILD_DIR}" || die |
143 |
run_in_build_dir gedit_configure --enable-python |
144 |
} |
145 |
|
146 |
# run gedit_py_configure first to avoid out-of-source build for C code |
147 |
use python && python_parallel_foreach_impl gedit_py_configure |
148 |
gedit_configure --disable-python |
149 |
} |
150 |
|
151 |
src_test() { |
152 |
# FIXME: this should be handled at eclass level |
153 |
"${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/data" || die |
154 |
|
155 |
unset DBUS_SESSION_BUS_ADDRESS |
156 |
GSETTINGS_SCHEMA_DIR="${S}/data" Xemake check |
157 |
} |
158 |
|
159 |
src_install() { |
160 |
gedit_py_install() { |
161 |
pushd "${BUILD_DIR}" > /dev/null || die |
162 |
# manually set pyoverridesdir due to bug #524018 and AM_PATH_PYTHON limitations |
163 |
emake DESTDIR="${D}" top_builddir="${S}" pyoverridesdir="$(python_get_sitedir)/gi/overrides" install |
164 |
popd > /dev/null |
165 |
} |
166 |
|
167 |
gnome2_src_install |
168 |
use python && python_foreach_impl gedit_py_install |
169 |
} |