Compiz 0.9.x Testers Needed!

Announcements about general Compiz development

Compiz 0.9.x Testers Needed!

Postby SmSpillaz » Fri May 07, 2010 6:24 pm

Hi everyone,

So we're really really really close to a release now, and to finish ironing out the last few bugs, I need people to start testing compiz master. So feel free to!

Specifically, what needs testing:
[*] Does everything build / load as expected (Did you have to set any weird paths to make it work etc)
[*] Is it "relatively" stable?
[*] Any regressions (other than non-official plugins and parts of dbus)
[*] Disable the composite and opengl plugins and run kde4-window-decorator and gtk-window-decorator: do they work?

A quick "how to compile" guide (assumes you are compiling into a non-standard prefix such as /opt [Highly recommended if you want to keep your old compiz install])

A quick word if you are installing the two side by side
You no longer need to disable blur

0.8 and 0.9 plugins installed in the same directory don't place nice, so if you have files in ~/.compiz/metadata or ~/.compiz/plugins, remove them

New dependencies:

You will need cmake, cython and libboost-dev. Otherwise dependencies are the same as 0.8

A little bit before compiling
Code: Select all
export PKG_CONFIG_PATH=/opt/compiz/lib/pkgconfig:${PKG_CONFIG_PATH}
export PATH=/opt/compiz/bin:${PATH}
export LD_LIBRARY_PATH=/opt/compiz/lib:${LD_LIBRARY_PATH}
export LD_RUN_PATH=/opt/compiz/lib:${LD_RUN_PATH}


core:
Code: Select all
git clone git://git.compiz.org/compiz/core
cd core
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PATH=/opt/compiz -DCMAKE_INSTALL_PREFIX=/opt/compiz
make
sudo make install
sudo make findcompiz_install


libcompizconfig:
Code: Select all
git clone git://git.compiz.org/compiz/compizconfig/libcompizconfig
cd libcompizconfig
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PATH=/opt/compiz -DCMAKE_INSTALL_PREFIX=/opt/compiz -DCOMPIZ_PLUGIN_INSTALL_TYPE=compiz
make
sudo make install
sudo make findcompizconfig_install


plugins-main, plugins-extra, plugins-unsupported
Code: Select all
git clone git://git.compiz.org/compiz/plugins-(insert pack)
cd core
git submodule-update
git pull origin master
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PATH=/opt/compiz -DCMAKE_INSTALL_PREFIX=/opt/compiz -DCOMPIZ_PLUGIN_INSTALL_TYPE=compiz
make
sudo make install


compizconfig-python
Code: Select all
git clone git://git.compiz.org/compiz/compizconfig/compizconfig-python
cd compizconfig-python
sudo python setup.py install --prefix=/opt/compiz


ccsm
Code: Select all
git clone git://git.compiz.org/compiz/compizconfig/ccsm
cd ccsm
sudo python setup.py install --prefix=/opt/compiz
SmSpillaz
 
Posts: 1608
Joined: Sat Mar 24, 2007 11:30 pm
Location: Australia. AKA, Down Under

Re: Compiz 0.9.x Testers Needed!

Postby some-guy » Fri May 07, 2010 10:09 pm

some-guy
 
Posts: 2736
Joined: Tue Apr 24, 2007 8:31 pm

Re: Compiz 0.9.x Testers Needed!

Postby AndrewHarvey » Sat May 08, 2010 2:49 am

I'm not sure where you want us to report problems to, but when I run those instructions I get an error from the 1st make. The output I get is at http://pastebin.com/raw.php?i=q93wFrNJ It seems like its including 0.8 C sources from /usr/include/compiz/compiz.h, when it shouldn't be... (not sure if this is actually the problem though)
AndrewHarvey
Junior Member
 
Posts: 9
Joined: Tue Dec 23, 2008 11:27 am
Location: Australia

Re: Compiz 0.9.x Testers Needed!

Postby Xinox » Sat May 08, 2010 9:42 am

