diff options
author | Peter Volkov <pva@gentoo.org> | 2010-10-27 08:22:16 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2010-10-27 08:22:16 +0000 |
commit | 3915baea0ce5824afa2d5b375c4795b8e5c433a0 (patch) | |
tree | 64292d15432ea4bcd68fc8800f82c9b4ad862a07 /app-text | |
parent | Bump live build. (diff) | |
download | historical-3915baea0ce5824afa2d5b375c4795b8e5c433a0.tar.gz historical-3915baea0ce5824afa2d5b375c4795b8e5c433a0.tar.bz2 historical-3915baea0ce5824afa2d5b375c4795b8e5c433a0.zip |
Create libhunspell.so symlink, bug #342449, thank Laslo Forro for report.
Package-Manager: portage-2.1.9.22/cvs/Linux x86_64
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/hunspell/ChangeLog | 7 | ||||
-rw-r--r-- | app-text/hunspell/Manifest | 3 | ||||
-rw-r--r-- | app-text/hunspell/hunspell-1.2.12-r1.ebuild | 78 |
3 files changed, 86 insertions, 2 deletions
diff --git a/app-text/hunspell/ChangeLog b/app-text/hunspell/ChangeLog index 13344151e832..bb24f9b091a8 100644 --- a/app-text/hunspell/ChangeLog +++ b/app-text/hunspell/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-text/hunspell # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/hunspell/ChangeLog,v 1.78 2010/10/19 02:28:38 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/hunspell/ChangeLog,v 1.79 2010/10/27 08:22:16 pva Exp $ + +*hunspell-1.2.12-r1 (27 Oct 2010) + + 27 Oct 2010; Peter Volkov <pva@gentoo.org> +hunspell-1.2.12-r1.ebuild: + Create libhunspell.so symlink, bug #342449, thank Laslo Forro for report. 19 Oct 2010; Jeroen Roovers <jer@gentoo.org> hunspell-1.2.11.ebuild: Stable for HPPA (bug #338341). diff --git a/app-text/hunspell/Manifest b/app-text/hunspell/Manifest index c24325bba002..34db65345555 100644 --- a/app-text/hunspell/Manifest +++ b/app-text/hunspell/Manifest @@ -5,7 +5,8 @@ DIST hunspell-1.2.11.tar.gz 926658 RMD160 fa67a24131a8ba4d9cdfd5b4ecfb9c728f83fe DIST hunspell-1.2.12.tar.gz 969894 RMD160 43bdf7c06d06e8f983b7cce88e71df833c22cd13 SHA1 0a2ab4b1e15c3dad3f05f474d1ae15ee361c35f8 SHA256 5f592a7112df2114cec772574f2837cb9de499e6bf9d35df327a42ab3e820e69 DIST hunspell-1.2.9.tar.gz 802731 RMD160 62522337eea3dd325615a618005a108bb9d2639b SHA1 1e709814eb1fb29377953b3deef32d6c644bb33a SHA256 1569209541fa1c80db50af68cf96b996b7a9066f772bab52293438068b55fa28 EBUILD hunspell-1.2.11.ebuild 2615 RMD160 db58f9e732df1df087612decc3fecddcd6094258 SHA1 3399beee3a23e9b0ba2ee3bd59822529188d53c4 SHA256 87dc6f27ae0cec69e7d5010d412d96bd9ecd5c79f9a762d471cdeebf49d8f57b +EBUILD hunspell-1.2.12-r1.ebuild 2688 RMD160 779dbc76091ba7f169fab34aa9fe9867a0b95030 SHA1 994c9c751d03e80847f719cee6b83c262e39bb7b SHA256 56a31857aeeee34cbdc0c2302e755e19444c86b16f070b465fc88f0b6c8dc7fd EBUILD hunspell-1.2.12.ebuild 2621 RMD160 db695fe7f18ce4e17f3c4c6216eea3d0b127b37a SHA1 b82ea264580cd2f8f4fd33f724d413ce678d3561 SHA256 a80195f6d464a0efd916bb2abac61c5d51ebfcff2731fc85e2bab0ed5606b86d EBUILD hunspell-1.2.9.ebuild 2607 RMD160 a953707108b91b7fdddcde388ffc02b5e73841b3 SHA1 925658d1efca17e1e6919d21288243f280641af2 SHA256 ea2bcb382438fab671fb15761f923eb2dc914d211a045b23d1ffdf57d607f409 -MISC ChangeLog 11231 RMD160 2652e7b1623d1b068f0b6bdd8ea1c619f729b1e9 SHA1 5de7c3278f583e8042ed1fea4b70dabd1cea3aba SHA256 9b0ae99a29d42c0b8f9303d505ec2b64c0335f2719e19b03ed7b2c74a01e532a +MISC ChangeLog 11416 RMD160 2ed53be3dd8453f823713bf7b1067871cde04967 SHA1 0cd8b98242a9765065060c1c9b754345a523b78b SHA256 5f228d721ec26ad63b9a31f56c793fd92462958a3a95f3a0d9d440ceffa46879 MISC metadata.xml 163 RMD160 444608d5dce1eb9307c253140c5f6b011fcbece8 SHA1 87029f6d4a8e381a59cad5f8553f0e5163b11a7e SHA256 2a83bf864655c5acb5d551aeb9b060d57545fb7cf1dd9d7fcdc16fbca221cabb diff --git a/app-text/hunspell/hunspell-1.2.12-r1.ebuild b/app-text/hunspell/hunspell-1.2.12-r1.ebuild new file mode 100644 index 000000000000..dac7c71f7d43 --- /dev/null +++ b/app-text/hunspell/hunspell-1.2.12-r1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/hunspell/hunspell-1.2.12-r1.ebuild,v 1.1 2010/10/27 08:22:16 pva Exp $ + +EAPI="2" +inherit eutils multilib autotools flag-o-matic + +MY_P=${PN}-${PV/_beta/b} + +DESCRIPTION="Hunspell spell checker - an improved replacement for myspell in OOo." +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" +HOMEPAGE="http://hunspell.sourceforge.net/" + +SLOT="0" +LICENSE="MPL-1.1 GPL-2 LGPL-2.1" +IUSE="ncurses nls readline" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" + +DEPEND="readline? ( sys-libs/readline ) + ncurses? ( sys-libs/ncurses ) + sys-devel/gettext" +RDEPEND="${DEPEND}" + +#TODO: "ia" "mi" - check what they are and add appropriate desc... +def="app-dicts/myspell-en" +for l in \ +"af" "bg" "ca" "cs" "cy" "da" "de" "el" "en" "eo" "es" "et" "fo" "fr" "ga" \ +"gl" "he" "hr" "hu" "id" "it" "ku" "lt" "lv" "mk" "ms" "nb" "nl" \ +"nn" "pl" "pt" "ro" "ru" "sk" "sl" "sv" "sw" "tn" "uk" "zu" \ +; do + dep="linguas_${l}? ( app-dicts/myspell-${l/pt_BR/pt-br} )" + [[ ${l} = "de" ]] && + dep="linguas_de? ( || ( app-dicts/myspell-de app-dicts/myspell-de-alt ) )" + [[ -z ${PDEPEND} ]] && + PDEPEND="${dep}" || + PDEPEND="${PDEPEND} +${dep}" + def="!linguas_${l}? ( ${def} )" + IUSE="${IUSE} linguas_${l}" +done +PDEPEND="${PDEPEND} +${def}" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + # Upstream package creates some executables which names are too generic + # to be placed in /usr/bin - this patch prefixes them with 'hunspell-'. + # It modifies a Makefile.am file, hence eautoreconf. + epatch "${FILESDIR}"/${PN}-1.2.12-renameexes.patch + eautoreconf +} + +src_configure() { + # missing somehow, and I am too lazy to fix it properly + [[ ${CHOST} == *-darwin* ]] && append-libs -liconv + + # I wanted to put the include files in /usr/include/hunspell + # but this means the openoffice build won't find them. + econf \ + $(use_enable nls) \ + $(use_with ncurses ui) \ + $(use_with readline readline) +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dosym /usr/$(get_libdir)/libhunspell{-1.2.so.0.0.0,.so} || die + dodoc AUTHORS ChangeLog NEWS README THANKS TODO license.hunspell || die "installing docs failed" + # hunspell is derived from myspell + dodoc AUTHORS.myspell README.myspell license.myspell || die "installing myspell docs failed" +} + +pkg_postinst() { + elog "To use this package you will also need a dictionary." + elog "Hunspell uses myspell format dictionaries; find them" + elog "in the app-dicts category as myspell-<LANG>." +} |