./x11/fltk, Fast Light Tool Kit for graphical user interfaces

[ Image CVSweb ] [ Image Homepage ] [ Image RSS ] [ Image Required by ]


Branch: CURRENT, Version: 1.4.5, Package name: fltk-1.4.5, Maintainer: micha

The Fast Light Tool Kit is a cross-platform C++ GUI toolkit for UNIX/Linux
(X11 or Wayland), Microsoft Windows and macOS.
FLTK provides modern GUI functionality without bloat and supports 3D graphics
via OpenGL and its built-in GLUT emulation.
FLTK also includes FLUID, an interactive user interface builder program.

From the FLTK website:

FLTK 1.4 is a big step forward, adding new widgets and support of Wayland
on Linux and FreeBSD systems.
Work on FLTK 1.4 began 2016 because it was necessary to break the FLTK 1.3
ABI in order to fix some long outstanding problems and to add new features.
Resetting the ABI also allowed the removal of 200+ areas of conditional
compilation involving ABI guards, greatly simplifying the code.
FLTK 1.4 boasts a completely new abstract device driver class hierarchy
to isolate platform specific code in one place instead of using #ifdef
everywhere, and to make it easier to port to new platforms.


Required to run:
[graphics/MesaLib] [graphics/png] [graphics/jpeg] [graphics/glu]

Required to build:
[pkgtools/x11-links] [x11/xcb-proto] [x11/fixesproto4] [pkgtools/cwrappers] [x11/xorgproto]

Package options: opengl, pango, x11, xcursor, xfixes, xft2, xinerama, xrender

Master sites:

Filesize: 8266.508 KB

Version history: (Expand)


CVS history: (Expand)


   2026-04-27 10:26:01 by Michael Baeuerle | Files touched by this commit (2)
Log message:
x11/fltk: Update tp 1.4.5

