From a8409e824cb5d385224558fb89bb10ac311a8cbb Mon Sep 17 00:00:00 2001 From: Nguyen Thai Ngoc Duy Date: Mon, 22 Nov 2004 04:10:47 +0000 Subject: Version bump --- app-i18n/x-unikey/ChangeLog | 7 +++- app-i18n/x-unikey/Manifest | 14 ++----- app-i18n/x-unikey/files/digest-x-unikey-0.9.2 | 1 + app-i18n/x-unikey/x-unikey-0.9.2.ebuild | 56 +++++++++++++++++++++++++++ 4 files changed, 66 insertions(+), 12 deletions(-) create mode 100644 app-i18n/x-unikey/files/digest-x-unikey-0.9.2 create mode 100644 app-i18n/x-unikey/x-unikey-0.9.2.ebuild diff --git a/app-i18n/x-unikey/ChangeLog b/app-i18n/x-unikey/ChangeLog index 0e7f01d0760c..6fafb76cd0db 100644 --- a/app-i18n/x-unikey/ChangeLog +++ b/app-i18n/x-unikey/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-i18n/x-unikey # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/x-unikey/ChangeLog,v 1.5 2004/09/04 04:16:48 pclouds Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/x-unikey/ChangeLog,v 1.6 2004/11/22 04:10:47 pclouds Exp $ + +*x-unikey-0.9.2 (22 Nov 2004) + + 22 Nov 2004; +x-unikey-0.9.2.ebuild: + version bump 04 Sep 2004; x-unikey-0.9.1d.ebuild: Stable on x86 diff --git a/app-i18n/x-unikey/Manifest b/app-i18n/x-unikey/Manifest index 92ad871300a0..14afcefef6b5 100644 --- a/app-i18n/x-unikey/Manifest +++ b/app-i18n/x-unikey/Manifest @@ -1,15 +1,7 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 475c7d9e25c26f30062aa4af173c7b25 ChangeLog 571 +MD5 b4c6c08ad7a5c649a1fe6e1fa4f41eac ChangeLog 678 MD5 a4ed50393aff561363e1175069e94196 metadata.xml 219 MD5 0add0217dbbd76fb2c9e3e37e9a013de x-unikey-0.9.1d.ebuild 1471 +MD5 f2fbc194671ecf3afbbc53f29892d928 x-unikey-0.9.2.ebuild 1465 MD5 1dde1fca1d63782ce2ddec87e2b914a4 files/01x-unikey 214 MD5 4adcaedf501ae83fe35f6b2906073c27 files/digest-x-unikey-0.9.1d 68 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.9.10 (GNU/Linux) - -iD8DBQFBYHd2I1lqEGTUzyQRAsrDAJ4rQ2+WLU6klFKCaNVuijguv5FqXgCg3wfz -qN6uxmVzqRrKVT8K+ufej5g= -=u67G ------END PGP SIGNATURE----- +MD5 3c858d6b8599e48df25ae3d46e0f1202 files/digest-x-unikey-0.9.2 67 diff --git a/app-i18n/x-unikey/files/digest-x-unikey-0.9.2 b/app-i18n/x-unikey/files/digest-x-unikey-0.9.2 new file mode 100644 index 000000000000..5a2d5769e9b4 --- /dev/null +++ b/app-i18n/x-unikey/files/digest-x-unikey-0.9.2 @@ -0,0 +1 @@ +MD5 d8656e4c346e02c8d30724d7e5d46d02 x-unikey-0.9.2.tar.bz2 347785 diff --git a/app-i18n/x-unikey/x-unikey-0.9.2.ebuild b/app-i18n/x-unikey/x-unikey-0.9.2.ebuild new file mode 100644 index 000000000000..b50e9ba933e3 --- /dev/null +++ b/app-i18n/x-unikey/x-unikey-0.9.2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/x-unikey/x-unikey-0.9.2.ebuild,v 1.1 2004/11/22 04:10:47 pclouds Exp $ + +inherit eutils + +DESCRIPTION="Vietnamese X Input Method" +HOMEPAGE="http://unikey.sourceforge.net/linux.php" +SRC_URI="mirror://sourceforge/unikey/${PN}-${PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="nls gtk" + +DEPEND="virtual/x11 + nls? ( sys-devel/gettext ) + gtk? ( >=x11-libs/gtk+-2.2 )" + +src_compile() { + local myconf + # --with-gtk-sysconfdir to prevent sandbox violation only + use gtk && myconf="--with-unikey-gtk --with-gtk-sysconfdir=${D}/etc/gtk-2.0" + econf ${myconf} || die "./configure failed" + emake || die +} + +src_install() { + if use gtk;then + dodir etc/gtk-2.0 + make DESTDIR=${D} install -C src/unikey-gtk + fi + dobin src/xim/ukxim src/gui/unikey + insinto /etc/env.d + doins ${FILESDIR}/01x-unikey + dodoc doc/manual doc/ukmacro doc/unikeyrc +} + +pkg_postinst() { + einfo "" + einfo "Go to /etc/env.d/01x-unikey and uncomment appropriate lines" + einfo "to enable x-unikey" + einfo "" + if use gtk; then + gtk-query-immodules-2.0 > ${ROOT}/etc/gtk-2.0/gtk.immodules + einfo "If you want to use x-unikey as the default gtk+ input method," + einfo "change GTK_IM_MODULE in /etc/env.d/01x-unikey to \"unikey\"" + einfo "" + fi +} + +pkg_postrm() { + if use gtk; then + gtk-query-immodules-2.0 > ${ROOT}/etc/gtk-2.0/gtk.immodules + fi +} -- cgit v1.2.3-65-gdbad