mirror of https://github.com/fltk/fltk
Update packaging files.
Remove --post code from fltk-config (--post is now ignore on all platforms) Remove outdated information from README.mac. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5664 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
44b2ff35cf
commit
31e948ed4b
47
README.mac
47
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
|
CONTENTS
|
||||||
|
@ -29,49 +29,6 @@ HOW TO BUILD USING GCC (MacOS X)
|
||||||
BSD UNIX, the normal UNIX build procedure as described in
|
BSD UNIX, the normal UNIX build procedure as described in
|
||||||
'README' applies.
|
'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
|
KNOWN MacFLTK BUGS
|
||||||
|
|
||||||
|
@ -80,9 +37,7 @@ KNOWN MacFLTK BUGS
|
||||||
|
|
||||||
- Line styles are not fully implemented.
|
- Line styles are not fully implemented.
|
||||||
- Sub-sub-subwindow not tested.
|
- Sub-sub-subwindow not tested.
|
||||||
- Image transparency is implemented as "screen-door" only
|
|
||||||
- The 'shiny' demo needs work (flush/aglFlush).
|
- The 'shiny' demo needs work (flush/aglFlush).
|
||||||
- OpenGL subwindow during window resize changes position
|
|
||||||
|
|
||||||
|
|
||||||
TEST SUITE STATUS
|
TEST SUITE STATUS
|
||||||
|
|
|
@ -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
|
.SH NAME
|
||||||
fltk-config \- script to get information about the installed version of fltk.
|
fltk-config \- script to get information about the installed version of fltk.
|
||||||
.sp
|
.sp
|
||||||
|
@ -12,8 +12,6 @@ fltk-config [ --prefix
|
||||||
[ --cflags ] [ --cxxflags ] [ --ldflags ] [ --ldstaticflags ] [ --libs ]
|
[ --cflags ] [ --cxxflags ] [ --ldflags ] [ --ldstaticflags ] [ --libs ]
|
||||||
[ -D\fIname[=value]\fR ] [ -g ] [ --compile
|
[ -D\fIname[=value]\fR ] [ -g ] [ --compile
|
||||||
.I program.cxx
|
.I program.cxx
|
||||||
] [ --post
|
|
||||||
.I program
|
|
||||||
]
|
]
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
\fIfltk-config\fR is a utility script that can be used to get information
|
\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
|
Displays the full path to the FLTK library files, to be used for
|
||||||
dependency checking.
|
dependency checking.
|
||||||
.TP 5
|
.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
|
--use-gl
|
||||||
.br
|
.br
|
||||||
Enables OpenGL support.
|
Enables OpenGL support.
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
#
|
#
|
||||||
# FLTK configuration utility.
|
# 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
|
# Original version Copyright 2000 by James Dean Palmer
|
||||||
# Adapted by Vincent Penne and Michael Sweet
|
# 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
|
$CXX $ARCHFLAGS $includes $CXXFLAGS $debug -o $prog $compile $LDSTATIC
|
||||||
fi
|
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
|
if test "$echo_cflags" = "yes"; then
|
||||||
echo $includes $CFLAGS
|
echo $includes $CFLAGS
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
#
|
#
|
||||||
# (EPM can be found at http://www.easysw.com/epm/)
|
# (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
|
# This library is free software; you can redistribute it and/or
|
||||||
# modify it under the terms of the GNU Library General Public
|
# modify it under the terms of the GNU Library General Public
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
%product Fast Light Tool Kit (FLTK)
|
%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
|
%vendor FLTK Development Team
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%readme README
|
%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.
|
%description dynamically linked applications.
|
||||||
|
|
||||||
%system darwin
|
%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
|
l 0444 root sys /usr/include/gcc/darwin/3.1/g++-v3/FL $includedir/FL
|
||||||
|
|
||||||
d 0555 root sys /Applications/fluid.app -
|
d 0555 root sys /Applications/fluid.app -
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
# RPM spec file for FLTK.
|
# 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
|
# This library is free software; you can redistribute it and/or
|
||||||
# modify it under the terms of the GNU Library General Public
|
# modify it under the terms of the GNU Library General Public
|
||||||
|
@ -25,8 +25,8 @@
|
||||||
# http://www.fltk.org/str.php
|
# http://www.fltk.org/str.php
|
||||||
#
|
#
|
||||||
|
|
||||||
%define version @VERSION@
|
%define version @FL_MAJOR_VERSION@.@FL_MINOR_VERSION@.@FL_PATCH_VERSION@
|
||||||
%define release @RELEASE@
|
%define release 1
|
||||||
%define prefix /usr
|
%define prefix /usr
|
||||||
|
|
||||||
Summary: Fast Light Tool Kit (FLTK)
|
Summary: Fast Light Tool Kit (FLTK)
|
||||||
|
@ -62,7 +62,7 @@ Summary: FLTK Games
|
||||||
Group: Games
|
Group: Games
|
||||||
|
|
||||||
%description 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
|
%prep
|
||||||
%setup
|
%setup
|
||||||
|
|
Loading…
Reference in New Issue