diff options
Diffstat (limited to 'app-text/aspell')
-rw-r--r-- | app-text/aspell/ChangeLog | 8 | ||||
-rw-r--r-- | app-text/aspell/Manifest | 3 | ||||
-rw-r--r-- | app-text/aspell/aspell-0.60.6-r1.ebuild | 110 |
3 files changed, 119 insertions, 2 deletions
diff --git a/app-text/aspell/ChangeLog b/app-text/aspell/ChangeLog index 76662816577b..492d4614d6ff 100644 --- a/app-text/aspell/ChangeLog +++ b/app-text/aspell/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-text/aspell # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/aspell/ChangeLog,v 1.105 2009/03/03 06:00:26 darkside Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/aspell/ChangeLog,v 1.106 2009/03/03 09:04:23 pva Exp $ + +*aspell-0.60.6-r1 (03 Mar 2009) + + 03 Mar 2009; Peter Volkov <pva@gentoo.org> +aspell-0.60.6-r1.ebuild: + Fixed QA warning append-ldflags is used to pass libraries, bug #226873, + thank Diego E. 'Flameeyes' Pettenò for report. 03 Mar 2009; Jeremy Olexa <darkside@gentoo.org> aspell-0.60.6.ebuild: amd64 stable, bug 259542 diff --git a/app-text/aspell/Manifest b/app-text/aspell/Manifest index 4245b09981a3..cdf66b727593 100644 --- a/app-text/aspell/Manifest +++ b/app-text/aspell/Manifest @@ -8,6 +8,7 @@ DIST aspell-0.60.5.tar.gz 1754865 RMD160 1efc56988a01e60d1fcff0143e910f5cb6618a7 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-r1.ebuild 3403 RMD160 cfde1b31fb61cf286f2f6fa0a74671ba7717b1bb SHA1 289f9a40edfc524332ae6e02cf283d8918b554ff SHA256 5b8f868d04896e19c7632ccab38fc595389dc90be32c3bd54021c0b7bf4d4749 EBUILD aspell-0.60.6.ebuild 3134 RMD160 0a5e84e0e950d26bb64d27ec48768fb4eb2e78e7 SHA1 728165043e2876fc844f4925d3f964fd0ea722d4 SHA256 27b4f156b532d9fe119b92cdec4effb00d6879d6253b1cde487cae3b4407993a -MISC ChangeLog 16422 RMD160 cf0d4a510deda69bb572887870d5b09a48031018 SHA1 8c90230aef18ccb781844cd3db0365aa4e0b49bd SHA256 a29a28f48a7aa2b8aeb2b8a1fb0e5cd7d0711e59ba4f73281648b6e917b95200 +MISC ChangeLog 16646 RMD160 3ba091110f5423d73e7d120c0f6249e6a97a3a17 SHA1 f15620eab0521cdf85a9304d1df85dd7f29c16a2 SHA256 cb13cbfff4527eccd65450b448d4d31f97d66462384fb09a853f78ff1d0f601f MISC metadata.xml 162 RMD160 853d3c463af1132de9d434e4bdca16fd81a21eb0 SHA1 0d9e341c4b61e23adc1f3806989a0236b83257a0 SHA256 9629e7723cb4708c1910c25510cd14da2729d34eed4ebfc1563df4a1ed5e1b22 diff --git a/app-text/aspell/aspell-0.60.6-r1.ebuild b/app-text/aspell/aspell-0.60.6-r1.ebuild new file mode 100644 index 000000000000..265474dd712d --- /dev/null +++ b/app-text/aspell/aspell-0.60.6-r1.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2009 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-r1.ebuild,v 1.1 2009/03/03 09:04:23 pva 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="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} )" + IUSE="${IUSE} linguas_${l}" +done +PDEPEND="${PDEPEND} +${def}" + +RDEPEND=">=sys-libs/ncurses-5.2 + 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" + + rm m4/lt* m4/libtool.m4 + eautoreconf + elibtoolize --reverse-deps +} + +src_compile() { + filter-flags -fno-rtti + filter-flags -fvisibility=hidden #77109 + filter-flags -maltivec -mabi=altivec + use ppc && append-flags -mno-altivec + + # Was bug #46432. Ncurses changed linking with gpm, from NEWS: + # "20041009 change GPM initialization, using dl library to load it dynamically + # at runtime (Debian #110586)" + # and as a side effect it looks like we don't need add gpm library. (20090302) + #built_with_use sys-libs/ncurses gpm && mylibs="-lgpm" + LIBS="${mylibs}" econf \ + $(use_enable nls) \ + --disable-static \ + --sysconfdir=/etc/aspell \ + --enable-docdir=/usr/share/doc/${PF} + + 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-<LANG> 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 +} |