Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/, dev-util/devhelp/
Date: Thu, 29 Sep 2022 01:55:16
Message-Id: 1664416497.0f94b7943e2490f2df91f0bf5a4abafe8e93ca28.mattst88@gentoo
1 commit: 0f94b7943e2490f2df91f0bf5a4abafe8e93ca28
2 Author: Guillermo Joandet <gjoandet <AT> gmail <DOT> com>
3 AuthorDate: Wed Sep 28 17:18:16 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 29 01:54:57 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f94b794
7
8 dev-util/devhelp: Version bump to 43.0
9
10 Signed-off-by: Guillermo Joandet <gjoandet <AT> gmail.com>
11 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
12
13 dev-util/devhelp/Manifest | 1 +
14 dev-util/devhelp/devhelp-43.0.ebuild | 82 ++++++++++++++++++++++++++++++++++++
15 profiles/package.mask | 3 +-
16 3 files changed, 85 insertions(+), 1 deletion(-)
17
18 diff --git a/dev-util/devhelp/Manifest b/dev-util/devhelp/Manifest
19 index 98bd8fd423b8..fddd82c226f6 100644
20 --- a/dev-util/devhelp/Manifest
21 +++ b/dev-util/devhelp/Manifest
22 @@ -1,2 +1,3 @@
23 DIST devhelp-41.2.tar.xz 1455736 BLAKE2B c531af6cded6c9624581e4d14fb4d7713afbdcf173ec2a82e49789af1752568790dc346cc0293eddc68c0943fec4f742de726953de34441771711a938ba858fa SHA512 99a75ff19bf1b4613c312921452f190334e3e2036c28cda070169e3d1d352a5d2e7a56a393326efd679076257412e281dc94b628429119fcad58060d1a88ea98
24 DIST devhelp-41.3.tar.xz 2303068 BLAKE2B 1c08931897a7cd1d15028d9394479297d6fffc48412aa31cc739380405b8588fec47fddbea803c80d44eb23d2fa84d5f9a42aa8b061859d459e450ccd76ee82d SHA512 91251f1d8c0380f16768a1fed2d0a0a19935a646613a966c48ae70e52bfe8b6aa0c683d2b371d9e25dfdfcaeac687ea2c83c2bfd5f4f35394bb4576e6f98b48d
25 +DIST devhelp-43.0.tar.xz 327508 BLAKE2B 455015ec115610f27c2a1d9c3a8a21f50d8b061de7524371d892aba35173278f3aabe623b0b6770437b1501e6af795a9a12c9cc3ae238d8691d00e27388ae1a4 SHA512 92f147659754480ac4aa02f21558572d4bb8a034251225d344a8cae16824d9c14071751dfca6439f98dc7f7884fb35ef2d9c708e42f11bb6b3dfd8648b784654
26
27 diff --git a/dev-util/devhelp/devhelp-43.0.ebuild b/dev-util/devhelp/devhelp-43.0.ebuild
28 new file mode 100644
29 index 000000000000..481ad3bd226d
30 --- /dev/null
31 +++ b/dev-util/devhelp/devhelp-43.0.ebuild
32 @@ -0,0 +1,82 @@
33 +# Copyright 1999-2022 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=8
37 +PYTHON_COMPAT=( python3_{8..11} )
38 +
39 +inherit gnome.org gnome2-utils meson python-single-r1 xdg
40 +
41 +DESCRIPTION="An API documentation browser for GNOME"
42 +HOMEPAGE="https://wiki.gnome.org/Apps/Devhelp"
43 +
44 +LICENSE="GPL-3+ CC-BY-SA-4.0"
45 +SLOT="0/3-6" # subslot = 3-(libdevhelp-3 soname version)
46 +KEYWORDS="~amd64 ~arm ~ppc64 ~sparc ~x86"
47 +IUSE="+gedit gtk-doc +introspection"
48 +REQUIRED_USE="gedit? ( ${PYTHON_REQUIRED_USE} ) gtk-doc? ( introspection )"
49 +
50 +DEPEND="
51 + >=dev-libs/glib-2.64:2
52 + >=x11-libs/gtk+-3.22:3[introspection?]
53 + net-libs/webkit-gtk:4.1[introspection?]
54 + gnome-base/gsettings-desktop-schemas
55 + introspection? ( >=dev-libs/gobject-introspection-1.54:= )
56 +"
57 +RDEPEND="${DEPEND}
58 + gedit? (
59 + ${PYTHON_DEPS}
60 + $(python_gen_cond_dep '
61 + app-editors/gedit[introspection(+),python,${PYTHON_SINGLE_USEDEP}]
62 + dev-python/pygobject:3[${PYTHON_USEDEP}]
63 + ')
64 + )
65 +"
66 +# libxml2 required for glib-compile-resources
67 +BDEPEND="
68 + ${PYTHON_DEPS}
69 + dev-libs/libxml2:2
70 + dev-util/glib-utils
71 + dev-util/itstool
72 + gtk-doc? ( >=dev-util/gi-docgen-2021.6 )
73 + >=sys-devel/gettext-0.19.8
74 + virtual/pkgconfig
75 +"
76 +
77 +PATCHES=(
78 + "${FILESDIR}"/41.2-optional-introspection.patch
79 +)
80 +
81 +pkg_setup() {
82 + use gedit && python-single-r1_pkg_setup
83 +}
84 +
85 +src_configure() {
86 + local emesonargs=(
87 + -Dflatpak_build=false
88 + $(meson_use gtk-doc gtk_doc)
89 + $(meson_use introspection)
90 + -Dplugin_emacs=true
91 + $(meson_use gedit plugin_gedit)
92 + -Dplugin_vim=true
93 + )
94 + meson_src_configure
95 +}
96 +
97 +src_install() {
98 + meson_src_install
99 + if use gtk-doc; then
100 + mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die
101 + mv "${ED}"/usr/share/doc/devhelp-3 "${ED}"/usr/share/gtk-doc/html/ || die
102 + fi
103 + use gedit && python_optimize "${ED}"/usr/$(get_libdir)/gedit/plugins
104 +}
105 +
106 +pkg_postinst() {
107 + xdg_pkg_postinst
108 + gnome2_schemas_update
109 +}
110 +
111 +pkg_postrm() {
112 + xdg_pkg_postrm
113 + gnome2_schemas_update
114 +}
115
116 diff --git a/profiles/package.mask b/profiles/package.mask
117 index dcb0b2bbb0e0..8cd3a2645c7d 100644
118 --- a/profiles/package.mask
119 +++ b/profiles/package.mask
120 @@ -556,11 +556,12 @@ sys-devel/automake:1.11
121 # New major parallel-installable release which needs special care to not
122 # end up loaded into the same process together with the earlier libsoup ABI.
123 # Migration to it is expected for GNOME 42, NOT to be unmasked with GNOME 41.
124 +>=dev-util/devhelp-43
125 >=gnome-extra/gnome-calculator-43
126 media-libs/libshumate
127 -net-libs/uhttpmock:1.0
128 net-libs/libsoup:3.0
129 net-libs/rest:1.0
130 +net-libs/uhttpmock:1.0
131 net-libs/webkit-gtk:4.1
132 sci-geosciences/geocode-glib:2