summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tcltk')
-rw-r--r--dev-tcltk/bwidget/Manifest2
-rw-r--r--dev-tcltk/bwidget/bwidget-1.9.16.ebuild (renamed from dev-tcltk/bwidget/bwidget-1.9.14.ebuild)12
-rw-r--r--dev-tcltk/expect/expect-5.45.4-r3.ebuild85
-rw-r--r--dev-tcltk/itcl/Manifest4
-rw-r--r--dev-tcltk/itcl/files/itcl-4.2.4-gentoo.patch11
-rw-r--r--dev-tcltk/itcl/itcl-4.1.1.ebuild60
-rw-r--r--dev-tcltk/itcl/itcl-4.2.0.ebuild60
-rw-r--r--dev-tcltk/itcl/itcl-4.2.2.ebuild5
-rw-r--r--dev-tcltk/itcl/itcl-4.2.4-r1.ebuild (renamed from dev-tcltk/itcl/itcl-4.2.1.ebuild)18
-rw-r--r--dev-tcltk/itk/Manifest2
-rw-r--r--dev-tcltk/itk/itk-4.1.0-r1.ebuild69
-rw-r--r--dev-tcltk/itk/itk-4.1.0.ebuild3
-rw-r--r--dev-tcltk/itk/itk-4.2.3-r1.ebuild76
-rw-r--r--dev-tcltk/itk/metadata.xml1
-rw-r--r--dev-tcltk/iwidgets/iwidgets-4.1.1-r2.ebuild3
-rw-r--r--dev-tcltk/iwidgets/iwidgets-4.1.1-r3.ebuild71
-rw-r--r--dev-tcltk/mysqltcl/mysqltcl-3.052-r2.ebuild (renamed from dev-tcltk/mysqltcl/mysqltcl-3.052-r1.ebuild)10
-rw-r--r--dev-tcltk/scwoop/scwoop-4.1-r1.ebuild3
-rw-r--r--dev-tcltk/tcllib/tcllib-1.21.ebuild4
-rw-r--r--dev-tcltk/tclpython/tclpython-5.0-r1.ebuild44
-rw-r--r--dev-tcltk/tclpython/tclpython-5.0-r2.ebuild3
-rw-r--r--dev-tcltk/tclx/Manifest2
-rw-r--r--dev-tcltk/tclx/files/tclx-8.4.4-configure-clang16-deux.patch83
-rw-r--r--dev-tcltk/tclx/files/tclx-8.4.4-configure-clang16.patch33
-rw-r--r--dev-tcltk/tclx/files/tclx-8.4.4-gcc11.patch192
-rw-r--r--dev-tcltk/tclx/tclx-8.6.3.ebuild (renamed from dev-tcltk/tclx/tclx-8.4.4-r4.ebuild)15
-rw-r--r--dev-tcltk/tclxml/files/tclxml-3.3.1-funcPointer.patch38
-rw-r--r--dev-tcltk/tclxml/tclxml-3.3.1-r2.ebuild (renamed from dev-tcltk/tclxml/tclxml-3.3.1-r1.ebuild)9
-rw-r--r--dev-tcltk/tdom/files/tdom-0.9.3-expat.patch10
-rw-r--r--dev-tcltk/tdom/tdom-0.9.3.ebuild12
-rw-r--r--dev-tcltk/thread/Manifest3
-rw-r--r--dev-tcltk/thread/metadata.xml1
-rw-r--r--dev-tcltk/thread/thread-2.8.5.ebuild1
-rw-r--r--dev-tcltk/thread/thread-2.8.8.ebuild44
-rw-r--r--dev-tcltk/thread/thread-2.8.9.ebuild49
-rw-r--r--dev-tcltk/tkcon/Manifest3
-rw-r--r--dev-tcltk/tkcon/tkcon-2.5-r1.ebuild34
-rw-r--r--dev-tcltk/tkcon/tkcon-2.7.11.ebuild (renamed from dev-tcltk/tkcon/tkcon-2.7.3.ebuild)4
-rw-r--r--dev-tcltk/tkdnd/Manifest1
-rw-r--r--dev-tcltk/tkdnd/tkdnd-2.9.2-r1.ebuild (renamed from dev-tcltk/tkdnd/tkdnd-2.9.2.ebuild)8
-rw-r--r--dev-tcltk/tkdnd/tkdnd-2.9.4-r1.ebuild45
-rw-r--r--dev-tcltk/tkimg/Manifest6
-rw-r--r--dev-tcltk/tkimg/files/tkimg-1.4-jpeg-9.patch18
-rw-r--r--dev-tcltk/tkimg/files/tkimg-1.4.13-test.patch11
-rw-r--r--dev-tcltk/tkimg/files/tkimg-1.4.14-gcc11.patch74
-rw-r--r--dev-tcltk/tkimg/files/tkimg-1.4.9-fno-common.patch11
-rw-r--r--dev-tcltk/tkimg/tkimg-1.4.13-r3.ebuild97
-rw-r--r--dev-tcltk/tkimg/tkimg-1.4.15.ebuild4
-rw-r--r--dev-tcltk/tkimg/tkimg-1.4.16.ebuild (renamed from dev-tcltk/tkimg/tkimg-1.4.14-r2.ebuild)19
-rw-r--r--dev-tcltk/tkimg/tkimg-1.4.9-r1.ebuild105
-rw-r--r--dev-tcltk/tkpiechart/tkpiechart-6.5-r2.ebuild3
-rw-r--r--dev-tcltk/tkpng/tkpng-0.9-r2.ebuild6
-rw-r--r--dev-tcltk/tktable/tktable-2.10-r2.ebuild3
-rw-r--r--dev-tcltk/tktable/tktable-2.10.8.ebuild9
-rw-r--r--dev-tcltk/tktray/tktray-1.3.9-r2.ebuild6
-rw-r--r--dev-tcltk/tktray/tktray-1.3.9.ebuild33
-rw-r--r--dev-tcltk/tktreectrl/tktreectrl-2.4.1-r1.ebuild48
-rw-r--r--dev-tcltk/togl/togl-2.0-r3.ebuild46
-rw-r--r--dev-tcltk/togl/togl-2.0-r4.ebuild6
59 files changed, 572 insertions, 1066 deletions
diff --git a/dev-tcltk/bwidget/Manifest b/dev-tcltk/bwidget/Manifest
index 892f0c073a09..9f43d5226710 100644
--- a/dev-tcltk/bwidget/Manifest
+++ b/dev-tcltk/bwidget/Manifest
@@ -1,2 +1,2 @@
DIST BWidget-1.9.15.zip 329390 BLAKE2B 011bc3e303082af8ec4aaf1bfa3812cec0e0c91dac41db867d5ebd5883949795d5877a53050be31823a218fdbc5113df8c848378af133ecb26dc07f5e8360b1c SHA512 cc3c46a112e902158c3f010941efcd51b42adae5b989511b325c619bffe79c3a11d74b044619e1ed9ef4b77abf18f7a2e8dfbd3fe46e1d26a1b61a02c3a3096c
-DIST bwidget-1.9.14.tar.gz 261654 BLAKE2B 2c0e8ed33624f6304e775da3be02975aced85c8eeb8ca7fd736858a9323f7bd6aad96bb3697db1c9c571d5dc72ff21d3c161d4f2a8ada83f9ec615391c0f1890 SHA512 7db9c69ae423e97356ff3e54ffc77a450fb967907b32356f343aa4321faceb3e807e63babb2edf0e2c6ab086af570dbd6a02a85e4ca2c1f020ae4df78c8f0fe8
+DIST bwidget-1.9.16.tar.gz 252813 BLAKE2B 2e8aff10d73e5782603a62991551d83cce6b88513e2a1b9487105ed2778a144f10e1815be7a4a9e34e2e036efb9526a221e4a880d53e30bed85bbc67c852141f SHA512 1355e8d8fa784d4bb72a82eae267b6c958cd7d401d68ded05e296929b8d39d64aeab4620c7c9acb02d31bf8da6c3da15460429f95f8d07846f68a8e86257f43d
diff --git a/dev-tcltk/bwidget/bwidget-1.9.14.ebuild b/dev-tcltk/bwidget/bwidget-1.9.16.ebuild
index 1ed8f4bfa110..a6b28a07b2df 100644
--- a/dev-tcltk/bwidget/bwidget-1.9.14.ebuild
+++ b/dev-tcltk/bwidget/bwidget-1.9.16.ebuild
@@ -1,25 +1,23 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit virtualx
-MY_PN=${PN/bw/BW}
-MY_P=${MY_PN}-${PV}
-
DESCRIPTION="High-level widget set for Tcl/Tk"
HOMEPAGE="http://tcllib.sourceforge.net/"
-SRC_URI="mirror://sourceforge/tcllib/${MY_PN}/${PV}/${P}.tar.gz"
+SRC_URI="mirror://sourceforge/tcllib/BWidget/${PV}/${P}.tar.gz"
LICENSE="tcltk"
SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
IUSE="doc"
RESTRICT="!test? ( test )"
DEPEND="dev-lang/tk:0"
RDEPEND="${DEPEND}"
+BDEPEND="app-arch/unzip"
PATCHES=( "${FILESDIR}"/${PN}-1.9.8-test.patch )
diff --git a/dev-tcltk/expect/expect-5.45.4-r3.ebuild b/dev-tcltk/expect/expect-5.45.4-r3.ebuild
deleted file mode 100644
index 28c3598bdbbb..000000000000
--- a/dev-tcltk/expect/expect-5.45.4-r3.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools
-
-MY_P="${PN}${PV}"
-DESCRIPTION="tool for automating interactive applications"
-HOMEPAGE="https://core.tcl-lang.org/expect/"
-SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
-IUSE="debug doc threads"
-
-# We need dejagnu for src_test, but dejagnu needs expect
-# to compile/run, so we cant add dejagnu to DEPEND :/
-DEPEND=">=dev-lang/tcl-8.2:=[threads?]"
-RDEPEND="${DEPEND}"
-
-S=${WORKDIR}/${MY_P}
-
-PATCHES=( "${FILESDIR}"/${P}-examples.patch )
-
-src_prepare() {
- default
- sed -i "s:/usr/local/bin:${EPREFIX}/usr/bin:" expect.man || die
-
- eapply "${FILESDIR}"/${PN}-5.45-gfbsd.patch
- eapply "${FILESDIR}"/${PN}-5.44.1.15-ldflags.patch
- eapply "${FILESDIR}"/${PN}-5.45-headers.patch #337943
- eapply "${FILESDIR}"/${PN}-5.45-format-security.patch
- eapply "${FILESDIR}"/${PN}-5.45.4-configure-in.patch
- sed -i 's:ifdef HAVE_SYS_WAIT_H:ifndef NO_SYS_WAIT_H:' *.c
-
- # fix install_name on darwin
- [[ ${CHOST} == *-darwin* ]] && \
- eapply "${FILESDIR}"/${P}-darwin-install_name.patch
-
- mv configure.{in,ac} || die
-
- eautoconf
-}
-
-src_configure() {
- # the 64bit flag is useless ... it only adds 64bit compiler flags
- # (like -m64) which the target toolchain should already handle
- econf \
- --with-tcl="${EPREFIX}/usr/$(get_libdir)" \
- --disable-64bit \
- --enable-shared \
- $(use_enable threads) \
- $(use_enable debug symbols mem)
-}
-
-src_test() {
- # we need dejagnu to do tests ... but dejagnu needs
- # expect ... so don't do tests unless we have dejagnu
- type -p runtest || return 0
- emake test
-}
-
-expect_make_var() {
- touch pkgIndex.tcl-hand
- printf 'all:;echo $('$1')\ninclude Makefile' | emake --no-print-directory -s -f -
- rm -f pkgIndex.tcl-hand || die
-}
-
-src_install() {
- default
-
- if use doc ; then
- docinto examples
- echo dodoc \
- example/README \
- $(printf 'example/%s ' $(expect_make_var _SCRIPTS)) \
- $(printf 'example/%s.man ' $(expect_make_var _SCRIPTS_MANPAGES))
- dodoc \
- example/README \
- $(printf 'example/%s ' $(expect_make_var _SCRIPTS)) \
- $(printf 'example/%s.man ' $(expect_make_var _SCRIPTS_MANPAGES))
- fi
-}
diff --git a/dev-tcltk/itcl/Manifest b/dev-tcltk/itcl/Manifest
index 15be8db25966..ea11e0ae88c4 100644
--- a/dev-tcltk/itcl/Manifest
+++ b/dev-tcltk/itcl/Manifest
@@ -1,4 +1,2 @@
-DIST itcl-4-2-1.tar.gz 516035 BLAKE2B 795641559aa2c9039ecabaf0a25214360a379740dc9925015d3a08205b54ee6e1049497155d728b8c4d539976c5557d528ca2428c8cd5e33d6023a5bc1d1051b SHA512 902847885ca3aaa9b15497f8f95897cf3cfca664ba3ee9a57878402b0c47ad099ff63df1e5439d3d52a5df8e45376b233f1a361318dcad0831cf29f6c11c2275
DIST itcl-4-2-2.tar.gz 522497 BLAKE2B 3bb79525e5796b37b9274fe514b2430f8cd3f17f9b63ad008e1cc011eb298d47efedc9b684ea23cc0811f2da5f14d5dbc2c6e4b3ebf8bd7787fcc71661a621db SHA512 60bb5fba6c1188cbec15236c2f33b2409ff7a77af89526552a865376703574d01075fa9422d89e6f10c188b3eb8b3553f6d449704f55444005d2050de1c255d6
-DIST itcl4.1.1.tar.gz 436718 BLAKE2B 50f5518460dc6569edcd0229b71439cb10a724b50c31387ebd1ffa85f9fbf58d5bd5163847a1d7ffa791d5acd5d72b08188f01f0e5c4730ba9060fc531071cd4 SHA512 1e08dbefe33e5464320c62e32d153b3e473462cded2d715ba1c504deacf190062672fbece40a021f25798440e2fbed4ecda763db5789fc6afb5eb2052bdf66e2
-DIST itcl4.2.0.tar.gz 428635 BLAKE2B 38898f3377583115eed3b4d5a8a610e0d0a515a1e4852fe3cea04eea68fe64f158bc79d7d5f3041831f97e5e28cee5a67721a187ed5cfbaa33c69e4668b55f31 SHA512 42d13d7f4f841bff49c508fe5d17c12e81b7e381db470d7db658c925b6e609a0821953aa8344764633a3b996eb5757aaae7014df13f4e38ade2dd7aa068ba385
+DIST itcl-4-2-4.tar.gz 536828 BLAKE2B 970d6e5cbe7322d88a0117737df553f155cdda3264aaae93b30db361f40296dde74f1652d26bb6afccc3ca4c825fbc012710d8292b6df991af3a86f8e31c2e8b SHA512 fbe3e4298721b97777947675b42a434c8c7ec566564b81b1479fb958519ac4176b707f9be7bc6860ee72ee10fe29c82b211c4ac816f9ba6d4269ab43007eefe6
diff --git a/dev-tcltk/itcl/files/itcl-4.2.4-gentoo.patch b/dev-tcltk/itcl/files/itcl-4.2.4-gentoo.patch
new file mode 100644
index 000000000000..14a67a13f6b4
--- /dev/null
+++ b/dev-tcltk/itcl/files/itcl-4.2.4-gentoo.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac 2024-02-27 20:44:51.154115391 +0100
++++ b/configure.ac 2024-02-27 20:45:10.488884871 +0100
+@@ -263,7 +263,7 @@
+ itcl_SRC_DIR=`cd "${itcl_SRC_DIR}"; pwd`
+ AC_SUBST(itcl_SRC_DIR)
+
+-eval itcl_INCLUDE_SPEC="-I${itcl_SRC_DIR}/generic -I${itcl_SRC_DIR}"
++itcl_INCLUDE_SPEC="-I${itcl_SRC_DIR}/generic -I${itcl_SRC_DIR}"
+ AC_SUBST(itcl_INCLUDE_SPEC)
+
+ #--------------------------------------------------------------------
diff --git a/dev-tcltk/itcl/itcl-4.1.1.ebuild b/dev-tcltk/itcl/itcl-4.1.1.ebuild
deleted file mode 100644
index 1df899f25f0c..000000000000
--- a/dev-tcltk/itcl/itcl-4.1.1.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_P="${PN}${PV}"
-
-DESCRIPTION="Object Oriented Enhancements for Tcl/Tk"
-HOMEPAGE="http://incrtcl.sourceforge.net/"
-SRC_URI="mirror://sourceforge/project/incrtcl/%5Bincr%20Tcl_Tk%5D-4-source/itcl%20${PV}/${MY_P}.tar.gz"
-
-SLOT="0"
-LICENSE="BSD"
-KEYWORDS="~alpha amd64 ~ia64 ppc sparc x86 ~amd64-linux ~x86-linux"
-IUSE=""
-
-RDEPEND=">=dev-lang/tcl-8.6:0="
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${PN}${PV}"
-
-# somehow broken
-#RESTRICT=test
-
-src_configure() {
- econf \
- --with-tcl="${EPREFIX}"/usr/$(get_libdir) \
- --with-tclinclude="${EPREFIX}"/usr/include \
- --disable-rpath
-}
-
-src_compile() {
- # adjust install_name on darwin
- if [[ ${CHOST} == *-darwin* ]]; then
- sed -i \
- -e 's:^\(SHLIB_LD\W.*\)$:\1 -install_name ${pkglibdir}/$@:' \
- "${S}"/Makefile || die 'sed failed'
- fi
-
- sed 's:-pipe::g' -i Makefile || die
-
- emake CFLAGS_DEFAULT="${CFLAGS}"
-}
-
-src_install() {
- default
-
- sed \
- -e "/BUILD_LIB_SPEC/s:-L${S}::g" \
- -e "/BUILD_STUB_LIB_SPEC/s:-L${S}::g" \
- -e "/BUILD_STUB_LIB_PATH/s:${S}:${EPREFIX}/usr/$(get_libdir)/${MY_P}/:g" \
- -e "/INCLUDE_SPEC/s:${S}/generic:${EPREFIX}/usr/include:g" \
- -e "s:${S}:${EPREFIX}/usr/$(get_libdir)/${MY_P}/:g" \
- -i "${ED}"/usr/$(get_libdir)/${MY_P}/itclConfig.sh || die
-
- cat >> "${T}"/34${PN} <<- EOF
- LDPATH="${EPREFIX}/usr/$(get_libdir)/${MY_P}/"
- EOF
- doenvd "${T}"/34${PN}
-}
diff --git a/dev-tcltk/itcl/itcl-4.2.0.ebuild b/dev-tcltk/itcl/itcl-4.2.0.ebuild
deleted file mode 100644
index 4e580a9a8695..000000000000
--- a/dev-tcltk/itcl/itcl-4.2.0.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_P="${PN}${PV}"
-
-DESCRIPTION="Object Oriented Enhancements for Tcl/Tk"
-HOMEPAGE="http://incrtcl.sourceforge.net/"
-SRC_URI="mirror://sourceforge/project/incrtcl/%5Bincr%20Tcl_Tk%5D-4-source/itcl%20${PV}/${MY_P}.tar.gz"
-
-SLOT="0"
-LICENSE="BSD"
-KEYWORDS="~alpha amd64 arm64 ~ia64 ppc sparc x86 ~amd64-linux ~x86-linux"
-IUSE=""
-
-RDEPEND=">=dev-lang/tcl-8.6:0="
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${PN}${PV}"
-
-# somehow broken
-#RESTRICT=test
-
-src_configure() {
- econf \
- --with-tcl="${EPREFIX}"/usr/$(get_libdir) \
- --with-tclinclude="${EPREFIX}"/usr/include \
- --disable-rpath
-}
-
-src_compile() {
- # adjust install_name on darwin
- if [[ ${CHOST} == *-darwin* ]]; then
- sed -i \
- -e 's:^\(SHLIB_LD\W.*\)$:\1 -install_name ${pkglibdir}/$@:' \
- "${S}"/Makefile || die 'sed failed'
- fi
-
- sed 's:-pipe::g' -i Makefile || die
-
- emake CFLAGS_DEFAULT="${CFLAGS}"
-}
-
-src_install() {
- default
-
- sed \
- -e "/BUILD_LIB_SPEC/s:-L${S}::g" \
- -e "/BUILD_STUB_LIB_SPEC/s:-L${S}::g" \
- -e "/BUILD_STUB_LIB_PATH/s:${S}:${EPREFIX}/usr/$(get_libdir)/${MY_P}/:g" \
- -e "/INCLUDE_SPEC/s:${S}/generic:${EPREFIX}/usr/include:g" \
- -e "s:${S}:${EPREFIX}/usr/$(get_libdir)/${MY_P}/:g" \
- -i "${ED}"/usr/$(get_libdir)/${MY_P}/itclConfig.sh || die
-
- cat >> "${T}"/34${PN} <<- EOF
- LDPATH="${EPREFIX}/usr/$(get_libdir)/${MY_P}/"
- EOF
- doenvd "${T}"/34${PN}
-}
diff --git a/dev-tcltk/itcl/itcl-4.2.2.ebuild b/dev-tcltk/itcl/itcl-4.2.2.ebuild
index 87438d8e2a38..4df25396bfcf 100644
--- a/dev-tcltk/itcl/itcl-4.2.2.ebuild
+++ b/dev-tcltk/itcl/itcl-4.2.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -12,7 +12,6 @@ SRC_URI="https://github.com/tcltk/${PN}/archive/refs/tags/${MYP}.tar.gz"
SLOT="0"
LICENSE="BSD"
KEYWORDS="~alpha amd64 arm64 ~ia64 ppc ~riscv sparc x86 ~amd64-linux ~x86-linux"
-IUSE=""
RDEPEND=">=dev-lang/tcl-8.6:0="
DEPEND="${RDEPEND}"
@@ -23,7 +22,7 @@ S="${WORKDIR}/${PN}-${MYP}"
#RESTRICT=test
QA_CONFIG_IMPL_DECL_SKIP=(
- stat64 # used to test for Large File Support
+ stat64 opendir64 rewinddir64 closedir64 # used to test for Large File Support
)
src_prepare() {
diff --git a/dev-tcltk/itcl/itcl-4.2.1.ebuild b/dev-tcltk/itcl/itcl-4.2.4-r1.ebuild
index f91441c20dc7..23c618f45aec 100644
--- a/dev-tcltk/itcl/itcl-4.2.1.ebuild
+++ b/dev-tcltk/itcl/itcl-4.2.4-r1.ebuild
@@ -1,7 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
+
+inherit autotools
MYP="${PN}-$(ver_rs 1- '-')"
@@ -11,8 +13,7 @@ SRC_URI="https://github.com/tcltk/${PN}/archive/refs/tags/${MYP}.tar.gz"
SLOT="0"
LICENSE="BSD"
-KEYWORDS="~alpha ~amd64 ~arm64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
-IUSE=""
+KEYWORDS="~alpha ~amd64 ~arm64 ~ia64 ~ppc ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
RDEPEND=">=dev-lang/tcl-8.6:0="
DEPEND="${RDEPEND}"
@@ -22,9 +23,17 @@ S="${WORKDIR}/${PN}-${MYP}"
# somehow broken
#RESTRICT=test
+QA_CONFIG_IMPL_DECL_SKIP=(
+ stat64 opendir64 readdir64 rewinddir64 closedir64 # used on AIX
+)
+
+PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
+
src_prepare() {
default
cp -r itclWidget/tclconfig tclconfig || die
+ echo "git-a3e8b43c671afc7f0d82bd892325d42c813791ab" > manifest.uuid
+ eautoreconf
}
src_configure() {
@@ -64,4 +73,5 @@ src_install() {
LDPATH="${EPREFIX}/usr/$(get_libdir)/${MY_P}/"
EOF
doenvd "${T}"/34${PN}
+ dosym . /usr/$(get_libdir)/${MY_P}/library
}
diff --git a/dev-tcltk/itk/Manifest b/dev-tcltk/itk/Manifest
index e63dd42916d8..b727a0c99a3b 100644
--- a/dev-tcltk/itk/Manifest
+++ b/dev-tcltk/itk/Manifest
@@ -1 +1,3 @@
+DIST itk-4-2-3.tar.gz 168217 BLAKE2B 450c9f3393228b93a716cf338ad322ecc8934aca08a1f7c4a81dab07a38ac6729ab2ae43b7197130e3cda1bc03ed61c81f9d63cac542d8dcbb199764d47ae4d7 SHA512 0c5c70119b0d0dd950a8e3a52f5a508935bad920f647c38193980a414f617589711a65f4eac3ec67c4bef72f787205cae12513d4d3d35c3b8a795b1bb763fac4
DIST itk4.1.0.tar.gz 253796 BLAKE2B 7d51689d41871f39fbdf940f1aede2c89ee0165cc6be989f7da65df85a0d15e5db037722a5e30a284e51129b7bfff20dfde0fbc78d2d72d8acb9031f328a5d16 SHA512 1deed09daf66ae1d0cc88550be13814edff650f3ef2ecb5ae8d28daf92e37550b0e46921eb161da8ccc3886aaf62a4a3087df0f13610839b7c2d6f4b39c9f07e
+DIST tclconfig-2023.12.11.tar.gz 49691 BLAKE2B 53bb91d125fd080b79ac83af1053d8bb981a8e917b7c8e4db71da89c43263d75a9604623a85d560bcbf3d686f61ccf21bffd794d333aa6cb35c959ab3042991d SHA512 c4eaa31ca1ec585536cd6d31a548b347dae3167197433674d2f3912ce85bad00dda55b0c60eebf26cb5f9d651c8437688e1829f7d3996a22bba2d93e4538946c
diff --git a/dev-tcltk/itk/itk-4.1.0-r1.ebuild b/dev-tcltk/itk/itk-4.1.0-r1.ebuild
new file mode 100644
index 000000000000..fc8d2ac21bcb
--- /dev/null
+++ b/dev-tcltk/itk/itk-4.1.0-r1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools virtualx
+
+MY_PV=${PV/_beta/b}
+
+DESCRIPTION="Object Oriented Enhancements for Tcl/Tk"
+HOMEPAGE="http://incrtcl.sourceforge.net/"
+SRC_URI="mirror://sourceforge/project/incrtcl/%5Bincr%20Tcl_Tk%5D-4-source/itk%20${MY_PV}/${PN}${MY_PV}.tar.gz"
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ >=dev-lang/tk-8.6:=
+ >=dev-tcltk/itcl-4.1"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}${MY_PV}"
+
+QA_CONFIG_IMPL_DECL_SKIP=(
+ stat64 # used to test for Large File Support
+)
+
+src_prepare() {
+ mv configure.{in,ac} || die
+ AT_M4DIR=.. eautoconf
+ sed 's:-pipe::g' -i configure || die
+ default
+}
+
+src_configure() {
+ local itcl_package=$(best_version dev-tcltk/itcl)
+ local itcl_version=${itcl_package#*/*-}
+ local ITCL_VERSION="${itcl_version%-*}"
+ source "${EPREFIX}"/usr/$(get_libdir)/itcl${ITCL_VERSION}*/itclConfig.sh || die
+ econf \
+ --with-tcl="${EPREFIX}"/usr/$(get_libdir) \
+ --with-tclinclude="${EPREFIX}"/usr/include \
+ --with-tk="${EPREFIX}"/usr/$(get_libdir) \
+ --with-tkinclude="${EPREFIX}"/usr/include \
+ --with-itcl="${ITCL_SRC_DIR}" \
+ --with-x
+}
+
+src_compile() {
+ emake CFLAGS_DEFAULT="${CFLAGS}"
+}
+
+src_test() {
+ virtx default
+}
+
+src_install() {
+ default
+
+ dodoc license.terms
+
+ cat >> "${T}"/34${PN} <<- EOF
+ LDPATH="${EPREFIX}/usr/$(get_libdir)/${PN}${MY_PV}/"
+ EOF
+ doenvd "${T}"/34${PN}
+ dosym . /usr/$(get_libdir)/${PN}${MY_PV}/library
+}
diff --git a/dev-tcltk/itk/itk-4.1.0.ebuild b/dev-tcltk/itk/itk-4.1.0.ebuild
index 5e9a1a0d1b2d..ccff38c36326 100644
--- a/dev-tcltk/itk/itk-4.1.0.ebuild
+++ b/dev-tcltk/itk/itk-4.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -11,7 +11,6 @@ DESCRIPTION="Object Oriented Enhancements for Tcl/Tk"
HOMEPAGE="http://incrtcl.sourceforge.net/"
SRC_URI="mirror://sourceforge/project/incrtcl/%5Bincr%20Tcl_Tk%5D-4-source/itk%20${MY_PV}/${PN}${MY_PV}.tar.gz"
-IUSE=""
SLOT="0"
LICENSE="BSD"
KEYWORDS="amd64 ~arm64 ~ia64 ppc ~riscv sparc x86 ~amd64-linux ~x86-linux"
diff --git a/dev-tcltk/itk/itk-4.2.3-r1.ebuild b/dev-tcltk/itk/itk-4.2.3-r1.ebuild
new file mode 100644
index 000000000000..2b9a5bcac2fe
--- /dev/null
+++ b/dev-tcltk/itk/itk-4.2.3-r1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit virtualx
+
+MY_PV=${PN}-$(ver_rs 1- '-')
+TCLCONFIGId=4a924db4fb37fa0c7cc2ae987b294dbaa97bc713
+
+DESCRIPTION="Object Oriented Enhancements for Tcl/Tk"
+HOMEPAGE="http://incrtcl.sourceforge.net/"
+SRC_URI="
+ https://github.com/tcltk/${PN}/archive/refs/tags/${MY_PV}.tar.gz
+ https://github.com/tcltk/tclconfig/archive/${TCLCONFIGId}.tar.gz
+ -> tclconfig-2023.12.11.tar.gz
+"
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ >=dev-lang/tk-8.6:=
+ >=dev-tcltk/itcl-4.1"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+QA_CONFIG_IMPL_DECL_SKIP=(
+ opendir64 readdir64 rewinddir64 closedir64 stat64 # used on AIX
+)
+
+UNINSTALL_IGNORE='/usr/lib.*/itk.*/library'
+
+src_prepare() {
+ ln -s ../tclconfig-${TCLCONFIGId} tclconfig || die
+ sed 's:-pipe::g' -i configure || die
+ default
+ echo "unknown" > manifest.uuid
+}
+
+src_configure() {
+ local itcl_package=$(best_version dev-tcltk/itcl)
+ local itcl_version=${itcl_package#*/*-}
+ local ITCL_VERSION="${itcl_version%-*}"
+ source "${EPREFIX}"/usr/$(get_libdir)/itcl${ITCL_VERSION}*/itclConfig.sh || die
+ econf \
+ --with-tcl="${EPREFIX}"/usr/$(get_libdir) \
+ --with-tclinclude="${EPREFIX}"/usr/include \
+ --with-tk="${EPREFIX}"/usr/$(get_libdir) \
+ --with-tkinclude="${EPREFIX}"/usr/include \
+ --with-itcl="${ITCL_SRC_DIR}" \
+ --with-x
+}
+
+src_compile() {
+ emake CFLAGS_DEFAULT="${CFLAGS}"
+}
+
+src_test() {
+ virtx default
+}
+
+src_install() {
+ default
+
+ dodoc license.terms
+
+ cat >> "${T}"/34${PN} <<- EOF
+ LDPATH="${EPREFIX}/usr/$(get_libdir)/${PN}${MY_PV}/"
+ EOF
+ doenvd "${T}"/34${PN}
+ dosym . /usr/$(get_libdir)/${PN}${PV}/library
+}
diff --git a/dev-tcltk/itk/metadata.xml b/dev-tcltk/itk/metadata.xml
index 687db9f341b7..60cd4f349c03 100644
--- a/dev-tcltk/itk/metadata.xml
+++ b/dev-tcltk/itk/metadata.xml
@@ -7,5 +7,6 @@
</maintainer>
<upstream>
<remote-id type="sourceforge">incrtcl</remote-id>
+ <remote-id type="github">tcltk/itk</remote-id>
</upstream>
</pkgmetadata>
diff --git a/dev-tcltk/iwidgets/iwidgets-4.1.1-r2.ebuild b/dev-tcltk/iwidgets/iwidgets-4.1.1-r2.ebuild
index bec5525391f4..4c987c7b97f8 100644
--- a/dev-tcltk/iwidgets/iwidgets-4.1.1-r2.ebuild
+++ b/dev-tcltk/iwidgets/iwidgets-4.1.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -19,7 +19,6 @@ SRC_URI="
LICENSE="HPND Old-MIT tcltk"
SLOT="0"
KEYWORDS="amd64 ~ia64 ppc sparc x86 ~amd64-linux ~x86-linux"
-IUSE=""
RESTRICT="!test? ( test )"
DEPEND="
diff --git a/dev-tcltk/iwidgets/iwidgets-4.1.1-r3.ebuild b/dev-tcltk/iwidgets/iwidgets-4.1.1-r3.ebuild
new file mode 100644
index 000000000000..314bd6b1b9a7
--- /dev/null
+++ b/dev-tcltk/iwidgets/iwidgets-4.1.1-r3.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit virtualx autotools
+
+BASE_URI_ITCLTK="mirror://sourceforge/incrtcl/%5BIncr%20Tcl_Tk%5D-4-source"
+
+DESCRIPTION="Widget collection for incrTcl/incrTk"
+HOMEPAGE="http://incrtcl.sourceforge.net/itcl/"
+SRC_URI="mirror://sourceforge/incrtcl/%5BIncr%20Widgets%5D/${PV}/${P}.tar.gz"
+
+LICENSE="HPND Old-MIT tcltk"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ >=dev-tcltk/itcl-4.2.4-r1
+ >=dev-tcltk/itk-4.1.0-r1"
+RDEPEND="${DEPEND}"
+
+QA_CONFIG_IMPL_DECL_SKIP=(
+ stat64 # used to test for Large File Support
+)
+
+PATCHES=( "${FILESDIR}"/${P}-dash.patch )
+
+src_prepare() {
+ default
+ sed \
+ -e "/^\(LIB\|SCRIPT\)_INSTALL_DIR =/s|lib|$(get_libdir)|" \
+ -i Makefile.in || die
+
+ eautoreconf
+
+ # Bug 115470
+ rm doc/panedwindow.n
+
+ rm tests/hierarchy.test || die
+}
+
+src_configure() {
+ local itcl_package=$(best_version dev-tcltk/itcl)
+ local itcl_version=${itcl_package#*/*-}
+ local itcl="itcl${itcl_version%-*}"
+ local itk_package=$(best_version dev-tcltk/itk)
+ local itk_version=${itk_package#*/*-}
+ local itk="itk${itk_version%-*}"
+ econf \
+ --with-tcl="${EPREFIX}"/usr/$(get_libdir) \
+ --with-tk="${EPREFIX}"/usr/$(get_libdir) \
+ --with-itcl="${EPREFIX}"/usr/$(get_libdir)/${itcl} \
+ --with-itk="${EPREFIX}"/usr/$(get_libdir)/${itk}
+}
+
+src_compile() {
+ :
+}
+
+src_test() {
+ virtx default
+}
+
+src_install() {
+ default
+
+ # demos are in the wrong place:
+ mv "${ED}/usr/$(get_libdir)/${PN}${PV}/demos" "${ED}/usr/share/doc/${PF}/"
+}
diff --git a/dev-tcltk/mysqltcl/mysqltcl-3.052-r1.ebuild b/dev-tcltk/mysqltcl/mysqltcl-3.052-r2.ebuild
index 39c9d60a33a9..8edd7cfe8c16 100644
--- a/dev-tcltk/mysqltcl/mysqltcl-3.052-r1.ebuild
+++ b/dev-tcltk/mysqltcl/mysqltcl-3.052-r2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
DESCRIPTION="TCL MySQL Interface"
HOMEPAGE="http://www.xdobry.de/mysqltcl/"
@@ -10,12 +10,16 @@ SRC_URI="http://www.xdobry.de/mysqltcl/${P}.tar.gz"
LICENSE="HPND"
SLOT="0"
KEYWORDS="amd64 ~ppc ~sparc x86"
-IUSE=""
DEPEND="
dev-lang/tcl:0=
dev-db/mysql-connector-c:0="
RDEPEND="${DEPEND}"
+
+QA_CONFIG_IMPL_DECL_SKIP=(
+ stat64 # used to test for Large File Support
+)
+
PATCHES=(
"${FILESDIR}"/${PN}-3.05-ldflags.patch
"${FILESDIR}"/${PN}-3.05-API.patch
diff --git a/dev-tcltk/scwoop/scwoop-4.1-r1.ebuild b/dev-tcltk/scwoop/scwoop-4.1-r1.ebuild
index 9576b7603884..bf25372e0b22 100644
--- a/dev-tcltk/scwoop/scwoop-4.1-r1.ebuild
+++ b/dev-tcltk/scwoop/scwoop-4.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -10,7 +10,6 @@ SRC_URI="http://jfontain.free.fr/${P}.tar.gz"
LICENSE="jfontain"
KEYWORDS="amd64 ~ppc x86"
SLOT="0"
-IUSE=""
DEPEND="dev-tcltk/tcllib"
RDEPEND="${DEPEND}"
diff --git a/dev-tcltk/tcllib/tcllib-1.21.ebuild b/dev-tcltk/tcllib/tcllib-1.21.ebuild
index db6760c533db..a6bf8dee31c5 100644
--- a/dev-tcltk/tcllib/tcllib-1.21.ebuild
+++ b/dev-tcltk/tcllib/tcllib-1.21.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${PN}/${PV}/${P}.tar.xz"
LICENSE="BSD"
SLOT="0"
IUSE="examples"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux"
RESTRICT="!test? ( test )"
RDEPEND="
diff --git a/dev-tcltk/tclpython/tclpython-5.0-r1.ebuild b/dev-tcltk/tclpython/tclpython-5.0-r1.ebuild
deleted file mode 100644
index 8fb61a8065b1..000000000000
--- a/dev-tcltk/tclpython/tclpython-5.0-r1.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{9..10} )
-
-inherit python-single-r1 toolchain-funcs
-
-DESCRIPTION="Python package for Tcl"
-HOMEPAGE="http://jfontain.free.fr/tclpython.htm"
-SRC_URI="https://github.com/amykyta3/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE=""
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="${PYTHON_DEPS}
- dev-lang/tcl:0="
-RDEPEND="${DEPEND}"
-
-PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
-
-src_compile() {
- emake PKG_NAME=tclpython3 CC="$(tc-getCC)" \
- MYCFLAGS="${CFLAGS}" \
- MYLDFLAGS="${LDFLAGS} $(python_get_library_path)"
-}
-
-src_test() {
- emake PKG_NAME=tclpython3 CC="$(tc-getCC)" test
-}
-
-src_install() {
- insinto /usr/$(get_libdir)
- doins -r build/tclpython3/tclpython3
- fperms 775 /usr/$(get_libdir)/tclpython3/tclpython3.so.${PV}
- dosym tclpython3.so.${PV} /usr/$(get_libdir)/tclpython3/tclpython3.so
-
- dodoc README.md VERSION.md
-}
diff --git a/dev-tcltk/tclpython/tclpython-5.0-r2.ebuild b/dev-tcltk/tclpython/tclpython-5.0-r2.ebuild
index 8bdb8a174f15..26060b8ec2d6 100644
--- a/dev-tcltk/tclpython/tclpython-5.0-r2.ebuild
+++ b/dev-tcltk/tclpython/tclpython-5.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -14,7 +14,6 @@ SRC_URI="https://github.com/amykyta3/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
-IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
diff --git a/dev-tcltk/tclx/Manifest b/dev-tcltk/tclx/Manifest
index b3aecab75124..eca9e2452738 100644
--- a/dev-tcltk/tclx/Manifest
+++ b/dev-tcltk/tclx/Manifest
@@ -1,2 +1,2 @@
-DIST tclx-8.4.4.tar.gz 456569 BLAKE2B 50123f95ed780c28dae9e2f0db956b81b559ee9ea33563b999f33a727c451374a63c0cba3012d4dd46df020426c7fdb3b04f932fc5b6ec742156e9dad81a7d3b SHA512 dcf9cbd08eae0cc4901e8e871a440e6c85d7d5ac923306206afaf0a1d931866ce3b91177d7b3a37e87a5cdcccb068ed7b9c76cb1a71a13f4f26cf204b8c42090
DIST tclx-8.6.1.tar.gz 457438 BLAKE2B 451b90a6f4403177604684a2a4475a057924faa4b625ac035d65b622b69e8dfea7146143056491ce8740374c18c4fbfb0184a0d074bf799897a01bb767e1695c SHA512 4a2293aad667b108f19f837686044fc168831781d04a9f8eaa2afe677c587f1e128a536ad9db609720e0046a20ff6f8dd7a0e5dd1232ef775c5a14e24ec0614d
+DIST tclx-8.6.3.tar.gz 457293 BLAKE2B 4d3578c0312bc2a0a0cfe079699893818ed6bce941dd84d4cb4786891e784930e0172c4c15892a2b81acf0f4a5062145e9f4397842185358b49658c692cd08cc SHA512 680b8916ccb5725ed173b45549c94e7b1e17c4e5cf700c3991d2791b9f299660e94c880401dccfbff7ca630036c0781c41a9692c2d8ead2e7ad880e2e05a69e7
diff --git a/dev-tcltk/tclx/files/tclx-8.4.4-configure-clang16-deux.patch b/dev-tcltk/tclx/files/tclx-8.4.4-configure-clang16-deux.patch
deleted file mode 100644
index 278dc23bb94d..000000000000
--- a/dev-tcltk/tclx/files/tclx-8.4.4-configure-clang16-deux.patch
+++ /dev/null
@@ -1,83 +0,0 @@
-https://github.com/flightaware/tclx/pull/15
-https://sourceforge.net/p/tclx/bugs/84/
-
-From a65705e6cba4fe395afbdc8c903b8b819d7e6962 Mon Sep 17 00:00:00 2001
-From: Sam James <sam@gentoo.org>
-Date: Fri, 18 Nov 2022 01:12:17 +0000
-Subject: [PATCH] Fix configure.ac compatibility with Clang 16
-
-Clang 16 makes -Wimplicit-function-declaration and -Wimplicit-int errors by default.
-
-Unfortunately, this can lead to misconfiguration or miscompilation of software as configure
-tests may then return the wrong result.
-
-We also fix -Wstrict-prototypes while here as it's easy to do and it prepares
-us for C23.
-
-For more information, see LWN.net [0] or LLVM's Discourse [1], the Gentoo wiki [2],
-or the (new) c-std-porting mailing list [3].
-
-[0] https://lwn.net/Articles/913505/
-[1] https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213
-[2] https://wiki.gentoo.org/wiki/Modern_C_porting
-[3] hosted at lists.linux.dev.
-
-Bug: https://bugs.gentoo.org/881713
-Signed-off-by: Sam James <sam@gentoo.org>
---- a/configure.in
-+++ b/configure.in
-@@ -193,10 +193,11 @@ WIFEXITED(x); /* Generates compiler error if WIFEXITED uses an int. */
-
- AC_MSG_CHECKING(checking to see what 'times' returns)
- AC_TRY_RUN([
-+#include <stdlib.h>
- #include <sys/types.h>
- #include <sys/times.h>
- #include <unistd.h>
--main() {
-+int main(void) {
- struct tms cpu;
- times(&cpu);
- sleep(2);
-@@ -269,7 +270,8 @@ main() {
-
- AC_CHECK_FUNC(catgets,
- [AC_MSG_CHECKING([catclose return value])
-- AC_TRY_COMPILE([#include <nl_types.h>], [
-+ AC_TRY_COMPILE([#include <stdlib.h>
-+ #include <nl_types.h>], [
- if (catclose ((nl_catd) 0) == 0) exit (0);],
- AC_MSG_RESULT(ok), [
- AC_MSG_RESULT([broken catclose return type])
---- a/tclconfig/tcl.m4
-+++ b/tclconfig/tcl.m4
-@@ -2525,7 +2525,8 @@ AC_DEFUN([TEA_TIME_HANDLER], [
- # (like convex) have timezone functions, etc.
- #
- AC_CACHE_CHECK([long timezone variable], tcl_cv_timezone_long, [
-- AC_TRY_COMPILE([#include <time.h>],
-+ AC_TRY_COMPILE([#include <stdlib.h>
-+ #include <time.h>],
- [extern long timezone;
- timezone += 1;
- exit (0);],
-@@ -2537,7 +2538,8 @@ AC_DEFUN([TEA_TIME_HANDLER], [
- # On some systems (eg IRIX 6.2), timezone is a time_t and not a long.
- #
- AC_CACHE_CHECK([time_t timezone variable], tcl_cv_timezone_time, [
-- AC_TRY_COMPILE([#include <time.h>],
-+ AC_TRY_COMPILE([#include <stdlib.h>
-+ #include <time.h>],
- [extern time_t timezone;
- timezone += 1;
- exit (0);],
-@@ -2574,7 +2576,7 @@ AC_DEFUN([TEA_BUGGY_STRTOD], [
- AC_TRY_RUN([
- #include <stdlib.h>
- extern double strtod();
-- int main() {
-+ int main(void) {
- char *infString="Inf", *nanString="NaN", *spaceString=" ";
- char *term;
- double value;
-
diff --git a/dev-tcltk/tclx/files/tclx-8.4.4-configure-clang16.patch b/dev-tcltk/tclx/files/tclx-8.4.4-configure-clang16.patch
deleted file mode 100644
index 3e135c0c4fcc..000000000000
--- a/dev-tcltk/tclx/files/tclx-8.4.4-configure-clang16.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-https://github.com/flightaware/tclx/commit/dfd54117ca500c9422ff2e11940219d19cedb906
-https://bugs.gentoo.org/881713
-https://sourceforge.net/p/tclx/bugs/84/
-
-From dfd54117ca500c9422ff2e11940219d19cedb906 Mon Sep 17 00:00:00 2001
-From: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
-Date: Tue, 23 Jun 2020 22:44:30 -0700
-Subject: [PATCH] Add missing #includes during configure tests
-
-These lead to failures when configuring on macOS on Apple Silicon
-
-Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
---- a/configure.in
-+++ b/configure.in
-@@ -195,6 +195,7 @@ WIFEXITED(x); /* Generates compiler error if WIFEXITED uses an int. */
- AC_TRY_RUN([
- #include <sys/types.h>
- #include <sys/times.h>
-+#include <unistd.h>
- main() {
- struct tms cpu;
- times(&cpu);
---- a/tclconfig/tcl.m4
-+++ b/tclconfig/tcl.m4
-@@ -2572,6 +2572,7 @@ AC_DEFUN([TEA_BUGGY_STRTOD], [
- if test "$tcl_strtod" = 1; then
- AC_CACHE_CHECK([for Solaris2.4/Tru64 strtod bugs], tcl_cv_strtod_buggy,[
- AC_TRY_RUN([
-+ #include <stdlib.h>
- extern double strtod();
- int main() {
- char *infString="Inf", *nanString="NaN", *spaceString=" ";
-
diff --git a/dev-tcltk/tclx/files/tclx-8.4.4-gcc11.patch b/dev-tcltk/tclx/files/tclx-8.4.4-gcc11.patch
deleted file mode 100644
index 6af41afd3ce3..000000000000
--- a/dev-tcltk/tclx/files/tclx-8.4.4-gcc11.patch
+++ /dev/null
@@ -1,192 +0,0 @@
---- a/generic/tclXfcntl.c 2023-03-15 19:34:15.074669138 +0100
-+++ b/generic/tclXfcntl.c 2023-03-15 19:33:20.805545639 +0100
-@@ -200,8 +200,12 @@
- value = (optValue == TCLX_BUFFERING_LINE);
- break;
- case ATTR_KEEPALIVE:
-- if (TclXOSgetsockopt (interp, channel, SO_KEEPALIVE, &value) != TCL_OK)
-+ {
-+ socklen_t len;
-+ if (TclXOSgetsockopt (interp, channel, SO_KEEPALIVE, &len) != TCL_OK)
- return TCL_ERROR;
-+ value = len;
-+ }
- break;
- default:
- panic ("bug in fcntl get attrib");
---- a/generic/tclXhandles.c 2023-03-15 19:36:33.992425688 +0100
-+++ b/generic/tclXhandles.c 2023-03-15 19:43:05.552120448 +0100
-@@ -20,6 +20,9 @@
-
- #include "tclExtdInt.h"
-
-+#include <stdint.h>
-+#include <inttypes.h>
-+
- /*
- * Variable set to contain the alignment factor (in bytes) for this machine.
- * It is set on the first table initialization.
-@@ -539,7 +542,7 @@
-
- entryHdrPtr = HEADER_AREA (entryPtr);
- if (entryHdrPtr->freeLink != ALLOCATED_IDX)
-- panic ("Tcl_HandleFree: entry not allocated %x\n", entryHdrPtr);
-+ panic ("Tcl_HandleFree: entry not allocated %" PRIxPTR "\n", (intptr_t)entryHdrPtr);
-
- entryHdrPtr->freeLink = tblHdrPtr->freeHeadIdx;
- tblHdrPtr->freeHeadIdx =
---- a/generic/tclXkeylist.c 2023-03-15 20:02:16.177763876 +0100
-+++ b/generic/tclXkeylist.c 2023-03-15 20:04:46.029420986 +0100
-@@ -17,6 +17,7 @@
- */
-
- #include "tclExtdInt.h"
-+#include <stdint.h>
-
- /*
- * Keyed lists are stored as arrays recursively defined objects. The data
-@@ -338,7 +339,7 @@
- if (keylIntPtr->hashTbl != NULL) {
- Tcl_HashEntry *entryPtr;
- Tcl_HashSearch search;
-- int nidx;
-+ intptr_t nidx;
-
- entryPtr = Tcl_FindHashEntry(keylIntPtr->hashTbl,
- keylIntPtr->entries [entryIdx].key);
-@@ -354,7 +355,7 @@
- */
- for (entryPtr = Tcl_FirstHashEntry(keylIntPtr->hashTbl, &search);
- entryPtr != NULL; entryPtr = Tcl_NextHashEntry(&search)) {
-- nidx = (int) Tcl_GetHashValue(entryPtr);
-+ nidx = (intptr_t) Tcl_GetHashValue(entryPtr);
- if (nidx > entryIdx) {
- Tcl_SetHashValue(entryPtr, (ClientData) (uintptr_t) (nidx - 1));
- }
-@@ -394,7 +395,8 @@
- char **nextSubKeyPtr)
- {
- char *keySeparPtr;
-- int keyLen, findIdx = -1;
-+ int keyLen;
-+ intptr_t findIdx = -1;
-
- keySeparPtr = strchr (key, '.');
- if (keySeparPtr != NULL) {
-@@ -416,7 +418,7 @@
- }
- entryPtr = Tcl_FindHashEntry(keylIntPtr->hashTbl, key);
- if (entryPtr != NULL) {
-- findIdx = (int) Tcl_GetHashValue(entryPtr);
-+ findIdx = (intptr_t) Tcl_GetHashValue(entryPtr);
- }
- if (keySeparPtr != NULL) {
- key[keyLen] = tmp;
---- a/generic/tclXsignal.c 2023-03-15 20:07:18.687031905 +0100
-+++ b/generic/tclXsignal.c 2023-03-15 20:07:55.997447649 +0100
-@@ -463,7 +463,7 @@
- *-----------------------------------------------------------------------------
- */
- static int
--BlockSignals (Tcl_Interp *interp, int action, unsigned char signals[])
-+BlockSignals (Tcl_Interp *interp, int action, unsigned char signals[MAXSIG])
- {
- #ifndef NO_SIGACTION
- int signalNum;
---- a/unix/tclXunixDup.c 2023-03-15 20:09:58.482528699 +0100
-+++ b/unix/tclXunixDup.c 2023-03-15 20:13:22.981321777 +0100
-@@ -17,6 +17,7 @@
- */
-
- #include "tclExtdInt.h"
-+#include <stdint.h>
-
-
- /*-----------------------------------------------------------------------------
-@@ -75,7 +76,8 @@
- ClientData handle;
- const Tcl_ChannelType *channelType;
- Tcl_Channel newChannel = NULL;
-- int srcFileNum, newFileNum = -1;
-+ intptr_t srcFileNum;
-+ int newFileNum = -1;
-
- /*
- * On Unix, the channels we can dup share the same file for the read and
-@@ -86,7 +88,7 @@
- } else {
- Tcl_GetChannelHandle (srcChannel, TCL_WRITABLE, &handle);
- }
-- srcFileNum = (int) handle;
-+ srcFileNum = (intptr_t) handle;
- channelType = Tcl_GetChannelType (srcChannel);
-
- /*
---- a/unix/tclXunixId.c 2023-03-15 20:14:58.037829847 +0100
-+++ b/unix/tclXunixId.c 2023-03-15 20:15:50.699002979 +0100
-@@ -444,7 +444,7 @@
- #endif
- char hostNameBuf[MAXHOSTNAMELEN];
-
-- if (objc != 2)
-+ if (objc != 2)
- return TclX_WrongArgs (interp, objv [0], "host");
-
- if (gethostname (hostNameBuf, MAXHOSTNAMELEN) < 0) {
---- a/unix/tclXunixOS.c 2023-03-15 20:16:27.021432520 +0100
-+++ b/unix/tclXunixOS.c 2023-03-15 20:25:12.202242082 +0100
-@@ -23,6 +23,7 @@
-
- #include "tclExtdInt.h"
-
-+#include <stdint.h>
- #ifndef NO_GETPRIORITY
- #include <sys/resource.h>
- #endif
-@@ -113,7 +114,7 @@
- return -1;
- }
- }
-- return (int) handle;
-+ return (intptr_t) handle;
- }
-
- /*-----------------------------------------------------------------------------
-@@ -401,7 +402,7 @@
- if (pid == 0) {
- close (errPipes [0]);
- execl ("/bin/sh", "sh", "-c", command, (char *) NULL);
-- write (errPipes [1], &errno, sizeof (errno));
-+ if(write (errPipes [1], &errno, sizeof (errno))) {};
- _exit (127);
- }
-
-@@ -918,8 +919,9 @@
- int
- TclXOSgetsockname (Tcl_Interp *interp, Tcl_Channel channel, void *sockaddr, int sockaddrSize)
- {
-+ socklen_t siz = sockaddrSize;
- if (getsockname (ChannelToFnum (channel, 0),
-- (struct sockaddr *) sockaddr, &sockaddrSize) < 0) {
-+ (struct sockaddr *) sockaddr, &siz) < 0) {
- TclX_AppendObjResult (interp, Tcl_GetChannelName (channel), ": ",
- Tcl_PosixError (interp), (char *) NULL);
- return TCL_ERROR;
-@@ -943,7 +945,7 @@
- int
- TclXOSgetsockopt (Tcl_Interp *interp, Tcl_Channel channel, int option, socklen_t *valuePtr)
- {
-- int valueLen = sizeof (*valuePtr);
-+ socklen_t valueLen = sizeof (*valuePtr);
-
- if (getsockopt (ChannelToFnum (channel, 0), SOL_SOCKET, option,
- (void*) valuePtr, &valueLen) != 0) {
-@@ -1385,7 +1387,7 @@
- (char *) NULL);
- return TCL_ERROR;
- }
-- *fnumPtr = (int) handle;
-+ *fnumPtr = (intptr_t) handle;
- return TCL_OK;
- }
-
diff --git a/dev-tcltk/tclx/tclx-8.4.4-r4.ebuild b/dev-tcltk/tclx/tclx-8.6.3.ebuild
index ac35e033b305..0de700c1205e 100644
--- a/dev-tcltk/tclx/tclx-8.4.4-r4.ebuild
+++ b/dev-tcltk/tclx/tclx-8.6.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -7,12 +7,11 @@ inherit autotools
DESCRIPTION="A set of extensions to TCL"
HOMEPAGE="http://tclx.sourceforge.net"
-SRC_URI="https://github.com/flightaware/${PN}/archive/v${PV}.tar.gz
- -> ${P}.tar.gz"
+SRC_URI="https://github.com/flightaware/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
IUSE="threads"
DEPEND="dev-lang/tcl:0="
@@ -24,10 +23,6 @@ RESTRICT="test"
PATCHES=(
"${FILESDIR}"/${PN}-8.4-varinit.patch
"${FILESDIR}"/${PN}-8.4-ldflags.patch
- "${FILESDIR}"/${P}-configure-clang16.patch
- "${FILESDIR}"/${P}-configure-clang16-deux.patch
- "${FILESDIR}"/${P}-gcc11.patch
- "${FILESDIR}"/${P}-musl.patch
)
QA_CONFIG_IMPL_DECL_SKIP=(
@@ -35,10 +30,12 @@ QA_CONFIG_IMPL_DECL_SKIP=(
)
src_prepare() {
+ default
+
sed \
-e '/CC=/s:-pipe::g' \
-i tclconfig/tcl.m4 configure || die
- default
+
eautoreconf
}
diff --git a/dev-tcltk/tclxml/files/tclxml-3.3.1-funcPointer.patch b/dev-tcltk/tclxml/files/tclxml-3.3.1-funcPointer.patch
new file mode 100644
index 000000000000..3f641b490883
--- /dev/null
+++ b/dev-tcltk/tclxml/files/tclxml-3.3.1-funcPointer.patch
@@ -0,0 +1,38 @@
+From c1bc95aadd5334adf9c6d17ce918abf98af14c6f Mon Sep 17 00:00:00 2001
+From: Alfredo Tupone <tupone@gentoo.org>
+Date: Sat, 24 Feb 2024 20:38:49 +0100
+Subject: [PATCH] fix -Wincompatible-pointer-types
+
+---
+ docObj.c | 4 +---
+ include/tclxml-libxml2/tclxml-libxml2Decls.h | 2 +-
+ 2 files changed, 2 insertions(+), 4 deletions(-)
+
+diff --git a/docObj.c b/docObj.c
+index 20a1bd4..c4d5bf9 100644
+--- a/docObj.c
++++ b/docObj.c
+@@ -1852,9 +1852,7 @@ ErrorCodeToString(code)
+ }
+
+ void
+-TclXML_libxml2_ErrorHandler (ctx, error)
+- void *ctx; /* ignore - depends on context */
+- xmlErrorPtr error;
++TclXML_libxml2_ErrorHandler (void *ctx, const xmlError *error)
+ {
+ ThreadSpecificData *tsdPtr = Tcl_GetThreadData(&dataKey, sizeof(ThreadSpecificData));
+ Tcl_Obj *objPtr;
+diff --git a/include/tclxml-libxml2/tclxml-libxml2Decls.h b/include/tclxml-libxml2/tclxml-libxml2Decls.h
+index 3faa5f7..9ad6555 100644
+--- a/include/tclxml-libxml2/tclxml-libxml2Decls.h
++++ b/include/tclxml-libxml2/tclxml-libxml2Decls.h
+@@ -55,7 +55,7 @@ EXTERN void TclXML_libxml2_DocKeep _ANSI_ARGS_((Tcl_Obj * objPtr,
+ TclXML_libxml2_DocumentHandling keep));
+ /* 10 */
+ EXTERN void TclXML_libxml2_ErrorHandler _ANSI_ARGS_((void * ctx,
+- xmlErrorPtr error));
++ const xmlError *error));
+ /* 11 */
+ EXTERN void TclXML_libxml2_ResetError _ANSI_ARGS_((
+ Tcl_Interp * interp));
diff --git a/dev-tcltk/tclxml/tclxml-3.3.1-r1.ebuild b/dev-tcltk/tclxml/tclxml-3.3.1-r2.ebuild
index c6aed4cf1018..0ef7c12a88f0 100644
--- a/dev-tcltk/tclxml/tclxml-3.3.1-r1.ebuild
+++ b/dev-tcltk/tclxml/tclxml-3.3.1-r2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
MYPN=TclXML
MYP=${MYPN}-${PV}
@@ -25,10 +25,15 @@ DEPEND="
# test? ( dev-tcltk/tclparser )
RDEPEND="${DEPEND}"
+QA_CONFIG_IMPL_DECL_SKIP=(
+ stat64 # used to test for Large File Support
+)
+
RESTRICT="test"
PATCHES=(
"${FILESDIR}"/${PN}-3.2-fix-implicit-declarations.patch
+ "${FILESDIR}"/${P}-funcPointer.patch
)
S="${WORKDIR}"/${MYP}
diff --git a/dev-tcltk/tdom/files/tdom-0.9.3-expat.patch b/dev-tcltk/tdom/files/tdom-0.9.3-expat.patch
new file mode 100644
index 000000000000..a55fa4b22c14
--- /dev/null
+++ b/dev-tcltk/tdom/files/tdom-0.9.3-expat.patch
@@ -0,0 +1,10 @@
+--- a/generic/dom.h 2024-02-26 08:37:08.464473295 +0100
++++ b/generic/dom.h 2024-02-26 08:43:19.859997138 +0100
+@@ -37,6 +37,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <ctype.h>
++#define XML_GE 1
+ #include <expat.h>
+ #include <domalloc.h>
+
diff --git a/dev-tcltk/tdom/tdom-0.9.3.ebuild b/dev-tcltk/tdom/tdom-0.9.3.ebuild
index 7aaf1d9930d5..cf032e54f1e8 100644
--- a/dev-tcltk/tdom/tdom-0.9.3.ebuild
+++ b/dev-tcltk/tdom/tdom-0.9.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -13,7 +13,7 @@ SRC_URI="http://tdom.org/downloads/${P}-src.tgz"
LICENSE="MPL-1.1"
SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux"
IUSE="threads"
DEPEND="
@@ -23,10 +23,14 @@ RDEPEND="${DEPEND}"
S="${WORKDIR}"/${P}-src
-PATCHES=( "${FILESDIR}"/${PN}-0.9.2-useCC.patch )
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.9.2-useCC.patch
+ "${FILESDIR}"/${P}-expat.patch
+)
QA_CONFIG_IMPL_DECL_SKIP=(
- stat64 # used to test for Large File Support
+ opendir64 rewinddir64 closedir64 stat64 # used to test for Large File Support
+ arc4random_buf arc4random # used for BSD
)
src_prepare() {
diff --git a/dev-tcltk/thread/Manifest b/dev-tcltk/thread/Manifest
index fa7d5e70e385..54a772c8f25f 100644
--- a/dev-tcltk/thread/Manifest
+++ b/dev-tcltk/thread/Manifest
@@ -1 +1,4 @@
+DIST tclconfig-2023.12.11.tar.gz 49691 BLAKE2B 53bb91d125fd080b79ac83af1053d8bb981a8e917b7c8e4db71da89c43263d75a9604623a85d560bcbf3d686f61ccf21bffd794d333aa6cb35c959ab3042991d SHA512 c4eaa31ca1ec585536cd6d31a548b347dae3167197433674d2f3912ce85bad00dda55b0c60eebf26cb5f9d651c8437688e1829f7d3996a22bba2d93e4538946c
+DIST thread-2-8-9.tar.gz 322166 BLAKE2B d7b1f61048ff7ef2276ab0ed2e72054267f75cf32cc705b2de6e27fd80ffde08e55a7386976d1c6159c5085686f1b534434c9a7cae504feedb91a9bc8bcff69f SHA512 b3f781b2b522a1c184e071c003a2b20ef0615668c56ffd2f6680890f36b106ded051d411547cb6b1afd7e9389e09b5cc67e68bfd79cc95ea06a0e2ee71c2e433
DIST thread2.8.5.tar.gz 338776 BLAKE2B b6500ba59f87150d3d4479cae9a55b591a41768c6a74520933157d8fe2ec5374a79cf258fad1f08c775b190c17667dc529605f21a4fdd562320778be94b294a2 SHA512 b1cd049605f44ea5e85a121ff864d9e531491b24579654159dd5f3850b0aa4192ea79844324be3e9c6b395b14e6f765474c792bfd3271c7100b49f0ff22832d0
+DIST thread2.8.8.tar.gz 343099 BLAKE2B 3551bdbc4cab78c6ea0ea7eac43c53a65a1f55f9eae302ddd7030c33b40b76317ecc651d731411396cf4f51f11c852bab0c60642d36a312f23e22f96019df427 SHA512 249ddf689ee20536280e3b3d220c0faa3a8a2821bcd31a3f6188ef838d31e5cacefa7fd737b8e29b73a6b30e0a946d2eeb0805dd851c9f8aefc5c5bc5f50de0e
diff --git a/dev-tcltk/thread/metadata.xml b/dev-tcltk/thread/metadata.xml
index 1f26c2bf3776..1e08d65c4c11 100644
--- a/dev-tcltk/thread/metadata.xml
+++ b/dev-tcltk/thread/metadata.xml
@@ -7,5 +7,6 @@
</maintainer>
<upstream>
<remote-id type="sourceforge">tcl</remote-id>
+ <remote-id type="github">tcltk/thread</remote-id>
</upstream>
</pkgmetadata>
diff --git a/dev-tcltk/thread/thread-2.8.5.ebuild b/dev-tcltk/thread/thread-2.8.5.ebuild
index ac9589a23cf2..299354e5ba6b 100644
--- a/dev-tcltk/thread/thread-2.8.5.ebuild
+++ b/dev-tcltk/thread/thread-2.8.5.ebuild
@@ -14,7 +14,6 @@ SRC_URI="mirror://sourceforge/project/tcl/Thread%20Extension/${PV}/${MY_P}.tar.g
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-IUSE=""
DEPEND="dev-lang/tcl:0=[threads]"
RDEPEND="${DEPEND}"
diff --git a/dev-tcltk/thread/thread-2.8.8.ebuild b/dev-tcltk/thread/thread-2.8.8.ebuild
new file mode 100644
index 000000000000..202ceb1c6cc9
--- /dev/null
+++ b/dev-tcltk/thread/thread-2.8.8.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+MY_P="${PN}${PV}"
+
+DESCRIPTION="Tcl Thread extension"
+HOMEPAGE="http://www.tcl.tk/"
+SRC_URI="mirror://sourceforge/project/tcl/Thread%20Extension/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+DEPEND="dev-lang/tcl:0=[threads]"
+RDEPEND="${DEPEND}"
+
+QA_CONFIG_IMPL_DECL_SKIP=(
+ opendir64 rewinddir64 closedir64 stat64 # used to test for Large File Support on AIX
+)
+
+S="${WORKDIR}"/${MY_P}
+
+PATCHES=( "${FILESDIR}"/${PN}-2.8.5-musl.patch )
+
+src_prepare() {
+ default
+
+ # Search for libs in libdir not just exec_prefix/lib
+ sed -i -e 's:${exec_prefix}/lib:${libdir}:' \
+ aclocal.m4 || die "sed failed"
+
+ sed -i -e "s/relid'/relid/" tclconfig/tcl.m4 || die
+
+ eautoreconf
+}
+
+src_configure() {
+ econf --with-tclinclude="${EPREFIX}/usr/include" \
+ --with-tcl="${EPREFIX}/usr/$(get_libdir)"
+}
diff --git a/dev-tcltk/thread/thread-2.8.9.ebuild b/dev-tcltk/thread/thread-2.8.9.ebuild
new file mode 100644
index 000000000000..ab64d0048cc7
--- /dev/null
+++ b/dev-tcltk/thread/thread-2.8.9.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+MY_P="${PN}-$(ver_rs 0- '-')"
+TCLCONFIGId=4a924db4fb37fa0c7cc2ae987b294dbaa97bc713
+
+DESCRIPTION="Tcl Thread extension"
+HOMEPAGE="http://www.tcl.tk/"
+SRC_URI="
+ https://github.com/tcltk/${PN}/archive/refs/tags/${MY_P}.tar.gz
+ https://github.com/tcltk/tclconfig/archive/${TCLCONFIGId}.tar.gz
+ -> tclconfig-2023.12.11.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+DEPEND="dev-lang/tcl:0=[threads]"
+RDEPEND="${DEPEND}"
+
+QA_CONFIG_IMPL_DECL_SKIP=(
+ opendir64 rewinddir64 closedir64 stat64 # used to test for Large File Support on AIX
+)
+
+S="${WORKDIR}"/${PN}-${MY_P}
+
+PATCHES=( "${FILESDIR}"/${PN}-2.8.5-musl.patch )
+
+src_prepare() {
+ ln -s ../tclconfig-${TCLCONFIGId} tclconfig || die
+ echo "unknown" > manifest.uuid || die
+ default
+
+ # Search for libs in libdir not just exec_prefix/lib
+ sed -i -e 's:${exec_prefix}/lib:${libdir}:' \
+ aclocal.m4 || die "sed failed"
+
+ eautoreconf
+}
+
+src_configure() {
+ econf --with-tclinclude="${EPREFIX}/usr/include" \
+ --with-tcl="${EPREFIX}/usr/$(get_libdir)"
+}
diff --git a/dev-tcltk/tkcon/Manifest b/dev-tcltk/tkcon/Manifest
index b9d630083359..741e9a4c1276 100644
--- a/dev-tcltk/tkcon/Manifest
+++ b/dev-tcltk/tkcon/Manifest
@@ -1,3 +1,2 @@
-DIST tkcon-2.5.tar.gz 139834 BLAKE2B 95d0d0fe856b9ed287d1b2af6132845e047d269991fda8fd0ac88b06b200e1e75d9ac5b3ad4bac7daf08d52ebd2a4ec5697c841565cf290980288b0ecf0449a6 SHA512 f53d21dbf281112b761970b05aa643d598819789644445a0e01f6eddcf98709c4b7ef635bc69ec40fc14b5c78397b240b86d8b6ed63aac48f656242c19fd7851
DIST tkcon-2.7.10.tar.gz 277788 BLAKE2B 7894947c5ca062f2b905550e88c34a414d4b665b6fff0c5bf22a54e2600050b62eecbdfbde179206571cf74d39e3a9d9e33b93356bf5b81aa9cbf79dcdfcf118 SHA512 a580e06d0c86613b3c9e9daa7863fde6fd11b4e2243764c0b016f0db9d9ba0a9cf839ae26efc37e843f5da87f6304a6d0fcab7667ff6c25246a44e1630851634
-DIST tkcon-2.7.3.tar.gz 278421 BLAKE2B 67e4f2d441808f26f46a08423e278fbd219cd02ad63e05de2608521066e75a041cba055296628a5b800fec516e6f26994fec413a9baf10c34aa309e04a2a9477 SHA512 2cad55d861059bd615a2084a796e99c7654ad40e50bdb209b4e4bcb36a6051dc9ac101fbd09cc29f9582ef02254c1730297eefc8e8d426c25dd25f4590e6aa25
+DIST tkcon-2.7.11.tar.gz 280499 BLAKE2B c68991100e95f347796c34253b6a4aceb4e1b20a6d6d99b64750b5c50117317b3b571054e6658afa27cf4bbe4af19a6c7c0dc03f68e9e95eec428a84ef910df9 SHA512 d56268f8edfbccb66ef6288d5b98481dc0c2a8e4f97e553e8031175dad5922ad14087f55709e41902a812e738d29ae9e07efdc6ce2d30919801c9bb54cddab07
diff --git a/dev-tcltk/tkcon/tkcon-2.5-r1.ebuild b/dev-tcltk/tkcon/tkcon-2.5-r1.ebuild
deleted file mode 100644
index 6594a06ec59d..000000000000
--- a/dev-tcltk/tkcon/tkcon-2.5-r1.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="Tk GUI console"
-HOMEPAGE="http://tkcon.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~ppc ~x86"
-SLOT="0"
-IUSE="doc"
-
-DEPEND="dev-lang/tk:*"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- default
- mv docs/changes.txt CHANGES
-}
-
-src_install() {
- local tclver="$(echo 'puts $tcl_version' | tclsh)"
- local instdir=/usr/$(get_libdir)/tcl${tclver}/${PN}2.5
- dodir ${instdir}
- cp -pP pkgIndex.tcl tkcon.tcl "${D}"${instdir} || die
- dodir /usr/bin
- dosym ${instdir}/tkcon.tcl /usr/bin/tkcon
- if use doc; then
- HTML_DOCS=( docs/* )
- fi
- einstalldocs
-}
diff --git a/dev-tcltk/tkcon/tkcon-2.7.3.ebuild b/dev-tcltk/tkcon/tkcon-2.7.11.ebuild
index d0d15951af1d..6ee739f1193b 100644
--- a/dev-tcltk/tkcon/tkcon-2.7.3.ebuild
+++ b/dev-tcltk/tkcon/tkcon-2.7.11.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
DESCRIPTION="Tk GUI console"
HOMEPAGE="http://tkcon.sourceforge.net/"
diff --git a/dev-tcltk/tkdnd/Manifest b/dev-tcltk/tkdnd/Manifest
index 9ac6ca2ccc97..9f764ee50e47 100644
--- a/dev-tcltk/tkdnd/Manifest
+++ b/dev-tcltk/tkdnd/Manifest
@@ -1 +1,2 @@
DIST tkdnd-release-test-v2.9.2.tar.gz 573739 BLAKE2B 4e9cae26542cc7774a0faf3d91a8a3f3b3b598735fcdb4e0565be26893514fe2e3f301ecaa7c698913f570b30f37ba0e2e890c6651ceebbc5d6cd9f66caf57c8 SHA512 dd1538ad884e8287d9c90c3b1565b95a047f552a271f921b0d0d7cb7bde8d8d6ad7e8c3247b647c09080c2e23c57ca11c30bde516cf66abcbe1dac6dd0e7cdc7
+DIST tkdnd-release-test-v2.9.4.tar.gz 1358824 BLAKE2B 7ea5039825cdc160232bc987a903642b2b2e54973c7f45142b5ea53e6b8ec2b2249416a0220217dc1ae1475dbcf432e2c8c72954f850eb2009512f9ef06b0644 SHA512 2eaf84235443c4a69e411674a7a7b27a1d43ded8aba7b09ed4d2f128cc2bfc9e38018c337004ce7bf0a0082dc0f87a7e89c7c2fc50dfedbb1047deef1d73daa2
diff --git a/dev-tcltk/tkdnd/tkdnd-2.9.2.ebuild b/dev-tcltk/tkdnd/tkdnd-2.9.2-r1.ebuild
index d9d4041ec14d..e3ccfb133723 100644
--- a/dev-tcltk/tkdnd/tkdnd-2.9.2.ebuild
+++ b/dev-tcltk/tkdnd/tkdnd-2.9.2-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
MY_P=${PN}-release-test-v${PV}
@@ -17,6 +17,10 @@ IUSE="debug threads X"
DEPEND="dev-lang/tk:="
RDEPEND=${DEPEND}
+QA_CONFIG_IMPL_DECL_SKIP=(
+ stat64 # used to test for Large File Support
+)
+
S=${WORKDIR}/${PN}-${MY_P}
RESTRICT="test"
diff --git a/dev-tcltk/tkdnd/tkdnd-2.9.4-r1.ebuild b/dev-tcltk/tkdnd/tkdnd-2.9.4-r1.ebuild
new file mode 100644
index 000000000000..67c678d6df7a
--- /dev/null
+++ b/dev-tcltk/tkdnd/tkdnd-2.9.4-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_P=${PN}-release-test-v${PV}
+
+DESCRIPTION="Adds native drag & drop capabilities to tk toolkit"
+HOMEPAGE="https://www.ellogon.org/petasis/index.php/tcltk-projects/tkdnd"
+SRC_URI="https://github.com/petasis/tkdnd/archive/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug threads X"
+
+DEPEND="
+ dev-lang/tk:=
+ x11-libs/libXcursor
+"
+RDEPEND=${DEPEND}
+
+QA_CONFIG_IMPL_DECL_SKIP=(
+ opendir64 readdir64 rewinddir64 closedir64 stat64 # used on AIX
+)
+
+S=${WORKDIR}/${PN}-${MY_P}
+
+RESTRICT="test"
+
+src_prepare() {
+ sed \
+ -e 's:-O2::g' \
+ -e 's:-fomit-frame-pointer::g' \
+ -e 's:-pipe::g' \
+ -i configure tclconfig/tcl.m4 || die
+ default
+}
+
+src_configure() {
+ econf \
+ $(use_with X x) \
+ $(use_enable debug symbols) \
+ $(use_enable threads)
+}
diff --git a/dev-tcltk/tkimg/Manifest b/dev-tcltk/tkimg/Manifest
index 855dd78a5a97..5f8bd763509d 100644
--- a/dev-tcltk/tkimg/Manifest
+++ b/dev-tcltk/tkimg/Manifest
@@ -1,7 +1,3 @@
-DIST Img-1.4.13-Source.tar.gz 8366556 BLAKE2B 9e9ddeb5681300fdb320a7f428cf1c30bccee51c9b204690c82f37a72283e1f5300227463d878eb9aa3ea92ddab666d1e8aa4e51bf8fbf219058109b8c76432f SHA512 922d22a664a1cab06932361a25d26c23f282037eb342dcc96a60c5a40f40d7e546ce6154d56552a7722c071a004c12a45cc687fc8e139f3edd3a7c7443f3861b
-DIST Img-1.4.14-Source.tar.gz 9844859 BLAKE2B f373859104c7f1b2d2b5c10adf6b8d3349e22765936916b493589772d2b56e1717cbecf074034989e7e927df16d387ff6533170a1ae9f677ea358a96a86fe67d SHA512 41bfc6909a6836cbdce34f5e5672a02ac67e6d7263a97d48b564994462cc089905a0824444bd849b6d228750bf09f0cf617989dc9008705938a283fa4e5f1b45
DIST Img-1.4.15-Source.tar.gz 12108837 BLAKE2B b423457f7edceeff38389644e206f2a96204d5f3202a5eb224d9f9a3e4fd2a031c6efb9b53ed72a53441b4d306f4bcdc3ece5d7a08b19e478ed2c74ad66d870e SHA512 f034f7b1cf8b02e0fb80f723927c8512ca67de661b21ee53ea4cf0ec8c09a151466fae0e90395f140834e46e4c231dbce8fefaf870fab41c9dd5a1995fe0d978
-DIST Img-1.4.9-Source.tar.gz 7702460 BLAKE2B 958956e786cea208f24a30532fa65914439d8289a4fce7dfa149e8202d1abe680bd8cb1cc5d8b3fb3e31d48bf5302db14977997f92ebaa786503138be872fa0b SHA512 c749a567de4eb2b9acc4d84344141ed8ba3703e4e22895d3fe0b292fe10bb0c09920cd765952fa1b95bfe8c0cb5e2955421c29bedaa07b7f3b36e7697a8f36c9
-DIST tkimg-1.4.12-patchset-1.tar.gz 3494 BLAKE2B 3b172f4a5cae4d9ee0668957a5991317e4ae882f450335412488fd408971717facb0c1e1760dc55c20b14e315246017975699d3c1ff9968c3f8182198d85c62a SHA512 a9b9d9b7d0a1faeb7da02a5c7f2ee363e4cb68914ec5c39867ab6ee35b6df988e36d653536b48512361d3a0130c38683f72bb6a76a251820d8689398de3e73ee
+DIST Img-1.4.16-Source.tar.gz 12129708 BLAKE2B 5da76a42a1643d759d765ade01a8a9e9782cba21d30f5ec95693364d80aca32fa54f610081833d44bf5723e6901d7577e93bd4d4285880e855e835ae6a901f4b SHA512 622549749d41c7c026053cf82b4c434602ff541b9ee7f6f15c2450fcf3cfb34eb8277432267c78adc3dcc60e53fa2d84b7cf98c5fd5a6c3cfbcf0f60746cd227
DIST tkimg-1.4.14-patchset-1.tar.gz 3256 BLAKE2B 8f182365b70b4d7a3f4d9002618285b11293644755304600d302fbb8cf8945cd4bd4eb45e66ed0aec93d19e42556ef294508587f7d4e66821ad960ea5c26c7b6 SHA512 8c93e2b669b56ce5621a4d6d96e7412f623bd42dd777a99ec74741621a5be84f24f47149efae58baa874f49088b053b8466d16dffd79edf9594195ff41c38c0e
-DIST tkimg-1.4.7-patchset-1.tar.xz 8208 BLAKE2B c2e6f5d6ef415c897cac33da4a003efec467312e844912e5a519cfb3ddf04ac5cac830eed05418ef74f931df2211c53c40669e53ce3bed219a7c2c714a398de5 SHA512 596c505db7f2ff40c786b83a018eba7f82718d350b6a601f8b93aa64fac238d6b8def603cd719f89fc526e5d2891a94b46de1a2ba628b8ff0ec80979892e28d8
diff --git a/dev-tcltk/tkimg/files/tkimg-1.4-jpeg-9.patch b/dev-tcltk/tkimg/files/tkimg-1.4-jpeg-9.patch
deleted file mode 100644
index 23000ac7922c..000000000000
--- a/dev-tcltk/tkimg/files/tkimg-1.4-jpeg-9.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Fix build with jpeg-9, bug #520886
-
---- a/jpeg/jpeg.c 2010-06-17 15:40:24.000000000 +0200
-+++ b/jpeg/jpeg.c 2018-02-07 23:26:38.050073397 +0100
-@@ -53,6 +53,13 @@
- */
-
- #include "tkimg.h"
-+#ifndef FALSE
-+#define FALSE 0
-+#endif
-+#ifndef TRUE
-+#define TRUE 1
-+#endif
-+#define HAVE_BOOLEAN
- #include "jpegtcl.h"
-
- static int SetupJPegLibrary(Tcl_Interp *interp);
diff --git a/dev-tcltk/tkimg/files/tkimg-1.4.13-test.patch b/dev-tcltk/tkimg/files/tkimg-1.4.13-test.patch
deleted file mode 100644
index 840e013b6915..000000000000
--- a/dev-tcltk/tkimg/files/tkimg-1.4.13-test.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/Makefile.in 2022-02-17 20:34:02.134144390 +0100
-+++ b/Makefile.in 2022-02-17 20:32:31.957625786 +0100
-@@ -109,7 +109,7 @@
- do \
- here=`pwd` && \
- cd $$sub && \
-- $(MAKE) top_builddir=$$here test || exit $$? && \
-+ $(MAKE) top_builddir=$$here libdir=.. test || exit $$? && \
- cd $$here ; \
- done
-
diff --git a/dev-tcltk/tkimg/files/tkimg-1.4.14-gcc11.patch b/dev-tcltk/tkimg/files/tkimg-1.4.14-gcc11.patch
deleted file mode 100644
index 9b889315efb3..000000000000
--- a/dev-tcltk/tkimg/files/tkimg-1.4.14-gcc11.patch
+++ /dev/null
@@ -1,74 +0,0 @@
---- a/libtiff/tifftclDecls.h 2023-03-14 18:53:43.978820056 +0100
-+++ b/libtiff/tifftclDecls.h 2023-03-14 18:54:32.583047764 +0100
-@@ -169,10 +169,10 @@
- TIFFTCLAPI int TIFFReadRGBATile(TIFF *tiffptr, uint32_t a,
- uint32_t b, uint32_t *c);
- /* 57 */
--TIFFTCLAPI int TIFFRGBAImageOK(TIFF *tiffptr, char *a);
-+TIFFTCLAPI int TIFFRGBAImageOK(TIFF *tiffptr, char a[1024]);
- /* 58 */
- TIFFTCLAPI int TIFFRGBAImageBegin(TIFFRGBAImage *a, TIFF *tiffptr,
-- int b, char *c);
-+ int b, char c[1024]);
- /* 59 */
- TIFFTCLAPI int TIFFRGBAImageGet(TIFFRGBAImage *d, uint32_t *c,
- uint32_t b, uint32_t a);
---- a/tiff/tiffZip.c 2023-03-14 19:04:42.869354563 +0100
-+++ b/tiff/tiffZip.c 2023-03-14 19:05:14.768849607 +0100
-@@ -22,6 +22,7 @@
- * OF THIS SOFTWARE.
- */
-
-+#include <stdint.h>
- #include "tiffInt.h"
-
- /*
-@@ -233,7 +234,7 @@
- we need to simplify this code to reflect a ZLib that is likely updated
- to deal with 8byte memory sizes, though this code will respond
- appropriately even before we simplify it */
-- sp->stream.avail_out = (uint64)tif->tif_rawdatasize <= 0xFFFFFFFFU ? (uInt)tif->tif_rawdatasize : 0xFFFFFFFFU;
-+ sp->stream.avail_out = (uint64_t)tif->tif_rawdatasize <= 0xFFFFFFFFU ? (uInt)tif->tif_rawdatasize : 0xFFFFFFFFU;
- return (deflateReset(&sp->stream) == Z_OK);
- }
-
---- a/tiff/tiffPixar.c 2023-03-14 20:52:33.865532115 +0100
-+++ b/tiff/tiffPixar.c 2023-03-14 20:54:14.606973646 +0100
-@@ -592,8 +592,8 @@
- #define DecoderState(tif) ((PixarLogState*) (tif)->tif_data)
- #define EncoderState(tif) ((PixarLogState*) (tif)->tif_data)
-
--static int PixarLogEncode(TIFF* tif, uint8_t bp, tmsize_t cc, uint16_t s);
--static int PixarLogDecode(TIFF* tif, uint8_t op, tmsize_t occ, uint16_t s);
-+static int PixarLogEncode(TIFF* tif, uint8_t *bp, tmsize_t cc, uint16_t s);
-+static int PixarLogDecode(TIFF* tif, uint8_t *op, tmsize_t occ, uint16_t s);
-
- #define PIXARLOGDATAFMT_UNKNOWN -1
-
-@@ -747,7 +747,7 @@
- }
-
- static int
--PixarLogDecode(TIFF* tif, uint8_t op, tmsize_t occ, uint16_t s)
-+PixarLogDecode(TIFF* tif, uint8_t *op, tmsize_t occ, uint16_t s)
- {
- static const char module[] = "PixarLogDecode";
- TIFFDirectory *td = &tif->tif_dir;
-@@ -1111,7 +1111,7 @@
- * Encode a chunk of pixels.
- */
- static int
--PixarLogEncode(TIFF* tif, uint8_t bp, tmsize_t cc, uint16_t s)
-+PixarLogEncode(TIFF* tif, uint8_t *bp, tmsize_t cc, uint16_t s)
- {
- static const char module[] = "PixarLogEncode";
- TIFFDirectory *td = &tif->tif_dir;
-@@ -1411,7 +1411,7 @@
- /*
- * Allocate state block so tag methods have storage to record values.
- */
-- tif->tif_data = (uint8_t) TkimgTIFFmalloc(sizeof (PixarLogState));
-+ tif->tif_data = (uint8_t *) TkimgTIFFmalloc(sizeof (PixarLogState));
- if (tif->tif_data == NULL)
- goto bad;
- sp = (PixarLogState*) tif->tif_data;
diff --git a/dev-tcltk/tkimg/files/tkimg-1.4.9-fno-common.patch b/dev-tcltk/tkimg/files/tkimg-1.4.9-fno-common.patch
deleted file mode 100644
index 307dfe314375..000000000000
--- a/dev-tcltk/tkimg/files/tkimg-1.4.9-fno-common.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/libpng/pngtclDecls.h 2020-04-13 20:16:18.542559383 +0200
-+++ b/libpng/pngtclDecls.h 2020-04-13 20:16:33.921314336 +0200
-@@ -1369,6 +1369,8 @@
-
- #ifdef __cplusplus
- extern "C" {
-+#else
-+extern
- #endif
- PNG_IMPEXP const PngtclStubs *pngtclStubsPtr;
- #ifdef __cplusplus
diff --git a/dev-tcltk/tkimg/tkimg-1.4.13-r3.ebuild b/dev-tcltk/tkimg/tkimg-1.4.13-r3.ebuild
deleted file mode 100644
index fea14e66d812..000000000000
--- a/dev-tcltk/tkimg/tkimg-1.4.13-r3.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools edos2unix prefix toolchain-funcs virtualx
-
-MYP=Img-${PV}-Source
-
-DESCRIPTION="Adds a lot of image formats to Tcl/Tk"
-HOMEPAGE="http://tkimg.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${PN}/$(ver_cut 1-2)/${PN}%20${PV}/${MYP}.tar.gz
- https://dev.gentoo.org/~tupone/distfiles/${PN}-1.4.12-patchset-1.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
-IUSE="doc test static-libs"
-
-RDEPEND="
- dev-lang/tk:=
- dev-tcltk/tcllib
- media-libs/tiff:=
- media-libs/libpng:0=
- sys-libs/zlib:=
- x11-libs/libX11
- media-libs/libjpeg-turbo:="
-DEPEND="${RDEPEND}
- test? (
- x11-apps/xhost
- media-fonts/font-misc-misc
- media-fonts/font-cursor-misc )"
-
-RESTRICT="!test? ( test )"
-
-S="${WORKDIR}/Img-${PV}"
-
-PATCHES=(
- "${WORKDIR}"/patchset-1
- "${FILESDIR}"/${P}-test.patch
-)
-
-src_prepare() {
- edos2unix \
- libjpeg/jpegtclDecls.h \
- zlib/zlibtclDecls.h \
- libpng/pngtclDecls.h \
- libtiff/tifftclDecls.h
-
- default
-
- find compat/libtiff/config -name ltmain.sh -delete || die
- sed -i \
- -e 's:"--with-CC=$TIFFCC"::' \
- libtiff/configure.ac || die
-
- eautoreconf
- for dir in zlib libpng libtiff libjpeg base bmp gif ico jpeg pcx pixmap png\
- ppm ps sgi sun tga tiff window xbm xpm dted raw flir ; do
- (cd ${dir}; AT_NOELIBTOOLIZE=yes eautoreconf)
- done
-
- eprefixify */*.h
- tc-export AR
-}
-
-src_test() {
- virtx default
-}
-
-src_install() {
- local l bl
-
- emake \
- DESTDIR="${D}" \
- INSTALL_ROOT="${D}" \
- install
-
- if ! use static-libs; then
- find "${ED}"/usr/$(get_libdir)/ -type f -name "*\.a" -delete || die
- fi
-
- # Make library links
- for l in "${ED}"/usr/lib*/Img*/*tcl*.so; do
- bl=$(basename ${l})
- dosym Img${PV}/${bl} /usr/$(get_libdir)/${bl}
- done
-
- dodoc ChangeLog README Reorganization.Notes.txt changes ANNOUNCE
-
- if use doc; then
- docompress -x usr/share/doc/${PF}/demo.tcl
- dodoc demo.tcl
- docinto html
- dodoc -r doc/*
- fi
-}
diff --git a/dev-tcltk/tkimg/tkimg-1.4.15.ebuild b/dev-tcltk/tkimg/tkimg-1.4.15.ebuild
index f72a321af1bd..d2e13e9f38e1 100644
--- a/dev-tcltk/tkimg/tkimg-1.4.15.ebuild
+++ b/dev-tcltk/tkimg/tkimg-1.4.15.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/${PN}/${PN}/$(ver_cut 1-2)/${PN}%20${PV}/${MYP}.ta
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 arm64 ppc x86 ~amd64-linux ~x86-linux"
IUSE="doc test static-libs"
RDEPEND="
diff --git a/dev-tcltk/tkimg/tkimg-1.4.14-r2.ebuild b/dev-tcltk/tkimg/tkimg-1.4.16.ebuild
index db2b40b81a2e..c8787bd9b569 100644
--- a/dev-tcltk/tkimg/tkimg-1.4.14-r2.ebuild
+++ b/dev-tcltk/tkimg/tkimg-1.4.16.ebuild
@@ -1,20 +1,20 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit autotools edos2unix prefix toolchain-funcs virtualx
-MYP=Img-${PV}-Source
+MYP=Img-${PV}
DESCRIPTION="Adds a lot of image formats to Tcl/Tk"
HOMEPAGE="http://tkimg.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${PN}/$(ver_cut 1-2)/${PN}%20${PV}/${MYP}.tar.gz
- https://dev.gentoo.org/~tupone/distfiles/${P}-patchset-1.tar.gz"
+SRC_URI="mirror://sourceforge/${PN}/${PN}/$(ver_cut 1-2)/${PN}%20${PV}/${MYP}-Source.tar.gz
+ https://dev.gentoo.org/~tupone/distfiles/${PN}-1.4.14-patchset-1.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="amd64 ~arm64 ppc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test static-libs"
RDEPEND="
@@ -37,11 +37,11 @@ S="${WORKDIR}/${MYP}"
PATCHES=(
"${WORKDIR}"/patchset-1
- "${FILESDIR}"/${P}-gcc11.patch
+ "${FILESDIR}"/${PN}-1.4.15-gcc11.patch
)
QA_CONFIG_IMPL_DECL_SKIP=(
- stat64 # used to test for Large File Support
+ opendir64 rewinddir64 closedir64 stat64 # used on AIX
glBegin # used to test for openGL support
glutMainLoop # used to test for glut support
)
@@ -55,8 +55,9 @@ src_prepare() {
tiff/tiffPixar.c \
libtiff/tifftclDecls.h
- # libtiff unbundle is problematic
+ # libtiff/jpeg unbundle is problematic
rm ../patchset-1/tkimg-1.4.12-tiff.patch || die
+ rm ../patchset-1/tkimg-1.4.10-jpeg.patch || die
default
diff --git a/dev-tcltk/tkimg/tkimg-1.4.9-r1.ebuild b/dev-tcltk/tkimg/tkimg-1.4.9-r1.ebuild
deleted file mode 100644
index 6346f9299e7d..000000000000
--- a/dev-tcltk/tkimg/tkimg-1.4.9-r1.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools edos2unix prefix toolchain-funcs
-
-MYP=Img-${PV}-Source
-
-DESCRIPTION="Adds a lot of image formats to Tcl/Tk"
-HOMEPAGE="http://tkimg.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${PN}/$(ver_cut 1-2)/${PN}%20${PV}/${MYP}.tar.gz
- https://dev.gentoo.org/~tupone/distfiles/${PN}-1.4.7-patchset-1.tar.xz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
-IUSE="doc test static-libs"
-
-RDEPEND="
- dev-lang/tk:=
- >=dev-tcltk/tcllib-1.11
- media-libs/tiff:=
- >=media-libs/libpng-1.6:=
- media-libs/libjpeg-turbo:=
- >=sys-libs/zlib-1.2.7:=
- x11-libs/libX11"
-DEPEND="${RDEPEND}
- test? (
- x11-apps/xhost
- media-fonts/font-misc-misc
- media-fonts/font-cursor-misc )"
-
-# Fails tests
-RESTRICT="test"
-
-S="${WORKDIR}/Img-${PV}"
-
-PATCHES=(
- "${WORKDIR}"/${PN}-1.4.7-tclconfig.patch
- "${WORKDIR}"/${PN}-1.4.7-jpeg.patch
- "${WORKDIR}"/${PN}-1.4.7-zlib.patch
- "${WORKDIR}"/${PN}-1.4.7-png.patch
- "${WORKDIR}"/${PN}-1.4.7-tiff.patch
- "${FILESDIR}"/${PN}-1.4-jpeg-9.patch
- "${FILESDIR}"/${P}-fno-common.patch
-)
-
-src_prepare() {
- edos2unix \
- libjpeg/jpegtclDecls.h \
- libjpeg/Makefile.in \
- zlib/Makefile.in \
- zlib/zlibtcl.decls \
- zlib/zlibtclDecls.h \
- libpng/Makefile.in \
- libpng/pngtclDecls.h \
- libtiff/Makefile.in \
- libtiff/tifftclDecls.h \
- libtiff/tifftclStubInit.c \
- tiff/tiff.c \
- jpeg/jpeg.c
-
- default
-
- find . -name configure -delete || die
- find compat/{libjpeg,libpng,zlib,libtiff} -delete || die
-
- eautoreconf
- for dir in zlib libpng libtiff libjpeg base bmp gif ico jpeg pcx pixmap png\
- ppm ps sgi sun tga tiff window xbm xpm dted raw flir ; do
- (cd ${dir}; eautoreconf)
- done
-
- eprefixify */*.h
- tc-export AR
-}
-
-src_install() {
- local l bl
-
- emake \
- DESTDIR="${D}" \
- INSTALL_ROOT="${D}" \
- install
-
- if ! use static-libs; then
- find "${ED}"/usr/$(get_libdir)/ -type f -name "*\.a" -delete || die
- fi
-
- # Make library links
- for l in "${ED}"/usr/lib*/Img*/*tcl*.so; do
- bl=$(basename ${l})
- dosym Img${PV}/${bl} /usr/$(get_libdir)/${bl}
- done
-
- dodoc ChangeLog README Reorganization.Notes.txt changes ANNOUNCE
-
- if use doc; then
- docompress -x usr/share/doc/${PF}/demo.tcl
- dodoc demo.tcl
- docinto html
- dodoc -r doc/*
- fi
-}
diff --git a/dev-tcltk/tkpiechart/tkpiechart-6.5-r2.ebuild b/dev-tcltk/tkpiechart/tkpiechart-6.5-r2.ebuild
index 9428e0439395..86f30c70ecea 100644
--- a/dev-tcltk/tkpiechart/tkpiechart-6.5-r2.ebuild
+++ b/dev-tcltk/tkpiechart/tkpiechart-6.5-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -10,7 +10,6 @@ SRC_URI="http://jfontain.free.fr/${P}.tar.bz2"
LICENSE="jfontain"
KEYWORDS="amd64 ~ppc x86"
SLOT="0"
-IUSE=""
DEPEND="dev-lang/tk:*
dev-tcltk/tcllib"
diff --git a/dev-tcltk/tkpng/tkpng-0.9-r2.ebuild b/dev-tcltk/tkpng/tkpng-0.9-r2.ebuild
index a68fa63effe1..56dd53e828eb 100644
--- a/dev-tcltk/tkpng/tkpng-0.9-r2.ebuild
+++ b/dev-tcltk/tkpng/tkpng-0.9-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -23,6 +23,10 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
+QA_CONFIG_IMPL_DECL_SKIP=(
+ stat64 # used to test for Large File Support
+)
+
# test target in Makefile, but test not shipped
RESTRICT="test"
diff --git a/dev-tcltk/tktable/tktable-2.10-r2.ebuild b/dev-tcltk/tktable/tktable-2.10-r2.ebuild
index d2bfcfa012d0..8e87e159ddce 100644
--- a/dev-tcltk/tktable/tktable-2.10-r2.ebuild
+++ b/dev-tcltk/tktable/tktable-2.10-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -12,7 +12,6 @@ SRC_URI="mirror://sourceforge/tktable/${MY_P}.tar.gz"
LICENSE="BSD"
KEYWORDS="amd64 ppc x86"
SLOT="0"
-IUSE=""
DEPEND=">=dev-lang/tk-8.0:="
RDEPEND="${DEPEND}"
diff --git a/dev-tcltk/tktable/tktable-2.10.8.ebuild b/dev-tcltk/tktable/tktable-2.10.8.ebuild
index 055679d579c2..2215efce4811 100644
--- a/dev-tcltk/tktable/tktable-2.10.8.ebuild
+++ b/dev-tcltk/tktable/tktable-2.10.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -9,9 +9,8 @@ SRC_URI="https://github.com/wjoye/${PN}/archive/refs/tags/v${PV}.tar.gz
-> ${P}.tar.gz"
LICENSE="BSD"
-KEYWORDS="amd64 ppc x86"
+KEYWORDS="amd64 ~arm64 ppc x86"
SLOT="0"
-IUSE=""
RESTRICT="test"
DEPEND=">=dev-lang/tk-8.0:="
@@ -20,6 +19,10 @@ RDEPEND="${DEPEND}"
HTML_DOCS=( doc/tkTable.html )
DOCS=( ChangeLog README.txt release.txt )
+QA_CONFIG_IMPL_DECL_SKIP=(
+ opendir64 rewinddir64 closedir64 stat64 # used on AIX
+)
+
PATCHES=(
"${FILESDIR}"/${PN}-2.10-parallelMake.patch
"${FILESDIR}"/${P}-clang6.patch
diff --git a/dev-tcltk/tktray/tktray-1.3.9-r2.ebuild b/dev-tcltk/tktray/tktray-1.3.9-r2.ebuild
index db484aefe6cd..d378d9096777 100644
--- a/dev-tcltk/tktray/tktray-1.3.9-r2.ebuild
+++ b/dev-tcltk/tktray/tktray-1.3.9-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -24,6 +24,10 @@ DEPEND="
x11-libs/libXext"
RDEPEND="${DEPEND}"
+QA_CONFIG_IMPL_DECL_SKIP=(
+ stat64 # used to test for Large File Support
+)
+
PATCHES=(
"${FILESDIR}"/1.1-ldflags.patch
)
diff --git a/dev-tcltk/tktray/tktray-1.3.9.ebuild b/dev-tcltk/tktray/tktray-1.3.9.ebuild
deleted file mode 100644
index cdfa53b8e127..000000000000
--- a/dev-tcltk/tktray/tktray-1.3.9.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="System Tray Icon Support for Tk on X11"
-HOMEPAGE="https://code.google.com/p/tktray/"
-SRC_URI="https://tktray.googlecode.com/files/${PN}${PV}.tar.gz"
-S="${WORKDIR}/${PN}${PV}"
-
-LICENSE="tcltk"
-SLOT="0"
-KEYWORDS="amd64 ~ppc ~sparc x86"
-IUSE="debug threads"
-
-# tests need actual X server with user interaction, bug #284919
-RESTRICT="test"
-
-DEPEND="
- >=dev-lang/tcl-8.4:0=
- >=dev-lang/tk-8.4:0=
- x11-libs/libXext"
-RDEPEND="${DEPEND}"
-
-PATCHES=( "${FILESDIR}"/1.1-ldflags.patch )
-
-src_configure() {
- source /usr/lib/tclConfig.sh
- CPPFLAGS="-I${TCL_SRC_DIR}/generic ${CPPFLAGS}" \
- econf \
- $(use_enable debug symbols) \
- $(use_enable threads)
-}
diff --git a/dev-tcltk/tktreectrl/tktreectrl-2.4.1-r1.ebuild b/dev-tcltk/tktreectrl/tktreectrl-2.4.1-r1.ebuild
new file mode 100644
index 000000000000..f1c695b3fdd4
--- /dev/null
+++ b/dev-tcltk/tktreectrl/tktreectrl-2.4.1-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit virtualx
+
+DESCRIPTION="Flexible listbox widget for Tk"
+HOMEPAGE="https://tktreectrl.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="tcltk"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug shellicon threads"
+
+RDEPEND=">=dev-lang/tk-8.4:0="
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}"/2.2.9-as-needed.patch )
+
+QA_CONFIG_IMPL_DECL_SKIP=(
+ stat64 # used to test for Large File Support
+)
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable threads)
+ $(use_enable shellicon)
+ $(use_enable amd64 64bit)
+ $(use_enable debug symbols)
+ --with-x
+ --enable-shared
+ )
+
+ econf ${myeconfargs[@]}
+}
+
+src_test() {
+ virtx emake test
+}
+
+src_install() {
+ default
+ mv \
+ "${ED}"/usr/lib*/treectrl${PV}/htmldoc \
+ "${ED}"/usr/share/doc/${PF}/ || die
+}
diff --git a/dev-tcltk/togl/togl-2.0-r3.ebuild b/dev-tcltk/togl/togl-2.0-r3.ebuild
deleted file mode 100644
index 017804394aa5..000000000000
--- a/dev-tcltk/togl/togl-2.0-r3.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_P=Togl${PV}
-
-DESCRIPTION="A Tk widget for OpenGL rendering"
-HOMEPAGE="http://togl.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${MY_P}-src.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
-IUSE="debug +threads"
-
-RDEPEND="
- dev-lang/tk:*
- media-libs/mesa[X]
- x11-libs/libXmu"
-DEPEND="${RDEPEND}"
-
-# tests directory is missing
-RESTRICT="test"
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
- default
- sed \
- -e 's:-fomit-frame-pointer::g' \
- -e 's:-O2::g' \
- -e 's:-pipe::g' \
- -i configure || die
-}
-
-src_configure() {
- econf \
- $(use_enable debug symbols) \
- $(use_enable threads)
-}
-
-src_install() {
- HTML_DOCS=( doc/* )
- default
-}
diff --git a/dev-tcltk/togl/togl-2.0-r4.ebuild b/dev-tcltk/togl/togl-2.0-r4.ebuild
index f0fed2a97886..57b3a97fdfbf 100644
--- a/dev-tcltk/togl/togl-2.0-r4.ebuild
+++ b/dev-tcltk/togl/togl-2.0-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -27,6 +27,10 @@ S=${WORKDIR}/${MY_P}
PATCHES=( "${FILESDIR}"/${P}-clang6.patch )
+QA_CONFIG_IMPL_DECL_SKIP=(
+ stat64 # used to test for Large File Support
+)
+
src_prepare() {
default
sed \