summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-01-04 14:52:51 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-01-04 14:52:51 +0000
commitbf3bd5213734bce85a10972addf9dae95450b0f9 (patch)
tree170c0cab13ee17822e4fa2f43b8635bd01eb50e4 /x11-wm/matwm2
parentUse -j1 for build (bug #299613). (diff)
downloadhistorical-bf3bd5213734bce85a10972addf9dae95450b0f9.tar.gz
historical-bf3bd5213734bce85a10972addf9dae95450b0f9.tar.bz2
historical-bf3bd5213734bce85a10972addf9dae95450b0f9.zip
Initial commit.
Package-Manager: portage-2.2_rc61/cvs/Linux x86_64
Diffstat (limited to 'x11-wm/matwm2')
-rw-r--r--x11-wm/matwm2/ChangeLog10
-rw-r--r--x11-wm/matwm2/Manifest6
-rw-r--r--x11-wm/matwm2/files/matwm2-0.0.96-Makefile.patch23
-rw-r--r--x11-wm/matwm2/files/matwm2.desktop5
-rw-r--r--x11-wm/matwm2/matwm2-0.0.96.ebuild40
-rw-r--r--x11-wm/matwm2/metadata.xml9
6 files changed, 93 insertions, 0 deletions
diff --git a/x11-wm/matwm2/ChangeLog b/x11-wm/matwm2/ChangeLog
new file mode 100644
index 000000000000..273338a64a52
--- /dev/null
+++ b/x11-wm/matwm2/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for x11-wm/matwm2
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/matwm2/ChangeLog,v 1.1 2010/01/04 14:52:50 ssuominen Exp $
+
+*matwm2-0.0.96 (04 Jan 2010)
+
+ 04 Jan 2010; Samuli Suominen <ssuominen@gentoo.org> +matwm2-0.0.96.ebuild,
+ +files/matwm2-0.0.96-Makefile.patch, +files/matwm2.desktop:
+ Initial commit.
+
diff --git a/x11-wm/matwm2/Manifest b/x11-wm/matwm2/Manifest
new file mode 100644
index 000000000000..627e3856d9c9
--- /dev/null
+++ b/x11-wm/matwm2/Manifest
@@ -0,0 +1,6 @@
+AUX matwm2-0.0.96-Makefile.patch 897 RMD160 221fdfbec5081bf4e6eed8cd635762394b35f5f0 SHA1 12d834310f204181046257c6440d62d3d98b3829 SHA256 4c336317a9ca0672c1778a1c4efe939ddf5d516c325a7cc516395ffa5b95726b
+AUX matwm2.desktop 69 RMD160 f57e6d6d4a7717c7995fc508ea51bb3913110940 SHA1 0c859dbfc3ed27feb39c4a3655b3c2112fbd6143 SHA256 ff87cbe6562a02dd8a13bc5c5582c3cc0c914c1f5c49b49860de65d0b28c5938
+DIST matwm2-0.0.96.tar.gz 49752 RMD160 a9d81ea5f4237639394a3bcaaae1e87b42d70489 SHA1 55d0fa54aee13152e69262542a9a58964caaf4c1 SHA256 0d9c6e7ec4f63eff643b46bf0f159b19525e27b731d5e40ababc45bc32f0f6a8
+EBUILD matwm2-0.0.96.ebuild 935 RMD160 fb47e7f44816aa06a55e45ced5707c4b8fe92389 SHA1 148f593127583f51b405d470060c5c7c170973cc SHA256 d8ffad4066da647164d50664c094dfc89e0bf4b772ea140eb61fe4957479a856
+MISC ChangeLog 390 RMD160 4bae1a6238965a23e60360ebb6f8e001a25a89bb SHA1 5c88be7db19e5c6ee470451e879b5040cbd0b60f SHA256 79ff334e23e94c27fd314b2fd2feb5161eb8de963fc354df2e8edb740c4cec05
+MISC metadata.xml 269 RMD160 68cd338c1268645220ecb9b87175b4f90f74ac4a SHA1 6b07ec9a4c5d658fb77276d528f739c461f25681 SHA256 5ffa3663aaf100b2c9e93e2c51b7c48fa69054c670b158319aa3579f86989830
diff --git a/x11-wm/matwm2/files/matwm2-0.0.96-Makefile.patch b/x11-wm/matwm2/files/matwm2-0.0.96-Makefile.patch
new file mode 100644
index 000000000000..16d86a036d40
--- /dev/null
+++ b/x11-wm/matwm2/files/matwm2-0.0.96-Makefile.patch
@@ -0,0 +1,23 @@
+--- Makefile
++++ Makefile
+@@ -4,10 +4,8 @@
+ CC = cc
+ RM = rm -f
+
+-CFLAGS += -I$(XROOT)/include # remove the + for this and the next line if make complains about being unable to add to a non-existing macro
+-LDFLAGS += -lX11 -L$(XROOT)/lib
+ CFLAGS += -DSHAPE # comment out this line to disable shape support
+-LDFLAGS += -lXext # if shape support is disabled, this normally is no longer necessary and schould probally be commented out too
++LIBS += -lXext -lX11 # if shape support is disabled, this normally is no longer necessary and schould probally be commented out too
+
+ #CFLAGS += -DDEBUG -ggdb3 # -DDEBUG_EVENTS -DSYNC # for debugging
+ CFLAGS += -Wall -Wextra -Wno-unused-parameter
+@@ -19,7 +17,7 @@
+ all: matwm2
+
+ matwm2: $(OBJFILES) $(HEADERS)
+- $(CC) -o $@ $(OBJFILES) $(LDFLAGS)
++ $(CC) $(LDFLAGS) -o $@ $(OBJFILES) $(LIBS)
+
+ clean:
+ $(RM) matwm2 *.o
diff --git a/x11-wm/matwm2/files/matwm2.desktop b/x11-wm/matwm2/files/matwm2.desktop
new file mode 100644
index 000000000000..e15f8e95d0a0
--- /dev/null
+++ b/x11-wm/matwm2/files/matwm2.desktop
@@ -0,0 +1,5 @@
+[Desktop Entry]
+Version=1.0
+Name=matwm2
+Exec=matwm2
+Type=Application
diff --git a/x11-wm/matwm2/matwm2-0.0.96.ebuild b/x11-wm/matwm2/matwm2-0.0.96.ebuild
new file mode 100644
index 000000000000..9fe09c0c01f6
--- /dev/null
+++ b/x11-wm/matwm2/matwm2-0.0.96.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/matwm2/matwm2-0.0.96.ebuild,v 1.1 2010/01/04 14:52:50 ssuominen Exp $
+
+EAPI=2
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Simple EWMH compatible window manager with titlebars and frames"
+HOMEPAGE="http://www.gatorgitter.com/~maties/"
+SRC_URI="http://www.gatorgitter.com/~maties/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libXext"
+DEPEND="${RDEPEND}
+ x11-proto/xextproto"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-Makefile.patch
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" || die
+}
+
+src_install() {
+ dobin ${PN} || die
+ doman ${PN}.1
+ dodoc BUGS ChangeLog default_matwmrc README TODO
+
+ insinto /usr/share/xsessions
+ doins "${FILESDIR}"/${PN}.desktop || die
+
+ echo ${PN} > "${T}"/${PN}
+ exeinto /etc/X11/Sessions
+ doexe "${T}"/${PN} || die
+}
diff --git a/x11-wm/matwm2/metadata.xml b/x11-wm/matwm2/metadata.xml
new file mode 100644
index 000000000000..70ff4e25b830
--- /dev/null
+++ b/x11-wm/matwm2/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>desktop-wm</herd>
+ <maintainer>
+ <email>ssuominen@gentoo.org</email>
+ <name>Samuli Suominen</name>
+ </maintainer>
+</pkgmetadata>