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.5.0.26
	pkgsrc-2008Q3-base:1.5
	cube-native-xorg:1.5.0.24
	cube-native-xorg-base:1.5
	pkgsrc-2008Q2:1.5.0.22
	pkgsrc-2008Q2-base:1.5
	cwrapper:1.5.0.20
	pkgsrc-2008Q1:1.5.0.18
	pkgsrc-2008Q1-base:1.5
	pkgsrc-2007Q4:1.5.0.16
	pkgsrc-2007Q4-base:1.5
	pkgsrc-2007Q3:1.5.0.14
	pkgsrc-2007Q3-base:1.5
	pkgsrc-2007Q2:1.5.0.12
	pkgsrc-2007Q2-base:1.5
	pkgsrc-2007Q1:1.5.0.10
	pkgsrc-2007Q1-base:1.5
	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.10
	pkgsrc-2003Q4-base:1.2
	netbsd-1-6-1:1.2.0.6
	netbsd-1-6-1-base:1.2
	netbsd-1-6:1.2.0.8
	netbsd-1-6-RELEASE-base:1.2
	pkgviews:1.2.0.4
	pkgviews-base:1.2
	buildlink2:1.2.0.2
	buildlink2-base:1.2
	netbsd-1-5-PATCH003:1.2
	netbsd-1-5-PATCH001:1.1
	netbsd-1-5-RELEASE:1.1
	netbsd-1-4-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.16.07.13.37;	author dsainty;	state Exp;
branches;
next	1.6;

1.6
date	2008.11.10.19.03.15;	author adam;	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	2001.05.26.06.37.46;	author jlam;	state Exp;
branches;
next	1.1;

1.1
date	2000.08.28.13.38.57;	author wiz;	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 '<config.h>'
  - 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-ae,v 1.8 2010/04/09 13:35:42 obache Exp $

--- fluid/Makefile.orig	2008-12-29 20:21:29.000000000 +0000
+++ fluid/Makefile
@@@@ -57,7 +57,7 @@@@ all:	$(FLUID) fluid$(EXEEXT)
 fluid$(EXEEXT):		$(OBJECTS) $(LIBNAME) $(FLLIBNAME) \
 			$(IMGLIBNAME)
 	echo Linking $@@...
-	$(CXX) $(ARCHFLAGS) $(LDFLAGS) -o $@@ $(OBJECTS) $(LINKFLTKFORMS) $(LINKFLTKIMG) $(LDLIBS)
+	${LIBTOOL} --mode=link $(CXX) $(ARCHFLAGS) $(LDFLAGS) -o $@@ $(OBJECTS:.o=.lo) $(LINKFLTKFORMS) $(LINKFLTKIMG) $(LDLIBS)
 	$(OSX_ONLY) $(INSTALL_BIN) fluid fluid.app/Contents/MacOS
 	$(POSTBUILD) $@@ ../FL/mac.r
 
@@@@ -81,7 +81,7 @@@@ include makedepend
 install: all
 	echo "Installing FLUID in $(DESTDIR)$(bindir)..."
 	-$(INSTALL_DIR) $(DESTDIR)$(bindir)
-	$(INSTALL_BIN) $(FLUID) $(DESTDIR)$(bindir)/fluid$(EXEEXT)
+	${LIBTOOL} --mode=install $(INSTALL_BIN) $(FLUID) $(DESTDIR)$(bindir)/fluid$(EXEEXT)
 
 install-linux:
 	-$(INSTALL_DIR) $(DESTDIR)/usr/share/applications
@


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-ae,v 1.7 2008/11/16 07:13:37 dsainty Exp $
@


1.7
log
@Complete the libtoolisation of 'fluid' so it installs the real executable,
not the libtool wrapper.

Bump PKGREVISION, the previous revision installed an unusable "fluid".
@
text
@d1 1
a1 1
$NetBSD: patch-ae,v 1.6 2008/11/10 19:03:15 adam Exp $
d3 5
a7 5
--- fluid/Makefile.orig	2008-02-27 04:26:08.000000000 +1300
+++ fluid/Makefile	2008-11-16 19:22:46.000000000 +1300
@@@@ -57,7 +57,7 @@@@
 fluid$(EXEEXT):		$(OBJECTS) ../lib/$(LIBNAME) ../lib/$(FLLIBNAME) \
 			../lib/$(IMGLIBNAME)
d14 1
a14 1
@@@@ -81,7 +81,7 @@@@
@


