Check-in [6fc4944980]
Not logged in

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

Overview
Comment:update some undroid/vanillawish build scripts
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 6fc4944980be37545cfdb843946387eeb2d83919
User & Date: chw 2019-09-03 07:25:18
Context
2019-09-04
23:55
add info from ticket [5612bd96ce] to undroidwish readme check-in: bce0587e8a user: chw tags: trunk
2019-09-03
07:26
merge with trunk check-in: 3c48d099ed user: chw tags: wtf-8-experiment
07:25
update some undroid/vanillawish build scripts check-in: 6fc4944980 user: chw tags: trunk
06:51
add tk upstream changes check-in: e67daf4f5a user: chw tags: trunk
Changes

Changes to undroid/build-undroidwish-generic.sh.

341
342
343
344
345
346
347





348
349
350
351
352
353
354
355

echo -n "build Tcl (static) ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tcl/unix
  test -e build-stamp && echo >&3 "already done" && exit 0





  ./configure --prefix=${PFX} --disable-shared --with-zipfs || exit 1
  make binaries || exit 1
  make install-binaries install-libraries install-headers \
    install-private-headers install-packages INSTALL_ROOT=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"
) || fail








>
>
>
>
>
|







341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360

echo -n "build Tcl (static) ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tcl/unix
  test -e build-stamp && echo >&3 "already done" && exit 0
  case $(arch) in
    x86_64)  en64="--enable-64bit" ;;
    aarch64) en64="--enable-64bit" ;;
    *)       en64="" ;;
  esac
  ./configure --prefix=${PFX} --disable-shared --with-zipfs $en64 || exit 1
  make binaries || exit 1
  make install-binaries install-libraries install-headers \
    install-private-headers install-packages INSTALL_ROOT=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"
) || fail

Changes to undroid/build-undroidwish-kmsdrm.sh.

334
335
336
337
338
339
340





341
342
343
344
345
346
347
348

echo -n "build Tcl (static) ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tcl/unix
  test -e build-stamp && echo >&3 "already done" && exit 0





  ./configure --prefix=${PFX} --disable-shared --with-zipfs || exit 1
  make binaries || exit 1
  make install-binaries install-libraries install-headers \
    install-private-headers install-packages INSTALL_ROOT=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"
) || fail








>
>
>
>
>
|







334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353

echo -n "build Tcl (static) ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tcl/unix
  test -e build-stamp && echo >&3 "already done" && exit 0
  case $(arch) in
    x86_64)  en64="--enable-64bit" ;;
    aarch64) en64="--enable-64bit" ;;
    *)       en64="" ;;
  esac
  ./configure --prefix=${PFX} --disable-shared --with-zipfs $en64 || exit 1
  make binaries || exit 1
  make install-binaries install-libraries install-headers \
    install-private-headers install-packages INSTALL_ROOT=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"
) || fail

Changes to undroid/build-undroidwish-linux64.sh.

336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
echo -n "build Tcl (static) ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tcl/unix
  test -e build-stamp && echo >&3 "already done" && exit 0
  ./configure --prefix=${PFX} --build=x86_64-linux-gnu --disable-shared \
    --with-zipfs || exit 1
  make binaries || exit 1
  make install-binaries install-libraries install-headers \
    install-private-headers install-packages INSTALL_ROOT=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"
) || fail








|







336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
echo -n "build Tcl (static) ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tcl/unix
  test -e build-stamp && echo >&3 "already done" && exit 0
  ./configure --prefix=${PFX} --build=x86_64-linux-gnu --disable-shared \
    --with-zipfs --enable-64bit || exit 1
  make binaries || exit 1
  make install-binaries install-libraries install-headers \
    install-private-headers install-packages INSTALL_ROOT=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"
) || fail

Changes to undroid/build-undroidwish-macosx.sh.

335
336
337
338
339
340
341
342

343
344
345
346
347
348
349
echo -n "build Tcl (static) ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tcl/macosx
  test -e build-stamp && echo >&3 "already done" && exit 0
  LDFLAGS="-Wl,-export_dynamic" ./configure --prefix=${PFX} \
    --disable-corefoundation --disable-shared --with-zipfs || exit 1

  make -f Makefile binaries || exit 1
  make -f Makefile install-binaries install-libraries install-headers \
    install-private-headers install-packages INSTALL_ROOT=${HERE} || exit 1
  if test -n "$ADD_RPATH" ; then
    install_name_tool -add_rpath $ADD_RPATH ${PFX_HERE}/bin/tclsh8.6
  fi
  touch build-stamp







