PDA

View Full Version : compiz-git gentoo ebuild


fldc
November 23rd, 2006, 11:11 AM
Ebuild for gentoo users who likes to build those daily copies from git repository.

http://www.fldc.info/compiz-20070427.tar.gz

2006-04-27: Fix build error

punter
December 14th, 2006, 10:57 AM
edit: updated ebuild with gnome flag to enable/disable gnome

Hey fldc,

I'm a gentoo user. Used to use compiz (on my laptop) for a long time until I got sick of heavy-weight gnome (i never liked gnome, was just forced to use it because of compiz).
But now i've discovered beryl and i'm quite happy with it... light-weight and fast. great as a stand-alone desktop.

I hadn't seen this ebuild before....
what does "disable gnome" really mean? can compiz be used without gnome? on its own? like beryl?

I fear "disable gnome" might mean "disable gnome and use kde instead" !
can someone confirm please.

As a point of reference, the compiz package in official gentoo portage has only the following flags
[ebuild N ] x11-wm/compiz-0.3.4 USE="-dbus -debug -svg" 669 kB


thank you.

mikedee
December 14th, 2006, 03:23 PM
I'm a gentoo user. Used to use compiz (on my laptop) for a long time until I got sick of heavy-weight gnome (i never liked gnome, was just forced to use it because of compiz).
But now i've discovered beryl and i'm quite happy with it... light-weight and fast. great as a stand-alone desktop.

I hadn't seen this ebuild before....
what does "disable gnome" really mean? can compiz be used without gnome? on its own? like beryl?

I assume that disable gnome means that gwd will be built without metacity support. I think that the official ebuild needs to have the correct use flag added so that it can be compiled with --disable-metacity (I think - I generally compile directly from git). The real gnome dependency comes from gwd not compiz.

Just so it is clear, the dependencies are basically this.

Compiz - gconf, gtk
Beryl - gtk, the config uses gfiles which AFAIK is part of gtk
gtk-window-decorator / heliodor - gtk, Metacity (if using metacity themes)

I use Compiz with KDE without any problems. Gconf isnt the nicest configuration tool in the world, but its ok for now.

fldc
December 14th, 2006, 07:55 PM
The --enable-gnome flag is used to compile some module for gnome-control-center as far as i can see? This just removes the dependency to gnome-control-center.
I'm also a kde user and want to keep the gnome/gtk dependencies to a minimum.
Support for metacity is still used if using the metacity flag in this ebuild.
Use flags for this ebuild is "annotate dbus debug gnome metacity svg".

peka
April 10th, 2007, 11:19 AM
Ebuild for gentoo users who likes to build those daily copies from git repository.

http://gentoo-fldc.googlecode.com/files/compiz-git-20070310.tar.gz

2006-03-12: Added fuse and inotify use flags. Also made some other minor changes.
Thanks. :D
Did you consider adding this ebuild to some overlay? e.g. xeffects

iznogood
April 18th, 2007, 11:26 PM
checking for intltool >= 0.23... awk: cmd. line:1: fatal: cannot open file `./intltool-update.in' for reading (No such file or directory)
awk: cmd. line:1: fatal: cannot open file `./intltool-update.in' for reading (No such file or directory)
found
./configure: line 3743: test: : integer expression expected
configure: error: Your intltool is too old. You need intltool 0.23 or later.

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/x11-wm/compiz-9999/work/config.log

!!! ERROR: x11-wm/compiz-9999 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 3841: Called src_compile
compiz-9999.ebuild, line 76: Called econf '--enable-gconf' '--disable-gnome' '--disable-debug' '--enable-librsvg' '--enable-dbus' '--enable-inotify' '--enable-fuse' '--enable-kde' '--enable-annotate' '--enable-gtk' '--enable-m


I get this error which should be fixed according to ML.
It must be a problem in ebuild because it compiles fine manually

Any help ???

xanas3712
April 20th, 2007, 02:54 AM
I got a little further with it by adding cp /usr/bin/intltool-update ${S} to the ebuild in the src_unpack stage

But it's getting stuck on


make[3]: *** No rule to make target `gwd.schemas', needed by `all-am'. Stop.
make[3]: *** Waiting for unfinished jobs....


Not sure how to bypass this yet easily..

edit: seem to get this regardless of building manually, maybe a setup bug in the git.. I still don't know how to resolve because I never really learned how to understand/modify makefiles.. I tried to avoid it by disabling gtk/gnome/metacity flags but this didn't work.. Ugh..

mikedee
April 20th, 2007, 12:52 PM
I got a little further with it by adding cp /usr/bin/intltool-update ${S} to the ebuild in the src_unpack stage

But it's getting stuck on


make[3]: *** No rule to make target `gwd.schemas', needed by `all-am'. Stop.
make[3]: *** Waiting for unfinished jobs....


Not sure how to bypass this yet easily..

edit: seem to get this regardless of building manually, maybe a setup bug in the git.. I still don't know how to resolve because I never really learned how to understand/modify makefiles.. I tried to avoid it by disabling gtk/gnome/metacity flags but this didn't work.. Ugh..

There is a very good chance thats a bug, all that schema stuff was changed recently. Please make a quick post to the mailing list.

peka
April 20th, 2007, 06:39 PM
did you try ebuild from xeffects overlay?

xanas3712
April 21st, 2007, 12:06 AM
did you try ebuild from xeffects overlay?

Did just now, it gets stuck on the intltool-update that was the previous persons error that I resolved by copying the intltool-update to the src folder as intltool-update.in

I guess they added the compiz ebuild recently, wasn't available when I last tried.

Sorry about the delay on e-mailing ML on this mike, I was at work. Doing so now.

with help on the ML was able to modify ebuild a bit to correct (messy, but it works, comments for those better than me) , this one builds for me, but it seems the latest git doesn't work with the 4-17 plugins snapshot (some of it builds, most not)
http://xanas.no-ip.org/webshare/revised-ebuild.txt

fldc
April 27th, 2007, 09:45 AM
The ebuild in xeffects overlay is just a copy of mine, fixed it in this one and added the needed intltoolize line :)
http://www.fldc.info/compiz-20070427.tar.gz

I guess this should be fixed in xeffects to :)