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 | f0c07699e5439562b07877fc18bc38ef2609d0e4 (patch) | |
tree | e68c4171457c024f282e1c577999e0d3fb6c1f7f /app-i18n/xvnkb | |
parent | Stable x86. (diff) | |
download | historical-f0c07699e5439562b07877fc18bc38ef2609d0e4.tar.gz historical-f0c07699e5439562b07877fc18bc38ef2609d0e4.tar.bz2 historical-f0c07699e5439562b07877fc18bc38ef2609d0e4.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 | 5 | ||||
-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, 107 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..6f29fc3ed3cf --- /dev/null +++ b/app-i18n/xvnkb/Manifest @@ -0,0 +1,5 @@ +MD5 e07e0f9dcd86f8635783ceb628c374da xvnkb-0.2.8a.ebuild 1279 +MD5 b02dcd3fc45c939b67721b6dcf3e8fad metadata.xml 374 +MD5 41112dcf2293984822f8967af711d23f ChangeLog 490 +MD5 0faefa232848cec1a17d870c714d3610 files/digest-xvnkb-0.2.8a 64 +MD5 64e027bb9e5675302566859249f186b9 files/xvnkb-0.2.8a.patch 562 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." +} |