6 Commits

Author SHA1 Message Date
Andreas Cord-Landwehr
2ae950ec18 Update sddm to 0.19~git-hash for Qt 5.15.3 compatibility
(cherry picked from commit c595777603)
2022-10-23 22:20:39 +02:00
Andreas Cord-Landwehr
ea5762037e Switch to new kcmutils class from meta-kf5
(cherry picked from commit c0a7217eb3)
2022-10-23 22:18:12 +02:00
Andreas Cord-Landwehr
4b3950fed4 Set OE_KF5_PATH_HOST_ROOT by cmake_plasma class
(cherry picked from commit ea610dff75)
2022-10-23 22:07:29 +02:00
Andreas Cord-Landwehr
40b90a4b47 Inherit from kcmutils class in cmake_plasma
(cherry picked from commit a1fb537172)
2022-10-23 19:20:55 +02:00
Andreas Cord-Landwehr
42bbaec260 Use commit hashes for playground recipes
(cherry picked from commit 4dd9801e9a)
2022-10-23 19:00:17 +02:00
Tao Guo
feb4d8a691 fix libpinyin download failed
(cherry picked from commit e735396de3)
2022-10-16 20:17:53 +02:00
20 changed files with 33 additions and 56 deletions

View File

@@ -8,10 +8,12 @@ inherit ki18n
inherit kcoreaddons inherit kcoreaddons
inherit kconfig inherit kconfig
inherit kauth inherit kauth
inherit kcmutils
inherit kdoctools inherit kdoctools
EXTRA_OECMAKE += " \ EXTRA_OECMAKE += " \
-DBUILD_TESTING=OFF \ -DBUILD_TESTING=OFF \
-DOE_KF5_PATH_HOST_ROOT=${STAGING_DIR_HOST} \
" "
DEPENDS += " \ DEPENDS += " \

View File

@@ -19,7 +19,6 @@ DEPENDS += " \
kiconthemes \ kiconthemes \
knotifications \ knotifications \
kio \ kio \
kcmutils \
kirigami \ kirigami \
kpeople \ kpeople \
kpeoplevcard \ kpeoplevcard \
@@ -32,6 +31,7 @@ inherit kcoreaddons
inherit kconfig inherit kconfig
inherit kauth inherit kauth
inherit mime-xdg inherit mime-xdg
inherit kcmutils
EXTRA_OECMAKE += "-DEXPERIMENTALAPP_ENABLED=ON" EXTRA_OECMAKE += "-DEXPERIMENTALAPP_ENABLED=ON"
EXTRA_OECMAKE += "-DSMSAPP_ENABLED=OFF" EXTRA_OECMAKE += "-DSMSAPP_ENABLED=OFF"

View File

@@ -12,7 +12,6 @@ PR = "r0"
DEPENDS = " \ DEPENDS = " \
fftw \ fftw \
kcmutils \
kconfigwidgets \ kconfigwidgets \
kcoreaddons \ kcoreaddons \
kdecoration \ kdecoration \
@@ -23,6 +22,7 @@ DEPENDS = " \
" "
inherit cmake_plasma inherit cmake_plasma
inherit kcmutils
FILES:${PN} += " \ FILES:${PN} += " \
${libdir}/qml/QtQuick/Controls/Styles \ ${libdir}/qml/QtQuick/Controls/Styles \

View File

@@ -12,7 +12,6 @@ PR = "r0"
DEPENDS = " \ DEPENDS = " \
attica \ attica \
karchive \ karchive \
kcmutils \
kconfig \ kconfig \
kcoreaddons \ kcoreaddons \
kcrash \ kcrash \
@@ -30,6 +29,7 @@ DEPENDS = " \
inherit cmake_plasma inherit cmake_plasma
inherit mime-xdg inherit mime-xdg
inherit kcmutils
FILES:${PN} += " \ FILES:${PN} += " \
${libdir}/qml/org/kde/discovernotifier \ ${libdir}/qml/org/kde/discovernotifier \

View File

@@ -37,6 +37,7 @@ DEPENDS = " \
inherit cmake_plasma inherit cmake_plasma
inherit kdoctools inherit kdoctools
inherit kcmutils
inherit mime-xdg inherit mime-xdg
FILES_SOLIBSDEV = "" FILES_SOLIBSDEV = ""

View File

@@ -15,7 +15,6 @@ DEPENDS = " \
kdbusaddons \ kdbusaddons \
plasma-framework \ plasma-framework \
kconfigwidgets \ kconfigwidgets \
kcmutils \
kglobalaccel \ kglobalaccel \
kwidgetsaddons \ kwidgetsaddons \
kxmlgui \ kxmlgui \
@@ -23,6 +22,7 @@ DEPENDS = " \
" "
inherit cmake_plasma inherit cmake_plasma
inherit kcmutils
FILES:${PN} += " \ FILES:${PN} += " \
${datadir}/kded_kscreen \ ${datadir}/kded_kscreen \

