STR #3495

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 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]

Return to Bugs & Features | Post Text | Post File | SVN ⇄ GIT | Prev | Next ]

STR #3495

Application:FLTK Library
Status:5 - New
Priority:1 - Request for Enhancement, e.g. asking for a feature
Scope:2 - Specific to an operating system
Subsystem:Build Files
Summary:build library without dependencies on X11
Created By:djcj
Assigned To:Unassigned
Fix Version:Unassigned
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

Post File ]

No files

Trouble Report Comments:

Post Text ]
Name/Time/Date Text top right image
#1 djcj
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.
#2 AlbrechtS
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.
#3 matt
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.  
bottom left image   bottom right image

Return to Bugs & Features | Post Text | Post File ]


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 ''.