lxqt-base: remove 0.15.* and other old versions/files

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/20057
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Jimi Huotari
2021-03-22 11:39:45 +02:00
committed by Andreas Sturmlechner
parent 3ee2bf0751
commit 423bb4fbec
34 changed files with 0 additions and 1180 deletions

View File

@@ -1,2 +1 @@
DIST liblxqt-0.15.1.tar.xz 80040 BLAKE2B f729bf1b10a35b97d71f2e95a35999d3f246b4e59cdce25e32ab2a72ed5be50a443db0c841dcd0d41deb25e130c91cf75a5ba384ae4c1e6d92aa306e0b4eb75d SHA512 a0eb00ca5b228ef32d1a3952d3cb4702273dda16c9e70cc75046bfe1f51e5a7849d5306cca9d616ff82bd91715d97d703c458d406ba9e2425aa3fd26f155493c
DIST liblxqt-0.16.0.tar.xz 81032 BLAKE2B 4cca40db916773366187db440c85160e0064d1ed329b1f170a32c5e337e6e21b1799d1ae4d43c8c2a092abd932c1aef48e81558887dc549c5d03371e2e1ac767 SHA512 ef44d046b5c3fe40ee528a9565964814656507395585cc2df4a7debd735bcc81b6e76ed9f91fb846504104182e74b037cbea0c6beecb41ce0003f811f1dd887d

View File

@@ -1,49 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
DESCRIPTION="Common base library for the LXQt desktop environment"
HOMEPAGE="https://lxqt.github.io/"
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 ~ppc64 x86"
fi
LICENSE="LGPL-2.1+ BSD"
SLOT="0/$(ver_cut 1-2)"
IUSE="+backlight"
BDEPEND="
dev-qt/linguist-tools:5
>=dev-util/lxqt-build-tools-0.7.0
"
DEPEND="
>=dev-libs/libqtxdg-3.5.0
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[X]
x11-libs/libX11
x11-libs/libXScrnSaver
backlight? ( sys-auth/polkit-qt )
"
RDEPEND="${DEPEND}
!lxqt-base/lxqt-l10n
"
src_configure() {
local mycmakeargs=(
-DBUILD_BACKLIGHT_LINUX_BACKEND=$(usex backlight)
)
cmake_src_configure
}

View File

@@ -1,2 +1 @@
DIST libsysstat-0.4.3.tar.xz 17520 BLAKE2B 2bb2a37e44e825a0c35ef371d41fead9301cf2f40504ce298d6a259df8b37e1c98728aa881c977ec1518108742dbc8a46ffabdf57ed89119241ebbfca695b1b6 SHA512 a34511e4f9fe1ed977ffc65b11948459922760f9a22b225d48d1c7cae9fc6c94b315c1394768f4c7b94ffc28c1267410c21ba55ff89e54976526ea1e5e4d7a56
DIST libsysstat-0.4.4.tar.xz 17532 BLAKE2B d2f58ef95ef1bd139d174f2edcdebb3847df45c712c27f2bec5e0afdf4cf4c9b49a3996d8d28e27212b4d6866f505b87a58b0c72e8c4f31ad1c5a3632e8b130c SHA512 2d3545f6b3872dd48f9d4537352e6f8884cf10adca71625f75da7898a71c3100df996b6a3f8cd851d352347db5b82c67402172831179c574639c75dd35ed1d88

View File

@@ -1,24 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
DESCRIPTION="Qt GUI for System Statistics"
HOMEPAGE="https://lxqt.github.io/"
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 x86"
fi
LICENSE="GPL-2+ LGPL-2.1+"
SLOT="0"
BDEPEND=">=dev-util/lxqt-build-tools-0.7.0"
DEPEND="dev-qt/qtcore:5"
RDEPEND="${DEPEND}"

View File

@@ -1,2 +1 @@
DIST lxqt-about-0.15.0.tar.xz 39048 BLAKE2B 332420e29f1859769e9d191bd9ee3d061ccd67e061ec9b3ae7b6e2f45ff5087b95e7d9898c3d5fe135b1064b5fcd4b1bd041ae5219d09c64ef1b0b856b18ed7e SHA512 0572db83f7f11abe2b17c69ba3d1bcefc5daa011a3c474aa8217f2cf8cc1db54a5de1db4a0678381c4d37caf1d1ebbe4026ed63e17e2fbbaa4133d1e781c6e44
DIST lxqt-about-0.16.0.tar.xz 38660 BLAKE2B 4d16ed711986df41dd60a9a0371f91dc3cea6f7643c6bb50a3ff5bb91d8ab059c98b22e945fcfea93a02ebaf7d57d5c44f5f86d58d2d0c7171e543cd4b569af6 SHA512 fc7f7aa747f45fa2c3fc26e0c5de6595e3e011a3af8740a5c07a6d18b34a201c245b13dfe17167b578e84536334078a8925b4bb750461fa49923bcb88b4bf6a4

View File

@@ -1,32 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
DESCRIPTION="LXQt about dialog"
HOMEPAGE="https://lxqt.github.io/"
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 ~ppc64 x86"
fi
LICENSE="LGPL-2.1+"
SLOT="0"
BDEPEND=">=dev-util/lxqt-build-tools-0.7.0"
DEPEND="
>=dev-libs/libqtxdg-3.3.1
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
=lxqt-base/liblxqt-$(ver_cut 1-2)*
"
RDEPEND="${DEPEND}
!lxqt-base/lxqt-l10n
"

View File

@@ -1,2 +1 @@
DIST lxqt-admin-0.15.0.tar.xz 143456 BLAKE2B 641d4185f00c6aecd4f1e4da1667cf8644522932800629c925ee04045d2a996cd17ef60b5856954c6e0315fce3243f9ac528d9ed85f18a63aa4ffe8e20b6e309 SHA512 830de1f3f65913b939b286adeeddfdfc22318bf09ea0ff7b705521c5c06f8edefa189b08bd4f6281116a12fc3255ace68a35ee56f3f7bec0e0f1cceea3b47c22
DIST lxqt-admin-0.16.0.tar.xz 143724 BLAKE2B 8a9c13ea52fefe813d6fecc45e2b9263da34fa7ec5b3c28054ab8b728d813782ff351d328fed36e7c2a8bd55cde05633d4b937edbbadebd1daf25472d47da289 SHA512 ed61e886a52985f67c38d39d949fabbd5532ebf61f232d4d2accf144b8fc650f85457e0e8b6066fad3f914ad61f8b1779360c886d3622c09765e421dfcea2484

