Check-in [87132693dc]
Overview
Comment:Add Nano package support
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:87132693dc30e4f5c243940703438278c18e870b
User & Date: rkeene on 2018-07-10 00:41:38
Other Links: manifest | tags
Context
2018-09-28
21:50
Updated to NSF 2.2.0 release check-in: 826c95494e user: ssoberni tags: trunk
2018-07-10
00:41
Add Nano package support check-in: 87132693dc user: rkeene tags: trunk
2018-07-05
15:15
When building a debug kit, enable -DPURIFY check-in: f370ff1fc0 user: rkeene tags: trunk
Changes

Modified .fossil-settings/ignore-glob from [e78d170d6f] to [dd2685d46c].

   158    158   lmdb/out
   159    159   lmdb/src
   160    160   tclcurl/build
   161    161   tclcurl/build.log
   162    162   tclcurl/inst
   163    163   tclcurl/out
   164    164   tclcurl/src
          165  +nano/build
          166  +nano/build.log
          167  +nano/inst
          168  +nano/out
          169  +nano/src
   165    170   kitdll/buildsrc/kitdll-0.0/starpack.vfs
   166    171   kitdll/buildsrc/kitdll-0.0/starpack.vfs/*
   167    172   kitdll/buildsrc/kitdll-0.0/test
   168    173   kitdll/buildsrc/kitdll-0.0/configure
   169    174   kitdll/buildsrc/kitdll-0.0/libtcl*.so
   170    175   kitdll/buildsrc/kitdll-0.0/Makefile
   171    176   kitdll/buildsrc/kitdll-0.0/*.o

Modified build/web/kitcreator.vfs/index.rvt from [b2519545a9] to [018e1ebebd].

    65     65   	set packages(yajltcl) "YAJL-TCL"
    66     66   	set packages(udp) "TclUDP"
    67     67   	set packages(nsf) "Next Scripting Framework"
    68     68   	set packages(tdom) "tDOM"
    69     69   	set packages(tuapi) "Tcl UNIX API"
    70     70   	set packages(lmdb) "LMDB"
    71     71   	set packages(tclcurl) "cURL"
           72  +	set packages(nano) "Nano"
    72     73   
    73     74   	set disable {
    74     75   		platform linux-mipsel {package_tk package_tcc4tcl package_tclx kitdll}
    75     76   		platform android-arm {package_tk package_tclx}
    76     77   		platform freebsd-amd64 {package_tuapi}
    77     78   		platform hpux-hppa64 {package_tuapi}
    78     79   		platform aix-ppc {package_tuapi kitdll}

Modified kitcreator from [c672e9363c] to [dd4b10f457].

    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 tdom tuapi"
           37  +KITCREATOR_ALLPKGS="kitsh tcl tclvfs zlib tk itcl mk4tcl thread dbus tls tclx tcc4tcl tcllib udp yajltcl tdom tuapi tclcurl lmdb nano"
    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 nano/build.sh version [e42bedc643].

            1  +#! /usr/bin/env bash
            2  +
            3  +# BuildCompatible: KitCreator
            4  +
            5  +version="1.0"
            6  +url="https://chiselapp.com/user/rkeene/repository/tcl-nano/uv/releases/tcl-nano-${version}.tar.gz"
            7  +sha256='16b599cf12b1dd2e1c74eb0a4382b933a5e1519144158360ff78bf161e14bca5'
            8  +configure_extra=(--enable-stubs)
            9  +
           10  +function preconfigure() {
           11  +	sed -i 's@stack-protector-all@donot-stack-protector-all@g' configure
           12  +}
           13  +
           14  +function postinstall() {
           15  +	rm -f "${installdir}/lib/tcl-nano${version}/nano.man"
           16  +	if [ -f "${installdir}/lib/tcl-nano${version}/nano.lib" -a ! -f "${installdir}/lib/tcl-nano${version}/nano.a" ]; then
           17  +		mv "${installdir}/lib/tcl-nano${version}/nano.lib" "${installdir}/lib/tcl-nano${version}/nano.a"
           18  +	fi
           19  +}