]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
tcl8: re-add tcl 8 to support building expect
authorAlexander Kanavin <alex@linutronix.de>
Thu, 31 Oct 2024 10:15:56 +0000 (11:15 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 12 Nov 2024 11:19:42 +0000 (11:19 +0000)
commit8ec7bfc6644aff011545dfb0f5a415e79d7b0844
treea0cb59c03574ed326e42db2d2acfbdb5106939a1
parent372cfdd3f9355081942514c7db44119fa55ff58e
tcl8: re-add tcl 8 to support building expect

I'd be happy to remove expect from core as it has been unmaintained for years,
but sadly gcc/binutils test suites are basically written in it (via dejagnu),
and ltp makes use of it as well.

I attempted porting expect to tcl 9, but it's a tcl extension and makes
extensive use of features that have been deprecated in tcl 8 and removed
in tcl 9, and even pokes into tcl internals.

At some point hopefully the GNU toolchain upstreams are going to notice;
for now we'll carry tcl (latest) and tcl8 recipes.

tcl and tcl8 packages can be co-installed, the latter is adjusted
to contain tclsh8.

tcl-dev and tcl8-dev packages can also be co-installed, a few files
in tcl8-dev are renamed to avoid clashes with tcl-dev (tcl.pc -> tcl8.pc,
and similar for tclConfig.sh and tclooConfig.sh).

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/distro/include/maintainers.inc
meta/conf/distro/include/ptest-packagelists.inc
meta/recipes-devtools/expect/expect/run-ptest
meta/recipes-devtools/expect/expect_5.45.4.bb
meta/recipes-devtools/tcltk8/tcl8/alter-includedir.patch [new file with mode: 0644]
meta/recipes-devtools/tcltk8/tcl8/fix_non_native_build_issue.patch [new file with mode: 0644]
meta/recipes-devtools/tcltk8/tcl8/interp.patch [new file with mode: 0644]
meta/recipes-devtools/tcltk8/tcl8/run-ptest [new file with mode: 0644]
meta/recipes-devtools/tcltk8/tcl8/tcl-add-soname.patch [new file with mode: 0644]
meta/recipes-devtools/tcltk8/tcl8/tcl-remove-hardcoded-install-path.patch [new file with mode: 0644]
meta/recipes-devtools/tcltk8/tcl8_8.6.15.bb [new file with mode: 0644]