head 1.15; access; symbols pkgsrc-2024Q4:1.14.0.20 pkgsrc-2024Q4-base:1.14 pkgsrc-2024Q3:1.14.0.18 pkgsrc-2024Q3-base:1.14 pkgsrc-2024Q2:1.14.0.16 pkgsrc-2024Q2-base:1.14 pkgsrc-2024Q1:1.14.0.14 pkgsrc-2024Q1-base:1.14 pkgsrc-2023Q4:1.14.0.12 pkgsrc-2023Q4-base:1.14 pkgsrc-2023Q3:1.14.0.10 pkgsrc-2023Q3-base:1.14 pkgsrc-2023Q2:1.14.0.8 pkgsrc-2023Q2-base:1.14 pkgsrc-2023Q1:1.14.0.6 pkgsrc-2023Q1-base:1.14 pkgsrc-2022Q4:1.14.0.4 pkgsrc-2022Q4-base:1.14 pkgsrc-2022Q3:1.14.0.2 pkgsrc-2022Q3-base:1.14 pkgsrc-2022Q2:1.13.0.98 pkgsrc-2022Q2-base:1.13 pkgsrc-2022Q1:1.13.0.96 pkgsrc-2022Q1-base:1.13 pkgsrc-2021Q4:1.13.0.94 pkgsrc-2021Q4-base:1.13 pkgsrc-2021Q3:1.13.0.92 pkgsrc-2021Q3-base:1.13 pkgsrc-2021Q2:1.13.0.90 pkgsrc-2021Q2-base:1.13 pkgsrc-2021Q1:1.13.0.88 pkgsrc-2021Q1-base:1.13 pkgsrc-2020Q4:1.13.0.86 pkgsrc-2020Q4-base:1.13 pkgsrc-2020Q3:1.13.0.84 pkgsrc-2020Q3-base:1.13 pkgsrc-2020Q2:1.13.0.80 pkgsrc-2020Q2-base:1.13 pkgsrc-2020Q1:1.13.0.60 pkgsrc-2020Q1-base:1.13 pkgsrc-2019Q4:1.13.0.82 pkgsrc-2019Q4-base:1.13 pkgsrc-2019Q3:1.13.0.78 pkgsrc-2019Q3-base:1.13 pkgsrc-2019Q2:1.13.0.76 pkgsrc-2019Q2-base:1.13 pkgsrc-2019Q1:1.13.0.74 pkgsrc-2019Q1-base:1.13 pkgsrc-2018Q4:1.13.0.72 pkgsrc-2018Q4-base:1.13 pkgsrc-2018Q3:1.13.0.70 pkgsrc-2018Q3-base:1.13 pkgsrc-2018Q2:1.13.0.68 pkgsrc-2018Q2-base:1.13 pkgsrc-2018Q1:1.13.0.66 pkgsrc-2018Q1-base:1.13 pkgsrc-2017Q4:1.13.0.64 pkgsrc-2017Q4-base:1.13 pkgsrc-2017Q3:1.13.0.62 pkgsrc-2017Q3-base:1.13 pkgsrc-2017Q2:1.13.0.58 pkgsrc-2017Q2-base:1.13 pkgsrc-2017Q1:1.13.0.56 pkgsrc-2017Q1-base:1.13 pkgsrc-2016Q4:1.13.0.54 pkgsrc-2016Q4-base:1.13 pkgsrc-2016Q3:1.13.0.52 pkgsrc-2016Q3-base:1.13 pkgsrc-2016Q2:1.13.0.50 pkgsrc-2016Q2-base:1.13 pkgsrc-2016Q1:1.13.0.48 pkgsrc-2016Q1-base:1.13 pkgsrc-2015Q4:1.13.0.46 pkgsrc-2015Q4-base:1.13 pkgsrc-2015Q3:1.13.0.44 pkgsrc-2015Q3-base:1.13 pkgsrc-2015Q2:1.13.0.42 pkgsrc-2015Q2-base:1.13 pkgsrc-2015Q1:1.13.0.40 pkgsrc-2015Q1-base:1.13 pkgsrc-2014Q4:1.13.0.38 pkgsrc-2014Q4-base:1.13 pkgsrc-2014Q3:1.13.0.36 pkgsrc-2014Q3-base:1.13 pkgsrc-2014Q2:1.13.0.34 pkgsrc-2014Q2-base:1.13 pkgsrc-2014Q1:1.13.0.32 pkgsrc-2014Q1-base:1.13 pkgsrc-2013Q4:1.13.0.30 pkgsrc-2013Q4-base:1.13 pkgsrc-2013Q3:1.13.0.28 pkgsrc-2013Q3-base:1.13 pkgsrc-2013Q2:1.13.0.26 pkgsrc-2013Q2-base:1.13 pkgsrc-2013Q1:1.13.0.24 pkgsrc-2013Q1-base:1.13 pkgsrc-2012Q4:1.13.0.22 pkgsrc-2012Q4-base:1.13 pkgsrc-2012Q3:1.13.0.20 pkgsrc-2012Q3-base:1.13 pkgsrc-2012Q2:1.13.0.18 pkgsrc-2012Q2-base:1.13 pkgsrc-2012Q1:1.13.0.16 pkgsrc-2012Q1-base:1.13 pkgsrc-2011Q4:1.13.0.14 pkgsrc-2011Q4-base:1.13 pkgsrc-2011Q3:1.13.0.12 pkgsrc-2011Q3-base:1.13 pkgsrc-2011Q2:1.13.0.10 pkgsrc-2011Q2-base:1.13 pkgsrc-2011Q1:1.13.0.8 pkgsrc-2011Q1-base:1.13 pkgsrc-2010Q4:1.13.0.6 pkgsrc-2010Q4-base:1.13 pkgsrc-2010Q3:1.13.0.4 pkgsrc-2010Q3-base:1.13 pkgsrc-2010Q2:1.13.0.2 pkgsrc-2010Q2-base:1.13 pkgsrc-2010Q1:1.12.0.12 pkgsrc-2010Q1-base:1.12 pkgsrc-2009Q4:1.12.0.10 pkgsrc-2009Q4-base:1.12 pkgsrc-2009Q3:1.12.0.8 pkgsrc-2009Q3-base:1.12 pkgsrc-2009Q2:1.12.0.6 pkgsrc-2009Q2-base:1.12 pkgsrc-2009Q1:1.12.0.4 pkgsrc-2009Q1-base:1.12 pkgsrc-2008Q4:1.12.0.2 pkgsrc-2008Q4-base:1.12 pkgsrc-2008Q3:1.11.0.26 pkgsrc-2008Q3-base:1.11 cube-native-xorg:1.11.0.24 cube-native-xorg-base:1.11 pkgsrc-2008Q2:1.11.0.22 pkgsrc-2008Q2-base:1.11 cwrapper:1.11.0.20 pkgsrc-2008Q1:1.11.0.18 pkgsrc-2008Q1-base:1.11 pkgsrc-2007Q4:1.11.0.16 pkgsrc-2007Q4-base:1.11 pkgsrc-2007Q3:1.11.0.14 pkgsrc-2007Q3-base:1.11 pkgsrc-2007Q2:1.11.0.12 pkgsrc-2007Q2-base:1.11 pkgsrc-2007Q1:1.11.0.10 pkgsrc-2007Q1-base:1.11 pkgsrc-2006Q4:1.11.0.8 pkgsrc-2006Q4-base:1.11 pkgsrc-2006Q3:1.11.0.6 pkgsrc-2006Q3-base:1.11 pkgsrc-2006Q2:1.11.0.4 pkgsrc-2006Q2-base:1.11 pkgsrc-2006Q1:1.11.0.2 pkgsrc-2006Q1-base:1.11 pkgsrc-2005Q4:1.10.0.8 pkgsrc-2005Q4-base:1.10 pkgsrc-2005Q3:1.10.0.6 pkgsrc-2005Q3-base:1.10 pkgsrc-2005Q2:1.10.0.4 pkgsrc-2005Q2-base:1.10 pkgsrc-2005Q1:1.10.0.2 pkgsrc-2005Q1-base:1.10 pkgsrc-2004Q4:1.9.0.2 pkgsrc-2004Q4-base:1.9 pkgsrc-2004Q3:1.8.0.6 pkgsrc-2004Q3-base:1.8 pkgsrc-2004Q2:1.8.0.4 pkgsrc-2004Q2-base:1.8 pkgsrc-2004Q1:1.8.0.2 pkgsrc-2004Q1-base:1.8 pkgsrc-2003Q4:1.6.0.10 pkgsrc-2003Q4-base:1.6 netbsd-1-6-1:1.6.0.6 netbsd-1-6-1-base:1.6 netbsd-1-6:1.6.0.8 netbsd-1-6-RELEASE-base:1.6 pkgviews:1.6.0.4 pkgviews-base:1.6 buildlink2:1.6.0.2 buildlink2-base:1.6 netbsd-1-5-PATCH003:1.6 netbsd-1-5-PATCH001:1.5 netbsd-1-5-RELEASE:1.4 netbsd-1-4-PATCH003:1.4 netbsd-1-4-PATCH002:1.3 comdex-fall-1999:1.2 netbsd-1-4-PATCH001:1.2 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.15 date 2025.01.31.12.22.44; author micha; state dead; branches; next 1.14; commitid WdzQjQ7XVnt2oDHF; 1.14 date 2022.07.27.18.42.42; author wiz; state Exp; branches; next 1.13; commitid ymF2UfszebIp3zND; 1.13 date 2010.04.09.13.35.42; author obache; state Exp; branches; next 1.12; 1.12 date 2008.11.10.19.03.15; author adam; state Exp; branches; next 1.11; 1.11 date 2006.01.22.11.11.34; author wiz; state Exp; branches; next 1.10; 1.10 date 2005.03.19.15.26.18; author ben; state Exp; branches; next 1.9; 1.9 date 2004.10.21.08.29.45; author adam; state Exp; branches; next 1.8; 1.8 date 2004.02.18.05.07.34; author ben; state Exp; branches; next 1.7; 1.7 date 2003.12.01.16.35.51; author ben; state Exp; branches; next 1.6; 1.6 date 2001.05.26.06.37.46; author jlam; state Exp; branches; next 1.5; 1.5 date 2001.01.02.22.11.18; author jlam; state Exp; branches; next 1.4; 1.4 date 2000.08.04.03.38.15; author jlam; state Exp; branches; next 1.3; 1.3 date 99.10.31.03.00.36; author jlam; state Exp; branches; next 1.2; 1.2 date 99.06.10.01.15.47; author nathanw; state Exp; branches; next 1.1; 1.1 date 99.05.06.07.23.28; author sakamoto; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 99.05.06.07.23.28; author sakamoto; state Exp; branches; next ; desc @@ 1.15 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: patch-ab,v 1.14 2022/07/27 18:42:42 wiz Exp $ --- configure.in.orig 2009-09-20 17:25:25.000000000 +0000 +++ configure.in @@@@ -122,6 +122,7 @@@@ AC_SUBST(GLLIBNAME) AC_SUBST(IMGLIBNAME) AC_SUBST(LIBEXT) AC_SUBST(LIBNAME) +AC_SUBST(LIBTOOL) AC_SUBST(LINKFLTK) AC_SUBST(LINKFLTKFORMS) AC_SUBST(LINKFLTKGL) @@@@ -143,6 +144,15 @@@@ fi AC_ARG_ENABLE(gl, [ --enable-gl turn on OpenGL support [default=yes]]) AC_ARG_ENABLE(shared, [ --enable-shared turn on shared libraries [default=no]]) +AC_ARG_ENABLE(libtool, [ --enable-libtool=LIBTOOL_PATH + turn on building with libtool [default=no]],[ +if eval "test x$enable_libtool != xno"; then + LIBTOOL="$enable_libtool" + enable_shared=no +else + LIBTOOL="" +fi]) + if test x$enable_shared = xyes; then PICFLAG=1 SHAREDSUFFIX="" @@@@ -261,6 +271,21 @@@@ else FLUID="fluid" LINKSHARED="../lib/libfltk_images.a ../lib/libfltk_forms.a ../lib/libfltk.a" fi +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 + LINKSHARED="-lfltk_images -lfltk_forms -lfltk" + DSONAME="libfltk.la" + FLDSONAME="libfltk_forms.la" + GLDSONAME="libfltk_gl.la" + IMGDSONAME="libfltk_images.la" +fi + AC_SUBST(DSOCOMMAND) AC_SUBST(DSOFLAGS) @@@@ -611,7 +636,7 @@@@ AC_ARG_ENABLE(localpng, [ --enable-loca syspnglib_ok=no syspnginc_ok=no if test x$enable_localpng != xyes; then - AC_CHECK_LIB(png, png_read_info, + AC_CHECK_LIB(png16, png_read_info, [AC_CHECK_HEADER(png.h, AC_DEFINE(HAVE_PNG_H) syspnginc_ok=yes) @@@@ -640,11 +665,11 @@@@ if test x$enable_localpng = xyes -o x$sy else PNGINC="" PNG="" - IMAGELIBS="-lpng $IMAGELIBS" - STATICIMAGELIBS="-lpng $STATICIMAGELIBS" + IMAGELIBS="-lpng16 $IMAGELIBS" + STATICIMAGELIBS="-lpng16 $STATICIMAGELIBS" AC_DEFINE(HAVE_LIBPNG) - AC_CHECK_LIB(png,png_get_valid, AC_DEFINE(HAVE_PNG_GET_VALID)) - AC_CHECK_LIB(png,png_set_tRNS_to_alpha, AC_DEFINE(HAVE_PNG_SET_TRNS_TO_ALPHA)) + AC_CHECK_LIB(png16,png_get_valid, AC_DEFINE(HAVE_PNG_GET_VALID)) + AC_CHECK_LIB(png16,png_set_tRNS_to_alpha, AC_DEFINE(HAVE_PNG_SET_TRNS_TO_ALPHA)) fi AC_SUBST(JPEG) @ 1.14 log @fltk: fix png library name. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.13 2010/04/09 13:35:42 obache Exp $ @ 1.13 log @Update fltk to 1.1.10. Based on patch from Tim Larson by PR#43061. CHANGES IN FLTK 1.1.10 - Widgets now remove stale entries from the default callback queue when they are deleted (STR #2302) - Fixed selection bug in Fl_Int_Input (STR #2292) - Fixed character set conversion functions (STR #2268) - Fixed image lib configure and fltk-config issues by backporting the image lib and zlib configure code from FLTK 1.3 (STR #2203) - Updated the bundled libpng to v1.2.40 (released Sep. 10, 2009) - Fixed Fl_Choice contrast with light-on-dark settings (STR #2219) - Added Xft2 font lookup table (STR #2215) - Fixed X server "lock", if a modal dialog window is opened while a menu is active (STR #1986) - Updated mirror sites in documentation (STR #2220) - Setting a default font for Xft (STR #2216) - Temporarily limited builds to 32-bit on OX S to stay compatible to Snow Leopard - Fixed Windows compile bug with "#define USE_COLORMAP 0" (STR #2241) - Fixed glibc 2.10 compiler problems (Fedora 11 and others) with scandir() and strchr() (STR #2222) - Fixed OpenGL shared context handling (STR #2135) - Fixed gray-scale images with alpha channel (STR #2105) - Fixed unexpected shortcut behavior for Win32 (STR #2199) - Added cast to Fl_Color in all Fluid code (STR #2206) - Fixed wrong identifier for special keys combined with modifier (STR #2196) - Fixed documentation for Fl_Progress (STR #2209) - Fix for multiple popups, when dragging and calling fl_alert() and friends from the callback (STR #2159) - Avoiding crashes for recursive common dialogs (this does not fix the issue at hand yet) (STR 2150) - Fluid printing used wrong colors under Windows (STR #2195) - Fixed bad system menu hadling in OS X (STR #2153) - Fixed File Input mouse pointer dragging (STR #2181) - Added Fl_Scroll::bbox() documentation (STR #1893) - Fixed static linking of image libraries (STR #1962) - Fixed callback would not be called when shortcut was used with radio and toggle buttons in default FL_RELEASE mode. - Fixed a problem with TrackMouseEvent() (Windows only) that would generate wrong FL_LEAVE events with subwindows. TrackMouseEvent is now enabled by default (it was disabled for GNU compilers). It can be disabled by defining NO_TRACK_MOUSE. Improved test/subwindow.cxx (STR #2079) - Fixed RGB colors for round box (STR #2097) - Fixed documentation (added missing COMCTRL32.LIB dependency) - Fl_Group::clip_children() is now public (STR #2017) - Fixed first modifier key event (STR #1952) - Fixed wrong default value of Fl_Spinner in Fluid (STR #1991) - Fixed Fluid textcolor output (STR #1992) - Added clarification to Fl_GL_Window mode function (STR #1945) - Fl_Group and Fl_Scroll now resize themselves before resizing their children (STR #2032) - Fixed adding an idle handler during a draw() call (STR #1950) - Improved stability of fl_read_image (STR #2021) - Fixed menu position close to screen border (STR #2057) @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.12 2008/11/10 19:03:15 adam Exp $ d51 25 @ 1.12 log @Changes 1.1.9: - Improved color contrast in secondary selection blocks of Fl_Text_Display - Fixed regression in callback handling - Fixed wrong relative path when absolute path has a trailing slash in fl_filename_relative - Fixed multiple selction of files and directories in Fl_File_Chooser - Fixed MSWindows crash when selecting umlauts in Fl_Help_View Changes 1.1.8: - Documentation fixes - Fixed library path in Makefile - Fixed image read for partial regions on X11 - Fixed KDE/Gnome icon paths - Fixed Tab key to wrap around menu bars - Fixed possible timer leak in Scrollbar - Added documentation about the potential limitations of Fl::grab on newer operating systems - Fixed lockout when mixing popups and alerts - Fixed recursion crash in event handling - Fixed missing return code in 'fltk-config' - Fixed inconsistencies with CHANGED flags - Fixed message sent to hidden widgets - Fixed width calculation in Fl_Help_View - Fixed offset bug in OS X pixmap code - Fixed potential buffer overrun in Fl_Preferences - More... @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- configure.in.orig 2008-04-11 18:53:01.000000000 +0200 d5 1 a5 1 @@@@ -104,6 +104,7 @@@@ AC_SUBST(GLLIBNAME) d13 1 a13 1 @@@@ -120,6 +121,15 @@@@ fi d29 1 a29 1 @@@@ -238,6 +248,21 @@@@ else @ 1.11 log @Update to 1.1.7, ok jlam@@: FLTK 1.1.7 fixes many bugs, adds some new example programs, and adds many new improvements to the FLUID software including multi-level undo, syntax highlighting in all code fields, widget alignment and sizing guides, dialog templates, widget subclasses, and printing and testing of user interfaces within FLUID. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.10 2005/03/19 15:26:18 ben Exp $ d3 1 a3 1 --- configure.in.orig 2006-01-15 18:36:16.000000000 +0000 d5 1 a5 1 @@@@ -96,6 +96,7 @@@@ AC_SUBST(GLLIBNAME) d13 1 a13 1 @@@@ -112,6 +113,15 @@@@ fi d29 1 a29 1 @@@@ -222,6 +232,21 @@@@ else d50 1 a50 31 AC_SUBST(DSOLINK) @@@@ -757,26 +782,9 @@@@ AC_SUBST(INSTALL_DESKTOP) AC_SUBST(UNINSTALL_DESKTOP) dnl Figure out the appropriate formatted man page extension... -case "$uname" in - *BSD* | Darwin*) - # *BSD - CAT1EXT=0 - CAT3EXT=0 - CAT6EXT=0 - ;; - IRIX*) - # SGI IRIX - CAT1EXT=z - CAT3EXT=z - CAT6EXT=z - ;; - *) - # All others - CAT1EXT=1 - CAT3EXT=3 - CAT6EXT=3 - ;; -esac + CAT1EXT=1 + CAT3EXT=3 + CAT6EXT=6 AC_SUBST(CAT1EXT) AC_SUBST(CAT3EXT) @ 1.10 log @Originally fltk used different file names for the man pages depending on the platform. I followed the documentation that is now in pkgsrc.txt and put the default names in PLIST, and the NetBSD names in PLIST.NetBSD. The PLIST handling does not actually work this way, and it will be cleaner to use the same file names for man pages regardless of platform. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- configure.in.orig 2004-11-19 19:44:17.000000000 -0800 d5 1 a5 1 @@@@ -95,6 +95,7 @@@@ AC_SUBST(GLLIBNAME) d11 1 d13 1 a13 2 AC_SUBST(LINKFLTKIMG) @@@@ -110,6 +111,15 @@@@ fi d29 3 a31 2 @@@@ -209,6 +219,21 @@@@ else LINKSHARED="-L../lib -lfltk_images -lfltk_forms -lfltk" a32 1 d48 1 d51 2 a52 3 AC_SUBST(DSONAME) @@@@ -658,23 +683,8 @@@@ AC_SUBST(POSTBUILD) AC_SUBST(THREADS) d60 1 d66 1 d70 3 a72 2 CAT1EXT=1 CAT3EXT=3 d75 3 a80 9 @@@@ -743,7 +753,7 @@@@ if test -n "$GCC"; then ;; esac - CXX="$CC" +# CXX="$CC" # Show all standard warnings + unused variables, conversion errors, # and inlining problems when compiling... @ 1.9 log @Changes 1.1.5rc1: - Documentation updates (STR #186, STR #245, STR #250, STR #277, STR #281, STR #328, STR #338) - fl_scroll() did not handle scrolling from off-screen on WIN32 (STR #315) - Fl_File_Chooser did not allow manual entry of a drive letter (STR #339) - Fl_Menu now uses the boxtype to redraw the menu background (STR #204) - Fl_Scroll now shows the background image when a framed box type is used and the Fl_Scroll is a direct decendent of a window (STR #205) - Added a new_directory_tooltip string pointer to allow localization of the file chooser's new directory button (STR #340) - Added Fl_Menu_::find_item() method (STR #316) - The Fl_Widget copy operator definitions were not conditionally compiled properly (STR #329) - FLUID's Layout functionality did not move child widgets when laying out group widgets (STR #319) - FLUID's Layout->Center In Group functionality did not properly handle widgets that were children of a Fl_Window widget (STR #318) - The Fl_Text_Display destructor did not remove the predelete callback associated with the current buffer (STR #332) - Fixed several bugs in the MacOS X Fl::add_fd() handling (STR #333, STR #337) @ text @d3 1 a3 1 --- configure.in.orig 2004-10-18 21:05:27.000000000 +0000 d51 25 a75 1 @@@@ -726,7 +751,7 @@@@ if test -n "$GCC"; then @ 1.8 log @Update from FLTK 1.0.11 to FLTK 1.1.4. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.7 2003/12/01 16:35:51 ben Exp $ d3 1 a3 1 --- configure.in.orig 2003-08-05 15:40:45.000000000 -0700 d5 1 a5 2 @@@@ -92,6 +92,7 @@@@ AC_SUBST(GLDEMOS) AC_SUBST(GLLIBNAME) d7 1 d13 1 a13 1 @@@@ -107,6 +108,15 @@@@ fi d29 1 a29 1 @@@@ -206,6 +216,21 @@@@ else d51 1 a51 1 @@@@ -668,7 +693,7 @@@@ if test -n "$GCC"; then d58 2 a59 2 # Show all standard warnings + unused variables when compiling... OPTIM="-Wall -Wunused $OPTIM" @ 1.7 log @Force the use of a C++ compiler to compile C++ source files in a more clean manner, from feedback in PR 23252. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- configure.in.orig 2001-05-07 07:34:22.000000000 -0700 d5 10 a14 2 @@@@ -30,6 +30,9 @@@@ AC_INIT(src/Fl.cxx) AC_PROG_RANLIB d16 1 a16 14 LIBNAME="libfltk.a" +LIBRARY="../lib/\$(LIBNAME)" +LIBFLTK="../lib/\$(LIBNAME)" +LINKFLTK="-L../lib -lfltk" if test "$RANLIB" != ":"; then LIBCOMMAND="ar cr" else @@@@ -58,8 +61,17 @@@@ AC_ARG_ENABLE(debug, [ --enable-debug DEBUGFLAG="-g " fi]) AC_ARG_ENABLE(gl, [ --enable-gl turn on OpenGL support [default=yes]]) -AC_ARG_ENABLE(shared, [ --enable-shared turn on shared libraries [default=no]],[ -if eval "test x$enable_shared = xyes"; then +AC_ARG_ENABLE(shared, [ --enable-shared turn on shared libraries [default=no]]) d26 20 a45 9 +if test "$enable_shared" = "yes"; then PICFLAG=1 case $uname in SunOS* | UNIX_S*) @@@@ -95,7 +107,14 @@@@ if eval "test x$enable_shared = xyes"; t DSOCOMMAND="\$(CXX) -Wl,-soname,libfltk.so.1 \$(LDLIBS) -shared $DEBUGFLAG -o" ;; esac -fi]) d48 6 a53 6 +if test "x$LIBTOOL" != "x"; then + LIBNAME="libfltk.la" + LIBRARY="\$(LIBNAME)" + LIBFLTK="../src/\$(LIBNAME)" + LINKFLTK="../src/\$(LIBNAME)" +fi a54 6 AC_PROG_CC AC_PROG_CXX @@@@ -262,7 +281,7 @@@@ MAKEDEPEND="\$(CXX) -M" if test -n "$GXX"; then # Use gcc instead of c++ or g++, since we don't need the C++ # library to depend on... d57 3 a59 15 CFLAGS="-Wall $CFLAGS" CXXFLAGS="-Wall $CXXFLAGS" if test -z "$DEBUGFLAG"; then @@@@ -375,7 +394,11 @@@@ CXXFLAGS="$DEBUGFLAG $CXXFLAGS" AC_SUBST(DSONAME) AC_SUBST(DSOCOMMAND) AC_SUBST(LIBNAME) +AC_SUBST(LIBRARY) +AC_SUBST(LIBFLTK) +AC_SUBST(LINKFLTK) AC_SUBST(LIBCOMMAND) +AC_SUBST(LIBTOOL) AC_SUBST(MAKEDEPEND) AC_CONFIG_HEADER(config.h:configh.in) AC_OUTPUT(makeinclude) @ 1.6 log @Update fltk to 1.0.11. Changes from version 1.0.10 include bugfixes and: - Added new const const pointer versions of pixmap functions to eliminate an annoying pointer warning message that was generated by the Sun and other C++ compilers. - Eliminated all "var hides class::var" warnings. - Eliminated all "string literal converted to char *" warnings. - The file chooser buttons use user_data() rather than the label to decide what to do, allowing the label to be somewhat cleaner. - Fl_has_idle only tested N-1 callbacks and missed one. - Fl_Gl_Window has a new method to allow you to get and set the context: void Fl_Gl_Window::context(void*, int destroy = 0) void* Fl_Gl_Window::context() const; Return or set a pointer to the GLContext that this window is using. This is a system-dependent structure, but it is portable to copy the context from one window to another. You can also set it to NULL, which will force FLTK to recreate the context the next time make_current() is called, this is useful for getting around bugs in OpenGL implementations. If destroy_flag is true the context will be destroyed by fltk when the window is destroyed, or when the mode() is changed, or the next time context(x) is called. - Added Fl::add_check(...), Fl::remove_check, and Fl::has_check. These are similar to idle callbacks but are only called just before it waits for new events. They can be used to watch for changes in global state and respond to them. - Added simple FLTK and FLUID manual pages. @ text @d3 1 a3 1 --- configure.in.orig Mon May 7 10:34:22 2001 d5 1 a5 1 @@@@ -30,6 +30,9 @@@@ d15 1 a15 1 @@@@ -58,8 +61,17 @@@@ d35 1 a35 1 @@@@ -95,7 +107,14 @@@@ d51 10 a60 1 @@@@ -375,7 +394,11 @@@@ @ 1.5 log @Update fltk to 1.0.10. Modify make process to not build the test programs during a normal build to reduce build times on slower platforms. Relevant changes from version 1.0.9 include various bug fixes, less memory consumption for colors, improvements to the code generation in fluid, and improvements to the way scrollbars and buttons are handled. There is also the following GL optimization for certain OpenGL implementations: - Performance of Fl_Gl_Window may be improved on some types of OpenGL implementations, in particular MESA or other software emulators, by setting the GL_SWAP_TYPE environment variable. This variable declares what is in the back buffer after you do a swapbuffers: setenv GL_SWAP_TYPE COPY This indicates that the back buffer is copied to the front buffer, and still contains it's old data. This is true of many hardware implementations. Setting this will speed up emulation of overlays, and widgets that can do partial update can take advantage of this as damage() will not be cleared to -1. setenv GL_SWAP_TYPE NODAMAGE This indicates that nothing changes the back buffer except drawing into it. This is true of MESA and Win32 software emulation and perhaps some hardware emulation on systems with lots of memory. All other values for GL_SWAP_TYPE, and not setting the variable, cause fltk to assumme that the back buffer must be completely redrawn after a swap. This is easily tested by running the gl_overlay demo program and seeing if the display is correct when you drag another window over it or if you drag the window off the screen and back on. You have to exit and run the program again for it to see any changes to the environment variable. @ text @d3 60 a62 41 --- makeinclude.in.orig Mon Nov 20 10:10:00 2000 +++ makeinclude.in @@@@ -33,23 +33,24 @@@@ VPATH =@@srcdir@@ # compiler names: -CXX =@@CXX@@ -CC =@@CC@@ +CXX =${LIBTOOL} @@CXX@@ +CC =${LIBTOOL} @@CC@@ MAKEDEPEND =@@MAKEDEPEND@@ # flags for C++ compiler: -CFLAGS =@@CFLAGS@@ -CXXFLAGS =@@CXXFLAGS@@ +CFLAGS =@@CFLAGS@@ @@CPPFLAGS@@ +CXXFLAGS =@@CXXFLAGS@@ @@CPPFLAGS@@ # program to make the archive: LIBNAME =@@LIBNAME@@ +FLTKLIB =../src/libfltk.la LIBCOMMAND =@@LIBCOMMAND@@ RANLIB =@@RANLIB@@ DSONAME =@@DSONAME@@ DSOCOMMAND =@@DSOCOMMAND@@ # libraries to link with: -LDLIBS =@@LDFLAGS@@ @@LIBS@@ -lX11 -lXext @@X_EXTRA_LIBS@@ -lm +LDLIBS =$(GLDLIBS) GLDLIBS =@@LDFLAGS@@ @@LIBS@@ @@GLLIB@@ -lX11 -lXext @@X_EXTRA_LIBS@@ -lm # Be quiet when building... @@@@ -60,7 +61,7 @@@@ .cxx: echo Compiling and linking $@@... - $(CXX) -I.. -L../lib $(CXXFLAGS) $< -lfltk $(LDLIBS) -o $@@ + $(CXX) -I.. -L../lib $(CXXFLAGS) $< $(FLTKLIB) $(LDLIBS) -o $@@ .c.o: echo Compiling $@@... @ 1.4 log @Update fltk to 1.0.9. Changes from version 1.0.7 include many bug fixes, better modal behaviour, and better portability. Find Mesa headers when xpkgwedge is installed. @ text @d3 4 a6 3 --- makeinclude.in.orig Mon Jun 5 17:20:17 2000 +++ makeinclude.in Thu Aug 3 23:13:46 2000 @@@@ -34,14 +34,15 @@@@ d16 4 a19 4 -CFLAGS =@@CFLAGS@@ @@X_CFLAGS@@ -CXXFLAGS =@@CXXFLAGS@@ @@X_CFLAGS@@ +CFLAGS =@@CFLAGS@@ @@X_CFLAGS@@ @@CPPFLAGS@@ +CXXFLAGS =@@CXXFLAGS@@ @@X_CFLAGS@@ @@CPPFLAGS@@ d26 2 a27 1 @@@@ -50,5 +51,5 @@@@ d34 3 a36 1 @@@@ -61,13 +62,13 @@@@ a43 9 - $(CC) -I.. $(CXXFLAGS) $< -c + $(CC) -I.. $(CXXFLAGS) -c $< .cxx.o: echo Compiling $@@... - $(CXX) -I.. $(CXXFLAGS) $< -c + $(CXX) -I.. $(CXXFLAGS) -c $< # @ 1.3 log @* Update fltk to 1.0.6. Changes from 1.0.3: CHANGES SINCE FLTK 1.0.5 - Fl_win32.cxx defined WM_MOUSE_LEAVE instead of WM_MOUSELEAVE. - Fl_get_key_win32.cxx needed to include - gl_draw_pixmap.cxx needed a pointer cast for ANSI C++. - Fl_Repeat_Button didn't always delete its timeout. - Now keep track of the current OpenGL context; this provides significant performance improvements for OpenGL applications with a single context. CHANGES SINCE FLTK 1.0.4 - Fl_Roller didn't handle a width and height of 0. - filename_list() fix for FreeBSD. - Fixed RPM install docos - needed "--install" option... - Fl_Browser_ wouldn't draw the vertical scrollbar right away if it added a horizontal one which covered the last line. - Fl_Tabs problems - single-character labels don't show up (problem in measure_tabs() or measure_label() methods?), and doesn't clear top tab area before drawing tabs. - Fl_Browser needs a destructor. - fl_draw_label() quoted characters between 0x80 and 0xa0, which caused problems for some programs using the WinANSI character set. - FLUID didn't handle declared class destructors. - Fixed another WIN32 cut/paste bug. - Fl_Tabs didn't work properly when there was only 1 tab. - Fl_Menu::add() didn't delete the old array. - Fl_Repeat_Button didn't delete its timeout when disabled. - fl_draw() would crash if no font was set (now defaults to a 14-pixel Helvetica font) - Can't forward declare classes; need to check for "class ", "struct ", "union ", etc. See Bill's message - Added #pragma around xlib.h for IRIX - FL_KEYBOARD events have the correct x/y when sent to child X windows. Note that if you worked around this bug by adjusting the x/y yourself you will have to change your code. In addition all events have the correct x/y when sent to the grab() widget. And the code to do all this was simplified a lot. - The XPM code didn't handle named colors with spaces in the names. - Pressing ESCape closed the window with pointer focus, even if there was a modal window open (now closes the modal window). - Fluid no longer produces trigraphs accidentally in the image data. - Fluid uses string constant concatenation to produce shorter image data. - The Fl_Group deletion code crashed if there was exactly one child widget. - Simulated overlays in single-buffered Fl_Gl_Windows now draw correctly (though very slowly as it requires the entire window to be redrawn to erase the overlay). This fix ported our Digital Domain programs better to systems with no overlay hardware. - Added support for extern "C" declarations in FLUID. - Added Fl_Pack support to FLUID. - Fixed the order of #include's in FLUID generated header files. - Fixed detection of vsnprintf and snprintf under HP-UX 10.20 once and for all. - The checkers demo did not compile with GCC 2.95 - FLUID didn't output virtual destructors properly. - Added inline "make_visible()" method to Fl_Browser. - Fl::wait() now returns immediately if any timeouts are called. - 16-bit XPM files are now properly handled. - Fl_Window::resize() was missing FL_EXPORT (caused problems with Windows DLLs) - FLUID was writing extern declarations twice. - New FLUID arrow key functionality: arrows move by one pixel, shift+arrow resizes, ctrl+arrow steps by grid CHANGES SINCE FLTK 1.0.3 - Documentation updates - Fl_Browser::bottomline(size) didn't scroll to the bottom if the second-to-last line was visible. - fl_wait() didn't poll FDs properly for WIN32. - Fixed DLL definitions for BC++. - FLUID now handles nested classes properly. - The "connect" demo now does a wait() for the PPP process so that you aren't left with a lot of zombie processes. - Fixed the FLTK colormap to use FF instead of F4 for full intensity values. - Minor change to scrollbar drawing code to match other toolkits. - New selections would cancel themselves out in WIN32. - The header file links were broken in the IRIX distributions. - fl_elapsed() now always uses GetClockTick() for WIN32. - fl_display is now initialized to GetModuleHandle(NULL) - this fixes problems people had with Cygwin and MingW32. - WinMain() is no longer compiled in with Cygwin and MingW32; it wasn't being used for those compilers anyways. - Added Solaris compiler options to configure script. - Fl_Value_Input wouldn't update properly if you set the value from a callback. - Fl_Tile wouldn't resize if the resizeable widget was the last child. - Was missing #include and #include in several files, which caused problems on some platforms. - Fixed another case where Fl_Browser_ could get in an infinite resizing loop. - Fl_win32.cxx now includes to export missing DLL symbols. - Fluid didn't handle member functions that include the scope operator. - Fl_Chart was dividing by 0 if there were no data samples or if they were all the same (min == max). @ text @d3 16 a18 4 --- makeinclude.in.orig Thu Mar 25 10:26:28 1999 +++ makeinclude.in Sat Oct 30 00:30:16 1999 @@@@ -42,7 +42,7 @@@@ CXXFLAGS =@@CXXFLAGS@@ @@X_CFLAGS@@ d21 2 a22 2 -LIBNAME =@@LIBNAME@@ +LIBNAME =libfltk.la d25 24 a48 1 DSONAME =@@DSONAME@@ @ 1.2 log @Update to fltk-1.0.3 @ text @d3 11 a13 89 --- src/Makefile.orig Mon Apr 26 08:36:17 1999 +++ src/Makefile Sun Jun 6 17:31:02 1999 @@@@ -146,30 +146,25 @@@@ include ../makeinclude -LIBRARY = ../lib/$(LIBNAME) +LIBRARY = $(LIBNAME) -OBJECTS = $(CPPFILES:.cxx=.o) $(CFILES:.c=.o) +OBJECTS = $(CPPFILES:.cxx=.lo) $(CFILES:.c=.lo) -all: $(LIBRARY) $(DSONAME) +all: $(LIBRARY) $(LIBRARY): $(OBJECTS) - @@echo $(LIBCOMMAND) $@@ ... - @@$(LIBCOMMAND) $@@ $(OBJECTS) - @@$(RANLIB) $@@ - -libfltk.so.1 libfltk.sl.1: $(OBJECTS) - @@echo $(DSOCOMMAND) $@@ ... - @@$(DSOCOMMAND) $@@ $(OBJECTS) - -.SUFFIXES: .cxx .h .o - -.cxx.o : - $(CXX) -I.. $(CXXFLAGS) -c $< -.c.o : - $(CC) -I.. $(CFLAGS) -c -o $@@ $< + $(LIBTOOL) --mode=link $(CXX) -o $@@ $(OBJECTS) \ + -rpath $(PREFIX)/lib -version-info 1:0 + +.SUFFIXES: .cxx .h .lo + +.cxx.lo : + $(LIBTOOL) --mode=compile $(CXX) -I.. $(CXXFLAGS) -c $< +.c.lo : + $(LIBTOOL) --mode=compile $(CC) -I.. $(CFLAGS) -c $< clean : - -@@ rm -f *.o *.do $(DSONAME) $(LIBRARY) $(CLEAN) core *~ ../include/*~ makedepend cmap + -@@ rm -f *.o *.do $(LIBRARY) $(CLEAN) core *~ ../include/*~ makedepend cmap @@touch makedepend depend: @@@@ -178,34 +173,17 @@@@ ################################################################ -install: $(LIBRARY) $(DSONAME) +install: all @@echo "Installing libraries..." - @@-mkdir -p $(libdir) - @@rm -f $(libdir)/$(LIBNAME) - @@-cp $(LIBRARY) $(libdir) - @@-chmod 644 $(libdir)/$(LIBNAME) - @@if test "$(DSONAME)" = libfltk.so.1; then\ - rm -f $(libdir)/libfltk.so*;\ - cp libfltk.so.1 $(libdir); \ - chmod 755 $(libdir)/libfltk.so.1; \ - ln -s $(libdir)/libfltk.so.1 $(libdir)/libfltk.so;\ - fi - @@if test "$(DSONAME)" = libfltk.sl.1; then\ - rm -f $(libdir)/libfltk.sl*;\ - cp libfltk.sl.1 $(libdir); \ - chmod 755 $(libdir)/libfltk.sl.1; \ - ln -s $(libdir)/libfltk.sl.1 $(libdir)/libfltk.sl;\ - fi + $(LIBTOOL) --mode=install $(BSD_INSTALL_DATA) $(LIBNAME) $(libdir) @@echo "Installing include files..." - @@-mkdir -p $(includedir) - @@rm -rf $(includedir)/FL $(includedir)/Fl - @@-cp -r ../FL $(includedir) - @@-chmod 755 $(includedir)/FL - @@-chmod 644 $(includedir)/FL/* - @@for file in $(includedir)/FL/*.H; do\ + $(BSD_INSTALL_DATA_DIR) $(includedir)/FL + $(BSD_INSTALL_DATA) ../FL/* $(includedir)/FL + @@(cd $(includedir)/FL; \ + for file in *.H; do\ newfile="`basename $$file H`h";\ - ln -s $$file $(includedir)/FL/$$newfile;\ - done + ln -s $$file $$newfile;\ + done) @@-ln -s FL $(includedir)/Fl # @ 1.1 log @Initial revision @ text @d3 2 a4 2 --- src/Makefile.orig Tue Mar 30 02:39:28 1999 +++ src/Makefile Mon Apr 26 13:49:20 1999 d23 1 a23 1 -$(DSONAME): $(OBJECTS) d49 1 a49 1 @@@@ -178,36 +173,19 @@@@ a90 2 # # End of "$Id: Makefile,v 1.18.2.7 1999/03/29 17:39:28 carl Exp $". @ 1.1.1.1 log @FLTK, C++ graphical user interface toolkit for X. @ text @@