Bug 2185436 - Gtk3 support?
Summary: Gtk3 support?
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: lazarus
Version: 39
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Artur Frenszek-Iwicki
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-09 10:50 UTC by Vít Ondruch
Modified: 2023-08-16 07:13 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Vít Ondruch 2023-04-09 10:50:57 UTC
Description of problem:
I just thought that I'll try to build Double Commander with Gtk3 support [1], hoping to get the native Wayland application, because in Rawhide with Gnome 44, the XWayland application windows are weirdly positioned.

~~~
$ lcl=gtk3 ./build.sh beta
Hint: (lazarus) [RunTool] "/usr/bin/fpc" "-iWTOTP"
Hint: (lazarus) [RunTool] "/usr/bin/fpc" "-va" "compilertest.pas"
Hint: (lazarus) [RunTool] "/usr/bin/fpc" "-iWTOTP"
Hint: (lazarus) [RunTool] "/usr/bin/fpc" "-va" "compilertest.pas"
Hint: (lazarus) Missing state file of LCL 2.2.6: /usr/lib64/lazarus/lcl/units/x86_64-linux/gtk3/LCL.compiled
Error: (lazarus) unable to create package output directory "/usr/lib64/lazarus/lcl/units/x86_64-linux/gtk3" of package "LCL 2.2.6"
Hint: (lazarus) normal output directory of package LCL 2.2.6 is not writable: "/usr/lib64/lazarus/lcl/units/x86_64-linux/gtk3/"
TParsedCompilerOptions.SetOutputDirectoryOverride New=/builddir/.lazarus/lib/units/x86_64-linux/gtk3
Hint: (lazarus) [RunTool] "/usr/bin/fpc" "-iWTOTP"
Hint: (lazarus) [RunTool] "/usr/bin/fpc" "-va" "compilertest.pas"
Hint: (lazarus) [RunTool] "/usr/bin/fpc" "-iWTOTP"
Hint: (lazarus) [RunTool] "/usr/bin/fpc" "-va" "compilertest.pas"
Hint: (lazarus) [RunTool] "/usr/bin/fpc" "-iWTOTP"
Hint: (lazarus) [RunTool] "/usr/bin/fpc" "-va" "compilertest.pas"
Hint: (lazarus) [RunTool] "/usr/bin/fpc" "-iWTOTP"
Hint: (lazarus) [RunTool] "/usr/bin/fpc" "-va" "compilertest.pas"
Hint: (lazarus) Missing state file of LCL 2.2.6: /usr/lib64/lazarus/lcl/units/x86_64-linux/gtk3/LCL.compiled
Error: (lazarus) unable to create package output directory "/usr/lib64/lazarus/lcl/units/x86_64-linux/gtk3" of package "LCL 2.2.6"
Hint: (lazarus) normal output directory of package LCL 2.2.6 is not writable: "/usr/lib64/lazarus/lcl/units/x86_64-linux/gtk3/"
TParsedCompilerOptions.SetOutputDirectoryOverride New=/builddir/.lazarus/lib/units/x86_64-linux/gtk3
Hint: (lazarus) [RunTool] "/usr/bin/fpc" "-iWTOTP"
Hint: (lazarus) [RunTool] "/usr/bin/fpc" "-va" "compilertest.pas"
Hint: (lazarus) Missing state file of LCL 2.2.6: /usr/lib64/lazarus/lcl/units/x86_64-linux/gtk3/LCL.compiled
Error: (lazarus) unable to create package output directory "/usr/lib64/lazarus/lcl/units/x86_64-linux/gtk3" of package "LCL 2.2.6"
Hint: (lazarus) normal output directory of package LCL 2.2.6 is not writable: "/usr/lib64/lazarus/lcl/units/x86_64-linux/gtk3/"

... snip ...
~~~

And seeing errors such as `Error: (lazarus) unable to create package output directory "/usr/lib64/lazarus/lcl/units/x86_64-linux/gtk3" of package "LCL 2.2.6"` hints that the Gtk3 components are not prebuild.

Now I wonder what is the plan?

Version-Release number of selected component (if applicable):

$ rpm -q lazarus
lazarus-2.2.6-1.fc39.x86_64


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
Gtk3 components are not prebuilt

Expected results:
Gtk3 components are ready

Additional info:



[1] https://github.com/doublecmd/doublecmd/issues/927

Comment 1 Artur Frenszek-Iwicki 2023-04-10 07:37:02 UTC
Hi. I was actually thinking about re-packaging Lazarus to offer different widgetset support for quite some time now.
I'll take this ticket as a sign that there's actually some user interest in this.

Comment 2 Artur Frenszek-Iwicki 2023-04-20 16:55:00 UTC
Copr repo now available at: https://copr.fedorainfracloud.org/coprs/suve/lazarus-split/

Comment 3 Artur Frenszek-Iwicki 2023-04-25 20:11:16 UTC
Proposed as a Self-Contained Change for Fedora 39: https://fedoraproject.org/wiki/Changes/F39-Lazarus-repackaging

Comment 4 Fedora Release Engineering 2023-08-16 07:13:14 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.


Note You need to log in before you can comment on or make changes to this bug.