lxqt-config: update to 1.3.0.

This commit is contained in:
Helmut Pozimski 2023-04-22 10:46:51 +02:00
parent 121d976c43
commit 5fc7d778b7
2 changed files with 3 additions and 83 deletions

View File

@ -1,80 +0,0 @@
From 6add4e4f0040693e7c4242fbae48c9d32007686c Mon Sep 17 00:00:00 2001
From: Mamoru TASAKA <mtasaka@fedoraproject.org>
Date: Fri, 3 Feb 2023 08:11:04 +0900
Subject: [PATCH] lxqt-config-monitor: add more header file inclusion for
libkscreen 5.26.90 (#915)
With https://github.com/KDE/libkscreen/commit/94f330959b0eda775418aef7faee80ce69144e63 ,
`#include <KScreen/Output>` no longer includes "mode.h" implicitly.
So in lxqt-config-monitor, files using `class KScreen::Mode` should include
`#include <KScreen/Mode>` explicitly.
Related: #903 .
---
lxqt-config-monitor/kscreenutils.cpp | 1 +
lxqt-config-monitor/loadsettings.cpp | 1 +
lxqt-config-monitor/monitorpicture.cpp | 1 +
lxqt-config-monitor/monitorsettingsdialog.cpp | 1 +
lxqt-config-monitor/monitorwidget.cpp | 1 +
5 files changed, 5 insertions(+)
diff --git a/lxqt-config-monitor/kscreenutils.cpp b/lxqt-config-monitor/kscreenutils.cpp
index 9515e789..be2634d7 100644
--- a/lxqt-config-monitor/kscreenutils.cpp
+++ b/lxqt-config-monitor/kscreenutils.cpp
@@ -2,6 +2,7 @@
#include "timeoutdialog.h"
#include <KScreen/Output>
+#include <KScreen/Mode>
#include <KScreen/Config>
#include <KScreen/GetConfigOperation>
#include <KScreen/SetConfigOperation>
diff --git a/lxqt-config-monitor/loadsettings.cpp b/lxqt-config-monitor/loadsettings.cpp
index 0c7bd73c..4e9331ba 100644
--- a/lxqt-config-monitor/loadsettings.cpp
+++ b/lxqt-config-monitor/loadsettings.cpp
@@ -23,6 +23,7 @@
#include "kscreenutils.h"
#include <KScreen/Output>
#include <KScreen/Config>
+#include <KScreen/Mode>
#include <KScreen/GetConfigOperation>
#include <KScreen/SetConfigOperation>
#include <LXQt/Settings>
diff --git a/lxqt-config-monitor/monitorpicture.cpp b/lxqt-config-monitor/monitorpicture.cpp
index 0d06ab82..4cb14894 100644
--- a/lxqt-config-monitor/monitorpicture.cpp
+++ b/lxqt-config-monitor/monitorpicture.cpp
@@ -24,6 +24,7 @@
#include <QDebug>
#include <QVector2D>
#include <QRectF>
+#include <KScreen/Mode>
#include <QScrollBar>
#include "configure.h"
diff --git a/lxqt-config-monitor/monitorsettingsdialog.cpp b/lxqt-config-monitor/monitorsettingsdialog.cpp
index 6172019f..bfd8c1dd 100644
--- a/lxqt-config-monitor/monitorsettingsdialog.cpp
+++ b/lxqt-config-monitor/monitorsettingsdialog.cpp
@@ -28,6 +28,7 @@
#include "kscreenutils.h"
#include <KScreen/Output>
+#include <KScreen/Mode>
#include <QJsonObject>
#include <QJsonArray>
#include <LXQt/Settings>
diff --git a/lxqt-config-monitor/monitorwidget.cpp b/lxqt-config-monitor/monitorwidget.cpp
index e0fcf0a8..41883c25 100644
--- a/lxqt-config-monitor/monitorwidget.cpp
+++ b/lxqt-config-monitor/monitorwidget.cpp
@@ -22,6 +22,7 @@
#include <QComboBox>
#include <QStringBuilder>
#include <QDialogButtonBox>
+#include <KScreen/Mode>
#include <KScreen/EDID>
#include <algorithm>

View File

@ -1,7 +1,7 @@
# Template file for 'lxqt-config'
pkgname=lxqt-config
version=1.2.0
revision=2
version=1.3.0
revision=1
build_style=cmake
configure_args="-DCMAKE_CXX_STANDARD=17"
hostmakedepends="pkg-config lxqt-build-tools qt5-qmake qt5-host-tools perl"
@ -12,4 +12,4 @@ maintainer="Helmut Pozimski <helmut@pozimski.eu>"
license="LGPL-2.1-or-later"
homepage="https://lxqt-project.org"
distfiles="https://github.com/lxqt/lxqt-config/archive/${version}.tar.gz"
checksum=bbc58b60b60b687e3a9f73f5bcba85d9ac3a767a5e730d997d526cab82f13e48
checksum=e269bd02126dc30e96035516e728ab5d234c34e247110016e0cef3c42d9d15ed