How to Update Compiz Fusion **8/22/07**

Compiz, KDE, Gnome, Fluxbox, etc...

Moderator: Moderators

How to Update Compiz Fusion **8/22/07**

Postby wolfden » Mon Aug 20, 2007 4:37

EDIT: Compiz-Fusion is moving everything to 0.5.2 so we have to change our /etc/portage/package.keywords See the new Changes below

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?
wolfden
Sharecropper
 
Posts: 9051
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: How to Update Compiz Fusion **New Changes**

Postby dunsurfin » Mon Aug 20, 2007 16:48

I got as far as "fusionupdate merge" and then got this:

Calculating dependencies \
!!! All ebuilds that could satisfy "~x11-libs/compiz-bcop-9999" have been masked.
!!! One of the following masked packages is required to complete your request:
- x11-libs/compiz-bcop-9999 (masked by: missing keyword)

For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.
(dependency required by "x11-plugins/compiz-fusion-plugins-main-9999" [ebuild])

Can anyone enlighten me - I thought that 9999 had gone?
Self-righteousness is a loud din raised to drown the voice of guilt within us - Eric Hoffer

Don't believe what it says on the right - I am anything but sagely; More oniony!
dunsurfin
Sagely Hen
 
Posts: 1333
Joined: Sun Jan 07, 2007 21:38
Location: Newcastle upon Tyne UK

Re: How to Update Compiz Fusion **New Changes**

Postby dunsurfin » Mon Aug 20, 2007 17:31

Found a stray line in my package.keywords - mea culpa!
Self-righteousness is a loud din raised to drown the voice of guilt within us - Eric Hoffer

Don't believe what it says on the right - I am anything but sagely; More oniony!
dunsurfin
Sagely Hen
 
Posts: 1333
Joined: Sun Jan 07, 2007 21:38
Location: Newcastle upon Tyne UK

Re: How to Update Compiz Fusion **New Changes**

Postby dunsurfin » Mon Aug 20, 2007 18:25

Another problem. The failure is with compizconfig-backend-kconfig.
This is what I get:
* Messages for package x11-libs/compizconfig-backend-kconfig-9999:

*
* ERROR: x11-libs/compizconfig-backend-kconfig-9999 failed.
* Call stack:
* ebuild.sh, line 1654: Called dyn_compile
* ebuild.sh, line 990: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* ebuild.sh, line 1334: Called kde_src_compile
* kde.eclass, line 170: Called kde_src_compile 'all'
* kde.eclass, line 340: Called kde_src_compile 'myconf' 'configure' 'make'
* kde.eclass, line 322: Called econf '--with-x' '--enable-mitshm' '--with-xinerama' '--with-qt-dir=/usr/qt/3' '--enable-mt' '--with-qt-libraries=/usr/qt/3/lib64' '--disable-dependency-tracking' '--disable-debug' '--without-debug' '--with-arts' '--enable-libsuffix=64' '--with-extra-includes=/include' '--with-extra-libs=/lib64'
* ebuild.sh, line 591: Called die
*
* econf failed

Apparently I have the wrong kdelibs installed and the correct one is blocked.

Compiz will start if I type compiz-start but then it closes if I close my terminal window.

Any ideas?
Self-righteousness is a loud din raised to drown the voice of guilt within us - Eric Hoffer

Don't believe what it says on the right - I am anything but sagely; More oniony!
dunsurfin
Sagely Hen
 
Posts: 1333
Joined: Sun Jan 07, 2007 21:38
Location: Newcastle upon Tyne UK

Re: How to Update Compiz Fusion **New Changes**

Postby aleroot » Mon Aug 20, 2007 20:00

