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



Am Fri, 22 Jan 2010 21:32:07 +0100
schrieb fuchur <flohtransporter gmail com>:

> 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 ebuild is an .in file the @SAWFISH_MIN_VER@ is replaced by the
correct value by the configure script, say 1.6.1 in this case. Also
there has been a important bugfix in the byte-compiler in librep
0.90.5, that's why I added it to the list.

> 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)

O.K. I'll do the changes tommorow.

Chris

> 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
> 
> }
> 
> 



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