From 79b00d1e41e20a3456675abe032bf6bf5fc06fea Mon Sep 17 00:00:00 2001 From: Aaron Walker Date: Thu, 24 Feb 2005 10:59:21 +0000 Subject: Revision bump; added patch for kde support thanks to Evgeniy in bug 83091. (Portage version: 2.0.51.16) --- x11-terms/root-tail/ChangeLog | 9 +- x11-terms/root-tail/Manifest | 5 +- x11-terms/root-tail/files/digest-root-tail-1.2-r2 | 1 + x11-terms/root-tail/files/root-tail-1.2-kde.patch | 125 ++++++++++++++++++++++ x11-terms/root-tail/root-tail-1.2-r2.ebuild | 34 ++++++ 5 files changed, 172 insertions(+), 2 deletions(-) create mode 100644 x11-terms/root-tail/files/digest-root-tail-1.2-r2 create mode 100644 x11-terms/root-tail/files/root-tail-1.2-kde.patch create mode 100644 x11-terms/root-tail/root-tail-1.2-r2.ebuild (limited to 'x11-terms') diff --git a/x11-terms/root-tail/ChangeLog b/x11-terms/root-tail/ChangeLog index 8fb914a127e5..03d2bbfd3a6b 100644 --- a/x11-terms/root-tail/ChangeLog +++ b/x11-terms/root-tail/ChangeLog @@ -1,6 +1,13 @@ # 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.26 2005/02/19 08:13:03 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-terms/root-tail/ChangeLog,v 1.27 2005/02/24 10:59:21 ka0ttic Exp $ + +*root-tail-1.2-r2 (24 Feb 2005) + + 24 Feb 2005; Aaron Walker + +files/root-tail-1.2-kde.patch, +root-tail-1.2-r2.ebuild: + Revision bump; added patch for kde support thanks to Evgeniy + in bug 83091. 19 Feb 2005; Markus Rothe root-tail-1.2-r1.ebuild: Stable on ppc64 diff --git a/x11-terms/root-tail/Manifest b/x11-terms/root-tail/Manifest index b5cbb74841cd..599316fbe23c 100644 --- a/x11-terms/root-tail/Manifest +++ b/x11-terms/root-tail/Manifest @@ -1,6 +1,9 @@ -MD5 a22a9b71b446091894fa4900a7f53b28 ChangeLog 3632 +MD5 de9605d0ca4be625a98d25e6114347eb root-tail-1.2-r2.ebuild 877 MD5 c572bd9a65706253fa0bfefdc4699619 root-tail-1.2-r1.ebuild 768 MD5 ac82ac29a67025a863f3d258d3d6d680 root-tail-1.1.ebuild 673 +MD5 9fb5dc25e63692d79435d4cfbc046b77 ChangeLog 3874 MD5 f8d10f350e91f30316ea4e1bd1e76470 metadata.xml 254 MD5 f8b36716748f19ede695042176e3648b files/digest-root-tail-1.2-r1 64 +MD5 f8b36716748f19ede695042176e3648b files/digest-root-tail-1.2-r2 64 MD5 bc94057d9203dc8c6a01efb2172f5a15 files/digest-root-tail-1.1 64 +MD5 3ede80f52914b3650247dbea9ff963fb files/root-tail-1.2-kde.patch 3188 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 000000000000..c2b467691268 --- /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 000000000000..750edf2fefa0 --- /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