diff options
author | Serkan Kaba <serkan@gentoo.org> | 2010-03-09 17:40:34 +0000 |
---|---|---|
committer | Serkan Kaba <serkan@gentoo.org> | 2010-03-09 17:40:34 +0000 |
commit | 8cfaf0812f59e161b6e28370c7971530b6a75a93 (patch) | |
tree | 70b79d8ee11578c4f90e10e31e9dfb901961ca2c /app-text/enchant | |
parent | Version bump (bug #308493). (diff) | |
download | historical-8cfaf0812f59e161b6e28370c7971530b6a75a93.tar.gz historical-8cfaf0812f59e161b6e28370c7971530b6a75a93.tar.bz2 historical-8cfaf0812f59e161b6e28370c7971530b6a75a93.zip |
Version bump. Fix upstream bug #12305.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'app-text/enchant')
-rw-r--r-- | app-text/enchant/ChangeLog | 10 | ||||
-rw-r--r-- | app-text/enchant/Manifest | 15 | ||||
-rw-r--r-- | app-text/enchant/enchant-1.5.0.ebuild | 66 | ||||
-rw-r--r-- | app-text/enchant/files/enchant-1.5.0-zemberek.patch | 16 |
4 files changed, 104 insertions, 3 deletions
diff --git a/app-text/enchant/ChangeLog b/app-text/enchant/ChangeLog index b3ddf417f78f..7b319b783240 100644 --- a/app-text/enchant/ChangeLog +++ b/app-text/enchant/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-text/enchant -# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/enchant/ChangeLog,v 1.96 2009/04/12 21:04:12 bluebird Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/enchant/ChangeLog,v 1.97 2010/03/09 17:40:33 serkan Exp $ + +*enchant-1.5.0 (09 Mar 2010) + + 09 Mar 2010; Serkan Kaba <serkan@gentoo.org> +enchant-1.5.0.ebuild, + +files/enchant-1.5.0-zemberek.patch: + Version bump. Fix upstream bug #12305. 12 Apr 2009; Friedrich Oslage <bluebird@gentoo.org> enchant-1.4.2.ebuild: Stable on sparc, bug #260063 diff --git a/app-text/enchant/Manifest b/app-text/enchant/Manifest index 18e0b861e5e6..7de4054fd648 100644 --- a/app-text/enchant/Manifest +++ b/app-text/enchant/Manifest @@ -1,8 +1,21 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX enchant-1.5.0-zemberek.patch 782 RMD160 97be968f68f6ea2f297c41ad264ba872328c55c3 SHA1 a612e6c3c96a823d2baeb4f077cb58b9c5ac4fdf SHA256 ca1c52695b5ed3531d4fc998e30099bddc8a8bedd65e74d21d0633dbdf474da1 DIST enchant-1.2.5.tar.gz 532332 RMD160 9f9e795e4f7617e8fd0ae8d80bfac74283fe20cc SHA1 de55f94662f2cdeb1c4303af3a3d0d024d1e80b8 SHA256 15348bf21125536b3bce1e477e50310e4b192c43c35476e949f41280bc7123d8 DIST enchant-1.3.0.tar.gz 539040 RMD160 c2025152d0e6ff4441abeb9606e01cfe99e84bad SHA1 140ffd2798d94e5f77cc28a37086c75b830f07d8 SHA256 e65015aa0e6ada88a001b07b092265f4cbaf377d99b4233972995cdb94e698ef DIST enchant-1.4.2.tar.gz 595192 RMD160 d3dab04a9c4182ae316ce5156dca43e48eda85e6 SHA1 75cb0ab7b4e9d43c12bfe6daabf99fde6f06ad4b SHA256 95c8dd998c8fb436329d204e0edde4400b889e4e26d3f8cb888c408c9a9acc6a +DIST enchant-1.5.0.tar.gz 593039 RMD160 7eb98a0ca56b1a35e32ff58f794eff05f7147b85 SHA1 44e10feb9942324f603d84211599f4f5303d8c0e SHA256 d4285aec9a57ee9c2b6ab1ddb76a67f717183e27e3ebc6c54838a34760e9e7bb EBUILD enchant-1.2.5.ebuild 1047 RMD160 f640279b375ea0eed9ac0b0de9cf858b10b0e871 SHA1 1390ccc5bb58b5f3b89b857e24df4cb62875d326 SHA256 548e8c2a7ac86d524bc87482c11216121265d11887eb1a022e730dc4065a66e4 EBUILD enchant-1.3.0.ebuild 1110 RMD160 b3150dbe72b162c79195e27dd3312b623bc4960e SHA1 83577639de55db09efa4928a2013b21d07c81966 SHA256 938c079aae4a0d7fcbe5ddb380425b7746fd4a46b96b4ee368000e715d5a9de3 EBUILD enchant-1.4.2.ebuild 1961 RMD160 5d377a54515479ae2f226d4eb3f133816999d067 SHA1 c4f66cc632b8117031c8a93242ed57e5a856d25b SHA256 ffd9bfd15e665cc393d92dea76a3773e3a092795c1eb104a595c94ae36a38f15 -MISC ChangeLog 10815 RMD160 abbcdca95c06aeca28d62eece9b05a20fab1fe8e SHA1 1d9a449a6e7a0a432e1b5d90a08440858fdb0c31 SHA256 18361b64a924e00219ed615ca15ecdb6a095512aa2e58646b27cc68dd949f3c5 +EBUILD enchant-1.5.0.ebuild 2093 RMD160 fcaa44f5cedc809a88a276adfb0e0791af1d213e SHA1 482357b42d80c7f699a1291e0f7bd60dc66678cb SHA256 0f72a0cf8a5b773be0dcbd2eedb92ef3b4076a512d6e7925ec09d07e83b50547 +MISC ChangeLog 10994 RMD160 50d48ed905583d102ea9df187c4df931ba6384af SHA1 595a7367f714a44edb38365376baab716bd7dd75 SHA256 2bab3e812d629e88cdf87c91b75c4ab35777b20bd140a80f7ad0dbbbeb51161c MISC metadata.xml 622 RMD160 9d79a09a3f377bd433f05b88fe4d6c0543796026 SHA1 9adcb0a6d32c4dbab20bd9565b6ed8a801b0a021 SHA256 cd66e8b18f230a42b2f33706115eed1c75119bb367a9268e6143260302a44282 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.14 (GNU/Linux) + +iEYEARECAAYFAkuWiBwACgkQRh6X64ivZaJm4ACghI24atEB7oXO5NKm3lTPc/lk +oY8AnAj07Yi62hXbv6umKCWOp1UO6DSy +=hKmE +-----END PGP SIGNATURE----- diff --git a/app-text/enchant/enchant-1.5.0.ebuild b/app-text/enchant/enchant-1.5.0.ebuild new file mode 100644 index 000000000000..9ac27a659bee --- /dev/null +++ b/app-text/enchant/enchant-1.5.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/enchant/enchant-1.5.0.ebuild,v 1.1 2010/03/09 17:40:33 serkan Exp $ + +EAPI="1" +inherit libtool confutils autotools + +DESCRIPTION="Spellchecker wrapping library" +HOMEPAGE="http://www.abisource.com/enchant/" +SRC_URI="http://www.abisource.com/downloads/${PN}/${PV}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="aspell +hunspell zemberek" + +COMMON_DEPENDS=">=dev-libs/glib-2 + aspell? ( virtual/aspell-dict ) + hunspell? ( >=app-text/hunspell-1.2.1 ) + zemberek? ( dev-libs/dbus-glib )" + +RDEPEND="${COMMON_DEPENDS} + zemberek? ( app-text/zemberek-server )" + +# libtool is needed for the install-sh to work +DEPEND="${COMMON_DEPENDS} + dev-util/pkgconfig" + +pkg_setup() { + confutils_require_any aspell hunspell zemberek +} + +src_unpack() { + unpack ${A} + cd "${S}" + # Fix for upstream bug #12305 + # http://bugzilla.abisource.com/show_bug.cgi?id=12305 + epatch "${FILESDIR}"/${P}-zemberek.patch + sed -i -e 's:noinst_PROGRAMS:check_PROGRAMS:' tests/Makefile.am \ + || die "unable to remove testdefault build" + eautoreconf +} + +src_compile() { + econf $(use_enable aspell) \ + $(use_enable hunspell myspell) \ + $(use_enable zemberek) \ + --disable-ispell \ + --with-myspell-dir=/usr/share/myspell/ + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS BUGS ChangeLog HACKING MAINTAINERS NEWS README TODO +} + +pkg_postinst() { + ewarn "Starting with ${PN}-1.4.0 default spell checking engine has changed" + ewarn "from aspell to hunspell. In case you used aspell dictionaries to" + ewarn "check spelling you need either reemerge ${PN} with aspell USE flag" + ewarn "or you need to emerge myspell-<lang> dictionaries." + ewarn "aspell is faster but has less features then hunspell and most" + ewarn "distributions by default use hunspell only. Nevertheless in Gentoo" + ewarn "it's still your choice which library to use..." +} diff --git a/app-text/enchant/files/enchant-1.5.0-zemberek.patch b/app-text/enchant/files/enchant-1.5.0-zemberek.patch new file mode 100644 index 000000000000..3a8da00cb273 --- /dev/null +++ b/app-text/enchant/files/enchant-1.5.0-zemberek.patch @@ -0,0 +1,16 @@ +--- enchant/trunk/src/zemberek/zemberek.cpp 2009/01/25 14:30:57 25545 ++++ enchant/trunk/src/zemberek/zemberek.cpp 2009/10/26 14:11:04 28392 +@@ -43,10 +43,11 @@ + g_error_free (Error); + return false; + } +- proxy = dbus_g_proxy_new_for_name (connection, ++ proxy = dbus_g_proxy_new_for_name_owner (connection, + "net.zemberekserver.server.dbus", + "/net/zemberekserver/server/dbus/ZemberekDbus", +- "net.zemberekserver.server.dbus.ZemberekDbusInterface"); ++ "net.zemberekserver.server.dbus.ZemberekDbusInterface", ++ &Error); + + dbus_g_connection_unref (connection); + if (proxy == NULL) { |