Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/hunspell: ChangeLog hunspell-1.2.4-r1.ebuild hunspell-1.2.4.ebuild hunspell-1.2.3.ebuild
Date: Sun, 22 Jun 2008 12:43:45
Message-Id: E1KAOux-0001nu-4M@stork.gentoo.org
1 pva 08/06/22 12:43:39
2
3 Modified: ChangeLog
4 Added: hunspell-1.2.4-r1.ebuild
5 Removed: hunspell-1.2.4.ebuild hunspell-1.2.3.ebuild
6 Log:
7 Fixed nls option handling, bug #228779, thank Arfrever Frehtes Taifersar Arahesis for report. Removed not to be stable ebuilds.
8 (Portage version: 2.1.4.4)
9
10 Revision Changes Path
11 1.41 app-text/hunspell/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/hunspell/ChangeLog?rev=1.41&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/hunspell/ChangeLog?rev=1.41&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/hunspell/ChangeLog?r1=1.40&r2=1.41
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-text/hunspell/ChangeLog,v
20 retrieving revision 1.40
21 retrieving revision 1.41
22 diff -u -r1.40 -r1.41
23 --- ChangeLog 19 Jun 2008 05:54:35 -0000 1.40
24 +++ ChangeLog 22 Jun 2008 12:43:38 -0000 1.41
25 @@ -1,6 +1,13 @@
26 # ChangeLog for app-text/hunspell
27 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-text/hunspell/ChangeLog,v 1.40 2008/06/19 05:54:35 pva Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-text/hunspell/ChangeLog,v 1.41 2008/06/22 12:43:38 pva Exp $
30 +
31 +*hunspell-1.2.4-r1 (22 Jun 2008)
32 +
33 + 22 Jun 2008; Peter Volkov <pva@g.o> -hunspell-1.2.3.ebuild,
34 + -hunspell-1.2.4.ebuild, +hunspell-1.2.4-r1.ebuild:
35 + Fixed nls option handling, bug #228779, thank Arfrever Frehtes Taifersar
36 + Arahesis for report. Removed not to be stable ebuilds.
37
38 *hunspell-1.2.4 (19 Jun 2008)
39
40
41
42
43 1.1 app-text/hunspell/hunspell-1.2.4-r1.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/hunspell/hunspell-1.2.4-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/hunspell/hunspell-1.2.4-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: hunspell-1.2.4-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2008 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-text/hunspell/hunspell-1.2.4-r1.ebuild,v 1.1 2008/06/22 12:43:38 pva Exp $
53
54 inherit eutils multilib autotools
55
56 MY_P=${PN}-${PV/_beta/b}
57
58 DESCRIPTION="Hunspell spell checker - an improved replacement for myspell in OOo."
59 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
60 HOMEPAGE="http://hunspell.sourceforge.net/"
61
62 SLOT="0"
63 LICENSE="MPL-1.1 GPL-2 LGPL-2.1"
64 IUSE="ncurses nls readline"
65 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
66
67 DEPEND="readline? ( sys-libs/readline )
68 ncurses? ( sys-libs/ncurses )
69 sys-devel/gettext"
70 RDEPEND="${DEPEND}"
71
72 S=${WORKDIR}/${MY_P}
73
74 src_unpack() {
75 unpack ${A}
76 cd "${S}"
77
78 # Upstream package creates some executables which names are too generic
79 # to be placed in /usr/bin - this patch prefixes them with 'hunspell-'.
80 # It modifies a Makefile.am file, hence eautoreconf.
81 epatch "${FILESDIR}"/${PN}-1.2.2-renameexes.patch
82
83 eautoreconf
84 }
85
86 src_compile() {
87 # I wanted to put the include files in /usr/include/hunspell
88 # but this means the openoffice build won't find them.
89 econf \
90 $(use_enable nls) \
91 $(use_with ncurses ui) \
92 $(use_with readline readline) \
93 || die "econf failed"
94
95 emake || die "emake failed"
96 }
97
98 src_install() {
99 emake DESTDIR="${D}" install || die "emake install failed"
100 dodoc AUTHORS ChangeLog NEWS README THANKS TODO license.hunspell || die "installing docs failed"
101 # hunspell is derived from myspell
102 dodoc AUTHORS.myspell README.myspell license.myspell || die "installing myspell docs failed"
103 }
104
105 pkg_postinst() {
106 elog "To use this package you will also need a dictionary."
107 elog "Hunspell uses myspell format dictionaries; find them"
108 elog "in the app-dicts category as myspell-<LANG>."
109 }
110
111
112
113 --
114 gentoo-commits@l.g.o mailing list