View Full Version : repository for Mandriva 2007.1: exist?
aleroot
June 25th, 2007, 11:53 AM
I have Mandriva 2007.1 x86_64, i can install Compiz-Fusion?
exist a repository for my distribution?
volapyk
June 27th, 2007, 01:22 AM
I'd like to know this to. I use Mandriva 2007.1 Spring 32 bit. :D
csgib
June 27th, 2007, 05:22 PM
Yes please ... because i try to compile it from source it works but too many plugins doesn't compile so it's the same than a beryl .... Please someone
coling
June 27th, 2007, 11:39 PM
As before, I'll be ensuring there will be official support for Compiz Fusion in Mandriva.
When fusion is officially released there will be backports to 2007.1.
I'll be adding packages to cooker over the next few days for testing and feedback (as it the purpose of Cooker).
Cheers
Col
Gettinther
June 28th, 2007, 01:34 PM
If you want, I have made rpms for pclos2007 which is almost the same as mandi2007. You'll get details at [url:26638]http://gettinther.googlepages.com/compiz[/url:26638]. You can download the source codes and recompile them straight.
Let me know if there are issues with it.
Things I know don't work: zoom and dbus plugins.
edit: Just released the second batch of rpms with full set of plugins and at least 90% + works. (please note the change in the webpage name, the old one went down)
volapyk
July 5th, 2007, 09:07 PM
If you want, I have made rpms for pclos2007 which is almost the same as mandi2007. You'll get details at [url:f89ec]http://gettinther.googlepages.com/compiz[/url:f89ec]. You can download the source codes and recompile them straight.
Let me know if there are issues with it.
Things I know don't work: zoom and dbus plugins.
edit: Just released the second batch of rpms with full set of plugins and at least 90% + works. (please note the change in the webpage name, the old one went down)
After installing the dependencies the installation works on Mandriva 2007.1
I'm having 2 issues with it though:
1: cannot run compizconfig/ccsm
[code:f89ec]~]$ ccsm
Traceback (most recent call last):
File "/usr/bin/ccsm", line 22, in <module>
import compizconfig
ImportError: No module named compizconfig[/code:f89ec]
Thought this could be a python gtk2 issue, but python gtk2 (pygtk2) is installed
2: Compiz fusion is very very slow. I guess I'll have to look at my "xorg.conf" and/or "compiz-Nvidia.desktop". I have tried adding the --force-aiglx flag (and others like --loose-binding) in the desktop file. Some help a little but still everything is very slow.
EDIT: When removing the --indirect-rendering flag Compiz Fusion is not slow, but I get the black screen issue instead. The slow thing must be related to --indirect.rendering. (I used that flag in Beryl as well with no problem).
I guess the compizconfig problem is the important one. Once I get it started I may be able to solve the "slow issue". I'm also searching this forum for xorg.conf suggestions right now.
Thanks for the PCLinux packages. :mrgreen:
BTW MDV users. According to adamw an experimental is about to go into cooker. http://forum.club.mandriva.com/viewtopi ... 8395e873fd (http://forum.club.mandriva.com/viewtopic.php?t=67844&highlight=&sid=b464807bad37130e30373a8395e873fd)
Gettinther
July 6th, 2007, 12:30 AM
Yes, it is a lot slower at present than beryl or compiz (I have to disable it when compiling and I have a 64X2 4200 CPU, 570Nvidia chipset, 256Mb DDR3 graphics and 1 Gig RAM 667Mhz. But still, it should be fairly fast under normal circumstances.
As far as using my rpms, you need to download the source codes from the repository and recompile them (there is a link on my site). While Pclos and Mandi are very similar, the main libs are different. So pclos rpms must be recompiled to run properly on a mandy system. They probably would run as is but they would not run at 100% (just use rpm --rebuild command. My spec files should cover both distros).
Compizconfig is the library installed by ccs-lib
When building from source, you'll need to install one package at a time as each next package has the previous one as dependencies (or almost)
I think the sequence is bcop / ccs-lib / ccs-python / ccsm / compiz (source will give kde , devel and gnome (if you have it installed)) / compizconfig-backend-kde (might be redundant now)/emerald / all the plugins.
volapyk
July 6th, 2007, 01:08 AM
I am in over my head if I start building packages. I know nothing about these things. So I guess I have to wait and see if someone does this at some point of time. I have plenty of experience with Beryl, the settings in xorg.conf etc. but I have no experience with building packages.
So I just used the PCLinuxOS RPMs you provided as they are. Everything actually works, except "compizconfig". :roll:
Anyway. Thanks a lot for your help. :)
Gettinther
July 6th, 2007, 09:07 AM
I'll post a howto for building from source (as the sources are suitable for mandi, there should be no problem make new rpms, just need a mandi install and rpm tools) this evening.
volapyk
July 6th, 2007, 04:02 PM
TY. Any help is very appreciated. BTW thanks for helping us Mandriva folks :)
Adam at the Mandriva club forum also gave me "an idiots guide" to doing this. I'll have a look at this later. It's interesting to find out more about how to do packaging. :)
Gettinther
July 6th, 2007, 10:22 PM
OK, I'm back.
First you need to get yourself rpm4.4 from the repository (you might not be using that version, use the newest).
Next download the source rpms
[url:b41a6]http://www.gettinther.pclinuxoshwdb.com/SRPMS.main/bcop-0.1.3-2pclos_tinyme2007.src.rpm[/url:b41a6]
[url:b41a6]http://www.gettinther.pclinuxoshwdb.com/SRPMS.main/ccs-lib-0.0.1-2pclos_tinyme2007.src.rpm[/url:b41a6]
[url:b41a6]http://www.gettinther.pclinuxoshwdb.com/SRPMS.main/ccs-python-0.0.1-2pclos_tinyme2007.src.rpm[/url:b41a6]
[url:b41a6]http://www.gettinther.pclinuxoshwdb.com/SRPMS.main/ccsm-0.1.0-2pclos_tinyme2007.src.rpm[/url:b41a6]
[url:b41a6]http://www.gettinther.pclinuxoshwdb.com/SRPMS.main/compiz-0.5.1-2pclos_tinyme2007.src.rpm[/url:b41a6]
[url:b41a6]http://www.gettinther.pclinuxoshwdb.com/SRPMS.main/compizconfig-backend-kconfig-0.0.1-1pclos_tinyme2007.src.rpm[/url:b41a6]
[url:b41a6]http://www.gettinther.pclinuxoshwdb.com/SRPMS.main/emerald-compiz-0.3.0-3pclos_tinyme2007.src.rpm[/url:b41a6]
[url:b41a6]http://www.gettinther.pclinuxoshwdb.com/SRPMS.main/plugins-extra-0.0.1-1pclos_tinyme2007.src.rpm[/url:b41a6]
[url:b41a6]http://www.gettinther.pclinuxoshwdb.com/SRPMS.main/plugins-main-0.0.1-2pclos_tinyme2007.src.rpm[/url:b41a6]
[url:b41a6]http://www.gettinther.pclinuxoshwdb.com/SRPMS.main/plugins-unsupported-0.0.1-2pclos_tinyme2007.src.rpm[/url:b41a6]
You can always come to the web page later to check if a newer package is available (actually there is but I haven't uploaded the source code yet and it won't be before monday).
Once you have done that, go to your home directory and create the following set of directories:
/home/youraccountname/src
/home/youraccountname/src/debug
/home/youraccountname/src/rpm
/home/youraccountname/src/rpm/BUILD
/home/youraccountname/src/rpm/RPMS
/home/youraccountname/src/rpm/RPMS/athlon
/home/youraccountname/src/rpm/RPMS/i386
/home/youraccountname/src/rpm/RPMS/i486
/home/youraccountname/src/rpm/RPMS/i586
/home/youraccountname/src/rpm/RPMS/i686
/home/youraccountname/src/rpm/RPMS/noarch
/home/youraccountname/src/rpm/SOURCES
/home/youraccountname/src/rpm/SPECS
/home/youraccountname/src/rpm/SRPMS
/home/youraccountname/src/tmp
Once you've made those directories, create a hidden file called .rpmmacros (don't forget the "dot" before the name, that will make it hidden)
place that file in your home directory (/home/youraccountname/). Inside that file type the following lines:
%_topdir /home/youraccountname/src/rpm
%_tmppath /home/youraccountname/src/tmp
%distribution Mandriva
%vendor Mandriva
%distsuffix mdv2007.1
Now you are ready to compile. open a console in the folder where you have saved the downloaded rpms (DO NOT LOG IN AS ROOT).
If you want to go the fast way, simply type: rpm --rebuild nameoftherpmyouwant.rpm.
This will rebuild the rpm for you and place the resulting rpms in the i586 /noarch folders you created. You won't need the debug rpms, simply install the other ones.
Please remember the order list I gave you before as the packages are inter-dependent.
If you want to learn more, type rpm -ivh nameofthesourcerpmyouwant.rpm. This will execute the source rpm and place a specfile in the SPECS directory and whatever required source (tarball, patch or other)in the SOURCE directory. When you are finished inspecting them / modifying them, open a terminal in the SPECS directory (DO NOT LOG IN AS ROOT) and type rpm -ba nameofthespecfile.spec This will execute the script in the specfile and build the rpms (they will be in the same place as the other option.
volapyk
July 6th, 2007, 10:46 PM
Thanks for the guide. You're the man. It all seems to be fairly simple. :)
I have repackaged bcop (and installed the rpm), but when trying css-lib I get a missing dependency (compiz-devel >= 0.5.1 is needed by ccs-lib-0.0.1-2mdv2007.12007.1.src).
Is the order list correct? You did write "I think the sequence is...".
Perhaps compiz-0.5.1 needs to be repackaged and installed first? I tried and it reports no missing dependencies, but I get errors in the end. Either something about "kde-window-decorator" or "gtk-window-decorator/dbus".
Gettinther
July 7th, 2007, 02:20 AM
Sorry, my fault.
Once it's on your pc, you don't have to worry so I forgot. Anyway I checked and the list is as follows:
bcop -> Compiz -> ccs-lib -> ccs-python -> ccsm -> compiz-backend-kconfig -> emerald -> all the plugins
Please also note that you will need to install the following on your pc to compile compiz (all are available in the repos)
libpng libxcomposite libxfixes libxdamage xrandr libxinerama libice libsm libxml2 libxslt1 libstartup-notification-1 >= 0.7 glib librsvg
Let me know how you get on ;)
You will get a scriptlet error when you install emerald, don't worry about it. it works fine (you'll get the same error when you remove the package)
volapyk
July 7th, 2007, 08:55 AM
Thanks for your answer. I thought that the "compiz" package should be the second one. When I tried that some hours ago it did not work though. At first it gave me an "kde-window-decoration" error. I then installed some files and then it gave me problems when making gtk-window-decorator. And some error message about some dbus files.
I'll check this in a minute and possibly post the error message.
I'll double check the dependencies but I'm pretty sure I got them all installed, but it could seem like somethings missing. I'll have to boot into my "test partition" first.
Anyway. It's really great that your helping me and other Mandriva users. TY :D
volapyk
July 7th, 2007, 09:13 AM
All the dependencies listed are installed.
bcop is working fine and I have it installed. But compiz gives me errors. It will run for quite a while in Konsole, but at the end I get the errors.
Here's the last part of the code, with the errors:
[code:f879d]Generating and caching the translation database
gtk-window-decorator.c:51:23: error: dbus/dbus.h: No such file or directory
gtk-window-decorator.c:52:37: error: dbus/dbus-glib-lowlevel.h: No such file or
directory
gtk-window-decorator.c: In function ‘above_button_event’:
gtk-window-decorator.c:4583: warning: unused variable ‘state’
gtk-window-decorator.c: In function ‘unabove_button_event’:
gtk-window-decorator.c:4647: warning: unused variable ‘state’
make[3]: *** [gtk-window-decorator.o] Error 1
make[3]: *** Waiting for unfinished jobs....
Merging translations into gwd.schemas.
make[3]: Leaving directory `/home/novak/src/rpm/BUILD/compiz/gtk/window-decorato r'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/novak/src/rpm/BUILD/compiz/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/novak/src/rpm/BUILD/compiz'
make: *** [all] Error 2
error: Bad exit status from /home/novak/src/tmp/rpm-tmp.52367 (%build)
RPM build errors:
user gettinther does not exist - using root
group gettinther does not exist - using root
user gettinther does not exist - using root
group gettinther does not exist - using root
Bad exit status from /home/novak/src/tmp/rpm-tmp.52367 (%build)
[/code:f879d]
The user/group thing is kinda obvious, but I'm not sure whats up with the rest.
Gettinther
July 7th, 2007, 02:17 PM
That means it is missing a dependency (dbus.h and dbus-glib-lowlevel.h).
In your case is libdbus-devel and libdbus-glib-devel (I think you will need dbus-python for ccs-python also). All are available in repositories.
I will also update my rpms to include them as part of the build requirements (thanks for that).
volapyk
July 8th, 2007, 07:57 AM
Thanks for the help. I was missing "libdbus-glib-devel". I only had "libdbus-devel" installed. I also installed "dbus-python".
I now get past the gtk-window-decorator errors, but now I get errors during /kde/window-decorator. So I installed "libdbus-qt-devel" (it was listed among the errors), which seemed to help because it narrowed the amounts of errors down.
I have looked through the remaining errors in the code, but I cannot figure out what other dependencies are missing.
---------------
EDIT: Installed "libkdebase4-devel" and it now seems to work. :)
So (for compiz...rpm) I needed the dbus ones you mentioned + these two:
- libdbus-qt-devel
- libkdebase4-devel
---------------
volapyk
July 8th, 2007, 08:36 AM
List: bcop -> Compiz -> ccs-lib -> ccs-python -> ccsm -> compiz-backend-kconfig -> emerald -> all the plugins
I'm done with:
"bcop, compiz and css-lib"
I now have these packages rebuild to Mandriva and installed:
"bcop, compiz, compiz-devel, compiz-kde and ccs-lib"
So the next one is "ccs-python" but I get a dependency error: pyrex is needed by ccs-python-0.0.1-2mdv2007.12007.1.src
I've got "python-pyrex-0.9.4.1" installed. This is the only match for "pyrex" in the repos.
csgib
July 8th, 2007, 12:37 PM
You can find it on rpm.pbone.net it's for 2007.0 but it works correctly
volapyk
July 8th, 2007, 02:54 PM
[quote:dd0ab]You can find it on rpm.pbone.net it's for 2007.0 but it works correctly[/quote:dd0ab] DOOOH :mrgreen: .... I did actually search rpm.pbone.net earlier, but I did not notice "pyrex", only "python-pyrex" (which I had installed from the repos). Thanks for the eyeopener, csgib. :)
Gettinther: I have all packages rebuild to mdv2007.1 now. Except "compizconfigbackend". You wrote in a previous post, that "compizconfigbackend" might be obsolete now. I don't know if it's needed, but I got some "unclear" errors when rebuilding it, so I skipped it. (make[1]: *** [libkconfig.la] Error 1...related to aquamarine?).
Once again, thank you very much for the help. Everything else works and I've got the Mandriva 2007.1 RPMs installed now. I haven't tested Compiz Fusion yet though.
BTW: please post here when you have uploaded the source RPMs for 0.5.1-3
--------------------------------------------------------------------------------------------------------------------------------
Mandriva users: I checked out the cooker 2008 repos today, and Colin's Compiz Fusion RPMs for cooker are there. So "Compiz fusion" should now be available through the Mandriva cooker repos. I didn't install them myself so I haven't tried them. (I'll try the 2007.1 packages instead).
I'll test the 2007.1 packages version of CF later. If someone would like (or prefer) the "Compiz Fusion Mandriva 2007.1" versions (but are not up to rebuilding), then I might be able to upload them on my site, in a couple of days. Thanks to the help from Gettinther. ;)
If someone would like this, then let me know. I should be able to offer the packages (hopefully 0.5.1-3) and a list of eventual "tricky" dependencies, but I cannot offer support. But there's always this nice forum. :D
Regards
volapyk
Gettinther
July 8th, 2007, 04:02 PM
Splendid, well done,
The first step toward freedom :D . I hope you enjoy compiz-fusion. I'm hoping to build and issue version 4 at the beginning of the week. I'll keep you posted ;).
PS. You can also copy the quick launch icons from my website and also the instructions as they would be the same for Mandi.
volapyk
July 9th, 2007, 03:15 AM
I do use the quick launch icons and Compiz Fusion works. :) I'm still having some problems though. If I use --indirect-rendering everything is incredible slow e.g. If I try to move a window it's really really slow. Without --indirect-rendering it is not slow but I get a black screen. So I'm trying to find a solution to this.
I read in another post about editing nvreg instead of using --indirect-rendering and I wanted to try this, but I don't know what file to edit in Mandriva.
[quote:a8531]
add the following options in your (openSuSE 10.2=/etc/modprobe.conf.local, Kubuntu-Ubuntu 7.04=/etc/modprobe.d/nvidia-kernel-nkc, Gentoo=/etc/modules.d) or any name this file has in your distro:
If you have a PCI express card here are the options for you:
options nvidia NVreg_VideoMemoryTypeOverride=0 NVreg_NvAGP=0 NVreg_ReqAGPRate=0 NVreg_SoftEDIDs=0 NVreg_DevicesConnected=1 NVreg_VbiosFromROM=1 NVreg_SaveVBios=1 NVreg_EnableBrightnessControl=1[/quote:a8531]
Well, in short. It works I just need the right adjustments. Perhaps using XGL instead could be an option. I always used "native" with Beryl though.
Gettinther
July 9th, 2007, 10:34 AM
The first version was very cpu intensive (that was fixed later on). I have released the source rpms for version 5 (I jumped a release number to get all the rpms to the same release). Try them to see if that fixes your problem.
volapyk
July 9th, 2007, 01:01 PM
Thanks. I will try rebuilding the new versions and see if things are better. :)
I do not think that this is a matter of resources. Without --indirect rendering the windows are responsive but BLACK. :D I believe this is a matter of setting up xorg and the start command for compiz or perhaps problems with my type of Graphics card or problems with dual processors (I think I saw a post about this). My onboard graphics card GF6150 is afaik well known to have the Nvida black screen issues. It does work very nice with Beryl though if I use "force aiglx and indirect rendering" and therefor I have not had any need to buy a separate card yet.
---------------------------------------
Edit: I have rebuild the RPMs and Installed the 0.5.1-5 version and things have not improved. At the present time of development, CF doesn't seem to like my hardware. At this point it is unusable. I'll have to stick with Beryl for a while. Good thing that Beryl is working very very well.
I have tried most suggestions for xorg and CF startup (in this forum) but all fail to solvie the "SLOW" and "Black screen" problems - nothing really works. The only way I can get CF running without black screen problems is by using --indirect-rendering, but CF will be so slow/sluggish (practically freezing) that it's unusable.
I'm looking forward to see CF improve but for now, it's back to Beryl for me. :)
---------------------------------------
BTW: Do you know if the "compiz-icon" tray function is available? It's not included in your RPMs? :)
mitchelln
July 9th, 2007, 04:03 PM
The Mandiva Cooker compiz-fusion rpms do not work (9th July). You end up with no window decorators. Something is stopping Emerald firing up. I'm trying to work out what. I have emerald 0.3 and have killed all my old Beryl install.
volapyk
July 9th, 2007, 04:17 PM
With the 0.5.1-5 mdv2007.1 rpms I get decoration (if I use the desktop files from Gettinther or similar commands from the CLI) but the decoration is (or looks like) normal kde window decoration. I haven't managed to get emerald deco either. I haven't really tried to solve this as CF is (currently) to slow on my system to be of any use.
You could try starting CF with the desktop files from Gettinther 's webpage. The url is on the 1. page in this thread. I get decorations when starting with those but as mentioned, they do not look like Emerald deco.
Gettinther
July 9th, 2007, 04:32 PM
You need emerald themes installed.
To start the emerald theme manager, open a cli and type emerald-theme-manager
I got the tray icon for compiz-fusion but it needs to be rewritten (extensive use of sudo)
volapyk
July 11th, 2007, 02:38 AM
I thought I was missing an emerald-themes RPM, but I did not know if this was part of the emerald-compiz RPM I rebuild. I'm getting warnings while rebuilding emerald-compiz. I did not notice this, because it finishes the process. But if I scroll up I can see a bunch of errors like these:
[code:03877]libtool: link: warning: `/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.2/../../..//li
bpango-1.0.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.2/../../..//li
bcairo.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.2/../../..//li
bgobject-2.0.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.2/../../..//li
bgmodule-2.0.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.2/../../..//li
bglib-2.0.la' seems to be moved
[/code:03877]
I'm not sure if this matters, but I only get an emerald-compiz RPM not an emerald-themes RPM. Do you simply use the old 0.2 emerald-themes?
EDIT: I installed emerald-themes 0.2 and I now get emerald decoration, but running CF with indirect-rendering still makes everything incredible slow.
Gettinther
July 11th, 2007, 09:26 AM
Yes, I use the stock emerald theme.
I'm working on the indirect rendering issue at the moment. ssshhhh don't tell anyone ;)
volapyk
July 11th, 2007, 10:46 AM
Nice :mrgreen:
coling
August 15th, 2007, 07:45 PM
Hello Fellow Mandrivian Fusionites!
You may be interested to know that the first version of Compiz Fusion is available now via the "Backports" repositories.
For more info, see here: http://forum.compiz-fusion.org/showthread.php?p=22693
vBulletin® v3.7.1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.