diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-tcltk/tclx |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-tcltk/tclx')
-rw-r--r-- | dev-tcltk/tclx/Manifest | 7 | ||||
-rw-r--r-- | dev-tcltk/tclx/files/tclx-8.4-ldflags.patch | 13 | ||||
-rw-r--r-- | dev-tcltk/tclx/files/tclx-8.4-varinit.patch | 11 | ||||
-rw-r--r-- | dev-tcltk/tclx/metadata.xml | 12 | ||||
-rw-r--r-- | dev-tcltk/tclx/tclx-8.4.1.ebuild | 54 |
5 files changed, 97 insertions, 0 deletions
diff --git a/dev-tcltk/tclx/Manifest b/dev-tcltk/tclx/Manifest new file mode 100644 index 000000000000..bf7ebc675c2b --- /dev/null +++ b/dev-tcltk/tclx/Manifest @@ -0,0 +1,7 @@ +AUX tclx-8.4-ldflags.patch 359 SHA256 f5efa346f10c8d8ecb1f650d0f9d4fd32c2cea9e24aaf49e8db54913ef04ce36 SHA512 a7fdd81a615222b805ab1dcb85a619b2621a187a39602f5d64dcf36027a1ee6e616328a7463f4cb9b6fe60169c887c925d133dc1df1cb20f9cb419ba13c870f1 WHIRLPOOL b839b1bb459c0ab6ef62b2bbe71a26c6557210eac83ddd4e35231240f53bcca4fedfa1a1ce4451e41869b0b2d7372de46b441f23c1bfa2386f3c329c81e92607 +AUX tclx-8.4-varinit.patch 399 SHA256 3770fea219c9639c53f6380453850e3191b52cc2ff48896aff8658d737df0624 SHA512 68f4e8a1bd1be1f98e286cf4ccba0a97aca2613c13059f8e06e446e376c4ebb8e66d16bbe5e5972e761a58417bb67fcc34b000ef0c95b740a4ad6801f8b43353 WHIRLPOOL 74ed1c52800f872a5fae77928b6cac7d8671f680c4a76c1e56f92cc42bf1ec83f085c13dbc8879d25a546c3003e8adaf6f0bbea02b730a9fa017838c424f92d3 +DIST tclx8.4.1.tar.bz2 330073 SHA256 a9b41f606ec6c1268b9c78512e6e1cb533bd9ae3e786e650d111fc16ffe758ec SHA512 faad58f5d8e0e1e759da639800f354b583fb01418c94f2274924aa07beb0ee9559beb87b3386ed5ae3694700a71dfe5b8ac54ead0ec75c6963507e9d3ead7060 WHIRLPOOL fd65983cdc51935fb8e7917bb4fc77e9a9822173c644dfdb63afc9e034ce41321a2a28a736039fcb18bcfeb1cd7aa9601000879ac1171c11bdeb266d30f0de41 +EBUILD tclx-8.4.1.ebuild 1125 SHA256 fc9ffe160d13321b84a88eda8116a899589ab220d18624e8310da4c40f91dc80 SHA512 5877cc6fcfd3e24effcb33932bd404f29dc7061c3e2144b0f16ea2fb9172e4df040d890f0d72a81136df508ee7f24fcc425aa3a557335fd8a74f3ca147b13d79 WHIRLPOOL 5864f5fc98acec549fdfcc1f40ac6996fea7d5b62caeb7971936a7ac85bedde493c628c639326c81045ed8f97fb127f49d051c8cf7aaf0a7f7bc31e8eaccc4af +MISC ChangeLog 2611 SHA256 7d688a488b2e00dc5c2daf3f7454a81cd384c773c8ee395d10eb8085716db0b0 SHA512 a49cbd3c4e2ea04b0ad52651eeae1b81748802ba9b06002dcffbbf6a6a708db31970d44ca93d332efc06225b505b59614b0d1004277b087a0e6497d98ad6d619 WHIRLPOOL 1d89308cdc891c04b78c8162066322562181b6d16d9893ee83e1f9485ea67eed0808e82fdca3e62b8ab47cfd5ba8272a6bbb3c57a205928d84277963aee7a43d +MISC ChangeLog-2015 7414 SHA256 427bfd96c9c737595134531500269be38d6b24d2d5eafb09709f6cedbacc943c SHA512 e3406133940c9139925d03931abc5cc86a139b8e3ca7cc6e5cc296b203aae1f43ca57a9cce5a41a76695b7e3e1e335e39766f8e26c92b391aa8b6e003a70dd8a WHIRLPOOL 9c0885f06cd7356fb94480015da69e2b07c2c476812471d8352cc0e20bee27afcb9c28d8d8063d8e133f2d139dfb9db589d6f96ddd3f22ab46b09d3f6475d904 +MISC metadata.xml 383 SHA256 f2799b08668d458d5b1f55403ad8a7f3c84309b5d3d2b6b0990164a89be2e431 SHA512 61c95be7d0f2dfbae23ea5f0d018fe2e4dc6ab26d9a6041e56b69bb7ee79c65884fda4efa3998fc5a2512ffa61a15817eb0f8a85f13aea4beed523a88a35db38 WHIRLPOOL b35b4ce1748c0e2e90f5dd11e4838aca1371c77c860e73d67189d6ad44df400c56a28a4585f70f444f904a191b13fbce68d49243d242bd71a39a0030d8e109d9 diff --git a/dev-tcltk/tclx/files/tclx-8.4-ldflags.patch b/dev-tcltk/tclx/files/tclx-8.4-ldflags.patch new file mode 100644 index 000000000000..40acfda25fd9 --- /dev/null +++ b/dev-tcltk/tclx/files/tclx-8.4-ldflags.patch @@ -0,0 +1,13 @@ +diff --git a/Makefile.in b/Makefile.in +index b812bbe..069337c 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -123,7 +123,7 @@ OBJEXT = @OBJEXT@ + RANLIB = @RANLIB@ + RANLIB_STUB = @RANLIB_STUB@ + SHLIB_CFLAGS = @SHLIB_CFLAGS@ +-SHLIB_LD = @SHLIB_LD@ ++SHLIB_LD = @SHLIB_LD@ @LDFLAGS@ + SHLIB_LD_LIBS = @SHLIB_LD_LIBS@ + STLIB_LD = @STLIB_LD@ + TCL_DEFS = @TCL_DEFS@ diff --git a/dev-tcltk/tclx/files/tclx-8.4-varinit.patch b/dev-tcltk/tclx/files/tclx-8.4-varinit.patch new file mode 100644 index 000000000000..08fe7d881191 --- /dev/null +++ b/dev-tcltk/tclx/files/tclx-8.4-varinit.patch @@ -0,0 +1,11 @@ +--- tclx8.4/generic/tclXdup.c.varinit 2006-02-03 15:54:38.000000000 -0500 ++++ tclx8.4/generic/tclXdup.c 2006-02-03 15:54:53.000000000 -0500 +@@ -202,7 +202,7 @@ + { + Tcl_Channel newChannel; + int bindFnum, fnum; +- char *srcChannelId, *targetChannelId; ++ char *srcChannelId = NULL, *targetChannelId; + + if ((objc < 2) || (objc > 3)) { + return TclX_WrongArgs (interp, objv [0], diff --git a/dev-tcltk/tclx/metadata.xml b/dev-tcltk/tclx/metadata.xml new file mode 100644 index 000000000000..f3b20f1c9fb8 --- /dev/null +++ b/dev-tcltk/tclx/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>tcltk@gentoo.org</email> + <description>TCL / TK herd</description> + </maintainer> + <longdescription>Extended TCL</longdescription> + <upstream> + <remote-id type="sourceforge">tclx</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-tcltk/tclx/tclx-8.4.1.ebuild b/dev-tcltk/tclx/tclx-8.4.1.ebuild new file mode 100644 index 000000000000..6ce5cc26795d --- /dev/null +++ b/dev-tcltk/tclx/tclx-8.4.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils multilib versionator + +DESCRIPTION="A set of extensions to TCL" +HOMEPAGE="http://tclx.sourceforge.net" +SRC_URI="mirror://sourceforge/tclx/${PN}${PV}.tar.bz2" + +LICENSE="BSD" +IUSE="tk threads" +SLOT="0" +KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~x86-macos" + +DEPEND=" + dev-lang/tcl:0= + tk? ( dev-lang/tk:0= )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}"/${PN}$(get_version_component_range 1-2) + +# tests broken, bug #279283 +RESTRICT="test" + +src_prepare() { + sed \ + -e '/CC=/s:-pipe::g' \ + -i tclconfig/tcl.m4 configure || die + epatch \ + "${FILESDIR}"/${PN}-8.4-varinit.patch \ + "${FILESDIR}"/${PN}-8.4-ldflags.patch +} + +src_configure() { + econf \ + $(use_enable tk) \ + $(use_enable threads) \ + --enable-shared \ + --with-tcl="${EPREFIX}/usr/$(get_libdir)/" + + # 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 +} + +src_install() { + default + doman doc/*.[n3] +} |