Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2639 - waimea-0.3.1.ebuild
Summary: waimea-0.3.1.ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Spider (RETIRED)
URL:
Whiteboard:
Keywords:
: 2650 2701 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-05-10 14:16 UTC by Gontran Zepeda
Modified: 2003-02-04 19:42 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gontran Zepeda 2002-05-10 14:16:36 UTC
fixed result of BAD waimea README -- someone should really contact the author!
:) -- and commented out dosym which didn't work for me. ymmv.  new upstream version!

ebuild attached ?
Comment 1 Gontran Zepeda 2002-05-10 14:19:02 UTC
/me swears

# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author: Spider <spider@gentoo.org>
# Maintainer: Spider <spider@gentoo.org>
# /space/gentoo/cvsroot/gentoo-x86/x11-wm/waimea/waimea-0.3.0.ebuild,v 1.1
2002/05/09 11:53:19 spider Exp
 
S=${WORKDIR}/${P}
DESCRIPTION="Window manager based on BlackBox"
SRC_URI="http://download.sourceforge.net/${PN}/${P}.tar.gz"
HOMEPAGE="http://waimea.sf.net"

DEPEND="virtual/x11"
        
RDEPEND="${DEPEND}"
PROVIDE="virtual/blackbox"

src_compile() {
        local myconf
        econf || die "configure failure whine whine"
        emake || die
}

src_install () {
        make \
                prefix=${D}/usr \
                sysconfdir=${D}/etc/X11/waimea \
                mandir=${D}/usr/share/man \
                infodir=${D}/usr/share/info \
                datadir=${D}/usr/share \
                install || die
       
        insinto /etc/skel/
        newins data/waimearc.example .waimearc
        # just for careful
        insinto /etc/skel/
        doins data/waimearc.example

        dodir /etc/skel/.waimea
        insinto /etc/skel/.waimea
        doins data/menu

        dodir /etc/skel/.waimea/styles
        insinto /etc/skel/.waimea/styles
        doins data/styles/Default
        
        dodir /etc/skel/.waimea/actions
        insinto /etc/skel/.waimea/actions
        doins data/actions/action.*
        # this sym doesn't seem to translate when image is dropped on live fs...
        #dosym /etc/skel/.waimearc/actions/action
/etc/skel/.waimearc/actions/action.sloppy-focus
        
        
        dodoc ChangeLog AUTHORS COPYING INSTALL README TODO NEWS

        dodir /etc/X11/Sessions
        echo "/usr/bin/waimea" > ${D}/etc/X11/Sessions/waimea
        chmod +x ${D}/etc/X11/Sessions/waimea
}

pkg_postinst () {
        echo ""
        einfo "Copy /etc/skel/.waimearc and /etc/skel/.waimea/ to your homedir."
        einfo "If you're upgrading from 3.0  you'll need to get that in"
        einfo "/usr/share/Waimea/waimearc.example."
        echo ""
}
Comment 2 Gontran Zepeda 2002-05-10 14:21:31 UTC
/me swears again

# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author: Spider <spider@gentoo.org>
# Maintainer: Spider <spider@gentoo.org>
# /space/gentoo/cvsroot/gentoo-x86/x11-wm/waimea/waimea-0.3.0.ebuild,v 1.1 2002/
05/09 11:53:19 spider Exp
 
S=${WORKDIR}/${P}
DESCRIPTION="Window manager based on BlackBox"
SRC_URI="http://download.sourceforge.net/${PN}/${P}.tar.gz"
HOMEPAGE="http://waimea.sf.net"

DEPEND="virtual/x11"
        
RDEPEND="${DEPEND}"
PROVIDE="virtual/blackbox"

src_compile() {
        local myconf
        econf || die "configure failure whine whine"
        emake || die
}

src_install () {
        make \
                prefix=${D}/usr \
                sysconfdir=${D}/etc/X11/waimea \
                mandir=${D}/usr/share/man \
                infodir=${D}/usr/share/info \
                datadir=${D}/usr/share \
                install || die
        
        insinto /etc/skel/
        newins data/waimearc.example .waimearc
        # just for careful
        insinto /usr/share/Waimea/
        doins data/waimearc.example

        dodir /etc/skel/.waimea
        insinto /etc/skel/.waimea
        doins data/menu

        dodir /etc/skel/.waimea/styles
        insinto /etc/skel/.waimea/styles
        doins data/styles/Default
        
        dodir /etc/skel/.waimea/actions
        insinto /etc/skel/.waimea/actions
        doins data/actions/action.*
        # this sym doesn't seem to translate when image is dropped on live fs...
        #dosym /etc/skel/.waimearc/actions/action 
etc/skel/.waimearc/actions/action.sloppy-focus
        
        
        dodoc ChangeLog AUTHORS COPYING INSTALL README TODO NEWS

        dodir /etc/X11/Sessions
        echo "/usr/bin/waimea" > ${D}/etc/X11/Sessions/waimea
        chmod +x ${D}/etc/X11/Sessions/waimea
}

