On Thu, Mar 27, 2003 at 08:49:16PM +0300, Yaroslav Rastrigin wrote:
> Well, trswm-0.1 is available. It's a windowmanager, based on ion's ideas,
> but I've tried to take it further and to slightly different direction. 

I've created an ebuild for Gentoo users. Copy the attached file to
/usr/portage/x11-wm/trswm/ (create the dir first!) and type "emerge trswm"
and it should all work.

The ebuild contrib bug is http://bugs.gentoo.org/show_bug.cgi?id=18326

Now I can play with it :-)

Regards,

Tom


# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="A framing/tiling window manager"
HOMEPAGE="http://www.relex.ru/~yarick/trswm/";
SRC_URI="http://www.relex.ru/~yarick/trswm/${P}.tar.gz 
        http://www.relex.ru/~yarick/trswm/${PN}-config.tar.gz";
LICENSE="freedist"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=">=dev-lang/lua-4* virtual/x11"

S=${WORKDIR}

src_compile() {
        cd ${WORKDIR}/${PN}
        cp Options Options.orig
        sed -e "s:^CFLAGS=:CFLAGS=${CFLAGS} :" Options.orig > Options
        emake || die
        cd ${WORKDIR}/${PN}-config
        cp trswm.lua trswm.lua.orig
        sed -e "s:/home/yarick/Work/trswm/[^/]\+:/usr/lib/${PN}:" \
                -e "s:/home/yarick/.trswm-devel:/etc/X11/${PN}:" \
                trswm.lua.orig > trswm.lua
}

src_install() {
        dobin trswm
        insinto /usr/lib/${PN}
        doins */*.so
        insinto /etc/X11/trswm
        doins ../${PN}-config/*.lua
        echo -e "#!/bin/sh\n/usr/bin/trswm" > trswm
        exeinto /etc/X11/Sessions
        doexe trswm
}

pkg_postinst() {
        einfo "Before you can use trswm you must copy the configuration"
        einfo "files to ~/.trswm-devel, i.e."
        einfo "  cp -r /etc/X11/trswm ~/.trswm-devel"
}

Reply via email to