ChangeLog

# ChangeLog for app-text/aspell
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-text/aspell/ChangeLog,v 1.101 2008/04/27 17:52:51 philantrop Exp $

*aspell-0.60.6 (27 Apr 2008)

27 Apr 2008; Wulf C. Krueger
+aspell-0.60.6.ebuild:
Version bump as per bug 218756.

26 Jan 2008; Wulf C. Krueger
+files/aspell-0.60.5-gcc-4.3.patch, aspell-0.60.5.ebuild:
Added a patch for gcc-4.3-compatibility as kindly provided by Ryan Hill on
bug 203701.

28 Dec 2007; aspell-0.60.5.ebuild:
Keyworded ~sparc-fbsd; bug 197275

28 Aug 2007; Markus Ullmann aspell-0.60.5.ebuild:
Latest version uses Automake 1.10

18 Aug 2007; Wulf C. Krueger
-files/01-gcc3.3-assert.patch, -files/aspell-0.60.4-gcc-4.1-fix.patch,
-files/02-gcc3.3-constcast.patch, -files/aspell-0.60.4-nls.patch,
-files/aspell-buffer-fix.patch, -aspell-0.60.3.ebuild,
-aspell-0.60.3-r1.ebuild, -aspell-0.60.4.ebuild, -aspell-0.60.4-r1.ebuild,
-aspell-0.60.4-r2.ebuild, aspell-0.60.5.ebuild:
Added the examples USE flag as per bug 111508. Removed obsolete versions.

