Check-in [36d65f9f09]
Overview
Comment:Added TUAPI and tDOM
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:36d65f9f09a582b6cc550edeefb8f9f7faa72689
User & Date: rkeene on 2016-09-06 07:47:34
Other Links: manifest | tags
Context
2016-09-06
14:29
Improved compiling CMake-based yajl for yajltcl check-in: 71be3ff1a1 user: rkeene tags: trunk
07:47
Added TUAPI and tDOM check-in: 36d65f9f09 user: rkeene tags: trunk
07:31
Migrated yajltcl to simplified build system check-in: 3b6f2236c8 user: rkeene tags: trunk
Changes

Modified .fossil-settings/ignore-glob from [546e46e729] to [21deb8ea80].

   138    138   dbus/out
   139    139   dbus/src
   140    140   tclx/build
   141    141   tclx/build.log
   142    142   tclx/inst
   143    143   tclx/out
   144    144   tclx/src
          145  +tuapi/build
          146  +tuapi/build.log
          147  +tuapi/inst
          148  +tuapi/out
          149  +tuapi/src
          150  +tdom/build
          151  +tdom/build.log
          152  +tdom/inst
          153  +tdom/out
          154  +tdom/src
   145    155   kitdll/buildsrc/kitdll-0.0/starpack.vfs
   146    156   kitdll/buildsrc/kitdll-0.0/starpack.vfs/*
   147    157   kitdll/buildsrc/kitdll-0.0/test
   148    158   kitdll/buildsrc/kitdll-0.0/configure
   149    159   kitdll/buildsrc/kitdll-0.0/libtcl*.so
   150    160   kitdll/buildsrc/kitdll-0.0/Makefile
   151    161   kitdll/buildsrc/kitdll-0.0/*.o

Modified build/web/kitcreator.vfs/index.rvt from [ae0fb2ce27] to [329ac6ee87].

    57     57   	set packages(dbus) D-BUS
    58     58   	set packages(tclx) TclX
    59     59   	set packages(itcl) {[incr Tcl]}
    60     60   	set packages(tcllib) "Tcllib"
    61     61   	set packages(yajltcl) "YAJL-TCL"
    62     62   	set packages(udp) "TclUDP"
    63     63   	set packages(nsf) "Next Scripting Framework"
           64  +	set packages(tdom) "tDOM"
           65  +	set packages(tuapi) "Tcl UNIX API"
    64     66   
    65     67   	set disable {
    66     68   		platform linux-mipsel {package_tk package_tcc4tcl package_tclx kitdll}
    67     69   		platform android-arm {package_tk package_tclx}
    68         -		platform netbsd-amd64 {package_tk package_tcc4tcl package_tclx}
    69         -		platform netbsd-i386 {package_tk package_tcc4tcl package_tclx}
    70         -		platform solaris-sparc {package_tcc4tcl package_tclx}
    71         -		platform solaris-sparc64 {package_tcc4tcl package_tclx}
    72         -		platform hpux-hppa64 {package_tcc4tcl package_tclx}
           70  +		platform freebsd-amd64 {package_tuapi}
           71  +		platform hpux-hppa64 {package_tuapi}
           72  +		platform netbsd-amd64 {package_tk package_tcc4tcl package_tclx package_tuapi}
           73  +		platform netbsd-i386 {package_tk package_tcc4tcl package_tclx package_tuapi}
           74  +		platform solaris-sparc {package_tcc4tcl package_tclx package_tuapi}
           75  +		platform solaris-sparc64 {package_tcc4tcl package_tclx package_tuapi}
           76  +		platform hpux-hppa64 {package_tcc4tcl package_tclx package_tuapi}
    73     77   		platform linux-arm {package_tk package_tclx}
    74     78   		platform linux-amd64-static {package_tk package_dbus kitdll}
    75     79   		platform linux-i386-static {package_tk package_dbus kitdll}
    76         -		platform macosx-ppc {package_dbus package_tcc4tcl}
    77         -		platform macosx-ppc64 {package_dbus package_tcc4tcl}
    78         -		platform macosx-i386 {package_dbus}
    79         -		platform macosx-amd64 {package_dbus}
           80  +		platform macosx-ppc {package_dbus package_tcc4tcl package_tuapi}
           81  +		platform macosx-ppc64 {package_dbus package_tcc4tcl package_tuapi}
           82  +		platform macosx-i386 {package_dbus package_tuapi}
           83  +		platform macosx-amd64 {package_dbus package_tuapi}
           84  +		platform win32 {package_tuapi}
           85  +		platform win64 {package_tuapi}
    80     86   	}
    81     87   
    82     88   	set specific {
    83     89   		platform win32 file icon {Kit Icon}
    84     90   		platform win32 text description {Description}
    85     91   		platform win64 file icon {Kit Icon}
    86     92   		platform win64 text description {Description}

Modified kitcreator from [4aecbd19cc] to [80fb0393d7].

    30     30   if [ -f 'build/pre.sh' ]; then
    31     31   	if ! find 'kitsh/buildsrc/' -name configure -type f 2>/dev/null | grep configure >/dev/null; then
    32     32   		echo "Please remember to run 'build/pre.sh' if you expect this build to work." >&2
    33     33   	fi
    34     34   fi
    35     35   
    36     36   # Define the list of all packages, for cleaning purposes
    37         -KITCREATOR_ALLPKGS="kitsh tcl tclvfs zlib tk itcl mk4tcl thread dbus tls tclx tcc4tcl tcllib udp yajltcl"
           37  +KITCREATOR_ALLPKGS="kitsh tcl tclvfs zlib tk itcl mk4tcl thread dbus tls tclx tcc4tcl tcllib udp yajltcl tdom tuapi"
    38     38   
    39     39   # Always rebuild kitsh
    40     40   rm -f "kitsh/.success"
    41     41   for pkg in ${KITCREATOR_ALLPKGS} ${KITCREATOR_PKGS}; do
    42     42   	if [ "${mode}" != "retry" -o ! -f "${pkg}/.success" ]; then
    43     43   		rm -f "${pkg}/build.log" "${pkg}/.success"
    44     44   		rm -rf "${pkg}/out" "${pkg}/inst" "${pkg}/build"

Added tdom/build.sh version [a999eb4bf1].

            1  +#! /usr/bin/env bash
            2  +
            3  +# BuildCompatible: KitCreator
            4  +
            5  +version='0.8.3'
            6  +url="https://github.com/downloads/tDOM/tdom/tDOM-${version}.tgz"
            7  +sha256='496d5950907dd70db61bc20c55a05a5521363ce3c076e2fdd97270181bc720b9'

Added tdom/patches/all/tdom-0.8.3-tcl86.diff version [4aa7e63cec].

            1  +diff --git a/generic/dom.h b/generic/dom.h
            2  +index b10e729..145366f 100644
            3  +--- a/generic/dom.h
            4  ++++ b/generic/dom.h
            5  +@@ -94,6 +94,14 @@
            6  + #endif
            7  + 
            8  + /*
            9  ++ * Beginning with 8.6, interp->errorLine isn't public visible anymore
           10  ++ * (TIP 330)
           11  ++ */
           12  ++#if (TCL_MAJOR_VERSION == 8) && (TCL_MINOR_VERSION < 6)
           13  ++# define Tcl_GetErrorLine(interp) (interp)->errorLine
           14  ++#endif
           15  ++
           16  ++/*
           17  +  * Starting with Tcl 8.2 the Tcl_Panic() is defined properly
           18  +  * over the stubs table.
           19  +  * Also, we have a proper Tcl_GetString() shortcut afterwards.
           20  +diff --git a/generic/tcldom.c b/generic/tcldom.c
           21  +index 0126f54..a4578ab 100644
           22  +--- a/generic/tcldom.c
           23  ++++ b/generic/tcldom.c
           24  +@@ -5934,7 +5934,7 @@ int tcldom_EvalLocked (
           25  +     if (ret == TCL_ERROR) {
           26  +         char msg[64 + TCL_INTEGER_SPACE];
           27  +         sprintf(msg, "\n    (\"%s %s\" body line %d)", Tcl_GetString(objv[0]),
           28  +-                Tcl_GetString(objv[1]), interp->errorLine);
           29  ++                Tcl_GetString(objv[1]), Tcl_GetErrorLine(interp));
           30  +         Tcl_AddErrorInfo(interp, msg);
           31  +     }
           32  + 

Added tuapi/build.sh version [394d9a4b1e].

            1  +#! /usr/bin/env bash
            2  +
            3  +# BuildCompatible: KitCreator
            4  +
            5  +version='0.6'
            6  +url="http://rkeene.org/devel/tuapi-${version}.tar.gz"
            7  +sha256='-'
            8  +
            9  +function configure() {
           10  +	:
           11  +}
           12  +
           13  +function build() {
           14  +	(
           15  +		. build-common.sh
           16  +
           17  +		eval ${TCL_CC} ${TCL_DEFS} ${TCL_INCLUDE_SPEC} -o tuapi.o -c tuapi.c || exit 1
           18  +
           19  +		${AR:-ar} rcu libtuapi.a tuapi.o || exit 1
           20  +
           21  +		${RANLIB:-ranlib} libtuapi.a || exit 1
           22  +
           23  +		echo 'package ifneeded tuapi '"${tuapi_version}"' [list load {} tuapi]' > pkgIndex.tcl
           24  +	) || return 1
           25  +}
           26  +
           27  +function install() {
           28  +	mkdir -p "${installdir}/lib/tuapi${version}" || return 1
           29  +
           30  +	cp libtuapi.a pkgIndex.tcl "${installdir}/lib/tuapi${version}" || return 1
           31  +}