From 7cd388558f49166b7df2811fdf649e93230017b5 Mon Sep 17 00:00:00 2001 From: Tadao Tanikawa Date: Wed, 3 Jan 2018 02:39:23 +0900 Subject: Initial import of QtAGLExtras Qt AGLExtras module provides a set of easy to create AGL Qt application. It uses the AGL HMI and application framework, therefore the application can be easily integrated to AGL HomeScreen/WindowManager on AGL Demo Platform. Change-Id: I38a47aefcda8ee4ded759d56c5149ebbe22f94a9 Signed-off-by: Tadao Tanikawa --- src/aglextras/aglextras.pro | 13 ++ src/aglextras/aglextrasglobal.h | 20 ++++ src/aglextras/hmi/aglapplication.cpp | 112 +++++++++++++++++ src/aglextras/hmi/aglapplication.h | 48 ++++++++ src/aglextras/hmi/aglapplication_p.h | 42 +++++++ src/aglextras/hmi/aglwindow.cpp | 106 +++++++++++++++++ src/aglextras/hmi/aglwindow.h | 47 ++++++++ src/aglextras/hmi/aglwindow_p.h | 36 ++++++ src/aglextras/hmi/hmi.pri | 9 ++ src/aglextras/hmi/main.cpp | 225 ----------------------------------- src/src.pro | 2 + 11 files changed, 435 insertions(+), 225 deletions(-) create mode 100644 src/aglextras/aglextras.pro create mode 100644 src/aglextras/aglextrasglobal.h create mode 100644 src/aglextras/hmi/aglapplication.cpp create mode 100644 src/aglextras/hmi/aglapplication.h create mode 100644 src/aglextras/hmi/aglapplication_p.h create mode 100644 src/aglextras/hmi/aglwindow.cpp create mode 100644 src/aglextras/hmi/aglwindow.h create mode 100644 src/aglextras/hmi/aglwindow_p.h create mode 100644 src/aglextras/hmi/hmi.pri delete mode 100644 src/aglextras/hmi/main.cpp create mode 100644 src/src.pro (limited to 'src') diff --git a/src/aglextras/aglextras.pro b/src/aglextras/aglextras.pro new file mode 100644 index 0000000..4b013fb --- /dev/null +++ b/src/aglextras/aglextras.pro @@ -0,0 +1,13 @@ +TARGET = QtAGLExtras + +CONFIG += link_pkgconfig +PKGCONFIG += libhomescreen qlibwindowmanager + +QT += quick +QT += core-private + +include(hmi/hmi.pri) + +load(qt_module) + +CONFIG-=create_cmake diff --git a/src/aglextras/aglextrasglobal.h b/src/aglextras/aglextrasglobal.h new file mode 100644 index 0000000..24f23b7 --- /dev/null +++ b/src/aglextras/aglextrasglobal.h @@ -0,0 +1,20 @@ +#ifndef AGLEXTRASGLOBAL_H +#define AGLEXTRASGLOBAL_H + +#include + +QT_BEGIN_NAMESPACE + +#ifndef QT_STATIC +#if defined (QT_BUILD_AGLEXTRAS_LIB) +#define AGLEXTRAS_EXPORT Q_DECL_EXPORT +#else +#define AGLEXTRAS_EXPORT Q_DECL_IMPORT +#endif +#else +#define AGLEXTRAS_EXPORT +#endif + +QT_END_NAMESPACE + +#endif // AGLEXTRASGLOBAL_H diff --git a/src/aglextras/hmi/aglapplication.cpp b/src/aglextras/hmi/aglapplication.cpp new file mode 100644 index 0000000..295c017 --- /dev/null +++ b/src/aglextras/hmi/aglapplication.cpp @@ -0,0 +1,112 @@ +/* + * Copyright (c) 2017 TOYOTA MOTOR CORPORATION + * Copyright (C) 2017 The Qt Company Ltd. + * Copyright (c) 2017 Panasonic Corporation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +#include "aglapplication.h" +#include "aglapplication_p.h" +#include "aglwindow.h" +#include "aglwindow_p.h" + +#include +#include +#include +#include +#include + +QT_BEGIN_NAMESPACE + +AGLApplicationPrivate::AGLApplicationPrivate (AGLApplication*) + : binding_address(new QUrl) +{ + ; +} + +AGLApplicationPrivate::~AGLApplicationPrivate (void) +{ + ; +} + +AGLApplication::AGLApplication (int& argc, char** argv) + : QGuiApplication(argc, argv), + d_ptr(new AGLApplicationPrivate(this)) +{ + setApplicationVersion(QStringLiteral("4.99.5")); + setOrganizationDomain(QStringLiteral("automotivelinux.org")); + setOrganizationName(QStringLiteral("AutomotiveGradeLinux")); + + QCommandLineParser parser; + parser.addPositionalArgument(QLatin1String("port"), + translate("main", "port for binding")); + parser.addPositionalArgument(QLatin1String("secret"), + translate("main", "secret for binding")); + parser.addHelpOption(); + parser.addVersionOption(); + parser.process(*this); + QStringList positionalArguments = parser.positionalArguments(); + + if (positionalArguments.length() < 2) { + return; + } + + d_ptr->port = positionalArguments.takeFirst().toInt(); + d_ptr->secret = positionalArguments.takeFirst(); + + d_ptr->binding_address->setScheme(QStringLiteral("ws")); + d_ptr->binding_address->setHost(QStringLiteral("localhost")); + d_ptr->binding_address->setPort(d_ptr->port); + d_ptr->binding_address->setPath(QStringLiteral("/api")); + + QUrlQuery query; + query.addQueryItem(QStringLiteral("token"), d_ptr->secret); + d_ptr->binding_address->setQuery(query); + + d_ptr->engine = new QQmlApplicationEngine(); + if (!d_ptr->engine) { + qDebug("Cannot initialize QML Engine"); + exit(EXIT_FAILURE); + } + + d_ptr->engine->rootContext()->setContextProperty(QStringLiteral("bindingAddress"), + *d_ptr->binding_address); +} + +void +AGLApplication::load (const QUrl &url) +{ + d_ptr->engine->load(url); +} + +void +AGLApplication::load (const QString &filePath) +{ + d_ptr->engine->load(filePath); +} + +int +AGLApplication::exec (void) +{ + if (d_ptr->window) { + d_ptr->window->attach(d_ptr->engine); + } + return QGuiApplication::exec(); +} + +void AGLApplication::setupApplicationRole (const QString &role) +{ + d_ptr->window = new AGLWindow(role, d_ptr->port, d_ptr->secret); +} + +QT_END_NAMESPACE diff --git a/src/aglextras/hmi/aglapplication.h b/src/aglextras/hmi/aglapplication.h new file mode 100644 index 0000000..df68979 --- /dev/null +++ b/src/aglextras/hmi/aglapplication.h @@ -0,0 +1,48 @@ +/* + * Copyright (c) 2017 TOYOTA MOTOR CORPORATION + * Copyright (C) 2017 The Qt Company Ltd. + * Copyright (c) 2017 Panasonic Corporation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +#ifndef AGLAPPLICATION_H +#define AGLAPPLICATION_H + +#include +#include + +#include + +QT_BEGIN_NAMESPACE +class AGLApplicationPrivate; +class AGLEXTRAS_EXPORT AGLApplication : public QGuiApplication +{ + Q_OBJECT + +public: + AGLApplication (int& argc, char** argv); + + void setupApplicationRole(const QString& role); + + void load (const QUrl &url); + void load (const QString &filePath); + + int exec (void); + +private: + friend class AGLApplicationPrivate; + QSharedPointer d_ptr; +}; +QT_END_NAMESPACE + +#endif // AGLAPPLICATION_H diff --git a/src/aglextras/hmi/aglapplication_p.h b/src/aglextras/hmi/aglapplication_p.h new file mode 100644 index 0000000..b12b5f4 --- /dev/null +++ b/src/aglextras/hmi/aglapplication_p.h @@ -0,0 +1,42 @@ +/* + * Copyright (c) 2017 TOYOTA MOTOR CORPORATION + * Copyright (C) 2017 The Qt Company Ltd. + * Copyright (c) 2017 Panasonic Corporation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +#ifndef AGLAPPLICATION_P_H +#define AGLAPPLICATION_P_H + +QT_BEGIN_NAMESPACE +class QUrl; +class QQmlApplicationEngine; +class AGLWindow; +class AGLApplication; +class AGLApplicationPrivate +{ + public: + explicit AGLApplicationPrivate (AGLApplication *app); + ~AGLApplicationPrivate (void); + + private: + int port = -1; + QString secret; + QUrl* binding_address; + QQmlApplicationEngine *engine; + AGLWindow* window; + friend class AGLApplication; +}; +QT_END_NAMESPACE + +#endif // AGLAPPLICATION_P_H diff --git a/src/aglextras/hmi/aglwindow.cpp b/src/aglextras/hmi/aglwindow.cpp new file mode 100644 index 0000000..f1f55e6 --- /dev/null +++ b/src/aglextras/hmi/aglwindow.cpp @@ -0,0 +1,106 @@ +/* + * Copyright (c) 2017 TOYOTA MOTOR CORPORATION + * Copyright (C) 2017 The Qt Company Ltd. + * Copyright (c) 2017 Panasonic Corporation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +#include "aglwindow.h" +#include "aglwindow_p.h" + +#include +#include + +QT_BEGIN_NAMESPACE + +AGLWindowPrivate::AGLWindowPrivate (AGLWindow*) +{ + ; +} + +AGLWindowPrivate::~AGLWindowPrivate (void) +{ + ; +} + +void AGLWindow::activate_surface (void) +{ + qDebug("Disconnect!! SLOT activate_surface()"); + QLibWindowmanager::disconnect(d_ptr->loading); + + activateSurface(QString(d_ptr->layout)); +} + +void AGLWindow::attach (QQmlApplicationEngine* engine) +{ + if (d_ptr->binding) { + QQuickWindow *window = qobject_cast(engine->rootObjects().first()); + + qDebug("Connect!! frameSapped! (activate_surface())"); + d_ptr->loading = QLibWindowmanager::connect(window, SIGNAL(frameSwapped()), + this, SLOT(activate_surface())); + } +} + +AGLWindow::AGLWindow (const QString& layout, int port, QString secret) + : QLibWindowmanager(nullptr), + d_ptr(new AGLWindowPrivate(this)) + +{ + if (port == -1) { + qDebug("This is not AGL binding application"); + return; + } + + if (QLibWindowmanager::init(port, secret) != 0 || + LibHomeScreen::init(port, secret.toStdString().c_str()) != 0) { + qDebug("Cannot get binding API"); + return; + } + + d_ptr->layout = layout; + + // Request a surface as described in layers.json windowmanager’s file + if (requestSurface(d_ptr->layout) != 0) { + qDebug("Cannot get surface for %s", qPrintable(d_ptr->layout)); + return; + } + + d_ptr->binding = true; + + // Create an event callback against an event type. Here a lambda is called when SyncDraw event occurs + QLibWindowmanager::set_event_handler ( + QLibWindowmanager::Event_SyncDraw, + [this](json_object*) { + qDebug("Surface got syncDraw!\n"); + endDraw(d_ptr->layout); + } + ); + + // Set the event handler for Event_TapShortcut which will activate the surface for windowmanager + LibHomeScreen::set_event_handler ( + LibHomeScreen::Event_TapShortcut, + [this](json_object* object) { + json_object *jo_app_name = nullptr; + if(json_object_object_get_ex(object, "application_name", &jo_app_name)) { + QString name(QLatin1String(json_object_get_string(jo_app_name))); + if(d_ptr->layout == name) { + qDebug("Surface %s got tapShortcut\n", qPrintable(name)); + activateSurface(d_ptr->layout); + } + } + } + ); +} + +QT_END_NAMESPACE diff --git a/src/aglextras/hmi/aglwindow.h b/src/aglextras/hmi/aglwindow.h new file mode 100644 index 0000000..4c5261b --- /dev/null +++ b/src/aglextras/hmi/aglwindow.h @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2017 TOYOTA MOTOR CORPORATION + * Copyright (C) 2017 The Qt Company Ltd. + * Copyright (c) 2017 Panasonic Corporation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +#ifndef AGLWINDOW_H +#define AGLWINDOW_H + +#include +#include + +#include +#include + +QT_BEGIN_NAMESPACE +class QQmlApplicationEngine; +class AGLWindowPrivate; +class AGLEXTRAS_EXPORT AGLWindow : public QLibWindowmanager, public LibHomeScreen +{ + Q_OBJECT + +public: + AGLWindow (const QString& layout, int port, QString secret); + void attach (QQmlApplicationEngine* engine); + +public slots: + void activate_surface (void); + +private: + friend class AGLWindowPrivate; + QSharedPointer d_ptr; +}; +QT_END_NAMESPACE + +#endif // AGLWINDOW_H diff --git a/src/aglextras/hmi/aglwindow_p.h b/src/aglextras/hmi/aglwindow_p.h new file mode 100644 index 0000000..0ad6510 --- /dev/null +++ b/src/aglextras/hmi/aglwindow_p.h @@ -0,0 +1,36 @@ +/* + * Copyright (c) 2017 TOYOTA MOTOR CORPORATION + * Copyright (C) 2017 The Qt Company Ltd. + * Copyright (c) 2017 Panasonic Corporation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +#ifndef AGLWINDOW_P_H +#define AGLWINDOW_P_H + +QT_BEGIN_NAMESPACE +class AGLWindowPrivate +{ + public: + explicit AGLWindowPrivate (AGLWindow* window); + ~AGLWindowPrivate (void); + + private: + QString layout; // id of layaout which is managed by AGL WM + QMetaObject::Connection loading; + bool binding = false; + friend class AGLWindow; +}; +QT_END_NAMESPACE + +#endif // AGLWINDOW_P_H diff --git a/src/aglextras/hmi/hmi.pri b/src/aglextras/hmi/hmi.pri new file mode 100644 index 0000000..91c712d --- /dev/null +++ b/src/aglextras/hmi/hmi.pri @@ -0,0 +1,9 @@ +SOURCES += \ + $$PWD/aglapplication.cpp \ + $$PWD/aglwindow.cpp + +HEADERS += \ + $$PWD/aglapplication.h \ + $$PWD/aglapplication_p.h \ + $$PWD/aglwindow.h \ + $$PWD/aglwindow_p.h diff --git a/src/aglextras/hmi/main.cpp b/src/aglextras/hmi/main.cpp deleted file mode 100644 index 831df41..0000000 --- a/src/aglextras/hmi/main.cpp +++ /dev/null @@ -1,225 +0,0 @@ -/* - * Copyright (c) 2017 TOYOTA MOTOR CORPORATION - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include "wmhandler.h" -#include "smhandler.h" - - -static LibHomeScreen* hs; -static LibWindowmanager* wm; -static LibSMWrapper* smw; -static WmHandler* wmh; - -static std::string myname = std::string("Templete"); - - -static void onRep(struct json_object* reply_contents); -static void onEv(const std::string& event, struct json_object* event_contents); - - -int main(int argc, char *argv[]) -{ - QGuiApplication app(argc, argv); - QQmlApplicationEngine engine; - QQmlContext* context = engine.rootContext(); - QObject* root; - QQuickWindow* window; - - QQuickStyle::setStyle("AGL"); - - /* - * Set argument and option - */ - QCommandLineParser parser; - parser.addPositionalArgument("port", app.translate("main", "port for binding")); - parser.addPositionalArgument("secret", app.translate("main", "secret for binding")); - parser.addHelpOption(); - parser.addVersionOption(); - parser.process(app); - QStringList positionalArguments = parser.positionalArguments(); - - if (positionalArguments.length() == 2) { - /* - * Get argument - */ - int port = positionalArguments.takeFirst().toInt(); - QString secret = positionalArguments.takeFirst(); - std::string token = secret.toStdString(); - - - /* - * Get instance - */ - hs = new LibHomeScreen(); - wm = new LibWindowmanager(); - smw = new LibSMWrapper(port, secret); - wmh = new WmHandler(); - - - /* - * Set WindowManager - */ - // Initialize - if(wm->init(port, token.c_str()) != 0){ - exit(EXIT_FAILURE); - } - - // Application should call requestSurface at first - json_object *obj = json_object_new_object(); - json_object_object_add(obj, wm->kKeyDrawingName, json_object_new_string(app_name.c_str())); - if (wm->requestSurface(obj) != 0) { - exit(EXIT_FAILURE); - } - - // Set event handlers for each event - wm->set_event_handler(LibWindowmanager::Event_Active, [wm](json_object *object) { - const char *label = json_object_get_string( - json_object_object_get(object, wm->kKeyDrawingName)); - fprintf(stderr, "Surface %s got activated!\n", label); - }); - wm->set_event_handler(LibWindowmanager::Event_Inactive, [wm](json_object *object) { - const char *label = json_object_get_string( - json_object_object_get(object, wm->kKeyDrawingName)); - fprintf(stderr, "Surface %s got deactivated!\n", label); - }); - wm->set_event_handler(LibWindowmanager::Event_Visible, [wm](json_object *object) { - const char *label = json_object_get_string( - json_object_object_get(object, wm->kKeyDrawingName)); - fprintf(stderr, "Surface %s got visible!\n", label); - }); - wm->set_event_handler(LibWindowmanager::Event_Invisible, [wm](json_object *object) { - const char *label = json_object_get_string( - json_object_object_get(object, wm->kKeyDrawingName)); - fprintf(stderr, "Surface %s got invisible!\n", label); - }); - wm->set_event_handler(LibWindowmanager::Event_SyncDraw, [wm](json_object *object) { - const char *label = json_object_get_string( - json_object_object_get(object, wm->kKeyDrawingName)); - const char *area = json_object_get_string( - json_object_object_get(object, wm->kKeyDrawingArea)); - fprintf(stderr, "Surface %s got syncDraw!\n", label); - // Application should call LibWindowmanager::endDraw() in SyncDraw handler - json_object *obj = json_object_new_object(); - json_object_object_add(obj, wm->kKeyDrawingName, json_object_new_string(app_name.c_str())); - wm->endDraw(obj); - }); - wm->set_event_handler(LibWindowmanager::Event_FlushDraw, [wm](json_object *object) { - const char *label = json_object_get_string( - json_object_object_get(object, wm->kKeyDrawingName)); - fprintf(stderr, "Surface %s got flushDraw!\n", label); - }); - - // Initialize WmHandler - wmh->init(wm, myname.c_str()); - - - /* - * Set HomeScreen - */ - // Initialize - hs->init(port, token.c_str()); - - // Set event handler - hs->set_event_handler(LibHomeScreen::Event_TapShortcut, [wm](json_object *object) { - const char *appname = json_object_get_string( - json_object_object_get(object, "application_name")); - if(myname == appname) { - qDebug("Surface %s got tapShortcut\n", appname); - // Application should call LibWindowmanager::endDraw() in TapShortcut handler - json_object *obj = json_object_new_object(); - json_object_object_add(obj, wm->kKeyDrawingName, json_object_new_string(app_name.c_str())); - json_object_object_add(obj, wm->kKeyDrawingArea, json_object_new_string("normal.full")); - wm->activateSurface(obj); - } - }); - - /* - * Set SoundManager - */ - smw->wrapper_registerCallback(onEv, onRep); - smw->subscribe(QString("newMainConnection")); - smw->subscribe(QString("mainConnectionStateChanged")); - smw->subscribe(QString("removedMainConnection")); - smw->subscribe(QString("asyncSetSourceState")); - smw->subscribe(QString("asyncConnect")); - - // Set context property for SoundManager - context->setContextProperty("smw", smw); - - - /* - * Load qml - */ - engine.load(QUrl(QStringLiteral("qrc:/QmlForThisApp.qml"))); - - - /* - * Set slot for WindowManager and SoundManager - */ - root = engine.rootObjects().first(); - window = qobject_cast(root); - - // Set slot for calling LibWindowmanager::activateSurface() when loading qml have completed - QObject::connect(window, SIGNAL(frameSwapped()), - wmh, SLOT(slotActivateSurface())); - - // Set slot for SoundManager - QObject::connect(smw, SIGNAL(smEvent(QVariant, QVariant)), - root, SLOT(slotEvent(QVariant, QVariant))); - QObject::connect(smw, SIGNAL(smReply(QVariant)), - root, SLOT(slotReply(QVariant))); - } - - return app.exec(); -} - -static void onRep(struct json_object* reply_contents) -{ - qDebug("%s is called", __FUNCTION__); - QString str = QString(json_object_get_string(reply_contents)); - QJsonParseError error; - QJsonDocument jdoc = QJsonDocument::fromJson(str.toUtf8(), &error); - QJsonObject jobj = jdoc.object(); - - smw->emit_reply(jobj); - json_object_put(reply_contents); -} - -static void onEv(const std::string& event, struct json_object* event_contents) -{ - qDebug("%s is called", __FUNCTION__); - const QString event_name = QString(event.c_str()); - QString str = QString(json_object_get_string(event_contents)); - QJsonParseError error; - QJsonDocument jdoc = QJsonDocument::fromJson(str.toUtf8(), &error); - const QJsonObject jobj = jdoc.object(); - smw->emit_event(event_name, jobj); - - json_object_put(event_contents); -} - diff --git a/src/src.pro b/src/src.pro new file mode 100644 index 0000000..02d0ae0 --- /dev/null +++ b/src/src.pro @@ -0,0 +1,2 @@ +TEMPLATE = subdirs +SUBDIRS += aglextras -- cgit 1.2.3-korg