View File

@@ -10,7 +10,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
PR = "r0" PR = "r0"
DEPENDS = " \ DEPENDS = " \
kcmutils \
kcrash \ kcrash \
kdeclarative \ kdeclarative \
kglobalaccel \ kglobalaccel \
@@ -33,6 +32,7 @@ SRC_URI:append = " \
" "
inherit cmake_plasma inherit cmake_plasma
inherit kcmutils
do_install:append() { do_install:append() {
install -d ${D}${sysconfdir}/pam.d install -d ${D}${sysconfdir}/pam.d

View File

@@ -49,6 +49,7 @@ SRC_URI:append = " \
" "
inherit cmake_plasma kdoctools inherit cmake_plasma kdoctools
inherit kcmutils
do_install:append() { do_install:append() {
# dirty workaround for aurora crash on Wayland # dirty workaround for aurora crash on Wayland

View File

@@ -29,6 +29,7 @@ DEPENDS = " \
" "
inherit cmake_plasma inherit cmake_plasma
inherit kcmutils
FILES:${PN} += " \ FILES:${PN} += " \
${libdir}/qml/QtQuick/VirtualKeyboard/Styles/Plasma/* \ ${libdir}/qml/QtQuick/VirtualKeyboard/Styles/Plasma/* \

View File

@@ -15,7 +15,6 @@ DEPENDS = " \
breeze \ breeze \
kactivities \ kactivities \
kactivitiesstats \ kactivitiesstats \
kcmutils \
kcoreaddons \ kcoreaddons \
kcrash \ kcrash \
kdbusaddons \ kdbusaddons \
@@ -54,8 +53,8 @@ DEPENDS = " \
" "
inherit cmake_plasma inherit cmake_plasma
inherit kdoctools
inherit mime-xdg inherit mime-xdg
inherit kcmutils
EXTRA_OECMAKE += " -DBUILD_xembed-sni-proxy=OFF" EXTRA_OECMAKE += " -DBUILD_xembed-sni-proxy=OFF"

View File

@@ -29,7 +29,6 @@ DEPENDS += " \
" "
inherit cmake_plasma inherit cmake_plasma
inherit kdoctools
FILES:${PN} += " \ FILES:${PN} += " \
${datadir}/kpackage/genericqml/org.kde.systemsettings.sidebar \ ${datadir}/kpackage/genericqml/org.kde.systemsettings.sidebar \

View File

@@ -2,4 +2,4 @@
# SPDX-License-Identifier: CC0-1.0 # SPDX-License-Identifier: CC0-1.0
require ${BPN}.inc require ${BPN}.inc
SRCREV = "v${PV}" SRCREV = "72e9a61e4b55f2558b8bfaeca8b533cf6275a4f5"

View File

@@ -21,6 +21,7 @@ SRC_URI = "git://invent.kde.org/libraries/${BPN};nobranch=1;protocol=https"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
inherit cmake_kdeapp inherit cmake_kdeapp
inherit pkgconfig
PACKAGES += " \ PACKAGES += " \
${PN}-browser \ ${PN}-browser \

View File

@@ -2,4 +2,4 @@
# SPDX-License-Identifier: CC0-1.0 # SPDX-License-Identifier: CC0-1.0
require ${BPN}.inc require ${BPN}.inc
SRCREV = "v${PV}" SRCREV = "b6ef51c830b85a080e09ca205bae667890601df1"

View File

@@ -7,8 +7,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
SUMMARY = "Library to deal with pinyin." SUMMARY = "Library to deal with pinyin."
SRC_URI = " \ SRC_URI = " \
git://github.com/libpinyin/libpinyin.git;nobranch=1 \ git://github.com/libpinyin/libpinyin.git;nobranch=1;protocol=https \
https://deac-ams.dl.sourceforge.net/project/libpinyin/models/model19.text.tar.gz;sha256sum=56422a4ee5966c2c809dd065692590ee8def934e52edbbe249b8488daaa1f50b;subdir=git;unpack=0 \ https://downloads.sourceforge.net/project/libpinyin/models/model19.text.tar.gz;sha256sum=56422a4ee5966c2c809dd065692590ee8def934e52edbbe249b8488daaa1f50b;subdir=git;unpack=0 \
file://0000-Utilize-bitbake-download-and-use-tools-from-PATH.patch \ file://0000-Utilize-bitbake-download-and-use-tools-from-PATH.patch \
file://0001-Optionally-install-utilities.patch \ file://0001-Optionally-install-utilities.patch \
file://0002-Provide-option-to-use-pre-downloaded-archive.patch \ file://0002-Provide-option-to-use-pre-downloaded-archive.patch \

View File

@@ -23,9 +23,8 @@ DEPENDS = " \
" "
SRC_URI = " \ SRC_URI = " \
git://github.com/sddm/${BPN};nobranch=1 \ git://github.com/sddm/${BPN};nobranch=1;protocol=https \
file://0001-fix-qml-install-dir.patch \ file://0001-Workaround-missing-sessions.patch \
file://0002-Workaround-missing-sessions.patch \
file://sddm.conf \ file://sddm.conf \
file://sddm.pam \ file://sddm.pam \
file://sddm-autologin.pam \ file://sddm-autologin.pam \

View File

@@ -13,7 +13,7 @@ The current approach is wrong in many ways:
tries to find executables based on PATH environment. Problem at least for my tries to find executables based on PATH environment. Problem at least for my
environment: There is no PATH variable set by systemd. So for session files environment: There is no PATH variable set by systemd. So for session files
without path: Do not perform further checks / just trust for now. without path: Do not perform further checks / just trust for now.
Upstream-Sttaus: Pending Upstream-Sttaus: Pending
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
@@ -22,11 +22,11 @@ Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
1 file changed, 4 insertions(+), 15 deletions(-) 1 file changed, 4 insertions(+), 15 deletions(-)
diff --git a/src/greeter/SessionModel.cpp b/src/greeter/SessionModel.cpp diff --git a/src/greeter/SessionModel.cpp b/src/greeter/SessionModel.cpp
index 2a3c091..927bce2 100644 index 1953c76..549cd4d 100644
--- a/src/greeter/SessionModel.cpp --- a/src/greeter/SessionModel.cpp
+++ b/src/greeter/SessionModel.cpp +++ b/src/greeter/SessionModel.cpp
@@ -124,22 +124,11 @@ namespace SDDM { @@ -125,22 +125,11 @@ namespace SDDM {
Session *si = new Session(type, session); Session *si = new Session(type, session);
bool execAllowed = true; bool execAllowed = true;
- QFileInfo fi(si->tryExec()); - QFileInfo fi(si->tryExec());
@@ -41,8 +41,8 @@ index 2a3c091..927bce2 100644
- execAllowed = false; - execAllowed = false;
- QProcessEnvironment env = QProcessEnvironment::systemEnvironment(); - QProcessEnvironment env = QProcessEnvironment::systemEnvironment();
- QString envPath = env.value(QStringLiteral("PATH")); - QString envPath = env.value(QStringLiteral("PATH"));
- QStringList pathList = envPath.split(QLatin1Char(':')); - const QStringList pathList = envPath.split(QLatin1Char(':'));
- foreach(const QString &path, pathList) { - for(const QString &path : pathList) {
- QDir pathDir(path); - QDir pathDir(path);
- fi.setFile(pathDir, si->tryExec()); - fi.setFile(pathDir, si->tryExec());
- if (fi.exists() && fi.isExecutable()) { - if (fi.exists() && fi.isExecutable()) {
@@ -52,6 +52,6 @@ index 2a3c091..927bce2 100644
} }
} }
// add to sessions list // add to sessions list
-- --
2.14.5 2.34.1

View File

@@ -1,28 +0,0 @@
From 45038115cf962f0b5923a74ae362e3a430ec5a3b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
Date: Thu, 8 Nov 2018 10:37:24 +0100
Subject: [PATCH] fix qml install dir
Upstream-Status: Inappropriate [configuration]
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
components/CMakeLists.txt | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/components/CMakeLists.txt b/components/CMakeLists.txt
index 33920a6..22d75c9 100644
--- a/components/CMakeLists.txt
+++ b/components/CMakeLists.txt
@@ -1,5 +1,5 @@
configure_file("2.0/LayoutBox.qml" "2.0/LayoutBox.qml")
-install(DIRECTORY "2.0/" DESTINATION "${QT_IMPORTS_DIR}/SddmComponents")
-install(DIRECTORY "common/" DESTINATION "${QT_IMPORTS_DIR}/SddmComponents")
-install(DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/2.0/" DESTINATION "${QT_IMPORTS_DIR}/SddmComponents")
+install(DIRECTORY "2.0/" DESTINATION "${QML_INSTALL_DIR}/SddmComponents")
+install(DIRECTORY "common/" DESTINATION "${QML_INSTALL_DIR}/SddmComponents")
+install(DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/2.0/" DESTINATION "${QML_INSTALL_DIR}/SddmComponents")
--
2.14.5

View File

@@ -1,5 +0,0 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRCREV = "v${PV}"

View File

@@ -0,0 +1,7 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
# use unreleased tag for fixing build with Qt 5.15.3
SRCREV = "c257a40ba95f56b5f3830b923b1c56aa055cf8ea"
PV = "0.19.0+git${SRCPV}"