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