diff options
author | Jeroen Roovers <jer@gentoo.org> | 2012-02-07 22:13:07 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2012-02-07 22:13:07 +0000 |
commit | 695f02eebbf874b61110bc439fc281b263176892 (patch) | |
tree | cd6045f84071851d3e12b4f2bc96c0f22cf3b492 /x11-wm/ctwm | |
parent | eapi=4, stable amd64 x86, compile fix for multicore CPU (diff) | |
download | gentoo-2-695f02eebbf874b61110bc439fc281b263176892.tar.gz gentoo-2-695f02eebbf874b61110bc439fc281b263176892.tar.bz2 gentoo-2-695f02eebbf874b61110bc439fc281b263176892.zip |
Version bump.
(Portage version: 2.2.0_alpha85/cvs/Linux x86_64)
Diffstat (limited to 'x11-wm/ctwm')
-rw-r--r-- | x11-wm/ctwm/ChangeLog | 9 | ||||
-rw-r--r-- | x11-wm/ctwm/ctwm-3.8.1.ebuild | 77 |
2 files changed, 84 insertions, 2 deletions
diff --git a/x11-wm/ctwm/ChangeLog b/x11-wm/ctwm/ChangeLog index f6ab7256f847..9f57dca5f8e8 100644 --- a/x11-wm/ctwm/ChangeLog +++ b/x11-wm/ctwm/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-wm/ctwm -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/ctwm/ChangeLog,v 1.26 2011/12/21 08:51:41 phajdan.jr Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/ctwm/ChangeLog,v 1.27 2012/02/07 22:13:07 jer Exp $ + +*ctwm-3.8.1 (07 Feb 2012) + + 07 Feb 2012; Jeroen Roovers <jer@gentoo.org> +ctwm-3.8.1.ebuild: + Version bump. 21 Dec 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> ctwm-3.8a-r1.ebuild: x86 stable wrt bug #393941 diff --git a/x11-wm/ctwm/ctwm-3.8.1.ebuild b/x11-wm/ctwm/ctwm-3.8.1.ebuild new file mode 100644 index 000000000000..d326345a3234 --- /dev/null +++ b/x11-wm/ctwm/ctwm-3.8.1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/ctwm/ctwm-3.8.1.ebuild,v 1.1 2012/02/07 22:13:07 jer Exp $ + +EAPI=4 + +inherit eutils toolchain-funcs + +DESCRIPTION="A clean, light window manager." +HOMEPAGE="http://ctwm.free.lp.se/" +SRC_URI="http://ctwm.free.lp.se/dist/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND=" + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXmu + x11-libs/libXt +" +DEPEND=" + ${RDEPEND} + app-text/rman + virtual/jpeg + x11-misc/imake + x11-proto/xextproto + x11-proto/xproto +" + +src_prepare() { + # overflow bug 338180 + sed -i menus.c -e "/char modStr/ s/5/6/" || die + + # implicit 'isspace' + sed -i parse.c -e "/<stdio.h>/ a#include <ctype.h>" || die + + sed -i Imakefile -e "/^CONFDIR/s@=.*@= /etc/X11/twm@g" || die + + cp Imakefile.local-template Imakefile.local + + # TODO: Add GNOME support + sed -i Imakefile.local -e '/^#define GNOME/d' || die +} + +src_compile() { + xmkmf || die + emake \ + CC=$(tc-getCC) \ + CFLAGS="${CFLAGS}" \ + EXTRA_LDOPTIONS="${LDFLAGS}" \ + TWMDIR=/usr/share/${PN} +} + +src_install() { + emake BINDIR=/usr/bin \ + MANPATH=/usr/share/man \ + TWMDIR=/usr/share/${PN} \ + DESTDIR="${D}" install + + emake MANPATH=/usr/share/man \ + DOCHTMLDIR=/usr/share/doc/${PF}/html \ + DESTDIR="${D}" install.man + + echo "#!/bin/sh" > ${T}/ctwm + echo "/usr/bin/ctwm" >> ${T}/ctwm + + exeinto /etc/X11/Sessions + doexe "${T}"/ctwm + + dodoc CHANGES README* TODO* PROBLEMS + dodoc *.ctwmrc* +} |