diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-i18n/xvnkb | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-i18n/xvnkb')
-rw-r--r-- | app-i18n/xvnkb/Manifest | 2 | ||||
-rw-r--r-- | app-i18n/xvnkb/files/0.2.8a-putenv.patch | 11 | ||||
-rw-r--r-- | app-i18n/xvnkb/files/xvnkb-0.2.8a.patch | 16 | ||||
-rw-r--r-- | app-i18n/xvnkb/files/xvnkb-0.2.9a-ldflags.patch | 34 | ||||
-rw-r--r-- | app-i18n/xvnkb/metadata.xml | 5 | ||||
-rw-r--r-- | app-i18n/xvnkb/xvnkb-0.2.8a-r1.ebuild | 69 | ||||
-rw-r--r-- | app-i18n/xvnkb/xvnkb-0.2.9a-r1.ebuild | 65 |
7 files changed, 202 insertions, 0 deletions
diff --git a/app-i18n/xvnkb/Manifest b/app-i18n/xvnkb/Manifest new file mode 100644 index 000000000000..db8766c8a54e --- /dev/null +++ b/app-i18n/xvnkb/Manifest @@ -0,0 +1,2 @@ +DIST xvnkb-0.2.8a.tar.bz2 76221 SHA256 3503ef1d24041cccc447f5f93025945fda07d519a0120183c6b4af9a66e86eb2 SHA512 76ed49fec52fbcfa4a81a7d80208b3f11d911695e2f8f37d9fbb5e6e1899ffffa722c26a577d4236dfd459769d08d0180593ee0db971910b0cd62e77c49516d5 WHIRLPOOL fb44a516c9ee873f7d49b8a4ab2a6f1cdf56af36c984e0709141d39ffd901a81d5df8ab09b0de96fd6750929b8f4924c53cb591fad1246810f2e1e8c648965b8 +DIST xvnkb-0.2.9a.tar.bz2 76429 SHA256 316eccadbf73fac7bf55db3f179ffb985a87f22c48d38cfab87e3dcdb8230cb7 SHA512 3dbf4adb65f321d721fc74e05e92d2d1460e63c49e8a1ab2e10ab9f015e1a57bd3e641645d1283f1d0c5592eb7b342bf210d9fcab9ba441b6416c2f8fd1af6da WHIRLPOOL fb52992dc644d20735c2c8ac986bcd591c5c39bdd21c5bdef9ad451b676abda67dc0c7cecba241fcc0896bfd12dfe0212f9396bc353064fbc48518768cc169e1 diff --git a/app-i18n/xvnkb/files/0.2.8a-putenv.patch b/app-i18n/xvnkb/files/0.2.8a-putenv.patch new file mode 100644 index 000000000000..ef7827e20fe8 --- /dev/null +++ b/app-i18n/xvnkb/files/0.2.8a-putenv.patch @@ -0,0 +1,11 @@ +--- xvnkb.c.old 2005-05-04 22:11:50.323413496 +0700 ++++ xvnkb.c 2005-05-04 22:12:01.212758064 +0700 +@@ -77,7 +77,7 @@ + static void __attribute__ ((constructor)) xvnkb_init(void) + { + static char gtk_xim_env[24] = "GTK_IM_MODULE=xim"; +- putenv(gtk_xim_env); ++ /*putenv(gtk_xim_env);*/ + /* TODO: + - Initialize some more variables + */ 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/files/xvnkb-0.2.9a-ldflags.patch b/app-i18n/xvnkb/files/xvnkb-0.2.9a-ldflags.patch new file mode 100644 index 000000000000..f089f0dde899 --- /dev/null +++ b/app-i18n/xvnkb/files/xvnkb-0.2.9a-ldflags.patch @@ -0,0 +1,34 @@ +diff --git a/Makefile.common b/Makefile.common +index 06f0b78..d9f8976 100644 +--- a/Makefile.common ++++ b/Makefile.common +@@ -19,10 +19,10 @@ all: do-it-all + $(CC) -fpic $(CFLAGS) $(FPTR) $(VK_OPT) -DVERSION=\"$(VERSION)\" -Wall -I$(XLIB_INC) -c $< + + $(CORE): $(CORE_OBJS) +- $(CC) $(CFLAGS) $(DLFLAGS) $(CORE_OBJS) -o $@ -L$(XLIB_PATH) $(LIBDL) ++ $(CC) $(CFLAGS) $(DLFLAGS) $(CORE_OBJS) -o $@ -L$(XLIB_PATH) $(LIBDL) $(LDFLAGS) + + $(GUI): $(GUI_OBJS) +- $(CC) $(CFLAGS) $(GUI_OBJS) -o $@ -L$(XLIB_PATH) $(LIBS) $(XFT_LIBS) ++ $(CC) $(CFLAGS) $(GUI_OBJS) -o $@ -L$(XLIB_PATH) $(LIBS) $(XFT_LIBS) $(LDFLAGS) + + main: $(CORE) $(GUI) + @echo >/dev/null +diff --git a/tools/Makefile.common b/tools/Makefile.common +index fe16cc1..16ec511 100644 +--- a/tools/Makefile.common ++++ b/tools/Makefile.common +@@ -16,10 +16,10 @@ all: do-it-all + $(CC) $(CFLAGS) $(DEFS) -Wall -I$(XLIB_INC) -c $< + + xvnkb_ctrl: $(CONTROL_OBJS) +- $(CC) $(CFLAGS) -o $@ $(CONTROL_OBJS) -L$(XLIB_PATH) $(LIBS) ++ $(CC) $(CFLAGS) -o $@ $(CONTROL_OBJS) -L$(XLIB_PATH) $(LIBS) $(LDFLAGS) + + xvnkb_setup: $(SETUP_OBJS) +- $(CC) $(CFLAGS) -o $@ $(SETUP_OBJS) -L$(XLIB_PATH) $(LIBS) $(XFT_LIBS) ++ $(CC) $(CFLAGS) -o $@ $(SETUP_OBJS) -L$(XLIB_PATH) $(LIBS) $(XFT_LIBS) $(LDFLAGS) + + main-tools: $(TOOLS) + diff --git a/app-i18n/xvnkb/metadata.xml b/app-i18n/xvnkb/metadata.xml new file mode 100644 index 000000000000..cb36a2fd8c76 --- /dev/null +++ b/app-i18n/xvnkb/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>cjk</herd> +</pkgmetadata> diff --git a/app-i18n/xvnkb/xvnkb-0.2.8a-r1.ebuild b/app-i18n/xvnkb/xvnkb-0.2.8a-r1.ebuild new file mode 100644 index 000000000000..a2224e57cd8e --- /dev/null +++ b/app-i18n/xvnkb/xvnkb-0.2.8a-r1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +IUSE="spell xft" + +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 ppc" +RDEPEND="x11-libs/libX11 + xft? ( x11-libs/libXft )" +DEPEND="${RDEPEND} + x11-proto/xproto" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}.patch" + epatch "${FILESDIR}/${PV}-putenv.patch" + + # Remove pregenerated dep file. + rm -f "${S}/tools/Makefile.dep" +} + +src_compile() { + local myconf + + use spell || myconf="${myconf} --no-spellcheck" + use xft || myconf="${myconf} --no-xft" + + # *not* autotools + ./configure \ + --use-extstroke ${myconf} \ + || die "./configure failed" + + emake || die "emake failed" +} + +src_install() { + dobin xvnkb + dobin tools/xvnkb_ctrl + + dolib xvnkb.so.${PV} + dosym /usr/lib/xvnkb.so.${PV} /usr/lib/xvnkb.so + + dodoc ChangeLog AUTHORS THANKS TODO INSTALL* README* doc/* + docinto scripts + dodoc scripts/* + docinto contrib + dodoc contrib/* +} + +pkg_postinst() { + elog "Remember to" + elog "$ export LANG=en_US.UTF-8" + elog "(or any other UTF-8 locale) and" + elog "$ export LD_PRELOAD=${DESTTREE}/lib/xvnkb.so" + elog "before starting X Window" + elog "More documents are in /usr/share/doc/${PF}" + ewarn "Programs with suid/sgid will have LD_PRELOAD cleared" + ewarn "You have to unset suid/sgid to use with xvnkb" +} diff --git a/app-i18n/xvnkb/xvnkb-0.2.9a-r1.ebuild b/app-i18n/xvnkb/xvnkb-0.2.9a-r1.ebuild new file mode 100644 index 000000000000..e7489aff925f --- /dev/null +++ b/app-i18n/xvnkb/xvnkb-0.2.9a-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils multilib toolchain-funcs + +IUSE="spell xft" + +DESCRIPTION="Vietnamese input keyboard for X" +SRC_URI="http://xvnkb.sourceforge.net/${P}.tar.bz2" +HOMEPAGE="http://xvnkb.sourceforge.net/" + +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +RDEPEND="x11-libs/libX11 + xft? ( x11-libs/libXft )" +DEPEND="${RDEPEND} + x11-proto/xproto" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-ldflags.patch +} + +src_compile() { + local myconf + + tc-export CC + + use spell || myconf="${myconf} --no-spellcheck" + use xft || myconf="${myconf} --no-xft" + + # *not* autotools + ./configure \ + --use-extstroke ${myconf} \ + || die "./configure failed" + + emake || die "emake failed" +} + +src_install() { + dobin xvnkb + dobin tools/xvnkb_ctrl + + dolib xvnkb.so.${PV} + dosym xvnkb.so.${PV} /usr/$(get_libdir)/xvnkb.so + + dodoc ChangeLog AUTHORS THANKS TODO README* doc/* + docinto scripts; dodoc scripts/* + docinto contrib; dodoc contrib/* +} + +pkg_postinst() { + elog "Remember to" + elog "$ export LANG=en_US.UTF-8" + elog "(or any other UTF-8 locale) and" + elog "$ export LD_PRELOAD=${DESTTREE}/lib/xvnkb.so" + elog "before starting X Window" + elog "More documents are in /usr/share/doc/${PF}" + ewarn "Programs with suid/sgid will have LD_PRELOAD cleared" + ewarn "You have to unset suid/sgid to use with xvnkb" +} |