|
|
I would think if the Wayland+X11+Cairo version is made, it would not be hard to make a (no-Wayland) X11+Cairo version as well.
On 3/31/22 16:07 Manolo wrote:
> It's of course necessary to maintain in FLTK 1.4 an X11-only version
> of the code.
> That's necessary for relatively old systems because Wayland requires
> recent Linux versions.
> That's also necessary for Unix-but-not-Linux systems (e.g., NetBSD,
> FreeBSD, Darwin) because there's no Wayland outside Linux at this point.
>
> One possibility to be considered could be as follows:
>
> FLTK 1.4 would propose two "platforms" for Unix systems
>
> 1) the X11 platform, as it's now in the git repo. It would be usable
> on a large set of systems, Linux or Unix, old or new, Darwin, Cygwin.
>
> 2) a new in 1.4 platform which would be for recent Linux systems only,
> and would be a hybrid library with Wayland and X11 backends. Both
> backends would draw with Cairo and use Pango for text.
> That would be a merge of the present wayland and display-cairo branches.
> Maintainers of the FLTK packages in Linux distributions could be told
> to consider using this platform for FLTK 1.4 and above.
> It would be produced with OPTION_USE_WAYLAND under CMake or with
> ./configure --enable-wayland
+1
I believe this is the way to go. As Bill suggested, making the "hybrid"
FLTK library draw with Cairo in both environments (X11 and Wayland)
appears to be the optimal way, particularly because it would (hopefully)
be easier to maintain but also for better compatibility between the X11
and Wayland environments.
One other option I'd like to be considered is the possibility to use the
"classic" X11 platform (i.e. the X11-only FLTK lib) with Cairo as the
drawing interface. This could be a configure/CMake option, I don't think
we'd need both in one X11 only FLTK lib (the default would be X11
drawing as written above).
--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/f4c36b80-6de3-c3d8-646f-c6637ec2fa33%40online.de.
--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/CAL-8oAhMH9abYhGDK3T8oNgQbh78t5b4k%3D2smWjFQVPfzoeLrw%40mail.gmail.com.
[ Direct Link to Message ] | |
|
| |