app: add base classes for the extension manager.
commitb70424b20a5d923ecfcd204f0507e6b4a351ed75
authorJehan <jehan@girinstud.io>
Sun, 1 Jul 2018 07:10:54 +0000 (1 09:10 +0200)
committerJehan <jehan@girinstud.io>
Mon, 2 Jul 2018 19:16:14 +0000 (2 21:16 +0200)
tree1109ccfc9355625040aa1aa71bca8d5b19edcc48
parent9c05f103689696d3bc6e98e5e43501e20bb19787
app: add base classes for the extension manager.

Right now it only loads AppStream data, which is completely useless, yet
is a base of a managed extension system. Having proper metadata is what
will allow to actually know what is installed.
This is only the first draft.

Note that I am not adding the extension path into GimpCoreConfig on
purpose, since the point is not to have people manage their extension
directories manually anymore.
The extensions will be loaded from the build-time system path or the
config directory, and that's all.
What will probably be stored in the config though will be the remote
repositories URLs (allowing third-party extension repositories).
12 files changed:
app/Makefile.am
app/core/Makefile.am
app/core/core-types.h
app/core/gimp.c
app/core/gimp.h
app/core/gimpextension-error.c [new file with mode: 0644]
app/core/gimpextension-error.h [new file with mode: 0644]
app/core/gimpextension.c [new file with mode: 0644]
app/core/gimpextension.h [new file with mode: 0644]
app/core/gimpextensionmanager.c [new file with mode: 0644]
app/core/gimpextensionmanager.h [new file with mode: 0644]
configure.ac