Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
CodePacks Plugin
JGM:
Well, since none of the codeblocks developer has said anything about this then I will start the analysis to develop the plugin.
JGM:
The power went down at the job, so without computer took a paper and pencil and here is what i got for a respository:
examplerepo.com/therepo
files inside "therepo":
repository.xml
==Begin Content==
<repository>
<info>
<name />
<maintainer />
<description />
<website />
<email />
</info>
<available_platforms>
<platform name="string" distribution_based="yes,no" distribution="string" version="string" id="string" directory_name="string" />
</available_platforms>
<available_compilers>
<compiler name="string" id="string" version="string" platform_id="string" dir_name="string" />
</available_compilers>
</repository>
==end Content==
catalog.xml
==Begin Content==
<libraries>
<library name="string" platform_id="string" version="string" compiler_id="string" static="yes,no" dynamic="yes,no" />
</libraries>
==End Content==
Folders:
include
docs
plataform/plataform_available/libraries
lib file name:
name-version-staticORdynamic-compilerID-plataformID.ext
doc file name
name-version-doc.ext
include pack name
name-version-includes.ext
Well that's just a starting that popped on my head, maybe i could copy the synaptic way of doing it. Any suggestions or help welcome :wink:
JGM:
forgot the categories, it should be something like:
catalog.xml
==Begin Content==
<libraries>
<category_one>
<library name="string" platform_id="string" version="string" compiler_id="string" static="yes,no" dynamic="yes,no" />
</category_one>
<category_two>
<library name="string" platform_id="string" version="string" compiler_id="string" static="yes,no" dynamic="yes,no" />
</category_two>
</libraries>
==End Content==
MortenMacFly:
--- Quote from: JGM on January 13, 2008, 10:55:55 pm ---Well, since none of the codeblocks developer has said anything about this then I will start the analysis to develop the plugin.
--- End quote ---
This is possibly because it's not very likely I (we) would be the main stakeholders and users. I for myself have never used the DevPak plugin as I don't like the DevPak structure and up-to-dateness and would like to have libs "installed" my way. So I do it manually.
But please: If such a plugin would make it easier to install a (DevPak) library then the current approach (which I don't really know) - that's fine with me! Such a plugin would definitely be a nice and welcome contribution. Go ahead then! :-)
With regards, Morten.
JGM:
--- Quote from: MortenMacFly on January 17, 2008, 01:16:05 pm ---This is possibly because it's not very likely I (we) would be the main stakeholders and users.
--- End quote ---
I'm going to do it like ubuntu repos so anyone can create a library repository, and the user just add it to library sources, so maybe wxwidgets.org mantainers could create an official codepacks repo that will be displayed on the list as GUI.
--- Quote from: MortenMacFly on January 17, 2008, 01:16:05 pm ---I for myself have never used the DevPak plugin as I don't like the DevPak structure and up-to-dateness and would like to have libs "installed" my way. So I do it manually.
--- End quote ---
How do you describe does deficiencies?
--- Quote from: MortenMacFly on January 17, 2008, 01:16:05 pm ---But please: If such a plugin would make it easier to install a (DevPak) library then the current approach (which I don't really know)
--- End quote ---
That's what I want to accomplish, I remember when I didn't even know how to compile a dll, I just kept hitting my head with the wall, like what defines I need to compile on windows mode or linux? how to compile with that compiler? So for a new programmer it would be a nice feature and for people that want things fast. Also it is a nice feature to let know the programmers all the open source tools available out there. So I want it to be as much user friendly as possible, as configure the project automatically for compiling with the selected library, checking for updates, searching... Like ubuntu or debian synaptics does, but focused on programming libraries, and well categorized, also keeping the feature of multiple compilers, to not attach the user to a specific compiler or platform.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version