Skip to content

Instantly share code, notes, and snippets.

@yzgyyang
Created January 13, 2022 07:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yzgyyang/4a850618babdb23848e157bc1225a5a6 to your computer and use it in GitHub Desktop.
Save yzgyyang/4a850618babdb23848e157bc1225a5a6 to your computer and use it in GitHub Desktop.
diff --git a/x11-toolkits/mauikit-filebrowsing/Makefile b/x11-toolkits/mauikit-filebrowsing/Makefile
new file mode 100644
index 000000000000..d4d11d39401c
--- /dev/null
+++ b/x11-toolkits/mauikit-filebrowsing/Makefile
@@ -0,0 +1,31 @@
+# Created by: Guangyuan Yang <ygy@FreeBSD.org>
+
+PORTNAME= filebrowsing
+DISTVERSIONPREFIX= v
+DISTVERSION= 2.1.0
+CATEGORIES= x11-toolkits kde
+PKGNAMEPREFIX= mauikit-
+
+MAINTAINER= ygy@FreeBSD.org
+COMMENT= MauiKit File Browsing utilities and controls
+
+LICENSE= BSD2CLAUSE CC0-1.0 LGPL21+
+LICENSE_COMB= multi
+LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/LICENSES/BSD-2-Clause.txt
+LICENSE_FILE_CC0-1.0= ${WRKSRC}/LICENSES/CC0-1.0.txt
+LICENSE_FILE_LGPL21+ = ${WRKSRC}/LICENSES/LGPL-2.1-or-later.txt
+
+RUN_DEPENDS= mauikit>=0:x11-toolkits/mauikit
+
+USES= cmake kde:5 qt:5
+USE_KDE= config coreaddons kio i18n \
+ ecm_build
+USE_QT= core
+
+USE_GITLAB= yes
+GL_SITE= https://invent.kde.org
+GL_ACCOUNT= maui
+GL_PROJECT= ${PKGNAMEPREFIX}${PORTNAME}
+GL_COMMIT= e37015066885dfcbf203f4933903f70b40a133dc
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/mauikit-filebrowsing/distinfo b/x11-toolkits/mauikit-filebrowsing/distinfo
new file mode 100644
index 000000000000..3b0adec97265
--- /dev/null
+++ b/x11-toolkits/mauikit-filebrowsing/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1641947358
+SHA256 (maui-mauikit-filebrowsing-e37015066885dfcbf203f4933903f70b40a133dc_GL0.tar.gz) = 0359337bce72d5d1a43b1a94abcc76bf43f29d47b394b862d8ecf24e8dd2c090
+SIZE (maui-mauikit-filebrowsing-e37015066885dfcbf203f4933903f70b40a133dc_GL0.tar.gz) = 87729
diff --git a/x11-toolkits/mauikit-filebrowsing/files/patch-src_code_fmstatic.cpp b/x11-toolkits/mauikit-filebrowsing/files/patch-src_code_fmstatic.cpp
new file mode 100644
index 000000000000..f4dae3f36ba9
--- /dev/null
+++ b/x11-toolkits/mauikit-filebrowsing/files/patch-src_code_fmstatic.cpp
@@ -0,0 +1,11 @@
+--- src/code/fmstatic.cpp.orig 2022-01-11 23:57:35 UTC
++++ src/code/fmstatic.cpp
+@@ -9,7 +9,7 @@
+ #include <QDebug>
+ #include <QSettings>
+
+-#if defined Q_OS_LINUX && !defined Q_OS_ANDROID
++#if defined Q_OS_LINUX || defined Q_OS_FREEBSD && !defined Q_OS_ANDROID
+ #include <KConfig>
+ #include <KConfigGroup>
+ #endif
diff --git a/x11-toolkits/mauikit-filebrowsing/pkg-descr b/x11-toolkits/mauikit-filebrowsing/pkg-descr
new file mode 100644
index 000000000000..df368d6a7677
--- /dev/null
+++ b/x11-toolkits/mauikit-filebrowsing/pkg-descr
@@ -0,0 +1,3 @@
+FileBrowsing is a MauiKit Framework to work with local and remote files.
+
+WWW: https://invent.kde.org/maui/mauikit-filebrowsing
diff --git a/x11-toolkits/mauikit-filebrowsing/pkg-plist b/x11-toolkits/mauikit-filebrowsing/pkg-plist
new file mode 100644
index 000000000000..7588bb22ca91
--- /dev/null
+++ b/x11-toolkits/mauikit-filebrowsing/pkg-plist
@@ -0,0 +1,31 @@
+include/MauiKit/FileBrowsing/Environment.hpp
+include/MauiKit/FileBrowsing/NetworkHelper.hpp
+include/MauiKit/FileBrowsing/WebDAVClient.hpp
+include/MauiKit/FileBrowsing/WebDAVItem.hpp
+include/MauiKit/FileBrowsing/WebDAVReply.hpp
+include/MauiKit/FileBrowsing/XMLHelper.hpp
+include/MauiKit/FileBrowsing/downloader.h
+include/MauiKit/FileBrowsing/filebrowsing_export.h
+include/MauiKit/FileBrowsing/filebrowsing_version.h
+include/MauiKit/FileBrowsing/fileloader.h
+include/MauiKit/FileBrowsing/fm.h
+include/MauiKit/FileBrowsing/fmlist.h
+include/MauiKit/FileBrowsing/fmstatic.h
+include/MauiKit/FileBrowsing/openwithmodel.h
+include/MauiKit/FileBrowsing/placeslist.h
+include/MauiKit/FileBrowsing/syncing.h
+include/MauiKit/FileBrowsing/tagdb.h
+include/MauiKit/FileBrowsing/tagging.h
+include/MauiKit/FileBrowsing/tagslist.h
+include/MauiKit/FileBrowsing/thumbnailer.h
+lib/cmake/MauiKitFileBrowsing/MauiKitFileBrowsingConfig.cmake
+lib/cmake/MauiKitFileBrowsing/MauiKitFileBrowsingConfigVersion.cmake
+lib/cmake/MauiKitFileBrowsing/MauiKitFileBrowsingTargets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/MauiKitFileBrowsing/MauiKitFileBrowsingTargets.cmake
+lib/libMauiKitFileBrowsing.so
+lib/libMauiKitFileBrowsing.so.1
+lib/libMauiKitFileBrowsing.so.2.1.0
+%%QT_QMLDIR%%/org/mauikit/filebrowsing/libMauiKitFileBrowsing.so
+%%QT_QMLDIR%%/org/mauikit/filebrowsing/libMauiKitFileBrowsing.so.1
+%%QT_QMLDIR%%/org/mauikit/filebrowsing/libMauiKitFileBrowsing.so.2.1.0
+%%QT_QMLDIR%%/org/mauikit/filebrowsing/qmldir
diff --git a/x11-toolkits/mauikit/Makefile b/x11-toolkits/mauikit/Makefile
new file mode 100644
index 000000000000..6e80f9b16fce
--- /dev/null
+++ b/x11-toolkits/mauikit/Makefile
@@ -0,0 +1,25 @@
+# Created by: Guangyuan Yang <ygy@FreeBSD.org>
+
+PORTNAME= mauikit
+DISTVERSIONPREFIX= v
+DISTVERSION= 2.1.0
+CATEGORIES= x11-toolkits kde
+
+MAINTAINER= ygy@FreeBSD.org
+COMMENT= Modular front-end framework for developing Maui applications
+
+LICENSE= LGPL3
+LICENSE_FILE= ${WRKSRC}/LICENSES/LGPL-3.0.txt
+
+USES= cmake kde:5 qt:5
+USE_KDE= config coreaddons i18n notifications windowsystem \
+ ecm_build
+USE_QT= core quickcontrols2 svg x11extras
+
+USE_GITLAB= yes
+GL_SITE= https://invent.kde.org
+GL_ACCOUNT= maui
+GL_PROJECT= ${PORTNAME}
+GL_COMMIT= ab7b3b678332005963b58f3e29c8398b6947aaa7
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/mauikit/distinfo b/x11-toolkits/mauikit/distinfo
new file mode 100644
index 000000000000..df970d5158f0
--- /dev/null
+++ b/x11-toolkits/mauikit/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1641898605
+SHA256 (maui-mauikit-ab7b3b678332005963b58f3e29c8398b6947aaa7_GL0.tar.gz) = 89f36f51bfda7014b5afdbbee2d89e63fdcaf66dd1999172869267049ac112db
+SIZE (maui-mauikit-ab7b3b678332005963b58f3e29c8398b6947aaa7_GL0.tar.gz) = 328567
diff --git a/x11-toolkits/mauikit/pkg-descr b/x11-toolkits/mauikit/pkg-descr
new file mode 100644
index 000000000000..37a3a4964b7f
--- /dev/null
+++ b/x11-toolkits/mauikit/pkg-descr
@@ -0,0 +1,9 @@
+MauiKit is a set of templated controls and tools based on QQC2 and Kirigami
+shared among the Maui set of applications. MauiKit helps to quickly build
+UIs that follow the Maui HIG and bring ready-to-go tools for different
+platforms, such as Android and Linux.
+
+Maui stands for Multi-Adaptable User Interface and allows any Maui app to
+run on various platforms and devices.
+
+WWW: https://mauikit.org/
diff --git a/x11-toolkits/mauikit/pkg-plist b/x11-toolkits/mauikit/pkg-plist
new file mode 100644
index 000000000000..0482ce38e5cc
--- /dev/null
+++ b/x11-toolkits/mauikit/pkg-plist
@@ -0,0 +1,145 @@
+include/MauiKit/Core/abstractplatform.h
+include/MauiKit/Core/appsettings.h
+include/MauiKit/Core/appview.h
+include/MauiKit/Core/fmh.h
+include/MauiKit/Core/handy.h
+include/MauiKit/Core/mauiapp.h
+include/MauiKit/Core/mauikit.h
+include/MauiKit/Core/mauikit_export.h
+include/MauiKit/Core/mauilinux.h
+include/MauiKit/Core/mauilist.h
+include/MauiKit/Core/mauimodel.h
+include/MauiKit/Core/notify.h
+include/MauiKit/Core/platform.h
+include/MauiKit/Core/style.h
+include/MauiKit/Core/tabview.h
+include/MauiKit/Core/utils.h
+lib/cmake/MauiKit/MauiKitConfig.cmake
+lib/cmake/MauiKit/MauiKitConfigVersion.cmake
+lib/cmake/MauiKit/MauiKitTargets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/MauiKit/MauiKitTargets.cmake
+lib/libMauiKit.so
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/.gitignore
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/ApplicationWindow.qml
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/BusyIndicator.qml
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/Button.qml
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/CheckBox.qml
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/CheckIndicator.qml
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/ComboBox.qml
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/Container.qml
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/Control.qml
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/Dial.qml
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/Dialog.qml
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/DialogButtonBox.qml
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/Drawer.qml
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/Frame.qml
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/GroupBox.qml
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/ItemDelegate.qml
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/LICENSE
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/Label.qml
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/Menu.qml
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/MenuItem.qml
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/MenuSeparator.qml
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/Page.qml
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/Popup.qml
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/ProgressBar.qml
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/README.md
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/RangeSlider.qml
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/ScrollBar.qml
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/ScrollView.qml
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/Slider.qml
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/SpinBox.qml
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/SwipeView.qml
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/Switch.qml
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/SwitchDelegate.qml
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/SwitchIndicator.qml
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/TabBar.qml
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/TabButton.qml
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/TextArea.qml
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/TextField.qml
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/ToolBar.qml
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/ToolButton.qml
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/ToolTip.qml
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/private/DefaultListItemBackground.qml
+%%QT_QMLDIR%%/QtQuick/Controls.2/maui-style/style.qrc
+%%QT_QMLDIR%%/org/mauikit/controls/libMauiKit.so
+%%QT_QMLDIR%%/org/mauikit/controls/qmldir
+share/org.mauikit.controls/csd/Android/config.conf
+share/org.mauikit.controls/csd/Breeze/CSD.qml
+share/org.mauikit.controls/csd/Breeze/breeze-close-active-symbolic.svg
+share/org.mauikit.controls/csd/Breeze/breeze-close-hover-symbolic.svg
+share/org.mauikit.controls/csd/Breeze/breeze-close-symbolic.svg
+share/org.mauikit.controls/csd/Breeze/breeze-maximize-active-symbolic.svg
+share/org.mauikit.controls/csd/Breeze/breeze-maximize-hover-symbolic.svg
+share/org.mauikit.controls/csd/Breeze/breeze-maximize-symbolic.svg
+share/org.mauikit.controls/csd/Breeze/breeze-maximized-active-symbolic.svg
+share/org.mauikit.controls/csd/Breeze/breeze-maximized-hover-symbolic.svg
+share/org.mauikit.controls/csd/Breeze/breeze-maximized-symbolic.svg
+share/org.mauikit.controls/csd/Breeze/breeze-minimize-active-symbolic.svg
+share/org.mauikit.controls/csd/Breeze/breeze-minimize-hover-symbolic.svg
+share/org.mauikit.controls/csd/Breeze/breeze-minimize-symbolic.svg
+share/org.mauikit.controls/csd/Breeze/config.conf
+share/org.mauikit.controls/csd/Default/close.svg
+share/org.mauikit.controls/csd/Default/config.conf
+share/org.mauikit.controls/csd/Default/maximize.svg
+share/org.mauikit.controls/csd/Default/minimize.svg
+share/org.mauikit.controls/csd/Default/restore.svg
+share/org.mauikit.controls/csd/Gnome/config.conf
+share/org.mauikit.controls/csd/Nitrux/CSD.qml
+share/org.mauikit.controls/csd/Nitrux/close-backdrop.svg
+share/org.mauikit.controls/csd/Nitrux/close-hover.svg
+share/org.mauikit.controls/csd/Nitrux/close-pressed.svg
+share/org.mauikit.controls/csd/Nitrux/close.svg
+share/org.mauikit.controls/csd/Nitrux/config.conf
+share/org.mauikit.controls/csd/Nitrux/maximize-backdrop.svg
+share/org.mauikit.controls/csd/Nitrux/maximize-hover.svg
+share/org.mauikit.controls/csd/Nitrux/maximize-pressed.svg
+share/org.mauikit.controls/csd/Nitrux/maximize.svg
+share/org.mauikit.controls/csd/Nitrux/minimize-backdrop.svg
+share/org.mauikit.controls/csd/Nitrux/minimize-hover.svg
+share/org.mauikit.controls/csd/Nitrux/minimize-pressed.svg
+share/org.mauikit.controls/csd/Nitrux/minimize.svg
+share/org.mauikit.controls/csd/Nitrux/restore-backdrop.svg
+share/org.mauikit.controls/csd/Nitrux/restore-hover.svg
+share/org.mauikit.controls/csd/Nitrux/restore-pressed.svg
+share/org.mauikit.controls/csd/Nitrux/restore.svg
+share/org.mauikit.controls/csd/OSX/config.conf
+share/org.mauikit.controls/csd/OSX/titlebutton-close-active-dark.png
+share/org.mauikit.controls/csd/OSX/titlebutton-close-active.png
+share/org.mauikit.controls/csd/OSX/titlebutton-close-backdrop-dark.png
+share/org.mauikit.controls/csd/OSX/titlebutton-close-backdrop-hover-dark.png
+share/org.mauikit.controls/csd/OSX/titlebutton-close-backdrop-hover.png
+share/org.mauikit.controls/csd/OSX/titlebutton-close-backdrop.png
+share/org.mauikit.controls/csd/OSX/titlebutton-close-dark.png
+share/org.mauikit.controls/csd/OSX/titlebutton-close-hover-dark.png
+share/org.mauikit.controls/csd/OSX/titlebutton-close-hover.png
+share/org.mauikit.controls/csd/OSX/titlebutton-close.png
+share/org.mauikit.controls/csd/OSX/titlebutton-maximize-active-dark.png
+share/org.mauikit.controls/csd/OSX/titlebutton-maximize-active.png
+share/org.mauikit.controls/csd/OSX/titlebutton-maximize-backdrop-dark.png
+share/org.mauikit.controls/csd/OSX/titlebutton-maximize-backdrop-hover-dark.png
+share/org.mauikit.controls/csd/OSX/titlebutton-maximize-backdrop-hover.png
+share/org.mauikit.controls/csd/OSX/titlebutton-maximize-dark.png
+share/org.mauikit.controls/csd/OSX/titlebutton-maximize-hover-dark.png
+share/org.mauikit.controls/csd/OSX/titlebutton-maximize-hover.png
+share/org.mauikit.controls/csd/OSX/titlebutton-maximize.png
+share/org.mauikit.controls/csd/OSX/titlebutton-minimize-active-dark.png
+share/org.mauikit.controls/csd/OSX/titlebutton-minimize-active.png
+share/org.mauikit.controls/csd/OSX/titlebutton-minimize-backdrop-dark.png
+share/org.mauikit.controls/csd/OSX/titlebutton-minimize-backdrop-hover.png
+share/org.mauikit.controls/csd/OSX/titlebutton-minimize-backdrop.png
+share/org.mauikit.controls/csd/OSX/titlebutton-minimize-dark.png
+share/org.mauikit.controls/csd/OSX/titlebutton-minimize-hover-dark.png
+share/org.mauikit.controls/csd/OSX/titlebutton-minimize-hover.png
+share/org.mauikit.controls/csd/OSX/titlebutton-minimize.png
+share/org.mauikit.controls/csd/OSX/titlebutton-restore-active-dark.png
+share/org.mauikit.controls/csd/OSX/titlebutton-restore-active.png
+share/org.mauikit.controls/csd/OSX/titlebutton-restore-backdrop-hover-dark.png
+share/org.mauikit.controls/csd/OSX/titlebutton-restore-backdrop-hover.png
+share/org.mauikit.controls/csd/OSX/titlebutton-restore-backdrop.png
+share/org.mauikit.controls/csd/OSX/titlebutton-restore-dark.png
+share/org.mauikit.controls/csd/OSX/titlebutton-restore-hover-dark.png
+share/org.mauikit.controls/csd/OSX/titlebutton-restore-hover.png
+share/org.mauikit.controls/csd/OSX/titlebutton-restore.png
+share/org.mauikit.controls/csd/Windows/config.conf
+share/org.mauikit.controls/csd/mauiproject.conf
diff --git a/x11/maui-station/Makefile b/x11/maui-station/Makefile
new file mode 100644
index 000000000000..7b00892321e1
--- /dev/null
+++ b/x11/maui-station/Makefile
@@ -0,0 +1,29 @@
+# Created by: Guangyuan Yang <ygy@FreeBSD.org>
+
+PORTNAME= station
+DISTVERSIONPREFIX= v
+DISTVERSION= 2.1.0
+CATEGORIES= x11 kde
+PKGNAMEPREFIX= maui-
+
+MAINTAINER= ygy@FreeBSD.org
+COMMENT= Convergent terminal emulator
+
+LICENSE= LGPL3
+LICENSE_FILE= ${WRKSRC}/LICENSES/LGPL-3.0.txt
+
+RUN_DEPENDS= hicolor-icon-theme>0:misc/hicolor-icon-theme \
+ mauikit-filebrowsing>=0:x11-toolkits/mauikit-filebrowsing
+LIB_DEPENDS= libqtermwidget5.so:x11-toolkits/qtermwidget
+
+USES= cmake kde:5 qt:5
+USE_KDE= ecm_build
+USE_QT= core
+
+USE_GITLAB= yes
+GL_SITE= https://invent.kde.org
+GL_ACCOUNT= maui
+GL_PROJECT= ${PORTNAME}
+GL_COMMIT= 1949f739bde93d1667c6f219a8ad8b3a01750304
+
+.include <bsd.port.mk>
diff --git a/x11/maui-station/distinfo b/x11/maui-station/distinfo
new file mode 100644
index 000000000000..95794a7df0d3
--- /dev/null
+++ b/x11/maui-station/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1641948128
+SHA256 (maui-station-1949f739bde93d1667c6f219a8ad8b3a01750304_GL0.tar.gz) = 00fc041badbf714234aaf6059ea2fa60d2bbfa0c6a871569d8e5d4975c9140ab
+SIZE (maui-station-1949f739bde93d1667c6f219a8ad8b3a01750304_GL0.tar.gz) = 31572
diff --git a/x11/maui-station/pkg-descr b/x11/maui-station/pkg-descr
new file mode 100644
index 000000000000..773395e9686a
--- /dev/null
+++ b/x11/maui-station/pkg-descr
@@ -0,0 +1,7 @@
+The Station terminal emulator is an application for accessing a UNIX shell
+environment that you can use to run programs available on your system.
+
+It supports multiple tabs, split views, and implements several keyboard
+shortcuts for touch devices.
+
+WWW: https://mauikit.org/apps/station/
diff --git a/x11/maui-station/pkg-plist b/x11/maui-station/pkg-plist
new file mode 100644
index 000000000000..2559ba617ca9
--- /dev/null
+++ b/x11/maui-station/pkg-plist
@@ -0,0 +1,3 @@
+bin/station
+share/applications/org.kde.station.desktop
+share/icons/hicolor/scalable/apps/station.svg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment