< Projects | KNS2Revision as of 09:14, 15 March 2007 by Ruphy (talk | contribs)(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff) 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 KStandardDirs::locate("appdata", "addons"). To initialize it call Handler::initLayout(); NOTE: .desktop (metadata) files will be copied in $KDEHOME/services/. You can use KTrader to locate them. They will be namespaced this way: $appname-$pkgname-$pkgversion-addon.desktop Packages will be renamed as: $pkgname-$pkgversion.kns And the file containing release notes will be called $pkgname-$pkgversion.txt Layout The following layout will be used: addons/ <-- Note: this name may change installed-list <-- List of installed packages? 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/ $file1 ... $packageName2-$packageVersion2/ metadata file (optional) Icon (optional) Release notes for package2 $package2Name/ $file1 ... Packages/ package.kns package2.kns ... Retrieved from "https://techbase.kde.org/index.php?title=Projects/KNS2/Layout&oldid=9154" Content is available under Creative Commons License SA 4.0 unless otherwise noted.