SHA256
1
0
forked from pool/lazarus

Accepting request 1154454 from devel:languages:pascal

OBS-URL: https://build.opensuse.org/request/show/1154454
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lazarus?expand=0&rev=24
This commit is contained in:
Ana Guerrero 2024-03-04 20:24:51 +00:00 committed by Git OBS Bridge
commit 815c8baeff
4 changed files with 27 additions and 28 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b4b8ba89a344ab7d8d8d2ecb9bf9e82e737101049866170e8c9618c13d491fbf
size 87513233

3
lazarus-3.2-0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:69f43f0a10b9e09deea5f35094c73b84464b82d3f40d8a2fcfcb5a5ab03c6edf
size 87832941

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sun Mar 3 20:46:41 UTC 2024 - PragmaticLinux <info@pragmaticlinux.com>
- Update to 3.2
* This is a bugfix release for which no seperate release notes were
published. The previous release notes still apply and contain
Lazarus 3.2 notes:
https://wiki.freepascal.org/Lazarus_3.0_release_notes
- Improved the build commands in the spec-file.
-------------------------------------------------------------------
Tue Jan 16 19:02:38 UTC 2024 - PragmaticLinux <info@pragmaticlinux.com>

View File

@ -19,7 +19,7 @@
%define qt5_sover 1
%define qt6_sover 6
Name: lazarus
Version: 3.0
Version: 3.2
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
@ -46,8 +46,8 @@ Requires: gdb
Requires: make
Requires(post): desktop-file-utils
Requires(post): shared-mime-info
Requires(postun):desktop-file-utils
Requires(postun):shared-mime-info
Requires(postun): desktop-file-utils
Requires(postun): shared-mime-info
BuildRequires: desktop-file-utils
BuildRequires: hicolor-icon-theme
BuildRequires: libqt5-qtbase-common-devel >= 5.6.0
@ -262,27 +262,16 @@ fpcmake -Tall
popd
# Compile some basic targets required by everything else
make registration %{fpmakeopt}
make registration %{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 lazbuild - required to build other targets
make lazbuild %{fpmakeopt} OPT='%{fpcopt}'
# 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 LCL base (Lazarus Component Library) for the "nogui" widgetset
make lcl %{fpmakeopt} OPT='%{fpcopt}' LCL_PLATFORM=nogui
# Compile extra tools
make tools %{fpmakeopt} OPT='%{fpcopt}'
# Compile the LCL base + extra components for GUI widgetsets
for WIDGETSET in gtk2 gtk3 qt5 qt6; do
@ -292,13 +281,13 @@ done
# Compile the IDE itself. Default to using the gkt2 widget set.
make bigide %{fpmakeopt} OPT='%{fpcopt}' LCL_PLATFORM=gtk2
# build libQt5Pas
# Build libQt5Pas
pushd lcl/interfaces/qt5/cbindings
%qmake5
%make_build
popd
# build libQt6Pas
# Build libQt6Pas
pushd lcl/interfaces/qt6/cbindings
%qmake6
%make_build
@ -403,7 +392,6 @@ rm -f %{buildroot}%{_libdir}/%{name}/lcl/interfaces/qt6/cbindings/.qmake.stash
# Helper macro to reduce repetitions (lcl, basecomponents)
%define lcl_base_files(n:) %{expand:
%{*} %{_libdir}/%{name}/components/*/design/lib/*-linux/%{-n*}/
%{*} %{_libdir}/%{name}/components/*/lib/*-linux/%{-n*}/
%{*} %{_libdir}/%{name}/components/*/units/*-linux/%{-n*}/
%{*} %{_libdir}/%{name}/lcl/interfaces/%{-n*}/
@ -412,6 +400,7 @@ rm -f %{buildroot}%{_libdir}/%{name}/lcl/interfaces/qt6/cbindings/.qmake.stash
# Some files are not present for nogui (bigidecomponents)
%define lcl_extra_files(n:) %{expand:
%{*} %{_libdir}/%{name}/components/*/design/lib/*-linux/%{-n*}/
%{*} %{_libdir}/%{name}/components/*/design/units/*-linux/%{-n*}/
%{*} %{_libdir}/%{name}/components/*/include/%{-n*}/
%{*} %{_libdir}/%{name}/components/*/include/intf/%{-n*}/