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/scim: ChangeLog scim-1.4.9-r1.ebuild
Date: Tue, 16 Feb 2010 15:39:31
Message-Id: E1NhPWL-0006sm-T7@stork.gentoo.org
1 matsuu 10/02/16 15:39:29
2
3 Modified: ChangeLog
4 Added: scim-1.4.9-r1.ebuild
5 Log:
6 Fixed gnome-panel issue, bug #283317.
7 (Portage version: 2.1.7.17/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.133 app-i18n/scim/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/scim/ChangeLog?rev=1.133&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/scim/ChangeLog?rev=1.133&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/scim/ChangeLog?r1=1.132&r2=1.133
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-i18n/scim/ChangeLog,v
19 retrieving revision 1.132
20 retrieving revision 1.133
21 diff -u -r1.132 -r1.133
22 --- ChangeLog 20 Jun 2009 13:44:17 -0000 1.132
23 +++ ChangeLog 16 Feb 2010 15:39:29 -0000 1.133
24 @@ -1,6 +1,12 @@
25 # ChangeLog for app-i18n/scim
26 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim/ChangeLog,v 1.132 2009/06/20 13:44:17 jer Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim/ChangeLog,v 1.133 2010/02/16 15:39:29 matsuu Exp $
30 +
31 +*scim-1.4.9-r1 (16 Feb 2010)
32 +
33 + 16 Feb 2010; MATSUU Takuto <matsuu@g.o> +scim-1.4.9-r1.ebuild,
34 + +files/scim-fix-disappeared-status-icon.patch:
35 + Fixed gnome-panel issue, bug #283317.
36
37 20 Jun 2009; Jeroen Roovers <jer@g.o> scim-1.4.7-r2.ebuild:
38 Stable for HPPA (bug #246064).
39
40
41
42 1.1 app-i18n/scim/scim-1.4.9-r1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/scim/scim-1.4.9-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/scim/scim-1.4.9-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: scim-1.4.9-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-i18n/scim/scim-1.4.9-r1.ebuild,v 1.1 2010/02/16 15:39:29 matsuu Exp $
52
53 EAPI="2"
54 inherit autotools eutils flag-o-matic multilib
55
56 DESCRIPTION="Smart Common Input Method (SCIM) is an Input Method (IM) development platform"
57 HOMEPAGE="http://www.scim-im.org/"
58 SRC_URI="mirror://sourceforge/scim/${P}.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
63 IUSE="doc"
64
65 RDEPEND="x11-libs/libX11
66 >=x11-libs/gtk+-2
67 >=dev-libs/atk-1
68 >=x11-libs/pango-1
69 >=dev-libs/glib-2
70 !app-i18n/scim-cvs"
71 DEPEND="${RDEPEND}
72 x11-libs/libXt
73 doc? ( app-doc/doxygen
74 >=app-text/docbook-xsl-stylesheets-1.73.1 )
75 dev-lang/perl
76 dev-util/pkgconfig
77 >=dev-util/intltool-0.33
78 sys-devel/libtool"
79
80 get_gtk_confdir() {
81 # An arch specific config directory is used on multilib systems
82 has_multilib_profile && GTK2_CONFDIR="/etc/gtk-2.0/${CHOST}"
83 GTK2_CONFDIR=${GTK2_CONFDIR:=/etc/gtk-2.0/}
84 }
85
86 src_prepare() {
87 epatch "${FILESDIR}/${PN}-1.4.7-syslibltdl.patch"
88 # bug #283317
89 epatch "${FILESDIR}/${PN}-fix-disappeared-status-icon.patch"
90 rm "${S}"/src/ltdl.{cpp,h} || die
91 eautoreconf
92 }
93
94 src_configure() {
95 local myconf
96 # bug #83625
97 filter-flags -fvisibility-inlines-hidden
98 filter-flags -fvisibility=hidden
99
100 # bug #191696
101 ## We cannot use "use_enable"
102 #if ! use gtk ; then
103 # myconf="${myconf} --disable-panel-gtk"
104 # myconf="${myconf} --disable-setup-ui"
105 # myconf="${myconf} --disable-gtk2-immodule"
106 #fi
107
108 econf \
109 $(use_with doc doxygen) \
110 --enable-ld-version-script \
111 ${myconf} || die
112 }
113
114 src_install() {
115 emake DESTDIR="${D}" install || die
116 dodoc README AUTHORS ChangeLog docs/developers docs/scim.cfg
117 use doc && dohtml -r docs/html/*
118 }
119
120 pkg_postinst() {
121 elog
122 elog "To use SCIM with both GTK2 and XIM, you should use the following"
123 elog "in your user startup scripts such as .gnomerc or .xinitrc:"
124 elog
125 elog "LANG='your_language' scim -d"
126 elog "export XMODIFIERS=@im=SCIM"
127 elog "export GTK_IM_MODULE=\"scim\""
128 elog "export QT_IM_MODULE=\"scim\""
129 elog
130 elog "where 'your_language' can be zh_CN, zh_TW, ja_JP.eucJP or any other"
131 elog "UTF-8 locale such as en_US.UTF-8 or ja_JP.UTF-8"
132 elog
133 elog "To use Chinese input methods:"
134 elog " # emerge app-i18n/scim-tables app-i18n/scim-pinyin"
135 elog "To use Korean input methods:"
136 elog " # emerge app-i18n/scim-hangul"
137 elog "To use Japanese input methods:"
138 elog " # emerge app-i18n/scim-anthy"
139 elog "To use various input methods (more than 30 languages):"
140 elog " # emerge app-i18n/scim-m17n"
141 elog
142 ewarn
143 ewarn "If you upgraded from scim-1.2.x or scim-1.0.x, you should remerge all SCIM modules."
144 ewarn
145
146 [ -x /usr/bin/gtk-query-immodules-2.0 ] && gtk-query-immodules-2.0 > "${ROOT}/${GTK2_CONFDIR}/gtk.immodules"
147 }
148
149 pkg_postrm() {
150 [ -x /usr/bin/gtk-query-immodules-2.0 ] && gtk-query-immodules-2.0 > "${ROOT}/${GTK2_CONFDIR}/gtk.immodules"
151 }