diff options
author | Torsten Veller <tove@gentoo.org> | 2005-04-21 10:25:52 +0000 |
---|---|---|
committer | Torsten Veller <tove@gentoo.org> | 2005-04-21 10:25:52 +0000 |
commit | 094023ff6f0c87526b5453890ad08394c1d3ec14 (patch) | |
tree | b39bbd9e30ea0b2e4c1eae1a9285743ecd496458 /x11-wm | |
parent | Switch to use doenvd, remove old versions. (diff) | |
download | gentoo-2-094023ff6f0c87526b5453890ad08394c1d3ec14.tar.gz gentoo-2-094023ff6f0c87526b5453890ad08394c1d3ec14.tar.bz2 gentoo-2-094023ff6f0c87526b5453890ad08394c1d3ec14.zip |
Initial commit. Bug #83500
(Portage version: 2.0.51.19)
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/wmii/ChangeLog | 12 | ||||
-rw-r--r-- | x11-wm/wmii/Manifest | 15 | ||||
-rw-r--r-- | x11-wm/wmii/files/digest-wmii-0.20050420 | 1 | ||||
-rw-r--r-- | x11-wm/wmii/files/wmii.desktop | 9 | ||||
-rw-r--r-- | x11-wm/wmii/metadata.xml | 15 | ||||
-rw-r--r-- | x11-wm/wmii/wmii-0.20050420.ebuild | 74 |
6 files changed, 126 insertions, 0 deletions
diff --git a/x11-wm/wmii/ChangeLog b/x11-wm/wmii/ChangeLog new file mode 100644 index 000000000000..5eb637fb3d03 --- /dev/null +++ b/x11-wm/wmii/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for x11-wm/wmii +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/wmii/ChangeLog,v 1.1 2005/04/21 10:25:52 tove Exp $ + +*wmii-0.20050420 (21 Apr 2005) + + 21 Apr 2005; Torsten Veller <tove@gentoo.org> +files/wmii.desktop, + +metadata.xml, +wmii-0.20050420.ebuild: + Initial commit. + Package.masked because it's a pre-release snapshot. + Thanks to Ingo Bormuth, René Nussbaumer in bug #83500. + diff --git a/x11-wm/wmii/Manifest b/x11-wm/wmii/Manifest new file mode 100644 index 000000000000..f4ac252fbba6 --- /dev/null +++ b/x11-wm/wmii/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 79c8e05ea14b47f256525609e972b7bb wmii-0.20050420.ebuild 1810 +MD5 b7b17e829993de1efdcf82ab28e32d76 ChangeLog 386 +MD5 9dfc07930dff89a3773796c3296c9d39 metadata.xml 505 +MD5 48b2aadadc04fa539467a05f3afa031e files/wmii.desktop 174 +MD5 bd57e7e27c47a0e7574ca22a31f04a5b files/digest-wmii-0.20050420 67 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.1 (GNU/Linux) + +iD8DBQFCZ395V3J2n04EauwRAlcsAJ4uVfGn5WnQMdk3VDAm43kNcURIJgCgiVIo +mDLpQW2LiCWlewIwySkq1Ko= +=hjeJ +-----END PGP SIGNATURE----- diff --git a/x11-wm/wmii/files/digest-wmii-0.20050420 b/x11-wm/wmii/files/digest-wmii-0.20050420 new file mode 100644 index 000000000000..fe78ab546c3f --- /dev/null +++ b/x11-wm/wmii/files/digest-wmii-0.20050420 @@ -0,0 +1 @@ +MD5 85460a6ef25c396c569ba504852f6438 wmii-0-20050420.tar.bz2 56672 diff --git a/x11-wm/wmii/files/wmii.desktop b/x11-wm/wmii/files/wmii.desktop new file mode 100644 index 000000000000..c96756c5db16 --- /dev/null +++ b/x11-wm/wmii/files/wmii.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=wmii +Comment=window manager improved 2 +Exec=wmii +TryExec=wmii +# no icon yet, only the top three are currently used +Icon= +Type=Application diff --git a/x11-wm/wmii/metadata.xml b/x11-wm/wmii/metadata.xml new file mode 100644 index 000000000000..790860336065 --- /dev/null +++ b/x11-wm/wmii/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>tove@gentoo.org</email> + <name>Torsten Veller</name> + </maintainer> + <longdescription lang="en"> + wmii is a lightweight window manager, highly modularized and uses a new + configuration and inter-process communication interface which is + oriented on the 9p protocol of the plan9 operating system. + </longdescription> +</pkgmetadata> + diff --git a/x11-wm/wmii/wmii-0.20050420.ebuild b/x11-wm/wmii/wmii-0.20050420.ebuild new file mode 100644 index 000000000000..011b5c13d10f --- /dev/null +++ b/x11-wm/wmii/wmii-0.20050420.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/wmii/wmii-0.20050420.ebuild,v 1.1 2005/04/21 10:25:52 tove Exp $ + +#inherit toolchain-funcs distutils +inherit toolchain-funcs + +MY_P="${P/./-}" + +DESCRIPTION="window manager improved 2 -- is the next generation of the WMI project." +HOMEPAGE="http://wmi.modprobe.de/index.php?n=WMII.Overview" +SRC_URI="http://wmi.modprobe.de/snaps/${MY_P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~x86" +IUSE="python cairo" + +DEPEND=">=sys-apps/sed-4 + ${RDEPEND}" +RDEPEND="virtual/x11 + virtual/libc + cairo? ( >=x11-libs/cairo-0.3 + >=media-libs/freetype-2 ) + python? ( virtual/python + dev-python/pyrex )" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack "${A}" + + sed -i \ + -e "/^CFLAGS/s/-O0 -g/${CFLAGS}/" \ + -e "/^LDFLAGS/s/-g -Wl/${LDFLAGS}/" \ + "${S}"/config.mk + + if useq cairo; then + sed -i \ + -e "/^#DRAW/,/^#CAIROINC/ s/^#//g" \ + "${S}"/config.mk + fi +} + +src_compile() { + emake CC="$(tc-getCC)" CONFPREFIX=/etc || die "emake failed" + +# useq python && cd "${S}"/libixp/python && distutils_src_compile + if useq python ; then + cd "${S}"/libixp/python + python setup.py build || die "python build failed." + fi +} + +src_install() { + make DESTDIR="${D}" PREFIX=/usr CONFPREFIX=/etc install || die + dodoc CHANGES README LICENSE || die "dodoc failed." + +# useq python && cd "${S}"/libixp/python && distutils_src_instal + if useq python ; then + cd "${S}"/libixp/python + python setup.py install --root="${D}" || die "python install failed." + fi + + exeinto /usr/share/"${PN}"/contrib + doexe "${S}"/contrib/*.py || die "contrib failed." + + echo -e "#!/bin/sh\n/usr/bin/wmii" > "${T}"/"${PN}" + exeinto /etc/X11/Sessions + doexe "${T}"/"${PN}" || die "/etc/X11/Sessions failed." + + insinto /usr/share/xsessions + doins "${FILESDIR}"/"${PN}".desktop || die "${PN}.desktop failed." +} |