View File

@@ -1,33 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
DESCRIPTION="LXQt system administration tool"
HOMEPAGE="https://lxqt.github.io/"
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 x86"
fi
LICENSE="LGPL-2.1+"
SLOT="0"
BDEPEND=">=dev-util/lxqt-build-tools-0.7.0"
DEPEND="
dev-qt/qtcore:5
dev-qt/qtdbus:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
=lxqt-base/liblxqt-$(ver_cut 1-2)*
kde-frameworks/kwindowsystem:5
"
RDEPEND="${DEPEND}
!lxqt-base/lxqt-l10n
"

View File

@@ -1,2 +1 @@
DIST lxqt-config-0.15.0.tar.xz 312468 BLAKE2B 2b3eb43141f3b46996b785b7cd19b709028c8cecc455a63578c93a9ae580148bc35df1192591bf0fdb5584d2cf66f589dbdde0d43c6848dda263d1f0b80e8c59 SHA512 68dc8ecc38033a7a93167fb0afbe45b3e14eb1132c3faf3395ebed1fc96b5836e8db003ecffde0417dfaf9e73b70fcc69a06523319f1f858cd2020eb61113a0d
DIST lxqt-config-0.16.1.tar.xz 327652 BLAKE2B b242aeea758b8dc2804c9ebd4abd9a0ab98d92e7e6620646c90a78ca60238ef0e62e823eac3e226fdd05ddc431e271551ecf34281467a9db03fe5195a2f3e293 SHA512 3322611b74a945b2c4aa60a179fc1edabd09e474502f44e7a0319478a09762ff7a11fbb7603aa26ec8ea593514bbcdfc98fb475009d0dfa4d387963fcdef7e03

View File

