Bug 1213887 - lazarus: split package into multiple subpackages
Summary: lazarus: split package into multiple subpackages
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: Other Other
: P4 - Low : Minor (vote)
Target Milestone: ---
Assignee: Paolo Stivanin
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-02 05:52 UTC by Paolo Stivanin
Modified: 2023-08-30 06:00 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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