x11-misc/xrootconsole: EAPI 6 bump.
authorPatrice Clement <monsieurp@gentoo.org>
Thu, 5 Jan 2017 23:20:06 +0000 (00:20 +0100)
committerPatrice Clement <monsieurp@gentoo.org>
Fri, 6 Jan 2017 23:00:15 +0000 (00:00 +0100)
Package-Manager: portage-2.3.0

x11-misc/xrootconsole/files/xrootconsole-0.4.parse-color.patch
x11-misc/xrootconsole/files/xrootconsole-0.6.makefile.patch
x11-misc/xrootconsole/files/xrootconsole-0.6.manpage.patch
x11-misc/xrootconsole/files/xrootconsole-0.6.noversion.patch
x11-misc/xrootconsole/xrootconsole-0.6-r1.ebuild [new file with mode: 0644]

index 78114de4df5b6850483d0ec0f3d20418a84184ff..2a0d049d9087f38e560d1f65b7969770f6fab356 100644 (file)
@@ -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 @@
  
  
index 37fd4fb074a974c66df5741e6f027098831f389a..4b3aee4067339bc701255c167d4406cfae3e6344 100644 (file)
@@ -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;)
index 55718f2223833e4434ddfa833cc11128c1ff11b9..8d85400fcd05a4fd089799d770e4c64d7091d4e6 100644 (file)
@@ -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
index b1ede4023113e25dca9a7d2a571258297f0d9074..50587f7437cb31d089979258cecf9597d29d6e3d 100644 (file)
@@ -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 (file)
index 0000000..983b789
--- /dev/null
@@ -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
+}