diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-26 22:00:36 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-26 22:00:36 +0100 |
commit | 7ab790307232081bc16c7a90366667f053237ed8 (patch) | |
tree | 8944d288611e2708c1482214b4c6dd4419bd79e5 /lxqt-base/lxqt-config | |
parent | 4e714183f0f40ed6c08e7e0b569e044611b64867 (diff) |
lxqt-base/lxqt-meta : version bump
Diffstat (limited to 'lxqt-base/lxqt-config')
-rw-r--r-- | lxqt-base/lxqt-config/Manifest | 1 | ||||
-rw-r--r-- | lxqt-base/lxqt-config/files/lxqt-config-qgtk2.patch | 83 | ||||
-rw-r--r-- | lxqt-base/lxqt-config/lxqt-config-1.4.0-r1.ebuild | 79 |
3 files changed, 0 insertions, 163 deletions
diff --git a/lxqt-base/lxqt-config/Manifest b/lxqt-base/lxqt-config/Manifest deleted file mode 100644 index cb27c412..00000000 --- a/lxqt-base/lxqt-config/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST lxqt-config-1.4.0.tar.xz 371628 BLAKE2B d7be05fdd55bfe2efe977184008ed6324e16e85c2bceb6b9c15e8ef11978d34ba0961b671978618ce4b7a836653477c4fa5cbc9b5dfead7a1c8a87e00c408bbd SHA512 a3e6722c3f63b3c7382ec84723e3a4d838d99b2c42ce731565f940873b275ef025b7bc1a570f165b7fce521eb77bb7b83b02e922bee251507b773c8de4f785fc diff --git a/lxqt-base/lxqt-config/files/lxqt-config-qgtk2.patch b/lxqt-base/lxqt-config/files/lxqt-config-qgtk2.patch deleted file mode 100644 index bf684cdf..00000000 --- a/lxqt-base/lxqt-config/files/lxqt-config-qgtk2.patch +++ /dev/null @@ -1,83 +0,0 @@ -diff -Nur a/lxqt-config-appearance/main.cpp b/lxqt-config-appearance/main.cpp ---- a/lxqt-config-appearance/main.cpp 2022-04-16 13:47:00.000000000 +0100 -+++ b/lxqt-config-appearance/main.cpp 2022-10-18 17:02:41.305914551 +0100 -@@ -33,12 +33,8 @@ - #include <QMessageBox> - #include <QGuiApplication> - --#include "iconthemeconfig.h" - #include "lxqtthemeconfig.h" --#include "styleconfig.h" --#include "fontsconfig.h" - #include "configothertoolkits.h" --#include "gtkconfig.h" - - #include "../liblxqt-config-cursor/selectwnd.h" - -@@ -70,24 +66,6 @@ - - QSettings& qtSettings = *settings; // use lxqt config file for Qt settings in Qt5. - -- /*** Widget Style ***/ -- StyleConfig* stylePage = new StyleConfig(settings, &qtSettings, dialog); -- dialog->addPage(stylePage, QObject::tr("Widget Style"), QStringList() << QStringLiteral("preferences-desktop-theme") << QStringLiteral("preferences-desktop")); -- QObject::connect(dialog, &LXQt::ConfigDialog::reset, stylePage, &StyleConfig::initControls); -- QObject::connect(stylePage, &StyleConfig::settingsChanged, dialog, [dialog] { -- dialog->enableButton(QDialogButtonBox::Apply, true); // enable Apply button when something is changed -- }); -- QObject::connect(stylePage, &StyleConfig::updateOtherSettings, configOtherToolKits, &ConfigOtherToolKits::setConfig); -- -- /*** Icon Theme ***/ -- IconThemeConfig* iconPage = new IconThemeConfig(settings, dialog); -- dialog->addPage(iconPage, QObject::tr("Icons Theme"), QStringList() << QStringLiteral("preferences-desktop-icons") << QStringLiteral("preferences-desktop")); -- QObject::connect(dialog, &LXQt::ConfigDialog::reset, iconPage, &IconThemeConfig::initControls); -- QObject::connect(iconPage, &IconThemeConfig::settingsChanged, dialog, [dialog] { -- dialog->enableButton(QDialogButtonBox::Apply, true); -- }); -- QObject::connect(iconPage, &IconThemeConfig::updateOtherSettings, configOtherToolKits, &ConfigOtherToolKits::setConfig); -- - /*** LXQt Theme ***/ - LXQtThemeConfig* themePage = new LXQtThemeConfig(settings, dialog); - dialog->addPage(themePage, QObject::tr("LXQt Theme"), QStringList() << QStringLiteral("preferences-desktop-color") << QStringLiteral("preferences-desktop")); -@@ -96,15 +74,6 @@ - dialog->enableButton(QDialogButtonBox::Apply, true); - }); - -- /*** Font ***/ -- FontsConfig* fontsPage = new FontsConfig(settings, &qtSettings, dialog); -- dialog->addPage(fontsPage, QObject::tr("Font"), QStringList() << QStringLiteral("preferences-desktop-font") << QStringLiteral("preferences-desktop")); -- QObject::connect(dialog, &LXQt::ConfigDialog::reset, fontsPage, &FontsConfig::initControls); -- QObject::connect(fontsPage, &FontsConfig::updateOtherSettings, configOtherToolKits, &ConfigOtherToolKits::setConfig); -- QObject::connect(fontsPage, &FontsConfig::settingsChanged, dialog, [dialog] { -- dialog->enableButton(QDialogButtonBox::Apply, true); -- }); -- - /*** Cursor Theme ***/ - SelectWnd* cursorPage = new SelectWnd(sessionSettings, dialog); - cursorPage->setCurrent(); -@@ -113,25 +82,13 @@ - dialog->enableButton(QDialogButtonBox::Apply, true); - }); - -- /*** GTK Theme ***/ -- GTKConfig* GTKPage = new GTKConfig(&mConfigAppearanceSettings, configOtherToolKits, dialog); -- dialog->addPage(GTKPage, QObject::tr("GTK Style"), QStringList() << QStringLiteral("gtk-preferences") << QStringLiteral("preferences-desktop")); -- QObject::connect(dialog, &LXQt::ConfigDialog::reset, GTKPage, >KConfig::initControls); -- QObject::connect(GTKPage, >KConfig::settingsChanged, dialog, [dialog] { -- dialog->enableButton(QDialogButtonBox::Apply, true); -- }); -- - // apply all changes on clicking Apply - QObject::connect(dialog, &LXQt::ConfigDialog::clicked, [=] (QDialogButtonBox::StandardButton btn) { - if (btn == QDialogButtonBox::Apply) - { - // FIXME: Update cursor style on Qt apps on wayland and GTK on X11. -- iconPage->applyIconTheme(); - themePage->applyLxqtTheme(); -- fontsPage->updateQtFont(); - cursorPage->applyCusorTheme(); -- GTKPage->applyGTKStyle(); -- stylePage->applyStyle(); // Cursor and font have to be set before style - // disable Apply button after changes are applied - dialog->enableButton(btn, false); - } diff --git a/lxqt-base/lxqt-config/lxqt-config-1.4.0-r1.ebuild b/lxqt-base/lxqt-config/lxqt-config-1.4.0-r1.ebuild deleted file mode 100644 index 1d2b2fe2..00000000 --- a/lxqt-base/lxqt-config/lxqt-config-1.4.0-r1.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_PV="$(ver_cut 1-2)" - -inherit cmake xdg-utils - -DESCRIPTION="LXQt system configuration control center" -HOMEPAGE="https://lxqt-project.org/" - -if [[ ${PV} = *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/lxqt/${PN}.git" -else - SRC_URI="https://github.com/lxqt/${PN}/releases/download/${PV}/${P}.tar.xz" - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" -fi - -LICENSE="GPL-2 GPL-2+ GPL-3 LGPL-2 LGPL-2+ LGPL-2.1+ WTFPL-2" -SLOT="0" -IUSE="gtk +monitor +touchpad" - -BDEPEND=" - >=dev-qt/linguist-tools-5.15:5 -" -DEPEND=" - >=dev-libs/libqtxdg-3.11.0 - >=dev-qt/qtcore-5.15:5 - >=dev-qt/qtgui-5.15:5 - >=dev-qt/qtwidgets-5.15:5 - >=dev-qt/qtsvg-5.15:5 - >=dev-qt/qtx11extras-5.15:5 - >=dev-qt/qtxml-5.15:5 - =lxqt-base/liblxqt-${MY_PV}*:= - =lxqt-base/lxqt-menu-data-${MY_PV}* - sys-libs/zlib:= - x11-apps/setxkbmap - x11-libs/libxcb:= - x11-libs/libX11 - x11-libs/libXcursor - x11-libs/libXfixes - monitor? ( kde-plasma/libkscreen:5= ) - touchpad? ( - virtual/libudev:= - x11-drivers/xf86-input-libinput - x11-libs/libXi - ) -" -RDEPEND="${DEPEND}" - -src_prepare() { - if use gtk; then - PATCHES=( "${FILESDIR}"/"${PN}"-qgtk2.patch ) - fi - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DWITH_MONITOR=$(usex monitor) - -DWITH_TOUCHPAD=$(usex touchpad) - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - doman man/*.1 liblxqt-config-cursor/man/*.1 lxqt-config-appearance/man/*.1 -} - -pkg_postinst() { - xdg_icon_cache_update -} - -pkg_postrm() { - xdg_icon_cache_update -} |