@@ -1,333 +0,0 @@
From 0edcc373698189f27ac24fb0985570ef2ecd8b0d Mon Sep 17 00:00:00 2001
From: Tsu Jan <tsujan2000@gmail.com>
Date: Sun, 31 May 2020 18:04:48 +0430
Subject: [PATCH 1/4] Added an option to change window color
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
It is in LXQt Appearance Configuration → Widget Style.
Note: For the option to work, lxqt-qtplugin 0.15.1 should be installed; otherwise, it will have no effect.
---
lxqt-config-appearance/CMakeLists.txt | 1 +
lxqt-config-appearance/colorLabel.cpp | 65 ++++++++++++++++++++++++++
lxqt-config-appearance/colorLabel.h | 53 +++++++++++++++++++++
lxqt-config-appearance/styleconfig.cpp | 16 ++++++-
lxqt-config-appearance/styleconfig.ui | 34 ++++++++++++++
5 files changed, 168 insertions(+), 1 deletion(-)
create mode 100644 lxqt-config-appearance/colorLabel.cpp
create mode 100644 lxqt-config-appearance/colorLabel.h
diff --git a/lxqt-config-appearance/CMakeLists.txt b/lxqt-config-appearance/CMakeLists.txt
index 184a8309..1ec118b7 100644
--- a/lxqt-config-appearance/CMakeLists.txt
+++ b/lxqt-config-appearance/CMakeLists.txt
@@ -27,6 +27,7 @@ set(CPP_FILES
styleconfig.cpp
fontconfigfile.cpp
configothertoolkits.cpp
+ colorLabel.cpp
)
set(UI_FILES
diff --git a/lxqt-config-appearance/colorLabel.cpp b/lxqt-config-appearance/colorLabel.cpp
new file mode 100644
index 00000000..a3e22df0
--- /dev/null
+++ b/lxqt-config-appearance/colorLabel.cpp
@@ -0,0 +1,65 @@
+/* BEGIN_COMMON_COPYRIGHT_HEADER
+ * (c)LGPL2+
+ *
+ * LXQt - a lightweight, Qt based, desktop toolset
+ * https://lxqt.org/
+ *
+ * Copyright: 2020 LXQt team
+ *
+ * This program or library is free software; you can redistribute it
+ * and/or modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+
+ * You should have received a copy of the GNU Lesser General
+ * Public License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301 USA
+ *
+ * END_COMMON_COPYRIGHT_HEADER */
+
+#include "colorLabel.h"
+#include <QColorDialog>
+
+ColorLabel::ColorLabel(QWidget* parent, Qt::WindowFlags f)
+ : QLabel(parent, f)
+{
+ setFrameStyle(QFrame::Panel | QFrame::Sunken);
+ setFixedWidth(100);
+ setToolTip(tr("Click to change color."));
+}
+
+ColorLabel::~ColorLabel() {}
+
+void ColorLabel::setColor(const QColor& color)
+{
+ if (!color.isValid())
+ return;
+ stylesheetColor_ = color;
+ // ignore translucency
+ stylesheetColor_.setAlpha(255);
+ setStyleSheet(QStringLiteral("QLabel{background-color: rgb(%1, %2, %3);}")
+ .arg(color.red()).arg(color.green()).arg(color.blue()));
+}
+
+QColor ColorLabel::getColor() const
+{
+ if (stylesheetColor_.isValid())
+ return stylesheetColor_; // the window color may be different from the stylesheet color
+ return palette().color(QPalette::Window);
+}
+
+void ColorLabel::mousePressEvent(QMouseEvent* /*event*/) {
+ QColor prevColor = getColor();
+ QColor color = QColorDialog::getColor(prevColor, window(), tr("Select Color"));
+ if (color.isValid() && color != prevColor)
+ {
+ emit colorChanged();
+ setColor(color);
+ }
+}
diff --git a/lxqt-config-appearance/colorLabel.h b/lxqt-config-appearance/colorLabel.h
new file mode 100644
index 00000000..1ea1b62c
--- /dev/null
+++ b/lxqt-config-appearance/colorLabel.h
@@ -0,0 +1,53 @@
+/* BEGIN_COMMON_COPYRIGHT_HEADER
+ * (c)LGPL2+
+ *
+ * LXQt - a lightweight, Qt based, desktop toolset
+ * https://lxqt.org/
+ *
+ * Copyright: 2020 LXQt team
+ *
+ * This program or library is free software; you can redistribute it
+ * and/or modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+
+ * You should have received a copy of the GNU Lesser General
+ * Public License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301 USA
+ *
+ * END_COMMON_COPYRIGHT_HEADER */
+
+#ifndef COLORLABEL_H
+#define COLORLABEL_H
+
+#include <QLabel>
+#include <QWidget>
+#include <Qt>
+
+class ColorLabel : public QLabel {
+ Q_OBJECT
+
+public:
+ explicit ColorLabel(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags());
+ ~ColorLabel();
+
+ void setColor(const QColor& color);
+ QColor getColor() const;
+
+signals:
+ void colorChanged();
+
+protected:
+ void mousePressEvent(QMouseEvent* event);
+
+private:
+ QColor stylesheetColor_;
+};
+
+#endif // COLORLABEL_H
diff --git a/lxqt-config-appearance/styleconfig.cpp b/lxqt-config-appearance/styleconfig.cpp
index 73f336e7..ce10aff1 100644
--- a/lxqt-config-appearance/styleconfig.cpp
+++ b/lxqt-config-appearance/styleconfig.cpp
@@ -61,6 +61,7 @@ StyleConfig::StyleConfig(LXQt::Settings* settings, QSettings* qtSettings, LXQt::
connect(ui->gtk3ComboBox, QOverload<int>::of(&QComboBox::activated), this, &StyleConfig::settingsChanged);
connect(ui->toolButtonStyle, QOverload<int>::of(&QComboBox::activated), this, &StyleConfig::settingsChanged);
connect(ui->singleClickActivate, &QAbstractButton::clicked, this, &StyleConfig::settingsChanged);
+ connect(ui->winColorLabel, &ColorLabel::colorChanged, this, &StyleConfig::settingsChanged);
}
@@ -97,7 +98,6 @@ void StyleConfig::initControls()
// activate item views with single click
ui->singleClickActivate->setChecked( mSettings->value(QStringLiteral("single_click_activate"), false).toBool());
-
// Fill Qt themes
ui->qtComboBox->clear();
ui->qtComboBox->addItems(qtThemes);
@@ -108,8 +108,16 @@ void StyleConfig::initControls()
ui->gtk2ComboBox->setCurrentText(mConfigOtherToolKits->getGTKThemeFromRCFile(QStringLiteral("2.0")));
ui->gtk3ComboBox->setCurrentText(mConfigOtherToolKits->getGTKThemeFromRCFile(QStringLiteral("3.0")));
+
mSettings->beginGroup(QLatin1String("Qt"));
+ // Qt style
ui->qtComboBox->setCurrentText(mSettings->value(QStringLiteral("style")).toString());
+ // Qt window color
+ QColor color;
+ color.setNamedColor(mSettings->value(QStringLiteral("window_color")).toString());
+ if (!color.isValid())
+ color = QGuiApplication::palette().color(QPalette::Active,QPalette::Window);
+ ui->winColorLabel->setColor(color);
mSettings->endGroup();
update();
@@ -122,6 +130,12 @@ void StyleConfig::applyStyle()
mQtSettings->beginGroup(QLatin1String("Qt"));
if(mQtSettings->value(QStringLiteral("style")).toString() != themeName)
mQtSettings->setValue(QStringLiteral("style"), themeName);
+ // Qt window color
+ QColor winColor = ui->winColorLabel->getColor();
+ QColor oldWinColor;
+ oldWinColor.setNamedColor(mQtSettings->value(QStringLiteral("window_color")).toString());
+ if (winColor != oldWinColor)
+ mQtSettings->setValue(QStringLiteral("window_color"), winColor.name());
mQtSettings->endGroup();
// single click setting
diff --git a/lxqt-config-appearance/styleconfig.ui b/lxqt-config-appearance/styleconfig.ui
index 15394024..6edbe470 100644
--- a/lxqt-config-appearance/styleconfig.ui
+++ b/lxqt-config-appearance/styleconfig.ui
@@ -146,8 +146,42 @@ Make sure 'xsettingsd' is installed to help GTK applications apply themes on the
</property>
</widget>
</item>
+ <item row="2" column="0" colspan="2">
+ <layout class="QFormLayout" name="formLayout_3">
+ <property name="horizontalSpacing">
+ <number>5</number>
+ </property>
+ <property name="topMargin">
+ <number>10</number>
+ </property>
+ <property name="bottomMargin">
+ <number>10</number>
+ </property>
+ <item row="0" column="0">
+ <widget class="QLabel" name="label_6">
+ <property name="text">
+ <string>Window Color:</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="ColorLabel" name="winColorLabel">
+ <property name="text">
+ <string/>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
</layout>
</widget>
+ <customwidgets>
+ <customwidget>
+ <class>ColorLabel</class>
+ <extends>QLabel</extends>
+ <header>colorLabel.h</header>
+ </customwidget>
+ </customwidgets>
<resources/>
<connections/>
</ui>
From 99ecfabccceb827256b7ef32c75c6aa6434d2d9f Mon Sep 17 00:00:00 2001
From: Tsu Jan <tsujan2000@gmail.com>
Date: Mon, 1 Jun 2020 23:46:49 +0430
Subject: [PATCH 2/4] Added a distinguishable border to the color label
---
lxqt-config-appearance/colorLabel.cpp | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/lxqt-config-appearance/colorLabel.cpp b/lxqt-config-appearance/colorLabel.cpp
index a3e22df0..c3b69d8d 100644
--- a/lxqt-config-appearance/colorLabel.cpp
+++ b/lxqt-config-appearance/colorLabel.cpp
@@ -43,8 +43,10 @@ void ColorLabel::setColor(const QColor& color)
stylesheetColor_ = color;
// ignore translucency
stylesheetColor_.setAlpha(255);
- setStyleSheet(QStringLiteral("QLabel{background-color: rgb(%1, %2, %3);}")
- .arg(color.red()).arg(color.green()).arg(color.blue()));
+ QString borderColor = qGray(stylesheetColor_.rgb()) < 255 / 2
+ ? QStringLiteral("white") : QStringLiteral("black");
+ setStyleSheet(QStringLiteral("QLabel{background-color: rgb(%1, %2, %3); border: 1px solid %4;}}")
+ .arg(color.red()).arg(color.green()).arg(color.blue()).arg(borderColor));
}
QColor ColorLabel::getColor() const
From 37f55579da91bfd78310a0e2c28c8551ad484414 Mon Sep 17 00:00:00 2001
From: Tsu Jan <tsujan2000@gmail.com>
Date: Thu, 4 Jun 2020 15:47:22 +0430
Subject: [PATCH 3/4] Removed an extra curly bracket in stylesheet
---
lxqt-config-appearance/colorLabel.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lxqt-config-appearance/colorLabel.cpp b/lxqt-config-appearance/colorLabel.cpp
index c3b69d8d..de730baf 100644
--- a/lxqt-config-appearance/colorLabel.cpp
+++ b/lxqt-config-appearance/colorLabel.cpp
@@ -45,7 +45,7 @@ void ColorLabel::setColor(const QColor& color)
stylesheetColor_.setAlpha(255);
QString borderColor = qGray(stylesheetColor_.rgb()) < 255 / 2
? QStringLiteral("white") : QStringLiteral("black");
- setStyleSheet(QStringLiteral("QLabel{background-color: rgb(%1, %2, %3); border: 1px solid %4;}}")
+ setStyleSheet(QStringLiteral("QLabel{background-color: rgb(%1, %2, %3); border: 1px solid %4;}")
.arg(color.red()).arg(color.green()).arg(color.blue()).arg(borderColor));
}
From 30cf8267ce4af08f9953b169f9d8109fb9437f7d Mon Sep 17 00:00:00 2001
From: Tsu Jan <tsujan2000@gmail.com>
Date: Sat, 6 Jun 2020 14:15:53 +0430
Subject: [PATCH 4/4] A small improvement
---
lxqt-config-appearance/colorLabel.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lxqt-config-appearance/colorLabel.cpp b/lxqt-config-appearance/colorLabel.cpp
index de730baf..98d01729 100644
--- a/lxqt-config-appearance/colorLabel.cpp
+++ b/lxqt-config-appearance/colorLabel.cpp
@@ -46,7 +46,7 @@ void ColorLabel::setColor(const QColor& color)
QString borderColor = qGray(stylesheetColor_.rgb()) < 255 / 2
? QStringLiteral("white") : QStringLiteral("black");
setStyleSheet(QStringLiteral("QLabel{background-color: rgb(%1, %2, %3); border: 1px solid %4;}")
- .arg(color.red()).arg(color.green()).arg(color.blue()).arg(borderColor));
+ .arg(QString::number(color.red()), QString::number(color.green()), QString::number(color.blue()), borderColor));
}
QColor ColorLabel::getColor() const