Code: Select all
marc@marc-desktop:~/compiz9/core/build$ sudo make install
[  1%] Built target decoration
[  2%] Built target gtk-window-decorator
[  4%] Built target gnome-compiz
Generating moc_decorator.cpp
Generating moc_window.cpp
Generating moc_paintredirector.cpp
[  4%] Built target kde4-window-decorator_automoc
Scanning dependencies of target kde4-window-decorator
[  4%] Building CXX object kde/window-decorator-kde4/CMakeFiles/kde4-window-decorator.dir/kde4-window-decorator_automoc.o
Linking CXX executable kde4-window-decorator
[  8%] Built target kde4-window-decorator
[ 29%] Built target nls
[ 30%] Built target core-gconf-schema
[ 31%] Built target core-xml-file
[ 40%] Built target compiz
[ 43%] Built target composite
[ 47%] Built target opengl
[ 49%] Built target scale
[ 51%] Built target water
[ 53%] Built target cube
[ 55%] Built target rotate
[ 56%] Built target copytex
[ 59%] Built target kde
[ 61%] Built target imgsvg
[ 63%] Built target gnomecompat
[ 66%] Built target zoom
[ 68%] Built target commands
[ 70%] Built target clone
[ 72%] Built target annotate
[ 73%] Built target compiztoolbox
[ 76%] Built target screenshot
[ 79%] Built target place
[ 82%] Built target obs
[ 84%] Built target move
[ 85%] Built target ini
[ 87%] Built target fade
[ 89%] Built target wobbly
[ 91%] Built target resize
[ 93%] Built target decor
[ 94%] Built target regex
[ 95%] Built target inotify
[ 97%] Built target switcher
[ 98%] Built target dbus
[ 99%] Built target imgpng
[100%] Built target glib
Install the project...
-- Install configuration: "Release"
-- Installing: /opt/compiz/include/compiz/compiz-common.h
-- Installing: /opt/compiz/lib/pkgconfig/compiz.pc
-- Installing: /opt/compiz/share/compiz/cmake/CompizCommon.cmake
-- Installing: /opt/compiz/share/compiz/cmake/CompizPlugin.cmake
-- Installing: /opt/compiz/share/compiz/cmake/CompizPackage.cmake
-- Installing: /opt/compiz/share/compiz/cmake/CompizBcop.cmake
-- Installing: /opt/compiz/share/compiz/cmake/CompizDefaults.cmake
-- Installing: /opt/compiz/share/compiz/cmake/CompizGconf.cmake
-- Installing: /opt/compiz/include/compiz/compiz.h
-- Installing: /opt/compiz/include/compiz/decoration.h
-- Installing: /opt/compiz/include/compiz/core/action.h
-- Installing: /opt/compiz/include/compiz/core/atoms.h
-- Installing: /opt/compiz/include/compiz/core/core.h
-- Installing: /opt/compiz/include/compiz/core/countedlist.h
-- Installing: /opt/compiz/include/compiz/core/icon.h
-- Installing: /opt/compiz/include/compiz/core/match.h
-- Installing: /opt/compiz/include/compiz/core/modifierhandler.h
-- Installing: /opt/compiz/include/compiz/core/option.h
-- Installing: /opt/compiz/include/compiz/core/output.h
-- Installing: /opt/compiz/include/compiz/core/plugin.h
-- Installing: /opt/compiz/include/compiz/core/point.h
-- Installing: /opt/compiz/include/compiz/core/pluginclasshandler.h
-- Installing: /opt/compiz/include/compiz/core/pluginclasses.h
-- Installing: /opt/compiz/include/compiz/core/rect.h
-- Installing: /opt/compiz/include/compiz/core/region.h
-- Installing: /opt/compiz/include/compiz/core/screen.h
-- Installing: /opt/compiz/include/compiz/core/session.h
-- Installing: /opt/compiz/include/compiz/core/size.h
-- Installing: /opt/compiz/include/compiz/core/timer.h
-- Installing: /opt/compiz/include/compiz/core/window.h
-- Installing: /opt/compiz/include/compiz/core/wrapsystem.h
-- Installing: /opt/compiz/share/compiz/images/icon.png
-- Installing: /opt/compiz/share/compiz/images/freedesktop.png
-- Installing: /opt/compiz/lib/libdecoration.so
-- Installing: /opt/compiz/lib/pkgconfig/libdecoration.pc
running /usr/bin/gconftool-2 --makefile-install-rule /home/marc/compiz9/core/build/gtk/window-decorator/gwd.schemas > /dev/null  2>&1
-- Installing: /opt/compiz/share/gconf/schemas/gwd.schemas
-- Installing: /opt/compiz/bin/gtk-window-decorator
-- Set runtime path of "/opt/compiz/bin/gtk-window-decorator" to "/opt/compiz/lib"
-- Installing: /opt/compiz/share/applications/compiz.desktop
-- Installing: /usr/share/gnome/wm-properties/compiz-wm.desktop
-- Installing: /usr/share/gnome-control-center/keybindings/50-compiz-desktop-key.xml
-- Installing: /usr/share/gnome-control-center/keybindings/50-compiz-key.xml
CMake Error at gtk/gnome/cmake_install.cmake:98 (FILE):
  file INSTALL cannot find
  "/home/marc/compiz9/core/build/gtk/gnome/libcompiz.so".
