summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2017-01-06 00:20:06 +0100
committerPatrice Clement <monsieurp@gentoo.org>2017-01-07 00:00:15 +0100
commit18778e4bea216e5ccededc82d4834ecdd1e9519b (patch)
treebfb30ded3b607ed9e7249e82203294500381348e
parentx11-misc/zim: stable for amd64+x86. (diff)
downloadgentoo-18778e4bea216e5ccededc82d4834ecdd1e9519b.tar.gz
gentoo-18778e4bea216e5ccededc82d4834ecdd1e9519b.tar.bz2
gentoo-18778e4bea216e5ccededc82d4834ecdd1e9519b.zip
x11-misc/xrootconsole: EAPI 6 bump.
Package-Manager: portage-2.3.0
-rw-r--r--x11-misc/xrootconsole/files/xrootconsole-0.4.parse-color.patch4
-rw-r--r--x11-misc/xrootconsole/files/xrootconsole-0.6.makefile.patch4
-rw-r--r--x11-misc/xrootconsole/files/xrootconsole-0.6.manpage.patch4
-rw-r--r--x11-misc/xrootconsole/files/xrootconsole-0.6.noversion.patch4
-rw-r--r--x11-misc/xrootconsole/xrootconsole-0.6-r1.ebuild46
5 files changed, 54 insertions, 8 deletions
diff --git a/x11-misc/xrootconsole/files/xrootconsole-0.4.parse-color.patch b/x11-misc/xrootconsole/files/xrootconsole-0.4.parse-color.patch
index 78114de4df5b..2a0d049d9087 100644
--- a/x11-misc/xrootconsole/files/xrootconsole-0.4.parse-color.patch
+++ b/x11-misc/xrootconsole/files/xrootconsole-0.4.parse-color.patch
@@ -1,6 +1,6 @@
diff -u xrootconsole-0.4/util.c xrootconsole-0.4.new/util.c
---- xrootconsole-0.4/util.c 2000-10-10 04:17:53.000000000 +0200
-+++ xrootconsole-0.4.new/util.c 2004-02-17 23:59:45.000000000 +0100
+--- a/util.c 2000-10-10 04:17:53.000000000 +0200
++++ b/util.c 2004-02-17 23:59:45.000000000 +0100
@@ -53,16 +53,16 @@
diff --git a/x11-misc/xrootconsole/files/xrootconsole-0.6.makefile.patch b/x11-misc/xrootconsole/files/xrootconsole-0.6.makefile.patch
index 37fd4fb074a9..4b3aee406733 100644
--- a/x11-misc/xrootconsole/files/xrootconsole-0.6.makefile.patch
+++ b/x11-misc/xrootconsole/files/xrootconsole-0.6.makefile.patch
@@ -1,5 +1,5 @@
---- xrootconsole-0.6/Makefile.org 2004-02-20 22:53:28.000000000 +0100
-+++ xrootconsole-0.6/Makefile 2010-02-08 12:01:11.000000000 +0100
+--- a/Makefile.org 2004-02-20 22:53:28.000000000 +0100
++++ b/Makefile 2010-02-08 12:01:11.000000000 +0100
@@ -43,20 +43,16 @@
else echo Bleeding Edge Version; \
fi;)
diff --git a/x11-misc/xrootconsole/files/xrootconsole-0.6.manpage.patch b/x11-misc/xrootconsole/files/xrootconsole-0.6.manpage.patch
index 55718f222383..8d85400fcd05 100644
--- a/x11-misc/xrootconsole/files/xrootconsole-0.6.manpage.patch
+++ b/x11-misc/xrootconsole/files/xrootconsole-0.6.manpage.patch
@@ -1,5 +1,5 @@
---- xrootconsole.1.orig 2005-03-06 16:59:05.837673328 +0900
-+++ xrootconsole.1 2005-03-06 17:04:36.493406016 +0900
+--- a/xrootconsole.1.orig 2005-03-06 16:59:05.837673328 +0900
++++ b/xrootconsole.1 2005-03-06 17:04:36.493406016 +0900
@@ -38,6 +38,9 @@
.Ar number
columns wide. Text is written vertically down each column in the order in
diff --git a/x11-misc/xrootconsole/files/xrootconsole-0.6.noversion.patch b/x11-misc/xrootconsole/files/xrootconsole-0.6.noversion.patch
index b1ede4023113..50587f7437cb 100644
--- a/x11-misc/xrootconsole/files/xrootconsole-0.6.noversion.patch
+++ b/x11-misc/xrootconsole/files/xrootconsole-0.6.noversion.patch
@@ -1,5 +1,5 @@
---- main.c.orig 2004-02-21 07:31:53.000000000 +0900
-+++ main.c 2005-03-06 16:34:27.949346504 +0900
+--- a/main.c.orig 2004-02-21 07:31:53.000000000 +0900
++++ b/main.c 2005-03-06 16:34:27.949346504 +0900
@@ -68,6 +68,7 @@
" --solid make background a solid color, not shaded-transparent\n" \
" --topdown insert lines at the top and scroll the rest down\n" \
diff --git a/x11-misc/xrootconsole/xrootconsole-0.6-r1.ebuild b/x11-misc/xrootconsole/xrootconsole-0.6-r1.ebuild
new file mode 100644
index 000000000000..983b78972885
--- /dev/null
+++ b/x11-misc/xrootconsole/xrootconsole-0.6-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="A utility that displays its input in a text box on your root window"
+HOMEPAGE="https://sourceforge.net/projects/xrootconsole/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND="
+ x11-libs/libX11"
+
+DEPEND="
+ ${RDEPEND}
+ x11-proto/xproto"
+
+PATCHES=(
+ "${FILESDIR}/${P}.noversion.patch"
+ "${FILESDIR}/${P}.makefile.patch"
+ "${FILESDIR}/${P}.manpage.patch"
+)
+
+DOCS=( TODO NEWS CREDITS )
+
+src_compile() {
+ tc-export CC
+ emake
+}
+
+src_install() {
+ dodir /usr/bin
+
+ emake \
+ MANDIR="${D}usr/share/man/man1" \
+ BINDIR="${D}usr/bin/" \
+ install
+
+ einstalldocs
+}