summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin F. Quinn <kevquinn@gentoo.org>2006-12-01 09:56:12 +0000
committerKevin F. Quinn <kevquinn@gentoo.org>2006-12-01 09:56:12 +0000
commit232391305da1228e2b29d6d55c72b23f2e0af1c6 (patch)
tree2f204b89e62fe452ad953ba82f05dcf97486b990 /app-text/aspell
parentRedigest for vmware-any-any105. (diff)
downloadhistorical-232391305da1228e2b29d6d55c72b23f2e0af1c6.tar.gz
historical-232391305da1228e2b29d6d55c72b23f2e0af1c6.tar.bz2
historical-232391305da1228e2b29d6d55c72b23f2e0af1c6.zip
PDEPEND on relevant dictionaries according to LINGUAS
Package-Manager: portage-2.1.2_rc2-r1
Diffstat (limited to 'app-text/aspell')
-rw-r--r--app-text/aspell/Manifest13
-rw-r--r--app-text/aspell/aspell-0.60.4-r2.ebuild105
-rw-r--r--app-text/aspell/files/digest-aspell-0.60.4-r23
3 files changed, 118 insertions, 3 deletions
diff --git a/app-text/aspell/Manifest b/app-text/aspell/Manifest
index 9b15f6880b80..cf5b06e143ad 100644
--- a/app-text/aspell/Manifest
+++ b/app-text/aspell/Manifest
@@ -52,6 +52,10 @@ EBUILD aspell-0.60.4-r1.ebuild 2393 RMD160 555b1b461dc35703a634cfd386e17b8f86b83
MD5 db73a1912c28d69ff6d59d3f43f4b770 aspell-0.60.4-r1.ebuild 2393
RMD160 555b1b461dc35703a634cfd386e17b8f86b831db aspell-0.60.4-r1.ebuild 2393
SHA256 6f33ed4e8367ceef3136cff0e838ff43adcb2e1564901f83b7a4bc43866cec57 aspell-0.60.4-r1.ebuild 2393
+EBUILD aspell-0.60.4-r2.ebuild 2973 RMD160 80324aaf79387bdd8da5cd3ebadb918aacd7aeff SHA1 fe3f8573f89be4d01e3bf945ca2f52f48a6ac939 SHA256 c3f9c3d11ef4fbb2138b70de86cdaaffffa9bc47b85d531aac68169f52f56934
+MD5 86ff99cf1a9f0e35e6c0251cea5156d5 aspell-0.60.4-r2.ebuild 2973
+RMD160 80324aaf79387bdd8da5cd3ebadb918aacd7aeff aspell-0.60.4-r2.ebuild 2973
+SHA256 c3f9c3d11ef4fbb2138b70de86cdaaffffa9bc47b85d531aac68169f52f56934 aspell-0.60.4-r2.ebuild 2973
EBUILD aspell-0.60.4.ebuild 2225 RMD160 6ec904b6610b04724573eb55d04be3d454c5ba8e SHA1 3922d6d332ff6a474e22a3387376d764e06d461b SHA256 66f1c76690ceac9e0bc3c47888d1816bf0fcdd4e4289ed6b9e1b3e7b6b654ef9
MD5 6cd90446d124ec3313b710df78aa3e97 aspell-0.60.4.ebuild 2225
RMD160 6ec904b6610b04724573eb55d04be3d454c5ba8e aspell-0.60.4.ebuild 2225
@@ -79,10 +83,13 @@ SHA256 0222993b12f226559c09ef722ec79db18ba949895656e1e7f0cd481ee1b62796 files/di
MD5 742b66b2d53df76b2e76c9fa9937f838 files/digest-aspell-0.60.4-r1 244
RMD160 28b6eeece11d0a579b09665992b8b68fadd22028 files/digest-aspell-0.60.4-r1 244
SHA256 0222993b12f226559c09ef722ec79db18ba949895656e1e7f0cd481ee1b62796 files/digest-aspell-0.60.4-r1 244
+MD5 742b66b2d53df76b2e76c9fa9937f838 files/digest-aspell-0.60.4-r2 244
+RMD160 28b6eeece11d0a579b09665992b8b68fadd22028 files/digest-aspell-0.60.4-r2 244
+SHA256 0222993b12f226559c09ef722ec79db18ba949895656e1e7f0cd481ee1b62796 files/digest-aspell-0.60.4-r2 244
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
-iD8DBQFFbzyYZfNLSOUrp0sRAn6fAKCDPI/r/0pCA6e92wJyWSPdDAmgdgCgy3XX
-0l+FvB2GUrHd0Zj5n08VWsk=
-=TvRP
+iD8DBQFFb/ybZfNLSOUrp0sRAtagAJ4pSr5pAQ8HOwW4Ijmk0s7KjN638ACfSdIg
+prFp5HTJ01Qm9udAu124v58=
+=dSbh
-----END PGP SIGNATURE-----
diff --git a/app-text/aspell/aspell-0.60.4-r2.ebuild b/app-text/aspell/aspell-0.60.4-r2.ebuild
new file mode 100644
index 000000000000..4839e292845a
--- /dev/null
+++ b/app-text/aspell/aspell-0.60.4-r2.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/aspell/aspell-0.60.4-r2.ebuild,v 1.1 2006/12/01 09:56:12 kevquinn Exp $
+
+# N.B. This is before inherit of autotools, as autotools.eclass adds the
+# relevant dependencies to DEPEND.
+WANT_AUTOMAKE="1.9"
+
+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="~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="gpm nls"
+# 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
+ virtual/aspell-dict
+ 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}"/aspell-0.60.4-gcc-4.1-fix.patch
+ epatch "${FILESDIR}/${P}-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
+
+ 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() {
+ einfo "You will need to install a dictionary now. Please choose an"
+ einfo "aspell-<LANG> dictionary from the app-dicts category"
+ einfo "After installing an aspell dictionary for your language(s),"
+ einfo "You may use the aspell-import utility to import your personal"
+ einfo "dictionaries from ispell, pspell and the older aspell"
+
+ ewarn ""
+ ewarn "Please re-emerge ALL your aspell-LANG dictionaries"
+ ewarn ""
+ ebeep 5
+}
diff --git a/app-text/aspell/files/digest-aspell-0.60.4-r2 b/app-text/aspell/files/digest-aspell-0.60.4-r2
new file mode 100644
index 000000000000..b06cd5ec9fa6
--- /dev/null
+++ b/app-text/aspell/files/digest-aspell-0.60.4-r2
@@ -0,0 +1,3 @@
+MD5 4f1737e726d66476b9c7388831305510 aspell-0.60.4.tar.gz 1676825
+RMD160 e0408acd4f3304c957aeea0b17a28d0c44e11064 aspell-0.60.4.tar.gz 1676825
+SHA256 8931d8644da9a71fdd970cafe9d6c20d796ad1d8ef2aaf89a801171104e426e4 aspell-0.60.4.tar.gz 1676825