|
>







335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
echo -n "build Tcl (static) ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tcl/macosx
  test -e build-stamp && echo >&3 "already done" && exit 0
  LDFLAGS="-Wl,-export_dynamic" ./configure --prefix=${PFX} \
    --disable-corefoundation --disable-shared --with-zipfs --enable-64bit \
      || exit 1
  make -f Makefile binaries || exit 1
  make -f Makefile install-binaries install-libraries install-headers \
    install-private-headers install-packages INSTALL_ROOT=${HERE} || exit 1
  if test -n "$ADD_RPATH" ; then
    install_name_tool -add_rpath $ADD_RPATH ${PFX_HERE}/bin/tclsh8.6
  fi
  touch build-stamp

Changes to undroid/build-undroidwish-wayland.sh.

334
335
336
337
338
339
340





341
342
343
344
345
346
347
348

echo -n "build Tcl (static) ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tcl/unix
  test -e build-stamp && echo >&3 "already done" && exit 0





  ./configure --prefix=${PFX} --disable-shared --with-zipfs || exit 1
  make binaries || exit 1
  make install-binaries install-libraries install-headers \
    install-private-headers install-packages INSTALL_ROOT=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"
) || fail








>
>
>
>
>
|







334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353

echo -n "build Tcl (static) ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tcl/unix
  test -e build-stamp && echo >&3 "already done" && exit 0
  case $(arch) in
    x86_64)  en64="--enable-64bit" ;;
    aarch64) en64="--enable-64bit" ;;
    *)       en64="" ;;
  esac
  ./configure --prefix=${PFX} --disable-shared --with-zipfs $en64 || exit 1
  make binaries || exit 1
  make install-binaries install-libraries install-headers \
    install-private-headers install-packages INSTALL_ROOT=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"
) || fail

Changes to undroid/build-undroidwish-win64.sh.

366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
echo -n "build Tcl (static) ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tcl/win
  test -e build-stamp && echo >&3 "already done" && exit 0
  ./configure --prefix=${PFX} --build=x86_64-windows-mingw32 --disable-shared \
    --with-zipfs --with-tickcount || exit 1
  make binaries || exit 1
  make install-binaries install-libraries \
    install-private-headers install-packages INSTALL_ROOT=${HERE} || exit 1
  # symlink for tclsh
  rm -f ${HERE}/tcl/win/tclsh86.exe
  ln -s ${HERE}/tcl/win/tclsh86s.exe ${HERE}/tcl/win/tclsh86.exe 
  touch build-stamp







|







366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
echo -n "build Tcl (static) ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tcl/win
  test -e build-stamp && echo >&3 "already done" && exit 0
  ./configure --prefix=${PFX} --build=x86_64-windows-mingw32 --disable-shared \
    --with-zipfs --enable-64bit --with-tickcount || exit 1
  make binaries || exit 1
  make install-binaries install-libraries \
    install-private-headers install-packages INSTALL_ROOT=${HERE} || exit 1
  # symlink for tclsh
  rm -f ${HERE}/tcl/win/tclsh86.exe
  ln -s ${HERE}/tcl/win/tclsh86s.exe ${HERE}/tcl/win/tclsh86.exe 
  touch build-stamp

Changes to undroid/build-vanilla-generic.sh.

336
337
338
339
340
341
342





343
344
345
346
347
348
349
350

echo -n "build Tcl (static) ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tcl/unix
  test -e build-stamp && echo >&3 "already done" && exit 0





  ./configure --prefix=${PFX} --disable-shared --with-zipfs || exit 1
  make binaries || exit 1
  make install-binaries install-libraries install-headers \
    install-private-headers install-packages INSTALL_ROOT=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"
) || fail








>
>
>
>
>
|







336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355

echo -n "build Tcl (static) ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tcl/unix
  test -e build-stamp && echo >&3 "already done" && exit 0
  case $(arch) in
    x86_64)  en64="--enable-64bit" ;;
    aarch64) en64="--enable-64bit" ;;
    *)       en64="" ;;
  esac
  ./configure --prefix=${PFX} --disable-shared --with-zipfs $en64 || exit 1
  make binaries || exit 1
  make install-binaries install-libraries install-headers \
    install-private-headers install-packages INSTALL_ROOT=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"
) || fail

