Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package lightdm for openSUSE:Leap:16.0 checked in at 2025-07-04 10:53:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:16.0/lightdm (Old) and /work/SRC/openSUSE:Leap:16.0/.lightdm.new.1903 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lightdm" Fri Jul 4 10:53:41 2025 rev:4 rq:1290180 version:1.32.0 Changes: -------- --- /work/SRC/openSUSE:Leap:16.0/lightdm/lightdm.changes 2025-03-19 11:50:25.159015558 +0100 +++ /work/SRC/openSUSE:Leap:16.0/.lightdm.new.1903/lightdm.changes 2025-07-04 10:53:42.188128000 +0200 @@ -1,0 +2,30 @@ +Sun May 25 13:52:35 UTC 2025 - Hillwood Yang <hillw...@opensuse.org> + +- Fix build on Leap 15: Use gcc 13 + +------------------------------------------------------------------- +Thu May 15 13:10:57 UTC 2025 - Hillwood Yang <hillw...@opensuse.org> + +- Add lightdm-1.32.0-qt6-library.patch, support Qt6 + +------------------------------------------------------------------- +Tue Mar 25 10:18:19 UTC 2025 - Callum Farmer <gm...@opensuse.org> + +- Add lightdm.service to prepare for systemd control of display + manager choice + +------------------------------------------------------------------- +Mon Aug 25 13:51:43 UTC 2024 - sb56637 <mxoo2...@duck.com> + +- Added /usr/sbin/nologin to hidden-shells to prevent "Dynamic User" from appearing in user list + +------------------------------------------------------------------- +Fri Jul 12 09:30:03 UTC 2024 - Martin Jambor <mjam...@suse.com> + +- Add typecasts to avoid passing incompatible pointer types to + opensuse_sysconfig_get_string and opensuse_sysconfig_get_boolean to + our patch lightdm-sysconfig-support.patch so that the package + compiles with compilers which by default enforce C99 standard such + as GCC 14. [boo#1221704] + +------------------------------------------------------------------- New: ---- lightdm-1.32.0-qt6-library.patch lightdm.service ----------(New B)---------- New: - Add lightdm-1.32.0-qt6-library.patch, support Qt6 ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lightdm.spec ++++++ --- /var/tmp/diff_new_pack.oUKn5q/_old 2025-07-04 10:53:42.596144909 +0200 +++ /var/tmp/diff_new_pack.oUKn5q/_new 2025-07-04 10:53:42.600145075 +0200 @@ -1,7 +1,7 @@ # # spec file for package lightdm # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2025 SUSE LLC # Copyright (c) 2011 Guido Berhoerster. # # All modifications and additions to the file contributed by third parties @@ -30,6 +30,8 @@ %define qt4_lib lib%{qt4_libname}-0 %define qt5_libname lightdm-qt5-3 %define qt5_lib lib%{qt5_libname}-0 +%define qt6_libname lightdm-qt6-3 +%define qt6_lib lib%{qt6_libname}-0 %define typelibname typelib-1_0-LightDM-1 %define rundir /run Name: lightdm @@ -50,6 +52,7 @@ Source8: lightdm.pam Source9: lightdm-autologin.pam Source10: lightdm.sysusers +Source11: lightdm.service # PATCH-FEATURE-OPENSUSE lightdm-sysconfig-support.patch g...@opensuse.org -- Adds support for reading configuration options from /etc/sysconfig/displaymanager and /etc/sysconfig/windowmanager Patch0: lightdm-sysconfig-support.patch # PATCH-FEATURE-OPENSUSE lightdm-xauthlocalhostname-support.patch boo#796230 g...@opensuse.org -- Set XAUTHLOCALHOSTNAME to the hostname for local logins to avoid issues in the session in case the hostname changes @@ -62,6 +65,8 @@ Patch4: lightdm-use-run-dir.patch # PATCH-FIX-OPENSUSE ignore-known-symlink-sessions.patch boo#1030873 -- Ignore known synlink sessions. Patch5: lightdm-ignore-known-symlink-sessions.patch +# PATCH-FIX-UPSTREAM lightdm-1.32.0-qt6-library.patch -- Support Qt6 +Patch6: lightdm-1.32.0-qt6-library.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ @@ -77,6 +82,9 @@ BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5Gui) +BuildRequires: pkgconfig(Qt6Core) +BuildRequires: pkgconfig(Qt6DBus) +BuildRequires: pkgconfig(Qt6Gui) %if %{build_qt4} BuildRequires: pkgconfig(QtCore) BuildRequires: pkgconfig(QtDBus) @@ -92,6 +100,9 @@ BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xcb) BuildRequires: pkgconfig(xdmcp) +%if 0%{?suse_version} < 1600 +BuildRequires: gcc13-c++ +%endif Requires: gdmflexiserver # 3rd party greeters don't have to follow # the same versioning of lightdm. @@ -193,6 +204,25 @@ This package contains development files needed for developing Qt5-based LightDM clients. +%package -n %{qt6_lib} +Summary: LightDM Qt6-based Client Library +License: LGPL-2.0-only OR LGPL-3.0-only +Group: System/Libraries + +%description -n %{qt6_lib} +A Qt5-based library for LightDM clients to use to interface with +LightDM. + +%package qt6-devel +Summary: Development Files for %{qt6_lib} +License: LGPL-2.0-only OR LGPL-3.0-only +Group: Development/Libraries/C and C++ +Requires: %{qt6_lib} = %{version} + +%description qt6-devel +This package contains development files needed for developing +Qt6-based LightDM clients. + %package bash-completion Summary: Bash completion for lightdm Group: System/Shells @@ -208,6 +238,9 @@ %autosetup -p1 %build +%if 0%{?suse_version} < 1600 + export CXX=g++-13 +%endif %sysusers_generate_pre %{SOURCE10} lightdm lightdm.conf export MOC4='%{_bindir}/moc' export MOC5='%{_libqt5_bindir}/moc' @@ -282,10 +315,12 @@ %endif install -Dm0644 %{SOURCE10} %{buildroot}%{_sysusersdir}/lightdm.conf +install -Dm0644 %{SOURCE11} %{buildroot}%{_unitdir}/lightdm.service %find_lang %{name} %{?no_lang_C} %pre -f lightdm.pre +%service_add_pre %{name}.service for i in pam.d/lightdm pam.d/lightdm-autologin pam.d/lightdm-greeter; do test -f /etc/${i}.rpmsave && mv -v /etc/${i}.rpmsave /etc/${i}.rpmsave.old ||: done @@ -297,6 +332,7 @@ done %post +%service_add_post %{name}.service # Special trick: migrate users from lxdm to lightdm # see https://lists.opensuse.org/opensuse-factory/2016-07/msg00417.html . %{_sysconfdir}/sysconfig/displaymanager @@ -306,7 +342,11 @@ %{_sbindir}/update-alternatives --install %{_prefix}/lib/X11/displaymanagers/default-displaymanager \ default-displaymanager %{_prefix}/lib/X11/displaymanagers/lightdm 15 +%preun +%service_del_preun %{name}.service + %postun +%service_del_postun_without_restart %{name}.service if [ "$1" -eq 0 ]; then . %{_sysconfdir}/sysconfig/displaymanager if [ "$DISPLAYMANAGER" == "lightdm" ] ; then @@ -330,6 +370,10 @@ %postun -n %{qt5_lib} -p /sbin/ldconfig +%post -n %{qt6_lib} -p /sbin/ldconfig + +%postun -n %{qt6_lib} -p /sbin/ldconfig + %files %license COPYING.GPL3 %doc NEWS data/lightdm.conf.example @@ -371,6 +415,7 @@ %{_mandir}/man1/lightdm.1%{?ext_man} %{_mandir}/man1/dm-tool.1%{?ext_man} %{_sysusersdir}/lightdm.conf +%{_unitdir}/lightdm.service %files lang -f %{name}.lang @@ -410,6 +455,15 @@ %{_libdir}/pkgconfig/lib%{qt5_libname}.pc %{_includedir}/%{qt5_libname}/ +%files -n %{qt6_lib} +%license COPYING.LGPL2 COPYING.LGPL3 +%{_libdir}/lib%{qt6_libname}.so.* + +%files qt6-devel +%{_libdir}/lib%{qt6_libname}.so +%{_libdir}/pkgconfig/lib%{qt6_libname}.pc +%{_includedir}/%{qt6_libname}/ + %files bash-completion %dir %{_datadir}/bash-completion/ %dir %{_datadir}/bash-completion/completions/ ++++++ lightdm-1.32.0-qt6-library.patch ++++++ ++++ 774 lines (skipped) ++++++ lightdm-sysconfig-support.patch ++++++ --- /var/tmp/diff_new_pack.oUKn5q/_old 2025-07-04 10:53:42.692148889 +0200 +++ /var/tmp/diff_new_pack.oUKn5q/_new 2025-07-04 10:53:42.696149054 +0200 @@ -59,7 +59,7 @@ + displaymanager_config = opensuse_sysconfig_load_file (SYSCONFIG_DISPLAYMANAGER, &error); + if (displaymanager_config) + { -+ str_value = opensuse_sysconfig_get_string (displaymanager_config, "DISPLAYMANAGER_AUTOLOGIN", &error); ++ str_value = opensuse_sysconfig_get_string ((const gchar **) displaymanager_config, "DISPLAYMANAGER_AUTOLOGIN", &error); + if (!error) + { + if (*str_value != '\0') @@ -75,7 +75,7 @@ + g_clear_error (&error); + } + -+ boolean_value = opensuse_sysconfig_get_boolean (displaymanager_config, "DISPLAYMANAGER_PASSWORD_LESS_LOGIN", &error); ++ boolean_value = opensuse_sysconfig_get_boolean ((const gchar **) displaymanager_config, "DISPLAYMANAGER_PASSWORD_LESS_LOGIN", &error); + if (!error) + { + config_set_boolean (config_get_instance (), "LightDM", "password-less-login", boolean_value); @@ -86,7 +86,7 @@ + g_clear_error (&error); + } + -+ boolean_value = opensuse_sysconfig_get_boolean (displaymanager_config, "DISPLAYMANAGER_REMOTE_ACCESS", &error); ++ boolean_value = opensuse_sysconfig_get_boolean ((const gchar **) displaymanager_config, "DISPLAYMANAGER_REMOTE_ACCESS", &error); + if (!error) + { + config_set_boolean (config_get_instance (), "XDMCPServer", "enabled", boolean_value); @@ -97,7 +97,7 @@ + g_clear_error (&error); + } + -+ boolean_value = opensuse_sysconfig_get_boolean (displaymanager_config, "DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN", &error); ++ boolean_value = opensuse_sysconfig_get_boolean ((const gchar **) displaymanager_config, "DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN", &error); + if (!error) + { + if (boolean_value) ++++++ lightdm.service ++++++ [Unit] Description=Light Display Manager Documentation=man:lightdm(1) Conflicts=getty@tty7.service plymouth-quit.service After=systemd-user-sessions.service getty@tty7.service plymouth-quit.service [Service] ExecStart=/usr/sbin/lightdm [Install] Alias=display-manager.service ++++++ users.conf ++++++ --- /var/tmp/diff_new_pack.oUKn5q/_old 2025-07-04 10:53:42.776152370 +0200 +++ /var/tmp/diff_new_pack.oUKn5q/_new 2025-07-04 10:53:42.780152535 +0200 @@ -11,5 +11,5 @@ [UserList] minimum-uid=1000 hidden-users=nobody -hidden-shells=/bin/false /sbin/nologin +hidden-shells=/bin/false /sbin/nologin /usr/sbin/nologin