Re: [fltk.coredev] Please vote: add a Wayland platform to FLTK

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Please vote: add a Wayland platform to FLTK Manolo 23:42 Jan 16 top right image
  Le lundi 17 janvier 2022 à 01:37:20 UTC+1, spi...@gmail.com a écrit :
I'm a little confused, FLTK is including a libdecor plugin?
Yes. The libdecor source code is copied, partially but unchanged, to the FLTK source tree in libdecor/
[What is not copied is source code for meson-based building wich FLTK doesn't use.]

If there is another one installed on the machine, will that one be used in preference to the fltk one?
See below how to use the system-level libdecor when it's present on the system.
When it's not present or when we don't want to use the system version of libdecor,
libdecor is searched in the FLTK source tree, so there's no ambiguity if another
libdecor source tree exists elsewhere. That code is compiled and included in libfltk.

If the system contains an installed libdecor, turn on option OPTION_USE_SYSTEM_LIBDECOR in
CMake, and all resulting FLTK apps will be dynamically linked to the system's libdecor shared lib.
 
Also we cannot just assume the plugin exists?
We could, but libdecor is  available only in quite recent Linux distros, not yet in the current long term support Ubuntu
I believe. I concluded it would be unwise to do that at this time.

@Bill: Let me know if you'd prefer another approach.

--
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/4c23c93c-a537-43cf-9a4e-36f389afa393n%40googlegroups.com.
Direct Link to Message ]
 
bottom left image   bottom right image
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2022 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.