Recent

Author Topic: LCL for arm (STM32MP1)  (Read 3495 times)

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: LCL for arm (STM32MP1)
« Reply #15 on: February 02, 2023, 04:59:47 pm »
That is good news.
If you are willing, would you be able to share libs and bins with me to include them into fpcupdeluxe ?
Thanks.

Fred vS

  • Hero Member
  • *****
  • Posts: 3158
    • StrumPract is the musicians best friend
Re: LCL for arm (STM32MP1)
« Reply #16 on: February 02, 2023, 06:47:00 pm »
Quote
But I am not sure Wayland will be the standard soon and it will need XWayland for long time (maybe forever)
Well, openst-linux already works without XWayland. This is not any hypothetical future.

Yes, Ubuntu-Wayland can also work without XWayland but lot of applications, like Firefox, Google Earth and many others do not work well with their Wayland version and recommend to use the X11+XWayland version on a Wayland system.

But I will be very happy to have fpc-wayland fully working, with demos, for LCL, MSEgui and fpGUI widgetsets.
« Last Edit: February 02, 2023, 06:53:28 pm by Fred vS »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

Thaddy

  • Hero Member
  • *****
  • Posts: 14197
  • Probably until I exterminate Putin.
Re: LCL for arm (STM32MP1)
« Reply #17 on: February 02, 2023, 07:00:24 pm »
LCL (gtk 2 tested) simply works with Wayland. Don't know about the exotics. Platform Debian/ Raspberry Pi OS. Quick test was only 32 bit. Not AArch64. But I will test that too.
« Last Edit: February 02, 2023, 07:02:45 pm by Thaddy »
Specialize a type, not a var.

Fred vS

  • Hero Member
  • *****
  • Posts: 3158
    • StrumPract is the musicians best friend
Re: LCL for arm (STM32MP1)
« Reply #18 on: February 02, 2023, 07:09:44 pm »
LCL (gtk 2 tested) simply works with Wayland. Don't know about the exotics. Platform Debian/ Raspberry Pi OS.

Hum, if I may, GTK2 has no Wayland feature, so your application should be X11 and Wayland uses XWayland to run it.
By the way, XWayland team does a excellent and no-stop work (much more activity than for Wayland project that seems on pause).
They also decided to add a "extra Xlib" library with all the features that Wayland has (but not X11), so the X11 developer can add Wayland-only-features if the application is running on a XWayland system.
« Last Edit: February 02, 2023, 07:28:07 pm by Fred vS »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

Thaddy

  • Hero Member
  • *****
  • Posts: 14197
  • Probably until I exterminate Putin.
!!
« Reply #19 on: February 02, 2023, 07:29:31 pm »
Fred, sorry, but that is nonsense. Wayland supports GTK2 - btw has nothing to do with it, nothing and I can prove that at least for for the Raspbian implementation.
Specialize a type, not a var.

Fred vS

  • Hero Member
  • *****
  • Posts: 3158
    • StrumPract is the musicians best friend
Re: !!
« Reply #20 on: February 02, 2023, 07:53:46 pm »
Fred, sorry, but that is nonsense. Wayland supports GTK2 - btw has nothing to do with it, nothing and I can prove that at least for for the Raspbian implementation.

GTK2 is a widgetset, (like MSEgui  ;) ) that uses a graphic window server, like X11 in some Unix distro, for rendering.
Afaik, GTK2 cannot use Wayland graphic compositor and so, thanks to XWayland project, mainly all applications using X11 can run with the XWayland-kind-of-X11-emulator installed on some Wayland distros.

So, ( I did not check ) it is highly possible that Raspbian-Wayland distro has XWayland installed.
[EDIT] Yes, htere is one Rpi OS-Wayland version but experimental : https://www.phoronix.com/news/Raspberry-Pi-OS-Wayland
« Last Edit: February 03, 2023, 06:49:37 pm by Fred vS »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

Escain

  • New member
  • *
  • Posts: 9
Re: LCL for arm (STM32MP1)
« Reply #21 on: February 08, 2023, 10:50:08 am »
That is good news.
If you are willing, would you be able to share libs and bins with me to include them into fpcupdeluxe ?
Thanks.
@DonAlfredo

I think adding the libs as binary could be problematic right? (thinking about different versions issues/incompatibilities).

I can either give you the exact build procedure (quite costly in CPU / time)
or the libs/bins if you give me the exact list them that you would need: I copied them as they were needed, so the list is probably not exhaustive. Copying all the .so of the OS is probably an overkill. Let me know and I would share them.

To Others:
Note: It might be that Gtk2 or even Qt5 works fine for wayland and LCL. My problem has some additional variables: ARM cross-compilation.
« Last Edit: February 08, 2023, 10:52:44 am by Escain »

BasePointer

  • New Member
  • *
  • Posts: 15
Re: LCL for arm (STM32MP1)
« Reply #22 on: February 22, 2023, 02:50:30 pm »

 

TinyPortal © 2005-2018