error :
ccp.c: In function 'ccpInitScreen':
ccp.c:886: warning: assignment from incompatible pointer type
ccp.c:887: warning: assignment from incompatible pointer type
make[2]: *** [ccp.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
*
* ERROR: x11-libs/libcompizconfig-9999 failed.
* Call stack:
* ebuild.sh, line 1654: Called dyn_compile
* ebuild.sh, line 990: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* libcompizconfig-9999.ebuild, line 31: Called die
*
* make failed
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/x11-libs/libcompizconfig-9999/temp/build.log'.
*

* Messages for package x11-libs/compiz-bcop-9999:

* DO NOT report bugs to Gentoo's bugzilla

* Messages for package x11-libs/libcompizconfig-9999:

*
* ERROR: x11-libs/libcompizconfig-9999 failed.
* Call stack:
* ebuild.sh, line 1654: Called dyn_compile
* ebuild.sh, line 990: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* libcompizconfig-9999.ebuild, line 31: Called die
*
* make failed
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/x11-libs/libcompizconfig-9999/temp/build.log'.
*
* GNU info directory index is up-to-date.
aleroot
Young Hen
 
Posts: 32
Joined: Thu Feb 08, 2007 21:02

Re: How to Update Compiz Fusion **New Changes**

Postby wolfden » Wed Aug 22, 2007 3:57

Well it appears libcompizconfig is still broke - will post a solution when I get one. :?
wolfden
Sharecropper
 
Posts: 9051
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: How to Update Compiz Fusion **New Changes**

Postby velk » Wed Aug 22, 2007 7:07

i have problems will compiz 9999

how do i fall back to 0.5.2 ?

i m not a gentoo experienced user...

access-dev1 nico # emerge --search compiz
Searching...
[ Results for search key : compiz ]
[ Applications found : 14 ]

* dev-python/compizconfig-python
Latest version available: 9999
Latest version installed: [ Not Installed ]
Size of files: 0 kB
Homepage: http://opencompositing.org
Description: Compizconfig Python Bindings (git)
License: GPL-2

* x11-apps/compiz-settings
Latest version available: 0.07
Latest version installed: [ Not Installed ]
Size of files: 1,124 kB
Homepage: http://forum.go-compiz.org/viewtopic.php?t=153
Description: Configuration tool for compiz window manager
License: GPL-2

* x11-libs/compiz-bcop
Latest version available: 9999
Latest version installed: [ Not Installed ]
Size of files: 0 kB
Homepage: http://opencompositing.org
Description: Compiz Option code Generator (git)
License: GPL-2

* x11-libs/compizconfig-backend-gconf
Latest version available: 9999
Latest version installed: [ Not Installed ]
Size of files: 0 kB
Homepage: http://opencompositing.org
Description: Compizconfig Gconf Backend (git)
License: GPL-2

* x11-libs/compizconfig-backend-kconfig
Latest version available: 9999
Latest version installed: [ Not Installed ]
Size of files: 0 kB
Homepage: http://opencompositing.org
Description: Compizconfig Kconfig Backend (git)
License: GPL-2

* x11-libs/libcompizconfig
Latest version available: 9999
Latest version installed: [ Not Installed ]
Size of files: 0 kB
Homepage: http://opencompositing.org
Description: Compiz Configuration System (git)
License: GPL-2

* x11-plugins/compiz-extra
Latest version available: 0.5.2_pre20070509-r1
Latest version installed: [ Not Installed ]
Size of files: 649 kB
Homepage: http://www.go-compiz.org/index.php?title=Download
Description: Compiz extra third party plugins
License: GPL-2

* x11-plugins/compiz-fusion-plugins-extra
Latest version available: 9999
Latest version installed: [ Not Installed ]
Size of files: 0 kB
Homepage: http://opencompositing.org
Description: Compiz Fusion Window Decorator Extra Plugins (git)
License: GPL-2

* x11-plugins/compiz-fusion-plugins-gears [ Masked ]
Latest version available: 9999
Latest version installed: [ Not Installed ]
Size of files: 0 kB
Homepage: http://opencompositing.org
Description: Compiz Fusion Window Decorator Gears Plugin (git)
License: GPL-2

* x11-plugins/compiz-fusion-plugins-main
Latest version available: 9999
Latest version installed: [ Not Installed ]
Size of files: 0 kB
Homepage: http://opencompositing.org
Description: Compiz Fusion Window Decorator Plugins (git)
License: GPL-2

* x11-plugins/compiz-fusion-plugins-threed
Latest version available: 9999
Latest version installed: [ Not Installed ]
Size of files: 0 kB
Homepage: http://opencompositing.org
Description: Compiz Fusion Window Decorator 3D Plugin (git)
License: GPL-2

* x11-plugins/compiz-fusion-plugins-unsupported
Latest version available: 9999
Latest version installed: [ Not Installed ]
Size of files: 0 kB
Homepage: http://opencompositing.org
Description: Compiz Fusion Window Decorator Unsupported Plugins (git)
License: GPL-2

* x11-wm/compiz
Latest version available: 9999
Latest version installed: [ Not Installed ]
Size of files: 0 kB
Homepage: http://www.compiz.org/
Description: 3D composite- and windowmanager
License: GPL-2 LGPL-2.1 MIT

* x11-wm/compiz-fusion
Latest version available: 9999
Latest version installed: [ Not Installed ]
Size of files: 0 kB
Homepage: http://opencompositing.org
Description: Compiz Fusion (meta)
License: GPL-2
velk
Simple Hen
 
Posts: 73
Joined: Mon Jul 30, 2007 21:28
Location: montpellier - france

Re: How to Update Compiz Fusion **New Changes**

Postby wolfden » Wed Aug 22, 2007 7:19

you can always tell emerge to install a version

emerge =x11-wm/compiz-0.5.2

I need to find out what is going on over there with C-F -- things change so fast over there. One day things are working and the next day nothing
wolfden
Sharecropper
 
Posts: 9051
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: How to Update Compiz Fusion **New Changes**

Postby velk » Wed Aug 22, 2007 10:11

wolfden wrote:you can always tell emerge to install a version

emerge =x11-wm/compiz-0.5.2

I need to find out what is going on over there with C-F -- things change so fast over there. One day things are working and the next day nothing


ok thanks i ve now compiz-fusion 0.5.2 working, but how to know the other package version number that are supposed to work with 0.5.2

all the versions i get from emerge --search compiz are version 9999 ;(

and i need to install emerald, plugin and fusion icon
velk
Simple Hen
 
Posts: 73
Joined: Mon Jul 30, 2007 21:28
Location: montpellier - france

Re: How to Update Compiz Fusion **8/22/07**

Postby wolfden » Wed Aug 22, 2007 11:14

Please see the First post for the new changes. I have updated the first post to properly install compiz-fusion.

Lots of changes so start at the top and work thru the entire post again as the script is different and emerging is different. Read it very carefully.
wolfden
Sharecropper
 
Posts: 9051
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Next

Return to 3D Desktops and Window Managers

Who is online

Users browsing this forum: No registered users and 2 guests

cron