head 1.9; access; symbols pkgsrc-2024Q4:1.8.0.118 pkgsrc-2024Q4-base:1.8 pkgsrc-2024Q3:1.8.0.116 pkgsrc-2024Q3-base:1.8 pkgsrc-2024Q2:1.8.0.114 pkgsrc-2024Q2-base:1.8 pkgsrc-2024Q1:1.8.0.112 pkgsrc-2024Q1-base:1.8 pkgsrc-2023Q4:1.8.0.110 pkgsrc-2023Q4-base:1.8 pkgsrc-2023Q3:1.8.0.108 pkgsrc-2023Q3-base:1.8 pkgsrc-2023Q2:1.8.0.106 pkgsrc-2023Q2-base:1.8 pkgsrc-2023Q1:1.8.0.104 pkgsrc-2023Q1-base:1.8 pkgsrc-2022Q4:1.8.0.102 pkgsrc-2022Q4-base:1.8 pkgsrc-2022Q3:1.8.0.100 pkgsrc-2022Q3-base:1.8 pkgsrc-2022Q2:1.8.0.98 pkgsrc-2022Q2-base:1.8 pkgsrc-2022Q1:1.8.0.96 pkgsrc-2022Q1-base:1.8 pkgsrc-2021Q4:1.8.0.94 pkgsrc-2021Q4-base:1.8 pkgsrc-2021Q3:1.8.0.92 pkgsrc-2021Q3-base:1.8 pkgsrc-2021Q2:1.8.0.90 pkgsrc-2021Q2-base:1.8 pkgsrc-2021Q1:1.8.0.88 pkgsrc-2021Q1-base:1.8 pkgsrc-2020Q4:1.8.0.86 pkgsrc-2020Q4-base:1.8 pkgsrc-2020Q3:1.8.0.84 pkgsrc-2020Q3-base:1.8 pkgsrc-2020Q2:1.8.0.80 pkgsrc-2020Q2-base:1.8 pkgsrc-2020Q1:1.8.0.60 pkgsrc-2020Q1-base:1.8 pkgsrc-2019Q4:1.8.0.82 pkgsrc-2019Q4-base:1.8 pkgsrc-2019Q3:1.8.0.78 pkgsrc-2019Q3-base:1.8 pkgsrc-2019Q2:1.8.0.76 pkgsrc-2019Q2-base:1.8 pkgsrc-2019Q1:1.8.0.74 pkgsrc-2019Q1-base:1.8 pkgsrc-2018Q4:1.8.0.72 pkgsrc-2018Q4-base:1.8 pkgsrc-2018Q3:1.8.0.70 pkgsrc-2018Q3-base:1.8 pkgsrc-2018Q2:1.8.0.68 pkgsrc-2018Q2-base:1.8 pkgsrc-2018Q1:1.8.0.66 pkgsrc-2018Q1-base:1.8 pkgsrc-2017Q4:1.8.0.64 pkgsrc-2017Q4-base:1.8 pkgsrc-2017Q3:1.8.0.62 pkgsrc-2017Q3-base:1.8 pkgsrc-2017Q2:1.8.0.58 pkgsrc-2017Q2-base:1.8 pkgsrc-2017Q1:1.8.0.56 pkgsrc-2017Q1-base:1.8 pkgsrc-2016Q4:1.8.0.54 pkgsrc-2016Q4-base:1.8 pkgsrc-2016Q3:1.8.0.52 pkgsrc-2016Q3-base:1.8 pkgsrc-2016Q2:1.8.0.50 pkgsrc-2016Q2-base:1.8 pkgsrc-2016Q1:1.8.0.48 pkgsrc-2016Q1-base:1.8 pkgsrc-2015Q4:1.8.0.46 pkgsrc-2015Q4-base:1.8 pkgsrc-2015Q3:1.8.0.44 pkgsrc-2015Q3-base:1.8 pkgsrc-2015Q2:1.8.0.42 pkgsrc-2015Q2-base:1.8 pkgsrc-2015Q1:1.8.0.40 pkgsrc-2015Q1-base:1.8 pkgsrc-2014Q4:1.8.0.38 pkgsrc-2014Q4-base:1.8 pkgsrc-2014Q3:1.8.0.36 pkgsrc-2014Q3-base:1.8 pkgsrc-2014Q2:1.8.0.34 pkgsrc-2014Q2-base:1.8 pkgsrc-2014Q1:1.8.0.32 pkgsrc-2014Q1-base:1.8 pkgsrc-2013Q4:1.8.0.30 pkgsrc-2013Q4-base:1.8 pkgsrc-2013Q3:1.8.0.28 pkgsrc-2013Q3-base:1.8 pkgsrc-2013Q2:1.8.0.26 pkgsrc-2013Q2-base:1.8 pkgsrc-2013Q1:1.8.0.24 pkgsrc-2013Q1-base:1.8 pkgsrc-2012Q4:1.8.0.22 pkgsrc-2012Q4-base:1.8 pkgsrc-2012Q3:1.8.0.20 pkgsrc-2012Q3-base:1.8 pkgsrc-2012Q2:1.8.0.18 pkgsrc-2012Q2-base:1.8 pkgsrc-2012Q1:1.8.0.16 pkgsrc-2012Q1-base:1.8 pkgsrc-2011Q4:1.8.0.14 pkgsrc-2011Q4-base:1.8 pkgsrc-2011Q3:1.8.0.12 pkgsrc-2011Q3-base:1.8 pkgsrc-2011Q2:1.8.0.10 pkgsrc-2011Q2-base:1.8 pkgsrc-2011Q1:1.8.0.8 pkgsrc-2011Q1-base:1.8 pkgsrc-2010Q4:1.8.0.6 pkgsrc-2010Q4-base:1.8 pkgsrc-2010Q3:1.8.0.4 pkgsrc-2010Q3-base:1.8 pkgsrc-2010Q2:1.8.0.2 pkgsrc-2010Q2-base:1.8 pkgsrc-2010Q1:1.7.0.12 pkgsrc-2010Q1-base:1.7 pkgsrc-2009Q4:1.7.0.10 pkgsrc-2009Q4-base:1.7 pkgsrc-2009Q3:1.7.0.8 pkgsrc-2009Q3-base:1.7 pkgsrc-2009Q2:1.7.0.6 pkgsrc-2009Q2-base:1.7 pkgsrc-2009Q1:1.7.0.4 pkgsrc-2009Q1-base:1.7 pkgsrc-2008Q4:1.7.0.2 pkgsrc-2008Q4-base:1.7 pkgsrc-2008Q3:1.6.0.18 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.16 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.14 pkgsrc-2008Q2-base:1.6 cwrapper:1.6.0.12 pkgsrc-2008Q1:1.6.0.10 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.8 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.6.0.6 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.6.0.4 pkgsrc-2007Q2-base:1.6 pkgsrc-2007Q1:1.6.0.2 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.5.0.8 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.5.0.6 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.5.0.4 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.5.0.2 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.4.0.10 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.8 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.6 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.4 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.2 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.3.0.6 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.4 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.2 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.2.0.4 pkgsrc-2003Q4-base:1.2 netbsd-1-6-1:1.2.0.2 netbsd-1-6-1-base:1.2 netbsd-1-6:1.1.0.8 netbsd-1-6-RELEASE-base:1.1 pkgviews:1.1.0.4 pkgviews-base:1.1 buildlink2:1.1.0.2 buildlink2-base:1.1 netbsd-1-5-PATCH003:1.1; locks; strict; comment @# @; 1.9 date 2025.01.31.12.22.44; author micha; state dead; branches; next 1.8; commitid WdzQjQ7XVnt2oDHF; 1.8 date 2010.04.09.13.35.42; author obache; state Exp; branches; next 1.7; 1.7 date 2008.11.10.19.03.15; author adam; state Exp; branches; next 1.6; 1.6 date 2007.01.02.12.42.45; author joerg; state Exp; branches; next 1.5; 1.5 date 2006.01.22.11.11.34; author wiz; state Exp; branches; next 1.4; 1.4 date 2004.10.21.08.29.45; author adam; state Exp; branches; next 1.3; 1.3 date 2004.02.18.05.07.34; author ben; state Exp; branches; next 1.2; 1.2 date 2002.11.25.18.58.37; author jlam; state Exp; branches; next 1.1; 1.1 date 2001.05.26.06.37.46; author jlam; state Exp; branches; next ; desc @@ 1.9 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-ag,v 1.8 2010/04/09 13:35:42 obache Exp $ --- src/Makefile.orig 2009-07-02 09:42:17.000000000 +0000 +++ src/Makefile @@@@ -208,6 +208,10 @@@@ $(LIBNAME): $(OBJECTS) $(LIBCOMMAND) $@@ $(OBJECTS) $(RANLIB) $@@ +libfltk.la: $(OBJECTS) + echo $(CXX) $@@ ... + ${LIBTOOL} --mode=link $(CXX) $(ARCHFLAGS) $(LDFLAGS) -o $@@ $(OBJECTS:.o=.lo) -rpath $(prefix)/lib -version-info 1:9 $(LDLIBS) + libfltk.so.1.1: $(OBJECTS) echo $(DSOCOMMAND) $@@ ... $(DSOCOMMAND) $@@ $(OBJECTS) @@@@ -244,6 +248,10 @@@@ $(FLLIBNAME): $(FLOBJECTS) $(LIBCOMMAND) $@@ $(FLOBJECTS) $(RANLIB) $@@ +libfltk_forms.la: $(FLOBJECTS) + echo $(CXX) $@@ ... + ${LIBTOOL} --mode=link $(CXX) $(ARCHFLAGS) $(LDFLAGS) -o $@@ $(FLOBJECTS:.o=.lo) -rpath $(prefix)/lib -version-info 1:9 $(LDLIBS) + libfltk_forms.so.1.1: $(FLOBJECTS) libfltk.so.1.1 echo $(DSOCOMMAND) $@@ ... $(DSOCOMMAND) $@@ $(FLOBJECTS) -L. -lfltk @@@@ -280,6 +288,10 @@@@ $(GLLIBNAME): $(GLOBJECTS) $(LIBCOMMAND) $@@ $(GLOBJECTS) $(RANLIB) $@@ +libfltk_gl.la: $(GLOBJECTS) + echo $(CXX) $@@ ... + ${LIBTOOL} --mode=link $(CXX) $(ARCHFLAGS) $(LDFLAGS) -o $@@ $(GLOBJECTS:.o=.lo) -rpath $(prefix)/lib -version-info 1:9 $(LDLIBS) + libfltk_gl.so.1.1: $(GLOBJECTS) libfltk.so.1.1 echo $(DSOCOMMAND) $@@ ... $(DSOCOMMAND) $@@ $(GLOBJECTS) -L. -lfltk @@@@ -316,6 +328,10 @@@@ $(IMGLIBNAME): $(IMGOBJECTS) $(LIBCOMMAND) $@@ $(IMGOBJECTS) $(RANLIB) $@@ +libfltk_images.la: $(IMGOBJECTS) + echo $(CXX) $@@ ... + ${LIBTOOL} --mode=link $(CXX) $(ARCHFLAGS) $(LDFLAGS) -o $@@ $(IMGOBJECTS:.o=.lo) -rpath $(prefix)/lib -version-info 1:9 $(LDLIBS) + libfltk_images.so.1.1: $(IMGOBJECTS) libfltk.so.1.1 echo $(DSOCOMMAND) $@@ ... $(DSOCOMMAND) $@@ $(IMGOBJECTS) -L. $(IMAGELIBS) -lfltk @@@@ -504,6 +520,9 @@@@ install: $(LIBNAME) $(DSONAME) \ $(RANLIB) $(DESTDIR)$(libdir)/$(GLLIBBASENAME); \ fi $(RANLIB) $(DESTDIR)$(libdir)/$(IMGLIBBASENAME) + if test x$(DSONAME) = xlibfltk.la; then\ + ${LIBTOOL} --mode=install $(INSTALL_LIB) libfltk.la $(DESTDIR)$(libdir); \ + fi if test x$(DSONAME) = xlibfltk.so.1.1; then\ $(RM) $(DESTDIR)$(libdir)/libfltk.so*;\ $(INSTALL_LIB) libfltk.so.1.1 $(DESTDIR)$(libdir); \ @@@@ -523,6 +542,9 @@@@ install: $(LIBNAME) $(DSONAME) \ $(RM) $(DESTDIR)$(libdir)/libfltk_s.a;\ $(INSTALL_LIB) libfltk_s.a $(DESTDIR)$(libdir); \ fi + if test x$(FLDSONAME) = xlibfltk_forms.la; then\ + ${LIBTOOL} --mode=install $(INSTALL_LIB) libfltk_forms.la $(DESTDIR)$(libdir); \ + fi if test x$(DSONAME) = xcygfltknox-1.1.dll; then\ $(RM) $(DESTDIR)$(bindir)/$(DSONAME);\ $(INSTALL_LIB) $(DSONAME) $(DESTDIR)$(bindir); \ @@@@ -540,6 +562,9 @@@@ install: $(LIBNAME) $(DSONAME) \ $(INSTALL_LIB) libfltk_forms.so.1.1 $(DESTDIR)$(libdir); \ $(LN) libfltk_forms.so.1.1 $(DESTDIR)$(libdir)/libfltk_forms.so;\ fi + if test x$(GLDSONAME) = xlibfltk_gl.la; then\ + ${LIBTOOL} --mode=install $(INSTALL_LIB) libfltk_gl.la $(DESTDIR)$(libdir); \ + fi if test x$(FLDSONAME) = xlibfltk_forms.sl.1.1; then\ $(RM) $(DESTDIR)$(libdir)/libfltk_forms.sl*;\ $(INSTALL_LIB) libfltk_forms.sl.1.1 $(DESTDIR)$(libdir); \ @@@@ -597,6 +622,9 @@@@ install: $(LIBNAME) $(DSONAME) \ $(RM) $(DESTDIR)$(libdir)/libfltk_gl.dll.a;\ $(INSTALL_LIB) libfltk_gl.dll.a $(DESTDIR)$(libdir); \ fi + if test x$(IMGDSONAME) = xlibfltk_images.la; then\ + ${LIBTOOL} --mode=install $(INSTALL_LIB) libfltk_images.la $(DESTDIR)$(libdir); \ + fi if test x$(IMGDSONAME) = xlibfltk_images.so.1.1; then\ $(RM) $(DESTDIR)$(libdir)/libfltk_images.so*;\ $(INSTALL_LIB) libfltk_images.so.1.1 $(DESTDIR)$(libdir); \ @ 1.8 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-ag,v 1.7 2008/11/10 19:03:15 adam Exp $ @ 1.7 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 --- src/Makefile.orig 2008-02-27 16:00:31.000000000 +0100 d50 1 a50 1 $(RANLIB) $(DESTDIR)$(libdir)/$(GLLIBNAME); \ d52 1 a52 1 $(RANLIB) $(DESTDIR)$(libdir)/$(IMGLIBNAME) @ 1.6 log @DESTDIR and modular Xorg support. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.5 2006/01/22 11:11:34 wiz Exp $ d3 1 a3 1 --- src/Makefile.orig 2005-08-08 02:54:30.000000000 +0200 d5 1 a5 1 @@@@ -200,6 +200,10 @@@@ $(LIBNAME): $(OBJECTS) d11 1 a11 1 + $(CXX) -o $@@ $(OBJECTS:.o=.lo) -rpath $(prefix)/lib -version-info 1:6 $(LDLIBS) $DEBUGFLAG d16 1 a16 1 @@@@ -236,6 +240,10 @@@@ $(FLLIBNAME): $(FLOBJECTS) d22 1 a22 1 + $(CXX) -o $@@ $(FLOBJECTS:.o=.lo) -rpath $(prefix)/lib -version-info 1:6 $(LDLIBS) $DEBUGFLAG d27 1 a27 1 @@@@ -272,6 +280,10 @@@@ $(GLLIBNAME): $(GLOBJECTS) d33 1 a33 1 + $(CXX) -o $@@ $(GLOBJECTS:.o=.lo) -rpath $(prefix)/lib -version-info 1:6 $(LDLIBS) $DEBUGFLAG d38 1 a38 1 @@@@ -308,6 +320,10 @@@@ $(IMGLIBNAME): $(IMGOBJECTS) d44 1 a44 1 + $(CXX) -o $@@ $(IMGOBJECTS:.o=.lo) -rpath $(prefix)/lib -version-info 1:6 $(LDLIBS) $DEBUGFLAG d49 1 a49 1 @@@@ -477,6 +493,9 @@@@ install: $(LIBNAME) $(DSONAME) \ d54 1 a54 1 + $(INSTALL_LIB) libfltk.la $(DESTDIR)$(libdir); \ d58 4 a61 4 $(CP) libfltk.so.1.1 $(DESTDIR)$(libdir); \ @@@@ -500,6 +519,9 @@@@ install: $(LIBNAME) $(DSONAME) \ $(CP) libfltk_s.a $(DESTDIR)$(libdir); \ $(CHMOD) 755 $(DESTDIR)$(libdir)/libfltk_s.a; \ d64 1 a64 1 + $(INSTALL_LIB) libfltk_forms.la $(DESTDIR)$(libdir); \ d68 3 a70 3 $(CP) $(DSONAME) $(DESTDIR)$(bindir); \ @@@@ -522,6 +544,9 @@@@ install: $(LIBNAME) $(DSONAME) \ $(CHMOD) 755 $(DESTDIR)$(libdir)/libfltk_forms.so.1.1; \ d74 1 a74 1 + $(INSTALL_LIB) libfltk_gl.la $(DESTDIR)$(libdir); \ d78 4 a81 4 $(CP) libfltk_forms.sl.1.1 $(DESTDIR)$(libdir); \ @@@@ -594,6 +619,9 @@@@ install: $(LIBNAME) $(DSONAME) \ $(CP) libfltk_gl.dll.a $(DESTDIR)$(libdir); \ $(CHMOD) 755 $(DESTDIR)$(libdir)/libfltk_gl.dll.a; \ d84 1 a84 1 + $(INSTALL_LIB) libfltk_images.la $(DESTDIR)$(libdir); \ d88 1 a88 1 $(CP) libfltk_images.so.1.1 $(DESTDIR)$(libdir); \ @ 1.5 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-ag,v 1.4 2004/10/21 08:29:45 adam Exp $ d54 1 a54 1 + $(INSTALL_LIB) libfltk.la $(libdir); \ d64 1 a64 1 + $(INSTALL_LIB) libfltk_forms.la $(libdir); \ d74 1 a74 1 + $(INSTALL_LIB) libfltk_gl.la $(libdir); \ d84 1 a84 1 + $(INSTALL_LIB) libfltk_images.la $(libdir); \ @ 1.4 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 @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- src/Makefile.orig 2004-10-18 20:22:25.000000000 +0000 d5 1 a5 1 @@@@ -199,6 +199,10 @@@@ $(LIBNAME): $(OBJECTS) d16 1 a16 1 @@@@ -235,6 +239,10 @@@@ $(FLLIBNAME): $(FLOBJECTS) d27 1 a27 1 @@@@ -271,6 +279,10 @@@@ $(GLLIBNAME): $(GLOBJECTS) d38 1 a38 1 @@@@ -307,6 +319,10 @@@@ $(IMGLIBNAME): $(IMGOBJECTS) d48 2 a49 2 $(DSOCOMMAND) $@@ $(IMGOBJECTS) $(IMAGELIBS) -L. -lfltk @@@@ -429,6 +445,9 @@@@ install: $(LIBNAME) $(DSONAME) \ d59 1 a59 1 @@@@ -452,6 +471,9 @@@@ install: $(LIBNAME) $(DSONAME) \ d66 6 a71 6 if test x$(FLDSONAME) = xlibfltk_forms.so.1.1; then\ $(RM) $(DESTDIR)$(libdir)/libfltk_forms.so*;\ $(CP) libfltk_forms.so.1.1 $(DESTDIR)$(libdir); \ @@@@ -475,6 +497,9 @@@@ install: $(LIBNAME) $(DSONAME) \ $(CP) libfltk_forms_s.a $(DESTDIR)$(libdir); \ $(CHMOD) 755 $(DESTDIR)$(libdir)/libfltk_forms.a; \ d76 6 a81 6 if test x$(GLDSONAME) = xlibfltk_gl.so.1.1; then\ $(RM) $(DESTDIR)$(libdir)/libfltk_gl.so*;\ $(CP) libfltk_gl.so.1.1 $(DESTDIR)$(libdir); \ @@@@ -498,6 +523,9 @@@@ install: $(LIBNAME) $(DSONAME) \ $(CP) libfltk_gl_s.a $(DESTDIR)$(libdir); \ $(CHMOD) 755 $(DESTDIR)$(libdir)/libfltk_gl.a; \ @ 1.3 log @Update from FLTK 1.0.11 to FLTK 1.1.4. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.2 2002/11/25 18:58:37 jlam Exp $ d3 1 a3 1 --- src/Makefile.orig 2003-08-24 06:09:06.000000000 -0700 d5 1 a5 1 @@@@ -198,6 +198,10 @@@@ $(LIBNAME): $(OBJECTS) d16 1 a16 1 @@@@ -234,6 +238,10 @@@@ $(FLLIBNAME): $(FLOBJECTS) d27 1 a27 1 @@@@ -270,6 +278,10 @@@@ $(GLLIBNAME): $(GLOBJECTS) d38 1 a38 1 @@@@ -306,6 +318,10 @@@@ $(IMGLIBNAME): $(IMGOBJECTS) d49 2 a50 2 @@@@ -428,6 +444,9 @@@@ install: $(LIBNAME) $(DSONAME) \ $(RANLIB) $(libdir)/$(GLLIBNAME); \ d52 1 a52 1 $(RANLIB) $(libdir)/$(IMGLIBNAME) d57 5 a61 5 $(RM) $(libdir)/libfltk.so*;\ $(CP) libfltk.so.1.1 $(libdir); \ @@@@ -451,6 +470,9 @@@@ install: $(LIBNAME) $(DSONAME) \ $(CP) libfltk_s.a $(libdir); \ $(CHMOD) 755 $(libdir)/libfltk_s.a; \ d67 5 a71 5 $(RM) $(libdir)/libfltk_forms.so*;\ $(CP) libfltk_forms.so.1.1 $(libdir); \ @@@@ -474,6 +496,9 @@@@ install: $(LIBNAME) $(DSONAME) \ $(CP) libfltk_forms_s.a $(libdir); \ $(CHMOD) 755 $(libdir)/libfltk_forms.a; \ d77 5 a81 5 $(RM) $(libdir)/libfltk_gl.so*;\ $(CP) libfltk_gl.so.1.1 $(libdir); \ @@@@ -497,6 +522,9 @@@@ install: $(LIBNAME) $(DSONAME) \ $(CP) libfltk_gl_s.a $(libdir); \ $(CHMOD) 755 $(libdir)/libfltk_gl.a; \ d87 2 a88 2 $(RM) $(libdir)/libfltk_images.so*;\ $(CP) libfltk_images.so.1.1 $(libdir); \ @ 1.2 log @Bump PKGREVISION to on x11/fltk to 1: link the dependent libraries directly into libfltk.{la,so} so that we don't need to guess at which additional libraries will be needed to link into a program when linking against libfltk. Suggested in private email by Dave Sainty . @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- src/Makefile.orig Mon Jan 22 07:13:40 2001 d5 1 a5 13 @@@@ -148,17 +148,18 @@@@ CLEAN = include ../makeinclude -LIBRARY = ../lib/$(LIBNAME) - OBJECTS = $(CPPFILES:.cxx=.o) $(CFILES:.c=.o) all: $(LIBRARY) $(DSONAME) -$(LIBRARY): $(OBJECTS) +../lib/libfltk.a: $(OBJECTS) echo $(LIBCOMMAND) $@@ ... d10 2 a11 1 + $(CXX) -o $@@ $(OBJECTS:.o=.lo) -rpath $(prefix)/lib -version-info 1:5 $(LDLIBS) d13 1 a13 1 libfltk.so.1 libfltk.sl.1: $(OBJECTS) d16 3 a18 1 @@@@ -174,11 +175,13 @@@@ include makedepend d20 10 a29 1 ################################################################ d31 3 a33 2 -install: $(LIBRARY) $(DSONAME) +install: install-lib install-includes d35 16 a50 12 +install-lib: $(LIBRARY) $(DSONAME) echo "Installing libraries..." -mkdir -p $(libdir) rm -f $(libdir)/$(LIBNAME) - -cp $(LIBRARY) $(libdir) + -$(INSTALL_LIB) $(LIBRARY) $(libdir) -chmod 644 $(libdir)/$(LIBNAME) if test "$(DSONAME)" = libfltk.so.1; then\ rm -f $(libdir)/libfltk.so*;\ @@@@ -192,11 +195,13 @@@@ install: $(LIBRARY) $(DSONAME) chmod 755 $(libdir)/libfltk.sl.1; \ ln -s libfltk.sl.1 $(libdir)/libfltk.sl;\ d52 37 a88 11 + +install-includes: echo "Installing include files..." -mkdir -p $(includedir) rm -rf $(includedir)/FL mkdir $(includedir)/FL - cp ../FL/*.[hH] $(includedir)/FL + $(INSTALL_DATA) ../FL/*.[hH] $(includedir)/FL -chmod 755 $(includedir)/FL -chmod 644 $(includedir)/FL/* cd $(includedir)/FL;\ @ 1.1 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 --- src/Makefile.orig Mon Jan 22 10:13:40 2001 d5 1 a5 1 @@@@ -148,17 +148,18 @@@@ d22 1 a22 1 + $(CXX) -o $@@ $(OBJECTS:.o=.lo) -rpath $(prefix)/lib -version-info 1:5 d27 1 a27 1 @@@@ -174,11 +175,13 @@@@ d43 1 a43 1 @@@@ -192,11 +195,13 @@@@ @