1 |
mescalinum 08/10/27 20:27:07 |
2 |
|
3 |
Modified: ChangeLog tk-8.4.19.ebuild |
4 |
Added: tk-8.4.18-r1.ebuild |
5 |
Log: |
6 |
adding patch 8.4-lastevent, fixes bug #225999 |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.112 dev-lang/tk/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/tk/ChangeLog?rev=1.112&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/tk/ChangeLog?rev=1.112&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/tk/ChangeLog?r1=1.111&r2=1.112 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/tk/ChangeLog,v |
19 |
retrieving revision 1.111 |
20 |
retrieving revision 1.112 |
21 |
diff -u -r1.111 -r1.112 |
22 |
--- ChangeLog 26 Oct 2008 11:21:33 -0000 1.111 |
23 |
+++ ChangeLog 27 Oct 2008 20:27:07 -0000 1.112 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for dev-lang/tk |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/tk/ChangeLog,v 1.111 2008/10/26 11:21:33 mescalinum Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tk/ChangeLog,v 1.112 2008/10/27 20:27:07 mescalinum Exp $ |
29 |
+ |
30 |
+*tk-8.4.18-r1 (27 Oct 2008) |
31 |
+ |
32 |
+ 27 Oct 2008; Federico Ferri <mescalinum@g.o> |
33 |
+ +files/tk-8.4-lastevent.patch, +tk-8.4.18-r1.ebuild, tk-8.4.19.ebuild: |
34 |
+ adding patch 8.4-lastevent, fixes bug #225999 |
35 |
|
36 |
*tk-8.4.19 (26 Oct 2008) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.2 dev-lang/tk/tk-8.4.19.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/tk/tk-8.4.19.ebuild?rev=1.2&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/tk/tk-8.4.19.ebuild?rev=1.2&content-type=text/plain |
45 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/tk/tk-8.4.19.ebuild?r1=1.1&r2=1.2 |
46 |
|
47 |
Index: tk-8.4.19.ebuild |
48 |
=================================================================== |
49 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/tk/tk-8.4.19.ebuild,v |
50 |
retrieving revision 1.1 |
51 |
retrieving revision 1.2 |
52 |
diff -u -r1.1 -r1.2 |
53 |
--- tk-8.4.19.ebuild 26 Oct 2008 11:21:33 -0000 1.1 |
54 |
+++ tk-8.4.19.ebuild 27 Oct 2008 20:27:07 -0000 1.2 |
55 |
@@ -1,6 +1,6 @@ |
56 |
# Copyright 1999-2008 Gentoo Foundation |
57 |
# Distributed under the terms of the GNU General Public License v2 |
58 |
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/tk/tk-8.4.19.ebuild,v 1.1 2008/10/26 11:21:33 mescalinum Exp $ |
59 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tk/tk-8.4.19.ebuild,v 1.2 2008/10/27 20:27:07 mescalinum Exp $ |
60 |
|
61 |
WANT_AUTOCONF=latest |
62 |
WANT_AUTOMAKE=latest |
63 |
@@ -20,7 +20,7 @@ |
64 |
~dev-lang/tcl-${PV}" |
65 |
DEPEND="${RDEPEND} |
66 |
x11-libs/libXt |
67 |
- x11-proto/xproto" |
68 |
+ >=x11-proto/xproto-7.0.3" |
69 |
|
70 |
S=${WORKDIR}/${PN}${PV} |
71 |
|
72 |
@@ -47,6 +47,9 @@ |
73 |
# Bug 125971 |
74 |
epatch "${FILESDIR}"/${PN}-8.4.15-tclm4-soname.patch |
75 |
|
76 |
+ # Bug 225999 |
77 |
+ epatch "${FILESDIR}"/${PN}-8.4-lastevent.patch |
78 |
+ |
79 |
local d |
80 |
for d in */configure ; do |
81 |
cd "${S}"/${d%%/*} |
82 |
|
83 |
|
84 |
|
85 |
1.1 dev-lang/tk/tk-8.4.18-r1.ebuild |
86 |
|
87 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/tk/tk-8.4.18-r1.ebuild?rev=1.1&view=markup |
88 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/tk/tk-8.4.18-r1.ebuild?rev=1.1&content-type=text/plain |
89 |
|
90 |
Index: tk-8.4.18-r1.ebuild |
91 |
=================================================================== |
92 |
# Copyright 1999-2008 Gentoo Foundation |
93 |
# Distributed under the terms of the GNU General Public License v2 |
94 |
# $Header: /var/cvsroot/gentoo-x86/dev-lang/tk/tk-8.4.18-r1.ebuild,v 1.1 2008/10/27 20:27:07 mescalinum Exp $ |
95 |
|
96 |
WANT_AUTOCONF=latest |
97 |
WANT_AUTOMAKE=latest |
98 |
|
99 |
inherit autotools eutils multilib toolchain-funcs |
100 |
|
101 |
DESCRIPTION="Tk Widget Set" |
102 |
HOMEPAGE="http://dev.scriptics.com/software/tcltk/" |
103 |
SRC_URI="mirror://sourceforge/tcl/${PN}${PV}-src.tar.gz" |
104 |
|
105 |
LICENSE="BSD" |
106 |
SLOT="0" |
107 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" |
108 |
IUSE="debug threads" |
109 |
|
110 |
RDEPEND="x11-libs/libX11 |
111 |
~dev-lang/tcl-${PV}" |
112 |
DEPEND="${RDEPEND} |
113 |
x11-libs/libXt |
114 |
>=x11-proto/xproto-7.0.13" |
115 |
|
116 |
S=${WORKDIR}/${PN}${PV} |
117 |
|
118 |
pkg_setup() { |
119 |
if use threads ; then |
120 |
ewarn "" |
121 |
ewarn "PLEASE NOTE: You are compiling ${P} with" |
122 |
ewarn "threading enabled." |
123 |
ewarn "Threading is not supported by all applications" |
124 |
ewarn "that compile against tcl. You use threading at" |
125 |
ewarn "your own discretion." |
126 |
ewarn "" |
127 |
epause 5 |
128 |
fi |
129 |
} |
130 |
|
131 |
src_unpack() { |
132 |
unpack ${A} |
133 |
cd "${S}" |
134 |
epatch "${FILESDIR}"/remove-control-v-8.4.9.diff |
135 |
epatch "${FILESDIR}"/${PN}-8.4.9-man.patch |
136 |
epatch "${FILESDIR}"/${PN}-8.4.11-multilib.patch |
137 |
|
138 |
# Bug 125971 |
139 |
epatch "${FILESDIR}"/${PN}-8.4.15-tclm4-soname.patch |
140 |
|
141 |
# Bug 225999 |
142 |
epatch "${FILESDIR}"/${PN}-8.4-lastevent.patch |
143 |
|
144 |
local d |
145 |
for d in */configure ; do |
146 |
cd "${S}"/${d%%/*} |
147 |
EPATCH_SINGLE_MSG="Patching nls cruft in ${d}" \ |
148 |
epatch "${FILESDIR}"/tk-configure-LANG.patch |
149 |
done |
150 |
|
151 |
cd "${S}"/unix |
152 |
eautoreconf |
153 |
} |
154 |
|
155 |
src_compile() { |
156 |
tc-export CC |
157 |
cd "${S}"/unix |
158 |
|
159 |
local mylibdir=$(get_libdir) ; mylibdir=${mylibdir//\/} |
160 |
|
161 |
econf \ |
162 |
--with-tcl=/usr/${mylibdir} \ |
163 |
$(use_enable threads) \ |
164 |
$(use_enable debug symbols) || die |
165 |
|
166 |
emake || die |
167 |
} |
168 |
|
169 |
src_install() { |
170 |
#short version number |
171 |
local v1 |
172 |
v1=${PV%.*} |
173 |
|
174 |
cd "${S}"/unix |
175 |
make DESTDIR="${D}" install || die |
176 |
|
177 |
# fix the tkConfig.sh to eliminate refs to the build directory |
178 |
local mylibdir=$(get_libdir) ; mylibdir=${mylibdir//\/} |
179 |
sed -i \ |
180 |
-e "s,^\(TK_BUILD_LIB_SPEC='-L\)${S}/unix,\1/usr/${mylibdir}," \ |
181 |
-e "s,^\(TK_SRC_DIR='\)${S}',\1/usr/${mylibdir}/tk${v1}/include'," \ |
182 |
-e "s,^\(TK_BUILD_STUB_LIB_SPEC='-L\)${S}/unix,\1/usr/${mylibdir}," \ |
183 |
-e "s,^\(TK_BUILD_STUB_LIB_PATH='\)${S}/unix,\1/usr/${mylibdir}," \ |
184 |
-e "s,^\(TK_CC_SEARCH_FLAGS='.*\)',\1:/usr/${mylibdir}'," \ |
185 |
-e "s,^\(TK_LD_SEARCH_FLAGS='.*\)',\1:/usr/${mylibdir}'," \ |
186 |
"${D}"/usr/${mylibdir}/tkConfig.sh || die |
187 |
|
188 |
# install private headers |
189 |
insinto /usr/${mylibdir}/tk${v1}/include/unix |
190 |
doins "${S}"/unix/*.h || die |
191 |
insinto /usr/${mylibdir}/tk${v1}/include/generic |
192 |
doins "${S}"/generic/*.h || die |
193 |
rm -f "${D}"/usr/${mylibdir}/tk${v1}/include/generic/tk.h |
194 |
rm -f "${D}"/usr/${mylibdir}/tk${v1}/include/generic/tkDecls.h |
195 |
rm -f "${D}"/usr/${mylibdir}/tk${v1}/include/generic/tkPlatDecls.h |
196 |
|
197 |
# install symlink for libraries |
198 |
#dosym libtk${v1}.a /usr/${mylibdir}/libtk.a |
199 |
if use debug ; then |
200 |
dosym libtk${v1}g.so /usr/${mylibdir}/libtk${v1}.so |
201 |
dosym libtkstub${v1}g.a /usr/${mylibdir}/libtkstub${v1}.a |
202 |
dosym ../tk${v1}g/pkgIndex.tcl /usr/${mylibdir}/tk${v1}/pkgIndex.tcl |
203 |
fi |
204 |
dosym libtk${v1}.so /usr/${mylibdir}/libtk.so |
205 |
dosym libtkstub${v1}.a /usr/${mylibdir}/libtkstub.a |
206 |
|
207 |
dosym wish${v1} /usr/bin/wish |
208 |
|
209 |
cd "${S}" |
210 |
dodoc ChangeLog README changes license.terms |
211 |
} |