head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.10 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.8 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.6 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.4 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.2 pkgsrc-2025Q1-base:1.1; locks; strict; comment @# @; 1.1 date 2025.01.31.12.22.44; author micha; state Exp; branches; next ; commitid WdzQjQ7XVnt2oDHF; desc @@ 1.1 log @x11/fltk: Update to 1.4.1 Part of FLTK 1.4 transition (Step 1). - Switch to Github - Add license - Take maintainership Changes in FLTK 1.4.1 Released: Dec 12 2024 FLTK 1.4.1 is a maintenance release with bug fixes and improvements. Bug Fixes - Fix rounding issues with Fl_RGB_Image::draw() + window scaling (#1128) - Fix fullscreen regression on macOS( #1129) - Fix fl_draw_image sometimes crashes when window is scaled (#1134) - Fix: Can't control scale of Fl_Copy_Surface dimensions on Linux (#1135) - Improve output of 'fltk-options -h' and 'fltk-options -L*' - Windows: Fix rescale bug while window is maximized or fullscreen - Fix graphical glitches on 101 DPI screen (#1138) - Fix changed flag for radio buttons (#1146) - Fix Fl_Scroll with real *_BOX draws over scrollbars at non-default scales (#1149) - Fix drawing bugs on Windows at very large scales (#1144) - Fix button down state when triggered by shortcut (#1145) - Give access to some Fl_Text_Display member variables (#1153) - Fix: Mouse hover + Enter key selects inactive menu items (#1159) - Fix hang/infinite loop on submenu with all inactive/invisible items (#1158) - Fix triggering callback for inactive menu items (#1159) - Fix inconsistencies with Tab/Backspace handling in menus (#1157) - Fix Fl_Menu_Item::measure() width calculation (#1164) - Fix drawing issue for checkbox buttons with bad box type (#1130) - Fix: Window can be moved while menu is open (#1166) Image libraries - Update bundled libpng to version 1.6.44 Fixes and Improvements in Fluid: - Fix autodocs file leak and memory leak - Fix autodoc image memory allocation - Fix project modflags when adding shell commands - Avoid generating undo on spurious relayout events (#1152) - Minor improvements to buffer handling (#1152) - Clear cached browser values and cached pointers (#1152) - Fix default settings tab - Avoid trailing spaces in empty comment lines (#1161) - Command line arguments '-v' and '--version' show fltk version - Command line argument '--help' shows brief usage information Optional ABI changes: these require configure or CMake option to define FL_ABI_VERSION = 10401 - Increase clipping stack size from 10 to 64 entries (#1139) - Fix potential (likely false positive) compiler warning in Fl_Help_View Documentation Improvements - Update build instructions in README.Unix.txt (#67) - Update README.Windows.txt - Update README.CMake.txt for cross-building (#1154) - Document that fl_scroll() doesn't work OK with non-integral scaling factors - Add details about fl_override_scale() and clip - Clarify use of Fl_Tabs::client_area() - Fix Makefile example in chapter "FLTK Basics" Improvements and minor Fixes in Test and Demo Programs - MSVC: Fix array allocation in test/fltk-versions (#1131) - Enable building the CubeView demo w/o requiring '' - Use a constant frame rate (25 fps) in test/cube demo - Add comment linking source code to related information in issue #1149 - Improve timer statistics in test/cube demo - glpuzzle: fix timer and trackball max speed, make smoother animation at 72fps Technical Details and Build Procedure Improvements - Fix FL_EXPORT qualifiers - Fix compiler warnings - Remove unnecessary friend declaration - Restore building with configure --disable-print (#1147) - macOS: Improve procedure to construct best link command - Fix: Building with FLTK_BUILD_GL=0 fails on systems without opengl installed (#1151) - Don't link to libgtk when using package libdecor-0-dev - Update makesrcdist for releases on GitHub (1.4.1 and higher) - Update CHANGES.txt for release 1.4.1 Changes in FLTK 1.4.0 Released: Nov 17 2024 Bug Fixes: - Windows: Fix "fullscreen_off does not correctly preserve window size" (#1116) - Fix rounding issues with Fl_RGB_Image::draw() + Fl_Copy_Surface (#1120, #1124) - Windows: Fix "Keyboard shortcut (alt+letter) does not work in input widget" (#1122) - macOS: Fix Alt-modifier handling in Fl_Shorcut_Button - Windows: Fix flicker/animation when transitioning from fullscreen to maximized - Wayland: protect against rounding errors in copy_region() Documentation and other Improvements: - Revert gtk+ specific "chevron style" arrow drawing (#1117) - Update CREDITS.txt - Improve 'test/fltk-versions' demo program @ text @$NetBSD$ Add libtool support. Upstream will not merge this (libtool is listed as not acceptable). --- configure.orig 2024-12-12 22:49:01.000000000 +0000 +++ configure @@@@ -1489,6 +1489,7 @@@@ Optional Features: --enable-use_std allow FLTK to use std::string etc. --disable-print turn off print support (X11) --enable-shared turn on shared libraries + --enable-libtool pkgsrc: Use libtool --disable-svg disable SVG support --disable-threads turn off multi-threading support --enable-x11 use X11 with Cygwin or macOS (default=no) @@@@ -5174,6 +5175,18 @@@@ fi +# pkgsrc: Check whether --enable-libtool or --disable-libtool was given. +if test "${enable_libtool+set}" = set; then + enableval="$enable_libtool" + +if test x$enable_libtool != xno; then + LIBTOOL="$enable_libtool" + enable_shared=no +else + LIBTOOL="" +fi +fi + if test "x$enable_shared" = xyes then : @@@@ -5484,7 +5497,25 @@@@ fi - +# pkgsrc: libtool support +if test "x$LIBTOOL" != "x"; then + LINKFLTK="../src/libfltk.la" + if test "x$LINKFLTKGL" != "x"; then + LINKFLTKGL="../src/libfltk_gl.la" + fi + if test "x$LINKFLTKIMG" != "x"; then + LINKFLTKIMG="../src/libfltk_images.la" + fi + if test "x$LINKFLTKCAIRO" != "x"; then + LINKFLTKCAIRO="../src/libfltk_cairo.la" + fi + LINKSHARED="-lfltk_images -lfltk_forms -lfltk" + DSONAME="libfltk.la" + FLDSONAME="libfltk_forms.la" + GLDSONAME="libfltk_gl.la" + IMGDSONAME="libfltk_images.la" + CAIRODSONAME="libfltk_cairo.la" +fi @