summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2014-11-06 08:25:06 +0000
committerJustin Lecher <jlec@gentoo.org>2014-11-06 08:25:06 +0000
commit8b70203cab3dd7fbd543cb655aab9ae6378a61ee (patch)
tree589d276d5f574f17da626be17fbad0f01a1387cc /app-admin/procinfo-ng
parentdev-util/nvidia-cuda-toolkit: Fix non existing documentation directory on x86 (diff)
downloadgentoo-2-8b70203cab3dd7fbd543cb655aab9ae6378a61ee.tar.gz
gentoo-2-8b70203cab3dd7fbd543cb655aab9ae6378a61ee.tar.bz2
gentoo-2-8b70203cab3dd7fbd543cb655aab9ae6378a61ee.zip
app-admin/procinfo-ng: Fix for ncurses[tinfo], #528352; Bump to EAPI=5; import man page fix from fedora
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'app-admin/procinfo-ng')
-rw-r--r--app-admin/procinfo-ng/ChangeLog9
-rw-r--r--app-admin/procinfo-ng/files/procinfo-ng-2.0.304-man.patch11
-rw-r--r--app-admin/procinfo-ng/metadata.xml6
-rw-r--r--app-admin/procinfo-ng/procinfo-ng-2.0.304-r1.ebuild41
4 files changed, 63 insertions, 4 deletions
diff --git a/app-admin/procinfo-ng/ChangeLog b/app-admin/procinfo-ng/ChangeLog
index 957a298126d6..c437c87f5348 100644
--- a/app-admin/procinfo-ng/ChangeLog
+++ b/app-admin/procinfo-ng/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-admin/procinfo-ng
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/procinfo-ng/ChangeLog,v 1.6 2014/08/10 01:37:39 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/procinfo-ng/ChangeLog,v 1.7 2014/11/06 08:25:06 jlec Exp $
+
+*procinfo-ng-2.0.304-r1 (06 Nov 2014)
+
+ 06 Nov 2014; Justin Lecher <jlec@gentoo.org> +procinfo-ng-2.0.304-r1.ebuild,
+ +files/procinfo-ng-2.0.304-man.patch, metadata.xml:
+ Fix for ncurses[tinfo], #528352; Bump to EAPI=5; import man page fix from
+ fedora
10 Aug 2014; Patrick Lauer <patrick@gentoo.org> procinfo-ng-2.0.304.ebuild:
Fix description for more repoman happy
diff --git a/app-admin/procinfo-ng/files/procinfo-ng-2.0.304-man.patch b/app-admin/procinfo-ng/files/procinfo-ng-2.0.304-man.patch
new file mode 100644
index 000000000000..ce818fcd3e77
--- /dev/null
+++ b/app-admin/procinfo-ng/files/procinfo-ng-2.0.304-man.patch
@@ -0,0 +1,11 @@
+--- procinfo-ng-2.0.217/procinfo.8.orig 2009-01-11 11:21:23.000000000 +0100
++++ procinfo-ng-2.0.217/procinfo.8 2009-01-11 11:21:48.000000000 +0100
+@@ -6,7 +6,7 @@
+ .SH SYNOPSIS
+ .B procinfo
+ [
+-.IR \-fdDSbrhv
++.IR \-dDSbrhv
+ ] [
+ .IR \-n N
+ ]
diff --git a/app-admin/procinfo-ng/metadata.xml b/app-admin/procinfo-ng/metadata.xml
index c8cc7b21ad8b..4a00a64b40ae 100644
--- a/app-admin/procinfo-ng/metadata.xml
+++ b/app-admin/procinfo-ng/metadata.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer>
- <email>jlec@gentoo.org</email>
-</maintainer>
+ <maintainer>
+ <email>jlec@gentoo.org</email>
+ </maintainer>
</pkgmetadata>
diff --git a/app-admin/procinfo-ng/procinfo-ng-2.0.304-r1.ebuild b/app-admin/procinfo-ng/procinfo-ng-2.0.304-r1.ebuild
new file mode 100644
index 000000000000..ab7e3b0c65d4
--- /dev/null
+++ b/app-admin/procinfo-ng/procinfo-ng-2.0.304-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/procinfo-ng/procinfo-ng-2.0.304-r1.ebuild,v 1.1 2014/11/06 08:25:06 jlec Exp $
+
+EAPI=5
+
+inherit autotools eutils toolchain-funcs
+
+DESCRIPTION="Completely rewrite of the old system monitoring app procinfo"
+HOMEPAGE="http://sourceforge.net/projects/procinfo-ng/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="|| ( GPL-2 LGPL-2.1 )"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE=""
+
+RDEPEND="
+ sys-libs/ncurses
+ !app-admin/procinfo"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-as-needed.patch
+ "${FILESDIR}"/${P}-man.patch
+ )
+
+src_prepare() {
+ epatch ${PATCHES[@]}
+ # removing -s flag as portage does the stripping part and add support
+ # for custom LDFLAGS. Plus correct for --as-needed
+ sed \
+ -e 's:-s -lncurses:${LDFLAGS}:' \
+ -i configure.in || die "sed configure.in failed"
+ eautoreconf
+}
+
+src_compile() {
+ emake LIBS="$($(tc-getPKG_CONFIG) --libs ncurses)"
+}