Simple Qt6 update to KtikZ-0.13.3pre0 (latest commit).

I'm not a TeX user anymore, so testes are welcome. OK?

Cheers Rafael

diff --git a/editors/ktikz/Makefile b/editors/ktikz/Makefile
index 15c5c3196aa..f4fe0b936bc 100644
--- a/editors/ktikz/Makefile
+++ b/editors/ktikz/Makefile
@@ -2,41 +2,63 @@ COMMENT =             editor for the TikZ language
 
 GH_ACCOUNT =           fhackenberger
 GH_PROJECT =           ktikz
-GH_TAGNAME =           0.12
-PKGNAME =              KtikZ-${GH_TAGNAME}
-REVISION =             2
+GH_COMMIT =            0a575c2246556adeecbc7b41be56e6d2e7eb6a42
+
+DISTNAME =             KtikZ-0.13.3pre0
 
 CATEGORIES =           editors
-HOMEPAGE =             
http://www.hackenberger.at/blog/ktikz-editor-for-the-tikz-language/
+
+HOMEPAGE =             
https://www.hackenberger.at/blog/ktikz-editor-for-the-tikz-language/
+
 MAINTAINER =           Paul Irofti <[email protected]>
 
 # GPLv2
 PERMIT_PACKAGE =       Yes
 
-WANTLIB += ${COMPILER_LIBCXX} GL Qt5Core Qt5Gui Qt5PrintSupport Qt5Widgets c m 
poppler-qt5
-
-MODULES =              x11/qt5 \
-                       devel/qmake
+WANTLIB += ${COMPILER_LIBCXX} GL KF6Bookmarks KF6ColorScheme KF6Completion
+WANTLIB += KF6ConfigCore KF6ConfigGui KF6ConfigWidgets KF6CoreAddons
+WANTLIB += KF6GuiAddons KF6I18n KF6IconThemes KF6ItemViews KF6JobWidgets
+WANTLIB += KF6KIOCore KF6KIOFileWidgets KF6KIOGui KF6KIOWidgets
+WANTLIB += KF6Parts KF6Service KF6Solid KF6SyntaxHighlighting
+WANTLIB += KF6TextEditor KF6WidgetsAddons KF6XmlGui Qt6Core Qt6Core5Compat
+WANTLIB += Qt6DBus Qt6Gui Qt6Network Qt6PrintSupport Qt6Widgets
+WANTLIB += Qt6Xml c m poppler poppler-qt6
 
-MODQMAKE_ARGS=         DESKTOP_INSTALL_DIR=${LOCALBASE}/share/applications \
-                       MIME_INSTALL_DIR=${LOCALBASE}/share/mime/packages \
-                       MAN_INSTALL_DIR=${LOCALBASE}/man \
-                       LRELEASECOMMAND=${LOCALBASE}/bin/lrelease-qt5 \
-                       
QCOLLECTIONGENERATORCOMMAND=${LOCALBASE}/lib/qt5/bin/qcollectiongenerator
+MODULES =              devel/kf6
 
-# c++-11 reqwuired for poppler
-COMPILER=              base-clang ports-gcc
-
-MAKE_ENV =             MAKEOBJDIR=.
-
-MODQMAKE_PROJECTS =    qtikz.pro
+BUILD_DEPENDS =                devel/gettext,-tools
 
 RUN_DEPENDS =          print/texlive/base \
                        print/poppler,-utils \
                        misc/shared-mime-info \
                        devel/desktop-file-utils
 
-LIB_DEPENDS =          print/poppler,-qt5
+LIB_DEPENDS =          devel/kf6/kbookmarks \
+                       devel/kf6/kcolorscheme \
+                       devel/kf6/kcompletion \
+                       devel/kf6/kconfig \
+                       devel/kf6/kconfigwidgets \
+                       devel/kf6/kcoreaddons \
+                       devel/kf6/kguiaddons \
+                       devel/kf6/ki18n \
+                       devel/kf6/kiconthemes \
+                       devel/kf6/kio \
+                       devel/kf6/kitemviews \
+                       devel/kf6/kjobwidgets \
+                       devel/kf6/kparts \
+                       devel/kf6/kservice \
+                       devel/kf6/ktexteditor \
+                       devel/kf6/kwidgetsaddons \
+                       devel/kf6/kxmlgui \
+                       devel/kf6/solid \
+                       devel/kf6/syntax-highlighting \
+                       print/poppler,-qt6 \
+                       x11/qt6/qt5compat
+
+MODCMAKE_POLICY_VERSION_OVERRIDE = Yes
+
+CONFIGURE_ARGS =       -DDATA_INSTALL_DIR=${LOCALBASE}/share \
+                       -DKDE_INSTALL_MANDIR=${LOCALBASE}/man
 
 NO_TEST =              Yes
 
