diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-12-18 15:58:30 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-12-18 15:58:30 +0000 |
commit | e3bfa728be3bad11a3bfcec48df76ddedf81fbe5 (patch) | |
tree | 6a6c47e4f40fb31c163cae2da537fea5c2ce1f77 /sys-process | |
parent | Marked ~x86-solaris and ~ppc-macos, new dependency for inkscape (diff) | |
download | historical-e3bfa728be3bad11a3bfcec48df76ddedf81fbe5.tar.gz historical-e3bfa728be3bad11a3bfcec48df76ddedf81fbe5.tar.bz2 historical-e3bfa728be3bad11a3bfcec48df76ddedf81fbe5.zip |
Version bump #297161 by Xake.
Package-Manager: portage-2.2_rc55/cvs/Linux x86_64
Diffstat (limited to 'sys-process')
6 files changed, 174 insertions, 13 deletions
diff --git a/sys-process/latencytop/ChangeLog b/sys-process/latencytop/ChangeLog index d668b04af5f2..d139a26bbbaa 100644 --- a/sys-process/latencytop/ChangeLog +++ b/sys-process/latencytop/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for sys-process/latencytop -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/latencytop/ChangeLog,v 1.5 2008/05/12 20:09:40 maekke Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/latencytop/ChangeLog,v 1.6 2009/12/18 15:58:29 vapier Exp $ + +*latencytop-0.5 (18 Dec 2009) + + 18 Dec 2009; Mike Frysinger <vapier@gentoo.org> +latencytop-0.5.ebuild, + +files/latencytop-0.5-01-mkdir-usr-sbin-as-well.patch, + +files/latencytop-0.5-03-clean-up-build-system.patch, + +files/latencytop-0.5-fsync-fix-implicit-decl.patch: + Version bump #297161 by Xake. 12 May 2008; Markus Meier <maekke@gentoo.org> latencytop-0.4.ebuild: amd64/x86 stable, bug #218167 diff --git a/sys-process/latencytop/Manifest b/sys-process/latencytop/Manifest index d62b2d15f7dc..434bb4908288 100644 --- a/sys-process/latencytop/Manifest +++ b/sys-process/latencytop/Manifest @@ -1,14 +1,9 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +AUX latencytop-0.5-01-mkdir-usr-sbin-as-well.patch 634 RMD160 e1f750b80c0490ec7fd8a0af5ba9a94d703e0fd5 SHA1 4559511dcda474de41fb181cbcfdca8bd8001bda SHA256 7ac7ded27f46e572753a82219cb8a46bd7948bbdc173bae8c85e43b2c40f7ee6 +AUX latencytop-0.5-03-clean-up-build-system.patch 2350 RMD160 0ce388b1bef8922a63f7b04abf8a246a61bab104 SHA1 010e33a8403c80a4ea4d4800d72827292ee9cc5a SHA256 fc39c4e2e7aede6dd7e677abed09a8e68ae4a4da5dd0d00be373795025d32cfb +AUX latencytop-0.5-fsync-fix-implicit-decl.patch 692 RMD160 91323c174c0a22be8d9638b56747706bbd07894a SHA1 45a77534c541d9693bceceae61ebddbfbf8e0e50 SHA256 928e28df0dbc945bb92c456a19f588bc8d0db6e0cc2669a6a8cf0ba954352e86 DIST latencytop-0.4.tar.gz 9606 RMD160 f2e84e03180e4b4471f6de2c4385545e709c4058 SHA1 4526ed5d86bc341a8abdb7fe17313f993c4d9f15 SHA256 4c5bb829390f266f6ba4430b725a4210d7e71d96168731dfd790c0f945c317b8 +DIST latencytop-0.5.tar.gz 25374 RMD160 759cdba9301d6effdb6dbc4c4cfa3fcba8e90a66 SHA1 cfd8a83fa40e630cf680d96a186ff4fdbf6f22c8 SHA256 9e7f72fbea7bd918e71212a1eabaad8488d2c602205d2e3c95d62cd57e9203ef EBUILD latencytop-0.4.ebuild 1300 RMD160 6d37f4ccaed929252e59a5d3e1c37c04648cf3d9 SHA1 424156e1fbc23db9d694463848e8449c2a470eb1 SHA256 268ff903da81cf123620bd2ce73294fdc1398a5d2b3165184df9740612c90407 -MISC ChangeLog 829 RMD160 ab5f8ffe3bd08b50edea6750c1a2e6426780a567 SHA1 07d30229c28de325b818cd59e6ae84cd14b36fe7 SHA256 d82946d5e73d9201d2650a5769a6f2bf6dead2a725e3ba573a995b742997852b +EBUILD latencytop-0.5.ebuild 837 RMD160 0a6fedd8f7a14c2ac2199cf9493e76c3efbfc9a2 SHA1 fe001cceec72af6f070d9d550769e720b3931d7d SHA256 2a0dccfc7df58c6ab65b898181b0fa172945dd5e8de9ea459c8c8a0507869eee +MISC ChangeLog 1135 RMD160 b7c985a1bf871a598c8bde14b8af96681506cff6 SHA1 19b71456444a4b78d56203e985793324369ab7a3 SHA256 0b8c69cbcaef0641b97020391b551d2a24ae9b7c6775491c36fb266551845b66 MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) - -iEYEARECAAYFAkgopDMACgkQkKaRLQcq0GKq9ACbBD8FZOzEdmn2XXDCtK3YTVaD -NtIAnRvUoL0kHlwKIa7+OOQ3lxTBt33X -=lWR7 ------END PGP SIGNATURE----- diff --git a/sys-process/latencytop/files/latencytop-0.5-01-mkdir-usr-sbin-as-well.patch b/sys-process/latencytop/files/latencytop-0.5-01-mkdir-usr-sbin-as-well.patch new file mode 100644 index 000000000000..52d791e7a601 --- /dev/null +++ b/sys-process/latencytop/files/latencytop-0.5-01-mkdir-usr-sbin-as-well.patch @@ -0,0 +1,22 @@ +From d9685bb69c581489ef1c4278df8990fe02b0728d Mon Sep 17 00:00:00 2001 +From: Arjan van de Ven <arjan@linux.intel.com> +Date: Tue, 28 Apr 2009 14:44:34 +0100 +Subject: [PATCH] mkdir /usr/sbin as well + +--- + +diff --git a/src/Makefile b/src/Makefile +index fdf1616..de24551 100644 +--- a/src/Makefile ++++ b/src/Makefile +@@ -30,6 +30,7 @@ + + install: latencytop + mkdir -p $(DESTDIR)/usr/share/latencytop ++ mkdir -p $(DESTDIR)/$(SBINDIR) + install -m 0644 latencytop.trans $(DESTDIR)/usr/share/latencytop/latencytop.trans + install -m 0644 *.png $(DESTDIR)/usr/share/latencytop/ + install -m 0755 latencytop $(DESTDIR)$(SBINDIR)/ +-- +1.6.5.4 + diff --git a/sys-process/latencytop/files/latencytop-0.5-03-clean-up-build-system.patch b/sys-process/latencytop/files/latencytop-0.5-03-clean-up-build-system.patch new file mode 100644 index 000000000000..735ae1c57399 --- /dev/null +++ b/sys-process/latencytop/files/latencytop-0.5-03-clean-up-build-system.patch @@ -0,0 +1,73 @@ +From e024a79b7b16b09bfe88222ed7f43b969b3eb444 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger <vapier@gentoo.org> +Date: Fri, 18 Dec 2009 10:49:19 -0500 +Subject: [PATCH] clean up build system + +Respect env build settings (compiler flags and tools) and install the man +page for people. + +Signed-off-by: Mike Frysinger <vapier@gentoo.org> +--- + src/Makefile | 32 ++++++++++++++++++-------------- + 1 files changed, 18 insertions(+), 14 deletions(-) + +diff --git a/src/Makefile b/src/Makefile +index de24551..9a3cc05 100644 +--- a/src/Makefile ++++ b/src/Makefile +@@ -3,14 +3,22 @@ HAS_GTK_GUI = 1 + + DESTDIR = + SBINDIR = /usr/sbin +-XCFLAGS = -W -g `pkg-config --cflags glib-2.0` -D_FORTIFY_SOURCE=2 -Wno-sign-compare +-LDF = -Wl,--as-needed `pkg-config --libs glib-2.0` -lncursesw ++DATADIR = /usr/share/latencytop ++MANDIR = /usr/share/man ++MAN8DIR = $(MANDIR)/man8 ++PKG_CONFIG ?= pkg-config ++CFLAGS ?= -g -W ++CPPFLAGS ?= -D_FORTIFY_SOURCE=2 ++override CFLAGS += -Wno-sign-compare ++override CPPFLAGS += `$(PKG_CONFIG) --cflags glib-2.0` ++LDFLAGS ?= -Wl,--as-needed ++LDADD = `$(PKG_CONFIG) --libs glib-2.0` -lncursesw + + OBJS= latencytop.o text_display.o translate.o fsync.o + +-ifdef HAS_GTK_GUI +- XCFLAGS += `pkg-config --cflags gtk+-2.0` -DHAS_GTK_GUI +- LDF += `pkg-config --libs gtk+-2.0` ++ifeq ($(HAS_GTK_GUI),1) ++ override CPPFLAGS += `$(PKG_CONFIG) --cflags gtk+-2.0` -DHAS_GTK_GUI ++ LDADD += `$(PKG_CONFIG) --libs gtk+-2.0` + OBJS += gtk_display.o + endif + +@@ -24,19 +32,15 @@ endif + # libncursesw5-dev package. + # + +-# We write explicity this "implicit rule" +-%.o : %.c +- gcc -c $(CFLAGS) $(XCFLAGS) $< -o $@ +- + latencytop: $(OBJS) latencytop.h Makefile +- gcc $(CFLAGS) $(OBJS) $(LDF) -o latencytop ++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@ $(LDADD) + + clean: + rm -f *~ latencytop DEADJOE *.o + + install: latencytop +- mkdir -p $(DESTDIR)/usr/share/latencytop +- mkdir -p $(DESTDIR)/$(SBINDIR) +- install -m 0644 latencytop.trans $(DESTDIR)/usr/share/latencytop/latencytop.trans +- install -m 0644 *.png $(DESTDIR)/usr/share/latencytop/ ++ mkdir -p $(DESTDIR)$(DATADIR) $(DESTDIR)$(SBINDIR) $(DESTDIR)$(MAN8DIR) ++ install -m 0644 latencytop.trans $(DESTDIR)$(DATADIR)/latencytop.trans ++ install -m 0644 *.png $(DESTDIR)$(DATADIR)/ ++ install -m 0644 *.8 $(DESTDIR)$(MAN8DIR)/ + install -m 0755 latencytop $(DESTDIR)$(SBINDIR)/ +-- +1.6.5.4 + diff --git a/sys-process/latencytop/files/latencytop-0.5-fsync-fix-implicit-decl.patch b/sys-process/latencytop/files/latencytop-0.5-fsync-fix-implicit-decl.patch new file mode 100644 index 000000000000..ef57e9e04c00 --- /dev/null +++ b/sys-process/latencytop/files/latencytop-0.5-fsync-fix-implicit-decl.patch @@ -0,0 +1,28 @@ +From 60427a259ba76b8238198e1f17a0c3b06491be3c Mon Sep 17 00:00:00 2001 +From: Mike Frysinger <vapier@gentoo.org> +Date: Fri, 18 Dec 2009 10:48:39 -0500 +Subject: [PATCH] fsync: fix implicit decl + +fsync.c: In function 'fsync_display': +fsync.c:330: warning: implicit declaration of function 'gettimeofday' + +Signed-off-by: Mike Frysinger <vapier@gentoo.org> +--- + src/fsync.c | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +diff --git a/src/fsync.c b/src/fsync.c +index 1706571..3bec719 100644 +--- a/src/fsync.c ++++ b/src/fsync.c +@@ -30,6 +30,7 @@ + #include <string.h> + #include <ncurses.h> + #include <time.h> ++#include <sys/time.h> + #include <wchar.h> + #include <ctype.h> + +-- +1.6.5.4 + diff --git a/sys-process/latencytop/latencytop-0.5.ebuild b/sys-process/latencytop/latencytop-0.5.ebuild new file mode 100644 index 000000000000..12cfe7b89567 --- /dev/null +++ b/sys-process/latencytop/latencytop-0.5.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/latencytop/latencytop-0.5.ebuild,v 1.1 2009/12/18 15:58:29 vapier Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="tool for identifying where in the system latency is happening" +HOMEPAGE="http://www.latencytop.org/" +SRC_URI="http://www.latencytop.org/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gtk unicode" + +RDEPEND="=dev-libs/glib-2* + gtk? ( =x11-libs/gtk+-2* ) + sys-libs/ncurses" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-*.patch +} + +src_compile() { + tc-export CC PKG_CONFIG + emake HAS_GTK_GUI=$(use gtk && echo 1) || die +} + +src_install() { + emake install DESTDIR="${D}" || die +} |