Call Stack (most recent call first):
  gtk/cmake_install.cmake:38 (INCLUDE)
  cmake_install.cmake:49 (INCLUDE)


make: *** [install] Erreur 1


I have this error :)

I'm under ubuntu lucid, i have all dependencies and blur is disable.
Xinox
Junior Member
 
Posts: 1
Joined: Sat May 08, 2010 9:40 am

Re: Compiz 0.9.x Testers Needed!

Postby pigusek » Sat May 08, 2010 9:59 am

Hi!
Everything seems to be fine [compiz && gtk-window-decorator] but when I try to run ccsm i got:

Code: Select all
pigi@pigi-laptop:~$ /opt/compiz/bin/ccsm
Traceback (most recent call last):
  File "/opt/compiz/bin/ccsm", line 125, in <module>
    context = compizconfig.Context(ccm.getDefaultScreen())
AttributeError: 'module' object has no attribute 'getDefaultScreen'


----- edit

No, compiz won't work. There's any error, only windows without border on the top [no gtk-window-decorator]. I though this is because of an old compiz config in ~/ but when I rename it, then i couldn't run ccsm to get new. Any ideas? Maybe I tried to run it with wrong way?

Greet, Pigi
Greet from Poland!

Ubuntu 10.04
Gateway P-7805fx
pigusek
Junior Member
 
Posts: 4
Joined: Sat May 08, 2010 9:01 am

Re: Compiz 0.9.x Testers Needed!

Postby some-guy » Sat May 08, 2010 7:40 pm

Run ccsm using
Code: Select all
LD_LIBRARY_PATH=/opt/compiz++/lib/ PYTHONPATH=/opt/compiz++/lib/python2.6/site-packages /opt/compiz++/bin/ccsm

If you are using a different python version and/or libdir, adjust the PYTHONPATH and the lib folder
some-guy
 
Posts: 2736
Joined: Tue Apr 24, 2007 8:31 pm

Re: Compiz 0.9.x Testers Needed!

Postby pigusek » Sat May 08, 2010 8:04 pm

I'm using 2.6 version of python [nothing special] and:

Code: Select all
pigi@pigi-laptop:~$ LD_LIBRARY_PATH=/opt/compiz/lib PYTHONPATH=/usr/lib/python2.6 /opt/compiz/bin/ccsm
Traceback (most recent call last):
  File "/opt/compiz/bin/ccsm", line 125, in <module>
    context = compizconfig.Context(ccm.getDefaultScreen())
AttributeError: 'module' object has no attribute 'getDefaultScreen'


Code: Select all
pigi@pigi-laptop:~$ LD_LIBRARY_PATH=/opt/compiz/lib PYTHONPATH=/opt/compiz/lib/python2.6/site-packages/ /opt/compiz/bin/ccsm
Traceback (most recent call last):
  File "/opt/compiz/bin/ccsm", line 125, in <module>
    context = compizconfig.Context(ccm.getDefaultScreen())
  File "compizconfig.pyx", line 1130, in compizconfig.Context.__cinit__
TypeError: object of type 'int' has no len()
Greet from Poland!

Ubuntu 10.04
Gateway P-7805fx
pigusek
Junior Member
 
Posts: 4
Joined: Sat May 08, 2010 9:01 am

Re: Compiz 0.9.x Testers Needed!

Postby soreau » Sat May 08, 2010 10:06 pm

AndrewHarvey wrote:I'm not sure where you want us to report problems to, but when I run those instructions I get an error from the 1st make. The output I get is at http://pastebin.com/raw.php?i=q93wFrNJ It seems like its including 0.8 C sources from /usr/include/compiz/compiz.h, when it shouldn't be... (not sure if this is actually the problem though)


