Gentoo Archives: gentoo-commits

From: "Matsuu Takuto (matsuu)" <matsuu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-i18n/xcin: ChangeLog xcin-2.5.3_pre3-r3.ebuild
Date: Sun, 20 Nov 2011 23:40:40
Message-Id: 20111120234031.532CF2004B@flycatcher.gentoo.org
1 matsuu 11/11/20 23:40:31
2
3 Modified: ChangeLog
4 Added: xcin-2.5.3_pre3-r3.ebuild
5 Log:
6 Fixed dodoc issue, bug #374811. Respect LDFLAGS, bug #334849. Clean up.
7
8 (Portage version: 2.1.10.29/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.21 app-i18n/xcin/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/xcin/ChangeLog?rev=1.21&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/xcin/ChangeLog?rev=1.21&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/xcin/ChangeLog?r1=1.20&r2=1.21
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-i18n/xcin/ChangeLog,v
20 retrieving revision 1.20
21 retrieving revision 1.21
22 diff -u -r1.20 -r1.21
23 --- ChangeLog 29 Dec 2009 16:10:05 -0000 1.20
24 +++ ChangeLog 20 Nov 2011 23:40:31 -0000 1.21
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-i18n/xcin
27 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/xcin/ChangeLog,v 1.20 2009/12/29 16:10:05 ssuominen Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/xcin/ChangeLog,v 1.21 2011/11/20 23:40:31 matsuu Exp $
31 +
32 +*xcin-2.5.3_pre3-r3 (20 Nov 2011)
33 +
34 + 20 Nov 2011; MATSUU Takuto <matsuu@g.o> +xcin-2.5.3_pre3-r3.ebuild,
35 + +files/xcin-2.5.3_pre3-ldflags.patch, +files/xcin-2.5.3_pre3-make.patch:
36 + Fixed dodoc issue, bug #374811. Respect LDFLAGS, bug #334849. Clean up.
37
38 29 Dec 2009; Samuli Suominen <ssuominen@g.o>
39 xcin-2.5.3_pre3-r2.ebuild, +files/xcin-2.5.3_pre3-glibc-2.10.patch:
40
41
42
43 1.1 app-i18n/xcin/xcin-2.5.3_pre3-r3.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/xcin/xcin-2.5.3_pre3-r3.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/xcin/xcin-2.5.3_pre3-r3.ebuild?rev=1.1&content-type=text/plain
47
48 Index: xcin-2.5.3_pre3-r3.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-i18n/xcin/xcin-2.5.3_pre3-r3.ebuild,v 1.1 2011/11/20 23:40:31 matsuu Exp $
53
54 EAPI="4"
55 inherit multilib eutils autotools libtool
56
57 MY_P=${PN}_2.5.2.99.pre2+cvs20030224
58
59 DESCRIPTION="Chinese X Input Method"
60 HOMEPAGE="http://cle.linux.org.tw/xcin/"
61 SRC_URI="mirror://debian/pool/main/x/${PN}/${MY_P}.orig.tar.gz
62 mirror://debian/pool/main/x/${PN}/${MY_P}-1.4.diff.gz"
63
64 LICENSE="XCIN GPL-2"
65 SLOT="0"
66 KEYWORDS="~amd64 ~ppc ~x86"
67 IUSE="debug nls unicode"
68
69 RDEPEND=">=sys-libs/db-4.5
70 >=app-i18n/libtabe-0.2.6
71 unicode? ( media-fonts/hkscs-ming
72 media-fonts/arphicfonts )
73 dev-libs/libchewing
74 x11-libs/libX11"
75 DEPEND="${RDEPEND}
76 nls? ( sys-devel/gettext )"
77
78 S="${WORKDIR}/${MY_P/_/-}"
79
80 src_prepare() {
81 epatch \
82 "${WORKDIR}"/${MY_P}-1.4.diff \
83 "${FILESDIR}"/${P}-glibc-2.10.patch \
84 "${FILESDIR}"/${P}-make.patch \
85 "${FILESDIR}"/${P}-ldflags.patch
86 rm -f configure
87 cd script
88 elibtoolize
89 eautoreconf
90 mv configure ../
91 }
92
93 src_configure() {
94 econf \
95 --disable-static \
96 --with-xcin-rcdir="${EPREFIX}/etc" \
97 --with-xcin-dir="${EPREFIX}/usr/$(get_libdir)/xcin25" \
98 --with-db-lib="${EPREFIX}/usr/$(get_libdir)" \
99 --with-tabe-inc="${EPREFIX}/usr/include/tabe" \
100 --with-tabe-lib="${EPREFIX}/usr/$(get_libdir)" \
101 $(use_enable debug)
102 }
103
104 src_compile() {
105 emake -j1 || die "emake failed."
106 }
107
108 src_install() {
109 emake \
110 prefix="${ED}/usr" \
111 program_prefix="${D}" \
112 install || die
113
114 find "${ED}" -name "*.la" -type f -delete || die
115
116 for docdir in doc doc/En doc/En/internal doc/history doc/internal doc/modules; do
117 docinto ${docdir#doc/}
118 for doc in $(find ${docdir} -maxdepth '1' -type 'f'); do
119 if use unicode; then
120 iconv -f BIG5 -t UTF-8 --output=${doc}.UTF-8 ${doc}
121 mv ${doc}.UTF-8 ${doc}
122 fi
123 dodoc ${doc}
124 done
125 done
126 }