Compare commits
No commits in common. "backports/jammy" and "ubuntu/noble" have entirely different histories.
backports/
...
ubuntu/nob
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,9 +1,3 @@
|
|||||||
lxqt-powermanagement (1.4.0-0ubuntu2~ppa1) jammy; urgency=medium
|
|
||||||
|
|
||||||
* Backport to Jammy.
|
|
||||||
|
|
||||||
-- Aaron Rainbolt <arraybolt3@gmail.com> Tue, 14 Nov 2023 19:28:31 -0600
|
|
||||||
|
|
||||||
lxqt-powermanagement (1.4.0-0ubuntu2) noble; urgency=medium
|
lxqt-powermanagement (1.4.0-0ubuntu2) noble; urgency=medium
|
||||||
|
|
||||||
* Patched out DPMS-related code (it was causing constant crashes)
|
* Patched out DPMS-related code (it was causing constant crashes)
|
||||||
|
12
debian/patches/revert-dpms-changes.patch
vendored
12
debian/patches/revert-dpms-changes.patch
vendored
@ -11,7 +11,7 @@ Last-Update: 2023-11-14
|
|||||||
---
|
---
|
||||||
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
||||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||||
index 876ecc3..9585409 100644
|
index 07f9549..6215d9c 100644
|
||||||
--- a/CMakeLists.txt
|
--- a/CMakeLists.txt
|
||||||
+++ b/CMakeLists.txt
|
+++ b/CMakeLists.txt
|
||||||
@@ -15,22 +15,18 @@ set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
@@ -15,22 +15,18 @@ set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
||||||
@ -19,7 +19,7 @@ index 876ecc3..9585409 100644
|
|||||||
option(UPDATE_TRANSLATIONS "Update source translation translations/*.ts files" OFF)
|
option(UPDATE_TRANSLATIONS "Update source translation translations/*.ts files" OFF)
|
||||||
|
|
||||||
-set(LXQTBT_MINIMUM_VERSION "0.13.0")
|
-set(LXQTBT_MINIMUM_VERSION "0.13.0")
|
||||||
set(KF5_MINIMUM_VERSION "5.36.0")
|
set(KF5_MINIMUM_VERSION "5.101.0")
|
||||||
set(LXQT_MINIMUM_VERSION "1.4.0")
|
set(LXQT_MINIMUM_VERSION "1.4.0")
|
||||||
set(QT_MINIMUM_VERSION "5.15.0")
|
set(QT_MINIMUM_VERSION "5.15.0")
|
||||||
|
|
||||||
@ -51,7 +51,7 @@ index b29362a..177ddb1 100644
|
|||||||
|
|
||||||
install(TARGETS
|
install(TARGETS
|
||||||
diff --git a/src/idlenesswatcher.cpp b/src/idlenesswatcher.cpp
|
diff --git a/src/idlenesswatcher.cpp b/src/idlenesswatcher.cpp
|
||||||
index 615519e..5ff2ad1 100644
|
index ecaa641..cb9d9e1 100644
|
||||||
--- a/src/idlenesswatcher.cpp
|
--- a/src/idlenesswatcher.cpp
|
||||||
+++ b/src/idlenesswatcher.cpp
|
+++ b/src/idlenesswatcher.cpp
|
||||||
@@ -24,7 +24,7 @@
|
@@ -24,7 +24,7 @@
|
||||||
@ -63,7 +63,7 @@ index 615519e..5ff2ad1 100644
|
|||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <KIdleTime>
|
#include <KIdleTime>
|
||||||
#include <Solid/Device>
|
#include <Solid/Device>
|
||||||
@@ -34,9 +34,6 @@
|
@@ -35,9 +35,6 @@
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <LXQt/lxqtnotification.h>
|
#include <LXQt/lxqtnotification.h>
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
@ -73,7 +73,7 @@ index 615519e..5ff2ad1 100644
|
|||||||
|
|
||||||
IdlenessWatcher::IdlenessWatcher(QObject* parent):
|
IdlenessWatcher::IdlenessWatcher(QObject* parent):
|
||||||
Watcher(parent)
|
Watcher(parent)
|
||||||
@@ -70,43 +67,14 @@ IdlenessWatcher::IdlenessWatcher(QObject* parent):
|
@@ -71,43 +68,14 @@ IdlenessWatcher::IdlenessWatcher(QObject* parent):
|
||||||
|
|
||||||
connect(&mPSettings, &LXQt::Settings::settingsChanged, this, &IdlenessWatcher::onSettingsChanged);
|
connect(&mPSettings, &LXQt::Settings::settingsChanged, this, &IdlenessWatcher::onSettingsChanged);
|
||||||
|
|
||||||
@ -117,7 +117,7 @@ index 615519e..5ff2ad1 100644
|
|||||||
void IdlenessWatcher::setup()
|
void IdlenessWatcher::setup()
|
||||||
{
|
{
|
||||||
if(mPSettings.isIdlenessWatcherEnabled()) {
|
if(mPSettings.isIdlenessWatcherEnabled()) {
|
||||||
@@ -140,13 +108,6 @@ void IdlenessWatcher::setup()
|
@@ -141,13 +109,6 @@ void IdlenessWatcher::setup()
|
||||||
milliseconds = 1000;
|
milliseconds = 1000;
|
||||||
mIdleBacklightWatcher = KIdleTime::instance()->addIdleTimeout(milliseconds);
|
mIdleBacklightWatcher = KIdleTime::instance()->addIdleTimeout(milliseconds);
|
||||||
}
|
}
|
||||||
|
30
debian/patches/revert-kwindowsystem-port.patch
vendored
30
debian/patches/revert-kwindowsystem-port.patch
vendored
@ -1,30 +0,0 @@
|
|||||||
--- a/CMakeLists.txt
|
|
||||||
+++ b/CMakeLists.txt
|
|
||||||
@@ -16,7 +16,7 @@ set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
|
||||||
option(UPDATE_TRANSLATIONS "Update source translation translations/*.ts files" OFF)
|
|
||||||
|
|
||||||
set(LXQTBT_MINIMUM_VERSION "0.13.0")
|
|
||||||
-set(KF5_MINIMUM_VERSION "5.101.0")
|
|
||||||
+set(KF5_MINIMUM_VERSION "5.36.0")
|
|
||||||
set(LXQT_MINIMUM_VERSION "1.4.0")
|
|
||||||
set(QT_MINIMUM_VERSION "5.15.0")
|
|
||||||
|
|
||||||
--- a/src/idlenesswatcher.cpp
|
|
||||||
+++ b/src/idlenesswatcher.cpp
|
|
||||||
@@ -30,7 +30,6 @@
|
|
||||||
#include <Solid/Device>
|
|
||||||
#include <Solid/Battery>
|
|
||||||
#include <KWindowSystem/KWindowSystem>
|
|
||||||
-#include <KWindowSystem/KX11Extras>
|
|
||||||
#include <KWindowSystem/KWindowInfo>
|
|
||||||
#include <QDebug>
|
|
||||||
#include <LXQt/lxqtnotification.h>
|
|
||||||
@@ -162,7 +161,7 @@ void IdlenessWatcher::timeoutReached(int
|
|
||||||
|
|
||||||
// check if disable Idleness when fullscreen is enabled
|
|
||||||
if (mPSettings.isDisableIdlenessWhenFullscreenEnabled()) {
|
|
||||||
- WId w = KX11Extras::activeWindow();
|
|
||||||
+ WId w = KWindowSystem::activeWindow();
|
|
||||||
KWindowInfo info(w, NET::WMState);
|
|
||||||
if (info.hasState(NET::FullScreen)) {
|
|
||||||
QTimer::singleShot(0, this, [] {
|
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -1,3 +1,2 @@
|
|||||||
battery-ux.patch
|
battery-ux.patch
|
||||||
revert-kwindowsystem-port.patch
|
|
||||||
revert-dpms-changes.patch
|
revert-dpms-changes.patch
|
||||||
|
Loading…
x
Reference in New Issue
Block a user