PDA

View Full Version : [SOLVED]How to recompile beryl-plugins? (0 waves on lamp eff


Yuzem
April 30th, 2007, 11:38 PM
I did this:
sudo apt-get source beryl-plugins

It creates 3 files:
beryl-plugins_0.2.1-0ubuntu2.diff.gz
beryl-plugins_0.2.1-0ubuntu2.dsc
beryl-plugins_0.2.1.orig.tar.gz
And one folder:
beryl-plugins-0.2.1

I did the modifications to animation.c but I can't compile.
"make" doesn't work and ./configure says "No package 'beryl' found"

adamk
April 30th, 2007, 11:50 PM
Do you have the beryl-dev package installed?

Adam

Yuzem
May 1st, 2007, 12:27 AM
Now I have it.
Thanks
I had to install also libberyldecoration-dev and librsvg2-dev

The problem now is that the lamp effect still has the 3 waves limit.

What can be wrong?

adamk
May 1st, 2007, 12:53 AM
Honestly, I'm not quite sure I understand what the issue is... Can you describe it in a little more detail?

Adam

Yuzem
May 1st, 2007, 02:23 AM
Yes. I want to edit the animation.c to enable 0 waves on the lamp effect plugin.
In general I did this:
sudo apt-get source beryl-plugins
And the needed packages:
sudo apt-get install beryl-dev libberyldecoration-dev librsvg2-dev

In the downloaded folder there is a folder called "src" and inside that folder it is the file that I must edit to enable 0 waves.

I edited that file and I did:
./configure
make
sudo make install

But the 3 waves limit is still there.
I have followed the instructions here:
http://forum.beryl-project.org/viewtopi ... 5246#p5246 (http://forum.beryl-project.org/viewtopic.php?p=5246#p5246)

That forum is locked I can't reply.

eitan
May 1st, 2007, 01:57 PM
From what I remember, the .so libraries that are compiled do NOT override the default .so plugin library. So, you have to do a "locate animation.so" or whatever to find the compiled one and replace the old one with it.

Yuzem
May 1st, 2007, 03:47 PM
Still the same...
I did:

[code:220e7]
locate animation.so
/usr/lib/beryl/libanimation.so
/usr/local/lib/beryl/libanimation.so

sudo cp /usr/lib/beryl/libanimation.so /usr/lib/beryl/libanimation.so.backup
sudo cp /usr/local/lib/beryl/libanimation.so sudo cp /usr/local/lib/beryl/libanimation.so.back

sudo rm /usr/lib/beryl/libanimation.so
sudo rm /usr/local/lib/beryl/libanimation.so
[/code:220e7]

Then I did "make install" and the animation plugin wasn't there anymore on beryl-settings.
Then:
[code:220e7]
locate animation.so
/usr/local/lib/beryl/libanimation.so
[/code:220e7]
Only one.

I fixed that with:
[code:220e7]
sudo cp /usr/lib/beryl/libanimation.so.backup /usr/lib/beryl/libanimation.so

locate animation.so
/usr/lib/beryl/libanimation.so
/usr/local/lib/beryl/libanimation.so
[/code:220e7]

Now the animation plugin is there but with the 3 waves limit.
Can it be that I have to reconfigure the source again?

Yuzem
May 4th, 2007, 08:09 PM
bump. :|

trustkill
May 5th, 2007, 07:40 AM
I dont understand the problem developers have with "zero waves".

On the one side, beryl clones MAC or Vista or whatever.

On the other side, there is one effect that "might" be a patent violation. And we, the users, are unable to set this value to "0"... What a shame.

Why no one does a patch, a 1klick solution to enable "0 or 1 waves". Believe me, if I could, I would do so...

Yuzem
May 10th, 2007, 10:00 PM
I have found a solution:
http://dengpeng.name/blog/2007/05/09/ma ... ie-effect/ (http://dengpeng.name/blog/2007/05/09/magic-lamp-vs-genie-effect/)

It is working perfectly on my Feisty!