diff --git a/editors/ktikz/distinfo b/editors/ktikz/distinfo
index 233ea1a7812..b7b6d6ef8a1 100644
--- a/editors/ktikz/distinfo
+++ b/editors/ktikz/distinfo
@@ -1,2 +1,2 @@
-SHA256 (ktikz-0.12.tar.gz) = 7xX+cPTgV+q3Ttc4iG+OSlPVsbzfHuMpkwvwbiL1bp0=
-SIZE (ktikz-0.12.tar.gz) = 2039771
+SHA256 (KtikZ-0.13.3pre0-0a575c22.tar.gz) = 
ZfcMfZMegSHL633X1Mm8AXdRp1XIFLxti/MMvvlJmjA=
+SIZE (KtikZ-0.13.3pre0-0a575c22.tar.gz) = 2272429
diff --git a/editors/ktikz/patches/patch-app_tikzeditor_cpp 
b/editors/ktikz/patches/patch-app_tikzeditor_cpp
deleted file mode 100644
index e15a1245e4d..00000000000
--- a/editors/ktikz/patches/patch-app_tikzeditor_cpp
+++ /dev/null
@@ -1,11 +0,0 @@
-Index: app/tikzeditor.cpp
---- app/tikzeditor.cpp.orig
-+++ app/tikzeditor.cpp
-@@ -38,6 +38,7 @@
- #include "tikzeditor.h"
- 
- #include <QtGui/QPainter>
-+#include <QtGui/QPainterPath>
- #include <QtGui/QPalette>
- #include <QtGui/QTextBlock>
- #include <QtGui/QTextLayout>
diff --git a/editors/ktikz/pkg/PLIST b/editors/ktikz/pkg/PLIST
index 110c684348c..b0c24bfd5c2 100644
--- a/editors/ktikz/pkg/PLIST
+++ b/editors/ktikz/pkg/PLIST
@@ -1,21 +1,58 @@
-@bin bin/qtikz
-@man man/man1/qtikz.1
-share/applications/qtikz.desktop
-share/mime/packages/qtikz.xml
-share/qtikz/
-share/qtikz/LICENSE.GPL2
-share/qtikz/documentation/
-share/qtikz/documentation/qtikz.qch
-share/qtikz/documentation/qtikz.qhc
-share/qtikz/locale/
-share/qtikz/locale/qtikz_cs.qm
-share/qtikz/locale/qtikz_de.qm
-share/qtikz/locale/qtikz_es.qm
-share/qtikz/locale/qtikz_fr.qm
-share/qtikz/qtikz-128.png
-share/qtikz/templates/
-share/qtikz/templates/beamer-example-template.pgs
-share/qtikz/templates/template_example.pgs
-share/qtikz/templates/template_example2.pgs
 @tag update-desktop-database
 @tag update-mime-database
+@bin bin/ktikz
+@so lib/qt6/plugins/ktikzpart.so
+@man man/man1/ktikz.1
+share/applications/ktikz.desktop
+share/config.kcfg/
+share/config.kcfg/ktikz.kcfg
+share/doc/HTML/
+share/doc/HTML/en/
+share/doc/HTML/en/ktikz/
+share/doc/HTML/en/ktikz/commands.docbook
+share/doc/HTML/en/ktikz/configuration-editor.png
+share/doc/HTML/en/ktikz/configuration-general.png
+share/doc/HTML/en/ktikz/configuration-highlighting.png
+share/doc/HTML/en/ktikz/configuration.docbook
+share/doc/HTML/en/ktikz/index.cache.bz2
+share/doc/HTML/en/ktikz/index.docbook
+share/doc/HTML/en/ktikz/interface-gotolinewidget.png
+share/doc/HTML/en/ktikz/interface-indentwidget.png
+share/doc/HTML/en/ktikz/interface-mainwindow.png
+share/doc/HTML/en/ktikz/interface-replacecurrentwidget.png
+share/doc/HTML/en/ktikz/interface-replacewidget.png
+share/doc/HTML/en/ktikz/interface-templatewidget.png
+share/doc/HTML/en/ktikz/interface.docbook
+share/doc/HTML/en/ktikz/usage.docbook
+share/doc/HTML/en/ktikz/usercommand-editdialog.png
+share/icons/hicolor/128x128/apps/ktikz.png
+share/icons/hicolor/16x16/apps/ktikz.png
+share/icons/hicolor/22x22/apps/ktikz.png
+share/icons/hicolor/32x32/apps/ktikz.png
+share/icons/hicolor/48x48/apps/ktikz.png
+share/icons/hicolor/64x64/apps/ktikz.png
+share/icons/hicolor/scalable/apps/ktikz.svg
+share/icons/hicolor/scalable/apps/ktikz.svgz
+share/ktikz/
+share/ktikz/locale/
+share/ktikz/locale/qtikz_cs.qm
+share/ktikz/locale/qtikz_de.qm
+share/ktikz/locale/qtikz_es.qm
+share/ktikz/locale/qtikz_fr.qm
+share/ktikz/templates/
+share/ktikz/templates/beamer-example-template.pgs
+share/ktikz/templates/template_example.pgs
+share/ktikz/templates/template_example2.pgs
+share/ktikzpart/
+share/ktikzpart/ktikzpart.rc
+share/kxmlgui5/
+share/kxmlgui5/ktikz/
+share/kxmlgui5/ktikz/ktikzui.rc
+share/locale/cs/LC_MESSAGES/ktikz.mo
+share/locale/de/LC_MESSAGES/ktikz.mo
+share/locale/es/LC_MESSAGES/ktikz.mo
+share/locale/fr/LC_MESSAGES/ktikz.mo
+share/metainfo/
+share/metainfo/ktikz.appdata.xml
+share/mime/packages/ktikz.xml
+@tag gtk-update-icon-cache %D/share/icons/hicolor

Reply via email to