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/aspell: ChangeLog aspell-0.60.6-r1.ebuild
Date: Tue, 03 Mar 2009 09:04:26
Message-Id: E1LeQY3-0005Y1-Sp@stork.gentoo.org
1 pva 09/03/03 09:04:23
2
3 Modified: ChangeLog
4 Added: aspell-0.60.6-r1.ebuild
5 Log:
6 Fixed QA warning append-ldflags
7 (Portage version: 2.2_rc23/cvs/Linux i686)
8
9 Revision Changes Path
10 1.106 app-text/aspell/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/aspell/ChangeLog?rev=1.106&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/aspell/ChangeLog?rev=1.106&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/aspell/ChangeLog?r1=1.105&r2=1.106
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-text/aspell/ChangeLog,v
19 retrieving revision 1.105
20 retrieving revision 1.106
21 diff -u -r1.105 -r1.106
22 --- ChangeLog 3 Mar 2009 06:00:26 -0000 1.105
23 +++ ChangeLog 3 Mar 2009 09:04:23 -0000 1.106
24 @@ -1,6 +1,12 @@
25 # ChangeLog for app-text/aspell
26 # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-text/aspell/ChangeLog,v 1.105 2009/03/03 06:00:26 darkside Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-text/aspell/ChangeLog,v 1.106 2009/03/03 09:04:23 pva Exp $
29 +
30 +*aspell-0.60.6-r1 (03 Mar 2009)
31 +
32 + 03 Mar 2009; Peter Volkov <pva@g.o> +aspell-0.60.6-r1.ebuild:
33 + Fixed QA warning append-ldflags is used to pass libraries, bug #226873,
34 + thank Diego E. 'Flameeyes' Pettenò for report.
35
36 03 Mar 2009; Jeremy Olexa <darkside@g.o> aspell-0.60.6.ebuild:
37 amd64 stable, bug 259542
38
39
40
41 1.1 app-text/aspell/aspell-0.60.6-r1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/aspell/aspell-0.60.6-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/aspell/aspell-0.60.6-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: aspell-0.60.6-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $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 $
51
52 # N.B. This is before inherit of autotools, as autotools.eclass adds the
53 # relevant dependencies to DEPEND.
54 WANT_AUTOMAKE="1.10"
55
56 inherit libtool eutils flag-o-matic autotools
57
58 DESCRIPTION="A spell checker replacement for ispell"
59 HOMEPAGE="http://aspell.net/"
60 SRC_URI="mirror://gnu/aspell/${P}.tar.gz"
61
62 LICENSE="LGPL-2"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
65 IUSE="nls examples"
66 # Note; app-text/aspell-0.6 and app-dicts/aspell-en-0.6 must go stable together
67
68 # Build PDEPEND from list of language codes provided in the tree.
69 # The PDEPEND string is static - this code just makes it easier to maintain.
70 def="app-dicts/aspell-en"
71 for l in \
72 "af" "be" "bg" "br" "ca" "cs" "cy" "da" "de" "el" \
73 "en" "eo" "es" "et" "fi" "fo" "fr" "ga" "gl" "he" \
74 "hr" "is" "it" "nl" "no" "pl" "pt" "ro" \
75 "ru" "sk" "sl" "sr" "sv" "uk" "vi"; do
76 dep="linguas_${l}? ( app-dicts/aspell-${l} )"
77 [[ -z ${PDEPEND} ]] &&
78 PDEPEND="${dep}" ||
79 PDEPEND="${PDEPEND}
80 ${dep}"
81 def="!linguas_${l}? ( ${def} )"
82 IUSE="${IUSE} linguas_${l}"
83 done
84 PDEPEND="${PDEPEND}
85 ${def}"
86
87 RDEPEND=">=sys-libs/ncurses-5.2
88 nls? ( virtual/libintl )
89 !=app-dicts/aspell-en-0.5*"
90 # English dictionary 0.5 is incompatible with aspell-0.6
91
92 DEPEND="${RDEPEND}
93 nls? ( sys-devel/gettext )"
94
95 src_unpack() {
96 unpack ${A}
97 cd "${S}"
98 epatch "${FILESDIR}/aspell-0.60.3-templateinstantiations.patch"
99 epatch "${FILESDIR}/${PN}-0.60.5-nls.patch"
100
101 rm m4/lt* m4/libtool.m4
102 eautoreconf
103 elibtoolize --reverse-deps
104 }
105
106 src_compile() {
107 filter-flags -fno-rtti
108 filter-flags -fvisibility=hidden #77109
109 filter-flags -maltivec -mabi=altivec
110 use ppc && append-flags -mno-altivec
111
112 # Was bug #46432. Ncurses changed linking with gpm, from NEWS:
113 # "20041009 change GPM initialization, using dl library to load it dynamically
114 # at runtime (Debian #110586)"
115 # and as a side effect it looks like we don't need add gpm library. (20090302)
116 #built_with_use sys-libs/ncurses gpm && mylibs="-lgpm"
117 LIBS="${mylibs}" econf \
118 $(use_enable nls) \
119 --disable-static \
120 --sysconfdir=/etc/aspell \
121 --enable-docdir=/usr/share/doc/${PF}
122
123 emake || die "compilation failed"
124 }
125
126 src_install() {
127 dodoc README* TODO || die "installing docs failed"
128
129 emake DESTDIR="${D}" install || die "installation failed"
130 mv "${D}"/usr/share/doc/${PF}/man-html "${D}"/usr/share/doc/${PF}/html
131 mv "${D}"/usr/share/doc/${PF}/man-text "${D}"/usr/share/doc/${PF}/text
132
133 # install ispell/aspell compatibility scripts
134 exeinto /usr/bin
135 newexe scripts/ispell ispell-aspell
136 newexe scripts/spell spell-aspell
137
138 if use examples ; then
139 cd examples
140 make clean || die
141 docinto examples
142 dodoc "${S}"/examples/* || die "installing examples failed"
143 fi
144 }
145
146 pkg_postinst() {
147 elog "You will need to install a dictionary now. Please choose an"
148 elog "aspell-<LANG> dictionary from the app-dicts category"
149 elog "After installing an aspell dictionary for your language(s),"
150 elog "You may use the aspell-import utility to import your personal"
151 elog "dictionaries from ispell, pspell and the older aspell"
152
153 ewarn ""
154 ewarn "Please re-install ALL your aspell-LANG dictionaries"
155 ewarn ""
156 ebeep 5
157 }