• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

doc/H03-May-2022-717508

tclconfig/H03-May-2022-5,6934,895

unix/H16-Aug-2019-18765

.gitignoreH A D16-Aug-2019142 1312

.travis.ymlH A D16-Aug-2019570 2015

ChangeLogH A D16-Aug-20193.6 KiB11166

LICENSEH A D16-Aug-20191.5 KiB3023

Makefile.inH A D16-Aug-201916.9 KiB476237

READMEH A D16-Aug-20193.6 KiB11382

README.DebianH A D16-Aug-2019107 76

README.FreeBSDH A D16-Aug-2019163 75

README.MacOSXH A D16-Aug-201977 21

README.mdH A D16-Aug-20192.5 KiB4528

aclocal.m4H A D16-Aug-2019498 2519

configure.inH A D16-Aug-20198.7 KiB22653

license.termsH A D16-Aug-20192.1 KiB4035

pkgIndex.tcl.inH A D16-Aug-2019140 65

tcllauncher-support.tcl.inH A D16-Aug-20196 KiB293227

tcllauncher.tclH A D16-Aug-20192.1 KiB8134

README

1This is tcllauncher, a launcher program for Tcl applications.
2
3This package is a freely available open source package.  You can do
4virtually anything you like with it, such as modifying it, redistributing
5it, and selling it either in whole or in part.  See the file
6"license.terms" for complete information.
7
8
9CONTENTS
10========
11The following is a short description of the files you will find in
12the sample extension.
13
14Makefile.in	Makefile template.  The configure script uses this file to
15		produce the final Makefile.
16
17README		This file
18
19aclocal.m4	Generated file.  Do not edit.  Autoconf uses this as input
20		when generating the final configure script.  See "tcl.m4"
21		below.
22
23configure	Generated file.  Do not edit.  This must be regenerated
24		anytime configure.in or tclconfig/tcl.m4 changes.
25
26configure.in	Configure script template.  Autoconf uses this file as input
27		to produce the final configure script.
28
29pkgIndex.tcl.in Package index template.  The configure script will use
30		this file as input to create pkgIndex.tcl.
31
32launcher.c	Nothing.
33
34launcher.h	Nothing.
35
36tcllauncher.c	Nothing.
37
38tclAppInit.c	A slightly modified copy of TclAppInit.c from the Tcl
39                source code.
40
41tclconfig/	This directory contains various template files that build
42		the configure script.  They should not need modification.
43
44	install-sh	Program used for copying binaries and script files
45			to their install locations.
46
47	tcl.m4		Collection of Tcl autoconf macros.  Included by
48			aclocal.m4 to define SC_* macros.
49
50UNIX BUILD
51==========
52
53Building under most UNIX systems is easy, just run the configure script
54and then run make. For more information about the build process, see
55the tcl/unix/README file in the Tcl src dist. The following minimal
56example will install the extension in the /opt/tcl directory.
57
58	$ cd tcllauncher
59	$ autoconf
60	$ ./configure --prefix=/opt/tcl
61	$ make
62	$ make install
63
64HINT
65====
66
67Beware it building against the source dirs instead of installed dirs and
68then not being able to find stuff.  If, for instace, you're building in
69/usr/fa, use something like
70
71./configure --prefix=/usr/fa --with-tcl=/usr/fa/lib
72
73The --with-tcl is important!  Otherwise it will probably find the Tcl
74source in a parallel directory and build against that instead and
75cause problems later.
76
77WINDOWS BUILD
78=============
79
80The recommended method to build extensions under windows is to use the
81Msys + Mingw build process. This provides a Unix-style build while
82generating native Windows binaries. Using the Msys + Mingw build tools
83means that you can use the same configure script as per the Unix build
84to create a Makefile. See the tcl/win/README file for the URL of
85the Msys + Mingw download.
86
87If you have VC++ then you may wish to use the files in the win
88subdirectory and build the extension using just VC++. These files have
89been designed to be as generic as possible but will require some
90additional maintenance by the project developer to synchronise with
91the TEA configure.in and Makefile.in files. Instructions for using the
92VC++ makefile are written in the first part of the Makefile.vc
93file.
94
95INSTALLATION
96============
97
98The installation of a TEA package is structure like so:
99
100         $exec_prefix
101          /       \
102        lib       bin
103         |         |
104   PACKAGEx.y   (dependent .dll files on Windows)
105         |
106  pkgIndex.tcl (.so|.dll files)
107
108The main .so|.dll library file gets installed in the versioned PACKAGE
109directory, which is OK on all platforms because it will be directly
110referenced with by 'load' in the pkgIndex.tcl file.  Dependent DLL files on
111Windows must go in the bin directory (or other directory on the user's
112PATH) in order for them to be found.
113

README.Debian

1#
2# tcllauncher configure command for Debain
3#
4# --enable-symbols
5#
6./configure --with-tcl=/usr/lib/tcl8.6
7

README.FreeBSD

1#
2# configure arguments for FreeBSD machines with standard, ports-installed tcl86
3#
4
5autoconf
6./configure --with-tcl=/usr/local/lib/tcl8.6 --mandir=/usr/local/man
7

README.MacOSX

1./configure --with-tcl=/usr/lib --prefix=/usr/local --exec-prefix=/usr/local
2

README.md

1# tcllauncher, a launcher program for Tcl applications.
2
3tcllauncher is a way to have Tcl programs run out of /usr/local/bin under their own name, be installed in one place with their support files, and provides commands to facilitate server-oriented application execution.
4
5While there is another wrapper system that also does this, that system produces a single executable that contains all the code and support files within a built-in virtual filesystem wrapped inside the executable. Tcllauncher keeps the support files distinct, typically in a subdirectory of /usr/local/lib that's named after the application.
6
7This package is a freely available open source released under the liberal Berkeley copyright.  You can do virtually anything you like with it, such as modifying it, redistributing it, and selling it either in whole or in part.  See the file "license.terms" for complete information.
8
9## UNIX Build
10
11Building under most UNIX systems is easy, just run the configure script and then run make. For more information about the build process, see the tcl/unix/README file in the Tcl src dist. The following minimal example will install the extension in the /opt/tcl directory.
12
13	$ cd tcllauncher
14	$ autoconf
15	$ ./configure --prefix=/opt/tcl
16	$ make
17	$ make install
18
19## Hint
20
21Beware it building against the source dirs instead of installed dirs and then not being able to find stuff.  If, for instace, you're building in /usr/fa, use something like
22
23./configure --prefix=/usr/fa --with-tcl=/usr/fa/lib
24
25The --with-tcl is important!  Otherwise it will probably find the Tcl source in a parallel directory and build against that instead and cause problems later.
26
27## Installation
28
29The installation of a TEA package is structure like so:
30
31         $exec_prefix
32          /       \
33        lib       bin
34         |         |
35   PACKAGEx.y   (dependent .dll files on Windows)
36         |
37  pkgIndex.tcl (.so|.dll files)
38
39The main .so|.dll library file gets installed in the versioned PACKAGE directory, which is OK on all platforms because it will be directly referenced with by 'load' in the pkgIndex.tcl file.  Dependent DLL files on Windows must go in the bin directory (or other directory on the user's PATH) in order for them to be found.
40
41FlightAware
42---
43FlightAware has released over a dozen applications  (under the free and liberal BSD license) into the open source community. FlightAware's repositories are available on GitHub for public use, discussion, bug reports, and contribution. Read more at https://flightaware.com/about/code/
44
45