Bug 1213887

Summary: lazarus: split package into multiple subpackages
Product: [openSUSE] openSUSE Tumbleweed Reporter: Paolo Stivanin <pstivanin>
Component: OtherAssignee: Paolo Stivanin <pstivanin>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P4 - Low    
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Paolo Stivanin 2023-08-02 05:52:35 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)
Comment 2 Paolo Stivanin 2023-08-29 14:07:40 UTC
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)
Comment 3 Paolo Stivanin 2023-08-29 14:08:08 UTC
building Peazip works fine: https://build.opensuse.org/package/show/home:polslinux:teststuff/peazip
Comment 4 Paolo Stivanin 2023-08-30 05:31:05 UTC
both peazip and ccdciel works fine with the new Lazarus setup.
Comment 5 Paolo Stivanin 2023-08-30 05:59:50 UTC
Lazarus has now been split into multiple packages https://build.opensuse.org/package/show/devel:languages:pascal/lazarus