Gentoo ebuild for 1.8.0-rc is attached. I don't know a proper name, so
I name it as 1.7.50.

It's been running for a minute without problem. :P
Teika (Teika kazura)
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

MY_P="sawfish-1.8.0~RC"

DESCRIPTION="Extensible window manager using a Lisp-based scripting language"
HOMEPAGE="http://sawfish.wikia.com/";
SRC_URI="http://download.tuxfamily.org/sawfish/sawfish/${MY_P}.tar.bz2";

LICENSE="GPL-2 Artistic-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="nls xinerama"

RDEPEND=">=dev-libs/librep-0.91.0
        >=x11-libs/rep-gtk-0.90.4
        >=x11-libs/pango-1.8.0
        >=x11-libs/gtk+-2.12.0
        nls? ( sys-devel/gettext )
        xinerama? ( x11-libs/libXinerama )"
DEPEND="${RDEPEND}
        >=dev-util/pkgconfig-0.12.0"

S="${WORKDIR}/${MY_P}"

src_compile() {
        set -- \
                $(use_with xinerama) \
                --with-gdk-pixbuf

        if ! use nls; then
                # Use a space because configure script reads 
--enable-linguas="" as
                # "install everything"
                # Don't use --disable-linguas, because that means 
--enable-linguas="no",
                # which means "install Norwegian translations"
                set -- "$@" --enable-linguas=" "
        elif [[ "${LINGUAS+set}" == "set" ]]; then
                strip-linguas -i po
                set -- "$@" --enable-linguas=" ${LINGUAS} "
        else
                set -- "$@" --enable-linguas=""
        fi

        econf "$@" || die "configure failed"
        emake || die "make failed"
}

src_install() {
        emake DESTDIR="${D}" install || die "make install failed"
        dodoc AUTHORS ChangeLog FAQ NEWS OPTIONS README README.IMPORTANT TODO
}

Reply via email to