summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2011-06-11 17:02:51 +0000
committerMichael Weber <xmw@gentoo.org>2011-06-11 17:02:51 +0000
commitacb64fbc8d6ae345f13bbe90cee409d2440ed91c (patch)
tree034cd2e2ea5ec1be759b6c89da36dc443c5f25c0
parentFix build failure (bug #351285). Install man page in the appropriate place (b... (diff)
downloadhistorical-acb64fbc8d6ae345f13bbe90cee409d2440ed91c.tar.gz
historical-acb64fbc8d6ae345f13bbe90cee409d2440ed91c.tar.bz2
historical-acb64fbc8d6ae345f13bbe90cee409d2440ed91c.zip
Initial import
Package-Manager: portage-2.1.9.42/cvs/Linux x86_64
-rw-r--r--x11-wm/scrotwm/ChangeLog11
-rw-r--r--x11-wm/scrotwm/Manifest15
-rw-r--r--x11-wm/scrotwm/files/scrotwm-0.9.28-makefile.patch34
-rw-r--r--x11-wm/scrotwm/metadata.xml10
-rw-r--r--x11-wm/scrotwm/scrotwm-0.9.28.ebuild32
5 files changed, 102 insertions, 0 deletions
diff --git a/x11-wm/scrotwm/ChangeLog b/x11-wm/scrotwm/ChangeLog
new file mode 100644
index 000000000000..44c86b68cded
--- /dev/null
+++ b/x11-wm/scrotwm/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for x11-wm/scrotwm
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/scrotwm/ChangeLog,v 1.1 2011/06/11 17:02:51 xmw Exp $
+
+*scrotwm-0.9.28 (11 Jun 2011)
+
+ 11 Jun 2011; Michael Weber <xmw@gentoo.org> +scrotwm-0.9.28.ebuild,
+ +files/scrotwm-0.9.28-makefile.patch, +metadata.xml:
+ Initial import, thanks to Massimo Gengarelli, Nikolay Ostanen and Toffanin
+ for the initial ebuilds (bug 284350)
+
diff --git a/x11-wm/scrotwm/Manifest b/x11-wm/scrotwm/Manifest
new file mode 100644
index 000000000000..a00e7377faaa
--- /dev/null
+++ b/x11-wm/scrotwm/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX scrotwm-0.9.28-makefile.patch 941 RMD160 51512234be802b9c5b4d8836566ccb76437be503 SHA1 2b00a6edfe75da25712aa538c30c7d8b9440de7a SHA256 2523ca652e3ae0ae2d7fb9092ada38d00252995e50560557454d37127832fe82
+DIST scrotwm-0.9.28.tgz 62837 RMD160 b7b4186d02e65448117e15c8c4bf3b47aa146e24 SHA1 24cc73d01fd15e77dd3830902dd791759375037b SHA256 5579af32881caa9983f98d09a0ed24f3985ddde1d0c9f3298c0cc101029a750c
+EBUILD scrotwm-0.9.28.ebuild 751 RMD160 835578a122125689cc0a7f40640b1273584c04ea SHA1 a74cf32aebc39bc7e802404bf82927112eae497d SHA256 6b42603e95dc6cbae832e86340e6042f98a6dad61d8bf0d40f9658da3141eefe
+MISC ChangeLog 471 RMD160 987f43e8d4e768dc7ed2902b2732ff10741c0fff SHA1 7846e7235aba677191928d37e03e8fb7b885aa7e SHA256 9bf98fb00a00c09b663f7f32cf72c369dca405a908e8a7cb994e24157d7086ed
+MISC metadata.xml 248 RMD160 fbc371bb7ae348f0607504a16f7a406d53c91ccf SHA1 865f2327a48abf34aa91cb715262a20a9b35d8e2 SHA256 c1168e4bf7a55150e29e8796925a7cf24a98b532e879b7134b8cb5f03cffbdea
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iF4EAREIAAYFAk3zn8EACgkQknrdDGLu8JDnUgD/W8V9dY1vOOhSUnzSbjK3WFaL
+bWOURhI6ES/onyqJR/cA/0qEbt98BAIb3OT/adwuv73LaRhwI9ZrzmZUmYc3ibZr
+=oI/A
+-----END PGP SIGNATURE-----
diff --git a/x11-wm/scrotwm/files/scrotwm-0.9.28-makefile.patch b/x11-wm/scrotwm/files/scrotwm-0.9.28-makefile.patch
new file mode 100644
index 000000000000..57c7fdee6050
--- /dev/null
+++ b/x11-wm/scrotwm/files/scrotwm-0.9.28-makefile.patch
@@ -0,0 +1,34 @@
+--- scrotwm-0.9.28/linux/Makefile
++++ scrotwm-0.9.28/linux/Makefile
+@@ -1,7 +1,7 @@
+ # $scrotwm: Makefile,v 1.5 2010/09/16 02:00:51 marco Exp $
+
+-CFLAGS+= -Wall -ggdb -D_GNU_SOURCE -I.
+-CFLAGS+= -DSWM_LIB=\"$(LIBDIR)/libswmhack.so.$(LVERS)\"
++CFLAGS+= -D_GNU_SOURCE -I.
++CFLAGS+= -DSWM_LIB=\"libswmhack.so.$(LVERS)\"
+ LDADD+= -lX11 -lXrandr
+
+ PREFIX?= /usr/local
+@@ -9,7 +9,7 @@
+ LIBDIR?= $(PREFIX)/lib
+ MANDIR?= $(PREFIX)/share/man
+
+-CC= gcc
++CC?= gcc
+
+ LVERS= $(shell . ../lib/shlib_version; echo $$major.$$minor)
+
+@@ -25,10 +25,10 @@
+ $(CC) $(LDFLAGS) -o $@ $+ $(LDADD)
+
+ %.so: %.c
+- $(CC) $(CFLAGS) -c -fpic -DPIC $+ -o $@
++ $(CC) $(LDFLAGS) $(CFLAGS) -c -fpic $+ -o $@
+
+ libswmhack.so.$(LVERS): swm_hack.so
+- $(CC) -shared -fpic -o libswmhack.so.$(LVERS) swm_hack.so $(LDADD)
++ $(CC) $(LDFLAGS) -Wl,-soname,$@ -shared -fpic -o libswmhack.so.$(LVERS) swm_hack.so $(LDADD)
+
+ install: all
+ install -m 755 -d $(DESTDIR)$(BINDIR)
diff --git a/x11-wm/scrotwm/metadata.xml b/x11-wm/scrotwm/metadata.xml
new file mode 100644
index 000000000000..c8204b7542f7
--- /dev/null
+++ b/x11-wm/scrotwm/metadata.xml
@@ -0,0 +1,10 @@
+<?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>
+</pkgmetadata>
+
diff --git a/x11-wm/scrotwm/scrotwm-0.9.28.ebuild b/x11-wm/scrotwm/scrotwm-0.9.28.ebuild
new file mode 100644
index 000000000000..c47bf8984359
--- /dev/null
+++ b/x11-wm/scrotwm/scrotwm-0.9.28.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/scrotwm/scrotwm-0.9.28.ebuild,v 1.1 2011/06/11 17:02:51 xmw Exp $
+
+EAPI=3
+
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="Small dynamic tiling window manager for X11"
+HOMEPAGE="http://www.scrotwm.org"
+SRC_URI="http://opensource.conformal.com/snapshots/${PN}/${P}.tgz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-misc/dmenu"
+DEPEND="${DEPEND}
+ x11-libs/libX11
+ x11-libs/libXrandr"
+
+S=${WORKDIR}/${P}/linux
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-makefile.patch
+ tc-export CC
+}
+
+src_install() {
+ emake PREFIX="${D}"usr LIBDIR="${D}usr/$(get_libdir)" install || die
+}