View File

@@ -1,76 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake xdg-utils
DESCRIPTION="LXQt system configuration control center"
HOMEPAGE="https://lxqt.github.io/"
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 ~ppc64 x86"
fi
LICENSE="GPL-2 GPL-2+ GPL-3 LGPL-2 LGPL-2+ LGPL-2.1+ WTFPL-2"
SLOT="0"
IUSE="+monitor +touchpad"
BDEPEND="
dev-qt/linguist-tools:5
>=dev-util/lxqt-build-tools-0.7.0
"
DEPEND="
>=dev-libs/libqtxdg-3.3.1
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
=lxqt-base/liblxqt-$(ver_cut 1-2)*
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/libXext
x11-libs/libXi
)
"
RDEPEND="${DEPEND}
!lxqt-base/lxqt-l10n
"
PATCHES=( "${FILESDIR}/${PN}-0.15.0-window-colour-option.patch" )
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
}

View File

@@ -1,2 +1 @@
DIST lxqt-globalkeys-0.15.0.tar.xz 68932 BLAKE2B eedf706b9bb65c4c9a05dd122f627349a35ce6d4daf514ac2697dff8466a74fc85636c4b113919fd115b419d1430f5c5549350aa36c2b9cac857e2fbe47b186b SHA512 95beba4ce6c2324582d93a6f3f56d57681ec7d992db80a8d9fae34a637ba1612260932944e3865c3c749982e6aa111b3495558bc5d36e8b4c8e21027775e346e
DIST lxqt-globalkeys-0.16.0.tar.xz 69812 BLAKE2B 920bcb760440002f330a5f90217dbb139c3ad1196950fbdb252ad105226eaab3ef82fc8d7df874176076dc21cdc9dfedeaaca93895d2d81b1ddc9d4930870459 SHA512 a6b2de35e3deb4852e9a8462871ba0fd40c9168653b210e361ff16b7dc5c74f9c98c6427cc595578eb9bb2a34c9be702c0af65fdfb92053b1f3813070629e55b

View File

@@ -1,40 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
DESCRIPTION="Daemon and library for global keyboard shortcuts registration"
HOMEPAGE="https://lxqt.github.io/"
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 ~ppc64 x86"
fi
LICENSE="LGPL-2.1 LGPL-2.1+"
SLOT="0"
BDEPEND="
dev-qt/linguist-tools:5
>=dev-util/lxqt-build-tools-0.7.0
"
DEPEND="
>=dev-libs/libqtxdg-3.3.1
dev-qt/qtcore:5
dev-qt/qtdbus:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
dev-qt/qtx11extras:5
dev-qt/qtxml:5
=lxqt-base/liblxqt-$(ver_cut 1-2)*
kde-frameworks/kwindowsystem:5
x11-libs/libX11
"
RDEPEND="${DEPEND}
!lxqt-base/lxqt-l10n
"

View File

