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 78114de4df5b6..2a0d049d9087f 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 37fd4fb074a97..4b3aee4067339 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 55718f2223833..8d85400fcd05a 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 b1ede4023113e..50587f7437cb3 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 0000000000000..983b78972885f --- /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 +}