From: | "Matsuu Takuto (matsuu)" <matsuu@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-i18n/ibus: ibus-1.1.0.20090829.ebuild ChangeLog |
Date: | Sun, 30 Aug 2009 08:06:50 |
Message-Id: | E1MhkG3-0002WX-QI@stork.gentoo.org |
1 | matsuu 09/08/30 13:15:47 |
2 | |
3 | Modified: ChangeLog |
4 | Added: ibus-1.1.0.20090829.ebuild |
5 | Log: |
6 | Version bumped. |
7 | (Portage version: 2.1.6.13/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.38 app-i18n/ibus/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus/ChangeLog?rev=1.38&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus/ChangeLog?rev=1.38&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus/ChangeLog?r1=1.37&r2=1.38 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/app-i18n/ibus/ChangeLog,v |
19 | retrieving revision 1.37 |
20 | retrieving revision 1.38 |
21 | diff -u -r1.37 -r1.38 |
22 | --- ChangeLog 28 Aug 2009 15:38:28 -0000 1.37 |
23 | +++ ChangeLog 30 Aug 2009 13:15:47 -0000 1.38 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for app-i18n/ibus |
26 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ChangeLog,v 1.37 2009/08/28 15:38:28 matsuu Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ChangeLog,v 1.38 2009/08/30 13:15:47 matsuu Exp $ |
29 | + |
30 | +*ibus-1.1.0.20090829 (30 Aug 2009) |
31 | + |
32 | + 30 Aug 2009; MATSUU Takuto <matsuu@g.o> |
33 | + +ibus-1.1.0.20090829.ebuild: |
34 | + Version bumped. |
35 | |
36 | *ibus-1.2.0.20090828 (28 Aug 2009) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 app-i18n/ibus/ibus-1.1.0.20090829.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus/ibus-1.1.0.20090829.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus/ibus-1.1.0.20090829.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: ibus-1.1.0.20090829.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-i18n/ibus/ibus-1.1.0.20090829.ebuild,v 1.1 2009/08/30 13:15:47 matsuu Exp $ |
51 | |
52 | EAPI="1" |
53 | inherit eutils multilib python |
54 | |
55 | DESCRIPTION="Intelligent Input Bus for Linux / Unix OS" |
56 | HOMEPAGE="http://code.google.com/p/ibus/" |
57 | SRC_URI="http://ibus.googlecode.com/files/${P}.tar.gz" |
58 | |
59 | LICENSE="LGPL-2.1" |
60 | SLOT="0" |
61 | KEYWORDS="~amd64 ~x86" |
62 | IUSE="doc nls" |
63 | |
64 | RDEPEND=">=dev-libs/glib-2.18 |
65 | >=x11-libs/gtk+-2 |
66 | >=gnome-base/gconf-2.12 |
67 | >=gnome-base/librsvg-2 |
68 | sys-apps/dbus |
69 | app-text/iso-codes |
70 | x11-libs/libX11 |
71 | >=dev-lang/python-2.5 |
72 | >=dev-python/pygobject-2.14 |
73 | nls? ( virtual/libintl )" |
74 | DEPEND="${RDEPEND} |
75 | dev-util/pkgconfig |
76 | doc? ( >=dev-util/gtk-doc-1.9 ) |
77 | nls? ( >=sys-devel/gettext-0.16.1 )" |
78 | RDEPEND="${RDEPEND} |
79 | dev-python/pygtk |
80 | >=dev-python/dbus-python-0.83 |
81 | dev-python/pyxdg" |
82 | |
83 | pkg_setup() { |
84 | # An arch specific config directory is used on multilib systems |
85 | has_multilib_profile && GTK2_CONFDIR="/etc/gtk-2.0/${CHOST}" |
86 | GTK2_CONFDIR=${GTK2_CONFDIR:=/etc/gtk-2.0/} |
87 | } |
88 | |
89 | src_unpack() { |
90 | unpack ${A} |
91 | cd "${S}" |
92 | mv py-compile py-compile.orig || die |
93 | ln -s "$(type -P true)" py-compile || die |
94 | } |
95 | |
96 | src_compile() { |
97 | econf \ |
98 | $(use_enable doc gtk-doc) \ |
99 | $(use_enable nls) || die |
100 | emake || die |
101 | } |
102 | |
103 | src_install() { |
104 | emake DESTDIR="${D}" install || die |
105 | |
106 | dodoc AUTHORS ChangeLog NEWS README |
107 | } |
108 | |
109 | pkg_postinst() { |
110 | |
111 | elog "To use ibus, you should:" |
112 | elog "1. Get input engines from sunrise overlay." |
113 | elog " Run \"emerge -s ibus-\" in your favorite terminal" |
114 | elog " for a list of packages we already have." |
115 | elog |
116 | elog "2. Setup ibus:" |
117 | elog |
118 | elog " $ ibus-setup" |
119 | elog |
120 | elog "3. Set the following in your user startup scripts" |
121 | elog " such as .xinitrc, .xsession or .xprofile:" |
122 | elog |
123 | elog " export XMODIFIERS=\"@im=ibus\"" |
124 | elog " export GTK_IM_MODULE=\"ibus\"" |
125 | elog " export QT_IM_MODULE=\"xim\"" |
126 | elog " ibus-daemon -d -x" |
127 | |
128 | [ "${ROOT}" = "/" -a -x /usr/bin/gtk-query-immodules-2.0 ] && \ |
129 | gtk-query-immodules-2.0 > "${ROOT}/${GTK2_CONFDIR}/gtk.immodules" |
130 | |
131 | python_mod_optimize /usr/share/${PN} |
132 | } |
133 | |
134 | pkg_postrm() { |
135 | [ "${ROOT}" = "/" -a -x /usr/bin/gtk-query-immodules-2.0 ] && \ |
136 | gtk-query-immodules-2.0 > "${ROOT}/${GTK2_CONFDIR}/gtk.immodules" |
137 | |
138 | python_mod_cleanup /usr/share/${PN} |
139 | } |