@@ -1,61 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_PV="$(ver_cut 1-2)*"
DESCRIPTION="Meta ebuild for LXQt, the Lightweight Desktop Environment"
HOMEPAGE="https://lxqt.github.io/"
if [[ ${PV} != *9999* ]]; then
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
fi
LICENSE="metapackage"
SLOT="0"
IUSE="+about admin archiver +display-manager +filemanager lximage
minimal nls +policykit powermanagement processviewer screenshot +sddm
ssh-askpass sudo terminal +trash"
REQUIRED_USE="trash? ( filemanager )"
# Note: we prefer kde-frameworks/oxygen-icons over other icon sets, as the initial
# install expects oxygen icons, until the user specifies otherwise (bug 543380)
RDEPEND="
kde-frameworks/oxygen-icons
>=lxde-base/lxmenu-data-0.1.5
=lxqt-base/lxqt-config-${MY_PV}
=lxqt-base/lxqt-globalkeys-${MY_PV}
=lxqt-base/lxqt-notificationd-${MY_PV}
=lxqt-base/lxqt-panel-${MY_PV}
=lxqt-base/lxqt-qtplugin-${MY_PV}
=lxqt-base/lxqt-runner-${MY_PV}
=lxqt-base/lxqt-session-${MY_PV}
virtual/ttf-fonts
=x11-themes/lxqt-themes-${MY_PV}
about? ( =lxqt-base/lxqt-about-${MY_PV} )
admin? ( =lxqt-base/lxqt-admin-${MY_PV} )
archiver? ( app-arch/lxqt-archiver )
display-manager? (
sddm? ( >=x11-misc/sddm-0.11.0 )
!sddm? ( x11-misc/lightdm )
)
filemanager? ( =x11-misc/pcmanfm-qt-${MY_PV} )
lximage? ( media-gfx/lximage-qt )
!minimal? (
x11-wm/openbox
x11-misc/obconf-qt
)
nls? ( dev-qt/qttranslations:5 )
policykit? ( =lxqt-base/lxqt-policykit-${MY_PV} )
powermanagement? ( =lxqt-base/lxqt-powermanagement-${MY_PV} )
processviewer? ( x11-misc/qps:0 )
screenshot? ( x11-misc/screengrab:0 )
sddm? ( >=x11-misc/sddm-0.11.0 )
ssh-askpass? ( =lxqt-base/lxqt-openssh-askpass-${MY_PV} )
sudo? ( =lxqt-base/lxqt-sudo-${MY_PV} )
terminal? ( x11-terms/qterminal:0 )
trash? ( gnome-base/gvfs )
"

View File

@@ -1,2 +1 @@
DIST lxqt-notificationd-0.15.0.tar.xz 49068 BLAKE2B 00277a1ecb75a7591ad4d74156889f9fceec1f81b752f2d6dc10bc77a8dbe8406df88ff4b768dfa42efa3b50048fd757b648766fa7131f7e11b5314fc9718a9e SHA512 0febe3ff61caaf4303e3853df6bc494ce8eb4a931e6d8600a2e38c07317ecadbe3d7060ac234d139326a726c43ac555153dde6b2d4d05e95ab357873457c9632
DIST lxqt-notificationd-0.16.0.tar.xz 50696 BLAKE2B e41528091c9c8abfbcd4de53daf753d5f031f9941a83c1e8c0a4f492dba85d1edd08185726dc3f68d0553c5f23a6f97a9835061bdad47abe98c4f0a54ec942f4 SHA512 127f1c044babb0c7a640d862fc9f30947b06ef37b702a75bc72a87f82f9aff15b32e29272993eb9d888e1c8db93e81cec8d07be515c769c560ecce4b439bb2f3

View File

@@ -1,37 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
DESCRIPTION="LXQt notification daemon and library"
HOMEPAGE="https://lxqt.github.io/"
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 ~ppc64 x86"
fi
LICENSE="LGPL-2.1 LGPL-2.1+"
SLOT="0"
BDEPEND="
dev-qt/linguist-tools:5
>=dev-util/lxqt-build-tools-0.7.0
"
DEPEND="
>=dev-libs/libqtxdg-3.3.1
dev-qt/qtcore:5
dev-qt/qtdbus:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
kde-frameworks/kwindowsystem:5
=lxqt-base/liblxqt-$(ver_cut 1-2)*
"
RDEPEND="${DEPEND}
!lxqt-base/lxqt-l10n
"

View File

@@ -1,2 +1 @@
DIST lxqt-openssh-askpass-0.15.0.tar.xz 17032 BLAKE2B 3a6e235477d3499429f854351f4f8686f6aaec2c8ee114fab32acd0a6759cc6e782c5afda7e1b0e496346673838938fa083322d4dc147380a918209f5c0ab0a6 SHA512 e9dd41dd75892be234e6381670fa0b836bf040b00b7c59c7f23cadc9a916e8c646c4d44645a49183a305c6b755a01e6b8e6a3c0f84aa7c374cdb3ddd577e2f44
DIST lxqt-openssh-askpass-0.16.0.tar.xz 17160 BLAKE2B cc16e4cb884530eb76ffa27f4cb207edc774c0f859cefa995a8ff395e9c166ab5ffa24e898b23c61e49fd3a9d5d8be83480cee0dacd2791609e16ce5a92debd2 SHA512 4251ecb10255e4ef2b988b162111c2889c432bf039d05ae00c3f16992424e7a27868b0e040899592cc703a7b009a197c8bdda3698e3c6ea41cf9d22c3ddddb80

View File

