Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package lazarus for openSUSE:Factory checked in at 2025-05-30 14:38:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lazarus (Old) and /work/SRC/openSUSE:Factory/.lazarus.new.25440 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lazarus" Fri May 30 14:38:08 2025 rev:29 rq:1281190 version:4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/lazarus/lazarus.changes 2025-01-21 21:11:37.261804809 +0100 +++ /work/SRC/openSUSE:Factory/.lazarus.new.25440/lazarus.changes 2025-05-30 17:22:18.767734941 +0200 @@ -1,0 +2,14 @@ +Thu May 29 13:38:21 UTC 2025 - PragmaticLinux <i...@pragmaticlinux.com> + +- Add lazarus-4.0-qt6-app-close-sigsegv-fix.patch to fix SIGSEGV crash + when closing an application that uses the QT6 LCL widgetset, per + upstream issue #41470 + +------------------------------------------------------------------- +Thu May 29 10:07:03 UTC 2025 - PragmaticLinux <i...@pragmaticlinux.com> + +- Update to 4.0 + * For a complete list of changes see: + https://wiki.freepascal.org/Lazarus_4.0_release_notes + +------------------------------------------------------------------- @@ -416 +430 @@ -Tue Nov 03 2009 Toni Graffy <t...@links2linux.de> - 0.9.28.2-1.pm.1 +Tue Nov 3 12:23:44 UTC 2009 - Toni Graffy <t...@links2linux.de> @@ -421 +435 @@ -Sun Nov 01 2009 Toni Graffy <t...@links2linux.de> - 0.9.28.2-0.pm.1 +Sun Nov 1 12:23:43 UTC 2009 - Toni Graffy <t...@links2linux.de> @@ -429 +443 @@ -Tue Oct 27 2009 Toni Graffy <t...@links2linux.de> - 0.9.28-0.pm.1 +Tue Oct 27 12:23:42 UTC 2009 - Toni Graffy <t...@links2linux.de> @@ -442 +456 @@ -Mon May 04 2009 Toni Graffy <t...@links2linux.de> - 0.9.26.2-0.pm.3 +Mon May 4 12:23:41 UTC 2009 - Toni Graffy <t...@links2linux.de> @@ -447 +461 @@ -Mon Mar 23 2009 Toni Graffy <t...@links2linux.de> - 0.9.26.2-0.pm.2 +Mon Mar 23 12:23:40 UTC 2009 - Toni Graffy <t...@links2linux.de> @@ -452 +466 @@ -Sat Feb 28 2009 Toni Graffy <t...@links2linux.de> - 0.9.26.2-0.pm.1 +Sat Feb 28 12:23:39 UTC 2009 - Toni Graffy <t...@links2linux.de> @@ -458 +472 @@ -Sat Nov 01 2008 Toni Graffy <t...@links2linux.de> - 0.9.26-0.pm.2 +Sat Nov 1 12:23:38 UTC 2008 - Toni Graffy <t...@links2linux.de> @@ -463 +477 @@ -Thu Oct 30 2008 Toni Graffy <t...@links2linux.de> - 0.9.26-0.pm.1 +Thu Oct 30 12:23:37 UTC 2008 - Toni Graffy <t...@links2linux.de> Old: ---- lazarus-3.8-0.tar.gz New: ---- lazarus-4.0-0.tar.gz lazarus-4.0-qt6-app-close-sigsegv-fix.patch BETA DEBUG BEGIN: New: - Add lazarus-4.0-qt6-app-close-sigsegv-fix.patch to fix SIGSEGV crash when closing an application that uses the QT6 LCL widgetset, per BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lazarus.spec ++++++ --- /var/tmp/diff_new_pack.b7TCJZ/_old 2025-05-30 17:22:19.199753082 +0200 +++ /var/tmp/diff_new_pack.b7TCJZ/_new 2025-05-30 17:22:19.199753082 +0200 @@ -19,7 +19,7 @@ %define qt5_sover 1 %define qt6_sover 6 Name: lazarus -Version: 3.8 +Version: 4.0 Release: 0 # Please note that the LGPL is modified and this is not multi-licensed, but each component has a separate license chosen. Summary: FreePascal RAD IDE and Component Library @@ -34,6 +34,8 @@ Patch0: %{name}-Makefile_patch.diff # PATCH-FIX-OPENSUSE lazarus.desktop.patch -- Fix desktop file Patch1: lazarus.desktop.patch +# PATCH-FIX-UPSTREAM lazarus-4.0-qt6-app-close-sigsegv-fix.patch -- Based on commit dac44e45 from issue 41470 +Patch2: lazarus-4.0-qt6-app-close-sigsegv-fix.patch BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: fpc >= 3.0.0 @@ -243,6 +245,11 @@ chmod +x components/lazcontrols/docs/make-docs.sh chmod +x components/rtticontrols/fpdoc/clean-files.sh chmod +x components/rtticontrols/fpdoc/make-docs.sh +chmod +x components/aggpas/examples/build_find_compile/build-find_compilers_linux +chmod +x components/aggpas/examples/build_find_compile/build-find_compilers_mac +chmod +x components/aggpas/examples/build_find_compile/build-upi +chmod +x components/aggpas/examples/build_find_compile/build-x11 +chmod +x components/fpweb/images/make_fpweb_images_res.sh # remove git ignore files to prevent them from being installed to fix rpmlint error "version-control-internal-file" find . \( -name ".gitignore" \) -delete ++++++ lazarus-3.8-0.tar.gz -> lazarus-4.0-0.tar.gz ++++++ /work/SRC/openSUSE:Factory/lazarus/lazarus-3.8-0.tar.gz /work/SRC/openSUSE:Factory/.lazarus.new.25440/lazarus-4.0-0.tar.gz differ: char 15, line 1 ++++++ lazarus-4.0-qt6-app-close-sigsegv-fix.patch ++++++ Index: lazarus/lcl/interfaces/qt6/qtint.pp =================================================================== --- lazarus.orig/lcl/interfaces/qt6/qtint.pp +++ lazarus/lcl/interfaces/qt6/qtint.pp @@ -333,6 +333,7 @@ const LCLQt_RegisterSystemTrayIcon = QEventType(Ord(QEventUser) + $1011); // combobox OnCloseUp should be in order OnChange->OnSelect->OnCloseUp LCLQt_ComboBoxCloseUp = QEventType(Ord(QEventUser) + $1012); + LCLQt_DestroyWidget = QEventType(Ord(QEventUser) + $1013); QtTextSingleLine = $0100; Index: lazarus/lcl/interfaces/qt6/qtobject.inc =================================================================== --- lazarus.orig/lcl/interfaces/qt6/qtobject.inc +++ lazarus/lcl/interfaces/qt6/qtobject.inc @@ -816,6 +816,12 @@ begin end; end; {$ENDIF} + LCLQt_DestroyWidget: + begin + QEvent_accept(Event); + Result := True; + QObject_destroy(Sender); + end; QEventShortcutOverride: // issue #22827 begin QKeyEvent_text(QKeyEventH(Event), @AKey); Index: lazarus/lcl/interfaces/qt6/qtwidgets.pas =================================================================== --- lazarus.orig/lcl/interfaces/qt6/qtwidgets.pas +++ lazarus/lcl/interfaces/qt6/qtwidgets.pas @@ -5998,10 +5998,14 @@ begin end; procedure TQtWidget.DestroyWidget; +var + ALCLEvent: QLCLMessageEventH; begin if (Widget <> nil) and FOwnWidget then begin - QObject_deleteLater(Widget); + ALCLEvent := QLCLMessageEvent_create(LCLQt_DestroyWidget, 0, + 0, 0, 0); + QCoreApplication_postEvent(Widget, ALCLEvent, Ord(QtHighEventPriority)); end; Widget := nil; end; ++++++ lazarus-Makefile_patch.diff ++++++ --- /var/tmp/diff_new_pack.b7TCJZ/_old 2025-05-30 17:22:19.259755602 +0200 +++ /var/tmp/diff_new_pack.b7TCJZ/_new 2025-05-30 17:22:19.263755770 +0200 @@ -20,7 +20,7 @@ INSTALL_MAN_DIR=$(INSTALL_PREFIX)/share/man ifneq ($(findstring $(OS_TARGET),win32 win64),) LAZARUS_INSTALL_DIR=C:\lazarus -@@ -249,8 +249,8 @@ installbase: +@@ -262,8 +262,8 @@ installbase: ifneq ($(findstring $(OS_TARGET),win32 win64),) else