summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2005-07-21 14:30:17 +0000
committerMamoru Komachi <usata@gentoo.org>2005-07-21 14:30:17 +0000
commitdcb3863c700704b76f12eec10d22677be1a61426 (patch)
tree15909d53c500b41dd9110f118bf28738b9aef1ce /app-i18n
parentStable on amd64. (diff)
downloadgentoo-2-dcb3863c700704b76f12eec10d22677be1a61426.tar.gz
gentoo-2-dcb3863c700704b76f12eec10d22677be1a61426.tar.bz2
gentoo-2-dcb3863c700704b76f12eec10d22677be1a61426.zip
Fixed qt immodule.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/uim/ChangeLog7
-rw-r--r--app-i18n/uim/Manifest30
-rw-r--r--app-i18n/uim/files/digest-uim-0.4.7.1-r11
-rw-r--r--app-i18n/uim/uim-0.4.7.1-r1.ebuild115
4 files changed, 133 insertions, 20 deletions
diff --git a/app-i18n/uim/ChangeLog b/app-i18n/uim/ChangeLog
index 898a8a07fa79..abbd0caab95c 100644
--- a/app-i18n/uim/ChangeLog
+++ b/app-i18n/uim/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-i18n/uim
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/ChangeLog,v 1.102 2005/07/18 14:50:56 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/ChangeLog,v 1.103 2005/07/21 14:30:17 usata Exp $
+
+*uim-0.4.7.1-r1 (21 Jul 2005)
+
+ 21 Jul 2005; Mamoru KOMACHI <usata@gentoo.org> +uim-0.4.7.1-r1.ebuild:
+ Fixed qt immodule.
18 Jul 2005; Gustavo Zacarias <gustavoz@gentoo.org> uim-0.4.7.ebuild:
Stable on sparc
diff --git a/app-i18n/uim/Manifest b/app-i18n/uim/Manifest
index 97d3290f76e6..f5ce1c1a3ec2 100644
--- a/app-i18n/uim/Manifest
+++ b/app-i18n/uim/Manifest
@@ -1,25 +1,17 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 e2da686b5a01b4b56aad82fc0ef343c4 uim-0.4.5.1.ebuild 2225
+MD5 213b2d58200cf110447792600d84114c uim-0.3.4.2.ebuild 1634
+MD5 351fc65be96f79084b1e105beb656d0f ChangeLog 15139
MD5 f5659d73ef347dcb529d867d6d5b4272 metadata.xml 642
-MD5 221e33deb3e1e1959d0db0c86f6f98bc uim-0.4.7.1.ebuild 3070
MD5 71a16d6b28195ef79aa6f20c4db2b167 uim-0.4.7.ebuild 3269
MD5 fec0178ca1c0f35d6cfca7c36d90227f uim-0.4.6-r2.ebuild 3537
-MD5 213b2d58200cf110447792600d84114c uim-0.3.4.2.ebuild 1634
-MD5 351fc65be96f79084b1e105beb656d0f ChangeLog 15139
-MD5 a7a77bd306695255ca9d2a378b599816 files/digest-uim-0.4.5.1 64
-MD5 cc10c5d38fe1cce5a6e17fad95da53d7 files/uim-0.4.6-gtk2_4-gentoo.diff 441
-MD5 7f949b6287f391906786f248a64ec0b3 files/digest-uim-0.4.6-r2 192
+MD5 e2da686b5a01b4b56aad82fc0ef343c4 uim-0.4.5.1.ebuild 2225
+MD5 221e33deb3e1e1959d0db0c86f6f98bc uim-0.4.7.1.ebuild 3070
+MD5 e243a71c1ba8625b3c9a004081a68887 uim-0.4.7.1-r1.ebuild 3108
+MD5 43709db248e2be1d40952ce99d3cae00 files/uim-gtk-query-immodules-gentoo.diff 552
MD5 4661795c7be34416dbbb12571cb9f585 files/digest-uim-0.4.7 127
-MD5 a9eb508109eca1b8de35c91baad214ab files/digest-uim-0.4.7.1 64
MD5 b9c8399a56165f6cfe164b17a273ea2a files/digest-uim-0.3.4.2 63
+MD5 a9eb508109eca1b8de35c91baad214ab files/digest-uim-0.4.7.1-r1 64
+MD5 a9eb508109eca1b8de35c91baad214ab files/digest-uim-0.4.7.1 64
+MD5 cc10c5d38fe1cce5a6e17fad95da53d7 files/uim-0.4.6-gtk2_4-gentoo.diff 441
+MD5 7f949b6287f391906786f248a64ec0b3 files/digest-uim-0.4.6-r2 192
+MD5 a7a77bd306695255ca9d2a378b599816 files/digest-uim-0.4.5.1 64
MD5 faf7d637e9266fbc6613cdf8ee56e427 files/uim-0.4.6-nls.diff 404
-MD5 43709db248e2be1d40952ce99d3cae00 files/uim-gtk-query-immodules-gentoo.diff 552
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1-ecc0.1.6 (GNU/Linux)
-
-iD8DBQFC28IHKRy60XGEcJIRArseAJ0Q+TNBzw1hAjsiknwQUbLuqhRHMwCZAaD2
-4qCk+G9TtOfvu1jBI6j/jGA=
-=Uvpr
------END PGP SIGNATURE-----
diff --git a/app-i18n/uim/files/digest-uim-0.4.7.1-r1 b/app-i18n/uim/files/digest-uim-0.4.7.1-r1
new file mode 100644
index 000000000000..f2ca98e0ac90
--- /dev/null
+++ b/app-i18n/uim/files/digest-uim-0.4.7.1-r1
@@ -0,0 +1 @@
+MD5 88c18b8fffa3a67401c932ac925a6d30 uim-0.4.7.1.tar.gz 1544242
diff --git a/app-i18n/uim/uim-0.4.7.1-r1.ebuild b/app-i18n/uim/uim-0.4.7.1-r1.ebuild
new file mode 100644
index 000000000000..ddb8d227275a
--- /dev/null
+++ b/app-i18n/uim/uim-0.4.7.1-r1.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-0.4.7.1-r1.ebuild,v 1.1 2005/07/21 14:30:17 usata Exp $
+
+inherit eutils kde-functions flag-o-matic
+
+MY_P="${P/_/}"
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="a simple, secure and flexible input method library"
+HOMEPAGE="http://uim.freedesktop.org/"
+SRC_URI="http://uim.freedesktop.org/releases/${MY_P}.tar.gz"
+
+LICENSE="GPL-2 BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="gtk qt immqt immqt-bc nls X m17n-lib canna"
+#IUSE="${IUSE} scim"
+
+RDEPEND="X? ( virtual/x11 )
+ gtk? ( >=x11-libs/gtk+-2 )
+ m17n-lib? ( dev-libs/m17n-lib )
+ !app-i18n/uim-svn
+ !app-i18n/uim-fep
+ canna? ( app-i18n/canna )
+ immqt? ( >=x11-libs/qt-3.3.3-r1 )
+ immqt-bc? ( >=x11-libs/qt-3.3.3-r1 )
+ qt? ( >=x11-libs/qt-3.3.3-r1 )
+ !<app-i18n/prime-0.9.4
+ !app-i18n/uim-qt
+ !app-i18n/uim-kdehelper"
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ dev-perl/XML-Parser
+ >=sys-apps/sed-4
+ sys-devel/autoconf
+ sys-devel/automake
+ sys-devel/libtool
+ nls? ( sys-devel/gettext )"
+
+# An arch specific config directory is used on multilib systems
+has_multilib_profile && GTK2_CONFDIR="/etc/gtk-2.0/${CHOST}"
+GTK2_CONFDIR=${GTK2_CONFDIR:=/etc/gtk-2.0/}
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ # we execute gtk-query-immodules-2.0 in pkg_postinst()
+ # to not violate sandbox.
+ sed -i -e "/gtk-query-immodules-2.0/s/.*/ :\\\\/g" \
+ Makefile.am || die
+ use X || sed -i -e '/^SUBDIRS/s/xim//' Makefile.in || die
+}
+
+src_compile() {
+ local myconf
+ use qt && set-qtdir 3
+ if use immqt || use immqt-bc ; then
+ myconf="${myconf} --with-qt-immodule"
+ export CPPFLAGS="${CPPFLAGS} -DQT_THREAD_SUPPORT"
+ fi
+
+ myconf="${myconf}
+ $(use_enable nls)
+ $(use_with X x)
+ $(use_with gtk gtk2)
+ $(use_with m17n-lib m17nlib)
+ $(use_with canna)
+ $(use_with qt)"
+
+ autoreconf
+ libtoolize --copy --force
+
+ # --with-scim is not stable enough
+ econf ${myconf} --without-scim || die "econf failed"
+ emake -j1 || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ dodoc AUTHORS ChangeLog INSTALL* NEWS README*
+ dodoc doc/{HELPER-CANDWIN,KEY,UIM-SH}
+ use X && dodoc doc/XIM-SERVER
+}
+
+pkg_postinst() {
+ einfo
+ einfo "To use uim-anthy you should emerge app-i18n/anthy or app-i18n/anthy-ss."
+ einfo "To use uim-skk you should emerge app-i18n/skk-jisyo."
+ einfo "To use uim-prime you should emerge app-i18n/prime."
+ einfo
+
+ ewarn
+ ewarn "New input method switcher has been introduced. You need to set"
+ ewarn
+ ewarn "% GTK_IM_MODULE=uim ; export GTK_IM_MODULE"
+ ewarn "% QT_IM_MODULE=uim ; export QT_IM_MODULE"
+ ewarn "% XMODIFIERS=@im=uim ; export XMODIFIERS"
+ ewarn
+ ewarn "If you would like to use uim-anthy as default input method, put"
+ ewarn "(define default-im-name 'anthy)"
+ ewarn "to your ~/.uim."
+ ewarn
+ ewarn "All input methods can be found by running uim-im-switcher-gtk"
+ ewarn "or uim-im-switcher-qt."
+ ewarn
+
+ use gtk && gtk-query-immodules-2.0 > ${ROOT}/${GTK2_CONFDIR}/gtk.immodules
+}
+
+pkg_postrm() {
+ use gtk && gtk-query-immodules-2.0 > ${ROOT}/${GTK2_CONFDIR}/gtk.immodules
+}