diff options
author | Mamoru Komachi <usata@gentoo.org> | 2005-04-23 12:07:29 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2005-04-23 12:07:29 +0000 |
commit | 09d596168ddb31a1531699af4e4568ee5a7e9b2b (patch) | |
tree | eb5f436f2107de85dd0b5f73de7f93a7a9b89da7 /app-i18n/unicon/files | |
parent | removed ebuild (diff) | |
download | gentoo-2-09d596168ddb31a1531699af4e4568ee5a7e9b2b.tar.gz gentoo-2-09d596168ddb31a1531699af4e4568ee5a7e9b2b.tar.bz2 gentoo-2-09d596168ddb31a1531699af4e4568ee5a7e9b2b.zip |
Added missing virtual/x11 to DEPEND. Applied gcc-3.4 patch, submitted by summoon1997 <sunmoon1997@gmail.com>; bug #74183. Thanks to Jackey Yang <043936y@acadiau.ca>.
(Portage version: 2.0.51.19)
Diffstat (limited to 'app-i18n/unicon/files')
-rw-r--r-- | app-i18n/unicon/files/digest-unicon-3.0.4-r1 | 2 | ||||
-rw-r--r-- | app-i18n/unicon/files/unicon-3.0.4-gcc34.patch | 44 | ||||
-rw-r--r-- | app-i18n/unicon/files/unicon.confd | 4 | ||||
-rwxr-xr-x | app-i18n/unicon/files/unicon.initd | 34 |
4 files changed, 84 insertions, 0 deletions
diff --git a/app-i18n/unicon/files/digest-unicon-3.0.4-r1 b/app-i18n/unicon/files/digest-unicon-3.0.4-r1 new file mode 100644 index 000000000000..837af77661c5 --- /dev/null +++ b/app-i18n/unicon/files/digest-unicon-3.0.4-r1 @@ -0,0 +1,2 @@ +MD5 465b470ca952599ac231938e58c2fdfd unicon-3.0.4-20010924.tar.gz 5771109 +MD5 406730f440474f0a27e0f62de0489cfa vd_unicon-userland-20031122vd.patch 289430 diff --git a/app-i18n/unicon/files/unicon-3.0.4-gcc34.patch b/app-i18n/unicon/files/unicon-3.0.4-gcc34.patch new file mode 100644 index 000000000000..7fa2550b5187 --- /dev/null +++ b/app-i18n/unicon/files/unicon-3.0.4-gcc34.patch @@ -0,0 +1,44 @@ +diff -urN unicon-3.0.4.orig/unicon/ImmModules/cxterm/utils/cit2tit.c unicon-3.0.4/unicon/ImmModules/cxterm/utils/cit2tit.c +--- unicon-3.0.4.orig/unicon/ImmModules/cxterm/utils/cit2tit.c 2004-12-15 14:09:18.836641936 +0800 ++++ unicon-3.0.4/unicon/ImmModules/cxterm/utils/cit2tit.c 2004-12-15 14:10:01.207200632 +0800 +@@ -29,7 +29,7 @@ + #include <ctype.h> + #include <stdio.h> + +-extern char *malloc(), *calloc(), *realloc(); ++/*extern char *malloc(), *calloc(), *realloc();*/ + + extern char *HZencodeName(); /* from HZutil.c */ + +diff -urN unicon-3.0.4.orig/unicon/ImmModules/cxterm/utils/tit2cit.c unicon-3.0.4/unicon/ImmModules/cxterm/utils/tit2cit.c +--- unicon-3.0.4.orig/unicon/ImmModules/cxterm/utils/tit2cit.c 2004-12-15 14:09:18.836641936 +0800 ++++ unicon-3.0.4/unicon/ImmModules/cxterm/utils/tit2cit.c 2004-12-15 14:11:06.249312728 +0800 +@@ -54,7 +54,7 @@ + #include <ctype.h> + #include <stdio.h> + +-extern char *malloc(), *calloc(), *realloc(); ++/*extern char *malloc(), *calloc(), *realloc();*/ + + extern int HZencode(); /* from HZutil.o */ + extern int HZgetprompt(); /* from HZutil.o */ +@@ -744,7 +744,7 @@ + Error ("Run out of memory"); + strcpy (tptr->son->hzptr, hzptr); + } else { +- tptr->son->hzptr = realloc (tptr->son->hzptr, ++ tptr->son->hzptr = (void *)realloc (tptr->son->hzptr, + strlen (tptr->son->hzptr) + strlen (hzptr) + 1); + if (tptr->son->hzptr == NULL) + Error ("Run out of memory"); +diff -urN unicon-3.0.4.orig/tools/uniconcfg.c unicon-3.0.4/tools/uniconcfg.c +--- unicon-3.0.4.orig/tools/uniconcfg.c 2004-12-14 16:57:42.000000000 +0800 ++++ unicon-3.0.4/tools/uniconcfg.c 2004-12-14 16:59:50.000000000 +0800 +@@ -214,6 +214,7 @@ + case XL_DB_GBK: + case XL_DB_EUCJP: + case XL_DB_SJIS: ++ break; + } + return 1; + } diff --git a/app-i18n/unicon/files/unicon.confd b/app-i18n/unicon/files/unicon.confd new file mode 100644 index 000000000000..a9a716db5c9a --- /dev/null +++ b/app-i18n/unicon/files/unicon.confd @@ -0,0 +1,4 @@ +# preferred encoding for tty +# define one of "gb gbk big5 jis kscm eucjp sjis" +# +#UNICON_ENCODE="eucjp" diff --git a/app-i18n/unicon/files/unicon.initd b/app-i18n/unicon/files/unicon.initd new file mode 100755 index 000000000000..b048a8e77460 --- /dev/null +++ b/app-i18n/unicon/files/unicon.initd @@ -0,0 +1,34 @@ +#!/sbin/runscript +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/unicon/files/unicon.initd,v 1.1 2005/04/23 12:07:29 usata Exp $ + +depend() { + after modules +} + +start() { + ebegin "Starting unicon" + /sbin/modprobe unikey + + if [ -n "${UNICON_ENCODE}" ] ; then + ebegin " Loading encode-${UNICON_ENCODE}" + /sbin/modprobe encode-"${UNICON_ENCODE}" + eend $? + fi + + loadunimap /usr/lib/unicon/direct.uni + + if [ -n "${UNICON_ENCODE}" ] ; then + for i in 0 1 2 3 4 5 6 ; do + /usr/bin/uniconctrl --"${UNICON_ENCODE}" tty$i + done + fi + eend $? +} + +stop() { + ebegin "Stopping unicon" + /sbin/modprobe -r unikey + eend $? +} |