Skip to content
Commits on Source (491)
language: c
sudo: false
env:
global:
- KITS=$HOME/kits
branches:
only:
- master
- 2.2
- 2.3
matrix:
include:
# ----------------------------
- os: linux
dist: xenial
compiler: clang
env: TCLTAG=core-8-branch
- os: linux
dist: xenial
compiler: gcc-7
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
env: TCLTAG=core-8-branch
- os: osx
osx_image: xcode11.3
compiler: clang
env: TCLTAG=core-8-branch
- os: osx
osx_image: xcode11.3
compiler: gcc-9
env: TCLTAG=core-8-branch
# ----------------------------
- os: linux
dist: xenial
compiler: clang
env: TCLTAG=core-8-7-a3
- os: linux
dist: xenial
compiler: gcc-7
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
env: TCLTAG=core-8-7-a3
- os: osx
osx_image: xcode11.3
compiler: clang
env: TCLTAG=core-8-7-a3
- os: osx
osx_image: xcode11.3
compiler: gcc-9
env: TCLTAG=core-8-7-a3
# ----------------------------
- os: linux
dist: xenial
compiler: clang
env: TCLTAG=core-8-5-19
- os: linux
dist: xenial
compiler: gcc-7
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
env: TCLTAG=core-8-5-19
- os: osx
osx_image: xcode11.3
compiler: clang
env: TCLTAG=core-8-5-19
- os: osx
osx_image: xcode11.3
compiler: gcc-9
env:
- TCLTAG=core-8-5-19
# ----------------------------
- os: linux
dist: xenial
compiler: clang
env: TCLTAG=core-8-5-branch
- os: linux
dist: xenial
compiler: gcc-7
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
env: TCLTAG=core-8-5-branch
- os: osx
osx_image: xcode11.3
compiler: clang
env: TCLTAG=core-8-5-branch
- os: osx
osx_image: xcode11.3
compiler: gcc-9
env:
- TCLTAG=core-8-5-branch
# ----------------------------
- os: linux
dist: xenial
compiler: clang
env: TCLTAG=core-8-6-10
- os: linux
dist: xenial
compiler: gcc-7
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
env: TCLTAG=core-8-6-10
- os: osx
osx_image: xcode11.3
compiler: clang
env: TCLTAG=core-8-6-10
- os: osx
osx_image: xcode11.3
compiler: gcc-9
env:
- TCLTAG=core-8-6-10
# ----------------------------
- os: linux
dist: xenial
compiler: clang
env: TCLTAG=core-8-6-branch
- os: linux
dist: xenial
compiler: gcc-7
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
env: TCLTAG=core-8-6-branch
- os: osx
osx_image: xcode11.3
compiler: clang
env: TCLTAG=core-8-6-branch
- os: osx
osx_image: xcode11.3
compiler: gcc-9
env: TCLTAG=core-8-6-branch
allow_failures:
- env: TCLTAG=core-8-6-branch
- env: TCLTAG=core-8-5-branch
- env: TCLTAG=core-8-branch
fast_finish: true
cache:
directories:
- "$KITS"
before_install:
- openssl aes-256-cbc -K $encrypted_8d1065ce6623_key -iv $encrypted_8d1065ce6623_iv -in deploy_key.enc -out ./deploy_key -d
- chmod 600 ./deploy_key
- if echo "$TRAVIS_COMMIT_MESSAGE" | grep -F -q "[skip travis]" ; then echo "[skip
travis] has been found, exiting" && exit 0 ; else echo "[skip travis] has not been
found, continuing" ; fi
install:
- mkdir -p $KITS
- if [ $TRAVIS_OS_NAME = linux ]; then URL=http://kitcreator.rkeene.org/kits/c8fe6fba3323b12b924b4a0716609abbaa00822c/tclkit;
else URL=http://kitcreator.rkeene.org/kits/31eaf9ae17e769609700b41d1d3c9abeda27510d/tclkit;
fi
- if [ ! -f ${KITS}/tclkit.$TRAVIS_OS_NAME ]; then wget -O ${KITS}/tclkit.$TRAVIS_OS_NAME
$URL && chmod +x ${KITS}/tclkit.$TRAVIS_OS_NAME; fi
script:
# - python3 -c 'import os,sys; os.set_blocking(sys.stdout.fileno(), True)'
- python2 -c 'import os,sys,fcntl; flags = fcntl.fcntl(sys.stdout, fcntl.F_GETFL); fcntl.fcntl(sys.stdout, fcntl.F_SETFL, flags&~os.O_NONBLOCK);'
- $KITS/tclkit.$TRAVIS_OS_NAME apps/build.tcl $HOME $TRAVIS_BUILD_DIR $TCLTAG
after_success:
- TARBALL="nsf_${TRAVIS_BRANCH}_${TCLTAG}_${TRAVIS_OS_NAME}_${CC}_$(date "+%Y%m%d")_${TRAVIS_BUILD_NUMBER}.tgz"
- if [ -d $HOME/install ]; then tar -C $HOME/install -czf $TARBALL . && scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ./deploy_key $TARBALL sobernig@alice.wu.ac.at:/home/sobernig/builds; fi
2.3.0-248-ge733b10d-dirty
/*
* Next Scripting Framework
*
* Copyright (C) 1999-2014 Gustaf Neumann (a) (b)
* Copyright (C) 1999-2007 Uwe Zdun (a) (b)
* Copyright (C) 2007-2008 Martin Matuska (b)
* Copyright (C) 2010-2014 Stefan Sobernig (b)
*
*
* (a) University of Essen
* Specification of Software Systems
* Altendorferstrasse 97-101
* D-45143 Essen, Germany
*
* (b) Vienna University of Economics and Business
* Institute of Information Systems and New Media
* A-1090, Augasse 2-6
* Vienna, Austria
*
* This work is licensed under the MIT License
* http://www.opensource.org/licenses/MIT
*
* Copyright:
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*
*
* This software is based upon MIT Object Tcl by David Wetherall and
* Christopher J. Lindblad, that contains the following copyright
* message:
*
* "Copyright 1993 Massachusetts Institute of Technology
*
* Permission to use, copy, modify, distribute, and sell this
* software and its documentation for any purpose is hereby granted
* without fee, provided that the above copyright notice appear in
* all copies and that both that copyright notice and this
* permission notice appear in supporting documentation, and that
* the name of M.I.T. not be used in advertising or publicity
* pertaining to distribution of the software without specific,
* written prior permission. M.I.T. makes no representations about
* the suitability of this software for any purpose. It is
* provided "as is" without express or implied warranty."
*/
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
***************
*** 708,717 ****
#========================================================================
pkgIndex.tcl: $(PKG_LIB_FILE)
- @echo package ifneeded nsf $(PACKAGE_VERSION) \"load [list [file join \$$dir . $(PKG_LIB_FILE)] Nsf]\; package provide nsf $(PACKAGE_VERSION)\" > pkgIndex.tcl
install-pkgIndex:
- # @echo package ifneeded nsf $(PACKAGE_VERSION) [list load [file join \$$dir .. "$(PKG_LIB_FILE)"] Nsf] > "$(pkglibdir)/pkgIndex.tcl"
#nxsh: tclAppInit.o $(PKG_OBJECTS) $(CONDITIONAL_STUB_OBJECTS)
# $(CC) -rdynamic -o $@ tclAppInit.o \
--- 708,731 ----
#========================================================================
pkgIndex.tcl: $(PKG_LIB_FILE)
+ @echo "if {[package vsatisfies [package provide Tcl] 9]} {" > pkgIndex.tcl
+ @echo " package ifneeded nsf @PACKAGE_VERSION@ \\" >> pkgIndex.tcl
+ @echo " [list load [file join \$$dir @PKG_LIB_FILE9@] Nsf]" >> pkgIndex.tcl
+ @echo "} else {" >> pkgIndex.tcl
+ @echo " package ifneeded nsf @PACKAGE_VERSION@ \\" >> pkgIndex.tcl
+ @echo " [list load [file join \$$dir @PKG_LIB_FILE8@] Nsf]" >> pkgIndex.tcl
+ @echo "}" >> pkgIndex.tcl
+ @echo "package provide nsf $(PACKAGE_VERSION)" >> pkgIndex.tcl
+
install-pkgIndex:
+ @echo "if {[package vsatisfies [package provide Tcl] 9]} {" > pkgIndex.tcl
+ @echo " package ifneeded nsf @PACKAGE_VERSION@ \\" >> pkgIndex.tcl
+ @echo " [list load [file join \$$dir @PKG_LIB_FILE9@] Nsf]" >> pkgIndex.tcl
+ @echo "} else {" >> pkgIndex.tcl
+ @echo " package ifneeded nsf @PACKAGE_VERSION@ \\" >> pkgIndex.tcl
+ @echo " [list load [file join \$$dir @PKG_LIB_FILE8@] Nsf]" >> pkgIndex.tcl
+ @echo "}" >> pkgIndex.tcl
#nxsh: tclAppInit.o $(PKG_OBJECTS) $(CONDITIONAL_STUB_OBJECTS)
# $(CC) -rdynamic -o $@ tclAppInit.o \
# Next Scripting Framework #
## Compilation of Source Distribution: ##
On Unix-like environments (including macOS), do
````
./configure
make
sudo make install
`````
For more details, and build instructions, binary releases, community
support etc. consult:
http://next-scripting.org/
Starting with Aolserver 4.*/naviserver nsf can be loaded via
package require. However, it is recommended to install
the binaries under the aolserver directory. The
recommended configuration is:
./configure --enable-threads --prefix=/usr/local/aolserver
Then, you can do a
make
make install-aol
# Next Scripting Framework #
## Compilation of Source Distribution: ##
On Unix-like environments (including macOS), do
````
./configure
make
sudo make install
`````
For more details, and build instructions, binary releases, community
support etc. consult: [https://next-scripting.org/]
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
# generated automatically by aclocal 1.16.5 -*- Autoconf -*-
# Copyright (C) 1996-2021 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
m4_include([m4/tcl.m4])