From be536064cba5b747deb975d99937520efa7c7b66 Mon Sep 17 00:00:00 2001 From: Andrew Benson Date: Thu, 29 Jun 2023 06:20:49 -0400 Subject: [PATCH 1/2] linux-driver-management: move Xsetup to examples --- srcpkgs/linux-driver-management/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/linux-driver-management/template b/srcpkgs/linux-driver-management/template index 0a8859cb73b44a..66c76851127c0d 100644 --- a/srcpkgs/linux-driver-management/template +++ b/srcpkgs/linux-driver-management/template @@ -1,7 +1,7 @@ # Template file for 'linux-driver-management' pkgname=linux-driver-management version=1.0.3 -revision=2 +revision=3 # Tests require unpackaged umockdev # https://github.com/martinpitt/umockdev build_style=meson @@ -23,6 +23,11 @@ if [ "$CROSS_BUILD" ]; then hostmakedepends+=" glib-devel" fi +post_install() { + mkdir -p ${DESTDIR}/usr/share/examples + mv ${DESTDIR}/usr/share/sddm/scripts/Xsetup ${DESTDIR}/usr/share/examples/Xsetup.${pkgname} +} + linux-driver-management-devel_package() { depends="${sourcepkg}>=${version}_${revision}" short_desc+=" - Development files" From c76781d4467652ce8ea4948b6d0d07d4389a57d8 Mon Sep 17 00:00:00 2001 From: Andrew Benson Date: Fri, 23 Jun 2023 12:22:59 -0500 Subject: [PATCH 2/2] sddm: update to 0.20.0. --- srcpkgs/sddm/patches/qt-5.15.2.patch | 23 ----------------------- srcpkgs/sddm/template | 11 ++++++----- 2 files changed, 6 insertions(+), 28 deletions(-) delete mode 100644 srcpkgs/sddm/patches/qt-5.15.2.patch diff --git a/srcpkgs/sddm/patches/qt-5.15.2.patch b/srcpkgs/sddm/patches/qt-5.15.2.patch deleted file mode 100644 index 51094817c6daf7..00000000000000 --- a/srcpkgs/sddm/patches/qt-5.15.2.patch +++ /dev/null @@ -1,23 +0,0 @@ -From e93bf95c54ad8c2a1604f8d7be05339164b19308 Mon Sep 17 00:00:00 2001 -From: "aacid@kde.org" -Date: Thu, 12 Nov 2020 23:42:48 +0100 -Subject: [PATCH] Fix compilation once QTBUG-88431 gets fixed - -And also comes closes to Qt6 compatibility ---- - src/daemon/XorgDisplayServer.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/daemon/XorgDisplayServer.cpp b/src/daemon/XorgDisplayServer.cpp -index 5f93a1b37..d5f29a94a 100644 ---- a/src/daemon/XorgDisplayServer.cpp -+++ b/src/daemon/XorgDisplayServer.cpp -@@ -65,7 +65,7 @@ namespace SDDM { - // create a random hexadecimal number - const char *digits = "0123456789abcdef"; - for (int i = 0; i < 32; ++i) -- m_cookie[i] = digits[dis(gen)]; -+ m_cookie[i] = QLatin1Char(digits[dis(gen)]); - } - - XorgDisplayServer::~XorgDisplayServer() { diff --git a/srcpkgs/sddm/template b/srcpkgs/sddm/template index 2a87381c8e8a0a..b91cef64249e20 100644 --- a/srcpkgs/sddm/template +++ b/srcpkgs/sddm/template @@ -1,7 +1,7 @@ # Template file for 'sddm' pkgname=sddm -version=0.19.0 -revision=3 +version=0.20.0 +revision=1 build_style=cmake configure_args="-DBUILD_MAN_PAGES=ON -DNO_SYSTEMD=ON -DUSE_ELOGIND=ON -DLOGIN_DEFS_PATH=${XBPS_SRCPKGDIR}/shadow/files/login.defs @@ -12,9 +12,10 @@ depends="dbus" short_desc="QML based X11 display manager" maintainer="Michael Aldridge " license="GPL-2.0-or-later, CC-BY-3.0" -homepage="http://github.com/sddm/sddm" -distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz" -checksum=e76da1f13d5ad5e0179e3fec57543126044339405ef19c397e105e0807bd4e41 +homepage="https://github.com/sddm/sddm" +changelog="https://raw.githubusercontent.com/sddm/sddm/develop/ChangeLog" +distfiles="https://github.com/sddm/sddm/archive/v${version}.tar.gz" +checksum=467c8bd91e0d4f76d4bc4e57ab334f1f48a33478482ba9476d93b0b3d7ace9fb if [ "$CROSS_BUILD" ]; then hostmakedepends+=" sddm qt5-host-tools qt5-qmake qt5-tools"