Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/gnome-builder/
Date: Thu, 06 May 2021 06:09:38
Message-Id: 1620281359.daf9903ac8b5ef9ccddf6f111b1b939e68fc7051.mattst88@gentoo
1 commit: daf9903ac8b5ef9ccddf6f111b1b939e68fc7051
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 6 06:09:19 2021 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Thu May 6 06:09:19 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=daf9903a
7
8 dev-util/gnome-builder: Drop old versions
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 dev-util/gnome-builder/Manifest | 2 -
13 dev-util/gnome-builder/gnome-builder-3.40.0.ebuild | 183 ---------------------
14 dev-util/gnome-builder/gnome-builder-3.40.1.ebuild | 183 ---------------------
15 3 files changed, 368 deletions(-)
16
17 diff --git a/dev-util/gnome-builder/Manifest b/dev-util/gnome-builder/Manifest
18 index 538d1268d7a..e7e4268bf6b 100644
19 --- a/dev-util/gnome-builder/Manifest
20 +++ b/dev-util/gnome-builder/Manifest
21 @@ -1,4 +1,2 @@
22 DIST gnome-builder-3.38.2.tar.xz 12078024 BLAKE2B 9cf8a74be5a48b73c21ce247a07fcb1441482edab8fd118a2d773429f68efcd50f4a8a1ef826cf90a9f76e482f25d9a092ca1700504178051fcf903abe9eb1ae SHA512 6f9d284a9c915562fe55a863ddcc385ca9278b4ee201f4b97272f425937066d630c35c0b337bdf94ce4b12226080a9020eb5dc253ccfb25bc6cdbf8e50779569
23 -DIST gnome-builder-3.40.0.tar.xz 12088472 BLAKE2B ae392efb375e562b1a2820004a23f6170d78e0cd724924ddd334af7d87ab90e85b0e1996ba593e283a9f8d6e4ae9b5bb9a9d15f61e8ab2f620351ec45434d68b SHA512 9346a42371bd2529a146f81fe5a1b333495c1895978780bcb3748ef7b46e68a08241b261055b855e1d9dca47c1449fbcddc64e8bcfb7e6d780eedea214280fdc
24 -DIST gnome-builder-3.40.1.tar.xz 12083836 BLAKE2B 3e4dc4e3e2e1356ee3e52c8898d387875cadd9a866d03d409560d6a5322e2d59883115d7cbb7de16f7d51b5afdf0062982e7bf458614db903077ae114e13532b SHA512 aa53a883286a56c5548f30521b5c0c6980d7d53b4c43771da6049e2605ef8f802a1a0079c4347c03dd85545a69d225cf49c162bf2669bb56307f3543597e9083
25 DIST gnome-builder-3.40.2.tar.xz 12083992 BLAKE2B 136c3e89378221116b5252a8472768888f11bd580cf9d1d524504f9000b8123ee479e19073630bb678cc7392b716e45d122b406dc7d44b13ba0ba77b435077e0 SHA512 e0d1f0f21fe0f681f87d1ad672cb5bf60df3ef16541fffd8ca62d447339371bdb5cbc10d8fc83496822d6eb35ad8078b095ff97d950d940d862d6fd7968147a4
26
27 diff --git a/dev-util/gnome-builder/gnome-builder-3.40.0.ebuild b/dev-util/gnome-builder/gnome-builder-3.40.0.ebuild
28 deleted file mode 100644
29 index 0723a1d7584..00000000000
30 --- a/dev-util/gnome-builder/gnome-builder-3.40.0.ebuild
31 +++ /dev/null
32 @@ -1,183 +0,0 @@
33 -# Copyright 1999-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -PYTHON_COMPAT=( python3_{7..9} )
38 -DISABLE_AUTOFORMATTING=1
39 -FORCE_PRINT_ELOG=1
40 -
41 -inherit gnome.org gnome2-utils llvm meson optfeature python-single-r1 readme.gentoo-r1 virtualx xdg
42 -
43 -DESCRIPTION="An IDE for writing GNOME-based software"
44 -HOMEPAGE="https://wiki.gnome.org/Apps/Builder"
45 -
46 -# FIXME: Review licenses at some point
47 -LICENSE="GPL-3+ GPL-2+ LGPL-3+ LGPL-2+ MIT CC-BY-SA-3.0 CC0-1.0"
48 -SLOT="0"
49 -KEYWORDS="~amd64 ~x86"
50 -IUSE="clang +devhelp doc +git +glade gtk-doc spell sysprof test"
51 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
52 -
53 -# When bumping, pay attention to all the included plugins/*/meson.build (and other) build files and the requirements within.
54 -# `grep -rI dependency * --include='meson.build'` can give a good initial idea for external deps and their double checking.
55 -# The listed RDEPEND order shold roughly match that output as well, with toplevel one first then sorted by file path.
56 -# Most plugins have no extra requirements and default to enabled; we need to handle the ones with extra requirements. Many of
57 -# them have optional runtime dependencies, for which we try to at least notify the user via DOC_CONTENTS (but not all small
58 -# things); `grep -rI -e 'command-pattern.*=' -e 'push_arg'` can give a (spammy) idea, plus python imports in try/except.
59 -
60 -# FIXME: plugin_flatpak needs flatpak.pc >=0.8.0, ostree-1, libsoup-2.4.pc >=2.52.0 and git plugin enabled
61 -# Editorconfig needs old pcre, with vte migrating away, might want it optional or ported to pcre2?
62 -# An introspection USE flag of a dep is required if any introspection based language plugin wants to use it (grep for gi.repository). Last full check at 3.28.4
63 -
64 -# TODO: Handle llvm slots via llvm.eclass; see plugins/clang/meson.build
65 -# TODO: automagic libportal dep
66 -# TODO: automagic sysprof dep for tracing paths from toplevel meson.build
67 -RDEPEND="
68 - >=dev-libs/libdazzle-3.37.0[introspection]
69 - >=dev-libs/glib-2.67.4:2
70 - >=x11-libs/gtk+-3.22.26:3[introspection]
71 - >=x11-libs/gtksourceview-4.0.0:4[introspection]
72 - >=dev-libs/json-glib-1.2.0
73 - >=dev-libs/jsonrpc-glib-3.19.91
74 - >=x11-libs/pango-1.38.0
75 - >=dev-libs/libpeas-1.22.0[python,${PYTHON_SINGLE_USEDEP}]
76 - >=dev-libs/template-glib-3.28.0[introspection]
77 - >=x11-libs/vte-0.40.2:2.91[introspection]
78 - >=net-libs/webkit-gtk-2.26:4=[introspection]
79 - >=dev-libs/libxml2-2.9.0
80 - git? ( dev-libs/libgit2:=[ssh,threads]
81 - >=dev-libs/libgit2-glib-0.28.0.1[ssh]
82 - )
83 - dev-libs/libpcre:3
84 - dev-libs/libpcre2
85 -
86 - >=dev-libs/gobject-introspection-1.54.0:=
87 - $(python_gen_cond_dep '
88 - >=dev-python/pygobject-3.22.0:3[${PYTHON_USEDEP}]
89 - ')
90 - ${PYTHON_DEPS}
91 - clang? ( sys-devel/clang:= )
92 - devhelp? ( >=dev-util/devhelp-3.25.1:= )
93 - glade? ( >=dev-util/glade-3.22.0:3.10= )
94 - spell? ( >=app-text/gspell-1.8:0=
95 - app-text/enchant:2 )
96 - sysprof? ( >=dev-util/sysprof-3.37.1:0/4[gtk] )
97 -"
98 -DEPEND="${RDEPEND}"
99 -# TODO: runtime ctags path finding..
100 -
101 -# desktop-file-utils required for tests, but we have it in deptree for xdg update-desktop-database anyway, so be explicit and unconditional
102 -# appstream-glib needed for validation with appstream-util with FEATURES=test
103 -BDEPEND="
104 - doc? ( $(python_gen_cond_dep '
105 - dev-python/sphinx[${PYTHON_USEDEP}]
106 - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
107 - ') )
108 - gtk-doc? ( dev-util/gtk-doc
109 - app-text/docbook-xml-dtd:4.3 )
110 - test? (
111 - dev-libs/appstream-glib
112 - sys-apps/dbus )
113 - dev-util/desktop-file-utils
114 - dev-util/glib-utils
115 - >=dev-util/meson-0.49.2
116 - >=sys-devel/gettext-0.19.8
117 - virtual/pkgconfig
118 -"
119 -
120 -DOC_CONTENTS='gnome-builder can use various other dependencies on runtime to provide
121 -extra capabilities beyond these expressed via USE flags. Some of these
122 -that are currently available with packages include:
123 -
124 -* dev-util/uncrustify and dev-python/autopep8 for various Code Beautifier
125 - plugin out of the box functionality.
126 -* dev-util/ctags with exuberant-ctags selected via "eselect ctags" for
127 - C, C++, Python, JavaScript, CSS, HTML and Ruby autocompletion, semantic
128 - highlighting and symbol resolving support.
129 -* dev-python/jedi and dev-python/lxml for more accurate Python
130 - autocompletion support.
131 -* dev-util/valgrind for integration with valgrind.
132 -* dev-util/meson for integration with the Meson build system.
133 -* dev-util/cargo for integration with the Rust Cargo build system.
134 -* dev-util/cmake for integration with the CMake build system.
135 -* net-libs/nodejs[npm] for integration with the NPM package system.
136 -'
137 -# FIXME: Package codespell and mention here
138 -# FIXME: Package gnome-code-assistance and mention here, or maybe USE flag and default enable because it's rather important
139 -# eslint for additional diagnostics in JavaScript files (what package has this? At least something via NPM..)
140 -# jhbuild support
141 -# rust support via rust-analyzer (rls plugin now disabled by default); Go via go-langserver
142 -# autotools stuff for autotools plugin; gtkmm/autoconf-archive for C++ template
143 -# gjs/gettext/mono/PHPize stuff, but most of these are probably installed for other reasons anyways, when needed inside IDE
144 -# stylelint for stylesheet (CSS and co) linting
145 -# gvls for vala language-server integration
146 -
147 -llvm_check_deps() {
148 - has_version "sys-devel/clang:${LLVM_SLOT}"
149 -}
150 -
151 -pkg_setup() {
152 - python-single-r1_pkg_setup
153 - use clang && llvm_pkg_setup
154 -}
155 -
156 -src_configure() {
157 - local emesonargs=(
158 - -Dtracing=false
159 - -Dprofiling=false # not passing -pg to CFLAGS
160 - -Dtcmalloc=false
161 - -Dchannel=other
162 -
163 - $(meson_use doc help)
164 - $(meson_use gtk-doc docs)
165 -
166 - -Dnetwork_tests=false
167 - $(meson_use clang plugin_clang)
168 - -Dplugin_color_picker=false # needs libportal
169 - $(meson_use devhelp plugin_devhelp)
170 - -Dplugin_deviced=false
171 - -Dplugin_editorconfig=true # needs libpcre
172 - -Dplugin_flatpak=false
173 - $(meson_use git plugin_git)
174 - $(meson_use glade plugin_glade)
175 - -Dplugin_podman=false
176 - $(meson_use spell plugin_spellcheck)
177 - $(meson_use sysprof plugin_sysprof)
178 - -Dplugin_update_manager=false
179 - )
180 - meson_src_configure
181 -}
182 -
183 -src_install() {
184 - meson_src_install
185 - python_optimize
186 - if use doc; then
187 - rm "${ED}"/usr/share/doc/gnome-builder/en/.buildinfo || die
188 - rm "${ED}"/usr/share/doc/gnome-builder/en/objects.inv || die
189 - # custom docdir in build system, blocked by https://github.com/mesonbuild/meson/issues/825
190 - mv "${ED}"/usr/share/doc/gnome-builder/en "${ED}"/usr/share/doc/${PF}/html || die
191 - # _sources subdir left in on purpose, as HTML links to the rst files as "View page source". Additionally default docompress exclusion of /html/ already ensures they aren't compressed, thus linkable as-is.
192 - rmdir "${ED}"/usr/share/doc/gnome-builder/ || die
193 - fi
194 - readme.gentoo_create_doc
195 -}
196 -
197 -pkg_postinst() {
198 - xdg_pkg_postinst
199 - gnome2_schemas_update
200 - readme.gentoo_print_elog
201 -
202 - optfeature_header "Code beautifiers"
203 - optfeature "Python" dev-python/autopep8
204 - optfeature "C/C++/Java" dev-util/uncrustify
205 -}
206 -
207 -pkg_postrm() {
208 - xdg_pkg_postrm
209 - gnome2_schemas_update
210 -}
211 -
212 -src_test() {
213 - # FIXME: can't run meson_src_test together with virtx or dbus-run-session
214 - virtx dbus-run-session meson test -C "${BUILD_DIR}"
215 -}
216
217 diff --git a/dev-util/gnome-builder/gnome-builder-3.40.1.ebuild b/dev-util/gnome-builder/gnome-builder-3.40.1.ebuild
218 deleted file mode 100644
219 index 0723a1d7584..00000000000
220 --- a/dev-util/gnome-builder/gnome-builder-3.40.1.ebuild
221 +++ /dev/null
222 @@ -1,183 +0,0 @@
223 -# Copyright 1999-2021 Gentoo Authors
224 -# Distributed under the terms of the GNU General Public License v2
225 -
226 -EAPI=7
227 -PYTHON_COMPAT=( python3_{7..9} )
228 -DISABLE_AUTOFORMATTING=1
229 -FORCE_PRINT_ELOG=1
230 -
231 -inherit gnome.org gnome2-utils llvm meson optfeature python-single-r1 readme.gentoo-r1 virtualx xdg
232 -
233 -DESCRIPTION="An IDE for writing GNOME-based software"
234 -HOMEPAGE="https://wiki.gnome.org/Apps/Builder"
235 -
236 -# FIXME: Review licenses at some point
237 -LICENSE="GPL-3+ GPL-2+ LGPL-3+ LGPL-2+ MIT CC-BY-SA-3.0 CC0-1.0"
238 -SLOT="0"
239 -KEYWORDS="~amd64 ~x86"
240 -IUSE="clang +devhelp doc +git +glade gtk-doc spell sysprof test"
241 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
242 -
243 -# When bumping, pay attention to all the included plugins/*/meson.build (and other) build files and the requirements within.
244 -# `grep -rI dependency * --include='meson.build'` can give a good initial idea for external deps and their double checking.
245 -# The listed RDEPEND order shold roughly match that output as well, with toplevel one first then sorted by file path.
246 -# Most plugins have no extra requirements and default to enabled; we need to handle the ones with extra requirements. Many of
247 -# them have optional runtime dependencies, for which we try to at least notify the user via DOC_CONTENTS (but not all small
248 -# things); `grep -rI -e 'command-pattern.*=' -e 'push_arg'` can give a (spammy) idea, plus python imports in try/except.
249 -
250 -# FIXME: plugin_flatpak needs flatpak.pc >=0.8.0, ostree-1, libsoup-2.4.pc >=2.52.0 and git plugin enabled
251 -# Editorconfig needs old pcre, with vte migrating away, might want it optional or ported to pcre2?
252 -# An introspection USE flag of a dep is required if any introspection based language plugin wants to use it (grep for gi.repository). Last full check at 3.28.4
253 -
254 -# TODO: Handle llvm slots via llvm.eclass; see plugins/clang/meson.build
255 -# TODO: automagic libportal dep
256 -# TODO: automagic sysprof dep for tracing paths from toplevel meson.build
257 -RDEPEND="
258 - >=dev-libs/libdazzle-3.37.0[introspection]
259 - >=dev-libs/glib-2.67.4:2
260 - >=x11-libs/gtk+-3.22.26:3[introspection]
261 - >=x11-libs/gtksourceview-4.0.0:4[introspection]
262 - >=dev-libs/json-glib-1.2.0
263 - >=dev-libs/jsonrpc-glib-3.19.91
264 - >=x11-libs/pango-1.38.0
265 - >=dev-libs/libpeas-1.22.0[python,${PYTHON_SINGLE_USEDEP}]
266 - >=dev-libs/template-glib-3.28.0[introspection]
267 - >=x11-libs/vte-0.40.2:2.91[introspection]
268 - >=net-libs/webkit-gtk-2.26:4=[introspection]
269 - >=dev-libs/libxml2-2.9.0
270 - git? ( dev-libs/libgit2:=[ssh,threads]
271 - >=dev-libs/libgit2-glib-0.28.0.1[ssh]
272 - )
273 - dev-libs/libpcre:3
274 - dev-libs/libpcre2
275 -
276 - >=dev-libs/gobject-introspection-1.54.0:=
277 - $(python_gen_cond_dep '
278 - >=dev-python/pygobject-3.22.0:3[${PYTHON_USEDEP}]
279 - ')
280 - ${PYTHON_DEPS}
281 - clang? ( sys-devel/clang:= )
282 - devhelp? ( >=dev-util/devhelp-3.25.1:= )
283 - glade? ( >=dev-util/glade-3.22.0:3.10= )
284 - spell? ( >=app-text/gspell-1.8:0=
285 - app-text/enchant:2 )
286 - sysprof? ( >=dev-util/sysprof-3.37.1:0/4[gtk] )
287 -"
288 -DEPEND="${RDEPEND}"
289 -# TODO: runtime ctags path finding..
290 -
291 -# desktop-file-utils required for tests, but we have it in deptree for xdg update-desktop-database anyway, so be explicit and unconditional
292 -# appstream-glib needed for validation with appstream-util with FEATURES=test
293 -BDEPEND="
294 - doc? ( $(python_gen_cond_dep '
295 - dev-python/sphinx[${PYTHON_USEDEP}]
296 - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
297 - ') )
298 - gtk-doc? ( dev-util/gtk-doc
299 - app-text/docbook-xml-dtd:4.3 )
300 - test? (
301 - dev-libs/appstream-glib
302 - sys-apps/dbus )
303 - dev-util/desktop-file-utils
304 - dev-util/glib-utils
305 - >=dev-util/meson-0.49.2
306 - >=sys-devel/gettext-0.19.8
307 - virtual/pkgconfig
308 -"
309 -
310 -DOC_CONTENTS='gnome-builder can use various other dependencies on runtime to provide
311 -extra capabilities beyond these expressed via USE flags. Some of these
312 -that are currently available with packages include:
313 -
314 -* dev-util/uncrustify and dev-python/autopep8 for various Code Beautifier
315 - plugin out of the box functionality.
316 -* dev-util/ctags with exuberant-ctags selected via "eselect ctags" for
317 - C, C++, Python, JavaScript, CSS, HTML and Ruby autocompletion, semantic
318 - highlighting and symbol resolving support.
319 -* dev-python/jedi and dev-python/lxml for more accurate Python
320 - autocompletion support.
321 -* dev-util/valgrind for integration with valgrind.
322 -* dev-util/meson for integration with the Meson build system.
323 -* dev-util/cargo for integration with the Rust Cargo build system.
324 -* dev-util/cmake for integration with the CMake build system.
325 -* net-libs/nodejs[npm] for integration with the NPM package system.
326 -'
327 -# FIXME: Package codespell and mention here
328 -# FIXME: Package gnome-code-assistance and mention here, or maybe USE flag and default enable because it's rather important
329 -# eslint for additional diagnostics in JavaScript files (what package has this? At least something via NPM..)
330 -# jhbuild support
331 -# rust support via rust-analyzer (rls plugin now disabled by default); Go via go-langserver
332 -# autotools stuff for autotools plugin; gtkmm/autoconf-archive for C++ template
333 -# gjs/gettext/mono/PHPize stuff, but most of these are probably installed for other reasons anyways, when needed inside IDE
334 -# stylelint for stylesheet (CSS and co) linting
335 -# gvls for vala language-server integration
336 -
337 -llvm_check_deps() {
338 - has_version "sys-devel/clang:${LLVM_SLOT}"
339 -}
340 -
341 -pkg_setup() {
342 - python-single-r1_pkg_setup
343 - use clang && llvm_pkg_setup
344 -}
345 -
346 -src_configure() {
347 - local emesonargs=(
348 - -Dtracing=false
349 - -Dprofiling=false # not passing -pg to CFLAGS
350 - -Dtcmalloc=false
351 - -Dchannel=other
352 -
353 - $(meson_use doc help)
354 - $(meson_use gtk-doc docs)
355 -
356 - -Dnetwork_tests=false
357 - $(meson_use clang plugin_clang)
358 - -Dplugin_color_picker=false # needs libportal
359 - $(meson_use devhelp plugin_devhelp)
360 - -Dplugin_deviced=false
361 - -Dplugin_editorconfig=true # needs libpcre
362 - -Dplugin_flatpak=false
363 - $(meson_use git plugin_git)
364 - $(meson_use glade plugin_glade)
365 - -Dplugin_podman=false
366 - $(meson_use spell plugin_spellcheck)
367 - $(meson_use sysprof plugin_sysprof)
368 - -Dplugin_update_manager=false
369 - )
370 - meson_src_configure
371 -}
372 -
373 -src_install() {
374 - meson_src_install
375 - python_optimize
376 - if use doc; then
377 - rm "${ED}"/usr/share/doc/gnome-builder/en/.buildinfo || die
378 - rm "${ED}"/usr/share/doc/gnome-builder/en/objects.inv || die
379 - # custom docdir in build system, blocked by https://github.com/mesonbuild/meson/issues/825
380 - mv "${ED}"/usr/share/doc/gnome-builder/en "${ED}"/usr/share/doc/${PF}/html || die
381 - # _sources subdir left in on purpose, as HTML links to the rst files as "View page source". Additionally default docompress exclusion of /html/ already ensures they aren't compressed, thus linkable as-is.
382 - rmdir "${ED}"/usr/share/doc/gnome-builder/ || die
383 - fi
384 - readme.gentoo_create_doc
385 -}
386 -
387 -pkg_postinst() {
388 - xdg_pkg_postinst
389 - gnome2_schemas_update
390 - readme.gentoo_print_elog
391 -
392 - optfeature_header "Code beautifiers"
393 - optfeature "Python" dev-python/autopep8
394 - optfeature "C/C++/Java" dev-util/uncrustify
395 -}
396 -
397 -pkg_postrm() {
398 - xdg_pkg_postrm
399 - gnome2_schemas_update
400 -}
401 -
402 -src_test() {
403 - # FIXME: can't run meson_src_test together with virtx or dbus-run-session
404 - virtx dbus-run-session meson test -C "${BUILD_DIR}"
405 -}