Check-in [df4a50308c]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:add rtext to linux build scripts
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: df4a50308c5b50b67e3741f30378446b36c9f701
User & Date: chw 2025-06-14 20:11:46.514
Context
2025-06-15
06:00
fix rtext build for undroidwish check-in: 50404cb8f3 user: chw tags: trunk
2025-06-14
20:11
add rtext to linux build scripts check-in: df4a50308c user: chw tags: trunk
19:47
add rtext widget backported to tk8.6 check-in: 236e4d8848 user: chw tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to undroid/build-undroidwish-kmsdrm.sh.
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
SUBDIRS="${SUBDIRS} rl_json mpexpr"
SUBDIRS="${SUBDIRS} tclcsv tkzinc libffi ffidl tcl-lmdb DiffUtilTcl"
SUBDIRS="${SUBDIRS} tclparser tclcompiler snap7 libmodbus fswatch"
SUBDIRS="${SUBDIRS} tserialport topcua parse_args tkvlc tclJBlend"
SUBDIRS="${SUBDIRS} tcl-fuse Tix openjpeg imgjp2 Rtcl tcllibc bonjour"
SUBDIRS="${SUBDIRS} TclMagick tclbsd tclunqlite pikchr tcl-stbimage"
SUBDIRS="${SUBDIRS} ceptcl piio kafkatcl tknotebook tkled pty_tcl"
SUBDIRS="${SUBDIRS} legacy_3dcanvas tcltaglib rhash bcrypt"

ACTION="$1"
if test -z "$ACTION" ; then
  ACTION=build
fi

clean_build_stamps() {







|







93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
SUBDIRS="${SUBDIRS} rl_json mpexpr"
SUBDIRS="${SUBDIRS} tclcsv tkzinc libffi ffidl tcl-lmdb DiffUtilTcl"
SUBDIRS="${SUBDIRS} tclparser tclcompiler snap7 libmodbus fswatch"
SUBDIRS="${SUBDIRS} tserialport topcua parse_args tkvlc tclJBlend"
SUBDIRS="${SUBDIRS} tcl-fuse Tix openjpeg imgjp2 Rtcl tcllibc bonjour"
SUBDIRS="${SUBDIRS} TclMagick tclbsd tclunqlite pikchr tcl-stbimage"
SUBDIRS="${SUBDIRS} ceptcl piio kafkatcl tknotebook tkled pty_tcl"
SUBDIRS="${SUBDIRS} legacy_3dcanvas tcltaglib rhash bcrypt rtext"

ACTION="$1"
if test -z "$ACTION" ; then
  ACTION=build
fi

clean_build_stamps() {
1952
1953
1954
1955
1956
1957
1958

















1959
1960
1961
1962
1963
1964
1965
  perl -pi -e 's@-Wl,--export-dynamic@'-Wl,--version-script=$(pwd)/exports'@g' \
      Makefile
  make || exit 1
  make install-binaries install-libraries DESTDIR=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"
) || fail


















echo -n "strip binaries ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  set -x
  $STRIP ${PFX_HERE}/bin/tclsh* ${PFX_HERE}/bin/sdl2wish* \







>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
  perl -pi -e 's@-Wl,--export-dynamic@'-Wl,--version-script=$(pwd)/exports'@g' \
      Makefile
  make || exit 1
  make install-binaries install-libraries DESTDIR=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"
) || fail

echo -n "build rtext ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd rtext
  test -e build-stamp && echo >&3 "already done" && exit 0
  ./configure --prefix=${PFX} \
    --with-tcl=${HERE}/tcl/unix --with-tk=${HERE}/sdl2tk/sdl || exit 1
  echo > exports '{ global: Rtext_Init; local: *; };'
  perl -pi -e 's@-Wl,--export-dynamic@'-Wl,--version-script=$(pwd)/exports'@g' \
      Makefile
  make || exit 1
  make install-binaries install-libraries DESTDIR=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"
) || fail

echo -n "strip binaries ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  set -x
  $STRIP ${PFX_HERE}/bin/tclsh* ${PFX_HERE}/bin/sdl2wish* \
2125
2126
2127
2128
2129
2130
2131

2132
2133
2134
2135
2136
2137
2138
  cp -rp ${PFX_HERE}/lib/tknotebook* assets
  cp -rp ${PFX_HERE}/lib/tkled* assets
  cp -rp ${PFX_HERE}/lib/pty_tcl* assets
  cp -rp ${PFX_HERE}/lib/legacy_3dcanvas* assets
  cp -rp ${PFX_HERE}/lib/tcltaglib* assets
  cp -rp ${PFX_HERE}/lib/rhash* assets
  cp -rp ${PFX_HERE}/lib/bcrypt* assets

  cp -rp ${AWDIR}/assets/ooxml* assets
  cp -rp ${AWDIR}/assets/retcl* assets
  cp -rp ${AWDIR}/assets/yeti* assets
  cp -rp ${AWDIR}/assets/calc* assets
  cp -rp ${AWDIR}/assets/vcd* assets
  cp -rp ${AWDIR}/undroid/wscope* assets
  cp -rp ${AWDIR}/undroid/espeak* assets







