View Full Version : Extra plugins snapshot
mikedee
March 29th, 2007, 12:15 AM
Here is a snapshot of the extra plugins all in 1 package.
They should all work with recent git so please tell me if something doesn't (or if something is not at its latest version)
To install, you have to type make install in the directory for each plugin you want.
FOR GIT
http://www.anykeysoftware.co.uk/compiz/plugins/extra-plugins-snapshot-20070417.tar.gz
FOR 0.5.0
http://www.anykeysoftware.co.uk/compiz/plugins/extra-plugins-0.5.0.2.tar.gz
Currently includes :
3d
bs
fakeargb
jpeg
opacify
resize
showdesktop
trailfocus
wallpaper
animation
crashhandler
flash
kiosk
put
ring
snow
vignettes
widget
bench (updated)
splash (new)
desktopclick
group (updated)
mousegestures
quickchange
screensaver
tile (updated)
wall (updated)
mblur (new)
reflex (new)
snap (new)
winrules
To compile and install all at once, use the make_all.sh script (thanks cyberorg)
None of the plugins marked updated or new have a schema file. If you would like one, then please use bcop to generate it.
'bcop -g plugin.options' will create plugin.schema
'bcop --schema foo plugin.options' will create the same schema, but with the file name 'foo'.
karmapolice
March 29th, 2007, 01:46 AM
Thanks.
Animation is working great but just a note - if you use animation + minimize + fade you will get some weird results.
For example conflicts between magic lamp and minimize or magic lamp + fade (this one looks great :p).
mikedee
March 29th, 2007, 01:51 AM
Animation is working great but just a note - if you use animation + minimize + fade you will get some weird results.
I noticed that too, I think the issues are known about and its safest to turn those off with animation since it provides both those (I think). The issues are under hot debate at the moment with Davids opinion being that its a desired effect and you should not load these plugins at once if you do not want it to look weird.
Also does everyone else notice that the magic lamp animations are way too fast? I changed them to 0.7 from 0.2 because I could not see the animation at all.
bijoux
March 29th, 2007, 04:35 AM
Thanks mike. I can safely say on the behalf of the community your and the rest of the team's efforts do not go unappreciated.
cyberorg
March 29th, 2007, 08:31 AM
We really need a git repo set up and autotoolize extras to avoid situations like group plugin removed by mistake from maniac's server, animation plugin arriving on the ML and other plugins scattered all over the forum.
Thanks for getting all the plugins together in one place.
Edit: BTW, what license does all these plugins carry?
Edit2: Here is the packages with fixed Makefile(put), missing schemas, renamed .schemas to .schema and tile plugin removed as it didn't compile(error below), so the script as below could work.
http://forum.beryl-project.org/download.php?id=1009&f=41
###start script####
for plugin in `ls`
do
pushd $plugin
make
make install
popd
done
##install schemas
gconftool-2 --shutdown
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
for plugin in `ls`
do
pushd $plugin
gconftool-2 --makefile-install-rule $plugin.schema
popd
done
###end script
Tile error
compiling : tile.c -> build/libtile.lotile.c: In function ‘tileResizeNotify’:
tile.c:674: error: too few arguments to function ‘w->screen->windowResizeNotify’
tile.c:675: warning: assignment from incompatible pointer type
tile.c: In function ‘tileInitScreen’:
tile.c:738: warning: assignment from incompatible pointer type
make: *** [build/libtile.lo] Error 1
mikedee
March 29th, 2007, 12:53 PM
OK - I have put up a new version (same filename) with group included, a fixed tile and put schema renamed.
mikedee
March 29th, 2007, 01:47 PM
Updated again to include cornelius new animation version sent to the mailing list.
mikedee
March 29th, 2007, 05:45 PM
And again :)
New schema file for animation
mikedee
March 30th, 2007, 07:31 PM
Updated the original link, the package now includes screensaver.
MacSlow
March 31st, 2007, 05:58 AM
Gee... 26 plugins without counting the core ones... phew! Not bad, not bad! Just a bit hard to find the time to try them all out, in order to see what makes sense for your own needs.
Best regards...
MacSlow
cornelius
March 31st, 2007, 07:51 AM
Thanks Mike for putting this together, and everybody who worked on the plugins :D
Animation's focus-fade shouldn't be an issue anymore (Mike can you update the first post?)
Also, with the new option for Fade in this patch (http://lists.freedesktop.org/archives/compiz/2007-March/001791.html), there shouldn't be a Fade x Animation conflict anymore. (Animation doesn't provide all features of Fade btw). You can turn off Minimize as it is redundant when Animation is enabled.
bijoux
April 1st, 2007, 08:41 PM
hey cornelius,
Is it possible to make a similar patch but for minimize function only? I would like the fade plugin to handle create/close.
cornelius
April 2nd, 2007, 02:37 AM
hey cornelius,
Is it possible to make a similar patch but for minimize function only? I would like the fade plugin to handle create/close.
Then just choose the "fade" effect in Animation for create/close :)
cornelius
April 2nd, 2007, 05:52 AM
Mike can you update the animation in the package from git.compiz.org/compiz/plugins/animation ?
I fixed a crash. Also fixed focus wave.
bijoux
April 2nd, 2007, 08:39 AM
hey cornelius,
Is it possible to make a similar patch but for minimize function only? I would like the fade plugin to handle create/close.
Then just choose the "fade" effect in Animation for create/close :)
he he.. I am aware of fade in animation, but thats the problem. I don't like how animation plugin fades windows. I get black flashes and artifacts before a window is created, not all the time though, the first few times. On the other hand, the compiz fade plugin work perfectly for me. Just curious if you can provide a patch like I mentioned. If its a hassle, don't worry about it.
Thanks BTW :)
gnumdk
April 2nd, 2007, 09:43 AM
The current version of animation plugin is buggy.
When using "Magic Lamp 2" for minimize/unminimize, window appear on screen before animation is finished :(
Falling back to an older version fix the bug.
stjepan
April 2nd, 2007, 10:53 AM
And where is inputzoom for Compiz GIT?
cornelius
April 2nd, 2007, 02:15 PM
he he.. I am aware of fade in animation, but thats the problem. I don't like how animation plugin fades windows. I get black flashes and artifacts before a window is created, not all the time though, the first few times. On the other hand, the compiz fade plugin work perfectly for me.
I had a similar problem actually. Do you have Animation before Fade in active_plugins list? (latest version enforces that). Does that work? And in the future, let me know if you see any bugs like that. They can be fixed you know :)
Just curious if you can provide a patch like I mentioned. If its a hassle, don't worry about it.
It didn't work when I first tried it, since (un)minimize & open/close affect each other in fade.c in some weird way. Needs more work to isolate those. But as I said, you shouldn't need this and you should be fine with the fade in Animation.
wfarr
April 2nd, 2007, 03:06 PM
And where is inputzoom for Compiz GIT?
Likely removed since Compiz 0.4 combined with Xserver-xorg 1.3 will eliminate the need for it. ;) (We'll have input redirection and scale will work like that now)
maniac
April 2nd, 2007, 03:17 PM
And where is inputzoom for Compiz GIT?
Likely removed since Compiz 0.4 combined with Xserver-xorg 1.3 will eliminate the need for it. ;) (We'll have input redirection and scale will work like that now)
Err, I really, really doubt we'll have input redirection in Compiz 0.4 (it's already branched we the IR stuff isn't even in master) and in Xserver 1.3 (which belongs to Xorg 7.2, which already is released without IR).
Maybe in Compiz 0.6 and Xorg 7.3 (the soonest) - but this will still takes half a year at least.
;)
mikedee
April 2nd, 2007, 04:04 PM
Just to clarify. Inputzooms days are numbered. If anyone feels like updating it to support current git then I will be very happy.
0.4.0 will not include IR
0.5.0 MIGHT include IR
0.5.2 WILL include IR
0.6.0 WILL include IR
I know for a fact that David is keen to get everything shown at brainshare into head as soon as possible. You will have the support in compiz within a few weeks at most. All you need to wait for then is xorg 7.3. AFAIK that will include software cursor support which is already in compiz.
maniac
April 2nd, 2007, 04:53 PM
0.4.0 will not include IR
0.5.0 MIGHT include IR
0.5.2 WILL include IR
0.6.0 WILL include IR
Hmm, strange numbering as IR is a killer feature ... but how cares about numbers? ;)
I know for a fact that David is keen to get everything shown at brainshare into head as soon as possible. You will have the support in compiz within a few weeks at most. All you need to wait for then is xorg 7.3. AFAIK that will include software cursor support which is already in compiz.
No doubt about that. But what's the status of his IR Xorg patches? Are they going to be included or do the Xorg guys want something different?
bijoux
April 2nd, 2007, 09:11 PM
[quote=bijoux]he he.. I am aware of fade in animation, but thats the problem. I don't like how animation plugin fades windows. I get black flashes and artifacts before a window is created, not all the time though, the first few times. On the other hand, the compiz fade plugin work perfectly for me.
I had a similar problem actually. Do you have Animation before Fade in active_plugins list? (latest version enforces that). Does that work? And in the future, let me know if you see any bugs like that. They can be fixed you know :)
Ah I see. You ought to put that information under the plugin description. (That way you don't have to deal with questions like this he he) This seems to fix the black flashes and artifacts, however, I'm experiencing the same problem as gnumdk (sp?). To reproduce, have animation handle un/minimize (magic lamp 2) and create/close (fade), open 2 windows and minimize them both. Unminimize 1 window and you will see the outline of the second window before it was minimized.
Have you any ideas?
Are there any legal issues as to why ANIM_MAGIC_LAMP2_MAX_WAVES_MIN is set to 3 as oppose to 0? (I have to manually edit the source to achieve a la OSX minimze effect)
iznogood
April 2nd, 2007, 09:36 PM
re there any legal issues as to why ANIM_MAGIC_LAMP2_MAX_WAVES_MIN is set to 3 as oppose to 0? (I have to manually edit the source to achieve a la OSX minimze effect)
Yes
cornelius
April 2nd, 2007, 10:14 PM
I had a similar problem actually. Do you have Animation before Fade in active_plugins list? (latest version enforces that). Does that work? And in the future, let me know if you see any bugs like that. They can be fixed you know :)
Ah I see. You ought to put that information under the plugin description. (That way you don't have to deal with questions like this he he) This seems to fix the black flashes and artifacts, however, I'm experiencing the same problem as gnumdk (sp?). To reproduce, have animation handle un/minimize (magic lamp 2) and create/close (fade), open 2 windows and minimize them both. Unminimize 1 window and you will see the outline of the second window before it was minimized.
Have you any ideas?
Yeah, I've noticed that. Will fix it soon, don't worry.
cornelius
April 3rd, 2007, 01:34 AM
There. Try it now.
cornelius
April 3rd, 2007, 01:39 AM
I had a similar problem actually. Do you have Animation before Fade in active_plugins list? (latest version enforces that). Does that work? And in the future, let me know if you see any bugs like that. They can be fixed you know :)
Ah I see. You ought to put that information under the plugin description. (That way you don't have to deal with questions like this he he) This seems to fix the black flashes and artifacts
Well, you shouldn't be able to put Animation after Fade in the first place :) (not anymore at least), Compiz won't activate Animation if you do so. Is it not the case for you?
mikedee
April 3rd, 2007, 04:02 AM
Ive just updated the link on the first page for recent git changes.
maniac
April 3rd, 2007, 06:53 AM
Ive just updated the link on the first page for recent git changes.
If you want, you can do yourself the favour and take so of these plugins out so you dont need to maintain each of them and track core changes. We've prepared a package with plugins we ported for Compiz so far. All plugins now use things like the matching interface and fragment interface where appropriate.
The list includes (plugins being in your package marked by 'x'):
bench (x)
crashhandler (x)
group (x)
jpeg (x)
mblur
neg
put (x)
reflex
ring (x)
showdesktop (x)
snap
snow (x)
splash
text
thumbnail
tile (x)
trailfocus (x)
wall (x)
The plugins can be found here (click on snapshot) (http://gitweb.beryl-project.org/?p=compiz/compiz-plugins-beryl-premerge;a=summary). To compile it, you need BCOP, which can be found here (http://gitweb.beryl-project.org/?p=compiz/bcop;a=summary).
bijoux
April 3rd, 2007, 07:13 AM
I had a similar problem actually. Do you have Animation before Fade in active_plugins list? (latest version enforces that). Does that work? And in the future, let me know if you see any bugs like that. They can be fixed you know :)
Ah I see. You ought to put that information under the plugin description. (That way you don't have to deal with questions like this he he) This seems to fix the black flashes and artifacts
Well, you shouldn't be able to put Animation after Fade in the first place :) (not anymore at least), Compiz won't activate Animation if you do so. Is it not the case for you?
Yes I did get this kind of behavior, however, I didn't know it was an order issue. It could have been because of a few factors (at least from what I can think of) and order was irrelevant in previous animation plugin releases.
cornelius: Just tested the latest animation plugin and its a no go. Compiz just plain crashes when I load it before fade. animation spitted out these during compile:
animation.c:11108: warning: initialization from incompatible pointer type
animation.c:11109: warning: initialization from incompatible pointer type
I don't know if thats relevant.
maniac
April 3rd, 2007, 08:26 AM
cornelius: Just tested the latest animation plugin and its a no go. Compiz just plain crashes when I load it before fade. animation spitted out these during compile:
animation.c:11108: warning: initialization from incompatible pointer type
animation.c:11109: warning: initialization from incompatible pointer type
I don't know if thats relevant.
It is. mikedee changed the signature of some core functions this night and the plugins need to be adapted to that.
mikedee, it might have been a good idea to update the ABIVERSION - but I usually forget that stuff, too ;)
mikedee
April 3rd, 2007, 12:10 PM
mikedee, it might have been a good idea to update the ABIVERSION - but I usually forget that stuff, too ;)
Yeah - your probably right... Ive updated it now :)
mikedee
April 3rd, 2007, 12:12 PM
To compile it, you need BCOP, which can be found here (http://gitweb.beryl-project.org/?p=compiz/bcop;a=summary).
Is there no way to compile your plugins without using BCOP?
mikedee
April 3rd, 2007, 12:23 PM
Ive just updated to include neg. I have decided to keep these versions as non-bcop because I want to keep dependencies down.
mikedee
April 3rd, 2007, 03:25 PM
Updated again, I have a script to bcop all of the plugins and a new makefile for all the beryl plugins. They are now all together and easier to install.
I have marked new or updated plugins on the first post, unfortunately they do not have schema files yet.
maniac
April 3rd, 2007, 03:32 PM
To compile it, you need BCOP, which can be found here (http://gitweb.beryl-project.org/?p=compiz/bcop;a=summary).
Is there no way to compile your plugins without using BCOP?
No, we decided to port all plugins to use BCOP. This has one huge advantage: Code maintenance is way easier. Just take your core changes of today: Without BCOP, I had to change 18 plugins manually. With BCOP, I only needed to change 4 lines in BCOP. Besides that, BCOP will be nice when we'll have XML data as plugin/option description.
I have marked new or updated plugins on the first post, unfortunately they do not have schema files yet.
Yeah, that's right. As far as I know, David wants to write a new gconf-dump when we'll have offline settings reading in core. That will make schema creation easy and this kind of thing then can be done by the Makefile.
mikedee
April 3rd, 2007, 03:36 PM
I have marked new or updated plugins on the first post, unfortunately they do not have schema files yet.
Yeah, that's right. As far as I know, David wants to write a new gconf-dump when we'll have offline settings reading in core. That will make schema creation easy and this kind of thing then can be done by the Makefile.
Thats why I didn't really go out of my way to generate them ;)
That, and I use ini anyway...
If anyone wants to, Id be grateful ;)
maniac
April 3rd, 2007, 03:46 PM
I have marked new or updated plugins on the first post, unfortunately they do not have schema files yet.
Yeah, that's right. As far as I know, David wants to write a new gconf-dump when we'll have offline settings reading in core. That will make schema creation easy and this kind of thing then can be done by the Makefile.
Thats why I didn't really go out of my way to generate them ;)
That, and I use ini anyway...
If anyone wants to, Id be grateful ;)
Me too ;)
Generating the schemas currently really is a pain. That's why it isn't done yet ;) - but I think we'll get the offline reading stuff soon.
origin of
April 4th, 2007, 11:52 AM
hi eveyone, i have last git version, but plugin resize doesn't work, compiz return this error :
compiz: can't load plugin 'resize' because it is built for ABI version 20070328 and actual version is 20070403
compiz: Couldn't activate plugin 'resize'
maniac
April 4th, 2007, 12:28 PM
hi eveyone, i have last git version, but plugin resize doesn't work, compiz return this error :
compiz: can't load plugin 'resize' because it is built for ABI version 20070328 and actual version is 20070403
compiz: Couldn't activate plugin 'resize'
Just recompile the plugin (make clean && make && make install).
mikedee
April 4th, 2007, 03:32 PM
Updated to include winrules
gnumdk
April 4th, 2007, 07:45 PM
Link not working here...
mikedee
April 4th, 2007, 07:58 PM
Link not working here...
Fixed :)
fldc
April 4th, 2007, 11:38 PM
Widget plugin in package doesn't seem to have been adapted to your recent git changes, loading it results in compiz segfaulting, working fine after modifying accordingly. :D
mikedee
April 4th, 2007, 11:48 PM
Thanks, I have updated widget and changed the link in the first post :)
mikedee
April 5th, 2007, 03:26 PM
Updated with new animation changes
karmapolice
April 5th, 2007, 06:47 PM
Wall does not work for me, when I want to activate it compiz dies and the error is:
compiz: symbol lookup error: /home/kp/.compiz/plugins/libwall.so: undefined symbol: gluUnProject
Also showDesktop doesn't have a schema file, do I need something new? because it doesn't run when I move my mouse to the corresponding corner
maniac
April 5th, 2007, 06:53 PM
Wall does not work for me, when I want to activate it compiz dies and the error is:
compiz: symbol lookup error: /home/kp/.compiz/plugins/libwall.so: undefined symbol: gluUnProject
Wall needs to be linked with -lGLU. Guess thats an error in the makefile.
Also showDesktop doesn't have a schema file, do I need something new? because it doesn't run when I move my mouse to the corresponding corner
The latest showdesktop replaces cores showdesktop functionality, so to enable it press Ctrl+Alt+D or use the panel shortcut of your DE ;)
The schema file generation is already in the works BTW. BCOP already generates it, we just need to include it in the build system.
mikedee
April 5th, 2007, 06:56 PM
Wall does not work for me, when I want to activate it compiz dies and the error is:
compiz: symbol lookup error: /home/kp/.compiz/plugins/libwall.so: undefined symbol: gluUnProject
This is probably because wall uses glu, you will probably need to change your compiz startup line to something like this.
LD_PRELOAD=/usr/lib/libglut.so compiz ...
Also showDesktop doesn't have a schema file, do I need something new? because it doesn't run when I move my mouse to the corresponding corner
None of the beryl plugins have schema files because they use bcop. Showdesktop is now activated using the standard show_desktop action (ie. <Ctrl><Alt>d)
karmapolice
April 5th, 2007, 07:09 PM
Just one question about showdesktop, when the window moves up to show the desktop it goes below my panel but after a second the windows became semi transparent and go on top of the panel, it looks a little weird.
maniac
April 5th, 2007, 07:21 PM
Wall does not work for me, when I want to activate it compiz dies and the error is:
compiz: symbol lookup error: /home/kp/.compiz/plugins/libwall.so: undefined symbol: gluUnProject
This is probably because wall uses glu, you will probably need to change your compiz startup line to something like this.
LD_PRELOAD=/usr/lib/libglut.so compiz ...
Shared libraries are loaded automatically if you link them correctly ;)
mikedee, please add a '-lGLU' at the end of the LDFLAGS line (line 36) in walls Makefile in your copy. It will work then.
None of the beryl plugins have schema files because they use bcop.
That's ... errm ... not correct ;)
BCOP is just a format to decribe options and has nothing to do with the schema files. As I wrote above, latest GIT BCOP is able to generate the schema files. Pull the latest snapshot from here (http://gitweb.beryl-project.org/?p=compiz/bcop;a=summary) and run bcop -g <plugin.option>, and plugin.schema will be generated.
mikedee
April 5th, 2007, 07:28 PM
mikedee, please add a '-lGLU' at the end of the LDFLAGS line (line 36) in walls Makefile in your copy. It will work then.
OK - I have done this
BCOP is just a format to decribe options and has nothing to do with the schema files. As I wrote above, latest GIT BCOP is able to generate the schema files. Pull the latest snapshot from here (http://gitweb.beryl-project.org/?p=compiz/bcop;a=summary) and run bcop -g <plugin.option>, and plugin.schema will be generated.
Do you have a copy of each of these schemas?
maniac
April 5th, 2007, 07:31 PM
BCOP is just a format to decribe options and has nothing to do with the schema files. As I wrote above, latest GIT BCOP is able to generate the schema files. Pull the latest snapshot from here (http://gitweb.beryl-project.org/?p=compiz/bcop;a=summary) and run bcop -g <plugin.option>, and plugin.schema will be generated.
Do you have a copy of each of these schemas?
Nope, sorry - I even didn't generate one yet as this feature is only a couple of minutes old ;)
But we will integrate it into the normal build process, so it will be easy for you to pull them out once that is done.
maniac
April 5th, 2007, 07:31 PM
Double post, sorry.
mikedee
April 5th, 2007, 07:32 PM
Nope, sorry - I even didn't generate one yet as this feature is only a couple of minutes old ;)
But we will integrate it into the normal build process, so it will be easy for you to pull them out once that is done.
I do not use your build process though, they all have their own makefiles. People can use bcop if they want schema files.
maniac
April 5th, 2007, 07:34 PM
Nope, sorry - I even didn't generate one yet as this feature is only a couple of minutes old ;)
But we will integrate it into the normal build process, so it will be easy for you to pull them out once that is done.
I do not use your build process though, they all have their own makefiles. People can use bcop if they want schema files.
Well, I guess you have to use the build process at least once to get the *_options.[c|h]. ;)
I don't know how you create your package ATM, but if the user has BCOP installed, it's obviously easy to include that call in a script.
mikedee
April 5th, 2007, 07:49 PM
Nope, sorry - I even didn't generate one yet as this feature is only a couple of minutes old ;)
But we will integrate it into the normal build process, so it will be easy for you to pull them out once that is done.
I do not use your build process though, they all have their own makefiles. People can use bcop if they want schema files.
Well, I guess you have to use the build process at least once to get the *_options.[c|h]. ;)
I don't know how you create your package ATM, but if the user has BCOP installed, it's obviously easy to include that call in a script.
Let me know what that command is and people can generate their own if needs be. I do not have the time at the moment.
maniac
April 5th, 2007, 07:58 PM
Nope, sorry - I even didn't generate one yet as this feature is only a couple of minutes old ;)
But we will integrate it into the normal build process, so it will be easy for you to pull them out once that is done.
I do not use your build process though, they all have their own makefiles. People can use bcop if they want schema files.
Well, I guess you have to use the build process at least once to get the *_options.[c|h]. ;)
I don't know how you create your package ATM, but if the user has BCOP installed, it's obviously easy to include that call in a script.
Let me know what that command is and people can generate their own if needs be. I do not have the time at the moment.
With the BCOP fetched from my above link:
'bcop -g plugin.options' will create plugin.schema
'bcop --schema foo plugin.options' will create the same schema, but with the file name 'foo'.
Gusar
April 6th, 2007, 11:58 AM
bs and neg make compiz segfault at startup.
mikedee
April 6th, 2007, 01:48 PM
OK - I have uploaded a new version to fix those 2
wfarr
April 7th, 2007, 08:00 AM
Crashhandler does not compile against Compiz 0.5:
$ make
compiling : crashhandler.c -> build/libcrashhandler.lolo-e
-e compiling: crashhandler_options.c -> build/libcrashhandler_options.locrashhandler_options.c: In function 'crashOptionsSetDisplayOption':
crashhandler_options.c:162: warning: passing argument 1 of 'crashPluginVTable->setDisplayOption' from incompatible pointer type
crashhandler_options.c:162: warning: passing argument 2 of 'crashPluginVTable->setDisplayOption' from incompatible pointer type
crashhandler_options.c:162: warning: passing argument 3 of 'crashPluginVTable->setDisplayOption' from incompatible pointer type
crashhandler_options.c:162: error: too many arguments to function 'crashPluginVTable->setDisplayOption'
crashhandler_options.c: In function 'crashOptionsGetDisplayOptions':
crashhandler_options.c:203: warning: passing argument 1 of 'crashPluginVTable->getDisplayOptions' from incompatible pointer type
crashhandler_options.c:203: warning: passing argument 2 of 'crashPluginVTable->getDisplayOptions' from incompatible pointer type
crashhandler_options.c:203: error: too many arguments to function 'crashPluginVTable->getDisplayOptions'
crashhandler_options.c: In function 'getCompPluginInfo':
crashhandler_options.c:323: warning: assignment from incompatible pointer type
crashhandler_options.c:324: warning: assignment from incompatible pointer type
make: *** [build/libcrashhandler_options.lo] Error 1
Neither does Reflex:
$ make
compiling : reflex.c -> build/libreflex.lolo-e
-e compiling: reflex_options.c -> build/libreflex_options.loreflex_options.c: In function 'reflexOptionsSetScreenOption':
reflex_options.c:221: warning: passing argument 1 of 'reflexPluginVTable->setScreenOption' from incompatible pointer type
reflex_options.c:221: warning: passing argument 2 of 'reflexPluginVTable->setScreenOption' from incompatible pointer type
reflex_options.c:221: warning: passing argument 3 of 'reflexPluginVTable->setScreenOption' from incompatible pointer type
reflex_options.c:221: error: too many arguments to function 'reflexPluginVTable->setScreenOption'
reflex_options.c: In function 'reflexOptionsGetScreenOptions':
reflex_options.c:278: warning: passing argument 1 of 'reflexPluginVTable->getScreenOptions' from incompatible pointer type
reflex_options.c:278: warning: passing argument 2 of 'reflexPluginVTable->getScreenOptions' from incompatible pointer type
reflex_options.c:278: error: too many arguments to function 'reflexPluginVTable->getScreenOptions'
reflex_options.c: In function 'getCompPluginInfo':
reflex_options.c:407: warning: assignment from incompatible pointer type
reflex_options.c:408: warning: assignment from incompatible pointer type
make: *** [build/libreflex_options.lo] Error 1
Bench also fails to make:
$ make
compiling : bench.c -> build/libbench.lolo-e
-e compiling: bench_options.c -> build/libbench_options.lobench_options.c: In function 'benchOptionsSetDisplayOption':
bench_options.c:303: warning: passing argument 1 of 'benchPluginVTable->setDisplayOption' from incompatible pointer type
bench_options.c:303: warning: passing argument 2 of 'benchPluginVTable->setDisplayOption' from incompatible pointer type
bench_options.c:303: warning: passing argument 3 of 'benchPluginVTable->setDisplayOption' from incompatible pointer type
bench_options.c:303: error: too many arguments to function 'benchPluginVTable->setDisplayOption'
bench_options.c: In function 'benchOptionsGetDisplayOptions':
bench_options.c:376: warning: passing argument 1 of 'benchPluginVTable->getDisplayOptions' from incompatible pointer type
bench_options.c:376: warning: passing argument 2 of 'benchPluginVTable->getDisplayOptions' from incompatible pointer type
bench_options.c:376: error: too many arguments to function 'benchPluginVTable->getDisplayOptions'
bench_options.c: In function 'getCompPluginInfo':
bench_options.c:498: warning: assignment from incompatible pointer type
bench_options.c:499: warning: assignment from incompatible pointer type
make: *** [build/libbench_options.lo] Error 1
Neg fails to make too:
$ make
compiling : neg.c -> build/libneg.lolo-e
-e compiling: neg_options.c -> build/libneg_options.loneg_options.c: In function 'negOptionsSetScreenOption':
neg_options.c:224: warning: passing argument 1 of 'negPluginVTable->setScreenOption' from incompatible pointer type
neg_options.c:224: warning: passing argument 2 of 'negPluginVTable->setScreenOption' from incompatible pointer type
neg_options.c:224: warning: passing argument 3 of 'negPluginVTable->setScreenOption' from incompatible pointer type
neg_options.c:224: error: too many arguments to function 'negPluginVTable->setScreenOption'
neg_options.c: In function 'negOptionsGetScreenOptions':
neg_options.c:249: warning: passing argument 1 of 'negPluginVTable->getScreenOptions' from incompatible pointer type
neg_options.c:249: warning: passing argument 2 of 'negPluginVTable->getScreenOptions' from incompatible pointer type
neg_options.c:249: error: too many arguments to function 'negPluginVTable->getScreenOptions'
neg_options.c: In function 'negOptionsSetDisplayOption':
neg_options.c:292: warning: passing argument 1 of 'negPluginVTable->setDisplayOption' from incompatible pointer type
neg_options.c:292: warning: passing argument 2 of 'negPluginVTable->setDisplayOption' from incompatible pointer type
neg_options.c:292: warning: passing argument 3 of 'negPluginVTable->setDisplayOption' from incompatible pointer type
neg_options.c:292: error: too many arguments to function 'negPluginVTable->setDisplayOption'
neg_options.c: In function 'negOptionsGetDisplayOptions':
neg_options.c:325: warning: passing argument 1 of 'negPluginVTable->getDisplayOptions' from incompatible pointer type
neg_options.c:325: warning: passing argument 2 of 'negPluginVTable->getDisplayOptions' from incompatible pointer type
neg_options.c:325: error: too many arguments to function 'negPluginVTable->getDisplayOptions'
neg_options.c: In function 'getCompPluginInfo':
neg_options.c:453: warning: assignment from incompatible pointer type
neg_options.c:454: warning: assignment from incompatible pointer type
neg_options.c:455: warning: assignment from incompatible pointer type
neg_options.c:456: warning: assignment from incompatible pointer type
make: *** [build/libneg_options.lo] Error 1
Quickchange compiled fine as far as I can tell.
Flash compiles fine but segfaults Compiz.
jpeg compiles but has no bcop tar or schema that I can see.
Animation compiles, but segfaults when loaded.
3D compiles fine, loads fine, and works fine except for one bug where all the windows leave pitch black shadows on the cube and windows are a little pixelated.
BS compiles with a warning, and segfaults compiz when loaded:
s$ make
[: 1: ==: unexpected operator
-e compiling : bs.c -> build/libbs.lobs.c:700: warning: initialization from incompatible pointer type
bs.c:701: warning: initialization from incompatible pointer type
bs.c:702: warning: initialization from incompatible pointer type
bs.c:703: warning: initialization from incompatible pointer type
compiling : bs.c -> build/libbs.lo
linking : build/libbs.lo -> build/libbs.la.la-e
wfarr
April 7th, 2007, 08:29 AM
I hope the above helps to create a 0.5-compatible tarball. =)
origin of
April 7th, 2007, 12:39 PM
also showdesktop doesn't compile
[manuel@unix showdesktop]$ make
compiling : showdesktop.c -> build/libshowdesktop.lo
compiling: showdesktop_options.c -> build/libshowdesktop_options.loshowdesktop_options.c: In function 'showdesktopOptionsSetScreenOption':
showdesktop_options.c:283: warning: passing argument 1 of 'showdesktopPluginVTable->setScreenOption' from incompatible pointer type
showdesktop_options.c:283: warning: passing argument 2 of 'showdesktopPluginVTable->setScreenOption' from incompatible pointer type
showdesktop_options.c:283: warning: passing argument 3 of 'showdesktopPluginVTable->setScreenOption' from incompatible pointer type
showdesktop_options.c:283: error: too many arguments to function 'showdesktopPluginVTable->setScreenOption'
showdesktop_options.c: In function 'showdesktopOptionsGetScreenOptions':
showdesktop_options.c:352: warning: passing argument 1 of 'showdesktopPluginVTable->getScreenOptions' from incompatible pointer type
showdesktop_options.c:352: warning: passing argument 2 of 'showdesktopPluginVTable->getScreenOptions' from incompatible pointer type
showdesktop_options.c:352: error: too many arguments to function 'showdesktopPluginVTable->getScreenOptions'
showdesktop_options.c: In function 'getCompPluginInfo':
showdesktop_options.c:482: warning: assignment from incompatible pointer type
showdesktop_options.c:483: warning: assignment from incompatible pointer type
make: *** [build/libshowdesktop_options.lo] Error 1
and resize crash compiz..
mikedee
April 7th, 2007, 01:02 PM
None of these will compile for 0.5.0 or 0.4.0, Ill try to prepare a package for each. This version is for git only.
mikedee
April 7th, 2007, 01:20 PM
I have added a new version for 0.5.0 (should work on 0.4.0 too) in the first post, please report any problems with that.
wfarr
April 7th, 2007, 11:24 PM
I have added a new version for 0.5.0 (should work on 0.4.0 too) in the first post, please report any problems with that.
Just trying some now:
1. Flash is fine.
2. Reflex fails to make with the same errors listed above.
3. Neg fails to make with the same errors listed above.
4. Same as above for Thumbnail.
Most of the plugins seem to not like to make.
more to come...
Spillaz
April 8th, 2007, 02:02 PM
There seems to be trouble with every plugin with a .options file.
For example wall :
compiling: wall_options.c -> build/libwall_options.lowall_options.c: In function 'wallOptionsSetScreenOption':
wall_options.c:1328: error: 'plugin' undeclared (first use in this function)
wall_options.c:1328: error: (Each undeclared identifier is reported only once
wall_options.c:1328: error: for each function it appears in.)
wall_options.c:1328: warning: passing argument 2 of 'wallPluginVTable->setScreenOption' from incompatible pointer type
wall_options.c:1328: warning: passing argument 3 of 'wallPluginVTable->setScreenOption' from incompatible pointer type
wall_options.c:1328: error: too many arguments to function 'wallPluginVTable->setScreenOption'
wall_options.c: In function 'wallOptionsGetScreenOptions':
wall_options.c:1369: error: 'p' undeclared (first use in this function)
wall_options.c:1369: warning: passing argument 2 of 'wallPluginVTable->getScreenOptions' from incompatible pointer type
wall_options.c:1369: error: too many arguments to function 'wallPluginVTable->getScreenOptions'
wall_options.c: In function 'wallOptionsSetDisplayOption':
wall_options.c:1412: error: 'plugin' undeclared (first use in this function)
wall_options.c:1412: warning: passing argument 2 of 'wallPluginVTable->setDisplayOption' from incompatible pointer type
wall_options.c:1412: warning: passing argument 3 of 'wallPluginVTable->setDisplayOption' from incompatible pointer type
wall_options.c:1412: error: too many arguments to function 'wallPluginVTable->setDisplayOption'
wall_options.c: In function 'wallOptionsGetDisplayOptions':
wall_options.c:1657: error: 'p' undeclared (first use in this function)
wall_options.c:1657: warning: passing argument 2 of 'wallPluginVTable->getDisplayOptions' from incompatible pointer type
wall_options.c:1657: error: too many arguments to function 'wallPluginVTable->getDisplayOptions'
make: *** [build/libwall_options.lo] Error 1
I have the latest version of bcop installed from git.beryl-project.org/compiz/bcop
This is for the 0.5.0 package. Git wont compile for me because a dependency for metacity 2.18 was added and its a PITA to upgrade GNOME in SUSE. I tried compling git without metacity support but then gtk wouldn't compile. So I tried it without gtk and compiz wouldnt compile. Is there any chance that this dependency could be removed?
mikedee
April 8th, 2007, 02:53 PM
There seems to be trouble with every plugin with a .options file.
It doesnt seem straight forward to back port bcop stuff, unless I am missing something... Ill have a go at installing 0.5.0 later and fix them all.
This is for the 0.5.0 package. Git wont compile for me because a dependency for metacity 2.18 was added and its a PITA to upgrade GNOME in SUSE. I tried compling git without metacity support but then gtk wouldn't compile. So I tried it without gtk and compiz wouldnt compile. Is there any chance that this dependency could be removed?
It was removed yesterday from what I saw. I haven't tested it though since I just used --enable-kde for my window decorator
wfarr
April 8th, 2007, 03:48 PM
Just for informational purposes, I too have BCOP git.
mikedee
April 8th, 2007, 05:32 PM
The problem is that bcop git generates c header files for the current git version of compiz. AFAIK there is no way to get bcop to export for an old version of compiz. You have to either create a new version of bcop or do everything manually (maniac?)
mikedee
April 8th, 2007, 06:57 PM
I have just uploaded 0.5.0.1 which should be 100% compatible with the 0.5.0 release.
wfarr
April 8th, 2007, 09:57 PM
I have just uploaded 0.5.0.1 which should be 100% compatible with the 0.5.0 release.
They all seem to install.
However, "bcop -g FOO.options" renders an "unrecognized option" error.
maniac
April 9th, 2007, 08:50 AM
The problem is that bcop git generates c header files for the current git version of compiz. AFAIK there is no way to get bcop to export for an old version of compiz. You have to either create a new version of bcop or do everything manually (maniac?)
Right, that's a bit of a problem. In the future, I guess we should release a BCOP for each Compiz release to avoid that kind of problems.
For 0.5, the following patch, reverse applied to latest git BCOP (patch -p1 -R < this.patch) should BCOP make generate 0.5 compatible code.
diff --git a/src/code_generator.c b/src/code_generator.c
index aa1d0d0..b99023a 100644
--- a/src/code_generator.c
+++ b/src/code_generator.c
@@ -896,8 +896,8 @@ void addDisplayOptions()
if (nDOptions)
{
addString(&setDisplayOpt,"static Bool\n"
- "%sOptionsSetDisplayOption(CompDisplay * display, "
- "char *name, CompOptionValue * value)\n{\n"
+ "%sOptionsSetDisplayOption(CompPlugin * plugin, "
+ "CompDisplay * display, char *name, CompOptionValue * value)\n{\n"
"\tCompOption *o;\n\tint index;\n\n"
"\t%s_OPTIONS_DISPLAY(display);\n\n",data.name,data.uName);
@@ -946,7 +946,7 @@ void addDisplayOptions()
addString(&setDisplayOpt,"\tif (!o)\n\t{\n"
"\t\tif (%sPluginVTable && %sPluginVTable->setDisplayOption)\n"
"\t\t\treturn (*%sPluginVTable->setDisplayOption)"
- "(display, name, value);\n\t\treturn FALSE;\n\t}\n\n",
+ "(plugin, display, name, value);\n\t\treturn FALSE;\n\t}\n\n",
data.name,data.name,data.name);
addString(&setDisplayOpt,"\tswitch (index)\n\t{\n");
@@ -967,10 +967,10 @@ void addDisplayOptions()
addString(&setDisplayOpt,"static CompOption *%sOptionsGetDisplayOptions"
- "(CompDisplay * d, int *count)\n{\n"
+ "(CompPlugin *p, CompDisplay * d, int *count)\n{\n"
"\tCompOption *pOpt = NULL;\n\tint pOptNum = 0;\n"
"\tif (%sPluginVTable && %sPluginVTable->getDisplayOptions)\n"
- "\t\tpOpt = %sPluginVTable->getDisplayOptions(d,&pOptNum);\n\n"
+ "\t\tpOpt = %sPluginVTable->getDisplayOptions(p,d,&pOptNum);\n\n"
"\t%sOptionsDisplay *od;\n"
"\tod = GET_%s_OPTIONS_DISPLAY(d);\n"
"\tif (!pOptNum)\n\t{\n\t\t*count = %sDisplayOptionNum;\n"
@@ -1010,8 +1010,8 @@ void addScreenOptions()
if (nSOptions)
{
addString(&setScreenOpt,"static Bool\n"
- "%sOptionsSetScreenOption(CompScreen * screen, "
- "char *name, CompOptionValue * value)\n{\n"
+ "%sOptionsSetScreenOption(CompPlugin * plugin, "
+ "CompScreen * screen, char *name, CompOptionValue * value)\n{\n"
"\tCompOption *o;\n\tint index;\n\n"
"\t%s_OPTIONS_SCREEN(screen);\n\n",data.name,data.uName);
@@ -1059,7 +1059,7 @@ void addScreenOptions()
addString(&setScreenOpt,"\tif (!o)\n\t{\n"
"\t\tif (%sPluginVTable && %sPluginVTable->setScreenOption)\n"
"\t\t\treturn (*%sPluginVTable->setScreenOption)"
- "(screen, name, value);\n\t\treturn FALSE;\n\t}\n\n",
+ "(plugin, screen, name, value);\n\t\treturn FALSE;\n\t}\n\n",
data.name,data.name,data.name);
addString(&setScreenOpt,"\tswitch (index)\n\t{\n");
@@ -1081,10 +1081,10 @@ void addScreenOptions()
addString(&initScreenOpt,"}\n\n");
addString(&setScreenOpt,"static CompOption *%sOptionsGetScreenOptions"
- "(CompScreen * s, int *count)\n{\n"
+ "(CompPlugin * p, CompScreen * s, int *count)\n{\n"
"\tCompOption *pOpt = NULL;\n\tint pOptNum = 0;\n"
"\tif (%sPluginVTable && %sPluginVTable->getScreenOptions)\n"
- "\t\tpOpt = %sPluginVTable->getScreenOptions(s,&pOptNum);\n\n"
+ "\t\tpOpt = %sPluginVTable->getScreenOptions(p,s,&pOptNum);\n\n"
"\t%sOptionsScreen *os;\n"
"\tif (s)\n\t\tos = GET_%s_OPTIONS_SCREEN(s, "
"GET_%s_OPTIONS_DISPLAY(s->display));\n"
However, "bcop -g FOO.options" renders an "unrecognized option" error.
Which .option file exactly? A quick try with reflex.options worked as expected:
daba@mobilrechner:/tmp$ bcop -g reflex.options
Parsing XML Option file "reflex.options"...done
Parsing XML tree...done
Creating "reflex.schema"...done.
wfarr
April 9th, 2007, 08:57 AM
The problem is that bcop git generates c header files for the current git version of compiz. AFAIK there is no way to get bcop to export for an old version of compiz. You have to either create a new version of bcop or do everything manually (maniac?)
Right, that's a bit of a problem. In the future, I guess we should release a BCOP for each Compiz release to avoid that kind of problems.
For 0.5, the following patch, reverse applied to latest git BCOP (patch -p1 -R < this.patch) should BCOP make generate 0.5 compatible code.
diff --git a/src/code_generator.c b/src/code_generator.c
index aa1d0d0..b99023a 100644
--- a/src/code_generator.c
+++ b/src/code_generator.c
@@ -896,8 +896,8 @@ void addDisplayOptions()
if (nDOptions)
{
addString(&setDisplayOpt,"static Bool\n"
- "%sOptionsSetDisplayOption(CompDisplay * display, "
- "char *name, CompOptionValue * value)\n{\n"
+ "%sOptionsSetDisplayOption(CompPlugin * plugin, "
+ "CompDisplay * display, char *name, CompOptionValue * value)\n{\n"
"\tCompOption *o;\n\tint index;\n\n"
"\t%s_OPTIONS_DISPLAY(display);\n\n",data.name,data.uName);
@@ -946,7 +946,7 @@ void addDisplayOptions()
addString(&setDisplayOpt,"\tif (!o)\n\t{\n"
"\t\tif (%sPluginVTable && %sPluginVTable->setDisplayOption)\n"
"\t\t\treturn (*%sPluginVTable->setDisplayOption)"
- "(display, name, value);\n\t\treturn FALSE;\n\t}\n\n",
+ "(plugin, display, name, value);\n\t\treturn FALSE;\n\t}\n\n",
data.name,data.name,data.name);
addString(&setDisplayOpt,"\tswitch (index)\n\t{\n");
@@ -967,10 +967,10 @@ void addDisplayOptions()
addString(&setDisplayOpt,"static CompOption *%sOptionsGetDisplayOptions"
- "(CompDisplay * d, int *count)\n{\n"
+ "(CompPlugin *p, CompDisplay * d, int *count)\n{\n"
"\tCompOption *pOpt = NULL;\n\tint pOptNum = 0;\n"
"\tif (%sPluginVTable && %sPluginVTable->getDisplayOptions)\n"
- "\t\tpOpt = %sPluginVTable->getDisplayOptions(d,&pOptNum);\n\n"
+ "\t\tpOpt = %sPluginVTable->getDisplayOptions(p,d,&pOptNum);\n\n"
"\t%sOptionsDisplay *od;\n"
"\tod = GET_%s_OPTIONS_DISPLAY(d);\n"
"\tif (!pOptNum)\n\t{\n\t\t*count = %sDisplayOptionNum;\n"
@@ -1010,8 +1010,8 @@ void addScreenOptions()
if (nSOptions)
{
addString(&setScreenOpt,"static Bool\n"
- "%sOptionsSetScreenOption(CompScreen * screen, "
- "char *name, CompOptionValue * value)\n{\n"
+ "%sOptionsSetScreenOption(CompPlugin * plugin, "
+ "CompScreen * screen, char *name, CompOptionValue * value)\n{\n"
"\tCompOption *o;\n\tint index;\n\n"
"\t%s_OPTIONS_SCREEN(screen);\n\n",data.name,data.uName);
@@ -1059,7 +1059,7 @@ void addScreenOptions()
addString(&setScreenOpt,"\tif (!o)\n\t{\n"
"\t\tif (%sPluginVTable && %sPluginVTable->setScreenOption)\n"
"\t\t\treturn (*%sPluginVTable->setScreenOption)"
- "(screen, name, value);\n\t\treturn FALSE;\n\t}\n\n",
+ "(plugin, screen, name, value);\n\t\treturn FALSE;\n\t}\n\n",
data.name,data.name,data.name);
addString(&setScreenOpt,"\tswitch (index)\n\t{\n");
@@ -1081,10 +1081,10 @@ void addScreenOptions()
addString(&initScreenOpt,"}\n\n");
addString(&setScreenOpt,"static CompOption *%sOptionsGetScreenOptions"
- "(CompScreen * s, int *count)\n{\n"
+ "(CompPlugin * p, CompScreen * s, int *count)\n{\n"
"\tCompOption *pOpt = NULL;\n\tint pOptNum = 0;\n"
"\tif (%sPluginVTable && %sPluginVTable->getScreenOptions)\n"
- "\t\tpOpt = %sPluginVTable->getScreenOptions(s,&pOptNum);\n\n"
+ "\t\tpOpt = %sPluginVTable->getScreenOptions(p,s,&pOptNum);\n\n"
"\t%sOptionsScreen *os;\n"
"\tif (s)\n\t\tos = GET_%s_OPTIONS_SCREEN(s, "
"GET_%s_OPTIONS_DISPLAY(s->display));\n"
However, "bcop -g FOO.options" renders an "unrecognized option" error.
Which .option file exactly? A quick try with reflex.options worked as expected:
daba@mobilrechner:/tmp$ bcop -g reflex.options
Parsing XML Option file "reflex.options"...done
Parsing XML tree...done
Creating "reflex.schema"...done.
All of them.
It's probably due to it being git (from Trevino's repo).
/extra-plugins-0.5.0.0/reflex$ bcop -g reflex.options
bcop: invalid option -- g
maniac
April 9th, 2007, 09:24 AM
All of them.
It's probably due to it being git (from Trevino's repo).
/extra-plugins-0.5.0.0/reflex$ bcop -g reflex.options
bcop: invalid option -- g
Ah, I see. It looks like Trevinho's repo is not completely up-to-date then. It should be a matter of time only until it's updated. For the meantime, your only option is to compile from GIT (http://gitweb.beryl-project.org/?p=compiz/bcop;a=summary) for yourself.
mikedee
April 9th, 2007, 01:42 PM
Updated the snapshot package to include a bug fix for jpeg and slightly modified Makefiles (clean does not uninstall anymore)
tobey
April 9th, 2007, 02:45 PM
Hi. Thanks for all ur fantastic work.
Most plugins are working here except thumbnail ,
Iḿ on feisty with compiz 0.5.0.0
What should I do?
mikedee
April 9th, 2007, 02:52 PM
Hi. Thanks for all ur fantastic work.
Most plugins are working here except thumbnail ,
Iḿ on feisty with compiz 0.5.0.0
What should I do?
Do you have some sort of error message?
When you say it doesnt work, what exactly happens? (I know that sounds stupid but Im trying to fix it without having to reinstall 0.5.0 and try again ;) )
tobey
April 9th, 2007, 02:56 PM
It seems there is some conflict.
I add ´thumb´ to the last of active plugins´ list. but nothing happens. And the next time when I open gconf-editor, it´s gone.
mikedee
April 9th, 2007, 03:14 PM
The thumbanil plugin should be loaded into gconf as 'thumbnail' not 'thumb'
tobey
April 9th, 2007, 03:22 PM
OMG。Now I remember there´s another post talked about that. but totally forgot that until see ur post above. Sorry for bothering u.
marijus
April 9th, 2007, 04:59 PM
will there be a package for plugins-extra 0.5?
mikedee
April 9th, 2007, 05:14 PM
will there be a package for plugins-extra 0.5?
You would have to check with your distro, they can package it if they like.
maniac
April 10th, 2007, 12:27 PM
Updated the snapshot package to include a bug fix for jpeg and slightly modified Makefiles (clean does not uninstall anymore)
Mike, if you ever have any bug fixes to the source code (dunno if this is the case here), please also send them to me (maniac (at) beryl-project.org) so I can put them into the repo. Thanks!
mikedee
April 10th, 2007, 12:47 PM
Updated the snapshot package to include a bug fix for jpeg and slightly modified Makefiles (clean does not uninstall anymore)
Mike, if you ever have any bug fixes to the source code (dunno if this is the case here), please also send them to me (maniac (at) beryl-project.org) so I can put them into the repo. Thanks!
The fix came from cornelius, I assumed he was in contact with you about it. Contrary to popular belief I am not a human source control system (although I may be a git ;))
maniac
April 10th, 2007, 01:34 PM
Updated the snapshot package to include a bug fix for jpeg and slightly modified Makefiles (clean does not uninstall anymore)
Mike, if you ever have any bug fixes to the source code (dunno if this is the case here), please also send them to me (maniac (at) beryl-project.org) so I can put them into the repo. Thanks!
The fix came from cornelius, I assumed he was in contact with you about it.
Nope, I don't know about it. What exactly was it?
Contrary to popular belief I am not a human source control system (although I may be a git ;))
Hehe, that's why I asked so we can backup the fixes in a computer assisted VCS :P
Seriously, we need a common repo more sooner than later - and please a repo that has a proper gitweb and speaks git+ssh ;)
maniac
April 10th, 2007, 01:34 PM
Updated the snapshot package to include a bug fix for jpeg and slightly modified Makefiles (clean does not uninstall anymore)
Mike, if you ever have any bug fixes to the source code (dunno if this is the case here), please also send them to me (maniac (at) beryl-project.org) so I can put them into the repo. Thanks!
The fix came from cornelius, I assumed he was in contact with you about it.
Nope, I don't know about it. What exactly was it?
Contrary to popular belief I am not a human source control system (although I may be a git ;))
Hehe, that's why I asked so we can backup the fixes in a computer assisted VCS :P
Seriously, we need a common repo more sooner than later - and please a repo that has a proper gitweb and speaks git+ssh ;)
mikedee
April 10th, 2007, 02:36 PM
Nope, I don't know about it. What exactly was it?
changing strcmp to srccase cmp for .JPG files
maniac
April 10th, 2007, 02:42 PM
Nope, I don't know about it. What exactly was it?
changing strcmp to srccase cmp for .JPG files
You must have an older version then, that's fixed since ... errr ... ages ;)
But thanks anyway. :)
mikedee
April 10th, 2007, 02:47 PM
Nope, I don't know about it. What exactly was it?
changing strcmp to srccase cmp for .JPG files
You must have an older version then, that's fixed since ... errr ... ages ;)
But thanks anyway. :)
I suppose thats why he sent it to me.
cornelius
April 11th, 2007, 05:09 AM
I suppose thats why he sent it to me.
The fix I sent was this:
@@ -288,10 +288,10 @@ static Bool JPEGFileToImage(CompDisplay
if (extension)
{
extension++; /* we want the char after the dot */
- if (strcasecmp(extension, ".jpeg") == 0 ||
- strcasecmp(extension, ".jpg") == 0)
+ if (strcasecmp(extension, "jpeg") == 0 ||
+ strcasecmp(extension, "jpg") == 0)
{
Apparently it was for an older version. I thought the snapshot had the latest jpeg plugin. Anyways, I should have checked beryl git or have sent the patch to maniac. Sorry.
The one in the 0.5.0 package still has the bug. Mike, can you update the jpeg in git and 0.5.0 packages to the latest jpeg plugin (http://gitweb.beryl-project.org/?p=compiz/compiz-plugins-beryl-premerge;a=blob_plain;f=src/jpeg.c;hb=HEAD) from beryl git?
maniac
April 11th, 2007, 05:49 AM
I suppose thats why he sent it to me.
The fix I sent was this:
@@ -288,10 +288,10 @@ static Bool JPEGFileToImage(CompDisplay
if (extension)
{
extension++; /* we want the char after the dot */
- if (strcasecmp(extension, ".jpeg") == 0 ||
- strcasecmp(extension, ".jpg") == 0)
+ if (strcasecmp(extension, "jpeg") == 0 ||
+ strcasecmp(extension, "jpg") == 0)
{
Apparently it was for an older version. I thought the snapshot had the latest jpeg plugin. Anyways, I should have checked beryl git or have sent the patch to maniac. Sorry.
No need to feel sorry, I just don't want fixes getting lost :)
I just checked, that one is indeed fixed already in Git.
delfick
April 12th, 2007, 01:16 AM
where do i put the folder for the makeall script to work ??? :D
mikedee
April 12th, 2007, 11:13 AM
where do i put the folder for the makeall script to work ??? :D
You can unpack it anywhere. They should all install into ~/.compiz/plugins
stjepan
April 12th, 2007, 01:10 PM
I tried porting inputzoom to Compiz GIT, but it doesn't zoom properly. Can anyone else try it?
(I want inputzoom simply because I don't want to wait for real IR-supported zoom)
delfick
April 13th, 2007, 12:56 AM
when i run the make_all.sh script i get this
iambob@bob-linux:~/Desktop/extra-plugins$ ./make_all.sh
./make_all.sh: 9: pushd: not found
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
./make_all.sh: 9: popd: not found
./make_all.sh: 9: pushd: not found
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
./make_all.sh: 9: popd: not found
./make_all.sh: 9: pushd: not found
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
./make_all.sh: 9: popd: not found
./make_all.sh: 9: pushd: not found
etc
etc
mikedee
April 13th, 2007, 01:10 AM
Can you try opening the make_all.sh script and changing the first line from
#!/bin/sh
to
#!/bin/bash
It should fix that
Cimi
April 13th, 2007, 01:45 AM
the initialization by edge corners is not working with "widget" plugin and 0.5.0.
It works only with keys (closing works with topleft corner even if it's not setted).
mikedee
April 13th, 2007, 02:03 AM
the initialization by edge corners is not working with "widget" plugin and 0.5.0.
It works only with keys (closing works with topleft corner even if it's not setted).
Can you try again with the new version I have posted
delfick
April 13th, 2007, 02:17 AM
Can you try opening the make_all.sh script and changing the first line from
#!/bin/sh
to
#!/bin/bash
It should fix that
awsome ! :D
much better, thankyou :D
Cimi
April 13th, 2007, 02:19 AM
the initialization by edge corners is not working with "widget" plugin and 0.5.0.
It works only with keys (closing works with topleft corner even if it's not setted).
Can you try again with the new version I have posted
i've the version on the first page
Cimi
April 13th, 2007, 02:23 AM
the initialization by edge corners is not working with "widget" plugin and 0.5.0.
It works only with keys (closing works with topleft corner even if it's not setted).
Can you try again with the new version I have posted
i've the version on the first page
the version on the first page (0.5.0.2) has EOF problems, you've uploaded it incorrectly
mikedee
April 13th, 2007, 02:25 AM
the version on the first page (0.5.0.2) has EOF problems, you've uploaded it incorrectly
Sorry, can you try again now
delfick
April 13th, 2007, 02:35 AM
what happened to the beryl wobbly plugin ??
it had more options...
Cimi
April 13th, 2007, 02:37 AM
the version on the first page (0.5.0.2) has EOF problems, you've uploaded it incorrectly
Sorry, can you try again now
left, topleft, top, topright are not working! Others are ok... (but i need topleft :lol: )
strange bug... :?
wfarr
April 13th, 2007, 04:10 AM
TopRight works here fine. I had to unset it and reset it a few times though.
franzrogar
April 13th, 2007, 02:07 PM
mikedee (and evry@ne, of course ;) ), I've compiled evryting in the 13-april-07 tar and here are my notes:
Schemas
The missing schemas for bench, group, mblur, reflex, ring, showdesktop, snap, splash, thumbnail, tile & wall are HERE (http://franzrogar.googlepages.com/schemas.tar.gz) (with bcop -g plugin.options)
The missing schema for crashhandler: there's no way to do it. After finishined bcoping, it says "segment violation" so I haven't included it.
desktopclick & jpeg doesn't have options file, so I can't make their schemas (if they need them, of course, I dunno)
vignettes, after configure it, doesn't have neither options nor schema files so... same as desktopclick & jpeg
Schema naming
For both bs & neg plugins, the schema file is named "$plugin.schemas" (with an ending "s").
Compiling
I'm not able to compile screensaver plugin... dunno why. Anyway, what are its depedencies?
How must be desktopclick compiled? I've compile the plug-in itself but there's also bmenu zip wich cann't, even, be configured due to some weirdo problem.
Script
So I've updated (maybe it has some mistakes, but it should work) the script to build the -extras with this issues:
1 - It will not install any schema for vignettes, desktopclick, jpeg & crashhandler (info at script)
Evrything else will be compiled, installed & installed schemas.
SEE script in second post after this one.
Thanks in anyway,
Franz Rogar
mikedee
April 13th, 2007, 02:29 PM
Thanks very much.
I am not sure why screensaver or bmenu are not compiling. Posting the errors should help :)
I have updated the snapshot link on the first page with the new schemas and corrections to the schema names.
franzrogar
April 13th, 2007, 02:46 PM
Glad to help :)
About screensaver
First, I forgot to install x11proto-scrnsaver-dev, but now it complains as follow:
linking : build/libscreensaver.lo -> build/libscreensaver.la/usr/bin/ld: cannot find -lXss
About bmenu
Forgot it... :oops: forgot to install automake (franzrogar hits his head with a hammer)
EDIT:
Updated script:
#!/bin/bash
for plugin in `ls`
do
pushd $plugin
if ($plugin == "desktopclick")
tar xzvf bmenu-0.0.2.tar.gz
cd bmenu
./configure --prefix=/usr && make && make install
cd ..
elif ($plugin == "vignettes")
./configure --prefix=/usr
fi
make
make install
popd
done
gconftool-2 --shutdown
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
for plugin in `ls`
do
pushd $plugin
if ($plugin == "vignettes" || $plugin == "desktopclick")
echo "INFO for " $plugin
echo "No .options file available"
sleep 3
elif ($plugin == "crashhandler")
echo "INFO for " $plugin
echo "No .schema due to segment violation"
sleep 3
else
gconftool-2 --makefile-install-rule $plugin.schema
fi
popd
done
mikedee
April 13th, 2007, 02:49 PM
First, I forgot to install x11proto-scrnsaver-dev, but now it complains as follow:
linking : build/libscreensaver.lo -> build/libscreensaver.la/usr/bin/ld: cannot find -lXss
The message seems to imply you do not have the XSS-dev package installed (which you seem to do)
You could try running ldconfig as root and see if that fixes it, otherwise I have no idea. Maybe it has a different name in your distro?
franzrogar
April 13th, 2007, 02:55 PM
Thanks mikedee, by bad: it wan't installed. Evrything works perfect now. I also updated the script to compile evryting :)
mikedee
April 13th, 2007, 03:02 PM
Thanks mikedee, by bad: it wan't installed. Evrything works perfect now. I also updated the script to compile evryting :)
Maybe it was smashing yourself on the head that did it... It cant be very good for your brain ;)
Spillaz
April 14th, 2007, 01:41 AM
I also think that the Firefly plugin and Stars plugin should also be ported to compiz. I have salvaged them from the Beryl forums. Here they are
http://smspillaz.googlepages.com/home (On that page, just follow the links)
tobey
April 14th, 2007, 07:29 AM
mikedee. I have these problems.
1. no JPEG plugin shown in gconf with compiz 0.5?
2.No changes to thumbnail´s configurations would take effects.
3.No blur effects, although it´s been actived.
4.mblur just makes window not unmovable with it´s initial key CTRL+F12 pressed.
Spillaz
April 14th, 2007, 11:49 AM
[quote="tobey"]mikedee. I have these problems.
1. no JPEG plugin shown in gconf with compiz 0.5?
I dont think theres a schmea. Besides, you can still activate it ;-)
2.No changes to thumbnail´s configurations would take effects.
No idea
3.No blur effects, although it´s been actived.
Hmm, what graphics card do you have? Tell me also if there is a noticeable distortion under water waves when using water. Also when using blur, does it seems slow? Do you get an error from the terminal that reads "compiz: No Stencil Buffer etc etc etc"
4.mblur just makes window not unmovable with it´s initial key CTRL+F12 pressed.
Again what gfx card?
tobey
April 14th, 2007, 12:55 PM
Now it seems it´s just my card´s problem. Intel 845G.
When I type this in a terminal :
LIBGL_ALWAYS_INDIRECT=1 compiz --replace gconf
Got this:
compiz: decoration: property ignored because version is 20061011 and decoration plugin version is 20070319
[Snow]: Texture not found : /home/tobey/.compiz/images/snowflake2.png
[Snow]: Loaded Texture /home/tobey/.compiz/images/snowflake_3.png
compiz: No stencil buffer. Region based blur disabled
and mblur not work in beryl, either.
But how come with no decorations? And in gconf-editor. i´ve set the snow pic to /home/tobey/.compiz/images/snowflake_3.png
But if I start compiz at the start session. and it works.
Maybe there´s a conflict with beryl. [/quote]
bijoux
April 14th, 2007, 09:21 PM
I have an issue with wall plugin.
My desktop/background turns black when I initiate the app switcher.
Is this normal behavior with wall plugin? Is it a bug? or a conflict within my settings?
mikedee
April 15th, 2007, 01:38 AM
I have an issue with wall plugin.
My desktop/background turns black when I initiate the app switcher.
Is this normal behavior with wall plugin? Is it a bug? or a conflict within my settings?
Its a bug which I think was just fixed, ill update it soon.
Spillaz
April 15th, 2007, 01:49 AM
Now it seems it´s just my card´s problem. Intel 845G.
When I type this in a terminal :
LIBGL_ALWAYS_INDIRECT=1 compiz --replace gconf
Got this:
compiz: decoration: property ignored because version is 20061011 and decoration plugin version is 20070319
[Snow]: Texture not found : /home/tobey/.compiz/images/snowflake2.png
[Snow]: Loaded Texture /home/tobey/.compiz/images/snowflake_3.png
compiz: No stencil buffer. Region based blur disabled
and mblur not work in beryl, either.
But how come with no decorations? And in gconf-editor. i´ve set the snow pic to /home/tobey/.compiz/images/snowflake_3.png
But if I start compiz at the start session. and it works.
Maybe there´s a conflict with beryl. [/quote]
Ok. It looks like a bug. If you can tell me if there is no apparent distortion when you use the water plugin I'll file one. As for your window decoration plugins - how did you install compiz?
jackkerouac
April 15th, 2007, 02:43 AM
Is there some sort of 'master list' of plugins (extra plugins) that explain what exactly the plugin is supposed to do when activated? A plugin like 'decoration' is pretty obvious, but something like 'trailfocus' would not be.
tobey
April 15th, 2007, 02:53 AM
I used to install it from rep. but it seemed that it was not working (as an earlier version compiz was installed on feisty). So i removed it and then installed it by compiling the sources from tar ball.
But it seems OK now. when I use LIBGL_ALWAYS_INDIRECT=1 compiz --replace gconf to start compiz. if I have not started beryl-manager in this gnome session. (beryl manager cannot start compiz with decorations)
And yep, as for water plugin, there is no apparent effect.
bijoux
April 15th, 2007, 03:03 AM
thanks mike
I have an issue with wall plugin.
My desktop/background turns black when I initiate the app switcher.
Is this normal behavior with wall plugin? Is it a bug? or a conflict within my settings?
Its a bug which I think was just fixed, ill update it soon.
Spillaz
April 15th, 2007, 11:45 AM
I used to install it from rep. but it seemed that it was not working (as an earlier version compiz was installed on feisty). So i removed it and then installed it by compiling the sources from tar ball.
But it seems OK now. when I use LIBGL_ALWAYS_INDIRECT=1 compiz --replace gconf to start compiz. if I have not started beryl-manager in this gnome session. (beryl manager cannot start compiz with decorations)
And yep, as for water plugin, there is no apparent effect. OK. 2 more quick questions and I'll file a bug
1 Are you using AIGLX or XGL?
2 What X.org Version do you have (7.2 or 7.3)?
tobey
April 15th, 2007, 12:23 PM
Aiglx
XORG : 7.2-0ubuntu11
OK.
I´m not sure if it´s a bug.
But all my statement is true.
Spillaz
April 15th, 2007, 12:44 PM
Ok then - I'll file a bug.
If mikedee can read this it will probably look like this :
Fragment interface is not displaying on Intel GMA chipsets (i810 driver). It appears that the textures affected are being shaded but the output is not displayed to the screen.
Now - uh where DO I post the bug.... ;-)
EDIT : Found it : https://bugs.freedesktop.org/show_bug.cgi?id=10648
bijoux
April 17th, 2007, 01:10 AM
thanks mike
I have an issue with wall plugin.
My desktop/background turns black when I initiate the app switcher.
Is this normal behavior with wall plugin? Is it a bug? or a conflict within my settings?
Its a bug which I think was just fixed, ill update it soon.
to those who are interested, here is the patched version.
http://eonecrew.net/software/wall.c
jackkerouac
April 17th, 2007, 08:31 PM
thanks mike
I have an issue with wall plugin.
My desktop/background turns black when I initiate the app switcher.
Is this normal behavior with wall plugin? Is it a bug? or a conflict within my settings?
Its a bug which I think was just fixed, ill update it soon.
to those who are interested, here is the patched version.
http://eonecrew.net/software/wall.c
When compiling, I get:
compiling: wall.c -> build/libwall.lowall.c: In function 'wallHandleEvent':
wall.c:780: error: 'CompStackingUpdateModeNone' undeclared (first use in this function)
wall.c:780: error: (Each undeclared identifier is reported only once
wall.c:780: error: for each function it appears in.)
make: *** [build/libwall.lo] Error 1
mikedee
April 17th, 2007, 09:11 PM
to those who are interested, here is the patched version.
http://eonecrew.net/software/wall.c
Thanks, I have updated the original link to include this
mikedee
April 17th, 2007, 09:12 PM
When compiling, I get:
compiling: wall.c -> build/libwall.lowall.c: In function 'wallHandleEvent':
wall.c:780: error: 'CompStackingUpdateModeNone' undeclared (first use in this function)
wall.c:780: error: (Each undeclared identifier is reported only once
wall.c:780: error: for each function it appears in.)
make: *** [build/libwall.lo] Error 1
You need a newer version of compiz
intervigilium
April 18th, 2007, 08:12 AM
The compiz git updates for metadata seem to have bad effects on most of the plugins in this extra package. All that's necessary to compile the extra plugins cleanly is adding in the extra 0 to the CompPluginVTable structure in each plugin for the GetMetadataProc field. However I can't get compiz to run with the extra plugins anymore, it segfaults on startup. Any ideas on this one?
EDIT: forgot, but I did change all warpPointer calls to use CompScreen* instead
maniac
April 18th, 2007, 08:47 AM
The compiz git updates for metadata seem to have bad effects on most of the plugins in this extra package. All that's necessary to compile the extra plugins cleanly is adding in the extra 0 to the CompPluginVTable structure in each plugin for the GetMetadataProc field. However I can't get compiz to run with the extra plugins anymore, it segfaults on startup. Any ideas on this one?
EDIT: forgot, but I did change all warpPointer calls to use CompScreen* instead
Mike needs to update the package, at least the former Beryl plugins are already adapted for both the metadata changes and the warpPointer changes.
bijoux
April 18th, 2007, 07:18 PM
Mike needs to update the package, at least the former Beryl plugins are already adapted for both the metadata changes and the warpPointer changes.
I downloaded the latest snapshot of compiz-plugins-beryl-premerge from gitweb.beryl-project.org, at compile
it gives out:
/usr/local/bin/bcop --header group_options.h ../../metadata/group.xml
Parsing XML Option file "../../metadata/group.xml"...done
Parsing XML tree...error
[ERROR]: document of the wrong type, root node != plugindone
make[3]: *** [group_options.h] Error 1
make[3]: Leaving directory `/home/bijoux/Desktop/compiz/compiz-plugins-beryl-premerge/src/group'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/bijoux/Desktop/compiz/compiz-plugins-beryl-premerge/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bijoux/Desktop/compiz/compiz-plugins-beryl-premerge'
make: *** [all] Error 2
Have you any ideas?
Thanks
ninja edit*
I also installed the latest bcop snapshot. it installs properly but gives me this:
/usr/local/bin/bcop: 24: Syntax error: "(" unexpected
when you invoke it.
onestone
April 18th, 2007, 08:54 PM
I also installed the latest bcop snapshot. it installs properly but gives me this:
/usr/local/bin/bcop: 24: Syntax error: "(" unexpected
when you invoke it.
should work now.
tobey
April 19th, 2007, 12:42 AM
Hi, Mike, don´t u update the extra plugins for compiz-0.5.0 any more?
(How) Can I compile the them for 0.5.0?
xanas3712
April 20th, 2007, 03:52 AM
this bcop thing is confusing me. Several of the plugins for 0.50 require it like tile, but at least the one I got from the snapthot of the gitweb.beryl-project.org doesn't seem to work as described.. or at all that I can tell. There is no -g option in the thing, and the --source= option didn't work either. It doesn't seem to do anything...
maniac
April 20th, 2007, 10:53 AM
this bcop thing is confusing me. Several of the plugins for 0.50 require it like tile, but at least the one I got from the snapthot of the gitweb.beryl-project.org doesn't seem to work as described.. or at all that I can tell. There is no -g option in the thing, and the --source= option didn't work either. It doesn't seem to do anything...
Well, I understand you're confused ;)
The problem is that BCOP is a bit in flux at the moment due to some Compiz core changes concerning metadata for plugins. That's why BCOP has been rewritten in XSLT, and that's why BCOP doesn't generate Gconf schemas at the moment. To generate Gconf schemas, you would need that snapshot (http://gitweb.beryl-project.org/?p=compcomm/libraries/bcop;a=snapshot;h=0320d3fb385f3350029ac7463c244423 4c960e92).
xanas3712
April 20th, 2007, 12:25 PM
this bcop thing is confusing me. Several of the plugins for 0.50 require it like tile, but at least the one I got from the snapthot of the gitweb.beryl-project.org doesn't seem to work as described.. or at all that I can tell. There is no -g option in the thing, and the --source= option didn't work either. It doesn't seem to do anything...
Well, I understand you're confused ;)
The problem is that BCOP is a bit in flux at the moment due to some Compiz core changes concerning metadata for plugins. That's why BCOP has been rewritten in XSLT, and that's why BCOP doesn't generate Gconf schemas at the moment. To generate Gconf schemas, you would need that snapshot (http://gitweb.beryl-project.org/?p=compcomm/libraries/bcop;a=snapshot;h=0320d3fb385f3350029ac7463c244423 4c960e92).
Thanks. I had tried one of the other prior snapshots but not the right one apparently.
lagorgy
April 23rd, 2007, 07:37 AM
Hi,
Just wanted to say that most of the plugins don't work with current git, anyone maintaining them?
maniac
April 23rd, 2007, 08:18 AM
Hi,
Just wanted to say that most of the plugins don't work with current git, anyone maintaining them?
Can you specify "most of the plugins" a bit more detailed?
The GIT (working with Compiz GIT versions) for most of the plugins can be found here (http://gitweb.opencompositing.org/?p=compcomm/plugins/beryl-premerge;a=summary). Animation is here (http://gitweb.opencompositing.org/?p=compcomm/plugins/animation;a=summary), winrules is here (http://gitweb.opencompositing.org/?p=compcomm/plugins/winrules;a=summary).
lagorgy
April 23rd, 2007, 03:52 PM
Hi,
Just wanted to say that most of the plugins don't work with current git, anyone maintaining them?
Can you specify "most of the plugins" a bit more detailed?
The GIT (working with Compiz GIT versions) for most of the plugins can be found here (http://gitweb.opencompositing.org/?p=compcomm/plugins/beryl-premerge;a=summary). Animation is here (http://gitweb.opencompositing.org/?p=compcomm/plugins/animation;a=summary), winrules is here (http://gitweb.opencompositing.org/?p=compcomm/plugins/winrules;a=summary).
i tried using beryl-premerge plugins but i cant make them, im not in my pc right now, ill post the error later. Animation from git does work. The plugins im trying to use are: showdesktop, put, widget.
bijoux
April 24th, 2007, 06:44 PM
Maniac,
Please update beryl-premerge plugins to work with current git.
Thanks
maniac
April 25th, 2007, 07:54 AM
Maniac,
Please update beryl-premerge plugins to work with current git.
Thanks
Actually, the GIT version of them does work with current GIT (at least here ;) ) - you just have to make sure that you always have the latest BCOP.
fldc
April 28th, 2007, 09:09 PM
I want an updated build of widget for git ;)
Treviño
May 3rd, 2007, 05:55 AM
If this can help, take this patch that ports *some* (those not available at compcomm git) extra plugins to actual git:
extra-plugins-from-20070417-to-20070503.patch
diff -ru /tmp/extra-plugins/bs/bs.c compiz-plugins/bs/bs.c
--- /tmp/extra-plugins/bs/bs.c 2007-04-06 14:44:25.000000000 +0200
+++ compiz-plugins/bs/bs.c 2007-05-04 11:38:28.000000000 +0200
@@ -292,8 +292,6 @@
o = &bd->opt[BS_DISPLAY_OPTION_SATURATION_INCREASE];
o->name = "saturation_increase";
- o->shortDesc = N_("Increase Saturation");
- o->longDesc = N_("Increase Saturation");
o->type = CompOptionTypeAction;
o->value.action.initiate = increaseSaturation;
o->value.action.terminate = 0;
@@ -308,8 +306,6 @@
o = &bd->opt[BS_DISPLAY_OPTION_SATURATION_DECREASE];
o->name = "saturation_decrease";
- o->shortDesc = N_("Decrease Saturation");
- o->longDesc = N_("Decrease Saturation");
o->type = CompOptionTypeAction;
o->value.action.initiate = decreaseSaturation;
o->value.action.terminate = 0;
@@ -324,8 +320,6 @@
o = &bd->opt[BS_DISPLAY_OPTION_BRIGHTNESS_INCREASE];
o->name = "brightness_increase";
- o->shortDesc = N_("Increase Brightness");
- o->longDesc = N_("Increase Brightness");
o->type = CompOptionTypeAction;
o->value.action.initiate = increaseBrightness;
o->value.action.terminate = 0;
@@ -340,8 +334,6 @@
o = &bd->opt[BS_DISPLAY_OPTION_BRIGHTNESS_DECREASE];
o->name = "brightness_decrease";
- o->shortDesc = N_("Decrease Brightness");
- o->longDesc = N_("Decrease Brightness");
o->type = CompOptionTypeAction;
o->value.action.initiate = decreaseBrightness;
o->value.action.terminate = 0;
@@ -400,8 +392,6 @@
o = &bs->opt[BS_SCREEN_OPTION_BRIGHTNESS_STEP];
o->name = "brightness_step";
- o->shortDesc = N_("Brightness Step");
- o->longDesc = N_("Brightness change step");
o->type = CompOptionTypeInt;
o->value.i = BS_BRIGHTNESS_STEP_DEFAULT;
o->rest.i.min = BS_BRIGHTNESS_STEP_MIN;
@@ -409,8 +399,6 @@
o = &bs->opt[BS_SCREEN_OPTION_SATURATION_STEP];
o->name = "saturation_step";
- o->shortDesc = N_("Saturation Step");
- o->longDesc = N_("Saturation change step");
o->type = CompOptionTypeInt;
o->value.i = BS_SATURATION_STEP_DEFAULT;
o->rest.i.min = BS_SATURATION_STEP_MIN;
@@ -418,9 +406,6 @@
o = &bs->opt[BS_SCREEN_OPTION_SATURATION_MATCHES];
o->name = "saturation_matches";
- o->shortDesc = N_("Saturation windows");
- o->longDesc = N_("Windows that should have a different "
- "saturation by default");
o->type = CompOptionTypeList;
o->value.list.type = CompOptionTypeMatch;
o->value.list.nValue = 0;
@@ -430,8 +415,6 @@
o = &bs->opt[BS_SCREEN_OPTION_SATURATION_VALUES];
o->name = "saturation_values";
- o->shortDesc = N_("Saturation window values");
- o->longDesc = N_("Saturation values for windows");
o->type = CompOptionTypeList;
o->value.list.type = CompOptionTypeInt;
o->value.list.nValue = 0;
@@ -441,9 +424,6 @@
o = &bs->opt[BS_SCREEN_OPTION_BRIGHTNESS_MATCHES];
o->name = "brightness_matches";
- o->shortDesc = N_("Brightness windows");
- o->longDesc = N_("Windows that should have a different "
- "brightness by default");
o->type = CompOptionTypeList;
o->value.list.type = CompOptionTypeMatch;
o->value.list.nValue = 0;
@@ -453,9 +433,6 @@
o = &bs->opt[BS_SCREEN_OPTION_BRIGHTNESS_VALUES];
o->name = "brightness_values";
- o->shortDesc = N_("Brightness window values");
- o->longDesc = N_("Brightness values for windows");
- o->type = CompOptionTypeList;
o->value.list.type = CompOptionTypeInt;
o->value.list.nValue = 0;
o->value.list.value = NULL;
@@ -686,9 +663,8 @@
CompPluginVTable BSVTable = {
"bs",
- N_("Brightness and Saturation"),
- N_("Brightness and Saturation adjustments"),
BSGetVersion,
+ 0, /* GetMetadata */
BSInit,
BSFini,
BSInitDisplay,
diff -ru /tmp/extra-plugins/desktopclick/desktopclick.c compiz-plugins/desktopclick/desktopclick.c
--- /tmp/extra-plugins/desktopclick/desktopclick.c 2007-04-14 18:35:00.000000000 +0200
+++ compiz-plugins/desktopclick/desktopclick.c 2007-05-04 11:38:28.000000000 +0200
@@ -147,8 +147,6 @@
o = &dd->opt[DESKTOPCLICK_DISPLAY_OPTION_MAINMENU];
o->name = "mainmenu";
- o->shortDesc = _("Show Main Menu");
- o->longDesc = _("Show the Main Menu");
o->type = CompOptionTypeAction;
o->value.action.initiate = desktopclickMainmenu;
o->value.action.terminate = NULL;
@@ -265,9 +263,8 @@
CompPluginVTable desktopclickVTable = {
"desktopclick",
- N_("Desktopclick"),
- N_("Captures clicks on the desktop and maps them to actions"),
desktopclickGetVersion,
+ 0, /* GetMetadata */
desktopclickInit,
desktopclickFini,
desktopclickInitDisplay,
diff -ru /tmp/extra-plugins/fakeargb/fakeargb.c compiz-plugins/fakeargb/fakeargb.c
--- /tmp/extra-plugins/fakeargb/fakeargb.c 2007-04-03 04:27:26.000000000 +0200
+++ compiz-plugins/fakeargb/fakeargb.c 2007-05-04 11:38:28.000000000 +0200
@@ -212,8 +212,6 @@
o = &fd->opt[FAKE_DISPLAY_OPTION_TOGGLE];
o->name = "window_toggle";
- o->shortDesc = N_("Toggle Window Fake ARGB");
- o->longDesc = N_("Toggle Window Fake ARGB.");
o->type = CompOptionTypeAction;
o->value.action.initiate = fakeToggle;
o->value.action.terminate = 0;
@@ -385,9 +383,8 @@
CompPluginVTable fakeVTable = {
"fakeargb",
- N_("Color opacity"),
- N_("Alter window opacity based on color."),
fakeGetVersion,
+ 0, /* GetMetadata */
fakeInit,
fakeFini,
fakeInitDisplay,
diff -ru /tmp/extra-plugins/flash/flash.c compiz-plugins/flash/flash.c
--- /tmp/extra-plugins/flash/flash.c 2007-04-03 04:28:17.000000000 +0200
+++ compiz-plugins/flash/flash.c 2007-05-04 11:38:28.000000000 +0200
@@ -199,8 +199,6 @@
o = &fs->opt[FLASH_SCREEN_OPTION_WINDOW_TYPE];
o->name = "window_types";
- o->shortDesc = N_("Window Types");
- o->longDesc = N_("The window types that will be considered.");
o->type = CompOptionTypeList;
o->value.list.type = CompOptionTypeString;
o->value.list.nValue = N_WIN_TYPE;
@@ -792,8 +790,6 @@
o = &fd->opt[FLASH_DISPLAY_OPTION_INITIATE];
o->name = "initiate";
- o->shortDesc = N_("Initiate");
- o->longDesc = N_("Start flash");
o->type = CompOptionTypeAction;
o->value.action.initiate = flashInitiate;
o->value.action.terminate = 0;
@@ -807,8 +803,6 @@
o = &fd->opt[FLASH_DISPLAY_OPTION_DISTANCE_MAX];
o->name = "distance_max";
- o->shortDesc = N_("Distance max");
- o->longDesc = N_("Distance max between pointer and active window.");
o->type = CompOptionTypeInt;
o->value.i = FLASH_DISPLAY_OPTION_DISTANCE_MAX_DEFAULT;
o->rest.i.min = 50;
@@ -816,8 +810,6 @@
o = &fd->opt[FLASH_DISPLAY_OPTION_ECART_MAX];
o->name = "ecart_max";
- o->shortDesc = N_("Digression max");
- o->longDesc = N_("Digression max between pointer's projection and lightning's impact.");
o->type = CompOptionTypeInt;
o->value.i = FLASH_DISPLAY_OPTION_ECART_MAX_DEFAULT;
o->rest.i.min = 0;
@@ -826,8 +818,6 @@
o = &fd->opt[FLASH_DISPLAY_OPTION_INTERVAL];
o->name = "interval";
- o->shortDesc = N_("Minimum interval between two lightning");
- o->longDesc = N_("Interval in milliseconde between two lightning");
o->type = CompOptionTypeInt;
o->value.i = FLASH_DISPLAY_OPTION_INTERVAL_DEFAULT;
o->rest.i.min = 0;
@@ -836,8 +826,6 @@
o = &fd->opt[FLASH_DISPLAY_OPTION_TIME];
o->name = "time";
- o->shortDesc = N_("Time of lightnings");
- o->longDesc = N_("Time in milliseconde of lightnings");
o->type = CompOptionTypeInt;
o->value.i = FLASH_DISPLAY_OPTION_TIME_DEFAULT;
o->rest.i.min = 50;
@@ -847,8 +835,6 @@
o = &fd->opt[FLASH_DISPLAY_OPTION_COLOR_UP_LEFT];
o->name = "flash_color_up_left";
- o->shortDesc = N_("Side of lightnings color");
- o->longDesc = N_("Lightning color.");
o->type = CompOptionTypeColor;
o->value.c[0] = FLASH_DISPLAY_OPTION_COLOR_UP_LEFT_RED_DEFAULT;
o->value.c[1] = FLASH_DISPLAY_OPTION_COLOR_UP_LEFT_GREEN_DEFAULT;
@@ -858,8 +844,6 @@
o = &fd->opt[FLASH_DISPLAY_OPTION_COLOR_CENTER];
o->name = "flash_color_center";
- o->shortDesc = N_("Middle of lightnings color");
- o->longDesc = N_("Lightning color.");
o->type = CompOptionTypeColor;
o->value.c[0] = FLASH_DISPLAY_OPTION_COLOR_CENTER_RED_DEFAULT;
o->value.c[1] = FLASH_DISPLAY_OPTION_COLOR_CENTER_GREEN_DEFAULT;
@@ -869,8 +853,6 @@
o = &fd->opt[FLASH_DISPLAY_OPTION_COLOR_DOWN_RIGHT];
o->name = "flash_color_down_right";
- o->shortDesc = N_("The other side of lightnings color");
- o->longDesc = N_("Lightning color.");
o->type = CompOptionTypeColor;
o->value.c[0] = FLASH_DISPLAY_OPTION_COLOR_UP_LEFT_RED_DEFAULT;
o->value.c[1] = FLASH_DISPLAY_OPTION_COLOR_UP_LEFT_GREEN_DEFAULT;
@@ -1056,9 +1038,8 @@
*/
CompPluginVTable flashVTable = {
"flash",
- N_("Flash - An electric storm in your display"),
- N_("Flash - Oh my God! There is a very big electric storm!!!"),
flashGetVersion,
+ 0, /* GetMetadata */
flashInit,
flashFini,
flashInitDisplay,
diff -ru /tmp/extra-plugins/kiosk/kiosk.c compiz-plugins/kiosk/kiosk.c
--- /tmp/extra-plugins/kiosk/kiosk.c 2007-04-09 18:45:39.000000000 +0200
+++ compiz-plugins/kiosk/kiosk.c 2007-05-04 11:38:28.000000000 +0200
@@ -107,8 +107,6 @@
o = &kd->opt[KIOSK_DISPLAY_OPTION_INITIATE];
o->name = "initiate";
- o->shortDesc = N_("Make window fullscreen");
- o->longDesc = N_("Make the active window go into fullscreen mode");
o->type = CompOptionTypeAction;
o->value.action.initiate = kioskInitiate;
o->value.action.terminate = 0;
@@ -191,9 +189,8 @@
CompPluginVTable kioskVTable = {
"kiosk",
- "Kiosk mode for certain apps",
- "Adds a shortcut to switch any app to fullscreen",
kioskGetVersion,
+ 0, /* GetMetadata */
kioskInit,
kioskFini,
kioskInitDisplay,
diff -ru /tmp/extra-plugins/mousegestures/mousegestures.c compiz-plugins/mousegestures/mousegestures.c
--- /tmp/extra-plugins/mousegestures/mousegestures.c 2007-04-03 16:07:08.000000000 +0200
+++ compiz-plugins/mousegestures/mousegestures.c 2007-05-04 11:38:28.000000000 +0200
@@ -431,8 +431,6 @@
o = &md->opt[MOUSEGESTURES_DISPLAY_OPTION_INITIATE];
o->name = "initiate";
- o->shortDesc = N_("Initiate");
- o->longDesc = N_("Initiate the gesture");
o->type = CompOptionTypeAction;
o->value.action.initiate = mousegesturesInitiate;
o->value.action.terminate = mousegesturesTerminate;
@@ -445,8 +443,6 @@
o = &md->opt[MOUSEGESTURES_DISPLAY_OPTION_ACTIONS];
o->name = "actions";
- o->shortDesc = N_("List of mouse gestures");
- o->longDesc = N_("List of mouse gestures");
o->type = CompOptionTypeList;
o->value.list.type = CompOptionTypeString;
o->value.list.nValue = N_GESTURES;
@@ -530,9 +526,8 @@
CompPluginVTable mousegesturesVTable = {
"mousegestures",
- "Mouse gestures",
- "Use quick strokes of your mouse to initiate any compiz action",
mousegesturesGetVersion,
+ 0, /* GetMetadata */
mousegesturesInit,
mousegesturesFini,
mousegesturesInitDisplay,
diff -ru /tmp/extra-plugins/quickchange/quickchange.c compiz-plugins/quickchange/quickchange.c
--- /tmp/extra-plugins/quickchange/quickchange.c 2007-04-03 04:33:25.000000000 +0200
+++ compiz-plugins/quickchange/quickchange.c 2007-05-04 11:38:28.000000000 +0200
@@ -142,8 +142,6 @@
o = &qd->opt[QUICKCHANGE_DISPLAY_OPTION_CUBE_SIZE_UP];
o->name = "cube_size_up";
- o->shortDesc = N_("Increase cube horizontal size (ie. number of faces)");
- o->longDesc = N_("Increase cube horizontal size (ie. number of faces)");
o->type = CompOptionTypeAction;
o->value.action.initiate = quickchangeCubeHSizeUp;
o->value.action.terminate = FALSE;
@@ -156,8 +154,6 @@
o = &qd->opt[QUICKCHANGE_DISPLAY_OPTION_CUBE_SIZE_DOWN];
o->name = "cube_size_down";
- o->shortDesc = N_("Decrease cube horizontal size (ie. number of faces)");
- o->longDesc = N_("Decrease cube horizontal size (ie. number of faces)");
o->type = CompOptionTypeAction;
o->value.action.initiate = quickchangeCubeHSizeDown;
o->value.action.terminate = FALSE;
@@ -229,9 +225,8 @@
CompPluginVTable quickchangeVTable = {
"quickchange",
- "Allows you to quickly change compiz settings with shortcuts",
- "Allows settings to be changed without breaking out the settings manager",
quickchangeGetVersion,
+ 0, /* GetMetadata */
quickchangeInit,
quickchangeFini,
quickchangeInitDisplay,
diff -ru /tmp/extra-plugins/screensaver/screensaver.c compiz-plugins/screensaver/screensaver.c
--- /tmp/extra-plugins/screensaver/screensaver.c 2007-04-03 16:10:22.000000000 +0200
+++ compiz-plugins/screensaver/screensaver.c 2007-05-04 11:38:28.000000000 +0200
@@ -528,8 +528,6 @@
o = &sd->opt[SCREENSAVER_OPTION_NUM_MODE];
o->name = "mode";
- o->shortDesc = N_("Screensaver Mode");
- o->longDesc = N_("Select a screensaver mode.\nThis option is still under development, anyone know what dancing windows could be?");
o->type = CompOptionTypeString;
o->value.s =
strdup(saverModes[SCREENSAVER_OPTION_MODE_DEFAULT]);
@@ -539,8 +537,6 @@
o = &sd->opt[SCREENSAVER_OPTION_NUM_DELAY];
o->name = "delay";
- o->shortDesc = N_("Delay");
- o->longDesc = N_("The delay between two actions (two rotate commands).\nChoose a time in ms between 100 and 10000 (= 10 sec)");
o->type = CompOptionTypeInt;
o->value.i = SCREENSAVER_OPTION_DELAY_DEFAULT;
o->rest.i.min = SCREENSAVER_OPTION_DELAY_MIN;
@@ -549,8 +545,6 @@
o = &sd->opt[SCREENSAVER_OPTION_NUM_HOTKEY];
o->name = "hotkey";
- o->shortDesc = N_("The Screensaver hotkey");
- o->longDesc = N_("Define a hotkey which initate the screensaver");
o->type = CompOptionTypeAction;
o->value.action.initiate = saverToggleInite;
o->value.action.terminate = 0;
@@ -566,45 +560,33 @@
o = &sd->opt[SCREENSAVER_OPTION_NUM_SLOW];
o->name = "slow_mode";
- o->shortDesc = N_("Use Slow-Mode");
- o->longDesc = N_("Use Slow-Mode while rotate the cube, the same as Shift+F10");
o->type = CompOptionTypeBool;
o->value.b = SCREENSAVER_OPTION_SLOW_DEFAULT;
o = &sd->opt[SCREENSAVER_OPTION_NUM_NEG];
o->name = "negative";
- o->shortDesc = N_("Use Negative");
- o->longDesc = N_("Negative the Cube randomly.\nMake sure that the neg plugin is active");
o->type = CompOptionTypeBool;
o->value.b = SCREENSAVER_OPTION_NEG_DEFAULT;
o = &sd->opt[SCREENSAVER_OPTION_NUM_RAIN];
o->name = "rain";
- o->shortDesc = N_("Use Rain");
- o->longDesc = N_("Activate the rain plugin.\nMake sure that the water plugin is active");
o->type = CompOptionTypeBool;
o->value.b = SCREENSAVER_OPTION_NEG_DEFAULT;
o = &sd->opt[SCREENSAVER_OPTION_NUM_SNOW];
o->name = "snow";
- o->shortDesc = N_("Use Snow");
- o->longDesc = N_("Activate the snow plugin.\nMake sure that the snow plugin is active");
o->type = CompOptionTypeBool;
o->value.b = SCREENSAVER_OPTION_NEG_DEFAULT;
o = &sd->opt[SCREENSAVER_OPTION_NUM_TRANS];
o->name = "trans";
- o->shortDesc = N_("Use Transparenz (Experimental)");
- o->longDesc = N_("Activate the cube transparenz.\nNot stable, yet.");
o->type = CompOptionTypeBool;
o->value.b = SCREENSAVER_OPTION_TRANS_DEFAULT;
o = &sd->opt[SCREENSAVER_OPTION_NUM_NEG_RAND];
o->name = "neg_rand";
- o->shortDesc = N_("Neg Rand");
- o->longDesc = N_("Choose the probability for negtive the cube.\n1 = 1/1 | 2 = 1/2 | 3 = 1/3 ... 10 = 1/10");
o->type = CompOptionTypeInt;
o->value.i = SCREENSAVER_OPTION_NEG_RAND_DEFAULT;
o->rest.i.min = SCREENSAVER_OPTION_NEG_RAND_MIN;
@@ -613,16 +595,12 @@
#ifndef NO_X_EXTENSION
o = &sd->opt[SCREENSAVER_OPTION_NUM_IDLETIMER];
o->name = "idle_timer";
- o->shortDesc = N_("Idle Timer");
- o->longDesc = N_("Uncheck this option to deactivate the Idle timer (same as 0 in IdleTimer)");
o->type = CompOptionTypeBool;
o->value.b = SCREENSAVER_OPTION_IDLETIMER_DEFAULT;
o = &sd->opt[SCREENSAVER_OPTION_NUM_IDLE];
o->name = "idle_time";
- o->shortDesc = N_("Idle time");
- o->longDesc = N_("Choose a time in min between 0(=never ativate) and 60,\nafter this time (without user_input) the screensaver is activated");
o->type = CompOptionTypeInt;
o->value.i = SCREENSAVER_OPTION_IDLE_DEFAULT;
o->rest.i.min = SCREENSAVER_OPTION_IDLE_MIN;
@@ -631,16 +609,12 @@
o = &sd->opt[SCREENSAVER_OPTION_NUM_IGNORE_TOP_BOTTOM];
o->name = "prevent";
- o->shortDesc = N_("Prevent from flip to top or bottom");
- o->longDesc = N_("By activating this option will make the cube flip only to the sides\not to the top or to the bottom");
o->type = CompOptionTypeBool;
o->value.b = SCREENSAVER_OPTION_IGNORE_TOP_BOTTOM_DEFAULT;
o = &sd->opt[SCREENSAVER_OPTION_NUM_STARTUP];
o->name = "startup";
- o->shortDesc = N_("Startup Action");
- o->longDesc = N_("This command will execute on startup\nExample: xwinwrap -ni -argb -fs -s -st -sp -a -nf