pkg_postinst () {
        echo ""
        einfo "Copy /etc/skel/.waimearc and /etc/skel/.waimea/ to your homedir."
        einfo "If you're upgrading from 3.0  you'll need to get that in"
        einfo "/usr/share/Waimea/waimearc.example."
        echo ""
}
Comment 3 Spider (RETIRED) gentoo-dev 2002-05-12 20:19:03 UTC
check the version that is currently in portage (masked) please.
Comment 4 Gontran Zepeda 2002-05-13 00:04:44 UTC
Looks good.  emerged ok, message is correct. :)
Comment 5 Gontran Zepeda 2002-05-13 13:05:59 UTC
Ok, thanks to cmjohn@mail.utexas.edu: I've added media-libs/imlib2 to the depend
line.  Unfortunately, for testing Xft and Render, I'm running XF86 3.3.6, so one
of you all will have to verify it get's comiled in correctly.

Also Spider, could you mark 2650 duplicate?


# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author: Spider <spider@gentoo.org>
# Maintainer: Spider <spider@gentoo.org>
# /space/gentoo/cvsroot/gentoo-x86/x11-wm/waimea/waimea-0.3.1.ebuild,v 1.1 2002/
05/13 01:13:36 spider Exp
 
S=${WORKDIR}/${P}
DESCRIPTION="Window manager based on BlackBox"
SRC_URI="http://download.sourceforge.net/${PN}/${P}.tar.gz
http://130.239.134.83/waimea/files/unstable/source/${P}.tar.gz"
HOMEPAGE="http://waimea.sf.net"
LICENSE="GPL-2"

DEPEND="virtual/x11 media-libs/imlib2"
        
RDEPEND="${DEPEND}"
PROVIDE="virtual/blackbox"

src_compile() {
        local myconf
        econf || die "configure failure whine whine"
        emake || die
}

src_install () {
        make \
                prefix=${D}/usr \
                sysconfdir=${D}/etc/X11/waimea \
                mandir=${D}/usr/share/man \
                infodir=${D}/usr/share/info \
                datadir=${D}/usr/share \
                install || die
        
        insinto /etc/skel
        newins data/waimearc.example .waimearc
        
        # just for careful
        insinto /usr/share/Waimea/
        doins data/waimearc.example
        

        dodoc ChangeLog AUTHORS COPYING INSTALL README TODO NEWS

        dodir /etc/X11/Sessions
        echo "/usr/bin/waimea" > ${D}/etc/X11/Sessions/waimea
        chmod +x ${D}/etc/X11/Sessions/waimea
}
pkg_postinst () {
        einfo "unfortunately the older version of this package broke the /etc/sk
el/.waimearc and made it a directory, please remove this if you want the package
 to install perfectly"
        einfo "copy /etc/skel/.waimearc to your homedir (cp -a /etc/skel/.waimea
rc $HOME)"
        
}
Comment 6 Chris Johnson 2002-05-13 16:52:30 UTC
See bug #2701 for new ebuild based on this fix labeled waimea-0.3.1-r1.ebuild:
http://bugs.gentoo.org/show_bug.cgi?id=2701
Comment 7 Spider (RETIRED) gentoo-dev 2002-05-13 17:53:19 UTC
*** Bug 2650 has been marked as a duplicate of this bug. ***
Comment 8 Spider (RETIRED) gentoo-dev 2002-05-13 18:11:34 UTC
ok, commiting the new version
Comment 9 Spider (RETIRED) gentoo-dev 2002-05-13 18:13:09 UTC
*** Bug 2701 has been marked as a duplicate of this bug. ***
Comment 10 Spider (RETIRED) gentoo-dev 2002-05-15 15:25:00 UTC
My own version went into portage, but big thanks for the help in catching and
nailing this one