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