>







2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
  cp -rp ${PFX_HERE}/lib/tknotebook* assets
  cp -rp ${PFX_HERE}/lib/tkled* assets
  cp -rp ${PFX_HERE}/lib/pty_tcl* assets
  cp -rp ${PFX_HERE}/lib/legacy_3dcanvas* assets
  cp -rp ${PFX_HERE}/lib/tcltaglib* assets
  cp -rp ${PFX_HERE}/lib/rhash* assets
  cp -rp ${PFX_HERE}/lib/bcrypt* assets
  cp -rp ${PFX_HERE}/lib/rtext* assets
  cp -rp ${AWDIR}/assets/ooxml* assets
  cp -rp ${AWDIR}/assets/retcl* assets
  cp -rp ${AWDIR}/assets/yeti* assets
  cp -rp ${AWDIR}/assets/calc* assets
  cp -rp ${AWDIR}/assets/vcd* assets
  cp -rp ${AWDIR}/undroid/wscope* assets
  cp -rp ${AWDIR}/undroid/espeak* assets
Changes to undroid/build-undroidwish-linux32.sh.
94
95
96
97
98
99
100
101

102
103
104
105
106
107
108
SUBDIRS="${SUBDIRS} rl_json mpexpr"
SUBDIRS="${SUBDIRS} tclcsv tkzinc libffi ffidl tcl-lmdb DiffUtilTcl"
SUBDIRS="${SUBDIRS} tclparser tclcompiler snap7 libmodbus fswatch"
SUBDIRS="${SUBDIRS} tserialport topcua parse_args tkvlc tclJBlend"
SUBDIRS="${SUBDIRS} tcl-fuse Tix openjpeg imgjp2 Rtcl tcllibc bonjour"
SUBDIRS="${SUBDIRS} TclMagick tclbsd tclunqlite pikchr tcl-stbimage"
SUBDIRS="${SUBDIRS} ceptcl piio kafkatcl tknotebook tkled odbcsyms"
SUBDIRS="${SUBDIRS} tclodbc pty_tcl legacy_3dcanvas tcltaglib rhash bcrypt"


ACTION="$1"
if test -z "$ACTION" ; then
  ACTION=build
fi

clean_build_stamps() {







|
>







94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
SUBDIRS="${SUBDIRS} rl_json mpexpr"
SUBDIRS="${SUBDIRS} tclcsv tkzinc libffi ffidl tcl-lmdb DiffUtilTcl"
SUBDIRS="${SUBDIRS} tclparser tclcompiler snap7 libmodbus fswatch"
SUBDIRS="${SUBDIRS} tserialport topcua parse_args tkvlc tclJBlend"
SUBDIRS="${SUBDIRS} tcl-fuse Tix openjpeg imgjp2 Rtcl tcllibc bonjour"
SUBDIRS="${SUBDIRS} TclMagick tclbsd tclunqlite pikchr tcl-stbimage"
SUBDIRS="${SUBDIRS} ceptcl piio kafkatcl tknotebook tkled odbcsyms"
SUBDIRS="${SUBDIRS} tclodbc pty_tcl legacy_3dcanvas tcltaglib rhash"
SUBDIRS="${SUBDIRS} bcrypt rtext"

ACTION="$1"
if test -z "$ACTION" ; then
  ACTION=build
fi

clean_build_stamps() {
2052
2053
2054
2055
2056
2057
2058

















2059
2060
2061
2062
2063
2064
2065
  perl -pi -e 's@-Wl,--export-dynamic@'-Wl,--version-script=$(pwd)/exports'@g' \
      Makefile
  make || exit 1
  make install-binaries install-libraries DESTDIR=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"
) || fail


















echo -n "strip binaries ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  set -x
  $STRIP ${PFX_HERE}/bin/tclsh* ${PFX_HERE}/bin/sdl2wish* \







>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
  perl -pi -e 's@-Wl,--export-dynamic@'-Wl,--version-script=$(pwd)/exports'@g' \
      Makefile
  make || exit 1
  make install-binaries install-libraries DESTDIR=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"
) || fail

