diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-util/sysprof |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-util/sysprof')
-rw-r--r-- | dev-util/sysprof/Manifest | 7 | ||||
-rw-r--r-- | dev-util/sysprof/metadata.xml | 22 | ||||
-rw-r--r-- | dev-util/sysprof/sysprof-3.22.2.ebuild | 61 | ||||
-rw-r--r-- | dev-util/sysprof/sysprof-3.24.1.ebuild | 63 |
4 files changed, 153 insertions, 0 deletions
diff --git a/dev-util/sysprof/Manifest b/dev-util/sysprof/Manifest new file mode 100644 index 000000000000..95634eed800f --- /dev/null +++ b/dev-util/sysprof/Manifest @@ -0,0 +1,7 @@ +DIST sysprof-3.22.2.tar.xz 581864 SHA256 d57fb19a3e5d4ad37d5fb554dc93d9a03f332779c3bffd9c2aa8f176e85269d7 SHA512 601e83f8809bfc970b87a8cbecfc868e957d992aa554316e80b44f21c97a58ef0a236e0b0bda6accc01d5d551f7fca76b4882863a9ea498578731b49dc75322c WHIRLPOOL fdb2bcf0ee191bcecdda93fa3bc9d78aae5301e5fb2f0706021e1b2425d93a2d8ae16472a584ed172b864044b096c66f5c3ef714c848af63937d7dfe40736377 +DIST sysprof-3.24.1.tar.xz 595920 SHA256 054eebe2afb6fe3c06ac8c46bc045c42f675d4fd64e6f16cbc602d5c7ce27bec SHA512 5d323bcb9923c511065132711963dc8856c4d837b4d7ccfae5cc5794be5ac8ad1dc42504025469199f4bfd6a6fad4d8f49b7b21cab6f0c9a954820182e75c7d0 WHIRLPOOL e4cc8391b9583f4e2633e89b5cf18445f9d2c6324dcb4b1b00e2e5742441688c16d514701d5f4077f2579e854dbbfec5058e97d6f37b32b7ba8a812354668ce8 +EBUILD sysprof-3.22.2.ebuild 1679 SHA256 54ebe2a5b30ee8e92a5b4414dbcee823c752348442117287e3f998c0833d02eb SHA512 a24e95b2cfd651ff4772e3f8556696ec099dcb8dc59fa961539251de23cf531c705eba1515d0b9f32e04d5d2479b2199d46f6776b2bc0c596617ad46df67001c WHIRLPOOL 0ac8b9448a5c416afa38feba923520c436a88a16e56b9f3d063979934744169bbf06b747badd11f2ed0ccba184d62fb636ed7568e98f775e48fcfe6e2af7803e +EBUILD sysprof-3.24.1.ebuild 1764 SHA256 ffd6b40505154c5692b214c7e588e7f2587035f349c0b4e285044ef8d7da1d71 SHA512 8ba4c47314e0a39d8e15a9afa3fcbced60180860bc75d1a4d3feb2b27a593778dd8ead96a1a3ccc86f5b50b5f75b6cdd4b62f5c403bf3e5ad7d8a1248e072b03 WHIRLPOOL 5c185d35b45e405a956c484eab84a1d4dc4ed3be03bfd8ba9f983566c50143c7eb972a6b7cfc25056f06356ad25b37b2c7b511d3a4dd9baaf3bd7987917bf8bb +MISC ChangeLog 2404 SHA256 9891752de5f021e5bba0cabd355c62e8e04b2b615174cc76ef42f85384907bce SHA512 f6ec538e378c8fec520b73793ada77e121b957501e40540ea4c5d813b0cca62f154e183d8dd10ae7af2e984b97e30da7429e924906247fd72dc6d879adb3beeb WHIRLPOOL a2255e6f4d36dcb8f830ca62f6731fcf7e524fa0ead2c13250ca766f5a7aeffc118d8102a735ef3b2436e513adb523ec6c32fc1043af99bd6d293fdf0510ffa0 +MISC ChangeLog-2015 5690 SHA256 165461bd15ce4b4b2870a2635acf03355bc4768d1a3f1eac7d89a02ec5dbb154 SHA512 f92a280da84ce774b321eb66cb723553c711d6924b692cf26efca4164bed995a5a28919c16215bb4ea083ddd93fa033e33cd2802a4ecfb4ff7243c61933e6e9f WHIRLPOOL caad83e683ce4d6b40dce01a3d3b1bf83d572e8d5db083fcc3a5ca8044bbdfc194773947ed70d83f041b9c2ed2c3cd54b47e0c3afcf9975e4d6bbae8735fe80b +MISC metadata.xml 833 SHA256 e703183472353f65dd9fb04592c0ced87d6583497c5a396f76fc35702601eb9a SHA512 190e4b54bedcffac3323133feb1fd48b0ff81df3fafd647b3761fb8aa7d31abccba2fd720f3aa1af37a515c48ad3159f30e0609d287db091647b07a935853aec WHIRLPOOL 81afa37bface5a6d927de381efa61975219a688c31377f4df8f80cb33d1ceefd47aa8a957ca05c01cef1f3d00c01eee3cbc1f834cdd0bb54767c8e57bfb917f6 diff --git a/dev-util/sysprof/metadata.xml b/dev-util/sysprof/metadata.xml new file mode 100644 index 000000000000..ea79c2ed1343 --- /dev/null +++ b/dev-util/sysprof/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>tetromino@gentoo.org</email> + <name>Alexandre Rostovtsev</name> +</maintainer> +<maintainer type="person"> + <email>leio@gentoo.org</email> + <name>Mart Raudsepp</name> +</maintainer> +<longdescription lang="en"> + Sysprof is a sampling CPU profiler for Linux that profiles the entire system, + not just a single application. + Sysprof handles shared libraries and applications do not need to be recompiled. + In fact they don't even have to be restarted. +</longdescription> +<use> + <flag name="systemd">Build the sysprofd daemon service, required to run the UI without root permissions. + Relies on <pkg>sys-apps/systemd</pkg> running as the init system.</flag> +</use> +</pkgmetadata> diff --git a/dev-util/sysprof/sysprof-3.22.2.ebuild b/dev-util/sysprof/sysprof-3.22.2.ebuild new file mode 100644 index 000000000000..baa9bad81320 --- /dev/null +++ b/dev-util/sysprof/sysprof-3.22.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit gnome2 linux-info systemd + +DESCRIPTION="System-wide Linux Profiler" +HOMEPAGE="http://sysprof.com/" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="debug gtk systemd" + +RDEPEND=" + >=dev-libs/glib-2.44:2 + gtk? ( + sys-auth/polkit + >=x11-libs/gtk+-3.22.0:3 ) + systemd? ( + sys-auth/polkit + >=sys-apps/systemd-222 ) +" +DEPEND="${RDEPEND} + app-text/yelp-tools + >=sys-devel/gettext-0.19.6 + >=sys-kernel/linux-headers-2.6.32 + virtual/pkgconfig +" + +pkg_pretend() { + kernel_is -ge 2 6 31 && return + die "Sysprof will not work with a kernel version less than 2.6.31" +} + +src_configure() { + # introspection & vala not use in build system + gnome2_src_configure \ + $(use_enable debug) \ + $(use_enable gtk) \ + --disable-introspection \ + --disable-static \ + --disable-vala \ + --with-sysprofd=$(usex systemd bundled no) \ + --with-systemdsystemunitdir=$(systemd_get_systemunitdir) +} + +pkg_postinst() { + gnome2_pkg_postinst + + elog "On many systems, especially amd64, it is typical that with a modern" + elog "toolchain -fomit-frame-pointer for gcc is the default, because" + elog "debugging is still possible thanks to gcc4/gdb location list feature." + elog "However sysprof is not able to construct call trees if frame pointers" + elog "are not present. Therefore -fno-omit-frame-pointer CFLAGS is suggested" + elog "for the libraries and applications involved in the profiling. That" + elog "means a CPU register is used for the frame pointer instead of other" + elog "purposes, which means a very minimal performance loss when there is" + elog "register pressure." +} diff --git a/dev-util/sysprof/sysprof-3.24.1.ebuild b/dev-util/sysprof/sysprof-3.24.1.ebuild new file mode 100644 index 000000000000..bc46f88d4238 --- /dev/null +++ b/dev-util/sysprof/sysprof-3.24.1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit gnome2 linux-info systemd + +DESCRIPTION="System-wide Linux Profiler" +HOMEPAGE="http://sysprof.com/" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug gtk systemd" + +RDEPEND=" + >=dev-libs/glib-2.44:2 + gtk? ( + sys-auth/polkit + >=x11-libs/gtk+-3.22.0:3 ) + systemd? ( + sys-auth/polkit + >=sys-apps/systemd-222 ) +" +DEPEND="${RDEPEND} + app-text/yelp-tools + >=sys-devel/gettext-0.19.6 + >=sys-kernel/linux-headers-2.6.32 + dev-libs/appstream-glib + virtual/pkgconfig +" + +pkg_pretend() { + kernel_is -ge 2 6 31 && return + die "Sysprof will not work with a kernel version less than 2.6.31" +} + +src_configure() { + # introspection & vala not use in build system + # --with-sysprofd=host currently unavailable from ebuild + gnome2_src_configure \ + $(use_enable debug) \ + $(use_enable gtk) \ + --disable-introspection \ + --disable-static \ + --disable-vala \ + --with-sysprofd=$(usex systemd bundled no) \ + --with-systemdsystemunitdir=$(systemd_get_systemunitdir) +} + +pkg_postinst() { + gnome2_pkg_postinst + + elog "On many systems, especially amd64, it is typical that with a modern" + elog "toolchain -fomit-frame-pointer for gcc is the default, because" + elog "debugging is still possible thanks to gcc4/gdb location list feature." + elog "However sysprof is not able to construct call trees if frame pointers" + elog "are not present. Therefore -fno-omit-frame-pointer CFLAGS is suggested" + elog "for the libraries and applications involved in the profiling. That" + elog "means a CPU register is used for the frame pointer instead of other" + elog "purposes, which means a very minimal performance loss when there is" + elog "register pressure." +} |