summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kahle <tomka@gentoo.org>2011-09-17 20:27:45 +0000
committerThomas Kahle <tomka@gentoo.org>2011-09-17 20:27:45 +0000
commit9195d37b73ce1480878f65ce52743d455f9c9466 (patch)
tree24cd8369c0fafedc6d1b06ab552ebf1f94d2d45a /app-text/hunspell
parentinitial ebuild, pmasked for livetime (diff)
downloadhistorical-9195d37b73ce1480878f65ce52743d455f9c9466.tar.gz
historical-9195d37b73ce1480878f65ce52743d455f9c9466.tar.bz2
historical-9195d37b73ce1480878f65ce52743d455f9c9466.zip
Resurrect latest stable version for amd64/x86
Package-Manager: portage-2.1.10.18/cvs/Linux i686 RepoMan-Options: --force
Diffstat (limited to 'app-text/hunspell')
-rw-r--r--app-text/hunspell/ChangeLog5
-rw-r--r--app-text/hunspell/Manifest23
-rw-r--r--app-text/hunspell/hunspell-1.3.2-r1.ebuild95
3 files changed, 106 insertions, 17 deletions
diff --git a/app-text/hunspell/ChangeLog b/app-text/hunspell/ChangeLog
index 2dfbafa2df5c..2d263ae60dda 100644
--- a/app-text/hunspell/ChangeLog
+++ b/app-text/hunspell/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-text/hunspell
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/hunspell/ChangeLog,v 1.91 2011/09/17 04:08:53 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/hunspell/ChangeLog,v 1.92 2011/09/17 20:27:45 tomka Exp $
+
+ 17 Sep 2011; Thomas Kahle <tomka@gentoo.org> +hunspell-1.3.2-r1.ebuild:
+ Resurrect latest stable version for amd64/x86
*hunspell-1.3.2-r3 (17 Sep 2011)
diff --git a/app-text/hunspell/Manifest b/app-text/hunspell/Manifest
index 75870cb85995..5baf63bfb069 100644
--- a/app-text/hunspell/Manifest
+++ b/app-text/hunspell/Manifest
@@ -1,5 +1,5 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
AUX hunspell-1.2.11-renameexes.patch 4285 RMD160 9657ab71c70e5e4da6807bc80618f03dd05df840 SHA1 2bc5bbb8b7ee65c19caf0c49a13bc88d994e4437 SHA256 d3458b14625194605b101e645b52f02c04b98851b0987d8554391506c9a917a9
AUX hunspell-1.2.12-renameexes.patch 4448 RMD160 cb46c1aa32c8b082e6dab592a2f536c9b5c99428 SHA1 f488a451f4dc6fec8a8119ff0c1f9bd460cfb62e SHA256 af667dc36f89437556b128f962f0373151f0132b871caebb50c083cac56afdab
@@ -11,24 +11,15 @@ DIST hunspell-1.2.12.tar.gz 969894 RMD160 43bdf7c06d06e8f983b7cce88e71df833c22cd
DIST hunspell-1.3.2.tar.gz 975917 RMD160 f193de180f9ac29cfb54824a45366ba57b27e5c4 SHA1 902c76d2b55a22610e2227abc4fd26cbe606a51c SHA256 b4edd4a4ee944cb9f485b35473e46b729ed768e9d24da8e78e4c4c6ca56addbd
EBUILD hunspell-1.2.11.ebuild 2615 RMD160 28bdaebc816b9f9ac3be681c3da9873a958b34d6 SHA1 9deba2b51321a1f7004a2c1d293183fc3c4bcdc7 SHA256 088eac8cf44db3bfb276cc49a01f1575f190d68907ea4e46e15ee23152170a02
EBUILD hunspell-1.2.12-r1.ebuild 2703 RMD160 7db6db5440c1b8b963f1e3b0ec8bc789d7cbec00 SHA1 58c122d5033a377611153847a0c9766e4e54a303 SHA256 e0d971af58b91413674d267543112143e24c3614fa11b443c09f646f4aa69cd7
+EBUILD hunspell-1.3.2-r1.ebuild 2786 RMD160 0af4e53ccdfefa3fc0f74bb6fb6a49b15301ca61 SHA1 02c0d974489a432cb14293c710e903cba6eb3345 SHA256 9d4feec4c37c31da438481fa6abf8d5c5ade175c3883fc8e0cf2d312ea8d3776
EBUILD hunspell-1.3.2-r2.ebuild 2700 RMD160 9c5dac2b6e8c87ec714f86911a04b2d594d71190 SHA1 35ec80ce68dbe2ef94ff7c143f11b02b93445a33 SHA256 58da476e7e9e3e7889553ab89fa82f890ee5636dd75635976437d9e88321a6a3
EBUILD hunspell-1.3.2-r3.ebuild 2700 RMD160 2517a75b4ffd82d4865a02a4a50c3d40042573ab SHA1 17243463459affe9288682ac2d42bd4b4f5d19d2 SHA256 bcc60e76ab323c1e1c51c04326f4b2c70a925b14b1c387453fae072211f225cc
-MISC ChangeLog 13423 RMD160 71a7de7f64504ecec570b283d9d64a42a15a5d6a SHA1 1dc2718a1c6286f69de9755b403887622ea8d6c6 SHA256 e77645508e08db9fd4dfc794c68a6bda22fa06ace0ac12384e3e68a3c2c41d8d
+MISC ChangeLog 13542 RMD160 9adc6532ead12ff1f67beb7911c8949f8e838cf1 SHA1 210253aa16f2c0e64b8f36c89c0e1611f24c9cae SHA256 c9575f2b5615f860d89cdeeaed4f3d1237a3e2d2382af996c67c824cc3ff507a
MISC metadata.xml 163 RMD160 444608d5dce1eb9307c253140c5f6b011fcbece8 SHA1 87029f6d4a8e381a59cad5f8553f0e5163b11a7e SHA256 2a83bf864655c5acb5d551aeb9b060d57545fb7cf1dd9d7fcdc16fbca221cabb
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
-iQIcBAEBAgAGBQJOdB1sAAoJEOSiRoyO7jvo6vcP+wXLFMgdnORCiJvKMzRQpZTi
-Tnx35DaKVcloTUp+MkgwcWWnbbe3ZlUMt71x0Gkttc1kZ5T0ItUWpZIT/cU5R0qk
-gd+49h2GzUbmHyzWumyFvqK7+W8w1bihcTx2bM6PnBlQLfvr27s19Zn5yoKA2RvD
-qOQ3hBwEKp82g0ScRJh+fPSGHbdBaOyeEnLpGWyVOfJ78JnVMy6v4ev4Xt/cJWXT
-j2efRgvONNKEOImMRbAGGo3UZk0M9qWlJL22h4hKL0FPfqckHk5OyZva72zYSYvl
-YKmzLR6ApZJ0SuvotbUDtA+wKc0zMgev96ovCtJLAHx9PHAtYeIn2NTzwuXmZaZs
-Qve4BAEb6z0SLf/rL5xtBB99ZGOQZ8UeByf5Ono7TAE3ZsV+MVQIYlSyqg++Sd2M
-0Vnw8+ZUft0NR4gvTYX3bliQdcUdY8ud1QeA4RFJkqTa9PexRIsBiXrBbjzKZzIc
-Jn5gpKje9DyIo6fPW/qFPisSvYUHE9Bgixx6vTcIJJrYCYUrJqmFEQhT0RghRCo7
-q1wG4Tvjb5iZwMqWbeVBYUFBlGYhrlzBTAKTZtjF9BMzHqee6s9+VPHcqseREu2l
-WXxbxBdW5ZVu6WKIgcZWmDrZLz4YCpDvn7xZqsqmBF5k8ZR72ubbBryIZs/hzzeo
-JJ9TrtgtIpfdGYVvCsjJ
-=JQ2J
+iF4EAREIAAYFAk51AtAACgkQodBTJSDyo65n1AD9G6uPSK2H2g6vbwYk8tSxd7Ct
+HNiB//qF9Ruce8rHyh0A/1RIcbkUJu0Q2jyIFpOeJ3rWtDi2QU8elEYMItMSoLor
+=laff
-----END PGP SIGNATURE-----
diff --git a/app-text/hunspell/hunspell-1.3.2-r1.ebuild b/app-text/hunspell/hunspell-1.3.2-r1.ebuild
new file mode 100644
index 000000000000..7a31c70fb637
--- /dev/null
+++ b/app-text/hunspell/hunspell-1.3.2-r1.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/hunspell/hunspell-1.3.2-r1.ebuild,v 1.7 2011/09/17 20:27:45 tomka Exp $
+
+EAPI=4
+inherit eutils multilib autotools flag-o-matic versionator
+
+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 static-libs"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+
+DEPEND="
+ sys-devel/gettext
+ ncurses? ( sys-libs/ncurses )
+ readline? ( sys-libs/readline )
+"
+RDEPEND="${DEPEND}"
+
+# TODO: Add proper desc for mi
+LANGS="af bg ca cs cy da de el en eo es et fo fr ga gl he hr hu ia id it ku lt
+lv mk ms nb nl nn pl pt ro ru sk sl sv sw tn uk zu"
+
+DICT_DEP="app-dicts/myspell-en"
+for lang in ${LANGS}; do
+ if [[ ${lang} == de ]] ; then
+ DICT_DEP+=" linguas_de? (
+ || (
+ app-dicts/myspell-de
+ app-dicts/myspell-de-alt
+ )
+ )"
+ else
+ DICT_DEP+=" linguas_${lang}? ( app-dicts/myspell-${lang/pt_BR/pt-br} )"
+ fi
+ IUSE+=" linguas_${lang}"
+done
+PDEPEND="${DICT_DEP}"
+
+unset lang LANGS DICT_DEP
+
+S=${WORKDIR}/${MY_P}
+
+DOCS=(
+ AUTHORS ChangeLog NEWS README THANKS TODO license.hunspell
+ AUTHORS.myspell README.myspell license.myspell
+)
+
+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.3-renameexes.patch
+ eautoreconf
+}
+
+src_configure() {
+ # missing somehow, and I am too lazy to fix it properly
+ [[ ${CHOST} == *-darwin* ]] && append-libs -liconv
+
+ # FIXME: installs static library and buildsystem needs to be patched
+ # to use proper libtool approach converting it onto shared one.
+
+ # I wanted to put the include files in /usr/include/hunspell.
+ # You can do that, libreoffice can find them anywhere, just
+ # ping me when you do so ; -- scarabeus
+ econf \
+ $(use_enable nls) \
+ $(use_with ncurses ui) \
+ $(use_with readline readline) \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+
+ find "${ED}" -name '*.la' -exec rm -f {} +
+
+ #342449
+ pushd "${ED}"/usr/$(get_libdir)/ >/dev/null
+ ln -s lib${PN}{-$(get_major_version).$(get_version_component_range 2).so.0.0.0,.so}
+ popd >/dev/null
+}
+
+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>."
+}