Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
[Linux] Moving arch-dependent plugins out of /usr/share
TheTuxKeeper:
Hi,
since few weeks the openSUSE Buildservice, which I use to build packages, checks LSB/FHS-compatibility and rejects the build with too many violations (only for opensuse 11.0 and current dev). So some builds failed because of the plugin binaries in /usr/share/codeblocks/plugins since usr/share is only for arch-independent things.
Today i finished the changes for this.
My changes:
* I had to change all plugin makefiles and rename the destination variable (libdir -> pluginlibdir), because i got a recursive variable ... error.
* added a new path variable to the configmanager (plugin_path_global), added the initialisation and changed the return value somewhere
* changes for the spec file and for debian
There are some things I'm not sure about:
* Is the initilisation of plugin_path_global also working on windows and os x? i just set it to data_path_global
* I moved the plugin path to /usr/lib/codeblocks/plugins, perhaps /usr/lib/codeblocks is better/enough?
EDIT:
Here's the complete patch (updated with changes for debian):
[ Patch #2529 ] patch to move plugins to /usr/lib/codeblocks/plugins
Thanks for testing and for all comments :)
SharkCZ:
I have done something similar for the Fedora packages, details are at http://cvs.fedoraproject.org/viewcvs/rpms/codeblocks/devel/. I think that a better place, where to report, is the bug tracker at Berlios.
TheTuxKeeper:
Yeah, right. The bugtracker is a better place. But since I'm not sure that everything is correct, i didn't want it to post there.
Will do the changes for debian too (forgot this) and then post it in the bugtracker. :)
SharkCZ:
Thanks and after you will submit the bug, please post its link here too.
Jenna:
--- Quote from: daniel2000 on July 15, 2008, 11:04:11 am ---Yeah, right. The bugtracker is a better place. But since I'm not sure that everything is correct, i didn't want it to post there.
Will do the changes for debian too (forgot this) and then post it in the bugtracker. :)
--- End quote ---
If you have already done the changes for debian, it would be nice if you can post the patch, or send it to me via email.
Otherwise I will start patching the code I use for my repo to move the plugins libs away.
I think the subdir "plugins" should remain, because otherwise it looks like they belong to C::B's core libraries.
If I will have changed the "Makefile.am"s etc. and everything works for me, I will upload a patched version to my repo.
But I will not be at home the next week (no holidays, just work), that will not happen before next weekend, because I will not be able to react if problems occur during the next week.
EDIT:
There will be some more to do, at least split the packages into arch-dependen and arch-independend ones.
Navigation
[0] Message Index
[#] Next page
Go to full version