diff options
author | Mamoru Komachi <usata@gentoo.org> | 2004-04-29 17:06:34 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2004-04-29 17:06:34 +0000 |
commit | af71513ee41c7d548f4e57c022305b3f7988d7b1 (patch) | |
tree | a13680ab2fc773defb89e24d303f5c1c751651e3 /app-i18n/xvnkb | |
parent | Stable x86. (Manifest recommit) (diff) | |
download | gentoo-2-af71513ee41c7d548f4e57c022305b3f7988d7b1.tar.gz gentoo-2-af71513ee41c7d548f4e57c022305b3f7988d7b1.tar.bz2 gentoo-2-af71513ee41c7d548f4e57c022305b3f7988d7b1.zip |
Initial import. Thanks to <nnt@nntsoft.com>, James W. Dumay <i386@sauceage.org> and Nguyen Thai Ngoc Duy <pclouds@vnlinux.org>. Closing bug #32875
Diffstat (limited to 'app-i18n/xvnkb')
-rw-r--r-- | app-i18n/xvnkb/ChangeLog | 12 | ||||
-rw-r--r-- | app-i18n/xvnkb/Manifest | 3 | ||||
-rw-r--r-- | app-i18n/xvnkb/files/digest-xvnkb-0.2.8a | 1 | ||||
-rw-r--r-- | app-i18n/xvnkb/files/xvnkb-0.2.8a.patch | 16 | ||||
-rw-r--r-- | app-i18n/xvnkb/metadata.xml | 11 | ||||
-rw-r--r-- | app-i18n/xvnkb/xvnkb-0.2.8a.ebuild | 62 |
6 files changed, 105 insertions, 0 deletions
diff --git a/app-i18n/xvnkb/ChangeLog b/app-i18n/xvnkb/ChangeLog new file mode 100644 index 000000000000..f36b05296dfc --- /dev/null +++ b/app-i18n/xvnkb/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for app-i18n/xvnkb +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/xvnkb/ChangeLog,v 1.1 2004/04/29 17:06:34 usata Exp $ + +*xvnkb-0.2.8a (30 Apr 2004) + + 30 Apr 2004; Mamoru KOMACHI <usata@gentoo.org> xvnkb-0.2.8a.ebuild, + files/xvnkb-0.2.8a.patch: + Initial import. Thanks to <nnt@nntsoft.com>, James W. Dumay + <i386@sauceage.org> and Nguyen Thai Ngoc Duy <pclouds@vnlinux.org>. + Closing bug #32875 + diff --git a/app-i18n/xvnkb/Manifest b/app-i18n/xvnkb/Manifest new file mode 100644 index 000000000000..cb6cc36257c8 --- /dev/null +++ b/app-i18n/xvnkb/Manifest @@ -0,0 +1,3 @@ +MD5 5e8bca42a86857909fe3b7e9d33f082c xvnkb-0.2.8a.ebuild 1250 +MD5 4bdfe6da4cecc9fcf0583344b341b190 xvnkb-0.2.8a.ebuild.bak 1242 +MD5 0faefa232848cec1a17d870c714d3610 files/digest-xvnkb-0.2.8a 64 diff --git a/app-i18n/xvnkb/files/digest-xvnkb-0.2.8a b/app-i18n/xvnkb/files/digest-xvnkb-0.2.8a new file mode 100644 index 000000000000..a29f0d100239 --- /dev/null +++ b/app-i18n/xvnkb/files/digest-xvnkb-0.2.8a @@ -0,0 +1 @@ +MD5 9a94de76689b3ea12a688d4602fc019e xvnkb-0.2.8a.tar.bz2 76221 diff --git a/app-i18n/xvnkb/files/xvnkb-0.2.8a.patch b/app-i18n/xvnkb/files/xvnkb-0.2.8a.patch new file mode 100644 index 000000000000..51862a1986bd --- /dev/null +++ b/app-i18n/xvnkb/files/xvnkb-0.2.8a.patch @@ -0,0 +1,16 @@ +diff -ur xvnkb-0.2.8/visckey.c xvnkb-0.2.8-new/visckey.c +--- xvnkb-0.2.8/visckey.c 2004-01-17 05:19:17.000000000 +0700 ++++ xvnkb-0.2.8-new/visckey.c 2004-03-03 04:20:44.000000000 +0700 +@@ -423,8 +423,11 @@ + /*----------------------------------------------------------------------------*/ + inline void VKClearBuffer() + { +- tempoff = count = *word = vpc = 0; ++ tempoff = count = *word = 0; ++#ifdef VK_CHECK_SPELLING ++ vpc = 0; + vp = -1; ++#endif + } + /*----------------------------------------------------------------------------*/ + inline long VKBackspaceDelete() diff --git a/app-i18n/xvnkb/metadata.xml b/app-i18n/xvnkb/metadata.xml new file mode 100644 index 000000000000..58c4996d6b03 --- /dev/null +++ b/app-i18n/xvnkb/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>cjk</herd> +<maintainer> + <email>pclouds@vnlinux.org</email> + <name>Nguyen Thai Ngoc Duy</name> + <description>Since none of us in cjk herd speak Vietnamese he helps + us a lot in Vietnamese support.</description> +</maintainer> +</pkgmetadata> diff --git a/app-i18n/xvnkb/xvnkb-0.2.8a.ebuild b/app-i18n/xvnkb/xvnkb-0.2.8a.ebuild new file mode 100644 index 000000000000..3ade7556a97a --- /dev/null +++ b/app-i18n/xvnkb/xvnkb-0.2.8a.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Id: xvnkb-0.2.8a.ebuild,v 1.1 2004/04/29 17:06:34 usata Exp $ + +inherit eutils + +IUSE="truetype" + +DESCRIPTION="Vietnamese input keyboard for X" +SRC_URI="http://xvnkb.sourceforge.net/xvnkb/${P}.tar.bz2" +HOMEPAGE="http://xvnkb.sourceforge.net/" + +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~x86" +DEPEND="virtual/x11 + truetype? ( virtual/xft )" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}.patch +} + + +src_compile() { + local myconf + + if ! use truetype ; then + myconf="${myconf} --no-xft" + fi + + econf --no-spellcheck --use-extstroke ${myconf} || die + + emake || die +} + +src_install() { + dobin xvnkb + dobin tools/xvnkb_ctrl + + dolib xvnkb.so.${PV} + dosym /usr/lib/xvnkb.so.${PV} /usr/lib/xvnkb.so + + dodoc LICENSE ChangeLog AUTHORS THANKS TODO INSTALL* README* doc/* + docinto scripts + dodoc scripts/* + docinto contrib + dodoc contrib/* +} + +pkg_postinst() { + einfo "Remember to" + einfo "$ export LANG=en_US.UTF-8" + einfo "(or any other UTF-8 locale) and" + einfo "$ export LD_PRELOAD=${DESTTREE}/lib/xvnkb.so" + einfo "before you" + einfo "$ startx" + einfo "More documents are in /usr/share/doc/${PF}" + einfo "Also note that this ebuild has spell checking disabled." +} |