Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package lightdm for openSUSE:Factory checked in at 2025-05-27 18:49:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lightdm (Old) and /work/SRC/openSUSE:Factory/.lightdm.new.2732 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lightdm" Tue May 27 18:49:36 2025 rev:115 rq:1279949 version:1.32.0 Changes: -------- --- /work/SRC/openSUSE:Factory/lightdm/lightdm.changes 2025-05-06 16:39:32.691444101 +0200 +++ /work/SRC/openSUSE:Factory/.lightdm.new.2732/lightdm.changes 2025-05-27 18:50:08.236625535 +0200 @@ -1,0 +2,10 @@ +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 + +------------------------------------------------------------------- New: ---- lightdm-1.32.0-qt6-library.patch BETA DEBUG BEGIN: New: - Add lightdm-1.32.0-qt6-library.patch, support Qt6 BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lightdm.spec ++++++ --- /var/tmp/diff_new_pack.e2YeWq/_old 2025-05-27 18:50:09.220666985 +0200 +++ /var/tmp/diff_new_pack.e2YeWq/_new 2025-05-27 18:50:09.220666985 +0200 @@ -1,7 +1,7 @@ # # spec file for package lightdm # -# Copyright (c) 2024 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 @@ -63,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++ @@ -78,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) @@ -93,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. @@ -194,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 @@ -209,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' @@ -338,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 @@ -419,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)