Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: app-editors/gedit/
Date: Sat, 30 Jan 2021 20:02:53
Message-Id: 1612036947.cbb3804d222c1c889a1fbd59a7501024a9ca3637.leio@gentoo
1 commit: cbb3804d222c1c889a1fbd59a7501024a9ca3637
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 30 19:40:28 2021 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 30 20:02:27 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=cbb3804d
7
8 app-editors/gedit: Drop outdated and live ebuild
9
10 3.30.2 or newer has been in main tree for a long time, and the live
11 ebuild is very outdated here on top of autotools. Just drop it as
12 it doesn't have any valid python targets anymore.
13
14 Bug: https://bugs.gentoo.org/767559
15 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
16
17 app-editors/gedit/gedit-3.30.2.ebuild | 92 -----------------------------
18 app-editors/gedit/gedit-9999.ebuild | 106 ----------------------------------
19 app-editors/gedit/metadata.xml | 8 ---
20 3 files changed, 206 deletions(-)
21
22 diff --git a/app-editors/gedit/gedit-3.30.2.ebuild b/app-editors/gedit/gedit-3.30.2.ebuild
23 deleted file mode 100644
24 index 19886e8d..00000000
25 --- a/app-editors/gedit/gedit-3.30.2.ebuild
26 +++ /dev/null
27 @@ -1,92 +0,0 @@
28 -# Copyright 1999-2018 Gentoo Authors
29 -# Distributed under the terms of the GNU General Public License v2
30 -
31 -EAPI="6"
32 -GNOME2_LA_PUNT="yes" # plugins are dlopened
33 -PYTHON_COMPAT=( python3_{4,5,6} )
34 -VALA_MIN_API_VERSION="0.26"
35 -VALA_USE_DEPEND="vapigen"
36 -
37 -inherit eutils gnome2 multilib python-single-r1 vala virtualx
38 -
39 -DESCRIPTION="A text editor for the GNOME desktop"
40 -HOMEPAGE="https://wiki.gnome.org/Apps/Gedit"
41 -
42 -LICENSE="GPL-2+ CC-BY-SA-3.0"
43 -SLOT="0"
44 -
45 -IUSE="+introspection +python spell vala"
46 -REQUIRED_USE="python? ( introspection ${PYTHON_REQUIRED_USE} )"
47 -
48 -KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
49 -
50 -# X libs are not needed for OSX (aqua)
51 -COMMON_DEPEND="
52 - >=dev-libs/libxml2-2.5.0:2
53 - >=dev-libs/glib-2.44:2[dbus]
54 - >=x11-libs/gtk+-3.22.0:3[introspection?]
55 - >=x11-libs/gtksourceview-3.22.0:3.0[introspection?]
56 - >=dev-libs/libpeas-1.14.1[gtk]
57 -
58 - gnome-base/gsettings-desktop-schemas
59 - gnome-base/gvfs
60 -
61 - x11-libs/libX11
62 -
63 - introspection? ( >=dev-libs/gobject-introspection-0.9.3:= )
64 - python? (
65 - ${PYTHON_DEPS}
66 - dev-python/pycairo[${PYTHON_USEDEP}]
67 - >=dev-python/pygobject-3:3[cairo,${PYTHON_USEDEP}]
68 - dev-libs/libpeas[python,${PYTHON_USEDEP}] )
69 - spell? ( >=app-text/gspell-0.2.5:0= )
70 -"
71 -RDEPEND="${COMMON_DEPEND}
72 - x11-themes/adwaita-icon-theme
73 -"
74 -DEPEND="${COMMON_DEPEND}
75 - ${vala_depend}
76 - app-text/docbook-xml-dtd:4.1.2
77 - app-text/yelp-tools
78 - dev-util/glib-utils
79 - >=dev-util/gtk-doc-am-1
80 - >=dev-util/intltool-0.50.1
81 - >=sys-devel/gettext-0.18
82 - virtual/pkgconfig
83 -"
84 -# yelp-tools, gnome-common needed to eautoreconf
85 -
86 -pkg_setup() {
87 - use python && python-single-r1_pkg_setup
88 -}
89 -
90 -src_prepare() {
91 - vala_src_prepare
92 - gnome2_src_prepare
93 -}
94 -
95 -src_configure() {
96 - DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README"
97 -
98 - gnome2_src_configure \
99 - --disable-deprecations \
100 - --disable-updater \
101 - --enable-gvfs-metadata \
102 - $(use_enable introspection) \
103 - $(use_enable spell) \
104 - $(use_enable python) \
105 - $(use_enable vala)
106 -}
107 -
108 -src_test() {
109 - "${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/data" || die
110 - GSETTINGS_SCHEMA_DIR="${S}/data" virtx emake check
111 -}
112 -
113 -src_install() {
114 - local args=()
115 - # manually set pyoverridesdir due to bug #524018 and AM_PATH_PYTHON limitations
116 - use python && args+=( pyoverridesdir="$(python_get_sitedir)/gi/overrides" )
117 -
118 - gnome2_src_install "${args[@]}"
119 -}
120
121 diff --git a/app-editors/gedit/gedit-9999.ebuild b/app-editors/gedit/gedit-9999.ebuild
122 deleted file mode 100644
123 index 93634710..00000000
124 --- a/app-editors/gedit/gedit-9999.ebuild
125 +++ /dev/null
126 @@ -1,106 +0,0 @@
127 -# Copyright 1999-2018 Gentoo Foundation
128 -# Distributed under the terms of the GNU General Public License v2
129 -
130 -EAPI="6"
131 -GNOME2_LA_PUNT="yes" # plugins are dlopened
132 -PYTHON_COMPAT=( python3_{4,5,6} )
133 -VALA_MIN_API_VERSION="0.26"
134 -VALA_USE_DEPEND="vapigen"
135 -
136 -inherit eutils gnome2 multilib python-single-r1 vala virtualx
137 -if [[ ${PV} = 9999 ]]; then
138 - inherit gnome2-live
139 -fi
140 -
141 -DESCRIPTION="A text editor for the GNOME desktop"
142 -HOMEPAGE="https://wiki.gnome.org/Apps/Gedit"
143 -
144 -LICENSE="GPL-2+ CC-BY-SA-3.0"
145 -SLOT="0"
146 -
147 -IUSE="+introspection +python spell vala"
148 -REQUIRED_USE="python? ( introspection ${PYTHON_REQUIRED_USE} )"
149 -
150 -if [[ ${PV} = 9999 ]]; then
151 - IUSE="${IUSE} doc"
152 - KEYWORDS=""
153 -else
154 - KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
155 -fi
156 -
157 -# X libs are not needed for OSX (aqua)
158 -COMMON_DEPEND="
159 - >=dev-libs/libxml2-2.5.0:2
160 - >=dev-libs/glib-2.44:2[dbus]
161 - >=x11-libs/gtk+-3.22.0:3[introspection?]
162 - >=x11-libs/gtksourceview-3.22.0:3.0[introspection?]
163 - >=dev-libs/libpeas-1.14.1[gtk]
164 -
165 - gnome-base/gsettings-desktop-schemas
166 - gnome-base/gvfs
167 -
168 - x11-libs/libX11
169 -
170 - introspection? ( >=dev-libs/gobject-introspection-0.9.3:= )
171 - python? (
172 - ${PYTHON_DEPS}
173 - dev-python/pycairo[${PYTHON_USEDEP}]
174 - >=dev-python/pygobject-3:3[cairo,${PYTHON_USEDEP}]
175 - dev-libs/libpeas[python,${PYTHON_USEDEP}] )
176 - spell? ( >=app-text/gspell-0.2.5:0= )
177 -"
178 -RDEPEND="${COMMON_DEPEND}
179 - x11-themes/adwaita-icon-theme
180 -"
181 -DEPEND="${COMMON_DEPEND}
182 - ${vala_depend}
183 - app-text/docbook-xml-dtd:4.1.2
184 - app-text/yelp-tools
185 - >=dev-util/gtk-doc-am-1
186 - >=dev-util/intltool-0.50.1
187 - >=sys-devel/gettext-0.18
188 - virtual/pkgconfig
189 -"
190 -# yelp-tools, gnome-common needed to eautoreconf
191 -
192 -if [[ ${PV} = 9999 ]]; then
193 - DEPEND="${DEPEND}
194 - doc? ( >=dev-util/gtk-doc-1 )
195 - app-text/yelp-tools"
196 -fi
197 -
198 -pkg_setup() {
199 - use python && python-single-r1_pkg_setup
200 -}
201 -
202 -src_prepare() {
203 - vala_src_prepare
204 - gnome2_src_prepare
205 -}
206 -
207 -src_configure() {
208 - DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README"
209 -
210 - gnome2_src_configure \
211 - --disable-deprecations \
212 - --disable-updater \
213 - --enable-gvfs-metadata \
214 - $(use_enable introspection) \
215 - $(use_enable spell) \
216 - $(use_enable python) \
217 - $(use_enable vala) \
218 - ITSTOOL=$(type -P true)
219 -}
220 -
221 -src_test() {
222 - "${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/data" || die
223 - GSETTINGS_SCHEMA_DIR="${S}/data" virtx emake check
224 -}
225 -
226 -src_install() {
227 - local args=()
228 - # manually set pyoverridesdir due to bug #524018 and AM_PATH_PYTHON limitations
229 - use python && args+=( pyoverridesdir="$(python_get_sitedir)/gi/overrides" )
230 -
231 - gnome2_src_install "${args[@]}"
232 -}
233
234 diff --git a/app-editors/gedit/metadata.xml b/app-editors/gedit/metadata.xml
235 deleted file mode 100644
236 index 39980802..00000000
237 --- a/app-editors/gedit/metadata.xml
238 +++ /dev/null
239 @@ -1,8 +0,0 @@
240 -<?xml version="1.0" encoding="UTF-8"?>
241 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
242 -<pkgmetadata>
243 -<maintainer type="project">
244 - <email>gnome@g.o</email>
245 - <name>Gentoo GNOME Desktop</name>
246 -</maintainer>
247 -</pkgmetadata>