echo -n "build rtext ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd rtext
  test -e build-stamp && echo >&3 "already done" && exit 0
  ./configure --prefix=${PFX} --build=i586-linux-gnu \
    --with-tcl=${HERE}/tcl/unix --with-tk=${HERE}/sdl2tk/sdl || exit 1
  echo > exports '{ global: Rtext_Init; local: *; };'
  perl -pi -e 's@-Wl,--export-dynamic@'-Wl,--version-script=$(pwd)/exports'@g' \
      Makefile
  make || exit 1
  make install-binaries install-libraries DESTDIR=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"
) || fail

echo -n "strip binaries ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  set -x
  $STRIP ${PFX_HERE}/bin/tclsh* ${PFX_HERE}/bin/sdl2wish* \
2227
2228
2229
2230
2231
2232
2233

2234
2235
2236
2237
2238
2239
2240
  cp -rp ${PFX_HERE}/lib/odbcsyms* assets
  cp -rp ${PFX_HERE}/lib/tclodbc* assets
  cp -rp ${PFX_HERE}/lib/pty_tcl* assets
  cp -rp ${PFX_HERE}/lib/legacy_3dcanvas* assets
  cp -rp ${PFX_HERE}/lib/tcltaglib* assets
  cp -rp ${PFX_HERE}/lib/rhash* assets
  cp -rp ${PFX_HERE}/lib/bcrypt* assets

  cp -rp ${AWDIR}/assets/ooxml* assets
  cp -rp ${AWDIR}/assets/retcl* assets
  cp -rp ${AWDIR}/assets/yeti* assets
  cp -rp ${AWDIR}/assets/calc* assets
  cp -rp ${AWDIR}/assets/vcd* assets
  cp -rp ${AWDIR}/undroid/wscope* assets
  cp -rp ${AWDIR}/undroid/espeak* assets







>







2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
  cp -rp ${PFX_HERE}/lib/odbcsyms* assets
  cp -rp ${PFX_HERE}/lib/tclodbc* assets
  cp -rp ${PFX_HERE}/lib/pty_tcl* assets
  cp -rp ${PFX_HERE}/lib/legacy_3dcanvas* assets
  cp -rp ${PFX_HERE}/lib/tcltaglib* assets
  cp -rp ${PFX_HERE}/lib/rhash* assets
  cp -rp ${PFX_HERE}/lib/bcrypt* assets
  cp -rp ${PFX_HERE}/lib/rtext* assets
  cp -rp ${AWDIR}/assets/ooxml* assets
  cp -rp ${AWDIR}/assets/retcl* assets
  cp -rp ${AWDIR}/assets/yeti* assets
  cp -rp ${AWDIR}/assets/calc* assets
  cp -rp ${AWDIR}/assets/vcd* assets
  cp -rp ${AWDIR}/undroid/wscope* assets
  cp -rp ${AWDIR}/undroid/espeak* assets
Changes to undroid/build-undroidwish-linux64.sh.
94
95
96
97
98
99
100
101

102
103
104
105
106
107
108
SUBDIRS="${SUBDIRS} rl_json mpexpr"
SUBDIRS="${SUBDIRS} tclcsv tkzinc libffi ffidl tcl-lmdb DiffUtilTcl"
SUBDIRS="${SUBDIRS} tclparser tclcompiler snap7 libmodbus fswatch"
SUBDIRS="${SUBDIRS} tserialport topcua parse_args tkvlc tclJBlend"
SUBDIRS="${SUBDIRS} tcl-fuse Tix openjpeg imgjp2 Rtcl tcllibc bonjour"
SUBDIRS="${SUBDIRS} TclMagick tclbsd tclunqlite pikchr tcl-stbimage"
SUBDIRS="${SUBDIRS} ceptcl piio kafkatcl tknotebook tkled odbcsyms"
SUBDIRS="${SUBDIRS} tclodbc pty_tcl legacy_3dcanvas tcltaglib rhash bcrypt"


ACTION="$1"
if test -z "$ACTION" ; then
  ACTION=build
fi

