Projects/KNS2/Layout: Difference between revisions
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
== Main == | == Main == | ||
KNewStuff 2 will have all its files in one dir, one for each app using it. Default will be (on unix sys) ~/.kde/share/apps/<appname>/newstuff/ | KNewStuff 2 will have all its files in one dir, one for each app using it. Default will be (on unix sys) ~/.kde/share/apps/<appname>/newstuff/ | ||
To initialize it call [[../Bundler|Bundler::initLayout(KUrl dir)]]; | |||
== Layout == | == Layout == |
Revision as of 09:49, 14 March 2007
Warning
Things you see here are work in progress. Please don't trust them.
Main
KNewStuff 2 will have all its files in one dir, one for each app using it. Default will be (on unix sys) ~/.kde/share/apps/<appname>/newstuff/
To initialize it call Bundler::initLayout(KUrl dir);
Layout
The following layout will be used:
- newstuff/ <-- Note: this name may change
- May we store here infos/configs that applies appwide?
- $packageName-$packageVersion/
- metadata file (see the packager section for additional informations)
- (optional) Icon
- (optional) Release notes for package
- $packageName/
- <package content>
- $packageName2-$packageVersion2/
- metadata file
- (optional) Icon
- (optional) Release notes for package2
- $packageName2/
- <package2 content>
- ...