10 Aug 2007; Jeroen Roovers aspell-0.60.5.ebuild:
Stable for HPPA (bug #178690).

09 Aug 2007; Markus Rothe aspell-0.60.5.ebuild:
Stable on ppc64; bug #178690

06 Aug 2007; Joshua Kinard aspell-0.60.5.ebuild:
Stable on mips, per #178690.

05 Aug 2007; Raúl Porcel aspell-0.60.5.ebuild:
alpha/ia64/x86 stable wrt #178690

05 Aug 2007; nixnut aspell-0.60.5.ebuild:
Stable on ppc wrt bug 178690

04 Aug 2007; Ferris McCormick aspell-0.60.5.ebuild:
Sparc stable --- part of Bug #178690 --- works with aspell-en-6.0.0.

04 Aug 2007; Wulf C. Krueger aspell-0.60.5.ebuild:
Marked stable on amd64 as per bug 178690. Thanks, Thomas!

03 Jun 2007; Joshua Kinard aspell-0.60.5.ebuild:
Marked unstable on mips.

16 May 2007; Raúl Porcel aspell-0.60.5.ebuild:
Add ~alpha wrt #147568

12 May 2007; Markus Rothe aspell-0.60.5.ebuild:
Added ~ppc64; bug #147568

04 Mar 2007; Kevin F. Quinn aspell-0.60.5.ebuild:
Incorporated dictionary pdepends (bug #48072)

04 Mar 2007; Marius Mauch aspell-0.50.5-r4.ebuild,
aspell-0.60.3.ebuild, aspell-0.60.3-r1.ebuild, aspell-0.60.4.ebuild,
aspell-0.60.4-r1.ebuild, aspell-0.60.4-r2.ebuild, aspell-0.60.5.ebuild:
Replacing einfo with elog

*aspell-0.60.5 (03 Mar 2007)

03 Mar 2007; Kevin F. Quinn
+files/aspell-0.60.5-nls.patch, +aspell-0.60.5.ebuild:
Bump to 0.60.5 - bug #167461
Also fix incorrect copyright headers in other ebuilds that had changed in
2007 (naughty genstef ;)).

*aspell-0.60.4-r1 (30 Nov 2006)
*aspell-0.60.3-r1 (30 Nov 2006)

30 Nov 2006; Kevin F. Quinn
+aspell-0.60.3-r1.ebuild, +aspell-0.60.4-r1.ebuild:
Add blocker on aspell-en-0.5 - bumped so that any existing users with
aspell-en-0.5 installed will be prompted to deal with it. Bug #96794

30 Nov 2006; Kevin F. Quinn aspell-0.60.4.ebuild:
Set WANT_AUTOMAKE to get correct dependencies for autotools,
for bug #156654

28 Apr 2006; Luca Barbato aspell-0.60.4.ebuild:
Make absolutely sure altivec is disable

07 Apr 2006; Diego Pettenò
+files/aspell-0.60.4-nls.patch, aspell-0.60.4.ebuild:
Add ~x86-fbsd keyword after fixing linking with libintl. Add nls useflag to
allow enabling/disabling nls support (with proper dependencies).

20 Mar 2006; Fabian Groffen aspell-0.60.4.ebuild:
Removed ~ppc-macos for 0.60.4, it has undefined symbols during the linking
phase

19 Mar 2006; Anders Rune Jensen aspell-0.50.4-r4.ebuild:
Fix #122855

15 Jan 2006; Luca Barbato aspell-0.60.4.ebuild:
Workaround for ppc and gcc-4

14 Nov 2005; Anders Rune Jensen aspell-0.60.4.ebuild:
Fix #112373.

*aspell-0.60.4 (09 Nov 2005)

09 Nov 2005; Anders Rune Jensen +aspell-0.60.4.ebuild,
-aspell-0.60.2.ebuild:
Version bump. Fix #111740. Remove old version

08 Aug 2005; Seemant Kulleen
+files/aspell-0.60.3-templateinstantiations.patch, aspell-0.60.3.ebuild:
gcc4 patch, as submitted in bug #70582, and requested by flameeyes

*aspell-0.60.3 (12 Jul 2005)

12 Jul 2005; Anders Rune Jensen +aspell-0.60.3.ebuild:
Version bump.

20 Feb 2005; David Holm :
Added to ~ppc.

23 Jan 2005; Anders Rune Jensen aspell-0.60.2.ebuild,
aspell-0.60.1.1.ebuild, aspell-0.60.ebuild:
Fix #77109.

*aspell-0.60.2 (13 Jan 2005)

13 Jan 2005; Anders Rune Jensen aspell-0.60.2.ebuild:
Version bump.

13 Jan 2005; Anders Rune Jensen aspell-0.60.1.1.ebuild:
works ok on amd64.

02 Jan 2005; Ciaran McCreesh :
Change encoding to UTF-8 for GLEP 31 compliance

07 Dec 2004; Jason Wever aspell-0.60.1.1.ebuild:
Added ~sparc keyword as the version bump was inproperly done.

*aspell-0.60.1.1 (21 Nov 2004)

21 Nov 2004; Anders Rune Jensen +aspell-0.60.1.1.ebuild:
new version. Closes #71793.

22 Oct 2004; Nick Dimiduk aspell-0.50.5-r4.ebuild:
Added ~ppc-macos keyword.

14 Oct 2004; David Holm aspell-0.60.ebuild:
Added to ~ppc.

04 Oct 2004; Jeremy Huddleston aspell-0.60.ebuild:
Added to ~amd64 and ~sparc.

*aspell-0.60 (03 Oct 2004)

03 Oct 2004; Anders Rune Jensen +aspell-0.60.ebuild:
new version. Fixes #65133.

06 Sep 2004; Ciaran McCreesh aspell-0.50.5-r2.ebuild,
aspell-0.50.5-r4.ebuild:
Switch to use epause and ebeep, bug #62950

19 Aug 2004; Guy Martin aspell-0.50.5-r4.ebuild:
Stable on hppa.

18 Aug 2004; Hardave Riar aspell-0.50.5-r4.ebuild:
Stable on mips. Bug #53389

18 Aug 2004; Gustavo Zacarias aspell-0.50.5-r4.ebuild:
Sparc stable wrt #53389

18 Aug 2004; Luca Barbato aspell-0.50.5-r4.ebuild:
Marked ppc

18 Aug 2004; Aron Griffis aspell-0.50.5-r4.ebuild:
stable on alpha, amd64, ia64 and x86 #53389

*aspell-0.50.5-r4 (18 Aug 2004)

18 Aug 2004; files/aspell-0.50.5-charcount.patch,
-aspell-0.50.5-r3.ebuild, +aspell-0.50.5-r4.ebuild:
slight update to charcount patch for bug #53389

17 Aug 2004; Tom Gall aspell-0.50.5-r3.ebuild:
stable on ppc64, bug #58313

*aspell-0.50.5-r3 (15 Aug 2004)

15 Aug 2004; aspell-0.50.5-r3.ebuild,
files/aspell-0.50.5-charcount.patch:
The previous security patch included in gentoo for aspell was apparently
incorrect. It counted the words rather than characters. This revision fixes
that. This was brought to our attention by by Ludwig Nussel


30 Jul 2004; Anders Rune Jensen aspell-0.50.5-r2.ebuild:
Bugfix for aspell --mode=email by Alex Efros. Very good work! (#48865).

24 Jul 2004; Alastair Tse aspell-0.50.5-r2.ebuild:
fixed SRC_URI to use mirror://gnu (#55523)

16 Jun 2004; Anders Rune Jensen aspell-0.50.5-r2.ebuild:
filter -fno-rtti. Fixes bug #48033.

16 Jun 2004; Aron Griffis aspell-0.50.5-r2.ebuild:
Stable on ia64

*aspell-0.50.5-r2 (16 Jun 2004)

16 Jun 2004; Seemant Kulleen
files/aspell-buffer-fix.patch, -aspell-0.50.5-r1.ebuild,
+aspell-0.50.5-r2.ebuild, -aspell-0.50.5.ebuild:
Fix the buffer patch for the truncated dictionaries issue reported in bug
#53801 by Tom Wesley . Adam Bregenzer
posted a patch to the patch there, so big-up to him.
Removed crusty 50.5 versions, and -r2 straight to stable for everyone

10 Jun 2004; Bryan Østergaard aspell-0.50.5-r1.ebuild:
Stable on alpha, bug #53389.

09 Jun 2004; Travis Tilley aspell-0.50.5-r1.ebuild:
stable on amd64

10 Jun 2004; Ciaran McCreesh aspell-0.50.5-r1.ebuild:
Stable on sparc, mips (bug #53389)

09 Jun 2004; Guy Martin aspell-0.50.5-r1.ebuild:
Marked stable on hppa.

09 Jun 2004; Luca Barbato aspell-0.50.5-r1.ebuild:
Marked ppc

*aspell-0.50.5-r1 (09 Jun 2004)

09 Jun 2004; Seemant Kulleen
+files/aspell-buffer-fix.patch, +aspell-0.50.5-r1.ebuild:
Apply a patch to fix the buffer overflow reported in:
http://www.securityfocus.com/archive/1/365479. This should close bug #53389
by: Florian Schilhabel . Other arches need to push
this to stable

06 Jun 2004; Travis Tilley aspell-0.50.5.ebuild:
stable on amd64 for gcc 3.4 fix

14 May 2004; Stephen P. Becker aspell-0.50.3.ebuild:
Stable on mips

12 May 2004; Bryan Østergaard aspell-0.50.5.ebuild:
Stable on alpha.

07 May 2004; Ciaran McCreesh aspell-0.50.4.1.ebuild,
aspell-0.50.5.ebuild:
Stable on sparc, #50392

02 Apr 2004; Michael Sterrett aspell-0.50.3.ebuild:
inherit eutils for epatch

02 Apr 2004; Jon Portnoy aspell-0.50.5.ebuild,
aspell-0.50.4.1.ebuild, aspell-0.50.3.ebuild :
Added LDFLAGS hack to make sure gpm gets linked in with USE=gpm.
This is needed when ncurses is built with gpm support. #46432

02 Apr 2004; Jon Portnoy aspell-0.50.5.ebuild :
AMD64 keywords.

01 Apr 2004; aspell-0.50.5.ebuild:
adding s390 to keywords

13 Mar 2004; Stephen P. Becker :
Added ~mips keyword.

*aspell-0.50.5 (18 Feb 2004)

18 Feb 2004; Alastair Tse aspell-0.50.5.ebuild,
metadata.xml:
version bump. cleaned up src_install, installed compat scripts to
ispell-aspell and spell-aspell

14 Nov 2003; Aron Griffis aspell-0.50.4.1.ebuild:
Stable on ia64

01 Nov 2003; Brad House aspell-0.50.4.1.ebuild:
aspell-0.50.4.1 is no good for amd64, duplicate
symbol errors, on stuff like _init, which is because they try to link in
different versions of crt* etc

*aspell-0.50.4.1 (28 Oct 2003)

28 Oct 2003; Seemant Kulleen aspell-0.50.4.1.ebuild:
Version bump, thanks to: MG in bug #31959

*aspell-0.50.3 (03 Dec 2002)

27 Mar 2003; Seemant Kulleen aspell-0.50.3.ebuild:
postinst message typo fix, thanks to: Jeremy Collins in
bug #18278

20 Mar 2003; Guy Martin aspell-0.50.3.ebuild :
Changed ~hppa to hppa in KEYWORDS.

22 Feb 2003; Aron Griffis aspell-0.50.3.ebuild :
Mark stable on alpha

12 Feb 2003; Seemant Kulleen aspell-0.50.3.ebuild :

Added ~alpha ~mips ~hppa

06 Dec 2002; Rodney Rees :
changed sparc ~sparc keywords

03 Dec 2002; Seemant Kulleen aspell-0.50.3.ebuild
files/digest-aspell-0.50.3 :

Jon Nall's changes were taken upstream for this release.

*aspell-0.50.2-r1 (11 Nov 2002)

11 Nov 2002; Jon Nall aspell-0.50.2-r1.ebuild
files/digest-aspell-0.50.2-r1 :

This fixes a problem where applications are linked against both
libaspell.so AND libaspell-common.so. when aspell is upgraded,
the libaspell-common.so version is bumped and apps break. using
--remove-internal-dep=aspell-common with cause apps to link
only against libaspell.so, which should allow them to work across
multiple aspell versions. This fixes bug #9996.
NOTE: all apps that compile against aspell will need to be
recompiled (abiword, sylpheed-claws, gnome-spell, etc)


*aspell-0.50.2 (05 Oct 2002)

25 Oct 2002; Seemant Kulleen aspell-0.50.2.ebuild :

Nall (nall@gentoo.org) pointed out that elibtoolize --reverse-deps causes
this build to look in ${D} before /usr/lib, so apps that compile against
aspell should not have to be recompiled with an aspell version bump any
more. Closes bug #9583. Note that Azarah came up with the solution :)

05 Oct 2002; Seemant Kulleen aspell-0.50.2.ebuild
files/digest-aspell-0.50.2 :

Version bump which fixes a LOT of bugs. Kword and Kmail should now work
properly with this. New ebuild notification by: arun@virginia.edu (Arun
Thomas) (sindian in #gentoo-dev) in bug #8786.

*aspell-0.50.1 (03 Sep 2002)

10 Sep 2002; Calum Selkirk aspell-0.50.1.ebuild :

Added a if ARCH = ppc and set CXXFLAGS to be less aggressive (it segfaults
on ppc with higher opts).

03 Sep 2002; Seemant Kulleen aspell-0.50.1.ebuild
files/digest-aspell-0.50.1 :

Version bump to newest bugfix release which, among other things, allows
for user's custom optimisation flags again.

*aspell-0.50 (23 Aug 2002)

23 Aug 2002; Seemant Kulleen aspell-0.50.ebuild
files/digest-aspell-0.50 :

Version bump to stable release.

*aspell-0.50_pre20020815 (16 Aug 2002)

23 Aug 2002; Seemant Kulleen
aspell-0.50_pre20020815.ebuild :

Removed unnecessary gcc stuff (legacy from aspell-0.44 stuff), and also
added a note in pkg_postinst() that a dictionary will have to be
installed. Thanks to: arun@virginia.edu (Arun Thomas) in bugs #6757 and
#6758.

16 Aug 2002; Seemant Kulleen
aspell-0.50_pre20020815.ebuild :

version bump.

*aspell-0.50_pre20020811 (13 Aug 2002)

13 Aug 2002; Seemant Kulleen
aspell-0.50_pre20020811.ebuild :

Version bump to newest snapshot -- bug fixes galore!

*aspell-0.50_pre20020730 (13 Aug 2002)

13 Aug 2002; Seemant Kulleen aspell-0.50_pre20020730 :

Version bump (long needed)

*aspell-0.33-7.1-r2 (24 Jul 2002)

07 Aug 2002; Calum Selkirk aspell-0.33.7.1-r1.ebuild :

Added ppc to KEYWORDS. (Gerk, aspell-0.33.7.1-r2.ebuild is masked for
testing).

06 Aug 2002; Mark Guertin :
Added ppc to keywords

24 Jul 2002; Daniel Ahlberg aspell-0.33.7.1-r2.ebuild :

This might fix the build problems with gcc 2.95.3 and glibc 2.2.5.

*aspell-0.33.7.1-r1 (21 Mar 2002)

21 Mar 2002; Seemant Kulleen aspell-0.33.7.1-r1 :

The documentation in HTML should not, and is not being, gzipped any more.


*aspell-0.33.7.1-r1 (12 Mar 2002)

12 Mar 2002; Seemant Kulleen aspell-0.33.7.1-r1 :

OK, finally this thing merges! It has some _strange_ issues with optimisation
levels. Specifically, they need to be specified _before_ ./configure. Go
figure. Anyway, now this is compatible with the newest pspell library, not
the older ones. Also, this uses a patch from the author's page as well, in
order to actually compile.

*aspell-0.32.6 (1 Feb 2002)

1 Feb 2002; G.Bevin ChangeLog :

Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.

Manifest

AUX aspell-0.50.5-charcount.patch 2264 RMD160 75e80538b3007e9d10d69a682e62990fd2e25676 SHA1 d8f60de0d17f334a73d9788b2fc67cc942342fc0 SHA256 8b8dff47288fbd3c4983a354215b000262e4d8aa803421313730c80a62cf87ec
AUX aspell-0.60.3-templateinstantiations.patch 274 RMD160 e84029e2b8c63e75421aecfc15fd30ec5d893419 SHA1 7e37c000d420ee52323f7660336e01447330a5a6 SHA256 71ec6d58f4e5e629d82869bc7c8c3eb63663aedf1be3c38f87ab872835f90f2a
AUX aspell-0.60.5-gcc-4.3.patch 5460 RMD160 2b90f62f32994154034fc49baf71947f95279e01 SHA1 18ddce494afeff4fe97d1d531e4bd1f78b9d8465 SHA256 349f092bb2cc2f18d3cd8fb3039774f7157bf44179a704c968dcf425b40ed08e
AUX aspell-0.60.5-nls.patch 443 RMD160 c5d89ec5ca398c990a7bb6598d5283471e43b92a SHA1 d502ebb74c97662af8ea365eb1cfffd222681859 SHA256 9c8a619f97ffcbb6a90bb5d5f0531d0890ca0033dcfae5b0fc70cb635df7b39c
AUX aspell-quotechar-fix.patch 473 RMD160 200f38438108555bfdc67c68008bced0c3a6b779 SHA1 3602ab6c07818ac0187613d6c54731b65004f741 SHA256 3b5bc1a87613b396b080fb5a13003ac58b9fb443a8d2dc4eb2e03851ddad3a6d
DIST aspell-0.50.5.tar.gz 1016586 RMD160 6bfb0070e572ffdedf86ea87f50f4958bb418b12 SHA1 0b17272e1773ef133775d5e6be9fbccc8689ff58 SHA256 e385d747d7423846760170476f16f12719cf2846a99e1b5acea13eeb948c1f4d
DIST aspell-0.60.5.tar.gz 1754865 RMD160 1efc56988a01e60d1fcff0143e910f5cb6618a76 SHA1 170ff906bd909dba32144c972d322cfc8fbff41b SHA256 ee9e81d2e3e66b01ad91da736e48568ed8acd6dfb6b664d904066ecc5ea4e84b
DIST aspell-0.60.6.tar.gz 1777930 RMD160 315638cc7cc4ce9d3dc09c7e15faf637855d504e SHA1 335bcb560e00f59d89ec9e4c4114c325fb0e65f4 SHA256 4f5b1520e26cf6bbb1b5ca8a2f9f22948c3ca38ac4c2dd9e02df042fee7c0e36
EBUILD aspell-0.50.5-r4.ebuild 1918 RMD160 c44f0875467fa48ca1b786bbbd5245f7ba68a2be SHA1 1807881c0b777e1a57d66e60b8b580e31601d593 SHA256 0cb69f5a88638ac387a12f39f21aa7133e2e2246c86a9023549d340bf199ef4c
EBUILD aspell-0.60.5.ebuild 2997 RMD160 186aa4147a325b0546637dfdcaa0f6a47e27ea5f SHA1 2773248d455e724dfb21ad592965e7a5b7594350 SHA256 444cb843941a60d03706e2a015e5e53109240a6090d0e5052d2378fc8579f104
EBUILD aspell-0.60.6.ebuild 3104 RMD160 ae6fd564c633a43287c336e86c0146fcba391d99 SHA1 a8d150436cfe6120ff4a7050eab3ebbb9233db67 SHA256 85b3951839833443c309d5eb4d7f380b41089c0c98ce9f39d21418d6243a0d92
MISC ChangeLog 15900 RMD160 9672dd0d16622d05c19e24812c3b8f5d1fb64ee3 SHA1 1405f56a981c3df29007e1ad271178722bfa992a SHA256 b859b8a3c9be71fea1cecdfaefbc6600a37ac6ec19badc77429004a64f94f5d9
MISC metadata.xml 162 RMD160 853d3c463af1132de9d434e4bdca16fd81a21eb0 SHA1 0d9e341c4b61e23adc1f3806989a0236b83257a0 SHA256 9629e7723cb4708c1910c25510cd14da2729d34eed4ebfc1563df4a1ed5e1b22

aspell-0.50.5-r4.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/aspell/aspell-0.50.5-r4.ebuild,v 1.19 2008/01/19 22:09:17 grobian Exp $

inherit libtool eutils flag-o-matic

DESCRIPTION="A spell checker replacement for ispell"
HOMEPAGE="http://aspell.net/"
SRC_URI="mirror://gnu/aspell/${P}.tar.gz"

LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
IUSE="gpm"

DEPEND=">=sys-libs/ncurses-5.2
gpm? ( sys-libs/gpm )"

src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PN}-0.50.5-charcount.patch
epatch "${FILESDIR}"/${PN}-quotechar-fix.patch
}

src_compile() {
if [ "${ARCH}" == "ppc" ] ; then
append-flags -O2 -fsigned-char
fi
if [ "${ARCH}" == "alpha" ]; then
replace-flags -Os -O2
fi
use gpm && append-ldflags -lgpm
filter-flags -fno-rtti
elibtoolize --reverse-deps

econf \
--disable-static \
--sysconfdir=/etc/aspell \
--enable-docdir=/usr/share/doc/${PF} || die

emake || die
}

src_install() {
dodoc README* TODO

make DESTDIR=${D} install || die
mv ${D}/usr/share/doc/${PF}/man-html ${D}/usr/share/doc/${PF}/html
mv ${D}/usr/share/doc/${PF}/man-text ${D}/usr/share/doc/${PF}/text

# install ispell/aspell compatibility scripts
exeinto /usr/bin
newexe scripts/ispell ispell-aspell
newexe scripts/spell spell-aspell

cd examples
make clean || die
docinto examples
dodoc ${S}/examples/*

}

pkg_postinst() {
elog "You will need to install a dictionary now. Please choose an"
elog "aspell- dictionary from the app-dicts category"
elog "After installing an aspell dictionary for your language(s),"
elog "You may use the aspell-import utility to import your personal"
elog "dictionaries from ispell, pspell and the older aspell"

ewarn ""
ewarn "Please re-emerge ALL your aspell-LANG dictionaries"
ewarn ""
ebeep 5
}

aspell-0.60.5.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/aspell/aspell-0.60.5.ebuild,v 1.18 2008/01/26 18:49:16 philantrop Exp $

# N.B. This is before inherit of autotools, as autotools.eclass adds the
# relevant dependencies to DEPEND.
WANT_AUTOMAKE="1.10"

inherit libtool eutils flag-o-matic autotools

DESCRIPTION="A spell checker replacement for ispell"
HOMEPAGE="http://aspell.net/"
SRC_URI="mirror://gnu/aspell/${P}.tar.gz"

LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
IUSE="gpm nls examples"
# Note; app-text/aspell-0.6 and app-dicts/aspell-en-0.6 must go stable together

# Build PDEPEND from list of language codes provided in the tree.
# The PDEPEND string is static - this code just makes it easier to maintain.
def="app-dicts/aspell-en"
for l in \
"af" "be" "bg" "br" "ca" "cs" "cy" "da" "de" "el" \
"en" "eo" "es" "et" "fi" "fo" "fr" "ga" "gl" "he" \
"hr" "is" "it" "nl" "no" "pl" "pt" "ro" "ru" "sk" \
"sl" "sr" "sv" "uk" "vi"; do
dep="linguas_${l}? ( app-dicts/aspell-${l} )"
[[ -z ${PDEPEND} ]] &&
PDEPEND="${dep}" ||
PDEPEND="${PDEPEND}
${dep}"
def="!linguas_${l}? ( ${def} )"
done
PDEPEND="${PDEPEND}
${def}"

RDEPEND=">=sys-libs/ncurses-5.2
gpm? ( sys-libs/gpm )
nls? ( virtual/libintl )
!=app-dicts/aspell-en-0.5*"
# English dictionary 0.5 is incompatible with aspell-0.6

DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"

src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/aspell-0.60.3-templateinstantiations.patch
epatch "${FILESDIR}/${P}-nls.patch"
epatch "${FILESDIR}/${P}-gcc-4.3.patch"

eautomake
elibtoolize --reverse-deps
}

src_compile() {
use gpm && append-ldflags -lgpm
filter-flags -fno-rtti
filter-flags -fvisibility=hidden #77109
filter-flags -maltivec -mabi=altivec
use ppc && append-flags -mno-altivec

econf \
$(use_enable nls) \
--disable-static \
--sysconfdir=/etc/aspell \
--enable-docdir=/usr/share/doc/${PF} || die

emake || die
}

src_install() {
dodoc README* TODO

make DESTDIR="${D}" install || die
mv "${D}"/usr/share/doc/${PF}/man-html "${D}"/usr/share/doc/${PF}/html
mv "${D}"/usr/share/doc/${PF}/man-text "${D}"/usr/share/doc/${PF}/text

# install ispell/aspell compatibility scripts
exeinto /usr/bin
newexe scripts/ispell ispell-aspell
newexe scripts/spell spell-aspell

if use examples ; then
cd examples
make clean || die
docinto examples
dodoc "${S}"/examples/*
fi
}

pkg_postinst() {
elog "You will need to install a dictionary now. Please choose an"
elog "aspell- dictionary from the app-dicts category"
elog "After installing an aspell dictionary for your language(s),"
elog "You may use the aspell-import utility to import your personal"
elog "dictionaries from ispell, pspell and the older aspell"

ewarn ""
ewarn "Please re-emerge ALL your aspell-LANG dictionaries"
ewarn ""
ebeep 5
}

aspell-0.60.6.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/aspell/aspell-0.60.6.ebuild,v 1.1 2008/04/27 17:52:51 philantrop Exp $

# N.B. This is before inherit of autotools, as autotools.eclass adds the
# relevant dependencies to DEPEND.
WANT_AUTOMAKE="1.10"

inherit libtool eutils flag-o-matic autotools

DESCRIPTION="A spell checker replacement for ispell"
HOMEPAGE="http://aspell.net/"
SRC_URI="mirror://gnu/aspell/${P}.tar.gz"

LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
IUSE="gpm nls examples"
# Note; app-text/aspell-0.6 and app-dicts/aspell-en-0.6 must go stable together

# Build PDEPEND from list of language codes provided in the tree.
# The PDEPEND string is static - this code just makes it easier to maintain.
def="app-dicts/aspell-en"
for l in \
"af" "be" "bg" "br" "ca" "cs" "cy" "da" "de" "el" \
"en" "eo" "es" "et" "fi" "fo" "fr" "ga" "gl" "he" \
"hr" "is" "it" "nl" "no" "pl" "pt" "ro" "ru" "sk" \
"sl" "sr" "sv" "uk" "vi"; do
dep="linguas_${l}? ( app-dicts/aspell-${l} )"
[[ -z ${PDEPEND} ]] &&
PDEPEND="${dep}" ||
PDEPEND="${PDEPEND}
${dep}"
def="!linguas_${l}? ( ${def} )"
done
PDEPEND="${PDEPEND}
${def}"

RDEPEND=">=sys-libs/ncurses-5.2
gpm? ( sys-libs/gpm )
nls? ( virtual/libintl )
!=app-dicts/aspell-en-0.5*"
# English dictionary 0.5 is incompatible with aspell-0.6

DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"

src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/aspell-0.60.3-templateinstantiations.patch
epatch "${FILESDIR}/${PN}-0.60.5-nls.patch"

eautomake
elibtoolize --reverse-deps
}

src_compile() {
use gpm && append-ldflags -lgpm
filter-flags -fno-rtti
filter-flags -fvisibility=hidden #77109
filter-flags -maltivec -mabi=altivec
use ppc && append-flags -mno-altivec

econf \
$(use_enable nls) \
--disable-static \
--sysconfdir=/etc/aspell \
--enable-docdir=/usr/share/doc/${PF} || die "econf failed"

emake || die "compilation failed"
}

src_install() {
dodoc README* TODO || die "installing docs failed"

emake DESTDIR="${D}" install || die "installation failed"
mv "${D}"/usr/share/doc/${PF}/man-html "${D}"/usr/share/doc/${PF}/html
mv "${D}"/usr/share/doc/${PF}/man-text "${D}"/usr/share/doc/${PF}/text

# install ispell/aspell compatibility scripts
exeinto /usr/bin
newexe scripts/ispell ispell-aspell
newexe scripts/spell spell-aspell

if use examples ; then
cd examples
make clean || die
docinto examples
dodoc "${S}"/examples/* || die "installing examples failed"
fi
}

pkg_postinst() {
elog "You will need to install a dictionary now. Please choose an"
elog "aspell- dictionary from the app-dicts category"
elog "After installing an aspell dictionary for your language(s),"
elog "You may use the aspell-import utility to import your personal"
elog "dictionaries from ispell, pspell and the older aspell"

ewarn ""
ewarn "Please re-install ALL your aspell-LANG dictionaries"
ewarn ""
ebeep 5
}

files

metadata.xml




app-dicts