Bugzilla – Bug 1213887
lazarus: split package into multiple subpackages
Last modified: 2023-08-30 06:00:17 UTC
Hello, with the next major release (currently 3.0-rc1), the following LCL interfaces will be available/declared stable: - qt5 - qt6 - gtk3 Currently, the Lazarus IDE is compiled only for GTK2, causing issues for packages (e.g. ccdciel) that requires, for example, QT5. I think we should change/create the following packages: * lazarus -- (rename) --> lazarus-gtk2 * lazarus-gtk3 * lazarus-qt5 * lazarus-qt6 * lazarus -- (split) --> libqt5pas * libqt6pas In order for this to work, we also need to split libqt5pas from the lazarus package. We can either build it from the lazarus sources or take it from here (https://github.com/davidbannon/libqt5pas and https://github.com/davidbannon/libqt6pas)
I've created libQt5Pas (https://build.opensuse.org/package/show/home:polslinux:teststuff/libQt5Pas) and libQt6Pas (https://build.opensuse.org/package/show/home:polslinux:teststuff/libQt6Pas)
I actually went with the Fedora approach and created multiple packages from the main spec file (https://build.opensuse.org/package/show/home:polslinux:teststuff/lazarus): LCL packages: + lazarus-lcl + lazarus-lcl-nogui + lazarus-lcl-qt5 + lazarus-lcl-gtk2 + lazarus-lcl-gtk3 Doc package: + lazarus-doc IDE package: + lazarus-ide Tools package: + lazarus-tools QT5 bindings: + libQt5Pas Meta package: + lazarus (this will install: ide, lcl, lcl-gtk2, lcl-nogui, tools)
building Peazip works fine: https://build.opensuse.org/package/show/home:polslinux:teststuff/peazip
both peazip and ccdciel works fine with the new Lazarus setup.
Lazarus has now been split into multiple packages https://build.opensuse.org/package/show/devel:languages:pascal/lazarus