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