Re: [WANTED] Need specfile/ebuild for sawfish-pager



On Fri, 22 Jan 2010 16:57:51 +0100
wrote Christopher Roy Bratusek <zanghar freenet de>:

>O.K.
>
>I just added the ebuild to sawfish-pager GIT. Could someone test
>if it works properly?
>
>BTW: Now spec yet? (Kim/Michal?)
>
>Thanks in advance,
>Chris

Hi,

If you install sawfish, emerge (gentoo packages manager)
install dev-libs/librep and x11-libs/gtk+ as dependency
for sawfish. x11-wm/sawfish{-git} as "DEPEND=" is sufficient.
emerge not understand @SAWFISH_MIN_VER@ (isn't rpm ;).

The smallest version from sawfish by gentoo is 1.3.3.
If i look in the INSTALL file from sawfish-pager,
sawfish-pager should build without any other dependency
as sawfish-1.3.3 (sed and gawk is installed on base system
by gentoo).

src_unpack()... and src_compile()... is not necessary 
emerge do it from alone (x11-misc/sawfish-pager-0.7.2)

Here the ebuild:


# Copyright 1999-2010 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2


DESCRIPTION="The native pager of the Sawfish windowmanager"
HOMEPAGE="http://sawfish.wikia.com";
SRC_URI="http://download.tuxfamily.org/sawfishpager/${P}.tar.bz2";
RESTRICT="nomirror"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc x86"


DEPEND="|| ( x11-wm/sawfish
        x11-wm/sawfish-git )"

RDEPEND="${DEPEND}"

src_install() {

    make DESTDIR=${D} install || die
    dodoc COPYING INSTALL NEWS README TODO

}

pkg_postinst() {

    einfo
    einfo "To use sawfish-pager add:"
    einfo
    einfo "(require 'sawfish.wm.ext.pager)"
    einfo "(add-hook 'after-initialization-hook pager t)"
    einfo
    einfo "in your ~/.sawfishrc file."
    einfo

}


-- 
Regards,
Fuchur

GPG Fingerprint: CA3B 8204 5B3E 6D48 6D53  C116 E5BC 70D5 B8D7 B2B0

Attachment: signature.asc
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]