View Full Version : Compiz Extra ebuild
iznogood
November 10th, 2006, 07:18 PM
I use the following ebuild to install mikedee's compiz-extra package
It works fine for me so try it out and tell me how it works for you
I have very little experience with this so any suggestions are more than welcome
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
DESCRIPTION="compiz windowmanager plugins"
HOMEPAGE="http://www.go-compiz.org/"
SRC_URI="http://www.anykeysoftware.co.uk/compiz/plugins/${P}.tar.gz"
LICENSE="X11"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
DEPEND=">=x11-wm/compiz-0.3.2"
src_compile() {
econf || die "econf failed"
emake || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "install failed"
}
mikedee
November 11th, 2006, 08:33 PM
Can you provide a quick howto on where to put this file etc?
I will have a look if I can then but I am not sure where it should go.
iznogood
November 11th, 2006, 08:35 PM
Here is an updated version of my previous post
This is a simple ebuild that works for gandalfn's package
I have no place to host it so i put it here for now
If anyone can put it in his site i could send him a tarball with the manifest files and redirect the link there
I name it compiz-extra-0.3.3-r1.ebuild since r0 is the previous version that worked with mikedee's package
Instructions are simple :
make an overlay somewhere (/usr/local/compiz-overlay), and in it make
a directory x11-plugins/compiz-extra and copy the file there
After that run : ebuild <path-to-overlay>/x11-plugins/compiz-extra/compiz-extra-0.3.3-r1 digest
This will download the code and create all needed files.
In a terminal type :
echo "x11-plugins/compiz-extra 3d animation border bs crashhandler group neg put showdesktop state trailfocus widget" >> /etc/portage/package.use
This will install the plugins listed there. You add or delete plugins by adding or removing them from above
After that emerge as usual
For me in worked ok.
As usual any suggestions are more that welcome
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
DESCRIPTION="compiz windowmanager plugins"
HOMEPAGE="http://www.go-compiz.org/"
SRC_URI="http://gandalfn.club.fr/ubuntu/compiz-extra/${PN}-${PV}.tar.bz2"
LICENSE="X11"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="3d animation border bs crashhandler dock group miniwin neg put showdesktop state trailfocus wallpaper widget"
DEPEND=">=x11-wm/compiz-0.3.2"
src_compile() {
econf \
$(use_enable 3d 3d-plugin) \
$(use_enable animation animation-plugin) \
$(use_enable border border-plugin) \
$(use_enable bs bs-plugin) \
$(use_enable crashhandler crashhandler-plugin) \
$(use_enable group group-plugin) \
$(use_enable neg neg-plugin) \
$(use_enable put put-plugin) \
$(use_enable showdesktop showdesktop-plugin) \
$(use_enable state state-plugin) \
$(use_enable trailfocus trailfocus-plugin) \
$(use_enable widget widget-plugin) \
$(use_enable wallpaper wallpaper-plugin) \
$(use_enable dock dock-plugin) \
$(use_enable miniwin miniwin-plugin) \
|| die "econf failed"
emake || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "install failed"
}
iznogood
November 11th, 2006, 08:41 PM
Can you provide a quick howto on where to put this file etc?
I will have a look if I can then but I am not sure where it should go.
Mikedee first of all...You are the man!!! Keep up the good work!!!
In mu previous post i forgot to mention that you have to put a line in
/etc/make/conf pointing to the ovelay you have created, for example
PORTDIR_OVERLAY="/usr/local/compiz-overlay"
Also i can send you the tarball if you tell me where...
Thanks
mikedee
November 11th, 2006, 08:47 PM
Seems to work ok here. I had a /usr/local/portage directory which must have already been set up.
Maybe you can post on the gentoo forums and see about having it included in the main tree (once everything is finalised and tested with it)
iznogood
November 11th, 2006, 08:57 PM
Seems to work ok here. I had a /usr/local/portage directory which must have already been set up.
Maybe you can post on the gentoo forums and see about having it included in the main tree (once everything is finalised and tested with it)
Will do...
But i will need to add the new packages first (copacity and benchmark)
btw benchmark is gone, i can't download it. What happened???
Also we need to decide on the versioning because if we decide to
have them under a 0.3.2 version then since the ebuild now is under 0.3.3 (as is the package) we will have problems upgrading to newer versions (Users will need to uninstall it first and reinstall the newer version)
mikedee
November 11th, 2006, 09:02 PM
But i will need to add the new packages first (copacity and benchmark) btw benchmark is gone, i can't download it. What happened???
Also we need to decide on the versioning because if we decide to
have them under a 0.3.2 version then since the ebuild now is under 0.3.3 (as is the package) we will have problems upgrading to newer versions (Users will need to uninstall it first and reinstall the newer version)
Yes, I would wait for gandalfin to update the extra tarball (or do it yourself). There are a few plugins which I have fixed since the original release.
I think the 0.3.3 was a mistake originally and we should change it to 0.3.2.<our release number>. We may have multiple releases of the extras package + there will be multiple packages of each release (the r1 for gentoo, gandalfin1 for ubuntu/redhat etc)
iznogood
November 12th, 2006, 02:14 PM
Ok i have a new source tarball which includes copacity and bench and
i have an ebuild for it.
Since its coming from gandalfn's package i can send it to him if he want it
Then i can post the ebuild
Gandalfn (or mikedee) do you want this package or you will compile one yourself ??
iznogood
November 13th, 2006, 12:27 AM
ok this is the updated ebuild for gandalfn's new package
Since versioning has changed you need to uninstall all previous versions of compiz-extra (with emerge -C compiz-extra) and also delete everything from overlay-dir/x11-plugins/compiz-extra because the new version will look older to portage. Hopefully we will never have to do that again....
After doing all that copy the ebuild (version 0.3.3.0 according to gandalfn) and follow the instructions from previous posts.
I will also contact gentoo to see if they are interested in including this to portage or in any overlay
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
DESCRIPTION="compiz windowmanager plugins"
HOMEPAGE="http://www.go-compiz.org/"
SRC_URI="http://gandalfn.club.fr/ubuntu/compiz-extra/${PN}-${PV}.tar.bz2"
LICENSE="X11"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="3d animation bench border bs copacity crashhandler dock group miniwin neg put showdesktop state trailfocus wallpaper widget"
DEPEND=">=x11-wm/compiz-0.3.2"
src_compile() {
econf \
$(use_enable 3d 3d-plugin) \
$(use_enable animation animation-plugin) \
$(use_enable bench bench-plugin) \
$(use_enable border border-plugin) \
$(use_enable bs bs-plugin) \
$(use_enable copacity copacity-plugin) \
$(use_enable crashhandler crashhandler-plugin) \
$(use_enable group group-plugin) \
$(use_enable neg neg-plugin) \
$(use_enable put put-plugin) \
$(use_enable showdesktop showdesktop-plugin) \
$(use_enable state state-plugin) \
$(use_enable trailfocus trailfocus-plugin) \
$(use_enable widget widget-plugin) \
$(use_enable wallpaper wallpaper-plugin) \
$(use_enable dock dock-plugin) \
$(use_enable miniwin miniwin-plugin) \
|| die "econf failed"
emake || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "install failed"
}
fldc
November 13th, 2006, 07:04 AM
You should also add an inherit to gnome2 and at least use
pkg_postinst() {
gconf_install
}
to install and reload gconf schemas properly.
iznogood
November 15th, 2006, 11:43 PM
OK thanks,
Also now i put the updated ebuild in gentoo-xeffects forum
http://forums.gentoo-xeffects.org/viewtopic.php?t=57
Hopefully they will put it in their overlay....
nesl247
November 16th, 2006, 01:10 AM
iznogood, as I stated on our forums, it's now in the overlay.
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.