diff options
author | Nguyen Thai Ngoc Duy <pclouds@gentoo.org> | 2004-06-28 07:42:07 +0000 |
---|---|---|
committer | Nguyen Thai Ngoc Duy <pclouds@gentoo.org> | 2004-06-28 07:42:07 +0000 |
commit | 402e67a03740b3e6b2e7a03a581af5ae59663af3 (patch) | |
tree | 8f114076e3f0e7ea29f86ac698820296a72fa348 /app-i18n/x-unikey | |
parent | Fix breakage by adding a null src_compile(). Also install man page. (diff) | |
download | historical-402e67a03740b3e6b2e7a03a581af5ae59663af3.tar.gz historical-402e67a03740b3e6b2e7a03a581af5ae59663af3.tar.bz2 historical-402e67a03740b3e6b2e7a03a581af5ae59663af3.zip |
new package, committed by Lang Thang <langthang@vn21.homelinux.org> in bug #49301
Diffstat (limited to 'app-i18n/x-unikey')
-rw-r--r-- | app-i18n/x-unikey/ChangeLog | 9 | ||||
-rw-r--r-- | app-i18n/x-unikey/Manifest | 5 | ||||
-rw-r--r-- | app-i18n/x-unikey/files/01x-unikey | 9 | ||||
-rw-r--r-- | app-i18n/x-unikey/files/digest-x-unikey-0.9.1d | 1 | ||||
-rw-r--r-- | app-i18n/x-unikey/metadata.xml | 8 | ||||
-rw-r--r-- | app-i18n/x-unikey/x-unikey-0.9.1d.ebuild | 56 |
6 files changed, 88 insertions, 0 deletions
diff --git a/app-i18n/x-unikey/ChangeLog b/app-i18n/x-unikey/ChangeLog new file mode 100644 index 000000000000..2d243e702085 --- /dev/null +++ b/app-i18n/x-unikey/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for app-i18n/x-unikey +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/x-unikey/ChangeLog,v 1.1 2004/06/28 07:42:07 pclouds Exp $ + + 28 Jun 2004; <pclouds@gentoo.org> x-unikey-0.9.1d.ebuild, + files/01x-unikey: + new package, committed by Lang Thang <langthang@vn21.homelinux.org> in bug + #49301 + diff --git a/app-i18n/x-unikey/Manifest b/app-i18n/x-unikey/Manifest new file mode 100644 index 000000000000..e08ef6ca7f73 --- /dev/null +++ b/app-i18n/x-unikey/Manifest @@ -0,0 +1,5 @@ +MD5 fefa5004e0e7c9946c4bfa5f179fc0af x-unikey-0.9.1d.ebuild 1467 +MD5 77597a35eba5717b39f3e6277acbccf5 ChangeLog 383 +MD5 a4ed50393aff561363e1175069e94196 metadata.xml 219 +MD5 4adcaedf501ae83fe35f6b2906073c27 files/digest-x-unikey-0.9.1d 68 +MD5 1dde1fca1d63782ce2ddec87e2b914a4 files/01x-unikey 214 diff --git a/app-i18n/x-unikey/files/01x-unikey b/app-i18n/x-unikey/files/01x-unikey new file mode 100644 index 000000000000..595b6a183b55 --- /dev/null +++ b/app-i18n/x-unikey/files/01x-unikey @@ -0,0 +1,9 @@ +# x-unikey works only with *.UTF-8 locales +#LANG=en_US.UTF-8 + +# Uncomment this if you use XIM. +#GTK_IM_MODULE="xim" +#XMODIFIERS="@im=unikey" + +# If you use unikey-gtk only, then comment this +#GTK_IM_MODULE="unikey" diff --git a/app-i18n/x-unikey/files/digest-x-unikey-0.9.1d b/app-i18n/x-unikey/files/digest-x-unikey-0.9.1d new file mode 100644 index 000000000000..5ba9a3cf164f --- /dev/null +++ b/app-i18n/x-unikey/files/digest-x-unikey-0.9.1d @@ -0,0 +1 @@ +MD5 a2a2c0d9d36b11d14985532968266a2c x-unikey-0.9.1d.tar.bz2 345308 diff --git a/app-i18n/x-unikey/metadata.xml b/app-i18n/x-unikey/metadata.xml new file mode 100644 index 000000000000..ac9fb22efd36 --- /dev/null +++ b/app-i18n/x-unikey/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>cjk</herd> +<maintainer> + <email>pclouds@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/app-i18n/x-unikey/x-unikey-0.9.1d.ebuild b/app-i18n/x-unikey/x-unikey-0.9.1d.ebuild new file mode 100644 index 000000000000..1dc609a7877b --- /dev/null +++ b/app-i18n/x-unikey/x-unikey-0.9.1d.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.1d.ebuild,v 1.1 2004/06/28 07:42:07 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 +} |