summaryrefslogtreecommitdiff
path: root/kde-apps/cantor
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
commit0f558761aa2dee1017b4751e4017205e015a9560 (patch)
tree037df795519468a25d9362b4e95cdaeb84eb1cf9 /kde-apps/cantor
parent752d6256e5204b958b0ef7905675a940b5e9172f (diff)
gentoo resync : 29.12.2022
Diffstat (limited to 'kde-apps/cantor')
-rw-r--r--kde-apps/cantor/Manifest7
-rw-r--r--kde-apps/cantor/cantor-21.12.3.ebuild2
-rw-r--r--kde-apps/cantor/cantor-22.04.2.ebuild (renamed from kde-apps/cantor/cantor-22.04.0.ebuild)2
-rw-r--r--kde-apps/cantor/files/cantor-21.12.3-fix-includes.patch560
4 files changed, 567 insertions, 4 deletions
diff --git a/kde-apps/cantor/Manifest b/kde-apps/cantor/Manifest
index 2b4c6b4ff6f7..ecfefb2102d6 100644
--- a/kde-apps/cantor/Manifest
+++ b/kde-apps/cantor/Manifest
@@ -1,5 +1,6 @@
+AUX cantor-21.12.3-fix-includes.patch 19105 BLAKE2B 9919b59e013724ef0b741072dd77ed879ce2226e18f75b2a13b214d8b226b61653607f73706fe5b20c376d70384062bc4fa29d36b6cd4c46d00fa4f94171f42d SHA512 495e7c0a40470f630f9b34c76da9d154891a08c71e1506e2dab317969baec2bc03e35ed550b77ff15db2fc18392266e73e5a706286c8152cf82476dc9ccf7d5d
DIST cantor-21.12.3.tar.xz 9186776 BLAKE2B 2ec117000bfcb20bdf262fd2abfab1112d770ed85c1e7e87d7c9cf89852911ebc68ada0378c2d2566ac9ce9d019ae61eb6cbb9b1e5d1b4bff08a42bedf9cd2f3 SHA512 ec525618ba9127fce94ecdc927f222e2f8801f3e24d7ae038d172ef92f67ad370c12bc61c43ae7f81b3ce2c1f2c6fde89532d09b901c45faadd096cbd955d1b8
-DIST cantor-22.04.0.tar.xz 9195268 BLAKE2B a587513bb52e47fcf57566deba95800c31ff36c3f8c2e497f7b5b263ba2cdea467ccdfcc691f5c3c1017000d06e2c1abcf022b5e3e5e97bb5160cefdf623303c SHA512 163cfbc7ddbe1d2dbff92368ca025df4c372d9915457f8a4b819e6212692f4004fc438ff38e42aa6a5c80ce47b2e182d148b02bc1b1673da59650c24ea283aa3
-EBUILD cantor-21.12.3.ebuild 3170 BLAKE2B 5e73179f777dbd713676c78fa5058631bdc655905e996d1002384b4e771754558a5efe45e980fed8f361ebbec171e301905222e5a172a4774cf20f80ff78fa6f SHA512 f87b8dcf01f35277ed24f63c238ef808928a305ad41251dac0ffd61c11cb8a0ff9bd86af4ea0e35282b9bfe3f822a6b00397abedba71c83d59f5ad383d575712
-EBUILD cantor-22.04.0.ebuild 3173 BLAKE2B 8273e67eb17d550e354668b4724bad6b879cfa121b734384a23e00ee4931ec5467431ae76c53d8f475fed691e1eefa08a57839e666a68e0812e461b244e9caab SHA512 9f5cda4e85c17808db4fa107c9e586bd08d3ad9ef6c3e902d8525452d3e2e3b714f535f1f821bf760a1b9d0605fad1b3e87fb1dd62c1181be54fd34710c5239c
+DIST cantor-22.04.2.tar.xz 9197580 BLAKE2B be0bbecd3995cb494411d67ef8f178d1b8a16b9e7fb62d6cd978565092d05dc77a04506c03cc54360a6270ee5ac3847a8d1901ccd8629a6a8b1b8a135eac55d2 SHA512 a452cb1e91c5b75587d520c139109a81c6b78bd17060f7c97ba1ae4fe444c31f3dae34a8a31597345c1b275b508cac349ef6af4b2bdd09cca37da9d8c7400ec5
+EBUILD cantor-21.12.3.ebuild 3221 BLAKE2B 989f68b7098939d7029cc378ae90eb1a93aa1ffd89aaa3253b209fdb7bca9e4d5c9e2040997d87d5d0e9c8125c094bc7f6db88a25966c8e8a544363dfd3e68a1 SHA512 e391e84b020b94b49b5d929b5cf7d2cdcaaa63472dab153b870cf1819d0aa3b04960dfef9656171f49c13eb99b50f29ecaf7cacb5b982cec96be5066fd1f8568
+EBUILD cantor-22.04.2.ebuild 3173 BLAKE2B 561a00a24652bdd1c1264dfbac8897ce95940e34950b4db0795ff481b7092a30aae32efd00bda6fe2379964c7aa30d0af8c36a3d07af624cc146565d03231542 SHA512 6e5e74d6e8613abb6608dd2460ff3507675f58a98d38f7955579d5206de69cc54ad189f28b26d86e4113ee4f5fc8a22d4fc0b6bb14f63c451bf0cce04eaa10c8
MISC metadata.xml 650 BLAKE2B 17e2c2450044a29836367e9865208517282c366a9389fe1d06aaf823378cd80e73e07e936f10a3b743fcc1cbc6a56f72c7a10863ad3bcc88ba814c3177758d05 SHA512 028a011e95df450d9b92397fcbb0ac56800e1b336c33ed96506c49fc903f6a4474e65221cdd8da3b9a4278830ca0c90a7f562da028088e32ff7e46bdb5b06ae2
diff --git a/kde-apps/cantor/cantor-21.12.3.ebuild b/kde-apps/cantor/cantor-21.12.3.ebuild
index 4bc395d8b480..69fdb78c5919 100644
--- a/kde-apps/cantor/cantor-21.12.3.ebuild
+++ b/kde-apps/cantor/cantor-21.12.3.ebuild
@@ -76,6 +76,8 @@ RDEPEND="${DEPEND}
"
BDEPEND="x11-misc/shared-mime-info"
+PATCHES=( "${FILESDIR}/${P}-fix-includes.patch" )
+
pkg_setup() {
use lua && lua-single_pkg_setup
use python && python-single-r1_pkg_setup
diff --git a/kde-apps/cantor/cantor-22.04.0.ebuild b/kde-apps/cantor/cantor-22.04.2.ebuild
index 63dc6357640b..e4f99d5ea9cd 100644
--- a/kde-apps/cantor/cantor-22.04.0.ebuild
+++ b/kde-apps/cantor/cantor-22.04.2.ebuild
@@ -10,7 +10,7 @@ LUA_COMPAT=( luajit )
PYTHON_COMPAT=( python3_{8..10} )
PVCUT=$(ver_cut 1-3)
KFMIN=5.92.0
-QTMIN=5.15.2
+QTMIN=5.15.3
inherit ecm kde.org lua-single optfeature python-single-r1
DESCRIPTION="Interface for doing mathematics and scientific computing"
diff --git a/kde-apps/cantor/files/cantor-21.12.3-fix-includes.patch b/kde-apps/cantor/files/cantor-21.12.3-fix-includes.patch
new file mode 100644
index 000000000000..6e45c3dfeda4
--- /dev/null
+++ b/kde-apps/cantor/files/cantor-21.12.3-fix-includes.patch
@@ -0,0 +1,560 @@
+From 064c0ba1526c5cb1bfcf353aea4f84d8ca6393d6 Mon Sep 17 00:00:00 2001
+From: Nicolas Fella <nicolas.fella@gmx.de>
+Date: Sat, 23 Apr 2022 22:10:55 +0200
+Subject: [PATCH] Fix includes
+
+Add missing ones
+
+Remove unneeded ones
+
+Convert forward decl to include where needed
+
+Fix syntax where needed
+
+(cherry picked from commit 6a6156db8b0041261ac4361a9231f2a974dde475)
+---
+ src/backends/R/rbackend.cpp | 2 ++
+ src/backends/R/rhighlighter.h | 2 ++
+ src/backends/R/rkeywords.cpp | 4 ++--
+ src/backends/R/rserver/rserver.cpp | 2 +-
+ src/backends/julia/juliakeywords.cpp | 4 ++--
+ src/backends/lua/luabackend.cpp | 2 ++
+ src/backends/lua/luahelper.h | 3 ++-
+ src/backends/lua/luakeywords.cpp | 4 ++--
+ src/backends/maxima/maximabackend.cpp | 2 ++
+ src/backends/maxima/maximakeywords.cpp | 4 ++--
+ src/backends/octave/octavebackend.cpp | 2 ++
+ src/backends/octave/octavekeywords.cpp | 4 ++--
+ src/backends/python/pythonbackend.cpp | 2 ++
+ src/backends/python/pythonkeywords.cpp | 4 ++--
+ src/backends/qalculate/qalculatebackend.cpp | 1 +
+ src/backends/sage/sagebackend.cpp | 2 ++
+ src/backends/sage/sagekeywords.cpp | 4 ++--
+ src/backends/scilab/scilabbackend.cpp | 1 +
+ src/backends/scilab/scilabkeywords.cpp | 4 ++--
+ src/cantor.cpp | 1 +
+ src/commandentry.cpp | 2 +-
+ src/hierarchyentry.cpp | 1 +
+ src/horizontalruleentry.cpp | 1 +
+ src/lib/backend.cpp | 2 ++
+ src/lib/jupyterutils.h | 2 +-
+ src/lib/panelpluginhandler.cpp | 1 +
+ .../documentationpanel/documentationpanelplugin.cpp | 2 ++
+ src/panelplugins/filebrowserpanel/filebrowserpanelplugin.cpp | 1 +
+ src/panelplugins/filebrowserpanel/filebrowserpanelplugin.h | 1 +
+ src/panelplugins/helppanel/helppanelplugin.cpp | 1 +
+ src/panelplugins/helppanel/helppanelplugin.h | 2 ++
+ src/panelplugins/tocpanel/tocpanelplugin.cpp | 2 ++
+ src/panelplugins/tocpanel/tocpanelplugin.h | 2 ++
+ src/panelplugins/variablemgr/variablemanagerplugin.cpp | 2 ++
+ src/panelplugins/variablemgr/variablemanagerplugin.h | 2 ++
+ src/textentry.cpp | 1 +
+ src/worksheet.cpp | 3 +++
+ 37 files changed, 62 insertions(+), 20 deletions(-)
+
+diff --git a/src/backends/R/rbackend.cpp b/src/backends/R/rbackend.cpp
+index 5e700fd8..6bc0fed9 100644
+--- a/src/backends/R/rbackend.cpp
++++ b/src/backends/R/rbackend.cpp
+@@ -10,6 +10,8 @@
+ #include "settings.h"
+ #include "rsettingswidget.h"
+
++#include <KPluginFactory>
++
+ RBackend::RBackend(QObject* parent,const QList<QVariant>& args) : Cantor::Backend(parent, args)
+ {
+ new RScriptExtension(this);
+diff --git a/src/backends/R/rhighlighter.h b/src/backends/R/rhighlighter.h
+index f4bd99ff..4ff6f42e 100644
+--- a/src/backends/R/rhighlighter.h
++++ b/src/backends/R/rhighlighter.h
+@@ -8,6 +8,8 @@
+
+ #include "defaulthighlighter.h"
+
++#include <QRegExp>
++
+ class RSession;
+
+ class RHighlighter : public Cantor::DefaultHighlighter
+diff --git a/src/backends/R/rkeywords.cpp b/src/backends/R/rkeywords.cpp
+index 407ca1c8..19ad6cb3 100644
+--- a/src/backends/R/rkeywords.cpp
++++ b/src/backends/R/rkeywords.cpp
+@@ -5,8 +5,8 @@
+
+ #include "rkeywords.h"
+
+-#include <repository.h>
+-#include <KF5/KSyntaxHighlighting/Definition>
++#include <KSyntaxHighlighting/Repository>
++#include <KSyntaxHighlighting/Definition>
+
+ RKeywords::RKeywords()
+ {
+diff --git a/src/backends/R/rserver/rserver.cpp b/src/backends/R/rserver/rserver.cpp
+index f86c2a19..04f6194f 100644
+--- a/src/backends/R/rserver/rserver.cpp
++++ b/src/backends/R/rserver/rserver.cpp
+@@ -8,7 +8,7 @@
+ // on the one hand comme il faut, on another, causes flickering in UI
+
+ #include "rserver.h"
+-#include <KIOCore/KIO/DeleteJob>
++#include <KIO/DeleteJob>
+ #include "radaptor.h"
+ #include "rcallbacks.h"
+ #include "settings.h"
+diff --git a/src/backends/julia/juliakeywords.cpp b/src/backends/julia/juliakeywords.cpp
+index 13df83ad..20dbc2b7 100644
+--- a/src/backends/julia/juliakeywords.cpp
++++ b/src/backends/julia/juliakeywords.cpp
+@@ -4,8 +4,8 @@
+ */
+ #include "juliakeywords.h"
+
+-#include <repository.h>
+-#include <KF5/KSyntaxHighlighting/Definition>
++#include <KSyntaxHighlighting/Repository>
++#include <KSyntaxHighlighting/Definition>
+
+ JuliaKeywords::JuliaKeywords()
+ {
+diff --git a/src/backends/lua/luabackend.cpp b/src/backends/lua/luabackend.cpp
+index 81f0fb72..db2525cd 100644
+--- a/src/backends/lua/luabackend.cpp
++++ b/src/backends/lua/luabackend.cpp
+@@ -10,6 +10,8 @@
+ #include "luasettingswidget.h"
+ #include "settings.h"
+
++#include <KPluginFactory>
++
+ LuaBackend::LuaBackend( QObject* parent,const QList<QVariant> args ) : Cantor::Backend( parent,args )
+ {
+ new LuaScriptExtension(this);
+diff --git a/src/backends/lua/luahelper.h b/src/backends/lua/luahelper.h
+index 470f4375..77ee9133 100644
+--- a/src/backends/lua/luahelper.h
++++ b/src/backends/lua/luahelper.h
+@@ -6,9 +6,10 @@
+ #ifndef _LUAHELPER_H
+ #define _LUAHELPER_H
+
++#include <QStringList>
++
+ struct lua_State;
+ class QString;
+-class QStringList;
+
+ /* follows lua_funcname convention */
+ QString luahelper_tostring (lua_State* L, int idx);
+diff --git a/src/backends/lua/luakeywords.cpp b/src/backends/lua/luakeywords.cpp
+index 2069317d..b572e7e0 100644
+--- a/src/backends/lua/luakeywords.cpp
++++ b/src/backends/lua/luakeywords.cpp
+@@ -5,8 +5,8 @@
+
+ #include "luakeywords.h"
+
+-#include <repository.h>
+-#include <KF5/KSyntaxHighlighting/Definition>
++#include <KSyntaxHighlighting/Repository>
++#include <KSyntaxHighlighting/Definition>
+
+ LuaKeywords::LuaKeywords()
+ {
+diff --git a/src/backends/maxima/maximabackend.cpp b/src/backends/maxima/maximabackend.cpp
+index 9c7c8430..d51f08a0 100644
+--- a/src/backends/maxima/maximabackend.cpp
++++ b/src/backends/maxima/maximabackend.cpp
+@@ -10,6 +10,8 @@
+ #include "maximasettingswidget.h"
+ #include "settings.h"
+
++#include <KPluginFactory>
++
+ MaximaBackend::MaximaBackend( QObject* parent,const QList<QVariant> args ) : Cantor::Backend( parent,args )
+ {
+ //initialize the supported extensions
+diff --git a/src/backends/maxima/maximakeywords.cpp b/src/backends/maxima/maximakeywords.cpp
+index 6e7a9a0a..f80d6af7 100644
+--- a/src/backends/maxima/maximakeywords.cpp
++++ b/src/backends/maxima/maximakeywords.cpp
+@@ -7,8 +7,8 @@
+
+ #include <QDebug>
+
+-#include <repository.h>
+-#include <KF5/KSyntaxHighlighting/Definition>
++#include <KSyntaxHighlighting/Repository>
++#include <KSyntaxHighlighting/Definition>
+
+ MaximaKeywords* MaximaKeywords::instance()
+ {
+diff --git a/src/backends/octave/octavebackend.cpp b/src/backends/octave/octavebackend.cpp
+index 3a33023e..d8894454 100644
+--- a/src/backends/octave/octavebackend.cpp
++++ b/src/backends/octave/octavebackend.cpp
+@@ -10,6 +10,8 @@
+ #include "octavesettingswidget.h"
+ #include "settings.h"
+
++#include <KPluginFactory>
++
+ OctaveBackend::OctaveBackend(QObject* parent, const QList<QVariant>& args): Backend(parent, args)
+ {
+ new OctaveHistoryExtension(this);
+diff --git a/src/backends/octave/octavekeywords.cpp b/src/backends/octave/octavekeywords.cpp
+index c309dc1a..8f4289be 100644
+--- a/src/backends/octave/octavekeywords.cpp
++++ b/src/backends/octave/octavekeywords.cpp
+@@ -5,8 +5,8 @@
+
+ #include "octavekeywords.h"
+
+-#include <repository.h>
+-#include <KF5/KSyntaxHighlighting/Definition>
++#include <KSyntaxHighlighting/Repository>
++#include <KSyntaxHighlighting/Definition>
+
+ OctaveKeywords::OctaveKeywords()
+ {
+diff --git a/src/backends/python/pythonbackend.cpp b/src/backends/python/pythonbackend.cpp
+index 87259089..db6cfea6 100644
+--- a/src/backends/python/pythonbackend.cpp
++++ b/src/backends/python/pythonbackend.cpp
+@@ -13,6 +13,8 @@
+ #include <QDebug>
+ #include <QWidget>
+
++#include <KPluginFactory>
++
+ PythonBackend::PythonBackend(QObject* parent, const QList<QVariant>& args) : Cantor::Backend(parent, args)
+ {
+ new PythonLinearAlgebraExtension(this);
+diff --git a/src/backends/python/pythonkeywords.cpp b/src/backends/python/pythonkeywords.cpp
+index 09271a2e..9b28022f 100644
+--- a/src/backends/python/pythonkeywords.cpp
++++ b/src/backends/python/pythonkeywords.cpp
+@@ -8,8 +8,8 @@
+ #include <QFile>
+ #include <QDebug>
+
+-#include <repository.h>
+-#include <KF5/KSyntaxHighlighting/Definition>
++#include <KSyntaxHighlighting/Repository>
++#include <KSyntaxHighlighting/Definition>
+
+ PythonKeywords::PythonKeywords()
+ {
+diff --git a/src/backends/qalculate/qalculatebackend.cpp b/src/backends/qalculate/qalculatebackend.cpp
+index 6c978278..23050688 100644
+--- a/src/backends/qalculate/qalculatebackend.cpp
++++ b/src/backends/qalculate/qalculatebackend.cpp
+@@ -12,6 +12,7 @@
+ #include "qalculatesettingswidget.h"
+
+ #include <KLocalizedString>
++#include <KPluginFactory>
+
+ QalculateBackend::QalculateBackend(QObject* parent,const QList<QVariant> args)
+ : Cantor::Backend(parent, args)
+diff --git a/src/backends/sage/sagebackend.cpp b/src/backends/sage/sagebackend.cpp
+index d79747d0..6765f516 100644
+--- a/src/backends/sage/sagebackend.cpp
++++ b/src/backends/sage/sagebackend.cpp
+@@ -10,6 +10,8 @@
+ #include "sagesettingswidget.h"
+ #include "settings.h"
+
++#include <KPluginFactory>
++
+ SageBackend::SageBackend( QObject* parent,const QList<QVariant>& args ) : Cantor::Backend( parent,args )
+ {
+ //initialize the supported extensions
+diff --git a/src/backends/sage/sagekeywords.cpp b/src/backends/sage/sagekeywords.cpp
+index 2cc2be0e..f81faa02 100644
+--- a/src/backends/sage/sagekeywords.cpp
++++ b/src/backends/sage/sagekeywords.cpp
+@@ -4,8 +4,8 @@
+ */
+ #include "sagekeywords.h"
+
+-#include <repository.h>
+-#include <KF5/KSyntaxHighlighting/Definition>
++#include <KSyntaxHighlighting/Repository>
++#include <KSyntaxHighlighting/Definition>
+
+ #include <QDebug>
+
+diff --git a/src/backends/scilab/scilabbackend.cpp b/src/backends/scilab/scilabbackend.cpp
+index af2d9195..5dacd686 100644
+--- a/src/backends/scilab/scilabbackend.cpp
++++ b/src/backends/scilab/scilabbackend.cpp
+@@ -9,6 +9,7 @@
+ #include "scilabsettingswidget.h"
+ #include "settings.h"
+
++#include <KPluginFactory>
+
+ ScilabBackend::ScilabBackend(QObject* parent,const QList<QVariant> args) : Cantor::Backend(parent, args)
+ {
+diff --git a/src/backends/scilab/scilabkeywords.cpp b/src/backends/scilab/scilabkeywords.cpp
+index 04b555b6..aac7a4d9 100644
+--- a/src/backends/scilab/scilabkeywords.cpp
++++ b/src/backends/scilab/scilabkeywords.cpp
+@@ -10,8 +10,8 @@
+ #include <QtAlgorithms>
+ #include <QDebug>
+
+-#include <repository.h>
+-#include <KF5/KSyntaxHighlighting/Definition>
++#include <KSyntaxHighlighting/Repository>
++#include <KSyntaxHighlighting/Definition>
+
+ ScilabKeywords::ScilabKeywords()
+ {
+diff --git a/src/cantor.cpp b/src/cantor.cpp
+index a62d0be4..161f05e3 100644
+--- a/src/cantor.cpp
++++ b/src/cantor.cpp
+@@ -18,6 +18,7 @@
+ #include <KNS3/DownloadDialog>
+ #include <KParts/ReadWritePart>
+ #include <KRecentFilesAction>
++#include <KPluginFactory>
+
+ #include <QApplication>
+ #include <QCloseEvent>
+diff --git a/src/commandentry.cpp b/src/commandentry.cpp
+index 3bc9359b..b0f8512e 100644
+--- a/src/commandentry.cpp
++++ b/src/commandentry.cpp
+@@ -20,7 +20,7 @@
+
+ #include <QGuiApplication>
+ #include <QDebug>
+-#include <QDesktopWidget>
++#include <QActionGroup>
+ #include <QFontDialog>
+ #include <QScreen>
+ #include <QTimer>
+diff --git a/src/hierarchyentry.cpp b/src/hierarchyentry.cpp
+index 30afba5e..59aa603f 100644
+--- a/src/hierarchyentry.cpp
++++ b/src/hierarchyentry.cpp
+@@ -16,6 +16,7 @@
+ #include <QMimeData>
+ #include <QPainter>
+ #include <QDebug>
++#include <QActionGroup>
+
+ #include <KLocalizedString>
+
+diff --git a/src/horizontalruleentry.cpp b/src/horizontalruleentry.cpp
+index 8763e109..32895323 100644
+--- a/src/horizontalruleentry.cpp
++++ b/src/horizontalruleentry.cpp
+@@ -9,6 +9,7 @@
+ #include <QPainter>
+ #include <QPropertyAnimation>
+ #include <QJsonObject>
++#include <QActionGroup>
+
+ #include <KLocalizedString>
+
+diff --git a/src/lib/backend.cpp b/src/lib/backend.cpp
+index cd082503..a5426ed2 100644
+--- a/src/lib/backend.cpp
++++ b/src/lib/backend.cpp
+@@ -13,8 +13,10 @@
+ #include <QUrl>
+ #include <QProcess>
+ #include <QStandardPaths>
++#include <QPluginLoader>
+
+ #include <KPluginMetaData>
++#include <KPluginFactory>
+ #include <KLocalizedString>
+
+ using namespace Cantor;
+diff --git a/src/lib/jupyterutils.h b/src/lib/jupyterutils.h
+index b2172884..714be188 100644
+--- a/src/lib/jupyterutils.h
++++ b/src/lib/jupyterutils.h
+@@ -10,6 +10,7 @@
+
+ #include <QString>
+ #include <QMimeDatabase>
++#include <QStringList>
+
+ #include "cantor_export.h"
+
+@@ -19,7 +20,6 @@ class QJsonArray;
+ class QJsonDocument;
+ class QImage;
+ class QUrl;
+-class QStringList;
+
+ namespace Cantor {
+
+diff --git a/src/lib/panelpluginhandler.cpp b/src/lib/panelpluginhandler.cpp
+index 418e5cba..2604a2dc 100644
+--- a/src/lib/panelpluginhandler.cpp
++++ b/src/lib/panelpluginhandler.cpp
+@@ -9,6 +9,7 @@ using namespace Cantor;
+ #include <QDebug>
+ #include <QDir>
+ #include <KPluginMetaData>
++#include <KPluginFactory>
+
+ #include "session.h"
+ #include "backend.h"
+diff --git a/src/panelplugins/documentationpanel/documentationpanelplugin.cpp b/src/panelplugins/documentationpanel/documentationpanelplugin.cpp
+index 23589ac3..973b41bb 100644
+--- a/src/panelplugins/documentationpanel/documentationpanelplugin.cpp
++++ b/src/panelplugins/documentationpanel/documentationpanelplugin.cpp
+@@ -8,6 +8,8 @@
+ #include "documentationpanelwidget.h"
+ #include "session.h"
+
++#include <KPluginFactory>
++
+ DocumentationPanelPlugin::DocumentationPanelPlugin(QObject* parent, QList<QVariant> args) : Cantor::PanelPlugin(parent)
+ {
+ Q_UNUSED(args);
+diff --git a/src/panelplugins/filebrowserpanel/filebrowserpanelplugin.cpp b/src/panelplugins/filebrowserpanel/filebrowserpanelplugin.cpp
+index 8f3d832e..f7620e97 100644
+--- a/src/panelplugins/filebrowserpanel/filebrowserpanelplugin.cpp
++++ b/src/panelplugins/filebrowserpanel/filebrowserpanelplugin.cpp
+@@ -22,6 +22,7 @@
+
+ #include <KLocalizedString>
+ #include <KParts/ReadOnlyPart>
++#include <KPluginFactory>
+
+ FileBrowserPanelPlugin::FileBrowserPanelPlugin(QObject* parent, const QList<QVariant>& args): Cantor::PanelPlugin(parent),
+ m_mainWidget(nullptr), m_treeview(nullptr), m_pathEdit(nullptr), m_filterCombobox(nullptr)
+diff --git a/src/panelplugins/filebrowserpanel/filebrowserpanelplugin.h b/src/panelplugins/filebrowserpanel/filebrowserpanelplugin.h
+index 4fe9e194..4215e145 100644
+--- a/src/panelplugins/filebrowserpanel/filebrowserpanelplugin.h
++++ b/src/panelplugins/filebrowserpanel/filebrowserpanelplugin.h
+@@ -6,6 +6,7 @@
+ #ifndef _FILEBROWSERPANELPLUGIN_H
+ #define _FILEBROWSERPANELPLUGIN_H
+
++#include <QPointer>
+ #include <QVector>
+
+ #include "panelplugin.h"
+diff --git a/src/panelplugins/helppanel/helppanelplugin.cpp b/src/panelplugins/helppanel/helppanelplugin.cpp
+index 164cc3f2..04d6b618 100644
+--- a/src/panelplugins/helppanel/helppanelplugin.cpp
++++ b/src/panelplugins/helppanel/helppanelplugin.cpp
+@@ -7,6 +7,7 @@
+
+ #include <KLocalizedString>
+ #include <KTextEdit>
++#include <KPluginFactory>
+
+ HelpPanelPlugin::HelpPanelPlugin(QObject* parent, const QList<QVariant>& args) : Cantor::PanelPlugin(parent), m_edit(nullptr)
+ {
+diff --git a/src/panelplugins/helppanel/helppanelplugin.h b/src/panelplugins/helppanel/helppanelplugin.h
+index 473b1148..b16a1184 100644
+--- a/src/panelplugins/helppanel/helppanelplugin.h
++++ b/src/panelplugins/helppanel/helppanelplugin.h
+@@ -6,6 +6,8 @@
+ #ifndef _HELPPANELPLUGIN_H
+ #define _HELPPANELPLUGIN_H
+
++#include <QPointer>
++
+ #include "panelplugin.h"
+
+ class KTextEdit;
+diff --git a/src/panelplugins/tocpanel/tocpanelplugin.cpp b/src/panelplugins/tocpanel/tocpanelplugin.cpp
+index 24c13355..6df4c3a9 100644
+--- a/src/panelplugins/tocpanel/tocpanelplugin.cpp
++++ b/src/panelplugins/tocpanel/tocpanelplugin.cpp
+@@ -10,6 +10,8 @@
+ #include <QDebug>
+ #include <QWidget>
+
++#include <KPluginFactory>
++
+ TableOfContentPanelPlugin::TableOfContentPanelPlugin(QObject* parent, const QList<QVariant>& args): Cantor::PanelPlugin(parent),
+ m_mainWidget(nullptr)
+ {
+diff --git a/src/panelplugins/tocpanel/tocpanelplugin.h b/src/panelplugins/tocpanel/tocpanelplugin.h
+index 5ce24b78..fed98b8c 100644
+--- a/src/panelplugins/tocpanel/tocpanelplugin.h
++++ b/src/panelplugins/tocpanel/tocpanelplugin.h
+@@ -8,6 +8,8 @@
+
+ #include <QStringListModel>
+
++#include <QPointer>
++
+ #include "panelplugin.h"
+
+ class QWidget;
+diff --git a/src/panelplugins/variablemgr/variablemanagerplugin.cpp b/src/panelplugins/variablemgr/variablemanagerplugin.cpp
+index 3482eed0..8526fc3b 100644
+--- a/src/panelplugins/variablemgr/variablemanagerplugin.cpp
++++ b/src/panelplugins/variablemgr/variablemanagerplugin.cpp
+@@ -8,6 +8,8 @@
+ #include "session.h"
+ #include "variablemanagerwidget.h"
+
++#include <KPluginFactory>
++
+ VariableManagerPlugin::VariableManagerPlugin(QObject* parent, QList<QVariant> args) : Cantor::PanelPlugin(parent), m_widget(nullptr)
+ {
+ Q_UNUSED(args);
+diff --git a/src/panelplugins/variablemgr/variablemanagerplugin.h b/src/panelplugins/variablemgr/variablemanagerplugin.h
+index 75ce6851..2dd98e4d 100644
+--- a/src/panelplugins/variablemgr/variablemanagerplugin.h
++++ b/src/panelplugins/variablemgr/variablemanagerplugin.h
+@@ -6,6 +6,8 @@
+ #ifndef _VARIABLEMANAGERPLUGIN_H
+ #define _VARIABLEMANAGERPLUGIN_H
+
++#include <QPointer>
++
+ #include "panelplugin.h"
+
+ class VariableManagerWidget;
+diff --git a/src/textentry.cpp b/src/textentry.cpp
+index 4c8d192d..3ba54f5a 100644
+--- a/src/textentry.cpp
++++ b/src/textentry.cpp
+@@ -25,6 +25,7 @@
+ #include <QRegularExpression>
+ #include <QStringList>
+ #include <QInputDialog>
++#include <QActionGroup>
+
+ QStringList standartRawCellTargetNames = {QLatin1String("None"), QLatin1String("LaTeX"), QLatin1String("reST"), QLatin1String("HTML"), QLatin1String("Markdown")};
+ QStringList standartRawCellTargetMimes = {QString(), QLatin1String("text/latex"), QLatin1String("text/restructuredtext"), QLatin1String("text/html"), QLatin1String("text/markdown")};
+diff --git a/src/worksheet.cpp b/src/worksheet.cpp
+index 7697a233..a3d961eb 100644
+--- a/src/worksheet.cpp
++++ b/src/worksheet.cpp
+@@ -32,9 +32,12 @@
+ #include <QGraphicsSceneMouseEvent>
+ #include <QJsonArray>
+ #include <QJsonDocument>
++#include <QJsonObject>
+ #include <QPrinter>
+ #include <QRegularExpression>
+ #include <QTimer>
++#include <QActionGroup>
++#include <QFile>
+ #include <QXmlQuery>
+
+ #include <kcoreaddons_version.h>
+--
+GitLab
+