Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/sysprof/files/, dev-util/sysprof/
Date: Sat, 30 Mar 2019 21:57:07
Message-Id: 1553982966.b0ec7acf1e1d6186f907368ba4e3ee105898a112.leio@gentoo
1 commit: b0ec7acf1e1d6186f907368ba4e3ee105898a112
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 30 21:35:57 2019 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 30 21:56:06 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0ec7acf
7
8 dev-util/sysprof: remove old
9
10 Package-Manager: Portage-2.3.52, Repoman-2.3.12
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 dev-util/sysprof/Manifest | 2 -
14 .../sysprof/files/3.28.1-fix-nosystemd-build.patch | 51 ---------------
15 dev-util/sysprof/sysprof-3.26.1.ebuild | 63 -------------------
16 dev-util/sysprof/sysprof-3.28.1.ebuild | 73 ----------------------
17 dev-util/sysprof/sysprof-3.30.2.ebuild | 71 ---------------------
18 5 files changed, 260 deletions(-)
19
20 diff --git a/dev-util/sysprof/Manifest b/dev-util/sysprof/Manifest
21 index 896392cf250..8a309bc6e0b 100644
22 --- a/dev-util/sysprof/Manifest
23 +++ b/dev-util/sysprof/Manifest
24 @@ -1,4 +1,2 @@
25 DIST sysprof-3.24.1.tar.xz 595920 BLAKE2B 90582eab3fc12a0169c151ce0fad20b839841f77a31e5858f8d660f9b0f2630396bec3b239dd88baa3f6e3dd936bdd6d63a652e491a1d32f966a755f9099f160 SHA512 5d323bcb9923c511065132711963dc8856c4d837b4d7ccfae5cc5794be5ac8ad1dc42504025469199f4bfd6a6fad4d8f49b7b21cab6f0c9a954820182e75c7d0
26 -DIST sysprof-3.26.1.tar.xz 609076 BLAKE2B fd10ce27b224100558ff5bb9c75cfffcb76b2331d2c4056bd73a9ace1ea155e61d705240acf6fefa805fba2333f6d439369d5b1cc16e0c537ab9fed408bf6d85 SHA512 ee03360e4971cd91129bac3cc9d2cf292d29aafe1cdacd078e404ee15c3ff02bcd0c0159502605c00eb2abd3a46917cf70458ad05e48b594eeb2835ead55c34c
27 -DIST sysprof-3.28.1.tar.xz 380720 BLAKE2B 0a3b93659e421b717230bff6e90d20b28f8abc8491fddb51bc3f106b6cd8b038254e1fd0260c6eee2c2b83d77765be43f394d49bd34c054c36d6427ef419fefa SHA512 ca75c279bcb8cb37bffdba51d5b3481c3ece104847b64c0b8cb534468c9350a96c7224bf261ef892817e53aff2cff90a2b808f5db5a9afd6230721664b83809b
28 DIST sysprof-3.30.2.tar.xz 393420 BLAKE2B 5e86a78c231d2d2c601198e066c463d8bec95ab1ae6d0f6678e6e80305b8a6d53c604ce54d9fc2a473e4679695cef709f0e1a9514f1091719f33a58b92c896eb SHA512 70c49f7c20742aad82c8d9b1e303d06ca5fd2d27a6868872d28affea22278d381bf3eb0d181cbd1bfa490bda2878c52748ac29273e9e608452e9bf4f29fd9e2a
29
30 diff --git a/dev-util/sysprof/files/3.28.1-fix-nosystemd-build.patch b/dev-util/sysprof/files/3.28.1-fix-nosystemd-build.patch
31 deleted file mode 100644
32 index c83a951d846..00000000000
33 --- a/dev-util/sysprof/files/3.28.1-fix-nosystemd-build.patch
34 +++ /dev/null
35 @@ -1,51 +0,0 @@
36 -From 28c28eb11ac1696ce08c9c90e8a7a7759bc5c50b Mon Sep 17 00:00:00 2001
37 -From: Christian Hergert <chergert@××××××.com>
38 -Date: Tue, 28 Aug 2018 12:22:57 -0700
39 -Subject: [PATCH] kernel-symbol: respect ENABLE_POLKIT setting
40 -
41 -This fixes the compilation when we have sysprofd fully disabled.
42 -That is not an ideal configuration, but keeping it working
43 -ensures that some of the code is easy copy/paste'able in the
44 -future for some situations.
45 ----
46 - lib/symbols/sp-kernel-symbol.c | 9 ++++++++-
47 - 1 file changed, 8 insertions(+), 1 deletion(-)
48 -
49 -diff --git a/lib/symbols/sp-kernel-symbol.c b/lib/symbols/sp-kernel-symbol.c
50 -index 8eb8087..14e026f 100644
51 ---- a/lib/symbols/sp-kernel-symbol.c
52 -+++ b/lib/symbols/sp-kernel-symbol.c
53 -@@ -18,8 +18,13 @@
54 -
55 - #define G_LOG_DOMAIN "sp-kernel-symbol"
56 -
57 -+#include "config.h"
58 -+
59 - #include <gio/gio.h>
60 --#include <polkit/polkit.h>
61 -+
62 -+#ifdef ENABLE_POLKIT
63 -+# include <polkit/polkit.h>
64 -+#endif
65 -
66 - #include "sp-kallsyms.h"
67 -
68 -@@ -87,6 +92,7 @@ type_is_ignored (guint8 type)
69 - static gboolean
70 - authorize_proxy (GDBusConnection *conn)
71 - {
72 -+#ifdef ENABLE_POLKIT
73 - PolkitSubject *subject = NULL;
74 - GPermission *permission = NULL;
75 - const gchar *name;
76 -@@ -113,6 +119,7 @@ authorize_proxy (GDBusConnection *conn)
77 - failure:
78 - g_clear_object (&subject);
79 - g_clear_object (&permission);
80 -+#endif
81 -
82 - return FALSE;
83 - }
84 ---
85 -2.17.0
86 -
87
88 diff --git a/dev-util/sysprof/sysprof-3.26.1.ebuild b/dev-util/sysprof/sysprof-3.26.1.ebuild
89 deleted file mode 100644
90 index 144b2c9fcad..00000000000
91 --- a/dev-util/sysprof/sysprof-3.26.1.ebuild
92 +++ /dev/null
93 @@ -1,63 +0,0 @@
94 -# Copyright 1999-2018 Gentoo Foundation
95 -# Distributed under the terms of the GNU General Public License v2
96 -
97 -EAPI=6
98 -
99 -inherit gnome2 linux-info systemd
100 -
101 -DESCRIPTION="System-wide Linux Profiler"
102 -HOMEPAGE="http://sysprof.com/"
103 -
104 -LICENSE="GPL-2+"
105 -SLOT="0"
106 -KEYWORDS="~amd64 ~x86"
107 -IUSE="debug gtk systemd"
108 -
109 -RDEPEND="
110 - >=dev-libs/glib-2.44:2
111 - gtk? (
112 - sys-auth/polkit
113 - >=x11-libs/gtk+-3.22.0:3 )
114 - systemd? (
115 - sys-auth/polkit
116 - >=sys-apps/systemd-222 )
117 -"
118 -DEPEND="${RDEPEND}
119 - app-text/yelp-tools
120 - >=sys-devel/gettext-0.19.6
121 - >=sys-kernel/linux-headers-2.6.32
122 - dev-libs/appstream-glib
123 - virtual/pkgconfig
124 -"
125 -
126 -pkg_pretend() {
127 - kernel_is -ge 2 6 31 && return
128 - die "Sysprof will not work with a kernel version less than 2.6.31"
129 -}
130 -
131 -src_configure() {
132 - # introspection & vala not use in build system
133 - # --with-sysprofd=host currently unavailable from ebuild
134 - gnome2_src_configure \
135 - $(use_enable debug) \
136 - $(use_enable gtk) \
137 - --disable-introspection \
138 - --disable-static \
139 - --disable-vala \
140 - --with-sysprofd=$(usex systemd bundled no) \
141 - --with-systemdsystemunitdir=$(systemd_get_systemunitdir)
142 -}
143 -
144 -pkg_postinst() {
145 - gnome2_pkg_postinst
146 -
147 - elog "On many systems, especially amd64, it is typical that with a modern"
148 - elog "toolchain -fomit-frame-pointer for gcc is the default, because"
149 - elog "debugging is still possible thanks to gcc4/gdb location list feature."
150 - elog "However sysprof is not able to construct call trees if frame pointers"
151 - elog "are not present. Therefore -fno-omit-frame-pointer CFLAGS is suggested"
152 - elog "for the libraries and applications involved in the profiling. That"
153 - elog "means a CPU register is used for the frame pointer instead of other"
154 - elog "purposes, which means a very minimal performance loss when there is"
155 - elog "register pressure."
156 -}
157
158 diff --git a/dev-util/sysprof/sysprof-3.28.1.ebuild b/dev-util/sysprof/sysprof-3.28.1.ebuild
159 deleted file mode 100644
160 index f6664d0b9fb..00000000000
161 --- a/dev-util/sysprof/sysprof-3.28.1.ebuild
162 +++ /dev/null
163 @@ -1,73 +0,0 @@
164 -# Copyright 1999-2018 Gentoo Foundation
165 -# Distributed under the terms of the GNU General Public License v2
166 -
167 -EAPI=6
168 -
169 -inherit gnome.org gnome2-utils meson systemd xdg
170 -
171 -DESCRIPTION="System-wide Linux Profiler"
172 -HOMEPAGE="http://sysprof.com/"
173 -
174 -LICENSE="GPL-3+ GPL-2+"
175 -SLOT="0"
176 -KEYWORDS="~amd64 ~x86"
177 -IUSE="gtk systemd"
178 -
179 -RDEPEND="
180 - >=dev-libs/glib-2.44:2
181 - sys-auth/polkit
182 - gtk? ( >=x11-libs/gtk+-3.22.0:3 )
183 - systemd? ( >=sys-apps/systemd-222 )
184 -"
185 -# libxml2 required for glib-compile-resources; appstream-glib for appdata.xml translations
186 -DEPEND="${RDEPEND}
187 - app-text/yelp-tools
188 - dev-libs/appstream-glib
189 - dev-libs/libxml2:2
190 - >=sys-devel/gettext-0.19.6
191 - >=sys-kernel/linux-headers-2.6.32
192 - virtual/pkgconfig
193 -"
194 -
195 -PATCHES=( "${FILESDIR}"/${PV}-fix-nosystemd-build.patch )
196 -
197 -src_configure() {
198 - # -Dwith_sysprofd=host currently unavailable from ebuild
199 - local emesonargs=(
200 - $(meson_use gtk enable_gtk)
201 - -Dwith_sysprofd=$(usex systemd bundled none)
202 - -Dsystemdunitdir=$(systemd_get_systemunitdir)
203 - # -Ddebugdir
204 - )
205 - meson_src_configure
206 -}
207 -
208 -pkg_postinst() {
209 - xdg_pkg_postinst
210 - gnome2_icon_cache_update
211 - gnome2_schemas_update
212 -
213 - elog "On many systems, especially amd64, it is typical that with a modern"
214 - elog "toolchain -fomit-frame-pointer for gcc is the default, because"
215 - elog "debugging is still possible thanks to gcc4/gdb location list feature."
216 - elog "However sysprof is not able to construct call trees if frame pointers"
217 - elog "are not present. Therefore -fno-omit-frame-pointer CFLAGS is suggested"
218 - elog "for the libraries and applications involved in the profiling. That"
219 - elog "means a CPU register is used for the frame pointer instead of other"
220 - elog "purposes, which means a very minimal performance loss when there is"
221 - elog "register pressure."
222 - if ! use systemd; then
223 - elog ""
224 - elog "Without systemd, sysprof may not function when launched as a regular user,"
225 - elog "thus suboptimal running from root account may be necessary."
226 - if use gtk; then
227 - elog "Under wayland, that limits the recording usage to sysprof-cli utility."
228 - fi
229 - fi
230 -}
231 -
232 -pkg_postrm() {
233 - xdg_pkg_postrm
234 - gnome2_icon_cache_update
235 - gnome2_schemas_update
236 -}
237
238 diff --git a/dev-util/sysprof/sysprof-3.30.2.ebuild b/dev-util/sysprof/sysprof-3.30.2.ebuild
239 deleted file mode 100644
240 index e3dd7be4967..00000000000
241 --- a/dev-util/sysprof/sysprof-3.30.2.ebuild
242 +++ /dev/null
243 @@ -1,71 +0,0 @@
244 -# Copyright 1999-2018 Gentoo Authors
245 -# Distributed under the terms of the GNU General Public License v2
246 -
247 -EAPI=6
248 -
249 -inherit gnome.org gnome2-utils meson systemd xdg
250 -
251 -DESCRIPTION="System-wide Linux Profiler"
252 -HOMEPAGE="http://sysprof.com/"
253 -
254 -LICENSE="GPL-3+ GPL-2+"
255 -SLOT="0"
256 -KEYWORDS="~amd64 ~x86"
257 -IUSE="gtk systemd"
258 -
259 -RDEPEND="
260 - >=dev-libs/glib-2.44:2
261 - sys-auth/polkit
262 - gtk? ( >=x11-libs/gtk+-3.22.0:3 )
263 - systemd? ( >=sys-apps/systemd-222 )
264 -"
265 -# libxml2 required for glib-compile-resources; appstream-glib for appdata.xml developer_name tag translation
266 -DEPEND="${RDEPEND}
267 - dev-libs/appstream-glib
268 - dev-libs/libxml2:2
269 - dev-util/itstool
270 - >=sys-devel/gettext-0.19.8
271 - >=sys-kernel/linux-headers-2.6.32
272 - virtual/pkgconfig
273 -"
274 -
275 -src_configure() {
276 - # -Dwith_sysprofd=host currently unavailable from ebuild
277 - local emesonargs=(
278 - $(meson_use gtk enable_gtk)
279 - -Dwith_sysprofd=$(usex systemd bundled none)
280 - -Dsystemdunitdir=$(systemd_get_systemunitdir)
281 - # -Ddebugdir
282 - )
283 - meson_src_configure
284 -}
285 -
286 -pkg_postinst() {
287 - xdg_pkg_postinst
288 - gnome2_icon_cache_update
289 - gnome2_schemas_update
290 -
291 - elog "On many systems, especially amd64, it is typical that with a modern"
292 - elog "toolchain -fomit-frame-pointer for gcc is the default, because"
293 - elog "debugging is still possible thanks to gcc4/gdb location list feature."
294 - elog "However sysprof is not able to construct call trees if frame pointers"
295 - elog "are not present. Therefore -fno-omit-frame-pointer CFLAGS is suggested"
296 - elog "for the libraries and applications involved in the profiling. That"
297 - elog "means a CPU register is used for the frame pointer instead of other"
298 - elog "purposes, which means a very minimal performance loss when there is"
299 - elog "register pressure."
300 - if ! use systemd; then
301 - elog ""
302 - elog "Without systemd, sysprof may not function when launched as a regular user,"
303 - elog "thus suboptimal running from root account may be necessary."
304 - if use gtk; then
305 - elog "Under wayland, that limits the recording usage to sysprof-cli utility."
306 - fi
307 - fi
308 -}
309 -
310 -pkg_postrm() {
311 - xdg_pkg_postrm
312 - gnome2_icon_cache_update
313 - gnome2_schemas_update
314 -}