Gentoo Archives: gentoo-commits

From: "Wulf Krueger (philantrop)" <philantrop@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/aspell: ChangeLog aspell-0.60.6.ebuild
Date: Sun, 27 Apr 2008 17:52:54
Message-Id: E1JqB3U-00050Q-1C@stork.gentoo.org
1 philantrop 08/04/27 17:52:52
2
3 Modified: ChangeLog
4 Added: aspell-0.60.6.ebuild
5 Log:
6 Version bump as per bug 218756.
7 (Portage version: 2.1.5_rc6)
8
9 Revision Changes Path
10 1.101 app-text/aspell/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/aspell/ChangeLog?rev=1.101&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/aspell/ChangeLog?rev=1.101&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/aspell/ChangeLog?r1=1.100&r2=1.101
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-text/aspell/ChangeLog,v
19 retrieving revision 1.100
20 retrieving revision 1.101
21 diff -u -r1.100 -r1.101
22 --- ChangeLog 26 Jan 2008 18:49:16 -0000 1.100
23 +++ ChangeLog 27 Apr 2008 17:52:51 -0000 1.101
24 @@ -1,6 +1,12 @@
25 # ChangeLog for app-text/aspell
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-text/aspell/ChangeLog,v 1.100 2008/01/26 18:49:16 philantrop Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-text/aspell/ChangeLog,v 1.101 2008/04/27 17:52:51 philantrop Exp $
29 +
30 +*aspell-0.60.6 (27 Apr 2008)
31 +
32 + 27 Apr 2008; Wulf C. Krueger <philantrop@g.o>
33 + +aspell-0.60.6.ebuild:
34 + Version bump as per bug 218756.
35
36 26 Jan 2008; Wulf C. Krueger <philantrop@g.o>
37 +files/aspell-0.60.5-gcc-4.3.patch, aspell-0.60.5.ebuild:
38
39
40
41 1.1 app-text/aspell/aspell-0.60.6.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/aspell/aspell-0.60.6.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/aspell/aspell-0.60.6.ebuild?rev=1.1&content-type=text/plain
45
46 Index: aspell-0.60.6.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-text/aspell/aspell-0.60.6.ebuild,v 1.1 2008/04/27 17:52:51 philantrop Exp $
51
52 # N.B. This is before inherit of autotools, as autotools.eclass adds the
53 # relevant dependencies to DEPEND.
54 WANT_AUTOMAKE="1.10"
55
56 inherit libtool eutils flag-o-matic autotools
57
58 DESCRIPTION="A spell checker replacement for ispell"
59 HOMEPAGE="http://aspell.net/"
60 SRC_URI="mirror://gnu/aspell/${P}.tar.gz"
61
62 LICENSE="LGPL-2"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
65 IUSE="gpm nls examples"
66 # Note; app-text/aspell-0.6 and app-dicts/aspell-en-0.6 must go stable together
67
68 # Build PDEPEND from list of language codes provided in the tree.
69 # The PDEPEND string is static - this code just makes it easier to maintain.
70 def="app-dicts/aspell-en"
71 for l in \
72 "af" "be" "bg" "br" "ca" "cs" "cy" "da" "de" "el" \
73 "en" "eo" "es" "et" "fi" "fo" "fr" "ga" "gl" "he" \
74 "hr" "is" "it" "nl" "no" "pl" "pt" "ro" "ru" "sk" \
75 "sl" "sr" "sv" "uk" "vi"; do
76 dep="linguas_${l}? ( app-dicts/aspell-${l} )"
77 [[ -z ${PDEPEND} ]] &&
78 PDEPEND="${dep}" ||
79 PDEPEND="${PDEPEND}
80 ${dep}"
81 def="!linguas_${l}? ( ${def} )"
82 done
83 PDEPEND="${PDEPEND}
84 ${def}"
85
86 RDEPEND=">=sys-libs/ncurses-5.2
87 gpm? ( sys-libs/gpm )
88 nls? ( virtual/libintl )
89 !=app-dicts/aspell-en-0.5*"
90 # English dictionary 0.5 is incompatible with aspell-0.6
91
92 DEPEND="${RDEPEND}
93 nls? ( sys-devel/gettext )"
94
95 src_unpack() {
96 unpack ${A}
97 cd "${S}"
98 epatch "${FILESDIR}"/aspell-0.60.3-templateinstantiations.patch
99 epatch "${FILESDIR}/${PN}-0.60.5-nls.patch"
100
101 eautomake
102 elibtoolize --reverse-deps
103 }
104
105 src_compile() {
106 use gpm && append-ldflags -lgpm
107 filter-flags -fno-rtti
108 filter-flags -fvisibility=hidden #77109
109 filter-flags -maltivec -mabi=altivec
110 use ppc && append-flags -mno-altivec
111
112 econf \
113 $(use_enable nls) \
114 --disable-static \
115 --sysconfdir=/etc/aspell \
116 --enable-docdir=/usr/share/doc/${PF} || die "econf failed"
117
118 emake || die "compilation failed"
119 }
120
121 src_install() {
122 dodoc README* TODO || die "installing docs failed"
123
124 emake DESTDIR="${D}" install || die "installation failed"
125 mv "${D}"/usr/share/doc/${PF}/man-html "${D}"/usr/share/doc/${PF}/html
126 mv "${D}"/usr/share/doc/${PF}/man-text "${D}"/usr/share/doc/${PF}/text
127
128 # install ispell/aspell compatibility scripts
129 exeinto /usr/bin
130 newexe scripts/ispell ispell-aspell
131 newexe scripts/spell spell-aspell
132
133 if use examples ; then
134 cd examples
135 make clean || die
136 docinto examples
137 dodoc "${S}"/examples/* || die "installing examples failed"
138 fi
139 }
140
141 pkg_postinst() {
142 elog "You will need to install a dictionary now. Please choose an"
143 elog "aspell-<LANG> dictionary from the app-dicts category"
144 elog "After installing an aspell dictionary for your language(s),"
145 elog "You may use the aspell-import utility to import your personal"
146 elog "dictionaries from ispell, pspell and the older aspell"
147
148 ewarn ""
149 ewarn "Please re-install ALL your aspell-LANG dictionaries"
150 ewarn ""
151 ebeep 5
152 }
153
154
155
156 --
157 gentoo-commits@l.g.o mailing list