clean_build_stamps() {







|
>







94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
SUBDIRS="${SUBDIRS} rl_json mpexpr"
SUBDIRS="${SUBDIRS} tclcsv tkzinc libffi ffidl tcl-lmdb DiffUtilTcl"
SUBDIRS="${SUBDIRS} tclparser tclcompiler snap7 libmodbus fswatch"
SUBDIRS="${SUBDIRS} tserialport topcua parse_args tkvlc tclJBlend"
SUBDIRS="${SUBDIRS} tcl-fuse Tix openjpeg imgjp2 Rtcl tcllibc bonjour"
SUBDIRS="${SUBDIRS} TclMagick tclbsd tclunqlite pikchr tcl-stbimage"
SUBDIRS="${SUBDIRS} ceptcl piio kafkatcl tknotebook tkled odbcsyms"
SUBDIRS="${SUBDIRS} tclodbc pty_tcl legacy_3dcanvas tcltaglib rhash"
SUBDIRS="${SUBDIRS} bcrypt rtext"

ACTION="$1"
if test -z "$ACTION" ; then
  ACTION=build
fi

clean_build_stamps() {
2070
2071
2072
2073
2074
2075
2076

















2077
2078
2079
2080
2081
2082
2083
  perl -pi -e 's@-Wl,--export-dynamic@'-Wl,--version-script=$(pwd)/exports'@g' \
      Makefile
  make || exit 1
  make install-binaries install-libraries DESTDIR=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"
) || fail


















echo -n "strip binaries ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  set -x
  $STRIP ${PFX_HERE}/bin/tclsh* ${PFX_HERE}/bin/sdl2wish* \







>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
  perl -pi -e 's@-Wl,--export-dynamic@'-Wl,--version-script=$(pwd)/exports'@g' \
      Makefile
  make || exit 1
  make install-binaries install-libraries DESTDIR=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"
) || fail

echo -n "build rtext ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd rtext
  test -e build-stamp && echo >&3 "already done" && exit 0
  ./configure --prefix=${PFX} --build=x86_64-linux-gnu \
    --with-tcl=${HERE}/tcl/unix --with-tk=${HERE}/sdl2tk/sdl || exit 1
  echo > exports '{ global: Rtext_Init; local: *; };'
  perl -pi -e 's@-Wl,--export-dynamic@'-Wl,--version-script=$(pwd)/exports'@g' \
      Makefile
  make || exit 1
  make install-binaries install-libraries DESTDIR=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"
) || fail

echo -n "strip binaries ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  set -x
  $STRIP ${PFX_HERE}/bin/tclsh* ${PFX_HERE}/bin/sdl2wish* \
2245
2246
2247
2248
2249
2250
2251

2252
2253
2254
2255
2256
2257
2258
  cp -rp ${PFX_HERE}/lib/odbcsyms* assets
  cp -rp ${PFX_HERE}/lib/tclodbc* assets
  cp -rp ${PFX_HERE}/lib/pty_tcl* assets
  cp -rp ${PFX_HERE}/lib/legacy_3dcanvas* assets
  cp -rp ${PFX_HERE}/lib/tcltaglib* assets
  cp -rp ${PFX_HERE}/lib/rhash* assets
  cp -rp ${PFX_HERE}/lib/bcrypt* assets

  cp -rp ${AWDIR}/assets/ooxml* assets
  cp -rp ${AWDIR}/assets/retcl* assets
  cp -rp ${AWDIR}/assets/yeti* assets
  cp -rp ${AWDIR}/assets/calc* assets
  cp -rp ${AWDIR}/assets/vcd* assets
  cp -rp ${AWDIR}/undroid/wscope* assets
  cp -rp ${AWDIR}/undroid/espeak* assets







>







2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
  cp -rp ${PFX_HERE}/lib/odbcsyms* assets
  cp -rp ${PFX_HERE}/lib/tclodbc* assets
  cp -rp ${PFX_HERE}/lib/pty_tcl* assets
  cp -rp ${PFX_HERE}/lib/legacy_3dcanvas* assets
  cp -rp ${PFX_HERE}/lib/tcltaglib* assets
  cp -rp ${PFX_HERE}/lib/rhash* assets
  cp -rp ${PFX_HERE}/lib/bcrypt* assets
  cp -rp ${PFX_HERE}/lib/rtext* assets
  cp -rp ${AWDIR}/assets/ooxml* assets
  cp -rp ${AWDIR}/assets/retcl* assets
  cp -rp ${AWDIR}/assets/yeti* assets
  cp -rp ${AWDIR}/assets/calc* assets
  cp -rp ${AWDIR}/assets/vcd* assets
  cp -rp ${AWDIR}/undroid/wscope* assets
  cp -rp ${AWDIR}/undroid/espeak* assets
Changes to undroid/build-undroidwish-wayland.sh.
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
SUBDIRS="${SUBDIRS} rl_json mpexpr"
SUBDIRS="${SUBDIRS} tclcsv tkzinc libffi ffidl tcl-lmdb DiffUtilTcl"
SUBDIRS="${SUBDIRS} tclparser tclcompiler snap7 libmodbus fswatch"
SUBDIRS="${SUBDIRS} tserialport topcua parse_args tkvlc tclJBlend"
SUBDIRS="${SUBDIRS} tcl-fuse Tix openjpeg imgjp2 Rtcl tcllibc bonjour"
SUBDIRS="${SUBDIRS} TclMagick tclbsd tclunqlite pikchr tcl-stbimage"
SUBDIRS="${SUBDIRS} ceptcl piio kafkatcl tknotebook tkled pty_tcl"
SUBDIRS="${SUBDIRS} legacy_3dcanvas tcltaglib rhash bcrypt"