Changes to undroid/build-vanilla-linux64.sh.

326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
echo -n "build Tcl (static) ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tcl/unix
  test -e build-stamp && echo >&3 "already done" && exit 0
  ./configure --prefix=${PFX} --build=x86_64-linux-gnu --disable-shared \
    --with-zipfs || exit 1
  make binaries || exit 1
  make install-binaries install-libraries install-headers \
    install-private-headers install-packages INSTALL_ROOT=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"
) || fail








|







326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
echo -n "build Tcl (static) ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tcl/unix
  test -e build-stamp && echo >&3 "already done" && exit 0
  ./configure --prefix=${PFX} --build=x86_64-linux-gnu --disable-shared \
    --with-zipfs --enable-64bit || exit 1
  make binaries || exit 1
  make install-binaries install-libraries install-headers \
    install-private-headers install-packages INSTALL_ROOT=${HERE} || exit 1
  touch build-stamp
  echo >&3 "done"
) || fail

Changes to undroid/build-vanilla-macosx.sh.

327
328
329
330
331
332
333
334

335
336
337
338
339
340
341
echo -n "build Tcl (static) ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tcl/macosx
  test -e build-stamp && echo >&3 "already done" && exit 0
  LDFLAGS="-Wl,-export_dynamic" \
    ./configure --prefix=${PFX} --disable-shared --with-zipfs || exit 1

  # have MAC_OSX_TCL in TCL_DEFS for extensions
  perl -pi -e 's/-DHAVE_TCL_CONFIG_H/-DHAVE_TCL_CONFIG_H -DMAC_OSX_TCL=1/g' \
    tclConfig.sh
  make -f Makefile binaries || exit 1
  make -f Makefile install-binaries install-libraries install-headers \
    install-private-headers install-packages INSTALL_ROOT=${HERE} || exit 1
  if test -n "$ADD_RPATH" ; then







|
>







327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
echo -n "build Tcl (static) ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tcl/macosx
  test -e build-stamp && echo >&3 "already done" && exit 0
  LDFLAGS="-Wl,-export_dynamic" \
    ./configure --prefix=${PFX} --disable-shared --with-zipfs --enable-64bit \
      || exit 1
  # have MAC_OSX_TCL in TCL_DEFS for extensions
  perl -pi -e 's/-DHAVE_TCL_CONFIG_H/-DHAVE_TCL_CONFIG_H -DMAC_OSX_TCL=1/g' \
    tclConfig.sh
  make -f Makefile binaries || exit 1
  make -f Makefile install-binaries install-libraries install-headers \
    install-private-headers install-packages INSTALL_ROOT=${HERE} || exit 1
  if test -n "$ADD_RPATH" ; then

Changes to undroid/build-vanilla-win64.sh.

353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
echo -n "build Tcl (static) ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tcl/win
  test -e build-stamp && echo >&3 "already done" && exit 0
  ./configure --prefix=${PFX} --build=x86_64-windows-mingw32 --disable-shared \
    --with-zipfs --with-tickcount || exit 1
  make binaries || exit 1
  make install-binaries install-libraries \
    install-private-headers install-packages INSTALL_ROOT=${HERE} || exit 1
  # symlink for tclsh
  rm -f ${HERE}/tcl/win/tclsh86.exe
  ln -s ${HERE}/tcl/win/tclsh86s.exe ${HERE}/tcl/win/tclsh86.exe 
  touch build-stamp







|







353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
echo -n "build Tcl (static) ... "
(
  exec 3>&1
  exec >> build.log 2>&1
  cd tcl/win
  test -e build-stamp && echo >&3 "already done" && exit 0
  ./configure --prefix=${PFX} --build=x86_64-windows-mingw32 --disable-shared \
    --with-zipfs --enable-64bit --with-tickcount || exit 1
  make binaries || exit 1
  make install-binaries install-libraries \
    install-private-headers install-packages INSTALL_ROOT=${HERE} || exit 1
  # symlink for tclsh
  rm -f ${HERE}/tcl/win/tclsh86.exe
  ln -s ${HERE}/tcl/win/tclsh86s.exe ${HERE}/tcl/win/tclsh86.exe 
  touch build-stamp