It is, this should be fixed now.
soreau
Member
 
Posts: 145
Joined: Sat Aug 04, 2007 12:50 am
Location: US

Re: Compiz 0.9.x Testers Needed!

Postby soreau » Sat May 08, 2010 10:11 pm

Xinox wrote:
Code: Select all
marc@marc-desktop:~/compiz9/core/build$ sudo make install
[  1%] Built target decoration
[  2%] Built target gtk-window-decorator
[  4%] Built target gnome-compiz
Generating moc_decorator.cpp
Generating moc_window.cpp
Generating moc_paintredirector.cpp
[  4%] Built target kde4-window-decorator_automoc
Scanning dependencies of target kde4-window-decorator
[  4%] Building CXX object kde/window-decorator-kde4/CMakeFiles/kde4-window-decorator.dir/kde4-window-decorator_automoc.o
Linking CXX executable kde4-window-decorator
[  8%] Built target kde4-window-decorator
[ 29%] Built target nls
[ 30%] Built target core-gconf-schema
[ 31%] Built target core-xml-file
[ 40%] Built target compiz
[ 43%] Built target composite
[ 47%] Built target opengl
[ 49%] Built target scale
[ 51%] Built target water
[ 53%] Built target cube
[ 55%] Built target rotate
[ 56%] Built target copytex
[ 59%] Built target kde
[ 61%] Built target imgsvg
[ 63%] Built target gnomecompat
[ 66%] Built target zoom
[ 68%] Built target commands
[ 70%] Built target clone
[ 72%] Built target annotate
[ 73%] Built target compiztoolbox
[ 76%] Built target screenshot
[ 79%] Built target place
[ 82%] Built target obs
[ 84%] Built target move
[ 85%] Built target ini
[ 87%] Built target fade
[ 89%] Built target wobbly
[ 91%] Built target resize
[ 93%] Built target decor
[ 94%] Built target regex
[ 95%] Built target inotify
[ 97%] Built target switcher
[ 98%] Built target dbus
[ 99%] Built target imgpng
[100%] Built target glib
Install the project...
-- Install configuration: "Release"
-- Installing: /opt/compiz/include/compiz/compiz-common.h
-- Installing: /opt/compiz/lib/pkgconfig/compiz.pc
-- Installing: /opt/compiz/share/compiz/cmake/CompizCommon.cmake
-- Installing: /opt/compiz/share/compiz/cmake/CompizPlugin.cmake
-- Installing: /opt/compiz/share/compiz/cmake/CompizPackage.cmake
-- Installing: /opt/compiz/share/compiz/cmake/CompizBcop.cmake
-- Installing: /opt/compiz/share/compiz/cmake/CompizDefaults.cmake
-- Installing: /opt/compiz/share/compiz/cmake/CompizGconf.cmake
-- Installing: /opt/compiz/include/compiz/compiz.h
-- Installing: /opt/compiz/include/compiz/decoration.h
-- Installing: /opt/compiz/include/compiz/core/action.h
-- Installing: /opt/compiz/include/compiz/core/atoms.h
-- Installing: /opt/compiz/include/compiz/core/core.h
-- Installing: /opt/compiz/include/compiz/core/countedlist.h
-- Installing: /opt/compiz/include/compiz/core/icon.h
-- Installing: /opt/compiz/include/compiz/core/match.h
-- Installing: /opt/compiz/include/compiz/core/modifierhandler.h
-- Installing: /opt/compiz/include/compiz/core/option.h
-- Installing: /opt/compiz/include/compiz/core/output.h
-- Installing: /opt/compiz/include/compiz/core/plugin.h
-- Installing: /opt/compiz/include/compiz/core/point.h
-- Installing: /opt/compiz/include/compiz/core/pluginclasshandler.h
-- Installing: /opt/compiz/include/compiz/core/pluginclasses.h
-- Installing: /opt/compiz/include/compiz/core/rect.h
-- Installing: /opt/compiz/include/compiz/core/region.h
-- Installing: /opt/compiz/include/compiz/core/screen.h
-- Installing: /opt/compiz/include/compiz/core/session.h
-- Installing: /opt/compiz/include/compiz/core/size.h
-- Installing: /opt/compiz/include/compiz/core/timer.h
-- Installing: /opt/compiz/include/compiz/core/window.h
-- Installing: /opt/compiz/include/compiz/core/wrapsystem.h
-- Installing: /opt/compiz/share/compiz/images/icon.png
-- Installing: /opt/compiz/share/compiz/images/freedesktop.png
-- Installing: /opt/compiz/lib/libdecoration.so
-- Installing: /opt/compiz/lib/pkgconfig/libdecoration.pc
running /usr/bin/gconftool-2 --makefile-install-rule /home/marc/compiz9/core/build/gtk/window-decorator/gwd.schemas > /dev/null  2>&1
-- Installing: /opt/compiz/share/gconf/schemas/gwd.schemas
-- Installing: /opt/compiz/bin/gtk-window-decorator
-- Set runtime path of "/opt/compiz/bin/gtk-window-decorator" to "/opt/compiz/lib"
-- Installing: /opt/compiz/share/applications/compiz.desktop
-- Installing: /usr/share/gnome/wm-properties/compiz-wm.desktop
-- Installing: /usr/share/gnome-control-center/keybindings/50-compiz-desktop-key.xml
-- Installing: /usr/share/gnome-control-center/keybindings/50-compiz-key.xml
CMake Error at gtk/gnome/cmake_install.cmake:98 (FILE):
  file INSTALL cannot find
  "/home/marc/compiz9/core/build/gtk/gnome/libcompiz.so".