ACTION="$1"
if test -z "$ACTION" ; then
  ACTION=build
fi

clean_build_stamps() {







|







93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
SUBDIRS="${SUBDIRS} rl_json mpexpr"
SUBDIRS="${SUBDIRS} tclcsv tkzinc libffi ffidl tcl-lmdb DiffUtilTcl"
SUBDIRS="${SUBDIRS} tclparser tclcompiler snap7 libmodbus fswatch"
SUBDIRS="${SUBDIRS} tserialport topcua parse_args tkvlc tclJBlend"
SUBDIRS="${SUBDIRS} tcl-fuse Tix openjpeg imgjp2 Rtcl tcllibc bonjour"
SUBDIRS="${SUBDIRS} TclMagick tclbsd tclunqlite pikchr tcl-stbimage"
SUBDIRS="${SUBDIRS} ceptcl piio kafkatcl tknotebook tkled pty_tcl"
SUBDIRS="${SUBDIRS} legacy_3dcanvas tcltaglib rhash bcrypt rtext"

ACTION="$1"
if test -z "$ACTION" ; then
  ACTION=build
fi

clean_build_stamps() {
1952
1953
1954
1955
1956
1957
1958

















1959
1960
1961
1962
1963
1964
1965
  perl -pi -e 's@-Wl,--export-dynamic@'-Wl,--version-script=$(pwd)/exports'@g' \
      Makefile
  make || exit 1
  make install-binaries install-libraries DESTDIR=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"
) || fail


















echo -n "strip binaries ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  set -x
  $STRIP ${PFX_HERE}/bin/tclsh* ${PFX_HERE}/bin/sdl2wish* \







>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
  perl -pi -e 's@-Wl,--export-dynamic@'-Wl,--version-script=$(pwd)/exports'@g' \
      Makefile
  make || exit 1
  make install-binaries install-libraries DESTDIR=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"
) || fail

echo -n "build rtext ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd rtext
  test -e build-stamp && echo >&3 "already done" && exit 0
  ./configure --prefix=${PFX} \
    --with-tcl=${HERE}/tcl/unix --with-tk=${HERE}/sdl2tk/sdl || exit 1
  echo > exports '{ global: Rtext_Init; local: *; };'
  perl -pi -e 's@-Wl,--export-dynamic@'-Wl,--version-script=$(pwd)/exports'@g' \
      Makefile
  make || exit 1
  make install-binaries install-libraries DESTDIR=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"
) || fail

echo -n "strip binaries ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  set -x
  $STRIP ${PFX_HERE}/bin/tclsh* ${PFX_HERE}/bin/sdl2wish* \
2125
2126
2127
2128
2129
2130
2131

2132
2133
2134
2135
2136
2137
2138
  cp -rp ${PFX_HERE}/lib/tknotebook* assets
  cp -rp ${PFX_HERE}/lib/tkled* assets
  cp -rp ${PFX_HERE}/lib/pty_tcl* assets
  cp -rp ${PFX_HERE}/lib/legacy_3dcanvas* assets
  cp -rp ${PFX_HERE}/lib/tcltaglib* assets
  cp -rp ${PFX_HERE}/lib/rhash* assets
  cp -rp ${PFX_HERE}/lib/bcrypt* assets

  cp -rp ${AWDIR}/assets/ooxml* assets
  cp -rp ${AWDIR}/assets/retcl* assets
  cp -rp ${AWDIR}/assets/yeti* assets
  cp -rp ${AWDIR}/assets/calc* assets
  cp -rp ${AWDIR}/assets/vcd* assets
  cp -rp ${AWDIR}/undroid/wscope* assets
  cp -rp ${AWDIR}/undroid/espeak* assets







>







2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
  cp -rp ${PFX_HERE}/lib/tknotebook* assets
  cp -rp ${PFX_HERE}/lib/tkled* assets
  cp -rp ${PFX_HERE}/lib/pty_tcl* assets
  cp -rp ${PFX_HERE}/lib/legacy_3dcanvas* assets
  cp -rp ${PFX_HERE}/lib/tcltaglib* assets
  cp -rp ${PFX_HERE}/lib/rhash* assets
  cp -rp ${PFX_HERE}/lib/bcrypt* assets
  cp -rp ${PFX_HERE}/lib/rtext* assets
  cp -rp ${AWDIR}/assets/ooxml* assets
  cp -rp ${AWDIR}/assets/retcl* assets
  cp -rp ${AWDIR}/assets/yeti* assets
  cp -rp ${AWDIR}/assets/calc* assets
  cp -rp ${AWDIR}/assets/vcd* assets
  cp -rp ${AWDIR}/undroid/wscope* assets
  cp -rp ${AWDIR}/undroid/espeak* assets
