summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2012-09-18 09:59:26 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2012-09-18 09:59:26 +0000
commit3810f3b2d054a6d3b44b66dba7392bd8ca596c06 (patch)
tree6c2a0394ef57604b99790f381bbed066bbfd9886
parentVersion bump with color profile support in jpg files. Drop old. Use a more po... (diff)
downloadgentoo-2-3810f3b2d054a6d3b44b66dba7392bd8ca596c06.tar.gz
gentoo-2-3810f3b2d054a6d3b44b66dba7392bd8ca596c06.tar.bz2
gentoo-2-3810f3b2d054a6d3b44b66dba7392bd8ca596c06.zip
Bump to new stable release. Make LICENSE more precise. Drop old.
(Portage version: 2.2.0_alpha128/cvs/Linux x86_64)
-rw-r--r--dev-util/sysprof/ChangeLog9
-rw-r--r--dev-util/sysprof/sysprof-1.0.12-r1.ebuild4
-rw-r--r--dev-util/sysprof/sysprof-1.0.12.ebuild57
-rw-r--r--dev-util/sysprof/sysprof-1.1.8-r1.ebuild4
-rw-r--r--dev-util/sysprof/sysprof-1.1.8-r2.ebuild4
-rw-r--r--dev-util/sysprof/sysprof-1.2.0.ebuild67
6 files changed, 81 insertions, 64 deletions
diff --git a/dev-util/sysprof/ChangeLog b/dev-util/sysprof/ChangeLog
index 77f1e5384d42..e96623c18806 100644
--- a/dev-util/sysprof/ChangeLog
+++ b/dev-util/sysprof/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-util/sysprof
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/sysprof/ChangeLog,v 1.22 2012/09/13 11:47:26 tetromino Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/sysprof/ChangeLog,v 1.23 2012/09/18 09:59:26 tetromino Exp $
+
+*sysprof-1.2.0 (18 Sep 2012)
+
+ 18 Sep 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
+ -sysprof-1.0.12.ebuild, sysprof-1.0.12-r1.ebuild, sysprof-1.1.8-r1.ebuild,
+ sysprof-1.1.8-r2.ebuild, +sysprof-1.2.0.ebuild:
+ Bump to new stable release. Make LICENSE more precise. Drop old.
13 Sep 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
sysprof-1.1.8-r2.ebuild:
diff --git a/dev-util/sysprof/sysprof-1.0.12-r1.ebuild b/dev-util/sysprof/sysprof-1.0.12-r1.ebuild
index ec9202b4bef1..e984fc791129 100644
--- a/dev-util/sysprof/sysprof-1.0.12-r1.ebuild
+++ b/dev-util/sysprof/sysprof-1.0.12-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/sysprof/sysprof-1.0.12-r1.ebuild,v 1.4 2012/05/05 02:18:51 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/sysprof/sysprof-1.0.12-r1.ebuild,v 1.5 2012/09/18 09:59:26 tetromino Exp $
EAPI="1"
@@ -10,7 +10,7 @@ DESCRIPTION="System-wide Linux Profiler"
HOMEPAGE="http://sysprof.com/"
SRC_URI="http://sysprof.com/${P}.tar.gz"
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
diff --git a/dev-util/sysprof/sysprof-1.0.12.ebuild b/dev-util/sysprof/sysprof-1.0.12.ebuild
deleted file mode 100644
index e1942aa52367..000000000000
--- a/dev-util/sysprof/sysprof-1.0.12.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/sysprof/sysprof-1.0.12.ebuild,v 1.5 2012/05/05 02:18:51 jdhore Exp $
-
-EAPI="1"
-
-inherit eutils linux-mod
-
-DESCRIPTION="System-wide Linux Profiler"
-HOMEPAGE="http://sysprof.com/"
-SRC_URI="http://sysprof.com/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND=">=x11-libs/gtk+-2.6:2
- x11-libs/pango
- >=gnome-base/libglade-2:2.0"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-pkg_setup() {
- MODULE_NAMES="sysprof-module(misc:${S}/module)"
- CONFIG_CHECK="PROFILING"
- PROFILING_ERROR="You need to enable Profiling support in your kernel. \
-For this you need to enable 'Profiling support' under 'Instrumentation Support'. \
-It is marked CONFIG_PROFILING in the config file"
- BUILD_TARGETS="all"
- linux-mod_pkg_setup
-}
-
-src_compile() {
- econf --disable-kernel-module || die
- emake || die
- linux-mod_src_compile
-}
-
-src_install() {
- make install DESTDIR="${D}" || die
- linux-mod_src_install
- dodoc AUTHORS ChangeLog NEWS README TODO
- make_desktop_entry sysprof Sysprof sysprof-icon
-}
-
-pkg_postinst() {
- einfo "On many systems, especially amd64, it is typical that with a modern"
- einfo "toolchain -fomit-frame-pointer for gcc is the default, because"
- einfo "debugging is still possible thanks to gcc4/gdb location list feature."
- einfo "However sysprof is not able to construct call trees if frame pointers"
- einfo "are not present. Therefore -fno-omit-frame-pointer CFLAGS is suggested"
- einfo "for the libraries and applications involved in the profiling. That"
- einfo "means a CPU register is used for the frame pointer instead of other"
- einfo "purposes, which means a very minimal performance loss when there is"
- einfo "register pressure."
-}
diff --git a/dev-util/sysprof/sysprof-1.1.8-r1.ebuild b/dev-util/sysprof/sysprof-1.1.8-r1.ebuild
index d484a025acae..a3ee4b100c7d 100644
--- a/dev-util/sysprof/sysprof-1.1.8-r1.ebuild
+++ b/dev-util/sysprof/sysprof-1.1.8-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/sysprof/sysprof-1.1.8-r1.ebuild,v 1.2 2012/05/05 02:18:51 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/sysprof/sysprof-1.1.8-r1.ebuild,v 1.3 2012/09/18 09:59:26 tetromino Exp $
EAPI="4"
@@ -10,7 +10,7 @@ DESCRIPTION="System-wide Linux Profiler"
HOMEPAGE="http://sysprof.com/"
SRC_URI="http://sysprof.com/${P}.tar.gz"
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
diff --git a/dev-util/sysprof/sysprof-1.1.8-r2.ebuild b/dev-util/sysprof/sysprof-1.1.8-r2.ebuild
index c3a2f61ae043..05de1d55c2a9 100644
--- a/dev-util/sysprof/sysprof-1.1.8-r2.ebuild
+++ b/dev-util/sysprof/sysprof-1.1.8-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/sysprof/sysprof-1.1.8-r2.ebuild,v 1.2 2012/09/13 11:47:26 tetromino Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/sysprof/sysprof-1.1.8-r2.ebuild,v 1.3 2012/09/18 09:59:26 tetromino Exp $
EAPI="4"
@@ -10,7 +10,7 @@ DESCRIPTION="System-wide Linux Profiler"
HOMEPAGE="http://sysprof.com/"
SRC_URI="http://sysprof.com/${P}.tar.gz"
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
diff --git a/dev-util/sysprof/sysprof-1.2.0.ebuild b/dev-util/sysprof/sysprof-1.2.0.ebuild
new file mode 100644
index 000000000000..1903ebca8880
--- /dev/null
+++ b/dev-util/sysprof/sysprof-1.2.0.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/sysprof/sysprof-1.2.0.ebuild,v 1.1 2012/09/18 09:59:26 tetromino Exp $
+
+EAPI="4"
+
+inherit gnome2-utils eutils linux-info toolchain-funcs
+
+DESCRIPTION="System-wide Linux Profiler"
+HOMEPAGE="http://sysprof.com/"
+SRC_URI="http://sysprof.com/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-libs/glib-2.6:2
+ >=x11-libs/gtk+-2.6:2
+ x11-libs/pango
+ >=gnome-base/libglade-2:2.0"
+DEPEND="${RDEPEND}
+ >=sys-kernel/linux-headers-2.6.32
+ virtual/pkgconfig"
+
+DOCS="AUTHORS NEWS README TODO" # ChangeLog is empty
+
+pkg_pretend() {
+ kernel_is -ge 2 6 31 && return
+ die "Sysprof will not work with a kernel version less than 2.6.31"
+}
+
+src_install() {
+ # Install udev rules in the proper place
+ local udevdir=/lib/udev
+ has_version sys-fs/udev && udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
+ export MAKEOPTS="${MAKEOPTS} udevdir=${udevdir}/rules.d"
+ default
+
+ # Symlink icons for use in application launchers
+ for i in 16 24 32 48; do
+ dosym "/usr/share/pixmaps/sysprof-icon-${i}.png" \
+ "/usr/share/icons/hicolor/${i}x${i}/apps/sysprof.png"
+ done
+ make_desktop_entry sysprof Sysprof sysprof
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ 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."
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}