diff options
author | 2013-12-31 07:05:49 -0800 | |
---|---|---|
committer | 2013-12-31 07:05:49 -0800 | |
commit | a08a3a75bede3ef66c75ac7120d7b4f194f55331 (patch) | |
tree | 799a8ce632ccbbc1a164d7d52f02acaf28bc6a73 /dev-tcltk | |
parent | net-libs/libsoup: add 2.44.2-r1 upstream clone (diff) | |
download | gmt-a08a3a75bede3ef66c75ac7120d7b4f194f55331.tar.gz gmt-a08a3a75bede3ef66c75ac7120d7b4f194f55331.tar.bz2 gmt-a08a3a75bede3ef66c75ac7120d7b4f194f55331.zip |
dev-tcltk/blt: clone upstream
Signed-off-by: Gregory M. Tuner <gmt@be-evil.net>
Diffstat (limited to 'dev-tcltk')
-rw-r--r-- | dev-tcltk/blt/ChangeLog | 267 | ||||
-rw-r--r-- | dev-tcltk/blt/Manifest | 17 | ||||
-rw-r--r-- | dev-tcltk/blt/blt-2.4z-r13.ebuild | 127 | ||||
-rw-r--r-- | dev-tcltk/blt/files/blt-2.4z-aclocal.patch | 79 | ||||
-rw-r--r-- | dev-tcltk/blt/files/blt-2.4z-darwin.patch | 72 | ||||
-rw-r--r-- | dev-tcltk/blt/files/blt-2.4z-gbsd.patch | 54 | ||||
-rw-r--r-- | dev-tcltk/blt/files/blt-2.4z-ldflags.patch | 30 | ||||
-rw-r--r-- | dev-tcltk/blt/files/blt-2.4z-linking.patch | 21 | ||||
-rw-r--r-- | dev-tcltk/blt/files/blt-2.4z-r4-fix-makefile.patch | 23 | ||||
-rw-r--r-- | dev-tcltk/blt/files/blt-2.4z-r4-fix-makefile2.patch | 18 | ||||
-rw-r--r-- | dev-tcltk/blt/files/blt-2.4z-tcl8.5-fixpkgruntime.patch | 66 | ||||
-rw-r--r-- | dev-tcltk/blt/files/blt-2.4z-tcl8.6.patch | 86 | ||||
-rw-r--r-- | dev-tcltk/blt/files/blt-2.4z-tk8.6.patch | 20 | ||||
-rw-r--r-- | dev-tcltk/blt/files/blt2.4z-64bit.patch | 24 | ||||
-rw-r--r-- | dev-tcltk/blt/files/blt2.4z-install.diff | 26 | ||||
-rw-r--r-- | dev-tcltk/blt/files/pkgIndex.tcl | 2 | ||||
-rw-r--r-- | dev-tcltk/blt/metadata.xml | 5 |
17 files changed, 937 insertions, 0 deletions
diff --git a/dev-tcltk/blt/ChangeLog b/dev-tcltk/blt/ChangeLog new file mode 100644 index 0000000..a7b9175 --- /dev/null +++ b/dev-tcltk/blt/ChangeLog @@ -0,0 +1,267 @@ +# ChangeLog for dev-tcltk/blt +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/blt/ChangeLog,v 1.68 2013/04/05 07:01:52 jlec Exp $ + + 05 Apr 2013; Justin Lecher <jlec@gentoo.org> blt-2.4z-r12.ebuild, + +files/blt-2.4z-tcl8.6.patch: + Add correct fix for compatibility to tcl-8.6, 464650 + +*blt-2.4z-r12 (04 Apr 2013) + + 04 Apr 2013; Justin Lecher <jlec@gentoo.org> +blt-2.4z-r12.ebuild, + +files/blt-2.4z-aclocal.patch: + Run eautoreconf to fix problems on prefix + + 09 Mar 2013; Zac Medico <zmedico@gentoo.org> blt-2.4z-r11.ebuild: + Add ~arm-linux keyword. + +*blt-2.4z-r11 (09 Jan 2013) + + 09 Jan 2013; Justin Lecher <jlec@gentoo.org> blt-2.4z-r10.ebuild, + +blt-2.4z-r11.ebuild, +files/blt-2.4z-tk8.6.patch, metadata.xml: + Add fix for tk8.6 + + 05 Dec 2012; Justin Lecher <jlec@gentoo.org> blt-2.4z-r10.ebuild: + Respect RANLIB, #444076 + + 02 Nov 2012; Justin Lecher <jlec@gentoo.org> blt-2.4z-r10.ebuild: + Respect AR, #440272 + + 07 Jun 2012; Zac Medico <zmedico@gentoo.org> blt-2.4z-r10.ebuild: + inherit multilib for get_libdir + + 10 May 2012; Alexis Ballier <aballier@gentoo.org> blt-2.4z-r10.ebuild: + keyword ~amd64-fbsd + + 10 May 2012; Alexis Ballier <aballier@gentoo.org> blt-2.4z-r10.ebuild, + +files/blt-2.4z-gbsd.patch: + Fix build on Gentoo/FreeBSD by detecting it correctly. + + 15 Dec 2011; Justin Lecher <jlec@gentoo.org> blt-2.4z-r10.ebuild: + Mirror the sources, #394797 + + 20 Nov 2011; Kacper Kowalik <xarthisius@gentoo.org> -blt-2.4z-r5.ebuild, + -blt-2.4z-r8.ebuild, -blt-2.4z-r9.ebuild, blt-2.4z-r10.ebuild: + ppc/ppc64 stable wrt #368583, drop old + + 18 Nov 2011; Fabian Groffen <grobian@gentoo.org> blt-2.4z-r10.ebuild: + Pass --with-gnu-ld for Solaris, such that we get RPATH entries in libBLT.so + + 02 Nov 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> blt-2.4z-r10.ebuild: + x86 stable wrt bug #368583 + + 01 Nov 2011; Tony Vroon <chainsaw@gentoo.org> blt-2.4z-r10.ebuild: + Marked stable on AMD64 based on arch testing by Agostino "ago" Sarubbo & Ian + "idella4" Delaney in bug #368583. + + 30 Oct 2011; Raúl Porcel <armin76@gentoo.org> blt-2.4z-r10.ebuild: + alpha/arm/ia64/s390/sh/sparc stable wrt #387849 + + 26 Oct 2011; Jeroen Roovers <jer@gentoo.org> blt-2.4z-r10.ebuild: + Stable for HPPA (bug #368583). + + 25 Oct 2011; Justin Lecher <jlec@gentoo.org> blt-2.4z-r10.ebuild: + Added USE=static-libs requested by ago + + 24 Oct 2011; Markus Meier <maekke@gentoo.org> blt-2.4z-r5.ebuild: + arm stable, bug #387849 + + 24 Oct 2011; Justin Lecher <jlec@gentoo.org> blt-2.4z-r10.ebuild, + metadata.xml: + Reverted to EAPI=3 + +*blt-2.4z-r10 (24 Oct 2011) + + 24 Oct 2011; Justin Lecher <jlec@gentoo.org> +blt-2.4z-r10.ebuild, + metadata.xml: + Dropped rpath definitions, #359781; Bumped to EAPI=4 + + 05 Aug 2011; Naohiro Aota <naota@gentoo.org> blt-2.4z-r9.ebuild: + Add ~x86-fbsd. + + 08 Jul 2011; Matt Turner <mattst88@gentoo.org> blt-2.4z-r9.ebuild: + Added ~mips, bug 355373 + +*blt-2.4z-r9 (01 Jul 2011) + + 01 Jul 2011; Fabian Groffen <grobian@gentoo.org> blt-2.4z-r8.ebuild, + +blt-2.4z-r9.ebuild, files/blt-2.4z-darwin.patch: + Fix broken darwin patch, thanks Honza Macháček in bug #373695 + + 27 Jun 2011; Fabian Groffen <grobian@gentoo.org> blt-2.4z-r8.ebuild: + Marked *-solaris, bug #355373 + + 27 Jun 2011; Fabian Groffen <grobian@gentoo.org> blt-2.4z-r8.ebuild, + +files/blt-2.4z-darwin.patch: + Fix for Darwin and Prefix, marked *-macos, bug #355373 + + 13 Jun 2011; Justin Lecher <jlec@gentoo.org> blt-2.4z-r8.ebuild: + Fix compilation under et_EE locale, #367539 + + 20 Mar 2011; Raúl Porcel <armin76@gentoo.org> blt-2.4z-r8.ebuild: + Add ~ia64/~s390/~sh wrt #355373 + + 12 Mar 2011; Tobias Klausmann <klausman@gentoo.org> blt-2.4z-r8.ebuild: + Keyworded on alpha, bug #355373 + + 06 Mar 2011; Michael Weber <xmw@gentoo.org> blt-2.4z-r5.ebuild, + blt-2.4z-r8.ebuild: + added ~arm keyword (bug 355373) + + 01 Mar 2011; Jeroen Roovers <jer@gentoo.org> blt-2.4z-r5.ebuild, + blt-2.4z-r8.ebuild: + Marked ~hppa (bug #355373). + + 25 Feb 2011; Kevin McCarthy <signals@gentoo.org> blt-2.4z-r8.ebuild: + Update depends from media-libs/jpeg to virtual/jpeg + + 16 Jan 2011; Justin Lecher <jlec@gentoo.org> -blt-2.4z-r1.ebuild, + blt-2.4z-r5.ebuild, -blt-2.4z-r6.ebuild, -blt-2.4z-r7.ebuild, + blt-2.4z-r8.ebuild: + Removed old, streamlined others + +*blt-2.4z-r8 (08 Apr 2010) + + 08 Apr 2010; Justin Lecher <jlec@gentoo.org> +blt-2.4z-r8.ebuild, + +files/blt-2.4z-linking.patch: + fixed underlinking problem + +*blt-2.4z-r7 (21 Mar 2010) + + 21 Mar 2010; Justin Lecher (jlec) <jlec@gentoo.org> +blt-2.4z-r7.ebuild: + Add symlink so that -lBLT hits the shared lib + +*blt-2.4z-r6 (06 Mar 2010) + + 06 Mar 2010; Justin Lecher (jlec) <jlec@gentoo.org> +blt-2.4z-r6.ebuild, + +files/blt-2.4z-ldflags.patch: + EAPI=3, respecting CC & LDFLAGS per 247195, ~{amd86,x86}-linux keyworded, + corrected shebangs in demos + + 22 Sep 2009; Markus Meier <maekke@gentoo.org> blt-2.4z-r5.ebuild: + amd64 stable, bug #281404 + + 12 Sep 2009; Raúl Porcel <armin76@gentoo.org> blt-2.4z-r5.ebuild: + sparc stable wrt #281404 + + 31 Aug 2009; Brent Baude <ranger@gentoo.org> blt-2.4z-r5.ebuild: + Marking blt-2.4z-r5 ppc64 for bug 281404 + + 29 Aug 2009; nixnut <nixnut@gentoo.org> blt-2.4z-r5.ebuild: + ppc stable #281404 + + 18 Aug 2009; Christian Faulhammer <fauli@gentoo.org> blt-2.4z-r5.ebuild: + stable x86, bug 281404 + + 08 Aug 2009; Federico Ferri <mescalinum@gentoo.org> -blt-2.4z-r2.ebuild, + -blt-2.4z-r4.ebuild: + removed old ebuilds + +*blt-2.4z-r5 (08 Aug 2009) + + 08 Aug 2009; Federico Ferri <mescalinum@gentoo.org> +blt-2.4z-r5.ebuild, + +files/pkgIndex.tcl: + fix bug 259338 + + 27 Oct 2008; Federico Ferri <mescalinum@gentoo.org> + +files/blt-2.4z-tcl8.5-fixpkgruntime.patch: + forgot to add $FILESDIR/blt-2.4z-tcl8.5-fixpkgruntime.patch + +*blt-2.4z-r4 (26 Oct 2008) + + 26 Oct 2008; Federico Ferri <mescalinum@gentoo.org> + +files/blt-2.4z-r4-fix-makefile.patch, + +files/blt-2.4z-r4-fix-makefile2.patch, +blt-2.4z-r4.ebuild: + revision bump, now using fork from jdc - fixes #212711 + + 16 Feb 2008; Tom Gall <tgall@gentoo.org> blt-2.4z-r1.ebuild: + stable on ppc64 + + 10 Dec 2007; Tom Gall <tgall@gentoo.org> blt-2.4z-r1.ebuild, + blt-2.4z-r2.ebuild: + added ~ppc64, change 64 bit fix to always apply (it's safe) + +*blt-2.4z-r2 (29 Apr 2007) + + 29 Apr 2007; MATSUU Takuto <matsuu@gentoo.org> -blt-2.4z.ebuild, + blt-2.4z-r1.ebuild, +blt-2.4z-r2.ebuild: + Fixed bug 167934. + + 01 Aug 2006; Simon Stelling <blubb@gentoo.org> blt-2.4z-r1.ebuild: + stable on amd64 + + 15 Jul 2006; Joshua Jackson <tsunam@gentoo.org> blt-2.4z-r1.ebuild: + Stable x86; bug #139751 + + 15 Jul 2006; Ferris McCormick <fmccor@gentoo.org> blt-2.4z-r1.ebuild: + Stable on sparc, Bug #139751 --- builds as expected and runs its + examples. + + 15 Jul 2006; <nixnut@gentoo.org> blt-2.4z-r1.ebuild: + Stable on ppc. Bug #139751 + +*blt-2.4z-r1 (25 Jul 2005): + + 25 Jul 2005; Stefan Jones <cretin@gentoo.org> blt-2.4z-r1.ebuild: + Rename man pages to .nblt so fix bug #88629 + + 08 May 2005; Herbie Hopkins <herbs@gentoo.org> blt-2.4z.ebuild: + Multilib fixes. + + 01 May 2005; Michael Hanselmann <hansmi@gentoo.org> blt-2.4z.ebuild: + Stable on ppc. + + 24 Apr 2005; Simon Stelling <blubb@gentoo.org> blt-2.4z.ebuild: + stable on amd64 + + 19 Jul 2004; Daniel Ahlberg <aliz@gentoo.org> blt-2.4z.ebuild: + Added amd64 keyword and patch from mandrake. Closing #50994. + + 05 Jun 2004; David Holm <dholm@gentoo.org> blt-2.4z.ebuild: + Added to ~ppc. + + 27 May 2004; Ferris McCormick <fmccor@gentoo.org> blt-2.4z.ebuild: + Mark stable for sparc. + + 03 May 2004; Michael Sterrett <mr_bones_@gentoo.org> blt-2.4z.ebuild: + use emake in src_compile, not src_install (bug #48131); tidy + + 04 Apr 2004; Chris Aniszczyk <zx@gentoo.org> blt-2.4z.ebuild: + Inherit from eutils due to epatch. + + 04 Apr 2004; Chris Aniszczyk <zx@gentoo.org> blt-2.4u.ebuild, + blt-2.4z.ebuild, metadata.xml: + Clean up. Added missing metadata.xml + + 16 Dec 2003; Jason Wever <weeve@gentoo.org> blt-2.4z.ebuild: + Added ~sparc keyword to fix broken dependencies of app-sci/tclspice. + +*blt-2.4u (13 Feb 2003) + + 12 Jul 2003; Daniel Ahlberg <aliz@gentoo.org> : + Added missing changelog entry. + +*blt-2.4z (09 Jul 2003) + + 09 Jul 2003; Stefan Jones <cretin@gentoo.org> : + New version, I have tested this for months! + +*tclx-8.3 (15 Aug 2002) + + 16 Aug 2002; George Shapovalov <george@gentoo.org> tclx-8.3.ebuild : + + incorporated modification by <pcgod@gmx.net> to make tk dependency optional (if + X is defined) + Also moved long description into ChangeLog, leaving a one-liner in the ebuild + + + 15 Aug 2002; Daniel Ahlberg <aliz@gentoo.org> tclx-8.3.ebuild : + Initial import. Ebuild submitted by Chris Bainbridge <chrb@dcs.ed.ac.uk>. + + short description: + A set of extensions to TCL oriented towards common + UNIX/Linux programming tasks. TclX enhances Tcl support for files, + network access, debugging, math, lists, and message catalogs, provides + additional interfaces to the native operating system, as well as many + new programming constructs, text manipulation tools, and debugging + capabilities diff --git a/dev-tcltk/blt/Manifest b/dev-tcltk/blt/Manifest new file mode 100644 index 0000000..ab7ef00 --- /dev/null +++ b/dev-tcltk/blt/Manifest @@ -0,0 +1,17 @@ +AUX blt-2.4z-aclocal.patch 1705 SHA256 7b9b496f68ee8215b7404e1750955cb03e9188d19a523495c5ac33074500fc7e SHA512 dfc4eb375b12d8ae87a65c039bae6445b70008ff1681cf1a40028a04685bbfcbb5dc841b25b475285679aac9303e0807f88c061f983a26a3de66fc1e1dc2ad12 WHIRLPOOL 824a80c2b05ab023c5a4e5321aa29ea793212db311ffa817f2fb6b711480561fd226a6e3d0341c00e90dd8ec2b8d9b31d9a57935e9a8b49d07380560d4288aeb +AUX blt-2.4z-darwin.patch 1186 SHA256 3cbdbbf123aeb4b4a727704c2daabddb7a4a44e23c2d0bd7652c0b0b0aa8d297 SHA512 31941da432004eec1837fda164365327e39f44345581c8f87d6c37e95ed609b61ee6420e832c67b91277418ff232cc1b6c7ee85cd5e9a8859bf8530e16d354c5 WHIRLPOOL 33a3fce0e6066e975ee2d564ae7176cfb4220f3371576531e4be3821a7cc43c96cd80892bb138006f5ce4dc38e1c970e68640b0e565a45634cc12427454730ac +AUX blt-2.4z-gbsd.patch 1980 SHA256 b020b0043847bc05bda1b5c4c96c888dc0075ba3ef397bbb4af8181c20c69ce9 SHA512 9e3b833445f998af5c070d755c4c6904d78175640b771abc020289c857bb12ab82fdd504eebc16771c3b057b94643d20acf4eb5952184ca2d2f9233ecd55f92c WHIRLPOOL f2c43489ee0edf9fda259e4d9f03deac98432ece74fb01c9d97ef2b294d0d52b86d7601a754e004b859a0f0965a403ff98f657f360a06b07b75a51f72872da6a +AUX blt-2.4z-ldflags.patch 1086 SHA256 20245d45dfb0e96afe1127fa40209a7881fbd3f3880ef04af9496809a308f06e SHA512 d2e19fc9caab2ae013c01e66c9674906bda2f01190bf6e9da93c2d22cb4a36a167f7de34649e6d3efc84b0094b1710fc3380347367830dc012873c3845716445 WHIRLPOOL bd0564162e27c97ecca7c8c017345d005871aec2f97bebf8f4a7b2667f4163f051df58379649e40b8c200b4155d2b6049cdf3e2db15753b715a2aa4adabd8467 +AUX blt-2.4z-linking.patch 684 SHA256 cd19df698ca40ce743c81fe2c18dce615a6db385c6a973b9a14201f45e5467a2 SHA512 09ad0d4b43d51b33020a13ecbe31d04d5ddcdf2134d0c0e1275b4de3127adad624d222f492a6d9b0a4f198537afb30d9af70f8685668bf7eba966f020c34368e WHIRLPOOL a5a993a06467a81e1987c04bd709859c725f438b5aa334b2eb1c3806567447dbc290f9a464800919d7fdb5ca0832053d1da9fc91346dc4455ea18ec353e10875 +AUX blt-2.4z-r4-fix-makefile.patch 817 SHA256 fd8ada3720c85856770f4770a93f4e668a75de3cf68d35d25597215996e023e8 SHA512 c3b9aedc9c0557a10f66f0d1f9e61a028367e190fcb49ae0af8acdacc5a466168f4a1f26012a8b4f6aceb644adc532bcf0e1348cd0231efd821b66107cf5c7b9 WHIRLPOOL 2f54db3233eb62e805d072448d31c5dd7c69d8fb15aec902a1f12c8b7e82aa6ff9604504b1b021a4dbaf3b00cc2ee0974bb0f5bd0f176f475b41c8a6a3fc0e70 +AUX blt-2.4z-r4-fix-makefile2.patch 728 SHA256 aece52e1771d097498cf88bb1fe286ac698a46af0d07163c4b9d184440ab7d39 SHA512 5f9b5ab26101bf89bb7161bd4bfb4974144c61ae692f67b7598fe0c42929f84b14ac459fdfc29a1436b64924085b8047c90a84501c031f9d8575d4dc38c22681 WHIRLPOOL d76b7c2e350e562401a4b247b6f29e4286c35c2ca100e8b28892d63bf5874bfe1e3d8ef817bde66a43c3b2c2d81d6af8b08a87622d97d783c1e1480bb472ce87 +AUX blt-2.4z-tcl8.5-fixpkgruntime.patch 1976 SHA256 a44ed43bbb946d8fc11bb8f416680a536ffc7c0d78faf33030ec378d67d3d287 SHA512 036cc9672c6c5f7554ab883d89602f8ead92c7533fb45742a082b97162f32d6442ac52e1e4f7154d669d917915b840cc6191ae544e1261e430222e0a293c0f41 WHIRLPOOL b3089b7ca520990ebd7fd1160342538e086a5414a049f6affa8a67020df889579ef4d0c5c683b75e0cbfc99deb7ca823c96396ddaac024f4ffde8c3ddc02b5c4 +AUX blt-2.4z-tcl8.6.patch 3281 SHA256 efbda5f49d61ac0cc7c03f9fc6990015bfea696e8a50189b9e8ef2b00d6f251f SHA512 38aa7a7f38e4ae98adda97948b3a0adb0747e4b8966b493efb87268717636c47a79ccd31caa73f44fb7e673e3d51b4552a23ad1b1a0360327fb678327814840c WHIRLPOOL 49e578f8a385c3ab7330cf646f8e8609334399063acbb0ea4b670e8a9de1cca10e638f9aa813007ecffd481e1adcb6dd34c5988a90596a6fd1042525277942a5 +AUX blt-2.4z-tk8.6.patch 781 SHA256 3d9b1c70c1b347dd9406993fe99c371c95dae42848ab8f9ec573e585545070da SHA512 429d24edf55668827e638647e51131083b879d068d65c6d5d4f4665b42d7e02b26760bc78b8aaee5e089fa48b674a81d8cf861220493a7390aadba814a789602 WHIRLPOOL 898235c52cb2dab35ece7930d9f8339941cde63e76aca8fb10a4667d1a6d6c5d518aa736e03b75d46d6f47b1bf89aa9d73aeb8d7ef9b6128cc0ee009c6153880 +AUX blt2.4z-64bit.patch 891 SHA256 a0a3da1016eea86279d1648f4390b38083484582bdb5b7e460435408000ca2f5 SHA512 fee84b20e3cf8491567c11ed1cff3955963b68deda2d4d8a91b48691aa50d83db45a6aa4d86f80f8dd38b0b6bb1f68a1324e9f6805cc10fde2bcfb45f03f71e4 WHIRLPOOL 0140bbb6431cc958eb053d1483ede5a8599fb25c2cc6e7fa6674821eeb3e327b3082933c225b62c9d5f29090cc8f0602bc21068f51f9f447b9cf410b2416346f +AUX blt2.4z-install.diff 1057 SHA256 6849139557c2846c332c4d81b04c03872933adfef0fa8432d6b757cfd02774c8 SHA512 2786eb7d59ef4f3e0b2e846f906e6f92cece13b8003ed220ddcdd22b42b761fa6aa31905a3a62af54e02db96bda37e21fae2361589d8c393586c37bcd33ef842 WHIRLPOOL a0db9fdc9d2199ac0e217015826a0ffe7b70c619e55e85a13a941202be3a325356cde627714d16d315f1647b5f95d16a6219720048b14560fdf7445c170995b2 +AUX pkgIndex.tcl 146 SHA256 79ff9c41afa3157d6f180dce21ddf82f5a55ed24a274eea0eeef511ec2f2659d SHA512 fedb327153b670f370773c1b57f7f831c291962fb375e27ba0b31314a94128edc7a4e6b9377e7c19426beb672fcb9b1b10f7e45ca0f197e19863b40d27bef439 WHIRLPOOL b3f6534323e28097656cfd2ff42433e07460d6dc3b247ed666712b7e664e086421640ff2320e8d71e5037e07fcefd690b845c9dd08e54baf0562c8659919bc6d +DIST blt2.4z-8.5.2.tar.gz 2326234 SHA256 e4e60628f79e1899175b51a3398133131fac52021b9b9019b4483525c48d6d16 SHA512 afc465ba47ae43a0c6be17400d0a572dccd8c2a8adfd8fc3ed50f9ec28d02129f069d88096c1428c4b242550131092b4141035d7ce90c9e7181ccf712502f09a WHIRLPOOL a00a029e075916dd7656ca85acb308a48e6d80563a91ada9e9e7df7518ef0d4de2200b54e5d9c8a9602520c03472e73968956c0df30afb8ef7f7b364fdd5524f +EBUILD blt-2.4z-r13.ebuild 3751 SHA256 bbc0ee7a73e4e21957d584d36a8056b7c4c4625548e1bed600ce814fc334968f SHA512 90c69618f748cc2652088cded004b5c8afe8b8dbdcdbedb09ebf3a1c285d89aa140998d501709116f880ec6b4d376b240065741104422970200da3b826d9dbed WHIRLPOOL 60bb3c2c81d61ad75a1f991836506c99744711e905e6b6bbc6cd8c2c79ecd210bb0114bd9c69680748f84952eadadac2cc4b00ba2901fc99090140b0ee8c5fa6 +MISC ChangeLog 9103 SHA256 a0c8bf63e3325dbfc6ac1c0c18b6499c02c3739720ccfe19096a38ca5647b122 SHA512 0997e28c1b3f9a166ba6c94baba7a1e1aa043901251b83d8dd42edbe9d21b7ffe8a19d3a1f555c55f2a8959239c4d3b3fb1693598610428516e7742171fc61e2 WHIRLPOOL 10be00d2671bfade334975ce2405b8eac227aa88c0843fe7bc17fc47b7dfa715166ef58d602d3bd519079c86fd863aa1d5d199cd3875b793018869368239630c +MISC metadata.xml 160 SHA256 225a6f78d287329cdf2f4ed57468be28bd6565fd9a62207c2cc48e25ac9d3537 SHA512 a50627bda9ed953daf422b5a2e89b5b64e296d1a023d767c8a4ebb2cd51cd0036cecce455762a54e7d669f94d17d9de21052bac94fc08b1365ef42eb2f267742 WHIRLPOOL 61fa22d50aaf2bdecc467e26c9675cf7949ad55a4a8821730c91d1bd73f83fc4c35660851961310efa450e337a7ef572a925e186b8b05984d6315efc509fd365 diff --git a/dev-tcltk/blt/blt-2.4z-r13.ebuild b/dev-tcltk/blt/blt-2.4z-r13.ebuild new file mode 100644 index 0000000..02c162a --- /dev/null +++ b/dev-tcltk/blt/blt-2.4z-r13.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit autotools eutils flag-o-matic multilib toolchain-funcs + +MY_V_SUFFIX="-8.5.2" + +DESCRIPTION="Extension to Tk, adding new widgets, geometry managers, and misc commands" +HOMEPAGE=" + http://blt.sourceforge.net/ + http://jos.decoster.googlepages.com/bltfortk8.5.2" +SRC_URI=" + http://dev.gentoo.org/~jlec/distfiles/${PN}${PV}${MY_V_SUFFIX}.tar.gz + http://jos.decoster.googlepages.com/${PN}${PV}${MY_V_SUFFIX}.tar.gz" + +IUSE="jpeg static-libs X" +SLOT="0" +LICENSE="BSD" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +DEPEND=" + dev-lang/tk + jpeg? ( virtual/jpeg ) + X? ( x11-libs/libX11 )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}${PV}${MY_V_SUFFIX}" + +MAKEOPTS+=" -j1" + +src_prepare() { + epatch "${FILESDIR}/blt-2.4z-r4-fix-makefile.patch" + epatch "${FILESDIR}/blt-2.4z-r4-fix-makefile2.patch" + # From blt-2.4z-6mdk.src.rpm + epatch "${FILESDIR}"/blt2.4z-64bit.patch + + #epatch "${FILESDIR}"/blt-2.4z-tcl8.5-fix.patch + epatch "${FILESDIR}"/blt-2.4z-tcl8.5-fixpkgruntime.patch + + epatch "${FILESDIR}"/${P}-ldflags.patch + + # Set the correct libdir and drop RPATH + sed \ + -e "s:\(^libdir=\${exec_prefix}/\)lib:\1$(get_libdir):" \ + -e 's:LD_RUN_PATH=.*$:LD_RUN_PATH="":g' \ + -e "/RANLIB/s:ranlib:$(tc-getRANLIB):g" \ + -i configure* || die "sed configure* failed" + sed \ + -e "/^scriptdir =/s:lib:$(get_libdir):" \ + -i Makefile.in demos/Makefile.in || die "sed Makefile.in failed" + + sed \ + -e "/AR/s:ar:$(tc-getAR):g" \ + -i src/Makefile.in || die + + epatch \ + "${FILESDIR}"/${P}-linking.patch \ + "${FILESDIR}"/${P}-darwin.patch \ + "${FILESDIR}"/${P}-gbsd.patch \ + "${FILESDIR}"/${P}-tk8.6.patch \ + "${FILESDIR}"/${P}-tcl8.6.patch \ + "${FILESDIR}"/${P}-aclocal.patch + + append-cflags -fPIC + + eautoreconf +} + +src_configure() { + LC_ALL=C \ + econf \ + --x-includes="${EPREFIX}/usr/include" \ + --x-libraries="${EPREFIX}/usr/$(get_libdir)" \ + --with-blt="${EPREFIX}/usr/$(get_libdir)" \ + --with-tcl="${EPREFIX}/usr/$(get_libdir)" \ + --with-tk="${EPREFIX}/usr/$(get_libdir)" \ + --with-tclincls="${EPREFIX}/usr/include" \ + --with-tkincls="${EPREFIX}/usr/include" \ + --with-tcllibs="${EPREFIX}/usr/$(get_libdir)" \ + --with-tklibs="${EPREFIX}/usr/$(get_libdir)" \ + --with-cc="$(tc-getCC)" \ + --with-cflags="${CFLAGS}" \ + --with-gnu-ld \ + $(use_enable jpeg) \ + $(use_with X x) +} + +src_compile() { + # parallel borks + emake LDFLAGS="${LDFLAGS}" +} + +src_install() { + sed \ + -e "s:\.\./src/bltwish:${EPREFIX}/usr/bin/bltwish:g" \ + -e "s:\.\./bltwish:${EPREFIX}/usr/bin/bltwish:g" \ + -e "s:/usr/local/bin/bltwish:${EPREFIX}/usr/bin/bltwish:g" \ + -e "s:/usr/local/bin/tclsh:${EPREFIX}/usr/bin/tclsh:g" \ + -i demos/{,scripts/}*.tcl || die + + dodir /usr/bin \ + /usr/$(get_libdir)/blt2.4/demos/bitmaps \ + /usr/share/man/mann \ + /usr/include + + emake INSTALL_ROOT="${D}" install || die "make install failed" + + dodoc NEWS PROBLEMS README + dohtml html/*.html + for f in `ls "${ED}"/usr/share/man/mann` ; do + mv "${ED}"/usr/share/man/mann/${f} "${ED}"/usr/share/man/mann/${f/.n/.nblt} + done + + # bug 259338 - dev-tcltk/blt-2.4z-r4 provides empty pkgIndex.tcl + cp "${FILESDIR}"/pkgIndex.tcl "${ED}"/usr/$(get_libdir)/blt2.4/pkgIndex.tcl + + # fix for linking against shared lib with -lBLT or -lBLTlite + dosym libBLT24$(get_libname) /usr/$(get_libdir)/libBLT$(get_libname) + dosym libBLTlite24$(get_libname) /usr/$(get_libdir)/libBLTlite$(get_libname) + + use static-libs || \ + find "${ED}"/usr/$(get_libdir) -name "*.a" -print0 | \ + xargs -r -0 rm -fv +} diff --git a/dev-tcltk/blt/files/blt-2.4z-aclocal.patch b/dev-tcltk/blt/files/blt-2.4z-aclocal.patch new file mode 100644 index 0000000..e7c62b5 --- /dev/null +++ b/dev-tcltk/blt/files/blt-2.4z-aclocal.patch @@ -0,0 +1,79 @@ + aclocal.m4 | 6 +++--- + configure.in | 38 +++----------------------------------- + 2 files changed, 6 insertions(+), 38 deletions(-) + +diff --git a/aclocal.m4 b/aclocal.m4 +index 7441d3d..b86a6b2 100644 +--- a/aclocal.m4 ++++ b/aclocal.m4 +@@ -11,11 +11,11 @@ if test "$cross_compiling" = yes; then + else + cat > conftest.$ac_ext <<EOF + [#]line __oline__ "configure" +-#include "confdefs.h" +-ifelse(AC_LANG, CPLUSPLUS, [#ifdef __cplusplus ++[#include "confdefs.h" ++#ifdef __cplusplus + extern "C" void exit(int); + #endif +-])dnl ++]dnl + [$2] + EOF + eval $ac_link +diff --git a/configure.in b/configure.in +index adde26d..b57eaa9 100644 +--- a/configure.in ++++ b/configure.in +@@ -83,35 +83,9 @@ PWD=`pwd` + # + # ----------------------------------------------------------------------- + +-BLT_ENV_CC=$CC +- +-# +-# CC search order +-# +-# 1. command line (--with-cc) +-# 2. environment variable ($CC) +-# 3. cached variable ($blt_cv_prog_cc) +-# 4. check for program (AC_PROG_CC) +-# 4. default to cc +-# +- +-AC_MSG_CHECKING([which C compiler]) +-if test "x${blt_with_cc}" != "x" ; then +- CC=${blt_with_cc} +- unset ac_cv_prog_CPP +- unset ac_cv_prog_CC +-elif test "x${BLT_ENV_CC}" != "x" ; then +- unset ac_cv_prog_CPP +- unset ac_cv_prog_CC +-elif test "x${blt_cv_prog_cc}" != "x" ; then +- CC=${blt_cv_prog_cc} +- unset ac_cv_prog_CC +-else +- AC_PROG_CC +-fi +-if test "x${CC}" = "x" ; then +- CC=cc +-fi ++AC_PROG_CC ++AC_PROG_CPP ++AC_PROG_EGREP + + case $target in + *-*-cygwin*|*-*-mingw*) +@@ -121,12 +95,6 @@ case $target in + ;; + esac + +-AC_MSG_RESULT([$CC]) +- +-unset blt_cv_prog_cc +-AC_CACHE_VAL(blt_cv_prog_cc, blt_cv_prog_cc=$CC) +-AC_SUBST(CC) +-AC_PROG_CPP + if test "x${GCC}" != "x" ; then + blt_have_gcc="yes" + else diff --git a/dev-tcltk/blt/files/blt-2.4z-darwin.patch b/dev-tcltk/blt/files/blt-2.4z-darwin.patch new file mode 100644 index 0000000..0d766fe --- /dev/null +++ b/dev-tcltk/blt/files/blt-2.4z-darwin.patch @@ -0,0 +1,72 @@ +--- configure.in ++++ configure.in +@@ -183,9 +183,6 @@ + blt_lib_prefix="" + fi + ;; +- *-*-macosx) +- blt_platform="macosx" +- ;; + *) + blt_platform="unix" + ;; +@@ -728,6 +725,9 @@ + *-hpux*) + SHLIB_SUFFIX="sl" + ;; ++ *-darwin*) ++ SHLIB_SUFFIX="dylib" ++ ;; + *) + SHLIB_SUFFIX="so" + ;; +@@ -1145,6 +1145,13 @@ + LDFLAGS="" + ;; + ++ *-darwin*) ++ SHLIB_CFLAGS="" ++ SHLIB_LD="${CC}" ++ SHLIB_LD_FLAGS='-dynamiclib -install_name $(libdir)/$@' ++ SHLIB_SUFFIX=".dylib" ++ ;; ++ + *-dgux*) + SHLIB_CFLAGS="-K PIC" + SHLIB_LD="cc" +--- configure ++++ configure +@@ -1279,9 +1279,6 @@ + blt_lib_prefix="" + fi + ;; +- *-*-macosx) +- blt_platform="macosx" +- ;; + *) + blt_platform="unix" + ;; +@@ -3396,6 +3393,9 @@ + *-hpux*) + SHLIB_SUFFIX="sl" + ;; ++ *-darwin*) ++ SHLIB_SUFFIX="dylib" ++ ;; + *) + SHLIB_SUFFIX="so" + ;; +@@ -3943,6 +3943,13 @@ + LDFLAGS="" + ;; + ++ *-darwin*) ++ SHLIB_CFLAGS="" ++ SHLIB_LD="${CC}" ++ SHLIB_LD_FLAGS='-dynamiclib -install_name $(libdir)/$@' ++ SHLIB_SUFFIX=".dylib" ++ ;; ++ + *-dgux*) + SHLIB_CFLAGS="-K PIC" + SHLIB_LD="cc" diff --git a/dev-tcltk/blt/files/blt-2.4z-gbsd.patch b/dev-tcltk/blt/files/blt-2.4z-gbsd.patch new file mode 100644 index 0000000..ffdadf1 --- /dev/null +++ b/dev-tcltk/blt/files/blt-2.4z-gbsd.patch @@ -0,0 +1,54 @@ +Detect correctly Gentoo/*BSD CHOSTS: +- *-*-freebsd* means tcl/tk libs will be like libtcl85.so, instead of + libtcl8.5.so +- *-gentoo-*bsd means this is a Gentoo/*BSD system which uses the same toolchain + as linux, so we link in the same way. + +--- blt2.4z-8.5.2/configure.old 2012-05-06 18:11:45.000000000 -0400 ++++ blt2.4z-8.5.2/configure 2012-05-06 18:15:25.000000000 -0400 +@@ -3376,7 +3376,7 @@ + fi + + case $target in +- *-sunos4*|*-*-netbsd|NetBSD-*|FreeBSD-*|OpenBSD-*|*-*-cygwin*|*-*-mingw*) ++ *-sunos4*|*-*-netbsd|NetBSD-*|FreeBSD-*|*-*-freebsd*|OpenBSD-*|*-*-cygwin*|*-*-mingw*) + TCL_LIB_NAME="tcl${TCL_MAJOR_VERSION}${TCL_MINOR_VERSION}" + TK_LIB_NAME="tk${TK_MAJOR_VERSION}${TK_MINOR_VERSION}" + ;; +@@ -4079,6 +4079,12 @@ + EXTRA_LIB_SPECS="-ldl" + ;; + ++ *-gentoo-netbsd*|*-gentoo-freebsd*|*-gentoo-openbsd*) ++ SHLIB_CFLAGS="-fPIC" ++ SHLIB_LD="${CC}" ++ SHLIB_LD_FLAGS='-rdynamic -shared -Wl,-E -Wl,-soname,$@' ++ ;; ++ + *-netbsd*|*-freebsd*|*-openbsd*) + # Not available on all versions: check for include file. + ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` +--- blt2.4z-8.5.2/configure.in.old 2012-05-06 18:11:47.000000000 -0400 ++++ blt2.4z-8.5.2/configure.in 2012-05-06 18:15:08.000000000 -0400 +@@ -708,7 +708,7 @@ + fi + + case $target in +- *-sunos4*|*-*-netbsd|NetBSD-*|FreeBSD-*|OpenBSD-*|*-*-cygwin*|*-*-mingw*) ++ *-sunos4*|*-*-netbsd|NetBSD-*|FreeBSD-*|*-*-freebsd*|OpenBSD-*|*-*-cygwin*|*-*-mingw*) + TCL_LIB_NAME="tcl${TCL_MAJOR_VERSION}${TCL_MINOR_VERSION}" + TK_LIB_NAME="tk${TK_MAJOR_VERSION}${TK_MINOR_VERSION}" + ;; +@@ -1241,6 +1241,12 @@ + EXTRA_LIB_SPECS="-ldl" + ;; + ++ *-gentoo-netbsd*|*-gentoo-freebsd*|*-gentoo-openbsd*) ++ SHLIB_CFLAGS="-fPIC" ++ SHLIB_LD="${CC}" ++ SHLIB_LD_FLAGS='-rdynamic -shared -Wl,-E -Wl,-soname,$@' ++ ;; ++ + *-netbsd*|*-freebsd*|*-openbsd*) + # Not available on all versions: check for include file. + AC_CHECK_HEADER(dlfcn.h, test_ok=yes, test_ok=no) diff --git a/dev-tcltk/blt/files/blt-2.4z-ldflags.patch b/dev-tcltk/blt/files/blt-2.4z-ldflags.patch new file mode 100644 index 0000000..bc795d0 --- /dev/null +++ b/dev-tcltk/blt/files/blt-2.4z-ldflags.patch @@ -0,0 +1,30 @@ +diff --git a/src/shared/Makefile.in b/src/shared/Makefile.in +index 5d93e82..db14156 100644 +--- a/src/shared/Makefile.in ++++ b/src/shared/Makefile.in +@@ -18,7 +18,7 @@ SHLIB_LD_FLAGS = @SHLIB_LD_FLAGS@ @LD_RUN_PATH@ + SHLIB_TCL_ONLY_LIB_SPECS = @SHLIB_TCL_ONLY_LIB_SPECS@ + SHLIB_LIB_SPECS = @SHLIB_LIB_SPECS@ + SHLIB_LD = @SHLIB_LD@ +-LDFLAGS = @LDFLAGS@ @LD_RUN_PATH@ ++LDFLAGS += @LDFLAGS@ + + prefix = @prefix@ + exec_prefix = @exec_prefix@ +@@ -144,14 +144,14 @@ $(lib_so): $(OBJS) + $(CC) -c $(CC_SWITCHES) -DBLT_LIBRARY=\"$(scriptdir)\" \ + $(srcdir)/bltInit.c + $(RM) $@ +- $(SHLIB_LD) $(SHLIB_LD_FLAGS) -o $@ bltInit.o $(OBJS) \ ++ $(SHLIB_LD) $(SHLIB_LD_FLAGS) $(LDFLAGS) -o $@ bltInit.o $(OBJS) \ + $(SHLIB_LIB_SPECS) + + $(tcl_only_lib_so): $(TCL_ONLY_OBJS) + $(CC) -c $(CC_SWITCHES) -DTCL_ONLY -DBLT_LIBRARY=\"$(scriptdir)\" \ + $(srcdir)/bltInit.c + $(RM) $@ +- $(SHLIB_LD) $(SHLIB_LD_FLAGS) -o $@ bltInit.o $(TCL_ONLY_OBJS) \ ++ $(SHLIB_LD) $(SHLIB_LD_FLAGS) $(LDFLAGS) -o $@ bltInit.o $(TCL_ONLY_OBJS) \ + $(SHLIB_TCL_ONLY_LIB_SPECS) + + install: mkdirs install-lib install-demo diff --git a/dev-tcltk/blt/files/blt-2.4z-linking.patch b/dev-tcltk/blt/files/blt-2.4z-linking.patch new file mode 100644 index 0000000..b5a5359 --- /dev/null +++ b/dev-tcltk/blt/files/blt-2.4z-linking.patch @@ -0,0 +1,21 @@ +diff --git a/src/shared/Makefile.in b/src/shared/Makefile.in +index db14156..a06111f 100644 +--- a/src/shared/Makefile.in ++++ b/src/shared/Makefile.in +@@ -145,14 +145,14 @@ $(lib_so): $(OBJS) + $(srcdir)/bltInit.c + $(RM) $@ + $(SHLIB_LD) $(SHLIB_LD_FLAGS) $(LDFLAGS) -o $@ bltInit.o $(OBJS) \ +- $(SHLIB_LIB_SPECS) ++ $(SHLIB_LIB_SPECS) $(LIBS) + + $(tcl_only_lib_so): $(TCL_ONLY_OBJS) + $(CC) -c $(CC_SWITCHES) -DTCL_ONLY -DBLT_LIBRARY=\"$(scriptdir)\" \ + $(srcdir)/bltInit.c + $(RM) $@ + $(SHLIB_LD) $(SHLIB_LD_FLAGS) $(LDFLAGS) -o $@ bltInit.o $(TCL_ONLY_OBJS) \ +- $(SHLIB_TCL_ONLY_LIB_SPECS) ++ $(SHLIB_TCL_ONLY_LIB_SPECS) $(LIBS) + + install: mkdirs install-lib install-demo + diff --git a/dev-tcltk/blt/files/blt-2.4z-r4-fix-makefile.patch b/dev-tcltk/blt/files/blt-2.4z-r4-fix-makefile.patch new file mode 100644 index 0000000..8404f26 --- /dev/null +++ b/dev-tcltk/blt/files/blt-2.4z-r4-fix-makefile.patch @@ -0,0 +1,23 @@ +Source: mescalinum +Upstream: N/A +Reason: fix broken $DESTDIR support in library/Makefile +--- library/Makefile.in.orig 2008-10-26 14:30:28.000000000 +0100 ++++ library/Makefile.in 2008-10-26 14:31:40.000000000 +0100 +@@ -45,7 +45,7 @@ all: pkgIndex + + pkgIndex: + rm -f pkgIndex.tcl +- sed -e 's/%VERSION%/$(version)/' $(srcdir)/pkgIndex.tcl.in | \ ++ sed -e 's/%VERSION%/$(version)/' $(INSTALL_ROOT)$(srcdir)/pkgIndex.tcl.in | \ + sed -e 's/%LIB_PREFIX%/$(lib_prefix)/' | \ + sed -e 's;%LIB_DIR%;$(libdir);' > pkgIndex.tcl + +@@ -58,7 +58,7 @@ install: mkdirs pkgIndex + for i in $(miscFiles) ; do \ + $(INSTALL_DATA) $(srcdir)/$$i $(INSTALL_ROOT)$(scriptdir) ; \ + done +- $(INSTALL_DATA) pkgIndex.tcl $(scriptdir) ++ $(INSTALL_DATA) pkgIndex.tcl $(INSTALL_ROOT)$(scriptdir) + + mkdirs: + @for i in $(instdirs) ; do \ diff --git a/dev-tcltk/blt/files/blt-2.4z-r4-fix-makefile2.patch b/dev-tcltk/blt/files/blt-2.4z-r4-fix-makefile2.patch new file mode 100644 index 0000000..1ff4fed --- /dev/null +++ b/dev-tcltk/blt/files/blt-2.4z-r4-fix-makefile2.patch @@ -0,0 +1,18 @@ +Source: mescalinum +Upstream: N/A +Reason: fix broken $DESTDIR support in Makefile +--- Makefile.in.orig 2008-10-26 14:36:22.000000000 +0100 ++++ Makefile.in 2008-10-26 14:37:04.000000000 +0100 +@@ -47,9 +47,9 @@ install-all: + (cd library; $(MAKE) install) + (cd man; $(MAKE) install) + (cd demos; $(MAKE) install) +- $(INSTALL_DATA) $(srcdir)/README $(INSTALL_DIR)$(scriptdir) +- $(INSTALL_DATA) $(srcdir)/PROBLEMS $(INSTALL_DIR)$(scriptdir) +- $(INSTALL_DATA) $(srcdir)/NEWS $(INSTALL_DIR)$(scriptdir) ++ $(INSTALL_DATA) $(srcdir)/README $(INSTALL_ROOT)$(scriptdir) ++ $(INSTALL_DATA) $(srcdir)/PROBLEMS $(INSTALL_ROOT)$(scriptdir) ++ $(INSTALL_DATA) $(srcdir)/NEWS $(INSTALL_ROOT)$(scriptdir) + + mkdirs: + @for i in $(instdirs) ; do \ diff --git a/dev-tcltk/blt/files/blt-2.4z-tcl8.5-fixpkgruntime.patch b/dev-tcltk/blt/files/blt-2.4z-tcl8.5-fixpkgruntime.patch new file mode 100644 index 0000000..c8637b9 --- /dev/null +++ b/dev-tcltk/blt/files/blt-2.4z-tcl8.5-fixpkgruntime.patch @@ -0,0 +1,66 @@ +--- src/bltInit.c.orig 2008-05-29 00:05:10.000000000 +0200 ++++ src/bltInit.c 2008-05-29 00:26:40.000000000 +0200 +@@ -413,7 +413,7 @@ Blt_Init(interp) + * Check that the versions of Tcl that have been loaded are + * the same ones that BLT was compiled against. + */ +- if (Tcl_PkgRequire(interp, "Tcl", TCL_VERSION, EXACT) == NULL) { ++ if (Tcl_InitStubs(interp, TCL_VERSION, 1) == NULL) { + return TCL_ERROR; + } + /* Set the "blt_version", "blt_patchLevel", and "blt_libPath" Tcl +@@ -458,16 +458,23 @@ Blt_Init(interp) + register Tcl_AppInitProc **p; + Tcl_Namespace *nsPtr; + ++ if (Tk_InitStubs(interp, TK_VERSION, 1) == NULL) { ++ return TCL_OK; ++ } ++ ++#if 0 + #if (TCL_VERSION_NUMBER >= _VERSION(8,1,0)) + if (Tcl_PkgPresent(interp, "Tk", TK_VERSION, EXACT) == NULL) { + return TCL_OK; +- } ++ } + #else + if (Tcl_PkgRequire(interp, "Tk", TK_VERSION, EXACT) == NULL) { + Tcl_ResetResult(interp); + return TCL_OK; + } + #endif ++#endif ++ + nsPtr = Tcl_CreateNamespace(interp, "blt::tile", NULL, + (Tcl_NamespaceDeleteProc *) NULL); + if (nsPtr == NULL) { +@@ -507,7 +514,7 @@ Blt_Init(interp) + * Check that the versions of Tcl that have been loaded are + * the same ones that BLT was compiled against. + */ +- if (Tcl_PkgRequire(interp, "Tcl", TCL_VERSION, EXACT) == NULL) { ++ if (Tcl_InitStubs(interp, TCL_VERSION, EXACT) == NULL) { + return TCL_ERROR; + } + /* Set the "blt_version", "blt_patchLevel", and "blt_libPath" Tcl +@@ -543,6 +550,11 @@ Blt_Init(interp) + if (!tkLoaded) { + register Tcl_AppInitProc **p; + ++ if (Tk_InitStubs(interp, TK_VERSION, 1) == NULL) { ++ return TCL_OK; ++ } ++ ++#if 0 + #if (TCL_VERSION_NUMBER >= _VERSION(8,1,0)) + if (Tcl_PkgPresent(interp, "Tk", TK_VERSION, EXACT) == NULL) { + return TCL_OK; +@@ -553,6 +565,8 @@ Blt_Init(interp) + return TCL_OK; + } + #endif ++#endif ++ + /* Initialize the BLT commands that use Tk too. */ + for (p = tkCmds; *p != NULL; p++) { + if ((**p) (interp) != TCL_OK) { diff --git a/dev-tcltk/blt/files/blt-2.4z-tcl8.6.patch b/dev-tcltk/blt/files/blt-2.4z-tcl8.6.patch new file mode 100644 index 0000000..8721940 --- /dev/null +++ b/dev-tcltk/blt/files/blt-2.4z-tcl8.6.patch @@ -0,0 +1,86 @@ + src/bltScrollbar.c | 2 +- + src/bltTed.c | 6 +++--- + src/bltVecMath.c | 8 ++++---- + 3 files changed, 8 insertions(+), 8 deletions(-) + +diff --git a/src/bltScrollbar.c b/src/bltScrollbar.c +index 69662de..731e37b 100644 +--- a/src/bltScrollbar.c ++++ b/src/bltScrollbar.c +@@ -534,7 +534,7 @@ ScrollbarWidgetCmd(clientData, interp, argc, argv) + } else { + fraction = ((double)pixels / (double)barWidth); + } +- sprintf(interp->result, "%g", fraction); ++ sprintf(Tcl_GetStringResult(interp), "%g", fraction); + } else if ((c == 'f') && (strncmp(argv[1], "fraction", length) == 0)) { + int x, y, pos, barWidth; + double fraction; +diff --git a/src/bltTed.c b/src/bltTed.c +index 64c43e8..832ef9c 100644 +--- a/src/bltTed.c ++++ b/src/bltTed.c +@@ -1504,7 +1504,7 @@ EditOp(dataPtr, interp, argc, argv) + tablePtr->flags |= ARRANGE_PENDING; + Tcl_DoWhenIdle(tablePtr->arrangeProc, tablePtr); + } +- interp->result = Tk_PathName(tedPtr->tkwin); ++ Tcl_SetResult(interp, (char*)Tk_PathName(tedPtr->tkwin), TCL_VOLATILE); + tedPtr->flags |= LAYOUT_PENDING; + EventuallyRedraw(tedPtr); + return TCL_OK; +@@ -1678,7 +1678,7 @@ SelectOp(dataPtr, interp, argc, argv) + tedPtr->activeRectArr[4].width = grip - 1; + tedPtr->activeRectArr[4].height = grip - 1; + +- interp->result = Tk_PathName(entryPtr->tkwin); ++ Tcl_SetResult(interp, (char*)Tk_PathName(entryPtr->tkwin), TCL_VOLATILE); + active = 1; + break; + } +@@ -1751,7 +1751,7 @@ RepOp(dataPtr, interp, argc, argv) + tablePtr->flags |= ARRANGE_PENDING; + Tcl_DoWhenIdle(tablePtr->arrangeProc, tablePtr); + } +- interp->result = Tk_PathName(tedPtr->tkwin); ++ Tcl_SetResult(interp, (char*)Tk_PathName(tedPtr->tkwin), TCL_VOLATILE); + tedPtr->flags |= LAYOUT_PENDING; + EventuallyRedraw(tedPtr); + return TCL_OK; +diff --git a/src/bltVecMath.c b/src/bltVecMath.c +index dc37af8..5117f63 100644 +--- a/src/bltVecMath.c ++++ b/src/bltVecMath.c +@@ -764,20 +764,20 @@ MathError(interp, value) + if ((errno == EDOM) || (value != value)) { + Tcl_AppendResult(interp, "domain error: argument not in valid range", + (char *)NULL); +- Tcl_SetErrorCode(interp, "ARITH", "DOMAIN", interp->result, ++ Tcl_SetErrorCode(interp, "ARITH", "DOMAIN", Tcl_GetStringResult(interp), + (char *)NULL); + } else if ((errno == ERANGE) || IS_INF(value)) { + if (value == 0.0) { + Tcl_AppendResult(interp, + "floating-point value too small to represent", + (char *)NULL); +- Tcl_SetErrorCode(interp, "ARITH", "UNDERFLOW", interp->result, ++ Tcl_SetErrorCode(interp, "ARITH", "UNDERFLOW", Tcl_GetStringResult(interp), + (char *)NULL); + } else { + Tcl_AppendResult(interp, + "floating-point value too large to represent", + (char *)NULL); +- Tcl_SetErrorCode(interp, "ARITH", "OVERFLOW", interp->result, ++ Tcl_SetErrorCode(interp, "ARITH", "OVERFLOW", Tcl_GetStringResult(interp), + (char *)NULL); + } + } else { +@@ -786,7 +786,7 @@ MathError(interp, value) + sprintf(buf, "%d", errno); + Tcl_AppendResult(interp, "unknown floating-point error, ", + "errno = ", buf, (char *)NULL); +- Tcl_SetErrorCode(interp, "ARITH", "UNKNOWN", interp->result, ++ Tcl_SetErrorCode(interp, "ARITH", "UNKNOWN", Tcl_GetStringResult(interp), + (char *)NULL); + } + } diff --git a/dev-tcltk/blt/files/blt-2.4z-tk8.6.patch b/dev-tcltk/blt/files/blt-2.4z-tk8.6.patch new file mode 100644 index 0000000..f956c09 --- /dev/null +++ b/dev-tcltk/blt/files/blt-2.4z-tk8.6.patch @@ -0,0 +1,20 @@ +--- src/tkButton.c.orig 2013-01-04 23:24:45.000000000 -0500 ++++ src/tkButton.c 2013-01-04 23:28:29.000000000 -0500 +@@ -526,8 +526,6 @@ + static Blt_TileChangedProc TileChangedProc; + static Tcl_CmdProc ButtonCmd, LabelCmd, CheckbuttonCmd, RadiobuttonCmd; + +-EXTERN int TkCopyAndGlobalEval _ANSI_ARGS_((Tcl_Interp *interp, char *script)); +- + #if (TK_MAJOR_VERSION > 4) + EXTERN void TkComputeAnchor _ANSI_ARGS_((Tk_Anchor anchor, Tk_Window tkwin, + int padX, int padY, int innerWidth, int innerHeight, int *xPtr, +@@ -1890,7 +1888,7 @@ + } + } + if ((butPtr->type != TYPE_LABEL) && (butPtr->command != NULL)) { +- return TkCopyAndGlobalEval(butPtr->interp, butPtr->command); ++ return Tcl_EvalObjEx(butPtr->interp, butPtr->command, TCL_EVAL_GLOBAL); + } + return TCL_OK; + } diff --git a/dev-tcltk/blt/files/blt2.4z-64bit.patch b/dev-tcltk/blt/files/blt2.4z-64bit.patch new file mode 100644 index 0000000..9f1c3c9 --- /dev/null +++ b/dev-tcltk/blt/files/blt2.4z-64bit.patch @@ -0,0 +1,24 @@ +--- blt2.4z/src/bltTree.c.64bit-fixes 2002-09-29 07:44:12.000000000 +0200 ++++ blt2.4z/src/bltTree.c 2003-07-31 12:22:53.000000000 +0200 +@@ -95,17 +95,16 @@ static Value *TreeNextValue _ANSI_ARGS_( + */ + + #define REBUILD_MULTIPLIER 3 ++#define START_LOGSIZE 5 /* Initial hash table size is 32. */ ++#define MAX_LIST_VALUES 20 /* Convert to hash table when node ++ * value list gets bigger than this ++ * many values. */ + + #if (SIZEOF_VOID_P == 8) + #define RANDOM_INDEX(i) HashOneWord(mask, downshift, i) + #define BITSPERWORD 64 + #else + +-#define START_LOGSIZE 5 /* Initial hash table size is 32. */ +-#define MAX_LIST_VALUES 20 /* Convert to hash table when node +- * value list gets bigger than this +- * many values. */ +- + /* + * The following macro takes a preliminary integer hash value and + * produces an index into a hash tables bucket list. The idea is diff --git a/dev-tcltk/blt/files/blt2.4z-install.diff b/dev-tcltk/blt/files/blt2.4z-install.diff new file mode 100644 index 0000000..184d7f7 --- /dev/null +++ b/dev-tcltk/blt/files/blt2.4z-install.diff @@ -0,0 +1,26 @@ +--- blt2.4z/library/Makefile.in.jj 2003-07-09 20:18:32.000000000 +0100 ++++ blt2.4z/library/Makefile.in 2003-07-09 20:19:06.000000000 +0100 +@@ -58,7 +58,7 @@ + for i in $(miscFiles) ; do \ + $(INSTALL_DATA) $(srcdir)/$$i $(INSTALL_ROOT)$(scriptdir) ; \ + done +- $(INSTALL_DATA) pkgIndex.tcl $(scriptdir) ++ $(INSTALL_DATA) pkgIndex.tcl $(INSTALL_ROOT)$(scriptdir) + + mkdirs: + @for i in $(instdirs) ; do \ +--- blt2.4z/Makefile.in.jj 2003-07-09 20:19:24.000000000 +0100 ++++ blt2.4z/Makefile.in 2003-07-09 20:19:46.000000000 +0100 +@@ -47,9 +47,9 @@ + (cd library; $(MAKE) install) + (cd man; $(MAKE) install) + (cd demos; $(MAKE) install) +- $(INSTALL_DATA) $(srcdir)/README $(INSTALL_DIR)$(scriptdir) +- $(INSTALL_DATA) $(srcdir)/PROBLEMS $(INSTALL_DIR)$(scriptdir) +- $(INSTALL_DATA) $(srcdir)/NEWS $(INSTALL_DIR)$(scriptdir) ++ $(INSTALL_DATA) $(srcdir)/README $(INSTALL_ROOT)$(scriptdir) ++ $(INSTALL_DATA) $(srcdir)/PROBLEMS $(INSTALL_ROOT)$(scriptdir) ++ $(INSTALL_DATA) $(srcdir)/NEWS $(INSTALL_ROOT)$(scriptdir) + + mkdirs: + @for i in $(instdirs) ; do \ diff --git a/dev-tcltk/blt/files/pkgIndex.tcl b/dev-tcltk/blt/files/pkgIndex.tcl new file mode 100644 index 0000000..7911d85 --- /dev/null +++ b/dev-tcltk/blt/files/pkgIndex.tcl @@ -0,0 +1,2 @@ +package ifneeded BLT 2.4 [list load [file join $dir .. libBLT24.so]] +package ifneeded BLTlite 2.4 [list load [file join $dir .. libBLTlite24.so]] diff --git a/dev-tcltk/blt/metadata.xml b/dev-tcltk/blt/metadata.xml new file mode 100644 index 0000000..70ac404 --- /dev/null +++ b/dev-tcltk/blt/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>tcltk</herd> +</pkgmetadata> |