Changes in FLTK 1.4.5                                   Released: Apr 25 2026

  This is a maintenance release with many improvements and fixes
  backported from the current development branch 'master' (1.5.0).
  This release is 100% backwards ABI and API compatible to release 1.4.0
  and previous 1.4.x patch releases with default build options.

  Major Bug Fixes

  - Fix menu crash dereferencing nullptr (#1335)
  - Fix crash in Fl_Tabs without children (#1366)
  - Fix "Fl_Double_Window::make_current() issues with Cairo drawing" \ 
(#1285)
  - Fix "Setting window custom cursor from SVG image crashes" (#1363)
  - Fix "fl_draw_image() with horizontal flip reads out of bounds" (#1369)
  - macOS: fix crash when drawing image with draw_image() in some scenarios
    (#1372)
  - Wayland: avoid NULL-pointer error after call to
    wl_display_get_protocol_error()
  - Wayland: Fix "Long Tooltips can crash ..." (#1317)
  - Wayland: Fix NULL pointer dereference in Fl::cairo_make_current() (#1359)
  - Wayland: Fix crash in test/sudoku if ALSA soundlib is not available
  - Wayland: subwindows may grab scaling factor from wrong monitor (#1382)
  - Windows: avoid crash when resizing window containing non-FLTK child window
    (#1401)
  - X11: Fix crash with menubar across 2 screens with diverse scale factors
    (#1380)
  - X11: Fl::enable_im() crashes without input methods (#1364)
  - Fix "fl_add_symbol() *always* increments symbnumb" (#1410).
  - Fix "Mac: Most fl_symbols missing corner pixels" (#1409).
  - Fix "Mac: Stubborn tooltips when menu window is open" (#1408)

  Minor Bug Fixes

  - Applied xuyun018's fix for Fl_Tree horiz scroll (#1297)
  - Fix: Underline does not appear in some fonts and scales (#1308)
  - Fix "New Wayland subwindow code creates issues with resizes of opengl
    windows\u2026" (#1311)
  - Fix "Drawing to the wrong window with cairo and X11" (#1358)
  - Fix "Cairo: Rect with negative dimensions is still drawn" (#1379)
  - Fix "Blurry fonts with cairo/pango on FLTK >= 1.4" (#1365)
  - Fix "Transparent PNGs not rendered correctly when window is scaled"
   (#1375)
  - Close active menus when moving window to new screen
  - macOS: Fix GL window child widgets when the window's screen changes
    resolution
  - Wayland: don't call non-public libdecor_frame_get_content_{width,height}
    (#1296)
  - Wayland: Some shortcut keys not delivered when input widget has focus
    (#1290)
  - Wayland: fix creation of toplevel Fl_Gl_Window
  - Wayland: fix minor paste and DnD issue revealed by valgrind
  - Wayland: fix several issues related to scaling and to GL windows
  - Wayland: Implement Fl_Window::xclass(const char*) for Wayland (#1391).
  - Windows: Fix "If app appears on non-active screen \u2026, window \ 
resizes"
    (#259)
  - Windows: Fix "Window scaling shortcut always moves window towards initial
    display" (#1371)
  - Wayland: call libdecor_dispatch(), libdecor_unref(), libdecor_get_fd() as
    expected by libdecor.
  - X11: Restore use of menubar at top of fullscreen window
  - X11/Wayland: Fix resize of menutitle windows when across 2 screens with
    diverse scaling

  CMake And Other Build Procedure Improvements

  - Bump version number from 1.4.4 to 1.4.5
  - Don't export unnecessary executable files

  Documentation Fixes and Improvements

  - Fix documentation of fl_overlay_clear and fl_overlay_rect
  - Clarify that a font must be loaded before measuring text (#1356)
  - Improve docs related to "RGB sub image drawing slow with larger images"
    (#1384)

  Other Improvements

  - Remove usage of deprecated fl_utf8froma(), improve layout of test/utf8
  - Remove conflicting FL_EXPORT from header file (#1357)
  - Set window class name (xclass) in test/editor
  - Fl_Terminal fixes from 1.5.x - smoother scrolling and issue #1328
  - Fix Fl_Terminal drawing issues (WRT scrollbar and box clipping)
  - Improve handling of text containing context-dependent unicode points
  - Add complete support of emojis to text widgets (#1360)
  - Fix issues with Fl_RGB_Image::draw() + window scaling,
      and performance concerns (#1370)
  - Improve control of screen where FLTK positions menu windows (#1376)
  - Improve Fl_Window::hotspot() when screens have different scale factors
  - macOS: Remove slight transparency from menu windows (#1373)
  - Wayland: use UTF-8 text from clipboard when available
  - Wayland: improve function Fl_Wayland_Window_Driver::resize() (#1307)
  - Windows: improve moving window across screens having distinct scale
    factors

  ABI changes: only, if explicitly enabled by setting FL_ABI_VERSION >= 10405

  - Make Fl_Table::get_selection() 'const' (ABI 10405) (#1305)
   2026-01-27 09:41:10 by Thomas Klausner | Files touched by this commit (1344)
Log message:
*: recursive bump for removal of cairo's xcb option
   2025-10-23 22:40:24 by Thomas Klausner | Files touched by this commit (2999)
Log message:
*: recursive bump for pcre2

Running an old binary against the new pcre doesn't work:
/usr/pkg/lib/libpcre2-8.so.0: version PCRE2_10.47 required by \ 
/usr/pkg/lib/libglib-2.0.so.0 not defined
   2025-07-28 12:06:48 by Michael Baeuerle | Files touched by this commit (2)
Log message:
x11/fltk: Update to 1.4.4

This is a maintenance release with bug fixes and improvements.
Its ABI and API are 100% backwards compatible with FLTK 1.4.0.

Changes in FLTK 1.4.4                                   Released: Jul 20 2025

  This is a maintenance release with improvements and fixes
  backported from the current development branch 1.5 (master).

  Bug Fixes

  - #1114: Ensure minimum height of last block in Fl_Help_View
  - Fix address sanitizer exception for macOS native file chooser
  - Wayland: remove crash when resizing hidden subwindow
  - Wayland: fix "A flag to set how menus should show up" (#1260)
  - macOS: protect uses of __block by #if defined(__BLOCKS__) condition
  - Fix "Selecting menus from the menubar under Wayland/fullscreen" (#1264)

  Documentation Fixes and Improvements

  - Fl_Terminal doc fixes, private->protected for utf8_char_at_*()
  - Fl_Window::free_position() is no longer deprecated

  Other Improvements

  - Set default DPI to 300 in fl_write_png
  - #146: Add access to scrollbars widget in Fl_Help_View
  - Improve Fl_Button event handling documentation (#1267)
  - macOS: Fix in window titlebar capture to support macOS 26 Tahoe
  - Fix usage of 'volatile' in src/Fl_JPEG_Image.cxx (#1207)
  - Improve test/threads demo program (backported from 1.5)

  CMake And Other Build Procedure Improvements

  - Restore use of build option FLTK_USE_POLL
  - Add CMake build option FLTK_USE_DBUS to allow build w/o dbus (PR #1252)

  ABI changes (FL_ABI_VERSION >= 10404)

  - There are no ABI changes in this release.
   2025-04-30 11:59:00 by Michael Baeuerle | Files touched by this commit (2) | Package updated
Log message:
x11/fltk: Update to 1.4.3

This is a maintenance release with bug fixes and improvements.
Its ABI and API are 100% backwards compatible with FLTK 1.4.0.

Changes in FLTK 1.4.3                                 Released: Apr 29 2025

  FLTK 1.4.3 is a maintenance release with improvements and fixes
  backported from the current development branch 1.5 (master).

  Bug Fixes

  - Fix "Windows: Clipboard gets stuck when text is copied while window is
    hidden" (#1233)
  - Fix "Minor drawing artifact at scale 200% under X11 session" (#1243)
  - Fix a comparison that's always true
  - Fix handling of menu windows taller than their screen
  - Fix potential buffer overflow on Windows when loading fonts (#1221)
  - Windows: fix "heap-use-after-free" in home_directory_name()
  - Fix out-of-bounds access in test/checkers.cxx
  - macOS: Fix error "two consecutive '[' tokens on g++ with objcpp
    files" (#1246)

  Other Improvements

  - Update man pages of games (demo programs), add glpuzzle man page

  CMake And Other Build Procedure Improvements

  - options.cmake: Check Threads_FOUND, not CMAKE_HAVE_THREADS_LIBRARY
  - Check CMake version for some properties in fl_debug_target()
  - Use CMake's built-in timestamp formatting (#1242)
  - Simplify fluid build
  - CI for Wayland: update required development packages for Wayland builds
  - Update fltk-config.in (minor comment changes only)
  - Fully support using own shared libraries internally (#1238)
  - macOS: disable automatic code signing when using Xcode
  - Update version numbers to 1.4.3

  ABI changes (FL_ABI_VERSION >= 10403)

  - Allow FL_ABI_VERSION = FL_API_VERSION + 1
  - Fl_Tree_Item: Changed two connector methods to virtual
  - Fix "Windows: dotted lines may be drawn solid when GUI is
   rescaled" (#1214)
   2025-04-24 16:16:37 by Thomas Klausner | Files touched by this commit (2412)
Log message:
*: recursive bump for jpeg -> libjpeg-turbo switch
   2025-03-14 17:04:15 by Michael Baeuerle | Files touched by this commit (1)
Log message:
x11/fltk: Declare conflict with x11/fltk13
   2025-02-24 11:30:48 by Michael Baeuerle | Files touched by this commit (2) | Package updated
Log message:
x11/fltk: Update to 1.4.2

Changes in FLTK 1.4.2                                   Released: Feb 23 2025

  Bug Fixes and other Improvements

  - Fix Help View 'find' method (#1119)
  - Fix possibly uncleared damage flag of Fl_Pack (#1172)
  - Fix integer overflow in image interpolation (#73)
  - Fix "Fl_Text_Editor::wrap_mode(Fl_Text_Display::WRAP_AT_BOUNDS, 0)
    hurts scrolling" (#1186)
  - Use C locale when writing float values to SVG images
  - Fix return value of Fl_Table_Row::row_selected(int) (PR #1187)
  - Fix Fl_Table_Row inconsistencies, final part (#1187)
  - Fix potential buffer overflow in Fl_Help_View (#1196)
  - Improve fullscreen window handling (#1192 and more)
  - Fix "Fl_RGB_Image::draw() seg faults when offset is too big" (#1211)

  Platform Specific Fixes and Build Procedure Improvements

  - CMake/Windows/MSYS2: Correctly detect ucrt64 environment (PR #1167)
  - CMake: make "optional" dependencies 'PUBLIC' (#1173)
  - CMake: check INTERFACE_LINK_LIBRARIES for empty value
  - CMake: fix include directories of bundled image libs
  - macOS: Fix crash if Escape is pressed while Help submenu is open (#1170)
  - macOS: Don't capture the cursor in capture_decorated_window_SCK()
  - macOS: Fix "Full screen broken on macOS in FLTK 1.3.10 \ 
(regression)" (#1192)
  - macOS: add support of showing window to multi-screen fullscreen state
  - fix "macOS Sonoma/Sequoia not capturing OpenGL 1 text on macOS"  \ 
(#1197)
  - Remove incorrect use of Fl_Window::current() in Fl_Quartz_Image_Surface_Driver
  - Make Fl_Cocoa_Gl_Window_Driver::capture_gl_rectangle() return a depth-4 image
  - macOS: Fix "Fl_JPEG_Image infinite longjmp loop on Mac release \ 
builds" (#1207)
  - Windows: replace "Arial" by "Microsoft Sans Serif" fonts \ 
for 'FL_HELVETICA'
  - fltk-config: fix "Check bundled image libraries in source tree"
  - fltk-config: reorder include dirs of bundled image libs
  - Fix "fltk-config reports dep on gtk3 when it does not exist" (#1201)

  Wayland related Improvements and Fixes

  - Fix a border case in member function Fl_Wayland_Window_Driver::resize()
  - Make draw to image and draw to clipboard behave equally in X11 and Wayland
  - Fix Fl_{Wayland|Xlib}_{Copy|Image}_Surface_Driver::set_current()
  - Fix handling of key repeats
  - Improve member function Fl_Wayland_Screen_Driver::insertion_point_location()
  - Fix "Redrawing of a surface may fail if a subsurface is being \ 
moved" (#1191)
  - Update bundled libdecor to last upstream version (21 Jan 2025)

  Fixes and Improvements in Fluid:

  - Improve filename list in main menu
  - Improve path handling on Windows
  - Minor fix and docs
  - Rename Strategy constants to comply with CMP
  - Fix file history text

  Documentation Improvements

  - Document how screen work areas are computed across platforms (#1180)
  - Remove duplication and typo in documentation of Fl::copy()
  - Improve and reorder Fl_Tabs documentation
  - Document issues with Fl_Scroll as children of Fl_Tabs (#1175)
  - Improve documentation of Fl_Box constructors (#1194)

  Other Changes

  - Fix typos and compiler warnings
  - Add Fl_Valuator destructor
  - test/utf8: Change default font under Windows for "Unicode Display Test"
  - test/editor: ensure buffer termination, update documentation accordingly