@@ -1,42 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
DESCRIPTION="LXQt OpenSSH user password prompt tool"
HOMEPAGE="https://lxqt.github.io/"
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 ~ppc64 x86"
fi
LICENSE="LGPL-2.1 LGPL-2.1+"
SLOT="0"
BDEPEND="
dev-qt/linguist-tools:5
>=dev-util/lxqt-build-tools-0.7.0
"
DEPEND="
dev-qt/qtcore:5
dev-qt/qtwidgets:5
=lxqt-base/liblxqt-$(ver_cut 1-2)*
"
RDEPEND="${DEPEND}
!lxqt-base/lxqt-l10n
"
src_install() {
cmake_src_install
doman man/*.1
newenvd - 99${PN} <<- _EOF_
SSH_ASKPASS='${EPREFIX}/usr/bin/lxqt-openssh-askpass'
_EOF_
}

View File

@@ -1,2 +1 @@
DIST lxqt-panel-0.15.1.tar.xz 473356 BLAKE2B 297e704c51b3c950551fd09012c0aa533fdecf3d46d0f988428ce4100b7936970c5b400c6dc77103e26c07a05d10611fcd921354063cc55252b0a9cb93b0ebe6 SHA512 8eb9856faa2ce56c56df7514772d3ae6d31339a10d16e1ed659be0a2affc57fd16e01e05cb67c4205dfb773234ca9b8a69f414f742ccc30495bf4e2acfa0513f
DIST lxqt-panel-0.16.1.tar.xz 473632 BLAKE2B aee19df3cef9dd25b20ae44cdbeb0c017fefc1e7e7f1d350e07820aa2d873a03dfd69a990e99abed95a9c633a6c496bff356fbbcfcc3cebacc50dde52dc79780 SHA512 2db8c4b5d8ddf42b72ffd5863242774277b4bf2fd1ec4393908851ce3224c970de5f12ae61be3dd7008407ea5df7b0b59990b03982e2725ee9a0ce2e3cce48f5

View File

@@ -1,116 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
DESCRIPTION="LXQt desktop panel and plugins"
HOMEPAGE="https://lxqt.github.io/"
MY_PV="$(ver_cut 1-2)*"
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 ~ppc64 x86"
fi
LICENSE="LGPL-2.1 LGPL-2.1+"
SLOT="0"
IUSE="+alsa colorpicker cpuload +desktopswitch +directorymenu dom +kbindicator
+mainmenu +mount networkmonitor pulseaudio +quicklaunch lm-sensors +showdesktop
+spacer statusnotifier sysstat +taskbar +tray +volume +worldclock"
# Work around a missing header issue: https://bugs.gentoo.org/666278
REQUIRED_USE="
|| ( desktopswitch mainmenu showdesktop taskbar )
volume? ( || ( alsa pulseaudio ) )
"
BDEPEND="
dev-qt/linguist-tools:5
>=dev-util/lxqt-build-tools-0.7.0
virtual/pkgconfig
"
DEPEND="
>=dev-libs/libqtxdg-3.3.1
dev-qt/qtcore:5
dev-qt/qtdbus:5
dev-qt/qtgui:5
dev-qt/qtsvg:5
dev-qt/qtwidgets:5
dev-qt/qtx11extras:5
dev-qt/qtxml:5
kde-frameworks/kwindowsystem:5[X]
>=lxde-base/lxmenu-data-0.1.5
>=lxde-base/menu-cache-1.1.0
=lxqt-base/liblxqt-${MY_PV}
=lxqt-base/lxqt-globalkeys-${MY_PV}
x11-libs/libX11
cpuload? ( sys-libs/libstatgrab )
kbindicator? ( x11-libs/libxkbcommon )
lm-sensors? ( sys-apps/lm-sensors )
mount? ( kde-frameworks/solid:5 )
networkmonitor? ( sys-libs/libstatgrab )
statusnotifier? ( dev-libs/libdbusmenu-qt[qt5(+)] )
sysstat? ( >=lxqt-base/libsysstat-0.4.1 )
tray? (
x11-libs/libxcb:=
x11-libs/libXcomposite
x11-libs/libXdamage
x11-libs/libXrender
x11-libs/xcb-util
)
volume? (
alsa? ( media-libs/alsa-lib )
pulseaudio? (
media-sound/pavucontrol-qt
media-sound/pulseaudio
)
)
"
RDEPEND="${DEPEND}
!lxqt-base/lxqt-l10n
"
src_configure() {
local mycmakeargs=(
# Plugins
-DCOLORPICKER_PLUGIN=$(usex colorpicker)
-DCPULOAD_PLUGIN=$(usex cpuload)
-DDESKTOPSWITCH_PLUGIN=$(usex desktopswitch)
-DDIRECTORYMENU_PLUGIN=$(usex directorymenu)
-DDOM_PLUGIN=$(usex dom)
-DKBINDICATOR_PLUGIN=$(usex kbindicator)
-DMAINMENU_PLUGIN=$(usex mainmenu)
-DMOUNT_PLUGIN=$(usex mount)
-DNETWORKMONITOR_PLUGIN=$(usex networkmonitor)
-DQUICKLAUNCH_PLUGIN=$(usex quicklaunch)
-DSENSORS_PLUGIN=$(usex lm-sensors)
-DSHOWDESKTOP_PLUGIN=$(usex showdesktop)
-DSPACER_PLUGIN=$(usex spacer)
-DSTATUSNOTIFIER_PLUGIN=$(usex statusnotifier)
-DSYSSTAT_PLUGIN=$(usex sysstat)
-DTASKBAR_PLUGIN=$(usex taskbar)
-DTRAY_PLUGIN=$(usex tray)
-DVOLUME_PLUGIN=$(usex volume)
-DWORLDCLOCK_PLUGIN=$(usex worldclock)
)
if use volume; then
mycmakeargs+=(
-DVOLUME_USE_ALSA=$(usex alsa)
-DVOLUME_USE_PULSEAUDIO=$(usex pulseaudio)
)
fi
cmake_src_configure
}
src_install() {
cmake_src_install
doman panel/man/*.1
}

View File

@@ -1,2 +1 @@
DIST lxqt-policykit-0.15.0.tar.xz 37712 BLAKE2B b9263234766dd9a2e89288f6668e8553e1f5deae0e306443fc3d15268f3fbbb4b9cfb81987d1e1f9c96ece4494ef700a6e40bf5e498eeb3d7377f3848d09b376 SHA512 2dbbe6d626ef5da816f080354caf564a1aa58270ae299483b9a4ce35d5f1bdb3c652dcb5f12d2668a0ea82556414b00320d2bd88fcadb37fbbdbf724a17e3c41
DIST lxqt-policykit-0.16.0.tar.xz 38016 BLAKE2B dd077f1a25b9bb5ee56f7ad08f24254936f3b5f1b6ab4c9148ebce160867b8535341353339470d4363fbb52eead522133ed702f7d98b78cc08df58eeb5d6467b SHA512 f6eae925cbf25064addf5d89999d16a7397ddb0d8c616f75a3b81df57a42a70e52da599fdad6b8589a1e951cf46cd541e9a23e352a0d2ee309116b6e0238cfa9

View File

@@ -1,43 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
DESCRIPTION="LXQt PolKit authentication agent"
HOMEPAGE="https://lxqt.github.io/"
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 ~ppc64 x86"
fi
LICENSE="LGPL-2.1 LGPL-2.1+"
SLOT="0"
BDEPEND="
dev-qt/linguist-tools:5
>=dev-util/lxqt-build-tools-0.7.0
virtual/pkgconfig
"
DEPEND="
dev-libs/glib:2
>=dev-libs/libqtxdg-3.3.1
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
=lxqt-base/liblxqt-$(ver_cut 1-2)*
sys-auth/polkit-qt[qt5(+)]
"
RDEPEND="${DEPEND}
!lxqt-base/lxqt-l10n
"
src_install() {
cmake_src_install
doman man/*.1
}

View File

@@ -1,2 +1 @@
DIST lxqt-powermanagement-0.15.0.tar.xz 64748 BLAKE2B 1a41e22e87c4af8b891d56d1a328d3c81ef1b5b6810fcdf392548bf497482d4c425901311f57f0a1be89e9ea49569dabb8a01be9ef90dfd8648460e2d7899507 SHA512 8ea0765bad3885e6a8e574b382d6bea0bd5065b760241b5fa641e17096fffb43c5472577729365c36918caa4ca0d058fa1a24538dfe157e32ac519d94a4db039
DIST lxqt-powermanagement-0.16.0.tar.xz 69784 BLAKE2B 44ecfc540c60ceba4cbf3408d246b70a1cfef84c2bdff7b0e5e386cc020345aa2e3d1a1b5f916f71e421501208ec67faa76b327875e3bc9f7c69fd338ad5a5e5 SHA512 d262dc5b182678389d7ac38da5fd3c9bef75ceb9c9733aae3fae9f59d8b2c5e87524fdcdafcf9ec98ad107c23db946e30431f743c6ef8011f70ec4d9fc63a72e

View File

@@ -1,42 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
DESCRIPTION="LXQt daemon for power management and auto-suspend"
HOMEPAGE="https://lxqt.github.io/"
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 x86"
fi
LICENSE="LGPL-2.1 LGPL-2.1+"
SLOT="0"
BDEPEND="
dev-qt/linguist-tools:5
>=dev-util/lxqt-build-tools-0.7.0
virtual/pkgconfig
"
DEPEND="
>=dev-libs/libqtxdg-3.3.1
dev-qt/qtcore:5
dev-qt/qtdbus:5
dev-qt/qtgui:5
dev-qt/qtsvg:5
dev-qt/qtwidgets:5
dev-qt/qtx11extras:5
kde-frameworks/kidletime:5
kde-frameworks/solid:5
=lxqt-base/liblxqt-$(ver_cut 1-2)*
sys-power/upower
"
RDEPEND="${DEPEND}
!lxqt-base/lxqt-l10n
"

View File

@@ -1,2 +1 @@
DIST lxqt-qtplugin-0.15.1.tar.xz 23100 BLAKE2B 91f6a90f435a33fd19863f9989b0603590c51f5921ad0837c025437b6fbd50105c70a47028137562af1deb6892fadea05ca3924eee8e2ba8b91a41069ad2ca47 SHA512 6fc19cf5f763d7879e5a052c5638b5b396f659f4e199493c8b87cdb661c910921ecda865de2900a047c96dd63c3ef6dbfa486d1dbe0257c26984a25a139dce2f
DIST lxqt-qtplugin-0.16.0.tar.xz 23640 BLAKE2B 53bb3e2f9dd9a72a148858af2b7b5729aeb4337494695ccf936c1c2ce13fd6e46fce95b738c000def6b8871b1f045de651fdc1d5aa3acf900dedc1d02ce59d7c SHA512 8dc6174a5b2a43332b40509b466095912d31407e70d5d3487243de3a25fd07e925fae8f46359f6b69f2e4d7e920a7ba0ae5982a8d7ad9129ffacb4d62e108203

View File

@@ -1,26 +0,0 @@
From 5858386839d499c032d62c9d10301dc09421de27 Mon Sep 17 00:00:00 2001
From: Tsu Jan <tsujan2000@gmail.com>
Date: Mon, 8 Jun 2020 01:49:41 +0430
Subject: [PATCH] Enforce Fusion's highlight color when setting window color
Because Qt's default highlight color is `#000080` while that of Fusion is `#3c8ce6`. Not only the latter is more elegant but also the patch fixes the color change after restarting apps.
Also, the highlighted text color is set to white for the sake of certainty.
---
src/lxqtplatformtheme.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/lxqtplatformtheme.cpp b/src/lxqtplatformtheme.cpp
index 76f6483..3edc5b1 100644
--- a/src/lxqtplatformtheme.cpp
+++ b/src/lxqtplatformtheme.cpp
@@ -134,6 +134,9 @@ void LXQtPlatformTheme::loadSettings() {
if(LXQtPalette_)
delete LXQtPalette_;
LXQtPalette_ = new QPalette(winColor_);
+ // Qt's default highlight color and that of Fusion may be different. This is a workaround:
+ LXQtPalette_->setColor(QPalette::Highlight, QColor(60, 140, 230));
+ LXQtPalette_->setColor(QPalette::HighlightedText, QColor(255, 255, 255));
}
// SystemFont

View File

@@ -1,30 +0,0 @@
From 8cc32d94b4c9de74b5bcf27fae2d10e6b2b11caf Mon Sep 17 00:00:00 2001
From: Tsu Jan <tsujan2000@gmail.com>
Date: Mon, 1 Jun 2020 22:20:22 +0430
Subject: [PATCH] Do not reset widget palettes on changing style
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Generally, resetting a widget's palette from outside its code is a bad practice because the palette may have been changed for a reason.
If the custom palette of a widget needs an update when the style changes, the program itself is responsible for that; otherwise, the program has a bug — as in libfm-qt's places view (which I'll fix soon) and Dolphin's main view (which will never be fixed).
---
src/lxqtplatformtheme.cpp | 4 ----
1 file changed, 4 deletions(-)
diff --git a/src/lxqtplatformtheme.cpp b/src/lxqtplatformtheme.cpp
index 2df9f8f..76f6483 100644
--- a/src/lxqtplatformtheme.cpp
+++ b/src/lxqtplatformtheme.cpp
@@ -234,10 +234,6 @@ void LXQtPlatformTheme::onSettingsChanged() {
// Qt5 added a QEvent::ThemeChange event.
QEvent event(QEvent::ThemeChange);
QApplication::sendEvent(widget, &event);
- // Also, set the palette because it may not be updated for some widgets.
- // WARNING: The app palette should be used, not LXQtPalette_, because
- // some widget styles have their own palettes.
- widget->setPalette(QApplication::palette());
}
}

View File

@@ -1,41 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
DESCRIPTION="LXQt system integration plugin for Qt"
HOMEPAGE="https://lxqt.github.io/"
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 ~ppc64 x86"
fi
LICENSE="LGPL-2.1+"
SLOT="0"
BDEPEND="
dev-qt/linguist-tools:5
>=dev-util/lxqt-build-tools-0.7.0
"
DEPEND="
dev-libs/libdbusmenu-qt:=[qt5(+)]
>=dev-libs/libqtxdg-3.5.0
dev-qt/qtcore:5
dev-qt/qtdbus:5
dev-qt/qtgui:5=
dev-qt/qtwidgets:5
dev-qt/qtx11extras:5
=x11-libs/libfm-qt-$(ver_cut 1-2)*
"
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}/${PN}-0.15.1-no-widget-reset.patch" # Fixed in next release.
"${FILESDIR}/${PN}-0.15.1-adjust-highlight-colour.patch" # Fixed in next release.
)

View File

@@ -1,2 +1 @@
DIST lxqt-runner-0.15.0.tar.xz 223996 BLAKE2B 90e078d4a2cb93bfc9f964cf4cdcee73e4d5a390ec1383f623b96f15646dec7cff630d95dcd3613427063213c951325826c69d5bff6ee8b9b3024133ed01166c SHA512 559a5ef627f311ee4894891445a7f1bf70349d7f89ec3eb1d5550f8e87486d695d03fb70a8ec936b074e83c82c29ff26c07ee3edeebbbf8dade2d9a5f4dacdba
DIST lxqt-runner-0.16.0.tar.xz 224496 BLAKE2B e5e2802eb9d90a28720137cba205b662000f8ce0ec9f1e7c9b2c3053b12a966c7a16e2d89526f82fe60ca80df38418fe6b5a5ff75a946eae833af7219b908dd4 SHA512 ae7aa1a8e6dbc3dbb464ce2812820eab98f073dacfc4195fb54adae10d69bdaaf25f852d1955c785075c31a8c75bfe42fa2456bc366c8293f0b94eff53c59c88

View File

@@ -1,47 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
DESCRIPTION="LXQt quick launcher"
HOMEPAGE="https://lxqt.github.io/"
MY_PV="$(ver_cut 1-2)*"
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 ~ppc64 x86"
fi
LICENSE="LGPL-2.1 LGPL-2.1+"
SLOT="0"
BDEPEND="
dev-qt/linguist-tools:5
>=dev-util/lxqt-build-tools-0.7.0
virtual/pkgconfig
"
DEPEND="
>=dev-cpp/muParser-2.2.3:=
>=dev-libs/libqtxdg-3.3.1
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
dev-qt/qtxml:5
kde-frameworks/kwindowsystem:5
=lxqt-base/liblxqt-${MY_PV}
=lxqt-base/lxqt-globalkeys-${MY_PV}
"
RDEPEND="${DEPEND}
!lxqt-base/lxqt-l10n
"
src_install() {
cmake_src_install
doman man/*.1
}

View File

@@ -1,2 +1 @@
DIST lxqt-session-0.15.0.tar.xz 181900 BLAKE2B 87a96f832497d235de2b86deb9b66f21bae270906c5fd17d5ea3059f6be1527502423cf55bff7b2fecfd9a881c867791dd603ce9aa1bb29b1ae1b337e05ab529 SHA512 96ef9e58ca25303ac0213f1cb5faee5efddb61ac3705484ac55b39db56c9302ff646e317dbc753b213a5e2ea38818b247244a2be5219fbe6db9e419b8c638591
DIST lxqt-session-0.16.0.tar.xz 180084 BLAKE2B 28329a4d28e6f9fd310953053d2169fa50c340557137dfcc627b8d650f32f4d09b80abde9601777d5a455f5387621f93de63908e6ea3c0d4340aab6a4757b9d4 SHA512 ce15b985ac5b11c16f58ba893ee7045aeb4f47fc77c7215a4d4ac0b782ebccf8e8f726d0c463638a5ec0101915ee367cb7d714035c1ea3057c5f3d9b7f0fd3c3

View File

@@ -1,61 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
DESCRIPTION="LXQt Session Manager"
HOMEPAGE="https://lxqt.github.io/"
MY_PV="$(ver_cut 1-2)*"
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 ~ppc64 x86"
fi
IUSE="+udev"
LICENSE="LGPL-2.1 LGPL-2.1+"
SLOT="0"
BDEPEND="
dev-qt/linguist-tools:5
>=dev-util/lxqt-build-tools-0.7.0
"
DEPEND="
>=dev-libs/libqtxdg-3.3.1
dev-qt/qtcore:5
dev-qt/qtdbus:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
dev-qt/qtx11extras:5
kde-frameworks/kwindowsystem:5[X]
=lxqt-base/liblxqt-${MY_PV}
x11-libs/libX11
x11-misc/xdg-user-dirs
udev? ( virtual/libudev )
"
RDEPEND="${DEPEND}
!lxqt-base/lxqt-l10n
"
src_configure() {
local mycmakeargs=(
-DWITH_LIBUDEV=$(usex udev)
)
cmake_src_configure
}
src_install() {
cmake_src_install
doman lxqt-config-session/man/*.1 lxqt-session/man/*.1
newenvd - 91lxqt-config-dir <<- _EOF_
XDG_CONFIG_DIRS='${EPREFIX}/usr/share'
_EOF_
}

View File

@@ -1,2 +1 @@
DIST lxqt-sudo-0.15.0.tar.xz 34528 BLAKE2B 50b7b699e85c52b7b55bf559f3d7e239ad5a9ee6031af1bf6e902cd4aa7399e9df88157ef48906b3343e4cf68d6e62912179a26d3fd4e3aa223849fd1088199f SHA512 94c96a1eac5d1ec6e84c99ecbd08e7ecb8184d4e1ada0bce137c2c8d9508cd840b56dae38e3f418cb208a3eae5b3420bf33e0b9a1bb96969f2bd4d207e89304c
DIST lxqt-sudo-0.16.0.tar.xz 35088 BLAKE2B d19dccfd7f6219473184ba93cbe8179da848216ba8080aa3754600083e8d2a20a55b403a9bddd99fef636a24e36c3ae098e110ff05f0debcbce2953bed2e167e SHA512 425c1bf1a4c2a6fe3933419c77e0d1c5f576902cf5cfd2550890e037c32c3021eb8294831f26690ff2488ed096fcd271d664d9f67e73374559c53e7669089694

View File

@@ -1,32 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
DESCRIPTION="LXQt GUI frontend for sudo"
HOMEPAGE="https://lxqt.github.io/"
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 x86"
fi
LICENSE="LGPL-2.1 LGPL-2.1+"
SLOT="0"
BDEPEND=">=dev-util/lxqt-build-tools-0.7.0"
DEPEND="
app-admin/sudo
>=dev-libs/libqtxdg-3.3.1
dev-qt/qtcore:5
dev-qt/qtwidgets:5
=lxqt-base/liblxqt-$(ver_cut 1-2)*
"
RDEPEND="${DEPEND}
!lxqt-base/lxqt-l10n
"