Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: app-editors/gedit/
Date: Sat, 02 Sep 2017 09:31:36
Message-Id: 1504344591.5731c10f517898b2bb539a13b55f86460edd0639.eva@gentoo
1 commit: 5731c10f517898b2bb539a13b55f86460edd0639
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 2 09:29:51 2017 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 2 09:29:51 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=5731c10f
7
8 app-editors/gedit: sync with gentoo repository
9
10 Package-Manager: Portage-2.3.8, Repoman-2.3.3
11 Manifest-Sign-Key: 0x5A56C8CD0C13248A
12
13 app-editors/gedit/gedit-3.20.0.ebuild | 102 ----------------------------------
14 app-editors/gedit/gedit-9999.ebuild | 54 +++++++-----------
15 2 files changed, 20 insertions(+), 136 deletions(-)
16
17 diff --git a/app-editors/gedit/gedit-3.20.0.ebuild b/app-editors/gedit/gedit-3.20.0.ebuild
18 deleted file mode 100644
19 index 0c80ffff..00000000
20 --- a/app-editors/gedit/gedit-3.20.0.ebuild
21 +++ /dev/null
22 @@ -1,102 +0,0 @@
23 -# Copyright 1999-2016 Gentoo Foundation
24 -# Distributed under the terms of the GNU General Public License v2
25 -# $Id$
26 -
27 -EAPI="5"
28 -GCONF_DEBUG="no"
29 -GNOME2_LA_PUNT="yes" # plugins are dlopened
30 -PYTHON_COMPAT=( python3_{3,4,5} )
31 -VALA_MIN_API_VERSION="0.26"
32 -VALA_USE_DEPEND="vapigen"
33 -
34 -inherit eutils gnome2 multilib python-r1 vala virtualx
35 -
36 -DESCRIPTION="A text editor for the GNOME desktop"
37 -HOMEPAGE="https://wiki.gnome.org/Apps/Gedit"
38 -
39 -LICENSE="GPL-2+ CC-BY-SA-3.0"
40 -SLOT="0"
41 -
42 -IUSE="+introspection +python spell vala"
43 -# python-single-r1 would request disabling PYTHON_TARGETS on libpeas
44 -# we need to fix that
45 -REQUIRED_USE="
46 - python? ( introspection )
47 - python? ( ^^ ( $(python_gen_useflags '*') ) )
48 -"
49 -
50 -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"
51 -
52 -# X libs are not needed for OSX (aqua)
53 -COMMON_DEPEND="
54 - >=dev-libs/libxml2-2.5.0:2
55 - >=dev-libs/glib-2.44:2[dbus]
56 - >=x11-libs/gtk+-3.19.0:3[introspection?]
57 - >=x11-libs/gtksourceview-3.19.4:3.0[introspection?]
58 - >=dev-libs/libpeas-1.14.1[gtk]
59 -
60 - gnome-base/gsettings-desktop-schemas
61 - gnome-base/gvfs
62 -
63 - x11-libs/libX11
64 -
65 - net-libs/libsoup:2.4
66 -
67 - introspection? ( >=dev-libs/gobject-introspection-0.9.3:= )
68 - python? (
69 - ${PYTHON_DEPS}
70 - dev-python/pycairo[${PYTHON_USEDEP}]
71 - >=dev-python/pygobject-3:3[cairo,${PYTHON_USEDEP}]
72 - dev-libs/libpeas[${PYTHON_USEDEP}] )
73 - spell? ( >=app-text/gspell-0.2.5 )
74 -"
75 -RDEPEND="${COMMON_DEPEND}
76 - x11-themes/adwaita-icon-theme
77 -"
78 -DEPEND="${COMMON_DEPEND}
79 - ${vala_depend}
80 - app-text/docbook-xml-dtd:4.1.2
81 - app-text/yelp-tools
82 - dev-libs/libxml2:2
83 - >=dev-util/gtk-doc-am-1
84 - >=dev-util/intltool-0.50.1
85 - dev-util/itstool
86 - >=sys-devel/gettext-0.18
87 - virtual/pkgconfig
88 -"
89 -# yelp-tools, gnome-common needed to eautoreconf
90 -
91 -pkg_setup() {
92 - use python && [[ ${MERGE_TYPE} != binary ]] && python_setup
93 -}
94 -
95 -src_prepare() {
96 - vala_src_prepare
97 - gnome2_src_prepare
98 -}
99 -
100 -src_configure() {
101 - DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README"
102 -
103 - gnome2_src_configure \
104 - --disable-deprecations \
105 - --enable-updater \
106 - --enable-gvfs-metadata \
107 - $(use_enable introspection) \
108 - $(use_enable spell) \
109 - $(use_enable python) \
110 - $(use_enable vala)
111 -}
112 -
113 -src_test() {
114 - "${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/data" || die
115 - GSETTINGS_SCHEMA_DIR="${S}/data" Xemake check
116 -}
117 -
118 -src_install() {
119 - local args=()
120 - # manually set pyoverridesdir due to bug #524018 and AM_PATH_PYTHON limitations
121 - use python && args+=( pyoverridesdir="$(python_get_sitedir)/gi/overrides" )
122 -
123 - gnome2_src_install "${args[@]}"
124 -}
125
126 diff --git a/app-editors/gedit/gedit-9999.ebuild b/app-editors/gedit/gedit-9999.ebuild
127 index ee5c56c1..1f26bc5e 100644
128 --- a/app-editors/gedit/gedit-9999.ebuild
129 +++ b/app-editors/gedit/gedit-9999.ebuild
130 @@ -1,15 +1,13 @@
131 -# Copyright 1999-2015 Gentoo Foundation
132 +# Copyright 1999-2017 Gentoo Foundation
133 # Distributed under the terms of the GNU General Public License v2
134 -# $Id$
135
136 -EAPI="5"
137 -GCONF_DEBUG="no"
138 +EAPI="6"
139 GNOME2_LA_PUNT="yes" # plugins are dlopened
140 -PYTHON_COMPAT=( python3_{3,4} )
141 +PYTHON_COMPAT=( python3_{4,5} )
142 VALA_MIN_API_VERSION="0.26"
143 VALA_USE_DEPEND="vapigen"
144
145 -inherit eutils gnome2 multilib python-r1 vala virtualx
146 +inherit eutils gnome2 multilib python-single-r1 vala virtualx
147 if [[ ${PV} = 9999 ]]; then
148 inherit gnome2-live
149 fi
150 @@ -21,52 +19,43 @@ LICENSE="GPL-2+ CC-BY-SA-3.0"
151 SLOT="0"
152
153 IUSE="+introspection +python spell vala"
154 -# python-single-r1 would request disabling PYTHON_TARGETS on libpeas
155 -# we need to fix that
156 -REQUIRED_USE="
157 - python? ( introspection )
158 - python? ( ^^ ( $(python_gen_useflags '*') ) )
159 -"
160 +REQUIRED_USE="python? ( introspection ${PYTHON_REQUIRED_USE} )"
161 +
162 if [[ ${PV} = 9999 ]]; then
163 IUSE="${IUSE} doc"
164 KEYWORDS=""
165 else
166 - 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"
167 + KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
168 fi
169
170 # X libs are not needed for OSX (aqua)
171 COMMON_DEPEND="
172 >=dev-libs/libxml2-2.5.0:2
173 - >=dev-libs/glib-2.40:2[dbus]
174 - >=x11-libs/gtk+-3.16:3[introspection?]
175 - >=x11-libs/gtksourceview-3.16:3.0[introspection?]
176 - >=dev-libs/libpeas-1.7.0[gtk]
177 + >=dev-libs/glib-2.44:2[dbus]
178 + >=x11-libs/gtk+-3.21.3:3[introspection?]
179 + >=x11-libs/gtksourceview-3.21.2:3.0[introspection?]
180 + >=dev-libs/libpeas-1.14.1[gtk]
181
182 gnome-base/gsettings-desktop-schemas
183 gnome-base/gvfs
184
185 x11-libs/libX11
186
187 - net-libs/libsoup:2.4
188 -
189 - introspection? ( >=dev-libs/gobject-introspection-0.9.3 )
190 + introspection? ( >=dev-libs/gobject-introspection-0.9.3:= )
191 python? (
192 ${PYTHON_DEPS}
193 dev-python/pycairo[${PYTHON_USEDEP}]
194 >=dev-python/pygobject-3:3[cairo,${PYTHON_USEDEP}]
195 - dev-libs/libpeas[${PYTHON_USEDEP}] )
196 - spell? (
197 - >=app-text/enchant-1.2:=
198 - >=app-text/iso-codes-0.35 )
199 + dev-libs/libpeas[python,${PYTHON_USEDEP}] )
200 + spell? ( >=app-text/gspell-0.2.5:0= )
201 "
202 RDEPEND="${COMMON_DEPEND}
203 - x11-themes/gnome-icon-theme-symbolic
204 + x11-themes/adwaita-icon-theme
205 "
206 DEPEND="${COMMON_DEPEND}
207 ${vala_depend}
208 app-text/docbook-xml-dtd:4.1.2
209 - >=app-text/scrollkeeper-0.3.11
210 - dev-libs/libxml2:2
211 + app-text/yelp-tools
212 >=dev-util/gtk-doc-am-1
213 >=dev-util/intltool-0.50.1
214 >=sys-devel/gettext-0.18
215 @@ -81,7 +70,7 @@ if [[ ${PV} = 9999 ]]; then
216 fi
217
218 pkg_setup() {
219 - use python && [[ ${MERGE_TYPE} != binary ]] && python_setup
220 + use python && python-single-r1_pkg_setup
221 }
222
223 src_prepare() {
224 @@ -90,11 +79,11 @@ src_prepare() {
225 }
226
227 src_configure() {
228 - DOCS="AUTHORS BUGS ChangeLog MAINTAINERS NEWS README"
229 + DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README"
230
231 gnome2_src_configure \
232 --disable-deprecations \
233 - --enable-updater \
234 + --disable-updater \
235 --enable-gvfs-metadata \
236 $(use_enable introspection) \
237 $(use_enable spell) \
238 @@ -104,11 +93,8 @@ src_configure() {
239 }
240
241 src_test() {
242 - # FIXME: this should be handled at eclass level
243 "${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/data" || die
244 -
245 - unset DBUS_SESSION_BUS_ADDRESS
246 - GSETTINGS_SCHEMA_DIR="${S}/data" Xemake check
247 + GSETTINGS_SCHEMA_DIR="${S}/data" virtx emake check
248 }
249
250 src_install() {