commit:     18778e4bea216e5ccededc82d4834ecdd1e9519b
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Thu Jan  5 23:20:06 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Fri Jan  6 23:00:15 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18778e4b

x11-misc/xrootconsole: EAPI 6 bump.

Package-Manager: portage-2.3.0

 .../files/xrootconsole-0.4.parse-color.patch       |  4 +-
 .../files/xrootconsole-0.6.makefile.patch          |  4 +-
 .../files/xrootconsole-0.6.manpage.patch           |  4 +-
 .../files/xrootconsole-0.6.noversion.patch         |  4 +-
 x11-misc/xrootconsole/xrootconsole-0.6-r1.ebuild   | 46 ++++++++++++++++++++++
 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 78114de..2a0d049 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 37fd4fb..4b3aee4 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 55718f2..8d85400 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 b1ede40..50587f7 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 00000000..983b789
--- /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
+}

Reply via email to