diff --git a/.gitignore b/.gitignore index 3b40b23..72d5ec8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /angle-down.png /v0.15.0.tar.gz +/v0.16.0.tar.gz diff --git a/0001-Port-from-xauth-to-libXau.patch b/0001-Port-from-xauth-to-libXau.patch index c34b7c4..fcf3e1c 100644 --- a/0001-Port-from-xauth-to-libXau.patch +++ b/0001-Port-from-xauth-to-libXau.patch @@ -21,7 +21,7 @@ index 23e0383..abb9b7e 100644 # XKB find_package(XKB REQUIRED) -+# XKB ++# XAU +find_package(XAU REQUIRED) + # Qt 5 @@ -126,7 +126,7 @@ index 7656856..46e7452 100644 - // Touch file - QFile file_handler(file); -- file_handler.open(QIODevice::WriteOnly); +- file_handler.open(QIODevice::Append); - file_handler.close(); + if (gethostname(localhost, HOST_NAME_MAX) < 0) { + strcpy(localhost, "localhost"); @@ -193,13 +193,14 @@ diff --git a/src/helper/CMakeLists.txt b/src/helper/CMakeLists.txt index 8163d94..3e76577 100644 --- a/src/helper/CMakeLists.txt +++ b/src/helper/CMakeLists.txt -@@ -27,7 +27,10 @@ else() +@@ -27,7 +27,11 @@ else() endif() add_executable(sddm-helper ${HELPER_SOURCES}) --target_link_libraries(sddm-helper Qt5::Network) +-target_link_libraries(sddm-helper Qt5::Network Qt5::DBus) +target_link_libraries(sddm-helper + Qt5::Network ++ Qt5::DBus + ${LIBXAU_LIBRARIES} +) if(PAM_FOUND) @@ -254,7 +255,7 @@ index 587888d..8690cb0 100644 QDir().mkpath(finfo.absolutePath()); - QFile file_handler(file); -- file_handler.open(QIODevice::WriteOnly); +- file_handler.open(QIODevice::Append); - file_handler.close(); + // open the file + FILE *fp = fopen(qPrintable(file), "w"); diff --git a/sddm.spec b/sddm.spec index dd4f640..72be47a 100644 --- a/sddm.spec +++ b/sddm.spec @@ -1,8 +1,8 @@ %global _hardened_build 1 Name: sddm -Version: 0.15.0 -Release: 3%{?dist} +Version: 0.16.0 +Release: 1%{?dist} # code GPLv2+, fedora theme CC-BY-SA License: GPLv2+ and CC-BY-SA Summary: QML based X11 desktop manager @@ -228,6 +228,9 @@ exit 0 %changelog +* Thu Nov 23 2017 Martin Bříza - 0.16.0-1 +- sddm-0.16.0 (#1504466) + * Fri Oct 27 2017 Rex Dieter - 0.15.0-3 - use fedora wallpaper for fallback/maui theme diff --git a/sources b/sources index 4daa67d..df25168 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -SHA512 (angle-down.png) = 054f6c257afeba5b7d91225117c1642dfb1382f0caf00ee5268d2d021042f73c99e03746e91052ec52d7f4e5bae3e0b8d4c9aef9d13fa70e85e0474a47c50dee -SHA512 (v0.15.0.tar.gz) = 06b62b327f06af660eaf653c02d24e8a389bbc0c5af1ccef99e44cbbc909ce514a9b0fc79868e450f3b5c548dc5cea4013ca7d77b87372d867983442728bfc50 +SHA512 (v0.16.0.tar.gz) = c4a8fc4cb23e61defb8ca5a48bb9354cfa694057cb6fc3697f9dcd52a24b21e9a24568ae1f54810137468f3e0b198483cbb500c11f19f654267c40053f301abc