diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-10 18:45:26 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-10 18:45:26 +0000 |
commit | f50d60b8eb707b56133e594376e993b98e726b5d (patch) | |
tree | be9f0c658e4e0ace79af92f89becddd06c01c772 /dev-lang | |
parent | 84e395ce722d1f39cf3ef1467b23eda9c2462017 (diff) |
gentoo auto-resync : 10:03:2024 - 18:45:26
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/Manifest.gz | bin | 21842 -> 21839 bytes | |||
-rw-r--r-- | dev-lang/gnucobol/Manifest | 3 | ||||
-rw-r--r-- | dev-lang/gnucobol/files/gnucobol-3.2-libxml.patch | 10 | ||||
-rw-r--r-- | dev-lang/gnucobol/gnucobol-3.2.ebuild | 1 | ||||
-rw-r--r-- | dev-lang/tcl/Manifest | 2 | ||||
-rw-r--r-- | dev-lang/tcl/tcl-8.6.14.ebuild | 130 | ||||
-rw-r--r-- | dev-lang/tk/Manifest | 3 | ||||
-rw-r--r-- | dev-lang/tk/files/tk-8.6.14-test.patch | 49 | ||||
-rw-r--r-- | dev-lang/tk/tk-8.6.14.ebuild | 153 |
9 files changed, 350 insertions, 1 deletions
diff --git a/dev-lang/Manifest.gz b/dev-lang/Manifest.gz Binary files differindex 56fc8c46cef0..622fc22db62f 100644 --- a/dev-lang/Manifest.gz +++ b/dev-lang/Manifest.gz diff --git a/dev-lang/gnucobol/Manifest b/dev-lang/gnucobol/Manifest index 289747d50ca4..f22a3d4ab9f8 100644 --- a/dev-lang/gnucobol/Manifest +++ b/dev-lang/gnucobol/Manifest @@ -1,7 +1,8 @@ AUX gnucobol-3.1.2-gentoo.patch 494 BLAKE2B c701946439e87fddcd7ea8a5247fbd4a4d24badb14579f257933f4116262f91edecae376248b2f87d6e7ce4006aa07424a6a2fbfbf808274c43adb8815e9acec SHA512 95916c5359c564bc300c0125198c4174b65f3ef62dd00f3ac3097b4f04cdbf0b3f99cdbf7869bb7a9a18e7b0ccb14fd47507c936ce7fad18236838e428079bf3 AUX gnucobol-3.1.2-ncurses.patch 720 BLAKE2B 7d0c7fbcc390da31a0a77c88ceb88593ba221ba96454c2c650d88c3e9167919b793898c18126afa0c1b8107517adcd242310c219fb3bd82d321d1682d5ddab3d SHA512 7f69d1c48878c761feff10fcf0173a0552c50e520fa601aa389fb8af226fb9f376e7b03a5aac81a0510186367ac799c98858cbc89172fd86118de8a3b907c850 +AUX gnucobol-3.2-libxml.patch 288 BLAKE2B 5213fc684191d2df93f09c67e625a9369901464d254f87792772a19ca0ac91892dd7cffdedf10546c12e35bec1b62bbb26234a6176132e396b96995111337603 SHA512 322a628fcf3c05672e357490548eb5e00ef6dc0d8c18f1708d4ac21010dabb06c4673ad643bdc13dc99daf9aabe5b4c31f4bd8864b619e752b644a0af0e62375 DIST gnucobol-3.1.2.tar.xz 2198512 BLAKE2B ccf9252bc4d5e64e966cea483981da36155767a5879967be7226fbcd8f13d8b427558de3a25cc8638f9156882b6f368acbf3e84d5e2ee68bd5754a6a513ac7d6 SHA512 738149c9d3e01140e4036b041f4eaa6c7caf7848a87146a3dd9940a9f17006805fd3c6b169d346bf01a0c2e671655080978c0f3182a85389f8f8a373ca8c1435 DIST gnucobol-3.2.tar.xz 2902828 BLAKE2B 66df93fe2f8772aebd807612c8e96be46f5605c316f374ae51b3a8c3f6ce760150af60777cd1d53f12f65ee48bc0a6225c506b813fdafcc87d949e609ff3273e SHA512 1aef3c1bf7283219a7cb1e7b38ba5c5e299c0a83666ab6afdbb5713f1f791b23575ca51d546c4f2f036217060269028bbce4b5babbeb4f721b57495d5f258ff7 EBUILD gnucobol-3.1.2.ebuild 924 BLAKE2B 8e37c79fdb179e6167a35771c70a7331ec925ccb721132a9c59672dd73ddcadc973072fe74b38e2184e6b702aa79081059d079da283b83afcc7136d3187cc721 SHA512 f47be693243223617f33e7c9d31dd5112bba38b4f2c54ae2766d492958917b98b3ee9bc8e5f1a32232c28715eda246c62642886b5f31fa2c3aa27710b1ef3186 -EBUILD gnucobol-3.2.ebuild 969 BLAKE2B 2204f6851443aa290a74dcb618f2cd6fd5d3294d737ed78961972b682b1bc7ceecb84105c99a6514ef1e8bcea0389058c55ed20aa809503323d244b5a4fce446 SHA512 b0bab223e1c81dd62d790977e009a34990e285a5b9430630afa67055f32d66677494135296bf2342ad7cf64f54c7d572a3db75d0ac762aafeca73e8fe69b45e9 +EBUILD gnucobol-3.2.ebuild 1002 BLAKE2B 2772448fe04861ce1a5cc0c32d25e812fc08b48c7c4e4db2a7f3cd8d35ce9756b58f9df9c3009656684d665ade1923ee8721244e549b39c38ed42dfe180ec757 SHA512 db6fe0345a4e90e8ff721ff4d0f5e3469bae77c360131288e621a57e58fbff9060d215656a158aca9ce9183e1851b62ffeb30387250cb12c55f8daa1b9e7f367 MISC metadata.xml 443 BLAKE2B a5db53a5177af3154eb6c21c12dcd6ddf3d76445143b743768661fe242d9d2aeac41a630e24432e1578d28e4817a02b4fc80b72c1c3719e7cb7499adda4c4245 SHA512 11e0327d7d55ce1c89252688a2a11dfd0e40355dd982f630fab3e2fd5ee6de3ad6264a03a4d409f4c602d28f8c71b39b5c16752815e984f0c140ccd7caa7bf61 diff --git a/dev-lang/gnucobol/files/gnucobol-3.2-libxml.patch b/dev-lang/gnucobol/files/gnucobol-3.2-libxml.patch new file mode 100644 index 000000000000..b6c4f5002565 --- /dev/null +++ b/dev-lang/gnucobol/files/gnucobol-3.2-libxml.patch @@ -0,0 +1,10 @@ +--- a/libcob/common.c 2024-03-10 11:12:23.253391905 +0100 ++++ b/libcob/common.c 2024-03-10 11:12:46.433130551 +0100 +@@ -136,6 +136,7 @@ + #if defined (WITH_XML2) + #include <libxml/xmlversion.h> + #include <libxml/xmlwriter.h> ++#include <libxml/parser.h> + #endif + + #if defined (WITH_CJSON) diff --git a/dev-lang/gnucobol/gnucobol-3.2.ebuild b/dev-lang/gnucobol/gnucobol-3.2.ebuild index 26cb539a6333..8bbbcbd6d2d9 100644 --- a/dev-lang/gnucobol/gnucobol-3.2.ebuild +++ b/dev-lang/gnucobol/gnucobol-3.2.ebuild @@ -28,6 +28,7 @@ DOCS=( AUTHORS ChangeLog NEWS README README.md ) PATCHES=( "${FILESDIR}"/${PN}-3.1.2-gentoo.patch + "${FILESDIR}"/${P}-libxml.patch ) src_prepare() { diff --git a/dev-lang/tcl/Manifest b/dev-lang/tcl/Manifest index 085f008c2c8b..f627027ddb05 100644 --- a/dev-lang/tcl/Manifest +++ b/dev-lang/tcl/Manifest @@ -6,7 +6,9 @@ AUX tcl-8.6.9-include-spec.patch 488 BLAKE2B 06aa49163e8316b409238055d4b2ef67a3b DIST tcl-core8.6.11-src.tar.gz 6041050 BLAKE2B 9c41d5ae5d22627b903d18c5ca607d4a2647d7af65d3029a463cf571d3fbe0bd48e15fef643e81de94296777985a36530a83718d4eb7befca4bc107ab860cc0d SHA512 fe3556c37305e3856743e9a202a320d44b1b3cbc926a1b7a4449ae5baf2f8df92214a9aa06f0a87645d032857fb71458fc864ff007fd73da60463ae5001f2d3f DIST tcl-core8.6.12-src.tar.gz 6064625 BLAKE2B 30dc780562aa6955e2c417798cc96fabd23e947cee81146dc192156598e3c43f588864aab4392d62901b8964cf59bedb6cad1f064e32b03dd9733b3a0a7b5c8a SHA512 7144a50d19d3855edbda14b538cc94fe26c0dd357b979676c3fe02d599dab61ba777bf14f6aaebb63e238aeff1d0bad25ea7b0ff31b2398468f67fc0a305b9f3 DIST tcl-core8.6.13-src.tar.gz 6370805 BLAKE2B f5af3c0fa2d52c09ab16578c9147cb5ac4a06b81882c49f1ef23642bed32adccbe2a5acbddc5d18bd1757e1991daf864707d842e675f92c6de70be6f4275b95e SHA512 c1c953ac0f9a530d8256514c0cb78f166d0063db725b87fa19272716a955cd390ff8f1c5f17e791cf463284d88bb136d61194779a913a6a78f46146d485c71ee +DIST tcl-core8.6.14-src.tar.gz 7081644 BLAKE2B 7148c889954d78774c4352ceae5d814498a1670423a2b3ed288786dce97b87d42395b817ef92fc6561358d84736619ef03d1c2e2c502433c4b3f5eb7c80a62e8 SHA512 495b13af817c68d81533c45345d003efd711ddbc5c1a3d1fbbdb10452fa62d91e649f77835239e547355ade84abfea6ae843d2e76de6108532054170a672ddc0 EBUILD tcl-8.6.11.ebuild 3984 BLAKE2B 55360b19bfb0e73387124a3a651b55af1ddd2e1bdf37a3b6dc92760df2a6e16c56f372181074889585df178fa4acde35869ef581cbdfbb552f791e1af4be9379 SHA512 399d965189cef511c14dfb141bb0820a853791640e6be9aba3b971064848c3c9214dd7a1e1656538cdad49fad2655e112468a11317dab5d0b83a2e50635b35fa EBUILD tcl-8.6.12-r1.ebuild 3550 BLAKE2B 4cc84a86368405c82f00eed44bf9a35ba0a6f0f783ee0ea15a61cbfdba8352573ca4c099676dd9d1bdc34cc583872cc21bf33db9e68828256afd4e13fc99cfd8 SHA512 307800fce482cae3581c17b05aa2c5879b03ece36d856704087d7c3f922857a15179148c28d05b297fee49ffce944eb56bb968211fca49844329d92e2da4275e EBUILD tcl-8.6.13-r1.ebuild 3830 BLAKE2B 65cdb68e2af463a8e1dee7e41f9ff6fd6b1c7377ba6490e248e15ef6b32975caacb5d5d43ff7bb6dd6601552ce7e5bc50b96070a8c561feb6f0538891da9ea41 SHA512 69a1ea06725f9cd88b9cd136e16d3cad113756326a39e5736bdf449f8197fabe9d528a391d4a2e39225f302ae9dcdf99862eb036b9df22b28540d0efa5907055 +EBUILD tcl-8.6.14.ebuild 3838 BLAKE2B b38f45329aa7f646ff6dc7c9b822709ff19366aab4e862b760a78231a78ff4e7c5ae7e47e3ef71cc7023426be027aefccbd510e88f3628dbd9e1cf770f8ca87f SHA512 35d3947efe714eb44b8efd8b4de2469e0a9b769a7dacccb84d29fd7d79395f230284c0e7b3f0d01e7c3ad35e96918d6db4551fe1aec255b4b2984885292f7979 MISC metadata.xml 421 BLAKE2B c056a7ae8f2deaddda9bb329d46ec4f322548f4d031479ba522f5d93add46bd47cc783e9876b398579898af2cbdedb053c6328433eacfd02df4bb6dcf0185766 SHA512 0e77b876a127d68c7b193db874b9d3ab38f8475abafec1d866f2a4158ea4334ae04fbd6cb1d9acc23c81e13e584fe667503e4d9352873e1880a2d6acf7dec59c diff --git a/dev-lang/tcl/tcl-8.6.14.ebuild b/dev-lang/tcl/tcl-8.6.14.ebuild new file mode 100644 index 000000000000..58692642a27e --- /dev/null +++ b/dev-lang/tcl/tcl-8.6.14.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# Please bump with dev-lang/tk! + +inherit autotools flag-o-matic multilib-minimal multilib toolchain-funcs + +MY_P="${PN}${PV}" + +DESCRIPTION="Tool Command Language" +HOMEPAGE="http://www.tcl.tk/" +SRC_URI="mirror://sourceforge/tcl/${PN}-core${PV}-src.tar.gz" + +LICENSE="tcltk Spencer-99" +SLOT="0/8.6" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="debug +threads" + +RDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +SPARENT="${WORKDIR}/${MY_P}" +S="${SPARENT}"/unix + +PATCHES=( + "${FILESDIR}"/${PN}-8.6.10-multilib.patch + "${FILESDIR}"/${PN}-8.6.8-conf.patch # Bug 125971 + "${FILESDIR}"/${PN}-8.6.9-include-spec.patch # Bug 731120 + "${FILESDIR}"/${PN}-8.6.13-tclConfig-TCL_PACKAGE_PATH-braces.patch # Bug 892029 +) + +QA_CONFIG_IMPL_DECL_SKIP=( + stat64 opendir64 rewinddir64 closedir64 # used to test for Large File Support +) + +src_prepare() { + # By dropping the compat directory a lot of licensing and attribution burden + # (BSD-3, zlib,...) is lifted from the user + find \ + "${SPARENT}"/compat/* \ + "${SPARENT}"/doc/try.n \ + -delete || die + + pushd "${SPARENT}" &>/dev/null || die + default + popd &>/dev/null || die + + # httpold tests require netowk + rm ../tests/httpold.test \ + ../tests/env.test \ + ../tests/http.test \ + || die + + # workaround stack check issues, bug #280934 + use hppa && append-cflags "-DTCL_NO_STACK_CHECK=1" + + tc-export CC + + sed \ + -e '/chmod/s:555:755:g' \ + -i Makefile.in || die + + sed \ + -e 's:-O[2s]\?::g' \ + -i tcl.m4 || die + + mv configure.{in,ac} || die + + eautoconf + + multilib_copy_sources +} + +multilib_src_configure() { + # We went ahead and deleted the whole compat/ subdir which means + # the configure tests to detect broken versions need to pass (else + # we'll fail to build). This comes up when cross-compiling, but + # might as well get a minor configure speed up normally. + export ac_cv_func_memcmp_working="yes" + export tcl_cv_str{str,toul,tod}_unbroken="ok" + export tcl_cv_strtod_buggy="no" + + econf \ + $(use_enable threads) \ + $(use_enable debug symbols) +} + +multilib_src_install() { + #short version number + local v1=$(ver_cut 1-2) + local mylibdir=$(get_libdir) + + S= default + # fix the tclConfig.sh to eliminate refs to the build directory + # and drop unnecessary -L inclusion to default system libdir + + sed \ + -e "/^TCL_BUILD_LIB_SPEC=/s:-L$(pwd) *::g" \ + -e "/^TCL_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \ + -e "/^TCL_SRC_DIR=/s:${SPARENT}:${EPREFIX}/usr/${mylibdir}/tcl${v1}/include:g" \ + -e "/^TCL_BUILD_STUB_LIB_SPEC=/s:-L$(pwd) *::g" \ + -e "/^TCL_STUB_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \ + -e "/^TCL_BUILD_STUB_LIB_PATH=/s:$(pwd):${EPREFIX}/usr/${mylibdir}:g" \ + -e "/^TCL_LIBW_FILE=/s:'libtcl${v1}..TCL_DBGX..so':\"libtcl${v1}\$\{TCL_DBGX\}.so\":g" \ + -i "${ED}"/usr/${mylibdir}/tclConfig.sh || die + if use prefix && [[ ${CHOST} != *-darwin* ]] ; then + sed \ + -e "/^TCL_CC_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|g" \ + -e "/^TCL_LD_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|" \ + -i "${ED}"/usr/${mylibdir}/tclConfig.sh || die + fi + + # install private headers + insinto /usr/${mylibdir}/tcl${v1}/include/unix + doins *.h + insinto /usr/${mylibdir}/tcl${v1}/include/generic + doins "${SPARENT}"/generic/*.h + rm -f "${ED}"/usr/${mylibdir}/tcl${v1}/include/generic/{tcl,tclDecls,tclPlatDecls}.h || die + + # install symlink for libraries + dosym libtcl${v1}$(get_libname) /usr/${mylibdir}/libtcl$(get_libname) + dosym libtclstub${v1}.a /usr/${mylibdir}/libtclstub.a + + if multilib_is_native_abi; then + dosym tclsh${v1} /usr/bin/tclsh + dodoc "${SPARENT}"/{ChangeLog*,README.md,changes} + fi +} diff --git a/dev-lang/tk/Manifest b/dev-lang/tk/Manifest index b2a2da879f89..82767dc556cd 100644 --- a/dev-lang/tk/Manifest +++ b/dev-lang/tk/Manifest @@ -3,11 +3,14 @@ AUX tk-8.6.10-multilib.patch 404 BLAKE2B 64bead51acb308eb88147797288895cda5ea0f5 AUX tk-8.6.11-test.patch 2589 BLAKE2B 8917d71ef1072dfd10f35d009323f3787479104d53071fc094d762d66b260b7d72584b8bf330cc76a09fd45b471b19982edbb62603471d0c4f3ce056240b1ab1 SHA512 08648d57f3e27e574f94ff15821514fd53b85554f7e182a20685f3d6f6c5c2ef7557088c49e5689cbc88c5117e452ed512dd748b8524b5a7af60f084344ab897 AUX tk-8.6.12-test.patch 1394 BLAKE2B 08cb947cb2ce6cc86543c0e025656726ac0469964eadcd594f92035e1f58efe57c150455f5b74391048dc06c47186f7c5d5125fb505f17c5b8daac720d02c8b7 SHA512 1dfe6a615208cdc9ec51bc59ce0fb0076902f2469fd7ea12501b6fcf60deb818f072a5c053caf6ea2e06505054d8838fdfe2fafb8cf1bb3a040a859c259b6102 AUX tk-8.6.13-test.patch 1625 BLAKE2B 46f06da92c10da68736e809b24f52a01d71e832f2a284678416e17a6bef76fe891ee67e731115c8b6a3d0e35455ef8409f730b741ca5c1c60e11bba2929d1e63 SHA512 9110606e4e8786d5aaab3902ac33bfe611f2933de688cb7f62af3fa5d62c9ec1c05a8fc285f1161c868fc6f71999e00665d91f6ac41c9c6e1b5fdd63ddce1430 +AUX tk-8.6.14-test.patch 1608 BLAKE2B bf766dc5a39e5deb57c8dbdd15acf513123967c7cf61e2aa8352b7c6e1c11e60be809328e5f9da45d25a731f9c1672f7f29b528b274a6626f512661e86a7ef44 SHA512 e93e26050a2d594d056a4b1f18676d80faef2a1cd421312bddd12c0ded0cba732a9aa683ef9f6bd149580696007de36da934779986b44b4cdb14d8bc6ec0ac64 AUX tk-8.6.9-conf.patch 407 BLAKE2B 13662318b4c5029802f74551a6a194e27ddb6dbf2e5ceeecc45c98b27a5386a9b9443af7c329fc422c5249c3da6308552d5c879b5629ae47b705c0d2ddac5534 SHA512 10447a13d597c0917d15089dcfab64165927589ea0fbec7073699788f5ba003e561a6af6562b2ee3e3b40df2f9dc0719c2ca4209a927e506710a390c7a67eb70 DIST tk8.6.11.1-src.tar.gz 4496008 BLAKE2B d7bae2fa535411ad8620ec81cdc0b34a1206fed82f50dbd98d3977af46ac43f794166cb7029f274f7903228c62ce83dfbd56cea06669ff1e382b185d733b0792 SHA512 e2a1d27ba63601731d43c4c4e2b658771a14afd97ef8231f8bc7854e762b83a42f23b8db600e4b4a4a14ae6fc97378d0b9a9a180ae09308b9d12436ec2b176c4 DIST tk8.6.12-src.tar.gz 4515393 BLAKE2B 328522b7e1b4d291863db01ac93e18630f3984459d145a11d742f912a40d5634ffe4608760ce45f444903d45fb707bb48ecc3586913f0c2fde4664a402f6b862 SHA512 afe51eb3e2071640ebc57f9ee6979fe91ee7856df8d3c9d55ae70c470cdae2306d2feeb791f46258f529a5c4a07b53974a7574cf3594818cd4e99077b30c697b DIST tk8.6.13-src.tar.gz 4546848 BLAKE2B 5f00cf64feb7c7eb6739303c857dfabff4cbf4148c65462c2a5cc49cc8010fba950ffa7043101e98ded543a6c6e9b925dc1ee0e6e9031a240ae29b918f81060a SHA512 719aa6776bfdc814f817919a265d3f9d847782c9f0a5fc5c2ab139beeba921e6fde8c66e7e836d78f86f53c98a7df0e587f0b2f4b08cc5ce12eecbb7f1ab71a5 +DIST tk8.6.14-src.tar.gz 4510695 BLAKE2B 00b83a87b65317ca32228a11014bd9fe7cffb92089e152ca63a1e02ff23a5fc132b9336618f361692aa94ebf9e023cef492fafe39d51b9111feaec4934e8ae42 SHA512 756903dfa56cf77c7934bb3680c9bef6027f99196f4e6a2e823b85c342ca860cbb4b42154f576cc88f7f1265d28ce2d84ab5f52f848b16cca0cf9af4c770183f EBUILD tk-8.6.11.1.ebuild 4025 BLAKE2B 08f46d2172b16b334884c24d966d09e0ba6e74c1b35dd14787eae20941e5acbb7f7bb0432c08186f4df3ec9f409ab228734ff2d0ea94dfc5bfdb0ff430d30fac SHA512 9e3f47c56b5371caa64758faa8351db6d22f0303ab550fee9aaa0903b67aafccfbf0bf845eeef1925cbffe87e3a45e9804c8548ad27779dd35db29b28914e22e EBUILD tk-8.6.12.ebuild 4059 BLAKE2B 5eba5ee5623c7a15aa66589159ded6ee1cb67826eec3f45c966fc26917ac4e3f53d898d542c306abb8107bdb0c31dda0780dfa2325b644373c51e97130c85baf SHA512 e3e3e96daf5055e4d39d27a8b577e8bcd59aa064af1a8c5506b4c24c60b75afbf91e4361066ac596b88d259c681fd4d5b17f4316bf2c3339e1ce41184e104764 EBUILD tk-8.6.13.ebuild 4214 BLAKE2B 427c57a755a7d1a5d97ec7769ccf3143014288812c38b7a4818d12e3d1585116490a6e91b6843bd714b04e69e6c253c270c171fbe7f24ccd14741a49888b6460 SHA512 14e1db294c54fb519fc56cd6a72f27c34cc560e8286a1f7e26a434125f00729314538d785cce95f963a4227973af78b4d5050c3534f11eff04534fed9bed4356 +EBUILD tk-8.6.14.ebuild 4213 BLAKE2B 2f89894ee5173ad75364887a14f35e4400e9f323b1bd745efe78241d899de89e2bcf6bd2aacaebb204ec00f1d398a3b7d280f4f1cb30928ec680547c67710433 SHA512 372f4eb12b6625a480eaecddfc5ee2722ec2cac40aee70a61608d66b85ef3aa7571f166eabed3ab3d844c094401deb57daa1f59f1551c266dc84fa709ee8a597 MISC metadata.xml 375 BLAKE2B bb3f40f5b72544625f38a6b5b17d4435d3b0bb1aef8f668f3a1e1ea7f84bf7a25651b7894abbadd66f554f68eae113c74d348b5c821f686ea78e3c1f72709ead SHA512 3e175a0631c7add79e33cf4bd1254d5f1d82da26aa26ff072d5295bbca7a9d81c760145c2cbd853e854b06e08fcadcc55ea5ef2cbd016aec73c55b97507afef9 diff --git a/dev-lang/tk/files/tk-8.6.14-test.patch b/dev-lang/tk/files/tk-8.6.14-test.patch new file mode 100644 index 000000000000..a59f9d4e6861 --- /dev/null +++ b/dev-lang/tk/files/tk-8.6.14-test.patch @@ -0,0 +1,49 @@ +--- a/tests/textDisp.test 2024-03-10 14:25:29.581307116 +0100 ++++ b/tests/textDisp.test 2024-03-10 14:26:46.022318200 +0100 +@@ -2314,11 +2314,6 @@ + } + lequal [.t index @0,0] $expected + } {1} +-test textDisp-16.17 {TkTextYviewCmd procedure, "moveto" option} haveBigFontTwiceLargerThanTextFont { +-# constrained because text tagged with the big font plays a role +- .t yview moveto .755 +- .t index @0,0 +-} {151.80} + test textDisp-16.18 {TkTextYviewCmd procedure, "moveto" roundoff} { + catch {destroy .top1} + toplevel .top1 +--- a/tests/ttk/entry.test 2022-11-23 08:44:49.647148945 +0100 ++++ b/tests/ttk/entry.test 2022-11-23 08:51:48.524180822 +0100 +@@ -127,28 +127,28 @@ + set result [.e xview] + } -result {0.0 0.5} + +-test entry-3.3 "xview" -body { ++test entry-3.3 "xview" -constraints knownBug -body { + .e delete 0 end; + .e insert end abcdefghijklmnopqrstuvwxyz + .e xview end + set result [.e index @0] + } -result 7 + +-test entry-3.4 "xview" -body { ++test entry-3.4 "xview" -constraints knownBug -body { + .e delete 0 end; + .e insert end abcdefghijklmnopqrstuvwxyz + .e xview moveto 1.0 + set result [.e index @0] + } -result 7 + +-test entry-3.5 "xview" -body { ++test entry-3.5 "xview" -constraints knownBug -body { + .e delete 0 end; + .e insert end abcdefghijklmnopqrstuvwxyz + .e xview scroll 5 units + set result [.e index @0] + } -result 5 + +-test entry-3.6 "xview" -body { ++test entry-3.6 "xview" -constraints knownBug -body { + .e delete 0 end; + .e insert end [string repeat abcdefghijklmnopqrstuvwxyz 5] + .e xview scroll 2 pages diff --git a/dev-lang/tk/tk-8.6.14.ebuild b/dev-lang/tk/tk-8.6.14.ebuild new file mode 100644 index 000000000000..92f13ed68a65 --- /dev/null +++ b/dev-lang/tk/tk-8.6.14.ebuild @@ -0,0 +1,153 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# Please bump with dev-lang/tcl! + +inherit autotools multilib-minimal multilib prefix toolchain-funcs virtualx + +MY_P="${PN}${PV/_beta/b}" + +DESCRIPTION="Tk Widget Set" +HOMEPAGE="https://www.tcl.tk/" +SRC_URI="mirror://sourceforge/tcl/${MY_P}-src.tar.gz" + +LICENSE="tcltk" +SLOT="0/8.6" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="debug +threads truetype aqua xscreensaver" +RESTRICT="!test? ( test )" + +RDEPEND=" + !aqua? ( + >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] + >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}] + truetype? ( >=x11-libs/libXft-2.3.1-r1[${MULTILIB_USEDEP}] ) + xscreensaver? ( >=x11-libs/libXScrnSaver-1.2.2-r1[${MULTILIB_USEDEP}] ) + ) + ~dev-lang/tcl-$(ver_cut 1-3):0=[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND} + !aqua? ( x11-base/xorg-proto )" +BDEPEND="virtual/pkgconfig" +# Not bumped to 8.6 +#RESTRICT=test + +SPARENT="${WORKDIR}/${PN}$(ver_cut 1-3 ${PV})" +S="${SPARENT}"/unix + +PATCHES=( + "${FILESDIR}"/${PN}-8.6.10-multilib.patch + "${FILESDIR}"/${PN}-8.4.15-aqua.patch + "${FILESDIR}"/${PN}-8.6.9-conf.patch # Bug 125971 + "${FILESDIR}"/${PN}-8.6.12-test.patch + "${FILESDIR}"/${P}-test.patch +) + +QA_CONFIG_IMPL_DECL_SKIP=( + stat64 opendir64 rewinddir64 closedir64 # used to test for Large File Support +) + +src_prepare() { + find \ + "${SPARENT}"/compat/* \ + -delete || die + + pushd "${SPARENT}" &>/dev/null || die + default + popd &>/dev/null || die + eprefixify Makefile.in + + # Make sure we use the right pkg-config, and link against fontconfig + # (since the code base uses Fc* functions). + sed \ + -e 's/FT_New_Face/XftFontOpen/g' \ + -e "s:\<pkg-config\>:$(tc-getPKG_CONFIG):" \ + -e 's:xft freetype2:xft freetype2 fontconfig:' \ + -i configure.in || die + rm configure || die + + tc-export CC + + sed \ + -e '/chmod/s:555:755:g' \ + -i Makefile.in || die + + sed \ + -e 's:-O[2s]\?::g' \ + -i tcl.m4 || die + + mv configure.{in,ac} || die + + eautoconf + + multilib_copy_sources +} + +multilib_src_configure() { + if tc-is-cross-compiler ; then + export ac_cv_func_strtod=yes + export tcl_cv_strtod_buggy=1 + fi + + local mylibdir=$(get_libdir) + + econf \ + --with-tcl="${EPREFIX}/usr/${mylibdir}" \ + $(use_enable threads) \ + $(use_enable aqua) \ + $(use_enable truetype xft) \ + $(use_enable xscreensaver xss) \ + $(use_enable debug symbols) +} + +multilib_src_test() { + CI=1 virtx emake test +} + +multilib_src_install() { + #short version number + local v1=$(ver_cut 1-2) + local mylibdir=$(get_libdir) + + S= default + + # normalize $S path, bug #280766 (pkgcore) + local nS="$(cd "${S}"; pwd)" + + # fix the tkConfig.sh to eliminate refs to the build directory + # and drop unnecessary -L inclusion to default system libdir + + sed \ + -e "/^TK_BUILD_LIB_SPEC=/s:-L${S}-\w*\.\w* ::g" \ + -e "/^TK_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \ + -e "/^TK_SRC_DIR=/s:${SPARENT}:${EPREFIX}/usr/${mylibdir}/tk${v1}/include:g" \ + -e "/^TK_BUILD_STUB_LIB_SPEC=/s:-L${S}-\w*\.\w* *::g" \ + -e "/^TK_STUB_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \ + -e "/^TK_BUILD_STUB_LIB_PATH=/s:${S}-\w*\.\w*:${EPREFIX}/usr/${mylibdir}:g" \ + -e "/^TK_LIB_FILE=/s:'libtk${v1}..TK_DBGX..so':\"libk${v1}\$\{TK_DBGX\}.so\":g" \ + -i "${ED}"/usr/${mylibdir}/tkConfig.sh || die + if use prefix && [[ ${CHOST} != *-darwin* ]] ; then + sed \ + -e "/^TK_CC_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|g" \ + -e "/^TK_LD_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|" \ + -i "${ED}"/usr/${mylibdir}/tkConfig.sh || die + fi + + # install private headers + insinto /usr/${mylibdir}/tk${v1}/include/unix + doins "${S}"/*.h + insinto /usr/${mylibdir}/tk${v1}/include/generic + doins "${SPARENT}"/generic/*.h + rm -f "${ED}"/usr/${mylibdir}/tk${v1}/include/generic/{tk,tkDecls,tkPlatDecls}.h || die + + # install symlink for libraries + dosym libtk${v1}$(get_libname) /usr/${mylibdir}/libtk$(get_libname) + dosym libtkstub${v1}.a /usr/${mylibdir}/libtkstub.a + + if multilib_is_native_abi; then + dosym wish${v1} /usr/bin/wish + dodoc "${SPARENT}"/{ChangeLog*,README.md,changes} + fi +} |