[ Return to Bugs & Features | Post Text | Post File | Prev | Next ]
|Status:||5 - New|
|Priority:||1 - Request for Enhancement, e.g. asking for a feature|
|Scope:||2 - Specific to an operating system|
|Summary:||build library without dependencies on X11|
Trouble Report Files:
[ Post File ]
Trouble Report Comments:
[ Post Text ]
03:47 Sep 15, 2018
|FLTK has many nice functions that go beyond displaying widgets. Most notably would be Fl_Preferences. However using such feature will always add in X11 dependencies even if nothing graphical will be displayed. |
I would really like a feature to build a minimal library that only contains functions and classes that don't depend on X11 or other graphics related libraries.
04:10 Sep 15, 2018
|Interesting idea. In general I second it, but the question is if it is easily doable. |
I had a similar requirement recently: I used the fl_utf8*() functions to convert some files. My solution was to remove all optional X11 dependencies when I build FLTK so I could run the program at least on a system with minimal X11 libraries installed (with libX11, but w/o libXcursor, libXrender, libXft, etc.). I used options in CMake and it worked for me so I could build the program on my system and run it on another system with minimal X11 libraries.
This is not a general suggestion or solution, it's only meant as another point to support the request.
16:10 Feb 03, 2019
|We can see if adding no-op drivers for the screen, windows, and graphics calls can achieve that. We would still have the system driver for every platform. However to get the library really small, we'd also have to remove the widgets themselves. ||
[ Return to Bugs & Features | Post Text | Post File ]