summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.mac47
-rw-r--r--documentation/fltk-config.man9
-rwxr-xr-xfltk-config.in7
-rw-r--r--fltk.list.in5
-rw-r--r--fltk.spec.in8
5 files changed, 9 insertions, 67 deletions
diff --git a/README.mac b/README.mac
index 0b5c1cc21..ab042c427 100644
--- a/README.mac
+++ b/README.mac
@@ -1,4 +1,4 @@
-README.mac - 10/03/2002 - Building FLTK under MacOS X
+README.mac - 2007-02-06 - Building FLTK under MacOS X
-----------------------------------------------------
CONTENTS
@@ -29,49 +29,6 @@ HOW TO BUILD USING GCC (MacOS X)
BSD UNIX, the normal UNIX build procedure as described in
'README' applies.
- A 'resource fork' will be attached to applications to make
- them visible in the Finder. The default resource file is
- "FL/mac.r".
-
- The "fltk-config" script can be used to attach the FLTK
- resource fork to an executable using the "--post" option:
-
- fltk-config --post foo
-
- where "foo" is the name of the executable.
-
- To attach your own resource fork to your FLTK program, run
- the "Rez" command:
-
- Rez -t APPL foo.r -o foo
-
-
-SCRIPTS
-
- When using Finder applications on source files (e.g.
- FileMerge), I found the following script very useful. It adds
- resource forks to all text files:
-
- #!/bin/tcsh
- setenv SET_MAC_TYPE "SetFile -t TEXT -c ttxt "
- setenv F1MAC_N 7
- echo "Setting Mac File Types. Please wait..."
- echo "[1/"$F1MAC_N"]"
- find . -name '*.H' -exec $SET_MAC_TYPE {} \;
- echo "[2/"$F1MAC_N"]"
- find . -name '*.h' -exec $SET_MAC_TYPE {} \;
- echo "[3/"$F1MAC_N"]"
- find . -name '*.c' -exec $SET_MAC_TYPE {} \;
- echo "[4/"$F1MAC_N"]"
- find . -name '*.cxx' -exec $SET_MAC_TYPE {} \;
- echo "[5/"$F1MAC_N"]"
- find . -name '*.fl' -exec $SET_MAC_TYPE {} \;
- echo "[6/"$F1MAC_N"]"
- find . -name 'make*' -exec $SET_MAC_TYPE {} \;
- echo "[7/"$F1MAC_N"]"
- find . -name 'Make*' -exec $SET_MAC_TYPE {} \;
- echo "done."
-
KNOWN MacFLTK BUGS
@@ -80,9 +37,7 @@ KNOWN MacFLTK BUGS
- Line styles are not fully implemented.
- Sub-sub-subwindow not tested.
- - Image transparency is implemented as "screen-door" only
- The 'shiny' demo needs work (flush/aglFlush).
- - OpenGL subwindow during window resize changes position
TEST SUITE STATUS
diff --git a/documentation/fltk-config.man b/documentation/fltk-config.man
index dbe6d4bd2..b7788710b 100644
--- a/documentation/fltk-config.man
+++ b/documentation/fltk-config.man
@@ -1,4 +1,4 @@
-.TH fltk-config 1 "Fast Light Tool Kit" "24 September 2006"
+.TH fltk-config 1 "Fast Light Tool Kit" "6 February 2007"
.SH NAME
fltk-config \- script to get information about the installed version of fltk.
.sp
@@ -12,8 +12,6 @@ fltk-config [ --prefix
[ --cflags ] [ --cxxflags ] [ --ldflags ] [ --ldstaticflags ] [ --libs ]
[ -D\fIname[=value]\fR ] [ -g ] [ --compile
.I program.cxx
-] [ --post
-.I program
]
.SH DESCRIPTION
\fIfltk-config\fR is a utility script that can be used to get information
@@ -65,11 +63,6 @@ application to the static FLTK libraries.
Displays the full path to the FLTK library files, to be used for
dependency checking.
.TP 5
---post \fIprogram\fR
-.br
-Binds the default FLTK resource fork to a program under MacOS.
-Does nothing on other operating systems.
-.TP 5
--use-gl
.br
Enables OpenGL support.
diff --git a/fltk-config.in b/fltk-config.in
index 37eb6a069..a814cd33e 100755
--- a/fltk-config.in
+++ b/fltk-config.in
@@ -4,7 +4,7 @@
#
# FLTK configuration utility.
#
-# Copyright 2000-2006 by Bill Spitzak and others.
+# Copyright 2000-2007 by Bill Spitzak and others.
# Original version Copyright 2000 by James Dean Palmer
# Adapted by Vincent Penne and Michael Sweet
#
@@ -271,11 +271,6 @@ if test -n "$compile"; then
$CXX $ARCHFLAGS $includes $CXXFLAGS $debug -o $prog $compile $LDSTATIC
fi
-#if test -n "$post" -a "$POSTBUILD" != ":"; then
-# echo $POSTBUILD $post $includedir/FL/mac.r
-# $POSTBUILD $post $includedir/FL/mac.r
-#fi
-
if test "$echo_cflags" = "yes"; then
echo $includes $CFLAGS
fi
diff --git a/fltk.list.in b/fltk.list.in
index 9b73f72fc..bb488925e 100644
--- a/fltk.list.in
+++ b/fltk.list.in
@@ -5,7 +5,7 @@
#
# (EPM can be found at http://www.easysw.com/epm/)
#
-# Copyright 1998-2006 by Bill Spitzak and others.
+# Copyright 1998-2007 by Bill Spitzak and others.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
@@ -28,7 +28,7 @@
#
%product Fast Light Tool Kit (FLTK)
-%copyright 1998-2006 by Bill Spitzak and others.
+%copyright 1998-2007 by Bill Spitzak and others.
%vendor FLTK Development Team
%license COPYING
%readme README
@@ -114,7 +114,6 @@ f 0555 root sys $libdir/libfltk_gl.so.@FL_API_VERSION@ src/libfltk_gl.so.@FL_API
%description dynamically linked applications.
%system darwin
-f 0444 root sys $includedir/FL/mac.r FL/mac.r
l 0444 root sys /usr/include/gcc/darwin/3.1/g++-v3/FL $includedir/FL
d 0555 root sys /Applications/fluid.app -
diff --git a/fltk.spec.in b/fltk.spec.in
index 0fe849567..83d94284f 100644
--- a/fltk.spec.in
+++ b/fltk.spec.in
@@ -3,7 +3,7 @@
#
# RPM spec file for FLTK.
#
-# Copyright 1998-2006 by Bill Spitzak and others.
+# Copyright 1998-2007 by Bill Spitzak and others.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
@@ -25,8 +25,8 @@
# http://www.fltk.org/str.php
#
-%define version @VERSION@
-%define release @RELEASE@
+%define version @FL_MAJOR_VERSION@.@FL_MINOR_VERSION@.@FL_PATCH_VERSION@
+%define release 1
%define prefix /usr
Summary: Fast Light Tool Kit (FLTK)
@@ -62,7 +62,7 @@ Summary: FLTK Games
Group: Games
%description games
-Install fltk-games to play Block Attack!, checkers, or Sudoku on your computer.
+Install fltk-games to play Block Attack!, Checkers, or Sudoku on your computer.
%prep
%setup