From 3e79fbb87af7a38d5ae4b185e17d598296cef3dd Mon Sep 17 00:00:00 2001 From: Michael Weber Date: Mon, 4 Jun 2012 21:13:57 +0000 Subject: Initial import (bug 212633, thanks Jon Daniel) Package-Manager: portage-2.1.10.63/cvs/Linux x86_64 --- x11-wm/sithwm/ChangeLog | 10 ++++++++ x11-wm/sithwm/Manifest | 15 +++++++++++ x11-wm/sithwm/files/sithwm-1.2.3-warnings.patch | 34 +++++++++++++++++++++++++ x11-wm/sithwm/metadata.xml | 14 ++++++++++ x11-wm/sithwm/sithwm-1.2.3.ebuild | 27 ++++++++++++++++++++ 5 files changed, 100 insertions(+) create mode 100644 x11-wm/sithwm/ChangeLog create mode 100644 x11-wm/sithwm/Manifest create mode 100644 x11-wm/sithwm/files/sithwm-1.2.3-warnings.patch create mode 100644 x11-wm/sithwm/metadata.xml create mode 100644 x11-wm/sithwm/sithwm-1.2.3.ebuild (limited to 'x11-wm/sithwm') 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 +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..1811f03088cd --- /dev/null +++ b/x11-wm/sithwm/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +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 611 RMD160 d71da11ad4a64ed37c9cd7ac8cc3343cb5f19011 SHA1 e0bb98e1d95a8bf6b7ce81e4391d1d5410c8ab0f SHA256 7970a3a123c244462117f343c69a3a44f2d8f6e826658d4ba486b11505ddbb61 +MISC ChangeLog 396 RMD160 aff7a4d67b547178eacc71fe50af389a6eaff7e3 SHA1 a5b046d86ff7f4ec341cfa2c6dc28e4356119612 SHA256 221850d5b0e789cdff415a19ec1cf540a5e8a8db13df8124077ed5c85ca6b3e4 +MISC metadata.xml 389 RMD160 6903e8bb29d93fde45eac42dc56a668c01ef07b6 SHA1 fa2ba1b7d6615fb1f07bce7ab3bc23b0599c9e2e SHA256 b0acdf1d799e965949bb8f4a1d6dd5ac1f22d767e57204bd5f9133860ad6ab88 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iF4EAREIAAYFAk/NJQcACgkQknrdDGLu8JA6GQD/UBVUR+N2XWtm2mHOUZEcTTop +8NI1ibbc2EQJAomAtRQA/2sPj11Iry0tMX8C/2i6CIeyhfp9Nqgr/BOmLSwTxeWm +=qzaa +-----END PGP SIGNATURE----- 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 @@ + + + +desktop-wm + +xmw@gentoo.org +Michael Weber + + + sithwm + http://sourceforge.net/tracker/?group_id=175787 + + + 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)" +} -- cgit v1.2.3-65-gdbad