Gentoo Archives: gentoo-commits

From: "Samuli Suominen (drac)" <drac@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-i18n/xcin: ChangeLog xcin-2.5.3_pre3-r2.ebuild xcin-2.5.3_pre2.ebuild xcin-2.5.2.3.ebuild
Date: Wed, 30 Apr 2008 13:20:39
Message-Id: E1JrCEa-0001tV-Mz@stork.gentoo.org
1 drac 08/04/30 13:20:32
2
3 Modified: ChangeLog
4 Added: xcin-2.5.3_pre3-r2.ebuild
5 Removed: xcin-2.5.3_pre2.ebuild xcin-2.5.2.3.ebuild
6 Log:
7 Version bump wrt #219349, closing also #159660. Commit for treecleaners to avoid removing; thanks to Peter Alfredsen.
8 (Portage version: 2.1.5_rc6)
9
10 Revision Changes Path
11 1.17 app-i18n/xcin/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/xcin/ChangeLog?rev=1.17&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/xcin/ChangeLog?rev=1.17&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/xcin/ChangeLog?r1=1.16&r2=1.17
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-i18n/xcin/ChangeLog,v
20 retrieving revision 1.16
21 retrieving revision 1.17
22 diff -u -r1.16 -r1.17
23 --- ChangeLog 21 Feb 2007 22:15:36 -0000 1.16
24 +++ ChangeLog 30 Apr 2008 13:20:32 -0000 1.17
25 @@ -1,6 +1,13 @@
26 # ChangeLog for app-i18n/xcin
27 -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/xcin/ChangeLog,v 1.16 2007/02/21 22:15:36 peper Exp $
29 +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/xcin/ChangeLog,v 1.17 2008/04/30 13:20:32 drac Exp $
31 +
32 +*xcin-2.5.3_pre3-r2 (30 Apr 2008)
33 +
34 + 30 Apr 2008; Samuli Suominen <drac@g.o> -xcin-2.5.2.3.ebuild,
35 + -xcin-2.5.3_pre2.ebuild, +xcin-2.5.3_pre3-r2.ebuild:
36 + Version bump wrt #219349, closing also #159660. Commit for treecleaners to
37 + avoid removing; thanks to Peter Alfredsen.
38
39 21 Feb 2007; Piotr JaroszyƄski <peper@g.o> ChangeLog:
40 Transition to Manifest2.
41
42
43
44 1.1 app-i18n/xcin/xcin-2.5.3_pre3-r2.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/xcin/xcin-2.5.3_pre3-r2.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/xcin/xcin-2.5.3_pre3-r2.ebuild?rev=1.1&content-type=text/plain
48
49 Index: xcin-2.5.3_pre3-r2.ebuild
50 ===================================================================
51 # Copyright 1999-2008 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/app-i18n/xcin/xcin-2.5.3_pre3-r2.ebuild,v 1.1 2008/04/30 13:20:32 drac Exp $
54
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="~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_unpack() {
81 unpack ${A}
82 cd "${S}"
83 epatch "${WORKDIR}"/${MY_P}-1.4.diff
84 rm -f configure
85 cd script
86 elibtoolize
87 eautoreconf
88 mv configure ../
89 cd ..
90 }
91
92 src_compile() {
93 myconf="--with-xcin-rcdir=/etc
94 --with-xcin-dir=/usr/$(get_libdir)/xcin25
95 --with-db-lib=/usr/$(get_libdir)
96 --with-tabe-inc=/usr/include/tabe
97 --with-tabe-lib=/usr/$(get_libdir)
98 $(use_enable debug)"
99
100 econf ${myconf}
101 emake -j1 || die "emake failed."
102 }
103
104 src_install() {
105 emake \
106 prefix="${D}/usr" \
107 program_prefix="${D}" \
108 install || die
109
110 for docdir in doc doc/En doc/En/internal doc/history doc/internal doc/modules; do
111 docinto ${docdir#doc/}
112 if use unicode; then
113 for doc in $(find ${docdir} -maxdepth '1' -type 'f'); do
114 iconv -f BIG5 -t UTF-8 --output=${doc}.UTF-8 ${doc}
115 mv ${doc}.UTF-8 ${doc}
116 done
117 fi
118 dodoc ${docdir}/*
119 done
120 }
121
122
123
124 --
125 gentoo-commits@l.g.o mailing list