Changes to undroid/build-vanilla-linux32.sh.
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
SUBDIRS="${SUBDIRS} tclcsv tkzinc libffi ffidl tcl-lmdb DiffUtilTcl"
SUBDIRS="${SUBDIRS} tclparser tclcompiler snap7 libmodbus fswatch"
SUBDIRS="${SUBDIRS} tserialport topcua parse_args tkvlc tclJBlend"
SUBDIRS="${SUBDIRS} tcl-fuse twv Tix openjpeg imgjp2 Rtcl tcllibc bonjour"
SUBDIRS="${SUBDIRS} TclMagick nccompat ck8.x tclbsd tcLex tclunqlite pikchr"
SUBDIRS="${SUBDIRS} tcl-stbimage ceptcl piio kafkatcl tknotebook tkled"
SUBDIRS="${SUBDIRS} odbcsyms tclodbc pty_tcl legacy_3dcanvas tcltaglib"
SUBDIRS="${SUBDIRS} rhash bcrypt scotty metakit"

if pkg-config --exists opencv || pkg-config --exists opencv4 ; then
  SUBDIRS="${SUBDIRS} tcl-opencv"
fi

ACTION="$1"
if test -z "$ACTION" ; then







|







94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
SUBDIRS="${SUBDIRS} tclcsv tkzinc libffi ffidl tcl-lmdb DiffUtilTcl"
SUBDIRS="${SUBDIRS} tclparser tclcompiler snap7 libmodbus fswatch"
SUBDIRS="${SUBDIRS} tserialport topcua parse_args tkvlc tclJBlend"
SUBDIRS="${SUBDIRS} tcl-fuse twv Tix openjpeg imgjp2 Rtcl tcllibc bonjour"
SUBDIRS="${SUBDIRS} TclMagick nccompat ck8.x tclbsd tcLex tclunqlite pikchr"
SUBDIRS="${SUBDIRS} tcl-stbimage ceptcl piio kafkatcl tknotebook tkled"
SUBDIRS="${SUBDIRS} odbcsyms tclodbc pty_tcl legacy_3dcanvas tcltaglib"
SUBDIRS="${SUBDIRS} rhash bcrypt scotty metakit rtext"

if pkg-config --exists opencv || pkg-config --exists opencv4 ; then
  SUBDIRS="${SUBDIRS} tcl-opencv"
fi

ACTION="$1"
if test -z "$ACTION" ; then
2130
2131
2132
2133
2134
2135
2136

















2137
2138
2139
2140
2141
2142
2143
  perl -pi -e 's@-Wl,--export-dynamic@'-Wl,--version-script=$(pwd)/exports'@g' \
      Makefile
  make || exit 1
  make install-binaries install-libraries DESTDIR=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"
) || fail


















if test -d tcl-opencv ; then
  echo -n "build tcl-opencv ... "
  (
    exec 3>&1
    exec >> build.log 2>&1
    cd tcl-opencv







>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
  perl -pi -e 's@-Wl,--export-dynamic@'-Wl,--version-script=$(pwd)/exports'@g' \
      Makefile
  make || exit 1
  make install-binaries install-libraries DESTDIR=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"
) || fail

echo -n "build rtext ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd rtext
  test -e build-stamp && echo >&3 "already done" && exit 0
  ./configure --prefix=${PFX} --build=i586-linux-gnu \
    --with-tcl=${HERE}/tcl/unix --with-tk=${HERE}/sdl2tk/unix || exit 1
  echo > exports '{ global: Rtext_Init; local: *; };'
  perl -pi -e 's@-Wl,--export-dynamic@'-Wl,--version-script=$(pwd)/exports'@g' \
      Makefile
  make || exit 1
  make install-binaries install-libraries DESTDIR=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"
) || fail