Call Stack (most recent call first):
  gtk/cmake_install.cmake:38 (INCLUDE)
  cmake_install.cmake:49 (INCLUDE)


make: *** [install] Erreur 1


I have this error :)

I'm under ubuntu lucid, i have all dependencies and blur is disable.


I don't know what is going wrong exactly here but I suspect some variable isn't being set correctly. Try this build script which should work on karmic and lucid. By default it clones the code in ~/src/compiz/compiz++ and installs to /opt/compiz++. It also installs starter scripts for compiz and ccsm.
Code: Select all
git clone git://anongit.compiz.org/users/soreau/scripts
./scripts/build_compiz++


Don't forget to rm ~/.compiz directory if it exists.
Last edited by soreau on Thu Jul 29, 2010 8:17 am, edited 12 times in total.
Reason: This script has been updated 5/9/10 to ensure latest plugin code
soreau
Member
 
Posts: 145
Joined: Sat Aug 04, 2007 12:50 am
Location: US

Re: Compiz 0.9.x Testers Needed!

Postby soreau » Sat May 08, 2010 10:15 pm

pigusek wrote:Hi!
Everything seems to be fine [compiz && gtk-window-decorator] but when I try to run ccsm i got:

Code: Select all
pigi@pigi-laptop:~$ /opt/compiz/bin/ccsm
Traceback (most recent call last):
  File "/opt/compiz/bin/ccsm", line 125, in <module>
    context = compizconfig.Context(ccm.getDefaultScreen())
AttributeError: 'module' object has no attribute 'getDefaultScreen'


Try starting ccsm with:
Code: Select all
PREFIX=/opt/compiz; LD_LIBRARY_PATH=$PREFIX/lib/ PYTHONPATH=$PREFIX/lib/python2.6/site-packages $PREFIX/bin/ccsm



pigusek wrote:
----- edit

No, compiz won't work. There's any error, only windows without border on the top [no gtk-window-decorator]. I though this is because of an old compiz config in ~/ but when I rename it, then i couldn't run ccsm to get new. Any ideas? Maybe I tried to run it with wrong way?

Greet, Pigi

You shouldn't have to rename anything. Make sure Window Decoration and Move Window are enabled in ccsm and that you're actually running the version of compiz you have installed. For example, try something like this to start compiz:
Code: Select all
PREFIX=/opt/compiz; killall gtk-window-decorator; killall kde4-window-decorator; killall emerald; $PREFIX/bin/gtk-window-decorator & LD_LIBRARY_PATH=$PREFIX/lib/ $PREFIX/bin/compiz --replace ccp & disown
soreau
Member
 
Posts: 145
Joined: Sat Aug 04, 2007 12:50 am
Location: US

Next

Return to Development

Who is online

Users browsing this forum: No registered users and 1 guest