
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.sabayonlinux.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.sabayonlinux.org/index.php?title=HOWTO:_Latest_Compiz-Fusion&amp;feed=atom&amp;action=history</id>
		<title>HOWTO: Latest Compiz-Fusion - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.sabayonlinux.org/index.php?title=HOWTO:_Latest_Compiz-Fusion&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://wiki.sabayonlinux.org/index.php?title=HOWTO:_Latest_Compiz-Fusion&amp;action=history"/>
		<updated>2013-05-23T11:07:47Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.4</generator>

	<entry>
		<id>http://wiki.sabayonlinux.org/index.php?title=HOWTO:_Latest_Compiz-Fusion&amp;diff=8501&amp;oldid=prev</id>
		<title>Joost at 05:38, 7 June 2010</title>
		<link rel="alternate" type="text/html" href="http://wiki.sabayonlinux.org/index.php?title=HOWTO:_Latest_Compiz-Fusion&amp;diff=8501&amp;oldid=prev"/>
				<updated>2010-06-07T05:38:52Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Warning| '''This article uses Portage. Do not proceed if you have no idea what Portage is.'''}}&lt;br /&gt;
'''Updated 1/28/08'''&lt;br /&gt;
== Editing /etc/portage/package.keywords ==&lt;br /&gt;
&lt;br /&gt;
Basically make sure that the file ''/etc/portage/package.keywords'' looks like this:&lt;br /&gt;
{{File|/etc/portage/package.keywords|&lt;br /&gt;
&amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt;&lt;br /&gt;
x11-plugins/compiz-fusion-plugins-atlantis **&lt;br /&gt;
x11-plugins/compiz-fusion-plugins-threed **&lt;br /&gt;
x11-libs/compiz-bcop **&lt;br /&gt;
x11-apps/fusion-icon **&lt;br /&gt;
x11-libs/bcop **&lt;br /&gt;
dev-python/compizconfig-python **&lt;br /&gt;
x11-wm/compiz-fusion **&lt;br /&gt;
x11-wm/compiz **&lt;br /&gt;
x11-plugins/compiz-plugins-screensaver **&lt;br /&gt;
x11-plugins/compiz-fusion-plugins-wallpaper **&lt;br /&gt;
x11-plugins/compiz-fusion-plugins-main **&lt;br /&gt;
x11-plugins/compiz-fusion-plugins-extra **&lt;br /&gt;
x11-plugins/compiz-fusion-plugins-unsupported **&lt;br /&gt;
x11-plugins/compiz-fusion-plugins-threed **&lt;br /&gt;
x11-wm/emerald **&lt;br /&gt;
x11-themes/emerald-themes **&lt;br /&gt;
x11-apps/ccsm **&lt;br /&gt;
x11-libs/libcompizconfig **&lt;br /&gt;
x11-libs/compizconfig-backend-gconf **&lt;br /&gt;
x11-libs/compizconfig-backend-kconfig **&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
== Preparing the Overlays==&lt;br /&gt;
First off we add the xeffects layman:&lt;br /&gt;
&amp;lt;pre&amp;gt;# layman -Lka desktop-effects&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then delete our overlay, the sabayon one:&lt;br /&gt;
&amp;lt;pre&amp;gt;#layman -d sabayon&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next clear out the distfiles in portage&lt;br /&gt;
&amp;lt;pre&amp;gt;# rm -rf /usr/portage/distfiles/git-src/*&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you haven't already, add the use flags required for x11-libs/libX11&lt;br /&gt;
&amp;lt;pre&amp;gt;# echo &amp;quot;x11-libs/libX11 xcb&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.use&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then rebuild it:&lt;br /&gt;
&amp;lt;pre&amp;gt;# emerge -C x11-libs/libX11 &amp;amp;&amp;amp; emerge -va x11-libs/libX11&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Out with the old, in with the new. ==&lt;br /&gt;
Clear out Compiz Fusion's old packages by doing this&lt;br /&gt;
&amp;lt;pre&amp;gt;# 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&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now pay thanks to Mr. Trench. He likes to idle in the IRC channel and keep up with Compiz Fusion development. So he was kind enough to make us a script.&lt;br /&gt;
&lt;br /&gt;
{{File|/usr/bin/fusionupdate.sh|&amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt;&lt;br /&gt;
    #!/bin/bash&lt;br /&gt;
&lt;br /&gt;
    compiz_git_packages=&amp;quot;compiz-fusion \&lt;br /&gt;
    compiz \&lt;br /&gt;
    libcompizconfig \&lt;br /&gt;
    compizconfig-python \&lt;br /&gt;
    compiz-bcop \&lt;br /&gt;
    compizconfig-backend-kconfig \&lt;br /&gt;
    compiz-fusion-plugins-main \&lt;br /&gt;
    compiz-fusion-plugins-extra \&lt;br /&gt;
    compiz-fusion-plugins-unsupported \&lt;br /&gt;
    x11-apps/fusion-icon \&lt;br /&gt;
    x11-apps/ccsm \&lt;br /&gt;
    x11-wm/emerald \&lt;br /&gt;
    x11-themes/emerald-themes   &lt;br /&gt;
    compiz-fusion&amp;quot;&lt;br /&gt;
&lt;br /&gt;
    update_overlay() {&lt;br /&gt;
       layman -s desktop-effects&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    case &amp;quot;$1&amp;quot; in&lt;br /&gt;
            &amp;quot;merge&amp;quot;)&lt;br /&gt;
                    echo -e &amp;quot;Updating desktop-effects overlay&amp;quot;&lt;br /&gt;
          update_overlay&lt;br /&gt;
                    echo -e &amp;quot;Purging packages&amp;quot;&lt;br /&gt;
                    emerge -C ${compiz_git_packages}&lt;br /&gt;
                    echo -e &amp;quot;Emerging packages&amp;quot;&lt;br /&gt;
                    emerge --oneshot --ask --verbose ${compiz_git_packages}&lt;br /&gt;
                    ;;&lt;br /&gt;
&lt;br /&gt;
            &amp;quot;backup&amp;quot;)&lt;br /&gt;
                    echo &amp;quot;Making binary package backups of currently emerged compiz-fusion packages.&amp;quot;&lt;br /&gt;
                    quickpkg ${compiz_git_packages}&lt;br /&gt;
                    ;;&lt;br /&gt;
&lt;br /&gt;
            &amp;quot;revert&amp;quot;)&lt;br /&gt;
                    echo &amp;quot;Reverting to the most recent binary backups of the compiz-fusion git packages.&amp;quot;&lt;br /&gt;
                    emerge --oneshot --ask --verbose --usepkgonly  ${compiz_git_packages}&lt;br /&gt;
                    ;;&lt;br /&gt;
&lt;br /&gt;
       &amp;quot;purge_git&amp;quot;)&lt;br /&gt;
                    echo &amp;quot;Cleaning all files downloaded from git.&amp;quot;&lt;br /&gt;
          rm -rf /usr/portage/distfiles/git-src/*&lt;br /&gt;
          ;;&lt;br /&gt;
&lt;br /&gt;
            *)&lt;br /&gt;
                    echo -e &amp;quot;`basename ${0}` usage:\n&amp;quot;&lt;br /&gt;
                    echo -e &amp;quot;`basename ${0}` backup&amp;quot;&lt;br /&gt;
                    echo -e &amp;quot;Make binary packages out of the currently merged compiz-fusion packages.\n&amp;quot;&lt;br /&gt;
                    echo -e &amp;quot;`basename ${0}` merge&amp;quot;&lt;br /&gt;
                    echo -e &amp;quot;Remerge compiz-fusion packages.\n&amp;quot;&lt;br /&gt;
                    echo -e &amp;quot;`basename ${0}` revert&amp;quot;&lt;br /&gt;
                    echo -e &amp;quot;Revert to the most recent binary backups of the compiz-fusion git packages.\n&amp;quot;&lt;br /&gt;
                    echo -e &amp;quot;`basename ${0}` purge_git&amp;quot;&lt;br /&gt;
                    echo -e &amp;quot;Purge all files downloaded from git.\n&amp;quot;&lt;br /&gt;
                    ;;&lt;br /&gt;
    esac&lt;br /&gt;
&lt;br /&gt;
    exit 0&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
Next you have to make it executable:&lt;br /&gt;
&amp;lt;pre&amp;gt; # chmod +x /usr/bin/fusionupdate.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now there are three options to this script; merge, backup, and revert. The former will allow us to emerge the latest fusion. The second to latter will allows us to backup fusion. And the latter will allow us to revert to a backup of Fusion should we ever need to. To install all of Compiz Fusion do this&lt;br /&gt;
&amp;lt;pre&amp;gt;# fusionupdate.sh merge&amp;lt;/pre&amp;gt;&lt;br /&gt;
And sit back, grab a cup of coffee and some cookies or something and let it work.&lt;br /&gt;
&lt;br /&gt;
== Backing up Fusion ==&lt;br /&gt;
Next we will want to backup the Fusion we just emerged so do these commands in succession.&lt;br /&gt;
&amp;lt;pre&amp;gt;# mkdir /usr/portage/packages&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;# fusionupdate.sh backup&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;# ls /usr/portage/packages&amp;lt;/pre&amp;gt;&lt;br /&gt;
And if you ever have to revert just do:&lt;br /&gt;
&amp;lt;pre&amp;gt;# fusionupdate.sh revert&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
Change the overlays back by doing these commands&lt;br /&gt;
&amp;lt;pre&amp;gt; layman -d desktop-effects&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;layman -a sabayon&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{Note| That former command is optional, you can keep the desktop-effects and the sabayon overlays on the same machine}}&lt;br /&gt;
&lt;br /&gt;
There you go. You have the latest Fusion with all the goodies. Enjoy!&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
[http://www.sabayonlinux.org/forum/viewtopic.php?f=53&amp;amp;t=9882 Wolfdens Guide to the latest Fusion] &amp;lt;&amp;lt; will always have the latest information first&lt;br /&gt;
&lt;br /&gt;
--[[User:Element|Element]] 01:32, 28 September 2007 (UTC)&lt;br /&gt;
&lt;br /&gt;
[[Category:Compiz-Fusion|Latest Compiz-Fusion]]&lt;/div&gt;</summary>
		<author><name>Joost</name></author>	</entry>

	</feed>