Linked by Eugenia Loli on Wed 23rd Mar 2005 23:18 UTC, submitted by adel
X11, Window Managers Seth Nickell posted some screenshots and videos showing the experimental Luminocity window manager & Cairo which enable a XOrg-based desktop to get accelerated GL eye candy graphics. update: more here.
Permalink for comment
To read all comments associated with this story, please click here.
by karl on Thu 24th Mar 2005 17:33 UTC

I only saw a problem as regards:


I won't even pretend to understand how the software works. All I did was do some basic pattern recognition and guessed-and guessed right!-which is more a matter of luck than knowledge.

I cannot tell you:

a) the difference between @XTHREADS_CFLAGS@ and -DXTHREADS
b) the difference between @XTHREADS_LIBS@ and @XTHREADS_CFLAGS@

my working assumption is that when you see a gcc error message, or a Makefile, referencing somthething surrounded by @ symbols, that this means that the process failed to resolve whatever is found between the @ symbols.

I was building with jhbuild and got the @XTHREADS_CFLAGS@ error as reported by gcc. jhbuild offered me a choice of options as to what to do next. I chose '4' which dropped me back to a shell in the working directory where the compile failed. I then looked around in the configure file to see if I could see what was going on-somewhere I saw a reference to -DXTHREAD and thought, hmmm, that naming convention isn't purely coincidental is it? so I opened up the Makefile in a text editor(nano) and searched for. Sure enough I found 2 references to @XTHREADS_LIBS@. I then replaced each occurence with -DXTHREAD and then exited (exit)the shell landing back in the jhbuild menu and chose 1 to restart the compilation. Some of the packages consist of mulitple subdirectories each with their own Makefile- xserver for example- in which case I edited each of the Makefiles making the substitution described above. Luckily I only had to edit and change about 6 or 7 Makefiles total...

I imagine you could just switch into your JHBUILD_ROOT_PATH, which by me was /root/cvs/gnome2 and simply do something like the following(note I haven't tried this-so don't shoot me if it doesn't work)

find . -name 'Makefile' -exec sed -i 's/@XTHREADS_CFLAGS@/-DXTHREADS/g' {} ;

find . -name 'Makefile' -exec sed -i 's/@XTHREADS_LIBS@/-DXTHREADS/g' {} ;

1) not sure about my sed syntax here....don't know if @ or _ is a special charachter....
2) I know this works for @XTHREADS_CFLAGS@ -but I am not sure about @XTHREADS_LIBS@-try it-if it doesn't compile I was wrong ;)