1 |
matsuu 09/10/02 22:31:32 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: scim-bridge-0.4.16-r1.ebuild |
5 |
Removed: scim-bridge-0.4.15.2.ebuild |
6 |
scim-bridge-0.4.15-r3.ebuild |
7 |
Log: |
8 |
Fixed --disable-*-module issue, bug #280887. Removed old versions. |
9 |
(Portage version: 2.1.6.13/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.28 app-i18n/scim-bridge/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/scim-bridge/ChangeLog?rev=1.28&view=markup |
15 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/scim-bridge/ChangeLog?rev=1.28&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/scim-bridge/ChangeLog?r1=1.27&r2=1.28 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/app-i18n/scim-bridge/ChangeLog,v |
21 |
retrieving revision 1.27 |
22 |
retrieving revision 1.28 |
23 |
diff -u -r1.27 -r1.28 |
24 |
--- ChangeLog 15 Aug 2009 13:20:59 -0000 1.27 |
25 |
+++ ChangeLog 2 Oct 2009 22:31:32 -0000 1.28 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for app-i18n/scim-bridge |
28 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim-bridge/ChangeLog,v 1.27 2009/08/15 13:20:59 betelgeuse Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim-bridge/ChangeLog,v 1.28 2009/10/02 22:31:32 matsuu Exp $ |
31 |
+ |
32 |
+*scim-bridge-0.4.16-r1 (02 Oct 2009) |
33 |
+ |
34 |
+ 02 Oct 2009; MATSUU Takuto <matsuu@g.o> |
35 |
+ -scim-bridge-0.4.15-r3.ebuild, -scim-bridge-0.4.15.2.ebuild, |
36 |
+ +scim-bridge-0.4.16-r1.ebuild: |
37 |
+ Fixed --disable-*-module issue, bug #280887. Removed old versions. |
38 |
|
39 |
15 Aug 2009; Petteri Räty <betelgeuse@g.o> |
40 |
scim-bridge-0.4.16.ebuild: |
41 |
|
42 |
|
43 |
|
44 |
1.1 app-i18n/scim-bridge/scim-bridge-0.4.16-r1.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/scim-bridge/scim-bridge-0.4.16-r1.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/scim-bridge/scim-bridge-0.4.16-r1.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: scim-bridge-0.4.16-r1.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2009 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim-bridge/scim-bridge-0.4.16-r1.ebuild,v 1.1 2009/10/02 22:31:32 matsuu Exp $ |
54 |
|
55 |
EAPI="2" |
56 |
|
57 |
inherit autotools eutils multilib qt3 |
58 |
|
59 |
DESCRIPTION="Yet another IM-client of SCIM" |
60 |
HOMEPAGE="http://www.scim-im.org/projects/scim_bridge" |
61 |
SRC_URI="mirror://sourceforge/scim/${P}.tar.gz" |
62 |
|
63 |
LICENSE="GPL-2 LGPL-2.1" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~hppa ~ppc64 ~sparc ~x86" |
66 |
IUSE="doc gtk qt3 qt4" |
67 |
|
68 |
RESTRICT="test" |
69 |
|
70 |
RDEPEND=">=app-i18n/scim-1.4.6 |
71 |
gtk? ( |
72 |
>=x11-libs/gtk+-2.2 |
73 |
>=x11-libs/pango-1.1 |
74 |
) |
75 |
qt3? ( |
76 |
|| ( |
77 |
>=x11-libs/qt-3.3:3[immqt-bc] |
78 |
>=x11-libs/qt-3.3:3[immqt] |
79 |
) |
80 |
>=x11-libs/pango-1.1 |
81 |
) |
82 |
qt4? ( |
83 |
|| ( ( x11-libs/qt-gui:4 x11-libs/qt-core:4 ) |
84 |
=x11-libs/qt-4.3*:4 ) |
85 |
>=x11-libs/pango-1.1 |
86 |
)" |
87 |
DEPEND="${RDEPEND} |
88 |
dev-util/pkgconfig |
89 |
dev-util/intltool |
90 |
doc? ( app-doc/doxygen )" |
91 |
|
92 |
update_gtk_immodules() { |
93 |
local GTK2_CONFDIR |
94 |
has_multilib_profile && GTK2_CONFDIR="/etc/gtk-2.0/${CHOST}" |
95 |
GTK2_CONFDIR=${GTK2_CONFDIR:=/etc/gtk-2.0/} |
96 |
if [ -x /usr/bin/gtk-query-immodules-2.0 ] ; then |
97 |
/usr/bin/gtk-query-immodules-2.0 > "${ROOT}/${GTK2_CONFDIR}/gtk.immodules" |
98 |
fi |
99 |
} |
100 |
|
101 |
src_prepare() { |
102 |
epatch "${FILESDIR}/${PN}-0.4.15.2-qt4.patch" |
103 |
epatch "${FILESDIR}/${PN}-0.4.15.2-gcc43.patch" |
104 |
epatch "${FILESDIR}/${P}+gcc-4.4.patch" |
105 |
|
106 |
# bug #241954 |
107 |
intltoolize --force |
108 |
eautoreconf |
109 |
} |
110 |
|
111 |
src_configure() { |
112 |
local myconf="$(use_enable doc documents)" |
113 |
# '--disable-*-immodule' are b0rked, bug #280887 |
114 |
|
115 |
if use gtk ; then |
116 |
myconf="${myconf} --enable-gtk2-immodule=yes" |
117 |
else |
118 |
myconf="${myconf} --enable-gtk2-immodule=no" |
119 |
fi |
120 |
|
121 |
if use qt3 ; then |
122 |
myconf="${myconf} --enable-qt3-immodule=yes" |
123 |
else |
124 |
myconf="${myconf} --enable-qt3-immodule=no" |
125 |
fi |
126 |
|
127 |
if use qt4 ; then |
128 |
myconf="${myconf} --enable-qt4-immodule=yes" |
129 |
else |
130 |
myconf="${myconf} --enable-qt4-immodule=no" |
131 |
fi |
132 |
|
133 |
econf ${myconf} || die |
134 |
} |
135 |
|
136 |
src_install() { |
137 |
emake DESTDIR="${D}" install || die "make install failed" |
138 |
|
139 |
dodoc AUTHORS ChangeLog NEWS README || die |
140 |
} |
141 |
|
142 |
pkg_postinst() { |
143 |
elog |
144 |
elog "If you would like to use ${PN} as default instead of scim, set" |
145 |
elog " $ export GTK_IM_MODULE=scim-bridge" |
146 |
elog " $ export QT_IM_MODULE=scim-bridge" |
147 |
elog |
148 |
use gtk && update_gtk_immodules |
149 |
} |
150 |
|
151 |
pkg_postrm() { |
152 |
use gtk && update_gtk_immodules |
153 |
} |