Get Hot New Stuff in Krita/KOffice

Parker Coates parker.coates at kdemail.net
Thu Apr 8 14:47:18 CEST 2010


On Thu, Apr 8, 2010 at 03:37, Boudewijn Rempt wrote:
> Yesterday I followed the excellent techbase instructions and added GHNS
> download and upload to Krita. There are a couple of issues I didn't manage to
> solve or that might be unavailable though:
>
> Apparently there can be only one knsrc configuration file per application,
> which means all resource types and all their subcategories are in one huge
> flat list.

That isn't actually true. KNS3 defaults to using <appname>.knsrc, but
one can manually specify the filename as well. See [1] for a simple
example.

> In Krita and KOffice we have a lot of different types of resources we'd like
> to share and which go into different resource directories. Those resources are
> partly specified in the Create resources spec
> (http://create.freedesktop.org/wiki/index.php?title=Shared_resources&oldid=313)
> and partly app-specific. Examples are brushes, brush presets, patterns,
> palettes, backgrounds, templates.
>
> These resources can be categorized, and we're working on tagging
> (http://create.freedesktop.org/wiki/ResourceTagging). So, when showing the
> GHNS dialog for brush presets, we'd like to only show the presets for the
> current brush engine, and then categorized using tags like 'natural', 'weird',
> 'wet' -- etc.

In its current incarnation, KNS3 doesn't support the concepts of
tagging, subcategories or placing a single resource in multiple
categories. If you want to add this to KOffice, I'm guessing you'll
have to reimplement at least part of the KNS3 stack.

Parker

[1] http://lxr.kde.org/source/KDE/kdegames/kpat/libkcardgame/kcardthemewidget.cpp#330


More information about the kimageshop mailing list