mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-02-18 18:40:12 +00:00
chore(kde): Add fix for log spam (Thank @m2giles)
This commit is contained in:
parent
4d198bd8e8
commit
9b4fb52ab2
136
spec_files/steamdeck-kde-presets/splash.patch
Normal file
136
spec_files/steamdeck-kde-presets/splash.patch
Normal file
@ -0,0 +1,136 @@
|
||||
diff --git a/usr/share/plasma/look-and-feel/com.valve.vapor.desktop/contents/splash/Splash.qml b/usr/share/plasma/look-and-feel/com.valve.vapor.desktop/contents/splash/Splash.qml
|
||||
index d518586..091b59d 100644
|
||||
--- a/usr/share/plasma/look-and-feel/com.valve.vapor.desktop/contents/splash/Splash.qml
|
||||
+++ b/usr/share/plasma/look-and-feel/com.valve.vapor.desktop/contents/splash/Splash.qml
|
||||
@@ -4,9 +4,8 @@
|
||||
SPDX-License-Identifier: GPL-2.0-or-later
|
||||
*/
|
||||
|
||||
-import QtQuick 2.5
|
||||
-import QtQuick.Window 2.2
|
||||
-import org.kde.plasma.core 2.0 as PlasmaCore
|
||||
+import QtQuick
|
||||
+import org.kde.kirigami 2 as Kirigami
|
||||
|
||||
Rectangle {
|
||||
id: root
|
||||
@@ -38,25 +37,27 @@ Rectangle {
|
||||
Image {
|
||||
id: logo
|
||||
//match SDDM/lockscreen avatar positioning
|
||||
- property real size: PlasmaCore.Units.gridUnit * 24
|
||||
+ readonly property real size: Kirigami.Units.gridUnit * 8
|
||||
|
||||
anchors.centerIn: parent
|
||||
|
||||
+ asynchronous: true
|
||||
source: "images/bazzite_logo.svgz"
|
||||
|
||||
- sourceSize.width: 128
|
||||
- sourceSize.height: 128
|
||||
+ sourceSize.width: size
|
||||
+ sourceSize.height: size
|
||||
}
|
||||
|
||||
// TODO: port to PlasmaComponents3.BusyIndicator
|
||||
Image {
|
||||
id: busyIndicator
|
||||
//in the middle of the remaining space
|
||||
- y: parent.height - (parent.height - logo.y) / 3 - height/2
|
||||
+ y: parent.height - (parent.height - logo.y) / 2 - height/2
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
+ asynchronous: true
|
||||
source: "images/busywidget.svgz"
|
||||
- sourceSize.height: PlasmaCore.Units.gridUnit * 2
|
||||
- sourceSize.width: PlasmaCore.Units.gridUnit * 2
|
||||
+ sourceSize.height: Kirigami.Units.gridUnit * 2
|
||||
+ sourceSize.width: Kirigami.Units.gridUnit * 2
|
||||
RotationAnimator on rotation {
|
||||
id: rotationAnimator
|
||||
from: 0
|
||||
@@ -67,7 +68,7 @@ Rectangle {
|
||||
duration: 2000
|
||||
loops: Animation.Infinite
|
||||
// Don't want it to animate at all if the user has disabled animations
|
||||
- running: PlasmaCore.Units.longDuration > 1
|
||||
+ running: Kirigami.Units.longDuration > 1
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -78,7 +79,7 @@ Rectangle {
|
||||
target: content
|
||||
from: 0
|
||||
to: 1
|
||||
- duration: PlasmaCore.Units.veryLongDuration * 2
|
||||
+ duration: Kirigami.Units.veryLongDuration * 2
|
||||
easing.type: Easing.InOutQuad
|
||||
}
|
||||
}
|
||||
diff --git a/usr/share/plasma/look-and-feel/com.valve.vgui.desktop/contents/splash/Splash.qml b/usr/share/plasma/look-and-feel/com.valve.vgui.desktop/contents/splash/Splash.qml
|
||||
index d518586..091b59d 100644
|
||||
--- a/usr/share/plasma/look-and-feel/com.valve.vgui.desktop/contents/splash/Splash.qml
|
||||
+++ b/usr/share/plasma/look-and-feel/com.valve.vgui.desktop/contents/splash/Splash.qml
|
||||
@@ -4,9 +4,8 @@
|
||||
SPDX-License-Identifier: GPL-2.0-or-later
|
||||
*/
|
||||
|
||||
-import QtQuick 2.5
|
||||
-import QtQuick.Window 2.2
|
||||
-import org.kde.plasma.core 2.0 as PlasmaCore
|
||||
+import QtQuick
|
||||
+import org.kde.kirigami 2 as Kirigami
|
||||
|
||||
Rectangle {
|
||||
id: root
|
||||
@@ -38,25 +37,27 @@ Rectangle {
|
||||
Image {
|
||||
id: logo
|
||||
//match SDDM/lockscreen avatar positioning
|
||||
- property real size: PlasmaCore.Units.gridUnit * 24
|
||||
+ readonly property real size: Kirigami.Units.gridUnit * 8
|
||||
|
||||
anchors.centerIn: parent
|
||||
|
||||
+ asynchronous: true
|
||||
source: "images/bazzite_logo.svgz"
|
||||
|
||||
- sourceSize.width: 128
|
||||
- sourceSize.height: 128
|
||||
+ sourceSize.width: size
|
||||
+ sourceSize.height: size
|
||||
}
|
||||
|
||||
// TODO: port to PlasmaComponents3.BusyIndicator
|
||||
Image {
|
||||
id: busyIndicator
|
||||
//in the middle of the remaining space
|
||||
- y: parent.height - (parent.height - logo.y) / 3 - height/2
|
||||
+ y: parent.height - (parent.height - logo.y) / 2 - height/2
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
+ asynchronous: true
|
||||
source: "images/busywidget.svgz"
|
||||
- sourceSize.height: PlasmaCore.Units.gridUnit * 2
|
||||
- sourceSize.width: PlasmaCore.Units.gridUnit * 2
|
||||
+ sourceSize.height: Kirigami.Units.gridUnit * 2
|
||||
+ sourceSize.width: Kirigami.Units.gridUnit * 2
|
||||
RotationAnimator on rotation {
|
||||
id: rotationAnimator
|
||||
from: 0
|
||||
@@ -67,7 +68,7 @@ Rectangle {
|
||||
duration: 2000
|
||||
loops: Animation.Infinite
|
||||
// Don't want it to animate at all if the user has disabled animations
|
||||
- running: PlasmaCore.Units.longDuration > 1
|
||||
+ running: Kirigami.Units.longDuration > 1
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -78,7 +79,7 @@ Rectangle {
|
||||
target: content
|
||||
from: 0
|
||||
to: 1
|
||||
- duration: PlasmaCore.Units.veryLongDuration * 2
|
||||
+ duration: Kirigami.Units.veryLongDuration * 2
|
||||
easing.type: Easing.InOutQuad
|
||||
}
|
||||
}
|
@ -15,6 +15,7 @@ Patch0: multiuser.patch
|
||||
Patch1: lockscreen.patch
|
||||
Patch2: bazzite_logo.patch
|
||||
Patch3: ublue.patch
|
||||
Patch4: splash.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
|
@ -16,6 +16,7 @@ Patch1: kdeglobals.patch
|
||||
Patch2: bazzite_logo.patch
|
||||
Patch3: ublue.patch
|
||||
Patch4: wayland-remove-env.patch
|
||||
Patch5: splash.patch
|
||||
|
||||
Requires: kde-filesystem
|
||||
|
||||
|
6
system_files/desktop/kinoite/usr/share/qt5/qtlogging.ini
Normal file
6
system_files/desktop/kinoite/usr/share/qt5/qtlogging.ini
Normal file
@ -0,0 +1,6 @@
|
||||
[Rules]
|
||||
*.debug=false
|
||||
qt.qpa.xcb.xcberror.warning=false
|
||||
kf.svg.info=false
|
||||
kf.svg.debug=false
|
||||
kf.svg.warning=false
|
6
system_files/desktop/kinoite/usr/share/qt6/qtlogging.ini
Normal file
6
system_files/desktop/kinoite/usr/share/qt6/qtlogging.ini
Normal file
@ -0,0 +1,6 @@
|
||||
[Rules]
|
||||
*.debug=false
|
||||
qt.qpa.xcb.xcberror.warning=false
|
||||
kf.svg.info=false
|
||||
kf.svg.debug=false
|
||||
kf.svg.warning=false
|
Loading…
x
Reference in New Issue
Block a user