aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-terms')
-rw-r--r--x11-terms/root-tail/CVS/Entries7
-rw-r--r--x11-terms/root-tail/CVS/Repository1
-rw-r--r--x11-terms/root-tail/CVS/Root1
-rw-r--r--x11-terms/root-tail/ChangeLog132
-rw-r--r--x11-terms/root-tail/Manifest27
-rw-r--r--x11-terms/root-tail/files/CVS/Entries5
-rw-r--r--x11-terms/root-tail/files/CVS/Repository1
-rw-r--r--x11-terms/root-tail/files/CVS/Root1
-rw-r--r--x11-terms/root-tail/files/digest-root-tail-1.11
-rw-r--r--x11-terms/root-tail/files/digest-root-tail-1.2-r11
-rw-r--r--x11-terms/root-tail/files/digest-root-tail-1.2-r21
-rw-r--r--x11-terms/root-tail/files/root-tail-1.2-kde.patch125
-rw-r--r--x11-terms/root-tail/metadata.xml9
-rw-r--r--x11-terms/root-tail/root-tail-1.1.ebuild24
-rw-r--r--x11-terms/root-tail/root-tail-1.2-r1.ebuild27
-rw-r--r--x11-terms/root-tail/root-tail-1.2-r2.ebuild36
16 files changed, 399 insertions, 0 deletions
diff --git a/x11-terms/root-tail/CVS/Entries b/x11-terms/root-tail/CVS/Entries
new file mode 100644
index 0000000..fd14b9b
--- /dev/null
+++ b/x11-terms/root-tail/CVS/Entries
@@ -0,0 +1,7 @@
+D/files////
+/metadata.xml/1.1/Thu Dec 16 10:34:16 2004//
+/root-tail-1.1.ebuild/1.7/Sun Feb 20 02:12:36 2005//
+/root-tail-1.2-r1.ebuild/1.3/Sat Mar 12 08:28:20 2005//
+/ChangeLog/1.32/Tue Apr 12 08:19:31 2005//
+/Manifest/1.41/Tue Apr 12 08:19:31 2005//
+/root-tail-1.2-r2.ebuild/1.6/Tue Apr 12 08:19:31 2005//
diff --git a/x11-terms/root-tail/CVS/Repository b/x11-terms/root-tail/CVS/Repository
new file mode 100644
index 0000000..b67496f
--- /dev/null
+++ b/x11-terms/root-tail/CVS/Repository
@@ -0,0 +1 @@
+gentoo-x86/x11-terms/root-tail
diff --git a/x11-terms/root-tail/CVS/Root b/x11-terms/root-tail/CVS/Root
new file mode 100644
index 0000000..c108e17
--- /dev/null
+++ b/x11-terms/root-tail/CVS/Root
@@ -0,0 +1 @@
+spyderous@cvs.gentoo.org:/var/cvsroot
diff --git a/x11-terms/root-tail/ChangeLog b/x11-terms/root-tail/ChangeLog
new file mode 100644
index 0000000..27b80b7
--- /dev/null
+++ b/x11-terms/root-tail/ChangeLog
@@ -0,0 +1,132 @@
+# ChangeLog for x11-terms/root-tail
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/root-tail/ChangeLog,v 1.32 2005/04/09 13:43:35 corsair Exp $
+
+ 09 Apr 2005; Markus Rothe <corsair@gentoo.org> root-tail-1.2-r2.ebuild:
+ Stable on ppc64
+
+ 06 Apr 2005; Marcus D. Hanwell <cryos@gentoo.org> root-tail-1.2-r2.ebuild:
+ Marked stable on amd64.
+
+ 28 Mar 2005; Michael Hanselmann <hansmi@gentoo.org>
+ root-tail-1.2-r2.ebuild:
+ Stable on ppc.
+
+ 25 Mar 2005; Aaron Walker <ka0ttic@gentoo.org> root-tail-1.2-r2.ebuild:
+ Marked stable on x86.
+
+ 10 Mar 2005; Aaron Walker <ka0ttic@gentoo.org> root-tail-1.2-r1.ebuild,
+ root-tail-1.2-r2.ebuild:
+ Append -DDEBUG if USE=debug; also fixed deps.
+
+*root-tail-1.2-r2 (24 Feb 2005)
+
+ 24 Feb 2005; Aaron Walker <ka0ttic@gentoo.org>
+ +files/root-tail-1.2-kde.patch, +root-tail-1.2-r2.ebuild:
+ Revision bump; added patch for kde support thanks to Evgeniy
+ <dushistov@mail.ru> in bug 83091.
+
+ 19 Feb 2005; Markus Rothe <corsair@gentoo.org> root-tail-1.2-r1.ebuild:
+ Stable on ppc64
+
+*root-tail-1.2-r1 (03 Feb 2005)
+
+ 03 Feb 2005; Aaron Walker <ka0ttic@gentoo.org> +root-tail-1.2-r1.ebuild,
+ -root-tail-1.2.ebuild:
+ Revision bump; Install root-tail into /usr/bin instead of /usr/X11R6/bin.
+ Keeping keywords.
+
+ 31 Jan 2005; Aaron Walker <ka0ttic@gentoo.org> -root-tail-0.2.ebuild,
+ -root-tail-0.9.ebuild:
+ Tidy old crusty ebuilds.
+
+ 16 Dec 2004; Aaron Walker <ka0ttic@gentoo.org> +metadata.xml:
+ Added metadata.xml.
+
+ 06 Nov 2004; <pyrania@gentoo.org> root-tail-1.2.ebuild:
+ Marked stable on x86.
+
+ 24 Oct 2004; Simon Stelling <blubb@gentoo.org> root-tail-1.2.ebuild:
+ stable on amd64
+
+ 02 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org>
+ root-tail-0.9.ebuild, root-tail-1.1.ebuild, root-tail-1.2.ebuild:
+ Masked root-tail-1.2.ebuild stable for ppc
+
+ 02 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org>
+ root-tail-0.9.ebuild, root-tail-1.1.ebuild:
+ Masked root-tail-1.1.ebuild stable for ppc
+
+ 02 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org>
+ root-tail-0.9.ebuild:
+ Masked root-tail-0.9.ebuild stable for ppc
+
+*root-tail-1.2 (30 Aug 2004)
+
+ 30 Aug 2004; Michael Sterrett <mr_bones_@gentoo.org> +root-tail-1.2.ebuild:
+ version bump
+
+ 08 Aug 2004; Tom Gall <tgall@gentoo.org> root-tail-1.1.ebuild:
+ stable on ppc64, bug #57659
+
+ 02 Jul 2004; Michael Sterrett <mr_bones_@gentoo.org>
+ -root-tail-0.0.10.ebuild:
+ Clean old ebuild
+
+ 28 Jun 2004; Aron Griffis <agriffis@gentoo.org> root-tail-0.0.10.ebuild:
+ sync IUSE
+
+ 19 Jun 2004; <pyrania@gentoo.org> root-tail-0.9.ebuild,
+ root-tail-1.1.ebuild:
+ Stable on x86.
+
+ 08 May 2004; David Holm <dholm@gentoo.org> root-tail-0.2.ebuild,
+ root-tail-0.9.ebuild, root-tail-1.1.ebuild:
+ ppc keywording.
+
+*root-tail-1.1 (07 May 2004)
+
+ 07 May 2004; Michael Sterrett <mr_bones_@gentoo.org> root-tail-1.1.ebuild:
+ version bump
+
+ 31 Mar 2004; Daniel Ahlberg <aliz@gentoo.org> root-tail-0.9.ebuild:
+ Adding amd64 keyword, closing #46276.
+
+ 27 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> root-tail-0.9.ebuild:
+ don't assign default to S
+
+ 27 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org>
+ root-tail-0.0.10.ebuild, root-tail-0.2.ebuild:
+ don't assign default to S
+
+*root-tail-0.9 (06 Mar 2004)
+
+ 06 Mar 2004; Chuck Short <zul@gentoo.org> root-tail-0.0.10.ebuild,
+ root-tail-0.2.ebuild, root-tail-0.9.ebuild:
+ Version bump, closes #43866.
+
+ 24 Sep 2003; Jason Wever <weeve@gentoo.org> root-tail-0.2.ebuild:
+ Added ~sparc keyword
+
+*root-tail-0.2 (22 Aug 2003)
+
+ 22 Aug 2003; Chuck Short <zul@gentoo.org> root-tail-0.2.ebuild:
+ Version bump, closes bug #23234. Ebuild submitted Sadayuki Kobayashi
+ <desperado@s17.xrea.com>.
+
+*root-tail-0.0.10 (1 Feb 2002)
+
+ 26 Mar 2003; Graham Forest <vladimir@gentoo.org> root-tail-0.0.10.ebuild:
+ Automated cleanup of LICENSE
+
+ 21 Oct 2002; Calum Selkirk <cselkirk@gentoo.org> root-tail-0.0.10.ebuild :
+
+ Added ppc to KEYWORDS.
+
+ 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/x11-terms/root-tail/Manifest b/x11-terms/root-tail/Manifest
new file mode 100644
index 0000000..30f0edc
--- /dev/null
+++ b/x11-terms/root-tail/Manifest
@@ -0,0 +1,27 @@
+MD5 95d71e36b62a6f39ea09e94ece01b1a1 ChangeLog 4419
+RMD160 f82a326825c602ca6f1f80457140bb02bf3d81b1 ChangeLog 4419
+SHA256 a36e1e7f7cd2529aa81622cc3636fefb3fa1c745470e846e9ba71d2be5abeb24 ChangeLog 4419
+MD5 bc94057d9203dc8c6a01efb2172f5a15 files/digest-root-tail-1.1 64
+RMD160 5c8cdc4ab4e20ea36f5213205bacf56ce62e5538 files/digest-root-tail-1.1 64
+SHA256 19fca7cd13f9d5afab7e54be7a116e82cf17edcedd80e69b2c0047e7f5b81dca files/digest-root-tail-1.1 64
+MD5 f8b36716748f19ede695042176e3648b files/digest-root-tail-1.2-r1 64
+RMD160 d513dc70db2e1e6ac4f4cdfacd595f4bbd2bc757 files/digest-root-tail-1.2-r1 64
+SHA256 0872f124d4e157a85048e9777c86c6c8f74f0dd51de9911136eddb18f19bea4b files/digest-root-tail-1.2-r1 64
+MD5 f8b36716748f19ede695042176e3648b files/digest-root-tail-1.2-r2 64
+RMD160 d513dc70db2e1e6ac4f4cdfacd595f4bbd2bc757 files/digest-root-tail-1.2-r2 64
+SHA256 0872f124d4e157a85048e9777c86c6c8f74f0dd51de9911136eddb18f19bea4b files/digest-root-tail-1.2-r2 64
+MD5 3ede80f52914b3650247dbea9ff963fb files/root-tail-1.2-kde.patch 3188
+RMD160 6875d464ad9543c93f7fb3214f8b62c91c317055 files/root-tail-1.2-kde.patch 3188
+SHA256 e188b8a8a6af4f592ff4777cf3cee32bc5d087b9ff6ec1c97fab5193acd14296 files/root-tail-1.2-kde.patch 3188
+MD5 f8d10f350e91f30316ea4e1bd1e76470 metadata.xml 254
+RMD160 2a9e181efd140c3c1a2136376000c63f7459246d metadata.xml 254
+SHA256 ddd8e09da8727f957651a073ae2b61e4a381ee69ab83c93a3077a653743b887f metadata.xml 254
+MD5 ac82ac29a67025a863f3d258d3d6d680 root-tail-1.1.ebuild 673
+RMD160 7e27676930d8639b7d69ca353ec294fcfd0c975f root-tail-1.1.ebuild 673
+SHA256 7c0ca927159ad8035c8ab219a70779373b9c7ee51a6b27a3434c65b107b99d3a root-tail-1.1.ebuild 673
+MD5 88c7bc31d50da25669463b2c1d97f535 root-tail-1.2-r1.ebuild 789
+RMD160 cee83d11628d7d1c742f60e71aea78e7f5c32803 root-tail-1.2-r1.ebuild 789
+SHA256 9493fe30d75273af3b9ec96fcce40a8599376cc54a70967d89574605fbf11d9a root-tail-1.2-r1.ebuild 789
+MD5 82105a2f7675871d93b492f72e39b810 root-tail-1.2-r2.ebuild 937
+RMD160 07dbf7523974989209817b4c6d4c2e9836dd87df root-tail-1.2-r2.ebuild 937
+SHA256 d00a372466b734fcbf0e519720b1b4ea93393db53dbe8bc1c7b059e0f468712d root-tail-1.2-r2.ebuild 937
diff --git a/x11-terms/root-tail/files/CVS/Entries b/x11-terms/root-tail/files/CVS/Entries
new file mode 100644
index 0000000..d09a36d
--- /dev/null
+++ b/x11-terms/root-tail/files/CVS/Entries
@@ -0,0 +1,5 @@
+/digest-root-tail-1.1/1.1/Sat May 8 06:11:18 2004//
+/digest-root-tail-1.2-r1/1.1/Thu Feb 3 12:08:48 2005//
+/digest-root-tail-1.2-r2/1.1/Thu Feb 24 10:59:21 2005//
+/root-tail-1.2-kde.patch/1.1/Thu Feb 24 10:59:21 2005//
+D
diff --git a/x11-terms/root-tail/files/CVS/Repository b/x11-terms/root-tail/files/CVS/Repository
new file mode 100644
index 0000000..44a3a43
--- /dev/null
+++ b/x11-terms/root-tail/files/CVS/Repository
@@ -0,0 +1 @@
+gentoo-x86/x11-terms/root-tail/files
diff --git a/x11-terms/root-tail/files/CVS/Root b/x11-terms/root-tail/files/CVS/Root
new file mode 100644
index 0000000..c108e17
--- /dev/null
+++ b/x11-terms/root-tail/files/CVS/Root
@@ -0,0 +1 @@
+spyderous@cvs.gentoo.org:/var/cvsroot
diff --git a/x11-terms/root-tail/files/digest-root-tail-1.1 b/x11-terms/root-tail/files/digest-root-tail-1.1
new file mode 100644
index 0000000..7677f8e
--- /dev/null
+++ b/x11-terms/root-tail/files/digest-root-tail-1.1
@@ -0,0 +1 @@
+MD5 adb925c2781892bb5dcbdf9d5e579032 root-tail-1.1.tar.gz 20124
diff --git a/x11-terms/root-tail/files/digest-root-tail-1.2-r1 b/x11-terms/root-tail/files/digest-root-tail-1.2-r1
new file mode 100644
index 0000000..c2b4676
--- /dev/null
+++ b/x11-terms/root-tail/files/digest-root-tail-1.2-r1
@@ -0,0 +1 @@
+MD5 5a4b3c4c7ab3bed1f4575e9688aac5de root-tail-1.2.tar.gz 20805
diff --git a/x11-terms/root-tail/files/digest-root-tail-1.2-r2 b/x11-terms/root-tail/files/digest-root-tail-1.2-r2
new file mode 100644
index 0000000..c2b4676
--- /dev/null
+++ b/x11-terms/root-tail/files/digest-root-tail-1.2-r2
@@ -0,0 +1 @@
+MD5 5a4b3c4c7ab3bed1f4575e9688aac5de root-tail-1.2.tar.gz 20805
diff --git a/x11-terms/root-tail/files/root-tail-1.2-kde.patch b/x11-terms/root-tail/files/root-tail-1.2-kde.patch
new file mode 100644
index 0000000..750edf2
--- /dev/null
+++ b/x11-terms/root-tail/files/root-tail-1.2-kde.patch
@@ -0,0 +1,125 @@
+diff -bBurN root-tail-1.2/config.h root-tail-my/config.h
+--- root-tail-1.2/config.h 2004-07-30 23:32:39.000000000 +0400
++++ root-tail-my/config.h 2005-02-23 13:02:48.878912688 +0300
+@@ -15,3 +15,4 @@
+
+ #define VERSION "1.2"
+
++#define KDE
+diff -bBurN root-tail-1.2/root-tail.c root-tail-my/root-tail.c
+--- root-tail-1.2/root-tail.c 2004-07-30 23:33:20.000000000 +0400
++++ root-tail-my/root-tail.c 2005-02-23 13:02:37.599627400 +0300
+@@ -148,6 +148,11 @@
+ regex_t *transformre;
+ #endif
+
++#ifdef KDE
++#define ATOM(a) XInternAtom(disp, #a, False)
++
++int screen, ScreenWidth, ScreenHeight;
++#endif
+
+ /* prototypes */
+ void list_files (int);
+@@ -227,7 +232,7 @@
+ return Color.pixel;
+ }
+
+-#ifndef USE_TOON_GET_ROOT_WINDOW
++#if !defined(USE_TOON_GET_ROOT_WINDOW) && !defined(KDE)
+ static void
+ find_root_window (Display *display, int screen_number)
+ {
+@@ -280,14 +285,91 @@
+ fprintf (stderr, "Can't query tree on root window 0x%lx", root);
+ }
+ }
+-#endif /* USE_TOON_GET_ROOT_WINDOW */
++#elif defined(KDE)
++static Window find_subwindow(Window win, int w, int h) {
++ unsigned int i, j;
++ Window troot, parent, *children;
++ unsigned int n;
++
++ /* search subwindows with same size as display or work area */
++
++ for (i=0; i<10; i++) {
++ XQueryTree(disp, win, &troot, &parent, &children, &n);
++
++ for (j=0; j<n; j++) {
++ XWindowAttributes attrs;
++
++ if (XGetWindowAttributes(disp, children[j], &attrs)) {
++ /* Window must be mapped and same size as display or work space */
++ if (attrs.map_state != 0 &&
++ ((attrs.width == ScreenWidth && attrs.height == ScreenHeight) ||
++ (attrs.width == w && attrs.height == h))) {
++ win = children[j];
++ break;
++ }
++ }
++ }
++
++ XFree(children);
++ if (j == n) break;
++ }
++
++ return win;
++}
++
++static void
++find_root_window (Display *display, int screen_number)
++{
++ Atom type;
++ int format, i;
++ unsigned long nitems, bytes;
++ unsigned int n;
++ root = RootWindow(display, screen_number);
++ Window win = root;
++ Window troot, parent, *children;
++ unsigned char *buf = NULL;
++
++ /* some window managers set __SWM_VROOT to some child of root window */
++
++ XQueryTree(display, root, &troot, &parent, &children, &n);
++ for (i=0; i<(int)n; i++) {
++ if (XGetWindowProperty(display, children[i], ATOM(__SWM_VROOT),
++ 0, 1, False, XA_WINDOW, &type, &format, &nitems, &bytes,
++ &buf) == Success && type == XA_WINDOW) {
++ win = * (Window *) buf;
++ XFree(buf);
++ XFree(children);
++ fprintf(stderr, "torsmo: drawing to window from __SWM_VROOT property\n");
++ root=win;
++ return;
++ }
++
++ if (buf) {
++ XFree(buf);
++ buf = 0;
++ }
++ }
++ XFree(children);
++
++ /* get subwindows from root */
++ win = find_subwindow(root, -1, -1);
++
++ win = find_subwindow(win, width, height);
++
++ if (buf) { XFree(buf); buf = 0; }
++
++ root=win;
++}
++#endif /* USE_TOON_GET_ROOT_WINDOW && KDE*/
+
+ void
+ InitWindow (void)
+ {
+ XGCValues gcv;
+ unsigned long gcm;
++#ifndef KDE
+ int screen, ScreenWidth, ScreenHeight;
++#endif
+ struct logfile_entry *e;
+
+ if (!(disp = XOpenDisplay (dispname)))
diff --git a/x11-terms/root-tail/metadata.xml b/x11-terms/root-tail/metadata.xml
new file mode 100644
index 0000000..d31152a
--- /dev/null
+++ b/x11-terms/root-tail/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>ka0ttic@gentoo.org</email>
+ <name>Aaron Walker</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-terms/root-tail/root-tail-1.1.ebuild b/x11-terms/root-tail/root-tail-1.1.ebuild
new file mode 100644
index 0000000..6836912
--- /dev/null
+++ b/x11-terms/root-tail/root-tail-1.1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/root-tail/root-tail-1.1.ebuild,v 1.7 2005/02/03 12:08:48 ka0ttic Exp $
+
+DESCRIPTION="Terminal to display (multiple) log files on the root window"
+HOMEPAGE="http://www.goof.com/pcg/marc/root-tail.html"
+SRC_URI="http://www.goof.com/pcg/marc/data/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ~sparc ~amd64 ppc ppc64"
+IUSE=""
+
+DEPEND="virtual/x11"
+
+src_compile() {
+ xmkmf -a
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install install.man || die "make install failed"
+ dodoc Changes README
+}
diff --git a/x11-terms/root-tail/root-tail-1.2-r1.ebuild b/x11-terms/root-tail/root-tail-1.2-r1.ebuild
new file mode 100644
index 0000000..ce51965
--- /dev/null
+++ b/x11-terms/root-tail/root-tail-1.2-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/root-tail/root-tail-1.2-r1.ebuild,v 1.3 2005/03/10 10:51:02 ka0ttic Exp $
+
+DESCRIPTION="Terminal to display (multiple) log files on the root window"
+HOMEPAGE="http://www.goof.com/pcg/marc/root-tail.html"
+SRC_URI="http://www.goof.com/pcg/marc/data/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ~sparc amd64 ppc ppc64"
+IUSE=""
+
+RDEPEND="virtual/x11"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+src_compile() {
+ xmkmf -a
+ sed -i 's|/usr/X11R6/bin|/usr/bin|' Makefile || die "sed Makefile failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install install.man || die "make install failed"
+ dodoc Changes README
+}
diff --git a/x11-terms/root-tail/root-tail-1.2-r2.ebuild b/x11-terms/root-tail/root-tail-1.2-r2.ebuild
new file mode 100644
index 0000000..74939e2
--- /dev/null
+++ b/x11-terms/root-tail/root-tail-1.2-r2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/root-tail/root-tail-1.2-r2.ebuild,v 1.6 2005/04/09 13:43:35 corsair Exp $
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="Terminal to display (multiple) log files on the root window"
+HOMEPAGE="http://www.goof.com/pcg/marc/root-tail.html"
+SRC_URI="http://www.goof.com/pcg/marc/data/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ~sparc amd64 ppc ppc64"
+IUSE="kde debug"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ use kde && epatch ${FILESDIR}/${P}-kde.patch
+}
+
+src_compile() {
+ xmkmf -a
+ sed -i 's|/usr/X11R6/bin|/usr/bin|' Makefile || die "sed Makefile failed"
+ use debug && append-flags -DDEBUG
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install install.man || die "make install failed"
+ dodoc Changes README
+}