if test -d tcl-opencv ; then
  echo -n "build tcl-opencv ... "
  (
    exec 3>&1
    exec >> build.log 2>&1
    cd tcl-opencv
2337
2338
2339
2340
2341
2342
2343

2344
2345
2346
2347
2348
2349
2350
  cp -rp ${PFX_HERE}/lib/rhash* assets
  cp -rp ${PFX_HERE}/lib/bcrypt* assets
  cp -rp ${PFX_HERE}/lib/Tnm* assets
  cp -p ${PFX_HERE}/bin/scotty* assets/scotty
  cp -rp ${PFX_HERE}/lib/Tkined* assets
  cp -p ${PFX_HERE}/bin/tkined* assets
  cp -rp ${PFX_HERE}/lib/Mk4tcl* assets

  if test -d tcl-opencv ; then
    cp -rp ${PFX_HERE}/lib/opencv* assets
  fi
  cp -rp ${AWDIR}/assets/ooxml* assets
  cp -rp ${AWDIR}/assets/retcl* assets
  cp -rp ${AWDIR}/assets/yeti* assets
  cp -rp ${AWDIR}/assets/calc* assets







>







2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
  cp -rp ${PFX_HERE}/lib/rhash* assets
  cp -rp ${PFX_HERE}/lib/bcrypt* assets
  cp -rp ${PFX_HERE}/lib/Tnm* assets
  cp -p ${PFX_HERE}/bin/scotty* assets/scotty
  cp -rp ${PFX_HERE}/lib/Tkined* assets
  cp -p ${PFX_HERE}/bin/tkined* assets
  cp -rp ${PFX_HERE}/lib/Mk4tcl* assets
  cp -rp ${PFX_HERE}/lib/rtext* assets
  if test -d tcl-opencv ; then
    cp -rp ${PFX_HERE}/lib/opencv* assets
  fi
  cp -rp ${AWDIR}/assets/ooxml* assets
  cp -rp ${AWDIR}/assets/retcl* assets
  cp -rp ${AWDIR}/assets/yeti* assets
  cp -rp ${AWDIR}/assets/calc* assets
Changes to undroid/build-vanilla-linux64.sh.
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
SUBDIRS="${SUBDIRS} tclcsv tkzinc libffi ffidl tcl-lmdb DiffUtilTcl"
SUBDIRS="${SUBDIRS} tclparser tclcompiler snap7 libmodbus fswatch"
SUBDIRS="${SUBDIRS} tserialport topcua parse_args tkvlc tclJBlend"
SUBDIRS="${SUBDIRS} tcl-fuse twv Tix openjpeg imgjp2 Rtcl tcllibc bonjour"
SUBDIRS="${SUBDIRS} TclMagick nccompat ck8.x tclbsd tcLex tclunqlite pikchr"
SUBDIRS="${SUBDIRS} tcl-stbimage ceptcl piio kafkatcl tknotebook tkled"
SUBDIRS="${SUBDIRS} odbcsyms tclodbc pty_tcl legacy_3dcanvas tcltaglib"
SUBDIRS="${SUBDIRS} rhash bcrypt scotty metakit"

if pkg-config --exists opencv || pkg-config --exists opencv4 ; then
  SUBDIRS="${SUBDIRS} tcl-opencv"
fi

ACTION="$1"
if test -z "$ACTION" ; then







|







94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
SUBDIRS="${SUBDIRS} tclcsv tkzinc libffi ffidl tcl-lmdb DiffUtilTcl"
SUBDIRS="${SUBDIRS} tclparser tclcompiler snap7 libmodbus fswatch"
SUBDIRS="${SUBDIRS} tserialport topcua parse_args tkvlc tclJBlend"
SUBDIRS="${SUBDIRS} tcl-fuse twv Tix openjpeg imgjp2 Rtcl tcllibc bonjour"
SUBDIRS="${SUBDIRS} TclMagick nccompat ck8.x tclbsd tcLex tclunqlite pikchr"
SUBDIRS="${SUBDIRS} tcl-stbimage ceptcl piio kafkatcl tknotebook tkled"
SUBDIRS="${SUBDIRS} odbcsyms tclodbc pty_tcl legacy_3dcanvas tcltaglib"
SUBDIRS="${SUBDIRS} rhash bcrypt scotty metakit rtext"

if pkg-config --exists opencv || pkg-config --exists opencv4 ; then
  SUBDIRS="${SUBDIRS} tcl-opencv"
fi

ACTION="$1"
if test -z "$ACTION" ; then
2141
2142
2143
2144
2145
2146
2147

















2148
2149
2150
2151
2152
2153
2154
  perl -pi -e 's@-Wl,--export-dynamic@'-Wl,--version-script=$(pwd)/exports'@g' \
      Makefile
  make || exit 1
  make install-binaries install-libraries DESTDIR=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"
) || fail


















if test -d tcl-opencv ; then
  echo -n "build tcl-opencv ... "
  (
    exec 3>&1
    exec >> build.log 2>&1
    cd tcl-opencv







>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
  perl -pi -e 's@-Wl,--export-dynamic@'-Wl,--version-script=$(pwd)/exports'@g' \
      Makefile
  make || exit 1
  make install-binaries install-libraries DESTDIR=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"
) || fail

