compiz-9999 isn't going to work no more, they made compiz-0.5.2 so it will work with all the plugins. Read this entire post before you start.
First lets make sure your /etc/portage/package.keywords is setup correctly, it should look like below:
- Code: Select all
x11-plugins/compiz-fusion-plugins-atlantis **
x11-plugins/compiz-users-pafy-screensaver **
x11-plugins/compiz-fusion-plugins-threed **
So lets get going shall we?
First lets get the xeffects overlay
- Code: Select all
layman -a xeffects
than lets remove the sabayon overlay so we make sure we get the latest compiz-fusion
- Code: Select all
layman -d sabayon
than
- Code: Select all
rm -rf /usr/portage/distfiles/git-src/*
If you haven't changed your use flags for x11-libs/libX11 you will need to:
- Code: Select all
echo "x11-libs/libX11 xcb" >> /etc/portage/package.use
than reinstall it
- Code: Select all
emerge x11-libs/libX11
Than We do this:
- Code: Select all
emerge -C x11-libs/bcop x11-apps/ccsm x11-wm/compiz x11-libs/compiz-bcop x11-libs/compizconfig-backend-gconf x11-libs/compizconfig-backend-kconfig dev-python/compizconfig-python x11-wm/compiz-fusion 11-plugins/compiz-fusion-plugins-extra x11-plugins/compiz-fusion-plugins-main x11-plugins/compiz-fusion-plugins-threed x11-plugins/compiz-fusion-plugins-unsupported x11-apps/fusion-icon x11-libs/libcompizconfig x11-plugins/compiz-users-pafy-screensaver x11-plugins/compiz-fusion-plugins-atlantis
Now thanks to our C-F guru trench- in IRC he made a script to make this easier ***New Modified Script*** so you need to replace your old script with the new below:
- Code: Select all
#!/bin/bash
compiz_git_packages="compiz-fusion \
compiz \
libcompizconfig \
compizconfig-python \
compiz-bcop \
compizconfig-backend-kconfig \
compiz-fusion-plugins-main \
compiz-fusion-plugins-extra \
x11-apps/ccsm \
x11-wm/emerald \
x11-themes/emerald-themes
compiz-fusion"
update_overlay() {
layman -s xeffects
}
case "$1" in
"merge")
echo -e "Updating xeffects overlay"
update_overlay
echo -e "Purging packages"
emerge -C ${compiz_git_packages}
echo -e "Emerging packages"
emerge --oneshot --ask --verbose ${compiz_git_packages}
;;
"backup")
echo "Making binary package backups of currently emerged compiz-fusion packages."
quickpkg ${compiz_git_packages}
;;
"revert")
echo "Reverting to the most recent binary backups of the compiz-fusion git packages."
emerge --oneshot --ask --verbose --usepkgonly ${compiz_git_packages}
;;
"purge_git")
echo "Cleaning all files downloaded from git."
rm -rf /usr/portage/distfiles/git-src/*
;;
*)
echo -e "`basename ${0}` usage:\n"
echo -e "`basename ${0}` backup"
echo -e "Make binary packages out of the currently merged compiz-fusion packages.\n"
echo -e "`basename ${0}` merge"
echo -e "Remerge compiz-fusion packages.\n"
echo -e "`basename ${0}` revert"
echo -e "Revert to the most recent binary backups of the compiz-fusion git packages.\n"
echo -e "`basename ${0}` purge_git"
echo -e "Purge all files downloaded from git.\n"
;;
esac
exit 0
So you take the above and place it in a new text file and save it as fusionupdate.sh
Move the fusionupdate.sh to your /usr/bin/ and lets make it so we can run it by doing:
- Code: Select all
chmod +x /usr/bin/fusionupdate.sh
Now there is 3 options you can run with this script. merge, backup, revert
To install all of compiz-fusion as root run
- Code: Select all
fusionupdate.sh merge
and let it do it's thing and it will install Compiz-Fusion, ***but this time the extras are not going to install, you have to manually do the extras yourself, so if you want the atlantis or screensaver you will emerge them individually Before you can do that tho, you will have to edit the /etc/portage/package.keywords and add the line:***
- Code: Select all
x11-libs/compiz-bcop **
than you will want to edit your /etc/portage/package.keywords and add in the line for fusion-icon
- Code: Select all
x11-apps/fusion-icon **
than run:
- Code: Select all
emerge fusion-icon
and repeat other extras
Now when that is done you can make a backup of the files incase of future breakage, but we must do one thing first.
- Code: Select all
mkdir /usr/portage/packages
than do our backup
- Code: Select all
fusionupdate.sh backup
now if you ever need to revert
- Code: Select all
fusionupdate.sh revert
Lets not forget to change our overlays back now
- Code: Select all
layman -d xeffects
- Code: Select all
layman -a sabayon
Now you may have Java problems after doing this so you will want to do:
- Code: Select all
CFLAGS="-DNDEBUG" emerge x11-libs/libxcb
Than Java should play nice again.
Pretty slick huh?

