FLTK logo

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 Jan 17, 2022  
 

Le lundi 17 janvier 2022 à 01:37:20 UTC+1, spi...@gmail.com a écrit :

Also we cannot just assume the plugin exists?

Let's be very explicit about what "plugin" does or may mean here.

1) If FLTK is built using the bundled libdecor, everything related to titlebars is inserted in
libfltk.a (or libfltk.so). With configure, there's no other way to proceed.

2) If FLTK is built with CMake and OPTION_USE_SYSTEM_LIBDECOR,
all apps get dynamically linked to libdecor-0.so.0 which belongs to package libdecor-0-0.
That package recommends another package, libdecor-0-plugin-1-cairo, containing
libdecor-cairo.so that libdecor-0.so.0 calls upon to draw all window titlebars.
This last dynamic library is what libdecor calls its plugin, and is what may, in the future,
be provided by other, alternative means.
If libdecor-0.so.0 is not found by CMake, OPTION_USE_SYSTEM_LIBDECOR gets turned off,
so the FLTK library follows case 1) 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/bcd8dbe3-c99c-49c0-b30e-61ec725b73a2n%40googlegroups.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

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