1 |
commit: 22afdee512629291c1afa1f11ded21f707a5ccbc |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 18 11:11:27 2017 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 18 11:11:27 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22afdee5 |
7 |
|
8 |
dev-util/sysprof: bump to 3.24.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
dev-util/sysprof/Manifest | 1 + |
13 |
dev-util/sysprof/sysprof-3.24.1.ebuild | 60 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 61 insertions(+) |
15 |
|
16 |
diff --git a/dev-util/sysprof/Manifest b/dev-util/sysprof/Manifest |
17 |
index 6a174eda44f..07c4c317e02 100644 |
18 |
--- a/dev-util/sysprof/Manifest |
19 |
+++ b/dev-util/sysprof/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST sysprof-3.22.2.tar.xz 581864 SHA256 d57fb19a3e5d4ad37d5fb554dc93d9a03f332779c3bffd9c2aa8f176e85269d7 SHA512 601e83f8809bfc970b87a8cbecfc868e957d992aa554316e80b44f21c97a58ef0a236e0b0bda6accc01d5d551f7fca76b4882863a9ea498578731b49dc75322c WHIRLPOOL fdb2bcf0ee191bcecdda93fa3bc9d78aae5301e5fb2f0706021e1b2425d93a2d8ae16472a584ed172b864044b096c66f5c3ef714c848af63937d7dfe40736377 |
22 |
+DIST sysprof-3.24.1.tar.xz 595920 SHA256 054eebe2afb6fe3c06ac8c46bc045c42f675d4fd64e6f16cbc602d5c7ce27bec SHA512 5d323bcb9923c511065132711963dc8856c4d837b4d7ccfae5cc5794be5ac8ad1dc42504025469199f4bfd6a6fad4d8f49b7b21cab6f0c9a954820182e75c7d0 WHIRLPOOL e4cc8391b9583f4e2633e89b5cf18445f9d2c6324dcb4b1b00e2e5742441688c16d514701d5f4077f2579e854dbbfec5058e97d6f37b32b7ba8a812354668ce8 |
23 |
|
24 |
diff --git a/dev-util/sysprof/sysprof-3.24.1.ebuild b/dev-util/sysprof/sysprof-3.24.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..93e9abc09be |
27 |
--- /dev/null |
28 |
+++ b/dev-util/sysprof/sysprof-3.24.1.ebuild |
29 |
@@ -0,0 +1,60 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+inherit gnome2 linux-info systemd |
36 |
+ |
37 |
+DESCRIPTION="System-wide Linux Profiler" |
38 |
+HOMEPAGE="http://sysprof.com/" |
39 |
+ |
40 |
+LICENSE="GPL-2+" |
41 |
+SLOT="0" |
42 |
+KEYWORDS="~amd64 ~x86" |
43 |
+IUSE="debug gtk systemd" |
44 |
+ |
45 |
+RDEPEND=" |
46 |
+ >=dev-libs/glib-2.44:2 |
47 |
+ gtk? ( >=x11-libs/gtk+-3.22.0:3 ) |
48 |
+ systemd? ( |
49 |
+ sys-auth/polkit |
50 |
+ >=sys-apps/systemd-222 ) |
51 |
+" |
52 |
+DEPEND="${RDEPEND} |
53 |
+ app-text/yelp-tools |
54 |
+ >=sys-devel/gettext-0.19.6 |
55 |
+ >=sys-kernel/linux-headers-2.6.32 |
56 |
+ dev-libs/appstream-glib |
57 |
+ virtual/pkgconfig |
58 |
+" |
59 |
+ |
60 |
+pkg_pretend() { |
61 |
+ kernel_is -ge 2 6 31 && return |
62 |
+ die "Sysprof will not work with a kernel version less than 2.6.31" |
63 |
+} |
64 |
+ |
65 |
+src_configure() { |
66 |
+ # introspection & vala not use in build system |
67 |
+ gnome2_src_configure \ |
68 |
+ $(use_enable debug) \ |
69 |
+ $(use_enable gtk) \ |
70 |
+ --disable-introspection \ |
71 |
+ --disable-static \ |
72 |
+ --disable-vala \ |
73 |
+ --with-sysprofd=$(usex systemd bundled no) \ |
74 |
+ --with-systemdsystemunitdir=$(systemd_get_systemunitdir) |
75 |
+} |
76 |
+ |
77 |
+pkg_postinst() { |
78 |
+ gnome2_pkg_postinst |
79 |
+ |
80 |
+ elog "On many systems, especially amd64, it is typical that with a modern" |
81 |
+ elog "toolchain -fomit-frame-pointer for gcc is the default, because" |
82 |
+ elog "debugging is still possible thanks to gcc4/gdb location list feature." |
83 |
+ elog "However sysprof is not able to construct call trees if frame pointers" |
84 |
+ elog "are not present. Therefore -fno-omit-frame-pointer CFLAGS is suggested" |
85 |
+ elog "for the libraries and applications involved in the profiling. That" |
86 |
+ elog "means a CPU register is used for the frame pointer instead of other" |
87 |
+ elog "purposes, which means a very minimal performance loss when there is" |
88 |
+ elog "register pressure." |
89 |
+} |