echo -n "build rtext ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd rtext
  test -e build-stamp && echo >&3 "already done" && exit 0
  ./configure --prefix=${PFX} --build=x86_64-linux-gnu \
    --with-tcl=${HERE}/tcl/unix --with-tk=${HERE}/sdl2tk/unix || exit 1
  echo > exports '{ global: Rtext_Init; local: *; };'
  perl -pi -e 's@-Wl,--export-dynamic@'-Wl,--version-script=$(pwd)/exports'@g' \
      Makefile
  make || exit 1
  make install-binaries install-libraries DESTDIR=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"
) || fail

if test -d tcl-opencv ; then
  echo -n "build tcl-opencv ... "
  (
    exec 3>&1
    exec >> build.log 2>&1
    cd tcl-opencv
2348
2349
2350
2351
2352
2353
2354

2355
2356
2357
2358
2359
2360
2361
  cp -rp ${PFX_HERE}/lib/rhash* assets
  cp -rp ${PFX_HERE}/lib/bcrypt* assets
  cp -rp ${PFX_HERE}/lib/Tnm* assets
  cp -p ${PFX_HERE}/bin/scotty* assets/scotty
  cp -rp ${PFX_HERE}/lib/Tkined* assets
  cp -p ${PFX_HERE}/bin/tkined* assets
  cp -rp ${PFX_HERE}/lib/Mk4tcl* assets

  if test -d tcl-opencv ; then
    cp -rp ${PFX_HERE}/lib/opencv* assets
  fi
  cp -rp ${AWDIR}/assets/ooxml* assets
  cp -rp ${AWDIR}/assets/retcl* assets
  cp -rp ${AWDIR}/assets/yeti* assets
  cp -rp ${AWDIR}/assets/calc* assets







>







2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
  cp -rp ${PFX_HERE}/lib/rhash* assets
  cp -rp ${PFX_HERE}/lib/bcrypt* assets
  cp -rp ${PFX_HERE}/lib/Tnm* assets
  cp -p ${PFX_HERE}/bin/scotty* assets/scotty
  cp -rp ${PFX_HERE}/lib/Tkined* assets
  cp -p ${PFX_HERE}/bin/tkined* assets
  cp -rp ${PFX_HERE}/lib/Mk4tcl* assets
  cp -rp ${PFX_HERE}/lib/rtext* assets
  if test -d tcl-opencv ; then
    cp -rp ${PFX_HERE}/lib/opencv* assets
  fi
  cp -rp ${AWDIR}/assets/ooxml* assets
  cp -rp ${AWDIR}/assets/retcl* assets
  cp -rp ${AWDIR}/assets/yeti* assets
  cp -rp ${AWDIR}/assets/calc* assets
Changes to undroid/luck/cgi-bin/luck.tips.
177
178
179
180
181
182
183

184
185
186
187
188
189
190
reg1.3 {Win32 registry extension}
retcl0 {Redis client library for Tcl}
rhash0.1 {Tcl interface to librhash similar to Andreas Kupries' ANKH}
rl_json0.14 {JSON value type extension}
rl_json0.15.1 {JSON value type extension}
Rtcl1.2.1 {Tcl extension embedding "R" Project for Statistical Computing}
Rtcl1.2.2 {Tcl extension embedding "R" Project for Statistical Computing}

scrolldata2 {Virtual Scrolling without a frame or canvas wrapper}
sdl2tk8.6 {Tk implementation using SDL2}
sdx1.0 {Support package for SDX utility}
snack2.2 {Sound toolkit (MP3 and OGG support not provided)}
snap70.1 {Tcl interface to snap7 using Ffidl and TclOO}
sqlite3.49.2 {Embedded SQL database}
sqlite3.50.0 {Embedded SQL database}







>







177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
reg1.3 {Win32 registry extension}
retcl0 {Redis client library for Tcl}
rhash0.1 {Tcl interface to librhash similar to Andreas Kupries' ANKH}
rl_json0.14 {JSON value type extension}
rl_json0.15.1 {JSON value type extension}
Rtcl1.2.1 {Tcl extension embedding "R" Project for Statistical Computing}
Rtcl1.2.2 {Tcl extension embedding "R" Project for Statistical Computing}
rtext0.1 {Revised text widget backported to Tk 8.6}
scrolldata2 {Virtual Scrolling without a frame or canvas wrapper}
sdl2tk8.6 {Tk implementation using SDL2}
sdx1.0 {Support package for SDX utility}
snack2.2 {Sound toolkit (MP3 and OGG support not provided)}
snap70.1 {Tcl interface to snap7 using Ffidl and TclOO}
sqlite3.49.2 {Embedded SQL database}
sqlite3.50.0 {Embedded SQL database}