summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2012-06-04 21:13:57 +0000
committerMichael Weber <xmw@gentoo.org>2012-06-04 21:13:57 +0000
commita040e1423c14f01a5ef1cc6743f6e5c3560f5fb5 (patch)
tree626c1b090fc1bae29e3e34bfb6f332d9449b53c1 /x11-wm/sithwm
parentVersion bump. (diff)
downloadgentoo-2-a040e1423c14f01a5ef1cc6743f6e5c3560f5fb5.tar.gz
gentoo-2-a040e1423c14f01a5ef1cc6743f6e5c3560f5fb5.tar.bz2
gentoo-2-a040e1423c14f01a5ef1cc6743f6e5c3560f5fb5.zip
Initial import (bug 212633, thanks Jon Daniel)
(Portage version: 2.1.10.63/cvs/Linux x86_64)
Diffstat (limited to 'x11-wm/sithwm')
-rw-r--r--x11-wm/sithwm/ChangeLog10
-rw-r--r--x11-wm/sithwm/Manifest5
-rw-r--r--x11-wm/sithwm/files/sithwm-1.2.3-warnings.patch34
-rw-r--r--x11-wm/sithwm/metadata.xml14
-rw-r--r--x11-wm/sithwm/sithwm-1.2.3.ebuild27
5 files changed, 90 insertions, 0 deletions
diff --git a/x11-wm/sithwm/ChangeLog b/x11-wm/sithwm/ChangeLog
new file mode 100644
index 000000000000..0f274c481e59
--- /dev/null
+++ b/x11-wm/sithwm/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for x11-wm/sithwm
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/sithwm/ChangeLog,v 1.1 2012/06/04 21:13:56 xmw Exp $
+
+*sithwm-1.2.3 (04 Jun 2012)
+
+ 04 Jun 2012; Michael Weber <xmw@gentoo.org> +sithwm-1.2.3.ebuild,
+ +files/sithwm-1.2.3-warnings.patch, +metadata.xml:
+ Initial import (bug 212633, thanks Jon Daniel)
+
diff --git a/x11-wm/sithwm/Manifest b/x11-wm/sithwm/Manifest
new file mode 100644
index 000000000000..e64ef312050e
--- /dev/null
+++ b/x11-wm/sithwm/Manifest
@@ -0,0 +1,5 @@
+AUX sithwm-1.2.3-warnings.patch 880 RMD160 c7db277f09fd5e154f0e73c9412e9edeb7ab02a9 SHA1 85d237f3d7ab6bd3226dbd9a0dfa34603880e69e SHA256 d59a9ddc629453cdac3a25bb83d7988f02cde693c1b8acc571729268bf72f377
+DIST sithwm-1.2.3.tgz 29976 RMD160 9a46f65394031b0e1e0bb9feefd945e83e7c0fd9 SHA1 ddf204c81166f4e2d8a7976579ee9808a9363140 SHA256 6369e0429d0cc52eae6a9a11e2339f300306ed8754b5ac5f8be9e8fc41950f1f
+EBUILD sithwm-1.2.3.ebuild 519 RMD160 dc313e378ab9980bb4b837823d9e5b78047a2d26 SHA1 42c79ebd48b27306c27b8ed0cb54da79d610392f SHA256 4814ed10acb34efea36eb1d2c63be7bc94ee3cfdc302a32581e7ad4a73b423ee
+MISC ChangeLog 314 RMD160 401c68aa116e9d29a4512dbba6906bee5941c847 SHA1 bbd8efb5a5852c65a1ac4412fde485f688b63f3b SHA256 c8d7c4cc45a6c598d72fbe71bd0d52bfcd0144f6f36eb26fda7de42c281eabde
+MISC metadata.xml 389 RMD160 6903e8bb29d93fde45eac42dc56a668c01ef07b6 SHA1 fa2ba1b7d6615fb1f07bce7ab3bc23b0599c9e2e SHA256 b0acdf1d799e965949bb8f4a1d6dd5ac1f22d767e57204bd5f9133860ad6ab88
diff --git a/x11-wm/sithwm/files/sithwm-1.2.3-warnings.patch b/x11-wm/sithwm/files/sithwm-1.2.3-warnings.patch
new file mode 100644
index 000000000000..c2653dcd8db9
--- /dev/null
+++ b/x11-wm/sithwm/files/sithwm-1.2.3-warnings.patch
@@ -0,0 +1,34 @@
+--- sithwm-1.2.3/menu.c
++++ sithwm-1.2.3/menu.c
+@@ -355,7 +355,7 @@
+ int freem = 1;
+ int freestrs = 1;
+ struct area a;
+- unsigned int mask;
++ unsigned int mask = NoValue;
+ char*p=global_buffer;
+ char ent_type[3] = "\0";
+ for (;;) {
+--- sithwm-1.2.3/misc.c
++++ sithwm-1.2.3/misc.c
+@@ -21,7 +21,7 @@
+ char *dot = strchr(colon, '.');
+ if (!dot)
+ dot = colon + strlen(colon);
+- snprintf(dot, 5, ".%d", current_screen-screens);
++ snprintf(dot, 5, ".%ld", current_screen-screens);
+ putenv(ebuf);
+ }
+ snprintf(global_buffer, sizeof global_buffer, "%s&", command);
+--- sithwm-1.2.3/screen.c
++++ sithwm-1.2.3/screen.c
+@@ -146,6 +146,9 @@
+ }break;
+ default:
+ iwin.w = 0;
++ iwin.h = 0;
++ iwin.pos.x = 0;
++ iwin.pos.y = 0;
+ }
+
+ int stackwidth = opt_popup_stack_width;
diff --git a/x11-wm/sithwm/metadata.xml b/x11-wm/sithwm/metadata.xml
new file mode 100644
index 000000000000..7075a4d1c56b
--- /dev/null
+++ b/x11-wm/sithwm/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>desktop-wm</herd>
+<maintainer>
+<email>xmw@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+<upstream>
+ <remote-id type="sourceforge">sithwm</remote-id>
+ <bugs-to>http://sourceforge.net/tracker/?group_id=175787</bugs-to>
+</upstream>
+</pkgmetadata>
+
diff --git a/x11-wm/sithwm/sithwm-1.2.3.ebuild b/x11-wm/sithwm/sithwm-1.2.3.ebuild
new file mode 100644
index 000000000000..002566d629c2
--- /dev/null
+++ b/x11-wm/sithwm/sithwm-1.2.3.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/sithwm/sithwm-1.2.3.ebuild,v 1.1 2012/06/04 21:13:56 xmw Exp $
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Minimalist Window Manager for X"
+HOMEPAGE="http://sithwm.darkside.no/"
+SRC_URI="http://sithwm.darkside.no/sn/sithwm-1.2.3.tgz"
+
+LICENSE="GPL-1 as-is 9wm"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-warnings.patch
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}