Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/squeak: ChangeLog squeak-3.10.5.ebuild
Date: Tue, 01 Sep 2009 05:05:17
Message-Id: E1MiQNI-0003nn-FX@stork.gentoo.org
1 patrick 09/09/01 10:14:04
2
3 Modified: ChangeLog
4 Added: squeak-3.10.5.ebuild
5 Log:
6 Bump to 3.10.5. Patches by manny15. Closes #275748 and adds ~amd64 keyword.
7 (Portage version: 2.2_rc40/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.31 dev-lang/squeak/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/squeak/ChangeLog?rev=1.31&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/squeak/ChangeLog?rev=1.31&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/squeak/ChangeLog?r1=1.30&r2=1.31
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-lang/squeak/ChangeLog,v
19 retrieving revision 1.30
20 retrieving revision 1.31
21 diff -u -r1.30 -r1.31
22 --- ChangeLog 24 Aug 2009 04:29:07 -0000 1.30
23 +++ ChangeLog 1 Sep 2009 10:14:04 -0000 1.31
24 @@ -1,6 +1,15 @@
25 # ChangeLog for dev-lang/squeak
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/squeak/ChangeLog,v 1.30 2009/08/24 04:29:07 vostorga Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/squeak/ChangeLog,v 1.31 2009/09/01 10:14:04 patrick Exp $
29 +
30 +*squeak-3.10.5 (01 Sep 2009)
31 +
32 + 01 Sep 2009; Patrick Lauer <patrick@g.o>
33 + +files/squeak-vm-sugar-3.10.3-sugar-squeak-dprintf.patch,
34 + +squeak-3.10.5.ebuild, +files/squeak-dprintf.patch,
35 + +files/squeak-inisqueak.patch:
36 + Bump to 3.10.5. Patches by manny15. Closes #275748 and adds ~amd64
37 + keyword.
38
39 24 Aug 2009; VĂ­ctor Ostorga <vostorga@g.o> squeak-3.10.ebuild,
40 -files/squeak-3.10-glibc210.patch:
41
42
43
44 1.1 dev-lang/squeak/squeak-3.10.5.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/squeak/squeak-3.10.5.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/squeak/squeak-3.10.5.ebuild?rev=1.1&content-type=text/plain
48
49 Index: squeak-3.10.5.ebuild
50 ===================================================================
51 # Copyright 1999-2009 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-lang/squeak/squeak-3.10.5.ebuild,v 1.1 2009/09/01 10:14:04 patrick Exp $
54
55 inherit base versionator fixheadtails eutils
56
57 MY_PV=$(replace_version_separator 2 '-')
58 DESCRIPTION="Highly-portable Smalltalk-80 implementation"
59 HOMEPAGE="http://www.squeak.org/"
60 SRC_URI="http://squeakvm.org/unix/release/Squeak-${MY_PV}.src.tar.gz"
61 LICENSE="Apple"
62 SLOT="0"
63 KEYWORDS="~amd64 ~x86"
64 IUSE="X mmx threads iconv"
65
66 DEPEND="X? ( x11-libs/libX11 x11-libs/libXext x11-libs/libXt )"
67 RDEPEND="${DEPEND}
68 virtual/squeak-image"
69
70 S="${WORKDIR}/Squeak-${MY_PV}"
71
72 src_unpack() {
73 base_src_unpack
74 cd ${S}
75 # patches to "fix" dprintf collision with glibc
76 # see http://bugs.squeak.org/view.php?id=7331
77 # and http://sisyphus.ru/srpm/Sisyphus/squeak-vm-sugar/patches/0
78 epatch "${FILESDIR}"/squeak-vm-sugar-3.10.3-sugar-squeak-dprintf.patch
79 epatch "${FILESDIR}"/squeak-dprintf.patch
80 epatch "${FILESDIR}"/squeak-inisqueak.patch
81 ht_fix_all
82 # ht_fix_all doesn't catch this because there's no number
83 sed -i -e 's/tail +/tail -n +/' platforms/unix/config/inisqueak.in
84 }
85
86 src_compile() {
87 local myconf=""
88 use X || myconf="--without-x"
89 use mmx && myconf="${myconf} --enable-mpg-mmx"
90 use threads && myconf="${myconf} --enable-mpg-pthread"
91 use iconv || myconf="${myconf} --disable-iconv"
92 cd ${S}
93 mkdir build
94 cd build
95 ../platforms/unix/config/configure \
96 --prefix=/usr \
97 --infodir=/usr/share/info \
98 --mandir=/usr/share/man \
99 ${myconf} || die "configure failed"
100 emake || die
101 }
102
103 src_install() {
104 cd ${S}/build
105 make ROOT=${D} docdir=/usr/share/doc/${PF} install || die
106 exeinto /usr/lib/squeak
107 doexe inisqueak
108 dosym /usr/lib/squeak/inisqueak /usr/bin/inisqueak
109 }
110
111 pkg_postinst() {
112 elog "Run 'inisqueak' to get a private copy of the squeak image."
113 }