Check-in [3712d60f4e]
Not logged in

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

Overview
Comment:cleanup some build scripts for twv install
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 3712d60f4e344cd84c008080cda573d36d80834e
User & Date: chw 2019-06-20 06:01:19.822
Context
2019-06-21
04:55
improve twv examples check-in: a817a75a56 user: chw tags: trunk
2019-06-20
06:02
merge with trunk check-in: 00c1373454 user: chw tags: wtf-8-experiment
06:01
cleanup some build scripts for twv install check-in: 3712d60f4e user: chw tags: trunk
05:44
cleanup twv and examples check-in: 71419c4d08 user: chw tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to undroid/build-vanilla-generic.sh.
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
    exec >> build.log 2>&1
    cd twv
    test -e build-stamp && echo >&3 "already done" && exit 0
    make TCL_CFLAGS="-I${PFX_HERE}/include -DUSE_TCL_STUBS=1" \
      TCL_LDFLAGS="-L${PFX_HERE}/lib -ltclstub8.6" || exit 1
    install -d ${PFX_HERE}/lib/twv0.1
    install -m 755 libtwv.so ${PFX_HERE}/lib/twv0.1
    install -m 644 pkgIndex.tcl ${PFX_HERE}/lib/twv0.1
    touch build-stamp
    echo >&3 "done"
  ) || fail
fi

echo -n "strip binaries ... "
(







|







1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
    exec >> build.log 2>&1
    cd twv
    test -e build-stamp && echo >&3 "already done" && exit 0
    make TCL_CFLAGS="-I${PFX_HERE}/include -DUSE_TCL_STUBS=1" \
      TCL_LDFLAGS="-L${PFX_HERE}/lib -ltclstub8.6" || exit 1
    install -d ${PFX_HERE}/lib/twv0.1
    install -m 755 libtwv.so ${PFX_HERE}/lib/twv0.1
    install -m 644 pkgIndex.tcl.embed ${PFX_HERE}/lib/twv0.1/pkgIndex.tcl
    touch build-stamp
    echo >&3 "done"
  ) || fail
fi

echo -n "strip binaries ... "
(
Changes to undroid/build-vanilla-macosx.sh.
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
  exec >> build.log 2>&1
  cd twv
  test -e build-stamp && echo >&3 "already done" && exit 0
  make TCL_CFLAGS="-I${PFX_HERE}/include -DUSE_TCL_STUBS=1" \
    TCL_LDFLAGS="-L${PFX_HERE}/lib -ltclstub8.6" || exit 1
  install -d ${PFX_HERE}/lib/twv0.1
  install -m 755 libtwv.dylib ${PFX_HERE}/lib/twv0.1
  install -m 644 pkgIndex.tcl ${PFX_HERE}/lib/twv0.1
  touch build-stamp
  echo >&3 "done"
) || fail

echo -n "strip binaries ... "
(
  exec 3>&1







|







1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
  exec >> build.log 2>&1
  cd twv
  test -e build-stamp && echo >&3 "already done" && exit 0
  make TCL_CFLAGS="-I${PFX_HERE}/include -DUSE_TCL_STUBS=1" \
    TCL_LDFLAGS="-L${PFX_HERE}/lib -ltclstub8.6" || exit 1
  install -d ${PFX_HERE}/lib/twv0.1
  install -m 755 libtwv.dylib ${PFX_HERE}/lib/twv0.1
  install -m 644 pkgIndex.tcl.embed ${PFX_HERE}/lib/twv0.1/pkgIndex.tcl
  touch build-stamp
  echo >&3 "done"
) || fail

echo -n "strip binaries ... "
(
  exec 3>&1
Changes to undroid/build-vanilla-win32.sh.
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
  exec >> build.log 2>&1
  cd twv
  test -e build-stamp && echo >&3 "already done" && exit 0
  make TCL_CFLAGS="-I${PFX_HERE}/include -DUSE_TCL_STUBS=1" \
    TCL_LDFLAGS="-L${PFX_HERE}/lib -ltclstub86" TARGET_OS=Windows_NT || exit 1
  install -d ${PFX_HERE}/lib/twv0.1
  install -m 755 libtwv.dll ${PFX_HERE}/lib/twv0.1
  install -m 644 pkgIndex.tcl ${PFX_HERE}/lib/twv0.1
  touch build-stamp
  echo >&3 "done"
) || fail

echo -n "strip binaries ... "
(
  exec 3>&1







|







1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
  exec >> build.log 2>&1
  cd twv
  test -e build-stamp && echo >&3 "already done" && exit 0
  make TCL_CFLAGS="-I${PFX_HERE}/include -DUSE_TCL_STUBS=1" \
    TCL_LDFLAGS="-L${PFX_HERE}/lib -ltclstub86" TARGET_OS=Windows_NT || exit 1
  install -d ${PFX_HERE}/lib/twv0.1
  install -m 755 libtwv.dll ${PFX_HERE}/lib/twv0.1
  install -m 644 pkgIndex.tcl.embed ${PFX_HERE}/lib/twv0.1/pkgIndex.tcl
  touch build-stamp
  echo >&3 "done"
) || fail

echo -n "strip binaries ... "
(
  exec 3>&1
Changes to undroid/build-vanilla-win64.sh.
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
  exec >> build.log 2>&1
  cd twv
  test -e build-stamp && echo >&3 "already done" && exit 0
  make TCL_CFLAGS="-I${PFX_HERE}/include -DUSE_TCL_STUBS=1" \
    TCL_LDFLAGS="-L${PFX_HERE}/lib -ltclstub86" TARGET_OS=Windows_NT || exit 1
  install -d ${PFX_HERE}/lib/twv0.1
  install -m 755 libtwv.dll ${PFX_HERE}/lib/twv0.1
  install -m 644 pkgIndex.tcl ${PFX_HERE}/lib/twv0.1
  touch build-stamp
  echo >&3 "done"
) || fail

echo -n "strip binaries ... "
(
  exec 3>&1







|







1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
  exec >> build.log 2>&1
  cd twv
  test -e build-stamp && echo >&3 "already done" && exit 0
  make TCL_CFLAGS="-I${PFX_HERE}/include -DUSE_TCL_STUBS=1" \
    TCL_LDFLAGS="-L${PFX_HERE}/lib -ltclstub86" TARGET_OS=Windows_NT || exit 1
  install -d ${PFX_HERE}/lib/twv0.1
  install -m 755 libtwv.dll ${PFX_HERE}/lib/twv0.1
  install -m 644 pkgIndex.tcl.embed ${PFX_HERE}/lib/twv0.1/pkgIndex.tcl
  touch build-stamp
  echo >&3 "done"
) || fail

echo -n "strip binaries ... "
(
  exec 3>&1
undroid/tkdnd/demos/dndSpy.tcl became executable.