From c6eed64d551ab43c72b3806f543ca8001d95ff79 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 22 May 2019 11:16:48 +0100 Subject: lxqt-base/lxqt-config : version bump --- lxqt-base/lxqt-config/Manifest | 2 +- ...-config-hide-unwanted-appearance-settings.patch | 55 +++++++++++++++----- lxqt-base/lxqt-config/lxqt-config-0.13.0.ebuild | 60 ---------------------- lxqt-base/lxqt-config/lxqt-config-0.14.1.ebuild | 60 ++++++++++++++++++++++ 4 files changed, 102 insertions(+), 75 deletions(-) delete mode 100644 lxqt-base/lxqt-config/lxqt-config-0.13.0.ebuild create mode 100644 lxqt-base/lxqt-config/lxqt-config-0.14.1.ebuild (limited to 'lxqt-base/lxqt-config') diff --git a/lxqt-base/lxqt-config/Manifest b/lxqt-base/lxqt-config/Manifest index cf057c2d..703c2426 100644 --- a/lxqt-base/lxqt-config/Manifest +++ b/lxqt-base/lxqt-config/Manifest @@ -1 +1 @@ -DIST lxqt-config-0.13.0.tar.xz 201112 BLAKE2B 6a79c1f07e1cf055da09bb7dd8f7da2426891770b0e757ba3c4e5ef137f715ba3a579b2c05a4f1938c9d76b6dda0643119888be7dace2083a57a7dfe0df93aa5 SHA512 a5102794c4cf18a18e633cbc7d0b89653abf2612bc61e506ec169f4898903092f5201a09a2610642c641a17b59a992a6d6f59366ec61d54763e8b911d5220ca9 +DIST lxqt-config-0.14.1.tar.xz 293304 BLAKE2B f090d7878815edc4f3f0078301a099ffc8ff57865516a9097db75faa1627af33c60d76b75cef8a7da5e9e790869e6768f54c3b17c59b038578f22d645c3c22fd SHA512 747644f8e0623cb2e8eadda57c7307387423152a089d5b423b06650fbf235371764a26e82363cbee9db5c1145e3fdb754e6ecdcf0930dccec375dda424c8b13f diff --git a/lxqt-base/lxqt-config/files/lxqt-config-hide-unwanted-appearance-settings.patch b/lxqt-base/lxqt-config/files/lxqt-config-hide-unwanted-appearance-settings.patch index 872a41b3..ddfd7801 100644 --- a/lxqt-base/lxqt-config/files/lxqt-config-hide-unwanted-appearance-settings.patch +++ b/lxqt-base/lxqt-config/files/lxqt-config-hide-unwanted-appearance-settings.patch @@ -1,6 +1,6 @@ diff -Nur a/lxqt-config-appearance/main.cpp b/lxqt-config-appearance/main.cpp ---- a/lxqt-config-appearance/main.cpp 2017-10-21 20:10:53.000000000 +0100 -+++ b/lxqt-config-appearance/main.cpp 2017-12-17 10:18:16.454195148 +0000 +--- a/lxqt-config-appearance/main.cpp 2019-02-24 00:16:01.000000000 +0000 ++++ b/lxqt-config-appearance/main.cpp 2019-05-22 11:13:45.456936737 +0100 @@ -30,10 +30,7 @@ #include #include @@ -9,29 +9,56 @@ diff -Nur a/lxqt-config-appearance/main.cpp b/lxqt-config-appearance/main.cpp #include "lxqtthemeconfig.h" -#include "styleconfig.h" -#include "fontsconfig.h" + #include "configothertoolkits.h" #include "../liblxqt-config-cursor/selectwnd.h" - -@@ -59,22 +56,11 @@ - app.setActivationWindow(dialog); +@@ -66,23 +63,6 @@ QSettings& qtSettings = *settings; // use lxqt config file for Qt settings in Qt5. -- StyleConfig* stylePage = new StyleConfig(settings, &qtSettings, dialog); + +- /*** Widget Style ***/ +- StyleConfig* stylePage = new StyleConfig(settings, &qtSettings, &mConfigAppearanceSettings, configOtherToolKits, dialog); - dialog->addPage(stylePage, QObject::tr("Widget Style"), QStringList() << "preferences-desktop-theme" << "preferences-desktop"); -- QObject::connect(dialog, SIGNAL(reset()), stylePage, SLOT(initControls())); +- 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 +- }); - +- /*** Icon Theme ***/ - IconThemeConfig* iconPage = new IconThemeConfig(settings, dialog); - dialog->addPage(iconPage, QObject::tr("Icons Theme"), QStringList() << "preferences-desktop-icons" << "preferences-desktop"); -- QObject::connect(dialog, SIGNAL(reset()), iconPage, SLOT(initControls())); - +- 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() << "preferences-desktop-color" << "preferences-desktop"); - QObject::connect(dialog, SIGNAL(reset()), themePage, SLOT(initControls())); +@@ -91,14 +71,6 @@ + dialog->enableButton(QDialogButtonBox::Apply, true); + }); +- /*** Font ***/ - FontsConfig* fontsPage = new FontsConfig(settings, &qtSettings, dialog); - dialog->addPage(fontsPage, QObject::tr("Font"), QStringList() << "preferences-desktop-font" << "preferences-desktop"); -- QObject::connect(dialog, SIGNAL(reset()), fontsPage, SLOT(initControls())); -- +- 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(); - dialog->addPage(cursorPage, QObject::tr("Cursor"), QStringList() << "input-mouse" << "preferences-desktop"); +@@ -112,10 +84,7 @@ + QObject::connect(dialog, &LXQt::ConfigDialog::clicked, [=] (QDialogButtonBox::StandardButton btn) { + if (btn == QDialogButtonBox::Apply) + { +- stylePage->applyStyle(); +- iconPage->applyIconTheme(); + themePage->applyLxqtTheme(); +- fontsPage->updateQtFont(); + cursorPage->applyCusorTheme(); + // disable Apply button after changes are applied + dialog->enableButton(btn, false); diff --git a/lxqt-base/lxqt-config/lxqt-config-0.13.0.ebuild b/lxqt-base/lxqt-config/lxqt-config-0.13.0.ebuild deleted file mode 100644 index a410972c..00000000 --- a/lxqt-base/lxqt-config/lxqt-config-0.13.0.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit cmake-utils eutils - -DESCRIPTION="LXQt system configuration control center" -HOMEPAGE="http://lxqt.org/" - -SRC_URI="https://github.com/lxde/${PN}/releases/download/${PV}/${P}.tar.xz" -KEYWORDS="amd64" -IUSE="+gtk" - -LICENSE="GPL-2 LGPL-2.1+" -SLOT="0" - -CDEPEND=" - >=dev-libs/libqtxdg-3.2.0 - dev-qt/qtconcurrent:5 - dev-qt/qtcore:5 - dev-qt/qtdbus:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 - dev-qt/qtx11extras:5 - dev-qt/qtxml:5 - kde-frameworks/kwindowsystem:5 - kde-plasma/libkscreen:5= - ~lxqt-base/liblxqt-${PV} - sys-libs/zlib - x11-libs/libICE - x11-libs/libSM - x11-libs/libxcb:= - x11-libs/libX11 - x11-libs/libXcursor - x11-libs/libXext - x11-libs/libXfixes" -DEPEND="${CDEPEND} - dev-qt/linguist-tools:5" -RDEPEND="${CDEPEND} - x11-apps/setxkbmap" - -src_prepare() { - if use gtk; then - # Redcore patch, to disable no longer working appearance settings when using qgtk2 platform plugin - epatch "${FILESDIR}"/"${PN}"-hide-unwanted-appearance-settings.patch - cmake-utils_src_prepare - else - cmake-utils_src_prepare - fi -} - -src_configure() { - local mycmakeargs=( -DPULL_TRANSLATIONS=OFF ) - cmake-utils_src_configure -} - -src_install(){ - cmake-utils_src_install - doman man/*.1 liblxqt-config-cursor/man/*.1 lxqt-config-appearance/man/*.1 -} diff --git a/lxqt-base/lxqt-config/lxqt-config-0.14.1.ebuild b/lxqt-base/lxqt-config/lxqt-config-0.14.1.ebuild new file mode 100644 index 00000000..2c0eafa5 --- /dev/null +++ b/lxqt-base/lxqt-config/lxqt-config-0.14.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit cmake-utils eutils + +DESCRIPTION="LXQt system configuration control center" +HOMEPAGE="http://lxqt.org/" + +SRC_URI="https://github.com/lxde/${PN}/releases/download/${PV}/${P}.tar.xz" +KEYWORDS="amd64" +IUSE="+gtk" + +LICENSE="GPL-2 LGPL-2.1+" +SLOT="0" + +CDEPEND=" + >=dev-libs/libqtxdg-3.2.0 + dev-qt/qtconcurrent:5 + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + dev-qt/qtx11extras:5 + dev-qt/qtxml:5 + kde-frameworks/kwindowsystem:5 + kde-plasma/libkscreen:5= + ~lxqt-base/liblxqt-${PV} + sys-libs/zlib + x11-libs/libICE + x11-libs/libSM + x11-libs/libxcb:= + x11-libs/libX11 + x11-libs/libXcursor + x11-libs/libXext + x11-libs/libXfixes" +DEPEND="${CDEPEND} + dev-qt/linguist-tools:5" +RDEPEND="${CDEPEND} + x11-apps/setxkbmap" + +src_prepare() { + if use gtk; then + # Redcore Linux patch : hide no longer working appearance settings when using qgtk2 platform plugin + epatch "${FILESDIR}"/"${PN}"-hide-unwanted-appearance-settings.patch + cmake-utils_src_prepare + else + cmake-utils_src_prepare + fi +} + +src_configure() { + local mycmakeargs=( -DPULL_TRANSLATIONS=OFF ) + cmake-utils_src_configure +} + +src_install(){ + cmake-utils_src_install + doman man/*.1 liblxqt-config-cursor/man/*.1 lxqt-config-appearance/man/*.1 +} -- cgit v1.2.3