1.6
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 3
a5 3
--- fluid/Makefile.orig	2008-11-10 17:29:24.000000000 +0100
+++ fluid/Makefile
@@@@ -57,7 +57,7 @@@@ all:	$(FLUID) fluid$(EXEEXT)
d14 9
@


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-ae,v 1.4 2004/10/21 08:29:45 adam Exp $
d3 1
a3 1
--- fluid/Makefile.orig	2006-01-15 20:26:08.000000000 +0100
d5 9
a13 9
@@@@ -80,7 +80,7 @@@@ include makedepend
 install: all
 	echo "Installing FLUID in $(DESTDIR)$(bindir)..."
 	-$(MKDIR) $(DESTDIR)$(bindir)
-	$(CP) $(FLUID) $(DESTDIR)$(bindir)/fluid$(EXEEXT)
+	$(INSTALL_BIN) $(FLUID) $(DESTDIR)$(bindir)/fluid$(EXEEXT)
 	$(STRIP) $(DESTDIR)$(bindir)/fluid$(EXEEXT)
 	$(DESTDIR)$(bindir)/fltk-config --post $(DESTDIR)$(bindir)/fluid$(EXEEXT)
 	$(CHMOD) 755 $(DESTDIR)$(bindir)/fluid$(EXEEXT)
@


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
--- fluid/Makefile.orig	2004-10-18 20:22:22.000000000 +0000
d5 1
a5 1
@@@@ -75,7 +75,7 @@@@ include makedepend
@


1.3
log
@Update from FLTK 1.0.11 to FLTK 1.1.4.
@
text
@d1 1
a1 1
$NetBSD: patch-ae,v 1.2 2001/05/26 06:37:46 jlam Exp $
d3 1
a3 1
--- fluid/Makefile.orig	2003-08-02 14:17:30.000000000 -0700
d7 7
a13 7
 	echo "Installing FLUID in $(bindir)..."
 	-$(MKDIR) $(bindir)
-	$(CP) $(FLUID) $(bindir)/fluid$(EXEEXT)
+	$(INSTALL_BIN) $(FLUID) $(bindir)/fluid$(EXEEXT)
 	$(STRIP) $(bindir)/fluid$(EXEEXT)
 	$(bindir)/fltk-config --post $(bindir)/fluid$(EXEEXT)
 	$(CHMOD) 755 $(bindir)/fluid$(EXEEXT)
@


1.2
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
@d1 1
a1 1
$NetBSD$
d3 1
a3 1
--- fluid/Makefile.orig	Mon Jan 22 10:13:38 2001
d5 9
a13 24
@@@@ -49,9 +49,9 @@@@
 
 include ../makeinclude
 
-$(PROGRAM) : $(OBJECTS) ../lib/$(LIBNAME)
+$(PROGRAM) : $(OBJECTS) $(LIBFLTK)
 	echo Linking $@@...
-	$(CXX) -L../lib $(LDFLAGS) -o $(PROGRAM) $(OBJECTS) -lfltk $(LDLIBS)
+	$(CXX) $(LDFLAGS) -o $(PROGRAM) $(OBJECTS) $(LINKFLTK) $(LDLIBS)
 
 clean :
 	-@@ rm -f *.o $(PROGRAM) $(CLEAN) core *~ makedepend
@@@@ -63,9 +63,9 @@@@
 
 install: $(PROGRAM)
 	echo "Installing FLUID..."
-	strip $(PROGRAM)
 	-mkdir -p $(bindir)
-	cp $(PROGRAM) $(bindir)/$(PROGRAM)
+	$(INSTALL_BIN) $(PROGRAM) $(bindir)/$(PROGRAM)
+	strip $(bindir)/$(PROGRAM)
 	chmod 755 $(bindir)/$(PROGRAM)
 
 uninstall:
@


1.1
log
@Don't install manually, modify program's Makefile to install in the correct
location (fixes double installation of docs found in latest bulk build).
@
text
@d3 3
a5 4
--- documentation/Makefile.orig	Mon Jun  5 23:20:35 2000
+++ documentation/Makefile
@@@@ -128,10 +128,9 @@@@
 depend:
d7 1
a7 8
 install:
-	-mkdir -p $(prefix)/share/doc/fltk
-	cp -f $(HTMLFILES) index.html $(prefix)/share/doc/fltk
-	cp -f *.gif *.jpg $(prefix)/share/doc/fltk
-	chmod 644 $(prefix)/share/doc/fltk/*
+	-${INSTALL_DATA_DIR} $(prefix)/share/doc/html/fltk
+	${INSTALL_DATA} $(HTMLFILES) index.html $(prefix)/share/doc/html/fltk
+	${INSTALL_DATA} *.gif *.jpg $(prefix)/share/doc/html/fltk
d9 20
a28 2
 fltk.d/index.html: $(HTMLFILES)
 	echo "Generating HTML documentation..."
@

