Moving code into the kdevplatform module

Matt Rogers mattr at kde.org
Sun Jun 3 02:08:58 UTC 2007


On Jun 2, 2007, at 5:11 PM, Andreas Pakulat wrote:

> On 24.05.07 16:15:58, Matt Rogers wrote:
>> Hi,
>>
>> This thread is to start the discussion of how to move the stuff in  
>> the
>> platform (mostly the lib directory) out of kdevelop and into the  
>> platform
>> module.
>>
>> Right now, the main option seems to be to just wholesale move  
>> kdevelop/lib
>> into kdevplatform. Although it works, I dislike this approach.  
>> Instead, I
>> suggest the following:
>>
>> Create two subdirectories under kdevplatform:
>>  - src
>>  - plugins
>>
>> The src directory will contain the contents of the current lib  
>> directory minus
>> the plugins subdirectory.
>>
>> The plugins directory will contain the contents of the current lib/ 
>> plugins
>> directory.
>>
>> Thoughts? Other suggestions?
>
> One or two things that just crossed my mind (while making a plan):
>
> a) naming for the installation dir
> I'm leaning towards using <includedir>/kdevplatform/<sublib> and also
> <datadir>/kdevplatform/<module> (in case of .desktop or rc files, if
> any)
>

sounds fine.

> b) pics
> Shall pictures from pics/ be also moved to the platform for those  
> things
> that the platform provides actions for?
>
> Andreas
>

If an action on the platform needs an icon, it should stay with the  
platform.
--
Matt






More information about the KDevelop-devel mailing list