forked from pool/lazarus
Accepting request 1154453 from home:pragmalin:branches:devel:languages:pascal
- 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. OBS-URL: https://build.opensuse.org/request/show/1154453 OBS-URL: https://build.opensuse.org/package/show/devel:languages:pascal/lazarus?expand=0&rev=91
This commit is contained in:
parent
5fa69580f4
commit
0162e7ce1e
@ -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
3
lazarus-3.2-0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:69f43f0a10b9e09deea5f35094c73b84464b82d3f40d8a2fcfcb5a5ab03c6edf
|
||||||
|
size 87832941
|
@ -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>
|
Tue Jan 16 19:02:38 UTC 2024 - PragmaticLinux <info@pragmaticlinux.com>
|
||||||
|
|
||||||
|
39
lazarus.spec
39
lazarus.spec
@ -19,7 +19,7 @@
|
|||||||
%define qt5_sover 1
|
%define qt5_sover 1
|
||||||
%define qt6_sover 6
|
%define qt6_sover 6
|
||||||
Name: lazarus
|
Name: lazarus
|
||||||
Version: 3.0
|
Version: 3.2
|
||||||
Release: 0
|
Release: 0
|
||||||
# Please note that the LGPL is modified and this is not multi-licensed, but each component has a separate license chosen.
|
# 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
|
Summary: FreePascal RAD IDE and Component Library
|
||||||
@ -46,8 +46,8 @@ Requires: gdb
|
|||||||
Requires: make
|
Requires: make
|
||||||
Requires(post): desktop-file-utils
|
Requires(post): desktop-file-utils
|
||||||
Requires(post): shared-mime-info
|
Requires(post): shared-mime-info
|
||||||
Requires(postun):desktop-file-utils
|
Requires(postun): desktop-file-utils
|
||||||
Requires(postun):shared-mime-info
|
Requires(postun): shared-mime-info
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
BuildRequires: hicolor-icon-theme
|
BuildRequires: hicolor-icon-theme
|
||||||
BuildRequires: libqt5-qtbase-common-devel >= 5.6.0
|
BuildRequires: libqt5-qtbase-common-devel >= 5.6.0
|
||||||
@ -262,27 +262,16 @@ fpcmake -Tall
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
# Compile some basic targets required by everything else
|
# Compile some basic targets required by everything else
|
||||||
make registration %{fpmakeopt}
|
make registration %{fpmakeopt} OPT='%{fpcopt}'
|
||||||
|
|
||||||
# Compile tools (lazbuild, etc.). Requires the nogui widgetset.
|
# Compile lazbuild - required to build other targets
|
||||||
make lazbuild %{fpmakeopt} OPT='%{fpcopt}' LCL_PLATFORM=nogui
|
make lazbuild %{fpmakeopt} OPT='%{fpcopt}'
|
||||||
make tools %{fpmakeopt} OPT='%{fpcopt}' LCL_PLATFORM=nogui
|
|
||||||
|
|
||||||
# Compile LCL base (Lazarus Component Library) for the "nogui" widgetset. Note that
|
# Compile LCL base (Lazarus Component Library) for the "nogui" widgetset
|
||||||
# starting with Lazarus 3.0, the "basecomponents" build target changed to the point that
|
make lcl %{fpmakeopt} OPT='%{fpcopt}' LCL_PLATFORM=nogui
|
||||||
# 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
|
# Compile extra tools
|
||||||
# subpackage lcl-nogui. Eventually subpackage lcl-nogui should be removed, because it
|
make tools %{fpmakeopt} OPT='%{fpcopt}'
|
||||||
# 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
|
# Compile the LCL base + extra components for GUI widgetsets
|
||||||
for WIDGETSET in gtk2 gtk3 qt5 qt6; do
|
for WIDGETSET in gtk2 gtk3 qt5 qt6; do
|
||||||
@ -292,13 +281,13 @@ done
|
|||||||
# Compile the IDE itself. Default to using the gkt2 widget set.
|
# Compile the IDE itself. Default to using the gkt2 widget set.
|
||||||
make bigide %{fpmakeopt} OPT='%{fpcopt}' LCL_PLATFORM=gtk2
|
make bigide %{fpmakeopt} OPT='%{fpcopt}' LCL_PLATFORM=gtk2
|
||||||
|
|
||||||
# build libQt5Pas
|
# Build libQt5Pas
|
||||||
pushd lcl/interfaces/qt5/cbindings
|
pushd lcl/interfaces/qt5/cbindings
|
||||||
%qmake5
|
%qmake5
|
||||||
%make_build
|
%make_build
|
||||||
popd
|
popd
|
||||||
|
|
||||||
# build libQt6Pas
|
# Build libQt6Pas
|
||||||
pushd lcl/interfaces/qt6/cbindings
|
pushd lcl/interfaces/qt6/cbindings
|
||||||
%qmake6
|
%qmake6
|
||||||
%make_build
|
%make_build
|
||||||
@ -403,7 +392,6 @@ rm -f %{buildroot}%{_libdir}/%{name}/lcl/interfaces/qt6/cbindings/.qmake.stash
|
|||||||
|
|
||||||
# Helper macro to reduce repetitions (lcl, basecomponents)
|
# Helper macro to reduce repetitions (lcl, basecomponents)
|
||||||
%define lcl_base_files(n:) %{expand:
|
%define lcl_base_files(n:) %{expand:
|
||||||
%{*} %{_libdir}/%{name}/components/*/design/lib/*-linux/%{-n*}/
|
|
||||||
%{*} %{_libdir}/%{name}/components/*/lib/*-linux/%{-n*}/
|
%{*} %{_libdir}/%{name}/components/*/lib/*-linux/%{-n*}/
|
||||||
%{*} %{_libdir}/%{name}/components/*/units/*-linux/%{-n*}/
|
%{*} %{_libdir}/%{name}/components/*/units/*-linux/%{-n*}/
|
||||||
%{*} %{_libdir}/%{name}/lcl/interfaces/%{-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)
|
# Some files are not present for nogui (bigidecomponents)
|
||||||
%define lcl_extra_files(n:) %{expand:
|
%define lcl_extra_files(n:) %{expand:
|
||||||
|
%{*} %{_libdir}/%{name}/components/*/design/lib/*-linux/%{-n*}/
|
||||||
%{*} %{_libdir}/%{name}/components/*/design/units/*-linux/%{-n*}/
|
%{*} %{_libdir}/%{name}/components/*/design/units/*-linux/%{-n*}/
|
||||||
%{*} %{_libdir}/%{name}/components/*/include/%{-n*}/
|
%{*} %{_libdir}/%{name}/components/*/include/%{-n*}/
|
||||||
%{*} %{_libdir}/%{name}/components/*/include/intf/%{-n*}/
|
%{*} %{_libdir}/%{name}/components/*/include/intf/%{-n*}/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user