diff options
Diffstat (limited to 'x11-wm/wm2')
-rw-r--r-- | x11-wm/wm2/CVS/Entries | 5 | ||||
-rw-r--r-- | x11-wm/wm2/CVS/Repository | 1 | ||||
-rw-r--r-- | x11-wm/wm2/CVS/Root | 1 | ||||
-rw-r--r-- | x11-wm/wm2/ChangeLog | 26 | ||||
-rw-r--r-- | x11-wm/wm2/Manifest | 15 | ||||
-rw-r--r-- | x11-wm/wm2/files/CVS/Entries | 3 | ||||
-rw-r--r-- | x11-wm/wm2/files/CVS/Repository | 1 | ||||
-rw-r--r-- | x11-wm/wm2/files/CVS/Root | 1 | ||||
-rw-r--r-- | x11-wm/wm2/files/digest-wm2-4 | 1 | ||||
-rw-r--r-- | x11-wm/wm2/files/wm2-4-gentoo.patch | 107 | ||||
-rw-r--r-- | x11-wm/wm2/metadata.xml | 5 | ||||
-rw-r--r-- | x11-wm/wm2/wm2-4.ebuild | 57 |
12 files changed, 223 insertions, 0 deletions
diff --git a/x11-wm/wm2/CVS/Entries b/x11-wm/wm2/CVS/Entries new file mode 100644 index 0000000..feb35b2 --- /dev/null +++ b/x11-wm/wm2/CVS/Entries @@ -0,0 +1,5 @@ +/metadata.xml/1.1/Fri Nov 7 17:18:32 2003// +D/files//// +/ChangeLog/1.7/Sun Jul 24 02:48:39 2005// +/Manifest/1.12/Sun Jul 24 02:48:39 2005// +/wm2-4.ebuild/1.7/Sun Jul 24 02:48:39 2005// diff --git a/x11-wm/wm2/CVS/Repository b/x11-wm/wm2/CVS/Repository new file mode 100644 index 0000000..29749e6 --- /dev/null +++ b/x11-wm/wm2/CVS/Repository @@ -0,0 +1 @@ +gentoo-x86/x11-wm/wm2 diff --git a/x11-wm/wm2/CVS/Root b/x11-wm/wm2/CVS/Root new file mode 100644 index 0000000..c108e17 --- /dev/null +++ b/x11-wm/wm2/CVS/Root @@ -0,0 +1 @@ +spyderous@cvs.gentoo.org:/var/cvsroot diff --git a/x11-wm/wm2/ChangeLog b/x11-wm/wm2/ChangeLog new file mode 100644 index 0000000..a80bc70 --- /dev/null +++ b/x11-wm/wm2/ChangeLog @@ -0,0 +1,26 @@ +# ChangeLog for x11-wm/wm2 +# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/wm2/ChangeLog,v 1.7 2005/07/20 21:23:34 herbs Exp $ + + 20 Jul 2005; Herbie Hopkins <herbs@gentoo.org> wm2-4.ebuild: + Stable on amd64. + + 01 Jul 2005; Joseph Jezak <josejx@gentoo.org> wm2-4.ebuild: + Marked ppc stable for bug #97646. + + 21 Jun 2005; Danny van Dyk <kugelfang@gentoo.org> wm2-4.ebuild: + Marked ~amd64. + + 10 May 2005; David Holm <dholm@gentoo.org> wm2-4.ebuild: + Added to ~ppc. + + 26 Apr 2004; Mamoru KOMACHI <usata@gentoo.org> wm2-4.ebuild: + Marked stable on x86. Don't assign default to S. inherit eutils for epatch. + +*wm2-4 (20 Oct 2003) + + 20 Oct 2003; Mamoru KOMACHI <usata@gentoo.org> wm2-4.ebuild, + files/wm2-4-gentoo.patch: + Initial import. Ebuild submitted by Satoshi Fuktommy <fuktommy@24i.net> + This closes Bug #17129. + diff --git a/x11-wm/wm2/Manifest b/x11-wm/wm2/Manifest new file mode 100644 index 0000000..b6c6973 --- /dev/null +++ b/x11-wm/wm2/Manifest @@ -0,0 +1,15 @@ +MD5 4bc79404907d4fb259c08b6861392161 ChangeLog 891 +RMD160 f237dc8cd987b2fac34d21c9fbd865081abb1ffd ChangeLog 891 +SHA256 0d9951c0fad3ce8f0465b01635cdfc46df6b90116e4309f190055f3b547dd4b5 ChangeLog 891 +MD5 b06be8523fb665cee575914e6b788265 files/digest-wm2-4 56 +RMD160 736092962085899b9d7b1c7b9e72a30f252dad22 files/digest-wm2-4 56 +SHA256 3aa01f535de945228974a26664e4b7dbac0e248f098fb08df2873d2c66705d4c files/digest-wm2-4 56 +MD5 9e0ac0452d3a84e7f4837c7f0f08ff37 files/wm2-4-gentoo.patch 3430 +RMD160 c812d55dcfb4fcda8a47fe502b40f08a2df8e9c8 files/wm2-4-gentoo.patch 3430 +SHA256 a180f35d9b818893dc7fb6ed3cb7dd5d3bfdc294d3656f7109b341e476b3a797 files/wm2-4-gentoo.patch 3430 +MD5 e7307c1653035014c1e36a27ca8ccb45 metadata.xml 163 +RMD160 7c2ff9d5408196433d3c5d74537d222335183899 metadata.xml 163 +SHA256 e8dcd61085d237c64dc37b1d7dd932b2c5e75010f9b6d9fd19b103bfe3a47797 metadata.xml 163 +MD5 3264404e81f2347fd13372e8b8f93c50 wm2-4.ebuild 1424 +RMD160 8cfef58f99a2c5024e349f9909fc5c8e84ce2da9 wm2-4.ebuild 1424 +SHA256 9dd14dbea28daef4272a781eb712b2ca935f101109bd86d50d7ab5caf7950b2c wm2-4.ebuild 1424 diff --git a/x11-wm/wm2/files/CVS/Entries b/x11-wm/wm2/files/CVS/Entries new file mode 100644 index 0000000..65c7a88 --- /dev/null +++ b/x11-wm/wm2/files/CVS/Entries @@ -0,0 +1,3 @@ +/digest-wm2-4/1.1/Mon Oct 20 12:24:43 2003// +/wm2-4-gentoo.patch/1.1/Mon Oct 20 12:24:43 2003// +D diff --git a/x11-wm/wm2/files/CVS/Repository b/x11-wm/wm2/files/CVS/Repository new file mode 100644 index 0000000..0d24f67 --- /dev/null +++ b/x11-wm/wm2/files/CVS/Repository @@ -0,0 +1 @@ +gentoo-x86/x11-wm/wm2/files diff --git a/x11-wm/wm2/files/CVS/Root b/x11-wm/wm2/files/CVS/Root new file mode 100644 index 0000000..c108e17 --- /dev/null +++ b/x11-wm/wm2/files/CVS/Root @@ -0,0 +1 @@ +spyderous@cvs.gentoo.org:/var/cvsroot diff --git a/x11-wm/wm2/files/digest-wm2-4 b/x11-wm/wm2/files/digest-wm2-4 new file mode 100644 index 0000000..6f85dbf --- /dev/null +++ b/x11-wm/wm2/files/digest-wm2-4 @@ -0,0 +1 @@ +MD5 3b1d6da47a00c06436891669261bd651 wm2-4.tar.gz 32807 diff --git a/x11-wm/wm2/files/wm2-4-gentoo.patch b/x11-wm/wm2/files/wm2-4-gentoo.patch new file mode 100644 index 0000000..9ec2014 --- /dev/null +++ b/x11-wm/wm2/files/wm2-4-gentoo.patch @@ -0,0 +1,107 @@ +diff -Nru wm2-4/Border.C wm2-4.orig/Border.C +--- wm2-4/Border.C 2003-03-09 19:34:25.000000000 +0900 ++++ wm2-4.orig/Border.C 2003-03-09 19:43:14.000000000 +0900 +@@ -183,7 +183,7 @@ + + if (m_label) free(m_label); + m_label = m_client->iconName() ? +- NewString(m_client->iconName()) : NewString(CONFIG_INCOGNITO); ++ NewString(m_client->iconName()) : NewString("incognito"); + + int len = strlen(m_label); + m_tabHeight = XRotTextWidth(m_tabFont, m_label, len) + 6 + m_tabWidth; +diff -Nru wm2-4/Buttons.C wm2-4.orig/Buttons.C +--- wm2-4/Buttons.C 2003-03-09 19:42:37.000000000 +0900 ++++ wm2-4.orig/Buttons.C 2003-03-09 19:43:14.000000000 +0900 +@@ -139,11 +139,7 @@ + (allowExit && ((n) > clients.count())) ? "[Exit wm2]" \ + : clients.item((n)-1)->label()) + +-#ifdef CONFIG_MENU_REVERSE +- for (i = m_hiddenClients.count() - 1; i>=0; --i) { +-#else + for (i = 0; i < m_hiddenClients.count(); ++i) { +-#endif + clients.append(m_hiddenClients.item(i)); + } + int nh = clients.count() + 1; +diff -Nru wm2-4/Client.C wm2-4.orig/Client.C +--- wm2-4/Client.C 2003-03-09 19:34:25.000000000 +0900 ++++ wm2-4.orig/Client.C 2003-03-09 19:43:14.000000000 +0900 +@@ -4,7 +4,7 @@ + + #include <X11/Xutil.h> + +-const char *const Client::m_defaultLabel = CONFIG_INCOGNITO; ++const char *const Client::m_defaultLabel = "incognito"; + + + +diff -Nru wm2-4/Config.h wm2-4.orig/Config.h +--- wm2-4/Config.h 2003-03-09 19:41:43.000000000 +0900 ++++ wm2-4.orig/Config.h 2003-03-09 19:43:14.000000000 +0900 +@@ -39,9 +39,6 @@ + + #define CONFIG_FRAME_THICKNESS 7 + +-#define CONFIG_INCOGNITO "incognito" +-#define CONFIG_MENU_REVERSE +- + // If CONFIG_PROD_SHAPE is True, all frame element shapes will be + // recalculated afresh every time their focus changes. This will + // probably slow things down hideously, but has been reported as +@@ -49,3 +46,4 @@ + #define CONFIG_PROD_SHAPE False + + #endif ++ +diff -Nru wm2-4/General.h wm2-4.orig/General.h +--- wm2-4/General.h 2003-03-09 19:34:25.000000000 +0900 ++++ wm2-4.orig/General.h 2003-03-09 19:43:14.000000000 +0900 +@@ -32,7 +32,7 @@ + #define NewString(x) (strcpy((char *)malloc(strlen(x)+1),(x))) + + #ifndef SIGNAL_CALLBACK_TYPE +-#define SIGNAL_CALLBACK_TYPE (void (*)(int)) ++#define SIGNAL_CALLBACK_TYPE (void (*)(...)) + #endif + + #define signal(x,y) \ +diff -Nru wm2-4/Makefile wm2-4.orig/Makefile +--- wm2-4/Makefile 2003-03-09 19:34:25.000000000 +0900 ++++ wm2-4.orig/Makefile 2003-03-09 19:43:14.000000000 +0900 +@@ -1,8 +1,8 @@ + +-LIBS = -L/usr/X11R6/lib -lXext -lX11 -lXmu -lm ++LIBS = -L/usr/X11/lib -lXext -lX11 -lXmu -lm + + CC = gcc +-CCC = g++ ++CCC = gcc + CFLAGS = -O2 + OBJECTS = Border.o Buttons.o Client.o Events.o Main.o Manager.o Rotated.o + +diff -Nru wm2-4/Manager.C wm2-4.orig/Manager.C +--- wm2-4/Manager.C 2003-03-09 19:34:25.000000000 +0900 ++++ wm2-4.orig/Manager.C 2003-03-09 19:43:14.000000000 +0900 +@@ -368,7 +368,7 @@ + return m_currentTime; + } + +-void WindowManager::sigHandler(int n) ++void WindowManager::sigHandler() + { + m_signalled = True; + } +diff -Nru wm2-4/Manager.h wm2-4.orig/Manager.h +--- wm2-4/Manager.h 2003-03-09 19:34:25.000000000 +0900 ++++ wm2-4.orig/Manager.h 2003-03-09 19:43:14.000000000 +0900 +@@ -85,7 +85,7 @@ + + static Boolean m_initialising; + static int errorHandler(Display *, XErrorEvent *); +- static void sigHandler(int); ++ static void sigHandler(); + static int m_signalled; + + void initialiseScreen(); diff --git a/x11-wm/wm2/metadata.xml b/x11-wm/wm2/metadata.xml new file mode 100644 index 0000000..3f6c9f8 --- /dev/null +++ b/x11-wm/wm2/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-wm</herd> +</pkgmetadata> diff --git a/x11-wm/wm2/wm2-4.ebuild b/x11-wm/wm2/wm2-4.ebuild new file mode 100644 index 0000000..132ea71 --- /dev/null +++ b/x11-wm/wm2/wm2-4.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/wm2/wm2-4.ebuild,v 1.7 2005/07/20 21:23:34 herbs Exp $ + +inherit eutils + +IUSE="" + +DESCRIPTION="Small, unconfigurable window manager" +HOMEPAGE="http://www.all-day-breakfast.com/wm2/" +SRC_URI="http://www.all-day-breakfast.com/wm2/${P}.tar.gz" + +RDEPEND="|| ( x11-libs/libXmu virtual/x11 ) + virtual/motif" +DEPEND="${RDEPEND} + || ( x11-proto/xextproto virtual/x11 )" + +SLOT="0" +LICENSE="freedist" +KEYWORDS="amd64 ppc x86" + +src_unpack() { + unpack ${A} + + cd ${S} + EPATCH_OPTS="-R" + epatch ${FILESDIR}/${PF}-gentoo.patch + + sed 's/^#//' Config.h > wm2.conf + if [ -e "/etc/wm2.conf" ]; then + echo "#undef _CONFIG_H_" >> Config.h + awk '/^[^/]/{print "#" $0}' /etc/wm2.conf >> Config.h + fi +} + +src_compile() { + make CFLAGS="${CFLAGS}" || die +} + +src_install() { + exeinto /usr/bin + doexe wm2 + insinto /etc + doins wm2.conf + dodoc README +} + +pkg_postinst() { + einfo + einfo "wm2 is unconfigurable after you have installed. If you want to" + einfo "change settings of wm2, please have a look at /etc/wm2.conf" + einfo "and rewrite it, then emerge wm2 again (wm2 ebuild uses settings" + einfo "from that file automatically). If you think wm2 lacks some important" + einfo "features that you want to use (such as background pixmaps)," + einfo "consider using wmx, written by the same author." + einfo +} |