1 |
commit: 150126b1b268264ce8c607fefc23a0972f834f0f |
2 |
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 6 16:44:37 2021 +0000 |
4 |
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 6 16:44:37 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=150126b1 |
7 |
|
8 |
dev-tcltk/vtcl: bump to 1.6.1a1 |
9 |
|
10 |
Package-Manager: Portage-3.0.12, Repoman-3.0.2 |
11 |
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> |
12 |
|
13 |
dev-tcltk/vtcl/Manifest | 1 + |
14 |
dev-tcltk/vtcl/files/vtcl-1.6.1_alpha1-tk86.patch | 10 +++++ |
15 |
dev-tcltk/vtcl/vtcl-1.6.1_alpha1.ebuild | 45 +++++++++++++++++++++++ |
16 |
3 files changed, 56 insertions(+) |
17 |
|
18 |
diff --git a/dev-tcltk/vtcl/Manifest b/dev-tcltk/vtcl/Manifest |
19 |
index b8d60283483..3316ddb8997 100644 |
20 |
--- a/dev-tcltk/vtcl/Manifest |
21 |
+++ b/dev-tcltk/vtcl/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST vtcl-1.6.0.tar.gz 554727 BLAKE2B abf5e9a9fbc42e8c9ab1c216f0d103fcd88c9894a73185d50b56e0c87c88e82e6f368dd3acd7339f3a1875c9cda22123e4df82f6852343da10abac330896c899 SHA512 bfc2ed114af4bee375e820e4b1e47d394a800541eb9917204ef42481a4033927c432d7d2b005d13edd086c7c91bd594908965aae512cc4af9e5654a2bfd296de |
24 |
+DIST vtcl-1.6.1a1.tar.gz 599864 BLAKE2B 59c3b503cad053de5110d4a46a92803c2e513ddee300ca525382bf76f523e09f01f2680b9ca7ad8b647350c609cedea691b0e40fe028da3ecb7475d95338d60a SHA512 8c7fa1a036d9e30aff322dff2a740ca473b4fe28689b3832304ab29832162967edaf7b6e67f641f2b298c24a9ed9cd911dc6d13277cc8e20fefcacd4268b71ad |
25 |
|
26 |
diff --git a/dev-tcltk/vtcl/files/vtcl-1.6.1_alpha1-tk86.patch b/dev-tcltk/vtcl/files/vtcl-1.6.1_alpha1-tk86.patch |
27 |
new file mode 100644 |
28 |
index 00000000000..ae09fe67140 |
29 |
--- /dev/null |
30 |
+++ b/dev-tcltk/vtcl/files/vtcl-1.6.1_alpha1-tk86.patch |
31 |
@@ -0,0 +1,10 @@ |
32 |
+--- a/configure 2021-01-06 17:35:58.921365193 +0100 |
33 |
++++ b/configure 2021-01-06 17:34:44.859618414 +0100 |
34 |
+@@ -11,6 +11,7 @@ |
35 |
+ ## |
36 |
+ findwish( ) { |
37 |
+ WISHES=" \ |
38 |
++ wish8.6 \ |
39 |
+ wish8.5 \ |
40 |
+ wish8.4 \ |
41 |
+ wish8.3 \ |
42 |
|
43 |
diff --git a/dev-tcltk/vtcl/vtcl-1.6.1_alpha1.ebuild b/dev-tcltk/vtcl/vtcl-1.6.1_alpha1.ebuild |
44 |
new file mode 100644 |
45 |
index 00000000000..7d1e4a5eb8f |
46 |
--- /dev/null |
47 |
+++ b/dev-tcltk/vtcl/vtcl-1.6.1_alpha1.ebuild |
48 |
@@ -0,0 +1,45 @@ |
49 |
+# Copyright 1999-2021 Gentoo Authors |
50 |
+# Distributed under the terms of the GNU General Public License v2 |
51 |
+ |
52 |
+EAPI=7 |
53 |
+ |
54 |
+inherit edos2unix |
55 |
+ |
56 |
+MYP=${PN}-${PV/_alpha/a} |
57 |
+ |
58 |
+DESCRIPTION="Visual Tcl is a high-quality application development environment" |
59 |
+HOMEPAGE="http://vtcl.sf.net" |
60 |
+SRC_URI="mirror://sourceforge/${PN}/${MYP}.tar.gz" |
61 |
+LICENSE="GPL-2" |
62 |
+SLOT="0" |
63 |
+KEYWORDS="~amd64 ~ppc ~x86" |
64 |
+IUSE="doc" |
65 |
+DEPEND="dev-lang/tk:*" |
66 |
+RDEPEND="${DEPEND}" |
67 |
+ |
68 |
+S="${WORKDIR}"/${MYP} |
69 |
+ |
70 |
+MY_DESTDIR=/usr/share/${PN} |
71 |
+ |
72 |
+PATCHES=( "${FILESDIR}"/${P}-tk86.patch ) |
73 |
+ |
74 |
+src_prepare() { |
75 |
+ edos2unix configure |
76 |
+ default |
77 |
+} |
78 |
+ |
79 |
+src_compile() { |
80 |
+ sed -i 's,^\(VTCL_HOME=\).*,\1'${MY_DESTDIR}',g' vtcl || die "Path fixing failed." |
81 |
+ sed -i 's,package require -exact Tk ,package require Tk ,' lib/tkcon.tcl || die "Tcl8.5 patch failed" |
82 |
+} |
83 |
+ |
84 |
+src_install() { |
85 |
+ dodir ${MY_DESTDIR} |
86 |
+ dobin vtcl |
87 |
+ cp -r ./{demo,images,lib,sample,vtcl.tcl} "${D}/${MY_DESTDIR}" || die "Data installation failed." |
88 |
+ if use doc; then |
89 |
+ DOCS=( ChangeLog README doc/tutorial.txt ) |
90 |
+ HTML_DOCS=( doc/*html ) |
91 |
+ fi |
92 |
+ einstalldocs |
93 |
+} |