Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package lazarus for openSUSE:Factory checked in at 2024-01-16 21:38:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lazarus (Old) and /work/SRC/openSUSE:Factory/.lazarus.new.9992 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lazarus" Tue Jan 16 21:38:02 2024 rev:22 rq:1139049 version:3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/lazarus/lazarus.changes 2023-08-30 10:24:45.221293554 +0200 +++ /work/SRC/openSUSE:Factory/.lazarus.new.9992/lazarus.changes 2024-01-16 21:38:20.461253293 +0100 @@ -1,0 +2,9 @@ +Mon Jan 15 18:58:22 UTC 2024 - PragmaticLinux <[email protected]> + +- Update to 3.0 + * For a complete list of changes see: + https://wiki.freepascal.org/Lazarus_3.0_release_notes +- Removed 0002-fix-GTK3-build-error.patch because this is fixed in Lazarus 3.0. +- Spec-file improvements to fix several RPM lint errors and warnings. + +------------------------------------------------------------------- Old: ---- 0002-fix-GTK3-build-error.patch lazarus-2.2.6-0.tar.gz New: ---- lazarus-3.0-0.tar.gz BETA DEBUG BEGIN: Old: https://wiki.freepascal.org/Lazarus_3.0_release_notes - Removed 0002-fix-GTK3-build-error.patch because this is fixed in Lazarus 3.0. - Spec-file improvements to fix several RPM lint errors and warnings. BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lazarus.spec ++++++ --- /var/tmp/diff_new_pack.t6o7vT/_old 2024-01-16 21:38:22.853340503 +0100 +++ /var/tmp/diff_new_pack.t6o7vT/_new 2024-01-16 21:38:22.853340503 +0100 @@ -1,7 +1,7 @@ # # spec file for package lazarus # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %define sover 1 Name: lazarus -Version: 2.2.6 +Version: 3.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 @@ -33,8 +33,6 @@ Patch0: %{name}-Makefile_patch.diff # PATCH-FIX-OPENSUSE lazarus.desktop.patch -- Fix desktop file Patch1: lazarus.desktop.patch -# Fix build errors for GTK3 widgetset -Patch2: 0002-fix-GTK3-build-error.patch BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: fpc >= 3.0.0 @@ -192,6 +190,30 @@ %prep %autosetup -p1 -n %{name} +# remove unneeded files +rm -rf tools/install/cross_unix/debian_crosswin32/ +rm -f tools/install/cross_unix/*deb.* +rm -rf tools/install/debian_* +rm -rf tools/install/freebsd_* +rm -rf tools/install/macosx/ +rm -rf tools/install/slacktgz/ +rm -rf tools/install/win/ +rm -f tools/install/*slacktgz.* + +# fix shebang +find . \( -name "*.sh" -o -name "*.pl" \) -exec sed -i '1s|#!%{_bindir}/env |#!%{_bindir}/|' {} + + +# set executable bit to fix rpmlint error "non-executable-script" +chmod +x components/datetimectrls/docs/clean-files.sh +chmod +x components/datetimectrls/docs/make-archive.sh +chmod +x components/datetimectrls/docs/make-docs.sh +chmod +x components/lazcontrols/docs/make-docs.sh +chmod +x components/rtticontrols/fpdoc/clean-files.sh +chmod +x components/rtticontrols/fpdoc/make-docs.sh + +# remove git ignore files to prevent them from being installed to fix rpmlint error "version-control-internal-file" +find . \( -name ".gitignore" \) -delete + %build # Remove the files for building other packages rm -rf debian @@ -207,20 +229,34 @@ popd # Compile some basic targets required by everything else -make registration lazutils codetools %{fpmakeopt} - -# Compile LCL base (Lazarus Component Library) for the "nogui" widgetset -make lcl basecomponents %{fpmakeopt} OPT='%{fpcopt}' LCL_PLATFORM=nogui +make registration %{fpmakeopt} -# Compile tools (lazbuild, etc.) -make tools %{fpmakeopt} OPT='%{fpcopt}' +# Compile tools (lazbuild, etc.). Requires the nogui widgetset. +make lazbuild %{fpmakeopt} OPT='%{fpcopt}' LCL_PLATFORM=nogui +make tools %{fpmakeopt} OPT='%{fpcopt}' LCL_PLATFORM=nogui + +# Compile LCL base (Lazarus Component Library) for the "nogui" widgetset. Note that +# starting with Lazarus 3.0, the "basecomponents" build target changed to the point that +# it can no longer be build for the "nogui" widgetset. Manually build the targets of +# the original "basecomponents", prior to Lazarus 3.0. This outputs the files needed for +# subpackage lcl-nogui. Eventually subpackage lcl-nogui should be removed, because it +# is not officially supported nor tested according to: +# https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/40683 +make -C lcl/interfaces/nogui/ %{fpmakeopt} OPT='%{fpcopt}' LCL_PLATFORM=nogui +make -C components/buildintf %{fpmakeopt} OPT='%{fpcopt}' LCL_PLATFORM=nogui +make -C components/debuggerintf %{fpmakeopt} OPT='%{fpcopt}' LCL_PLATFORM=nogui +make -C components/lazcontrols %{fpmakeopt} OPT='%{fpcopt}' LCL_PLATFORM=nogui +make -C components/ideintf %{fpmakeopt} OPT='%{fpcopt}' LCL_PLATFORM=nogui +make -C components/synedit %{fpmakeopt} OPT='%{fpcopt}' LCL_PLATFORM=nogui +make -C components/lazdebuggergdbmi %{fpmakeopt} OPT='%{fpcopt}' LCL_PLATFORM=nogui +make -C components/lazcontrols/design %{fpmakeopt} OPT='%{fpcopt}' LCL_PLATFORM=nogui # Compile the LCL base + extra components for GUI widgetsets for WIDGETSET in gtk2 gtk3 qt5; do make lcl basecomponents bigidecomponents %{fpmakeopt} OPT='%{fpcopt}' LCL_PLATFORM="${WIDGETSET}" done -# Compile the IDE itself +# Compile the IDE itself. Default to using the gkt2 widget set. make bigide %{fpmakeopt} OPT='%{fpcopt}' LCL_PLATFORM=gtk2 # build libQt5Pas @@ -257,9 +293,11 @@ ln -sf "%{_libdir}/${FILENAME}" "${FILEPATH}" done -rm -rf %{buildroot}%{_libdir}/%{name}/lcl/interfaces/qt5/cbindings/tmp/ +# Remove hidden files to fix rpmlint warning "hidden-file-or-dir" +rm -f %{buildroot}%{_libdir}/%{name}/lcl/interfaces/qt5/cbindings/.qmake.stash -%fdupes %{buildroot}%{_libdir}/%{name} +# Remove duplicate files +%fdupes -s %{buildroot} %post -n libQt5Pas%{sover} -p /sbin/ldconfig %postun -n libQt5Pas%{sover} -p /sbin/ldconfig ++++++ lazarus-2.2.6-0.tar.gz -> lazarus-3.0-0.tar.gz ++++++ /work/SRC/openSUSE:Factory/lazarus/lazarus-2.2.6-0.tar.gz /work/SRC/openSUSE:Factory/.lazarus.new.9992/lazarus-3.0-0.tar.gz differ: char 13, line 1 ++++++ lazarus-Makefile_patch.diff ++++++ --- /var/tmp/diff_new_pack.t6o7vT/_old 2024-01-16 21:38:22.901342253 +0100 +++ /var/tmp/diff_new_pack.t6o7vT/_new 2024-01-16 21:38:22.909342544 +0100 @@ -20,7 +20,7 @@ INSTALL_MAN_DIR=$(INSTALL_PREFIX)/share/man ifneq ($(findstring $(OS_TARGET),win32 win64),) LAZARUS_INSTALL_DIR=C:\lazarus -@@ -287,8 +287,8 @@ installbase: +@@ -249,8 +249,8 @@ installbase: ifneq ($(findstring $(OS_TARGET),win32 win64),) else
