summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-03-14 11:27:41 +0000
committerMamoru Komachi <usata@gentoo.org>2004-03-14 11:27:41 +0000
commitad2fcf2adf1051c0e4c4b5e2dc41135f5be56966 (patch)
tree11c7fa58da781371a69955f15e8a8bc3b1398e12 /app-i18n/zhcon
parentversion bumped. (Manifest recommit) (diff)
downloadgentoo-2-ad2fcf2adf1051c0e4c4b5e2dc41135f5be56966.tar.gz
gentoo-2-ad2fcf2adf1051c0e4c4b5e2dc41135f5be56966.tar.bz2
gentoo-2-ad2fcf2adf1051c0e4c4b5e2dc41135f5be56966.zip
Initial import. Ebuild submitted by Ray Tsang <rayt@9pnet.com>, closing bug #33746
Diffstat (limited to 'app-i18n/zhcon')
-rw-r--r--app-i18n/zhcon/ChangeLog11
-rw-r--r--app-i18n/zhcon/Manifest4
-rw-r--r--app-i18n/zhcon/files/digest-zhcon-0.2.31
-rw-r--r--app-i18n/zhcon/files/zhcon-0.2.3-assert-gentoo.diff33
-rw-r--r--app-i18n/zhcon/files/zhcon-0.2.3-gentoo.diff123
-rw-r--r--app-i18n/zhcon/metadata.xml10
-rw-r--r--app-i18n/zhcon/zhcon-0.2.3.ebuild35
7 files changed, 217 insertions, 0 deletions
diff --git a/app-i18n/zhcon/ChangeLog b/app-i18n/zhcon/ChangeLog
new file mode 100644
index 000000000000..311b13d5407f
--- /dev/null
+++ b/app-i18n/zhcon/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-i18n/zhcon
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/zhcon/ChangeLog,v 1.1 2004/03/14 11:27:41 usata Exp $
+
+*zhcon-0.2.3 (14 Mar 2004)
+
+ 14 Mar 2004; Mamoru KOMACHI <usata@gentoo.org> zhcon-0.2.3.ebuild,
+ files/zhcon-0.2.3-assert-gentoo.diff, files/zhcon-0.2.3-gentoo.diff:
+ Initial import. Ebuild submitted by Ray Tsang <rayt@9pnet.com>,
+ closing bug #33746
+
diff --git a/app-i18n/zhcon/Manifest b/app-i18n/zhcon/Manifest
new file mode 100644
index 000000000000..bb1208359075
--- /dev/null
+++ b/app-i18n/zhcon/Manifest
@@ -0,0 +1,4 @@
+MD5 5e4137f75fb9fba2ba2c358b6c43014f zhcon-0.2.3.ebuild 628
+MD5 527bb0c1a80fcb0f8c916d2be40271e4 files/zhcon-0.2.3-assert-gentoo.diff 1063
+MD5 33c30557b9d62f9593d178f718431a1b files/zhcon-0.2.3-gentoo.diff 4788
+MD5 aaa0c58daca46525014d59831e32a3b8 files/digest-zhcon-0.2.3 64
diff --git a/app-i18n/zhcon/files/digest-zhcon-0.2.3 b/app-i18n/zhcon/files/digest-zhcon-0.2.3
new file mode 100644
index 000000000000..4de71f53731a
--- /dev/null
+++ b/app-i18n/zhcon/files/digest-zhcon-0.2.3
@@ -0,0 +1 @@
+MD5 64b5d6c2d7055b4e45f4eadfd1303e8f zhcon-0.2.3.tar.gz 5030677
diff --git a/app-i18n/zhcon/files/zhcon-0.2.3-assert-gentoo.diff b/app-i18n/zhcon/files/zhcon-0.2.3-assert-gentoo.diff
new file mode 100644
index 000000000000..c9e972b29f6f
--- /dev/null
+++ b/app-i18n/zhcon/files/zhcon-0.2.3-assert-gentoo.diff
@@ -0,0 +1,33 @@
+diff -urN zhcon-0.2.3.GENTOO/src/inputclient.h zhcon-0.2.3/src/inputclient.h
+--- zhcon-0.2.3.GENTOO/src/inputclient.h 2002-05-12 12:58:28.000000000 +0900
++++ zhcon-0.2.3/src/inputclient.h 2004-03-14 17:50:44.581216200 +0900
+@@ -20,6 +20,7 @@
+ #define INPUTCLIENT_H
+
+ #include <string>
++#include <assert.h>
+ #include "console.h"
+
+ /**
+diff -urN zhcon-0.2.3.GENTOO/src/mouse.cpp zhcon-0.2.3/src/mouse.cpp
+--- zhcon-0.2.3.GENTOO/src/mouse.cpp 2002-05-27 11:51:02.000000000 +0900
++++ zhcon-0.2.3/src/mouse.cpp 2004-03-14 17:51:21.927538696 +0900
+@@ -19,6 +19,7 @@
+ #include "debug.h"
+ #include "mouse.h"
+ #include <sys/signal.h>
++#include <assert.h>
+
+ #if defined(__FreeBSD__)
+ Mouse* Mouse::pMouse = NULL;
+diff -urN zhcon-0.2.3.GENTOO/src/zhcon.cpp zhcon-0.2.3/src/zhcon.cpp
+--- zhcon-0.2.3.GENTOO/src/zhcon.cpp 2003-04-21 22:42:31.000000000 +0900
++++ zhcon-0.2.3/src/zhcon.cpp 2004-03-14 17:50:15.836586048 +0900
+@@ -47,6 +47,7 @@
+ #include <stdexcept>
+ #include <algorithm>
+ #include <locale.h>
++#include <assert.h>
+
+ #include "global.h"
+ #include "console.h"
diff --git a/app-i18n/zhcon/files/zhcon-0.2.3-gentoo.diff b/app-i18n/zhcon/files/zhcon-0.2.3-gentoo.diff
new file mode 100644
index 000000000000..fa1f612607be
--- /dev/null
+++ b/app-i18n/zhcon/files/zhcon-0.2.3-gentoo.diff
@@ -0,0 +1,123 @@
+diff -urN zhcon-0.2.3.ORIG/doc/Makefile.am zhcon-0.2.3/doc/Makefile.am
+--- zhcon-0.2.3.ORIG/doc/Makefile.am 2002-05-18 22:58:02.000000000 +0900
++++ zhcon-0.2.3/doc/Makefile.am 2003-11-05 07:42:04.000000000 +0900
+@@ -3,8 +3,8 @@
+ EXTRA_DIST = zhcon.1.in poem.big5 poem.gb bpsf.txt manual.tex manual.dvi manual.ps html.tar.gz
+
+ install-data-local:
+- $(mkinstalldirs) $(mandir)/man1/
+- $(INSTALL_DATA) $(srcdir)/zhcon.1 $(mandir)/man1/zhcon.1
++ $(mkinstalldirs) $(DESTDIR)$(mandir)/man1/
++ $(INSTALL_DATA) $(srcdir)/zhcon.1 $(DESTDIR)$(mandir)/man1/zhcon.1
+
+ uninstall-local:
+- -rm -f $(mandir)/man1/zhcon.1
++ -rm -f $(DESTDIR)$(mandir)/man1/zhcon.1
+diff -urN zhcon-0.2.3.ORIG/doc/Makefile.in zhcon-0.2.3/doc/Makefile.in
+--- zhcon-0.2.3.ORIG/doc/Makefile.in 2003-04-17 20:29:47.000000000 +0900
++++ zhcon-0.2.3/doc/Makefile.in 2003-11-05 07:43:05.000000000 +0900
+@@ -226,11 +226,11 @@
+
+
+ install-data-local:
+- $(mkinstalldirs) $(mandir)/man1/
+- $(INSTALL_DATA) $(srcdir)/zhcon.1 $(mandir)/man1/zhcon.1
++ $(mkinstalldirs) $(DESTDIR)$(mandir)/man1/
++ $(INSTALL_DATA) $(srcdir)/zhcon.1 $(DESTDIR)$(mandir)/man1/zhcon.1
+
+ uninstall-local:
+- -rm -f $(mandir)/man1/zhcon.1
++ -rm -f $(DESTDIR)$(mandir)/man1/zhcon.1
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -urN zhcon-0.2.3.ORIG/font/Makefile.am zhcon-0.2.3/font/Makefile.am
+--- zhcon-0.2.3.ORIG/font/Makefile.am 2002-05-12 12:58:59.000000000 +0900
++++ zhcon-0.2.3/font/Makefile.am 2003-11-05 07:50:47.000000000 +0900
+@@ -1,8 +1,8 @@
+ EXTRA_DIST = *.bpsf
+
+ install-data-local:
+- $(mkinstalldirs) $(libdir)/zhcon/font/
+- $(INSTALL_DATA) $(srcdir)/*.bpsf $(libdir)/zhcon/font/
++ $(mkinstalldirs) $(DESTDIR)$(libdir)/zhcon/font/
++ $(INSTALL_DATA) $(srcdir)/*.bpsf $(DESTDIR)$(libdir)/zhcon/font/
+
+ uninstall-local:
+- -rm -f $(libdir)/zhcon/font/*.bpsf
++ -rm -f $(DESTDIR)$(libdir)/zhcon/font/*.bpsf
+diff -urN zhcon-0.2.3.ORIG/font/Makefile.in zhcon-0.2.3/font/Makefile.in
+--- zhcon-0.2.3.ORIG/font/Makefile.in 2003-04-17 20:29:47.000000000 +0900
++++ zhcon-0.2.3/font/Makefile.in 2003-11-05 07:50:59.000000000 +0900
+@@ -222,11 +222,11 @@
+
+
+ install-data-local:
+- $(mkinstalldirs) $(libdir)/zhcon/font/
+- $(INSTALL_DATA) $(srcdir)/*.bpsf $(libdir)/zhcon/font/
++ $(mkinstalldirs) $(DESTDIR)$(libdir)/zhcon/font/
++ $(INSTALL_DATA) $(srcdir)/*.bpsf $(DESTDIR)$(libdir)/zhcon/font/
+
+ uninstall-local:
+- -rm -f $(libdir)/zhcon/font/*.bpsf
++ -rm -f $(DESTDIR)$(libdir)/zhcon/font/*.bpsf
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -urN zhcon-0.2.3.ORIG/input/Makefile.am zhcon-0.2.3/input/Makefile.am
+--- zhcon-0.2.3.ORIG/input/Makefile.am 2002-05-12 12:58:31.000000000 +0900
++++ zhcon-0.2.3/input/Makefile.am 2003-11-05 07:47:23.000000000 +0900
+@@ -1,8 +1,8 @@
+ EXTRA_DIST = *.mb
+
+ install-data-local:
+- $(mkinstalldirs) $(libdir)/zhcon/input/
+- $(INSTALL_DATA) $(srcdir)/*.mb $(libdir)/zhcon/input/
++ $(mkinstalldirs) $(DESTDIR)$(libdir)/zhcon/input/
++ $(INSTALL_DATA) $(srcdir)/*.mb $(DESTDIR)$(libdir)/zhcon/input/
+
+ uninstall-local:
+- -rm -f $(libdir)/zhcon/input/*.mb
++ -rm -f $(DESTDIR)$(libdir)/zhcon/input/*.mb
+diff -urN zhcon-0.2.3.ORIG/input/Makefile.in zhcon-0.2.3/input/Makefile.in
+--- zhcon-0.2.3.ORIG/input/Makefile.in 2003-04-17 20:29:47.000000000 +0900
++++ zhcon-0.2.3/input/Makefile.in 2003-11-05 07:47:38.000000000 +0900
+@@ -222,11 +222,11 @@
+
+
+ install-data-local:
+- $(mkinstalldirs) $(libdir)/zhcon/input/
+- $(INSTALL_DATA) $(srcdir)/*.mb $(libdir)/zhcon/input/
++ $(mkinstalldirs) $(DESTDIR)$(libdir)/zhcon/input/
++ $(INSTALL_DATA) $(srcdir)/*.mb $(DESTDIR)$(libdir)/zhcon/input/
+
+ uninstall-local:
+- -rm -f $(libdir)/zhcon/input/*.mb
++ -rm -f $(DESTDIR)$(libdir)/zhcon/input/*.mb
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -urN zhcon-0.2.3.ORIG/src/Makefile.am zhcon-0.2.3/src/Makefile.am
+--- zhcon-0.2.3.ORIG/src/Makefile.am 2003-04-17 20:27:28.000000000 +0900
++++ zhcon-0.2.3/src/Makefile.am 2003-11-05 07:37:27.000000000 +0900
+@@ -8,7 +8,7 @@
+ SUBDIRS = display
+
+ install-exec-local:
+- chmod 4755 $(bindir)/zhcon
++ chmod 4755 $(DESTDIR)$(bindir)/zhcon
+
+ install-data-local:
+ $(mkinstalldirs) $(DESTDIR)/etc
+diff -urN zhcon-0.2.3.ORIG/src/Makefile.in zhcon-0.2.3/src/Makefile.in
+--- zhcon-0.2.3.ORIG/src/Makefile.in 2003-04-17 20:29:48.000000000 +0900
++++ zhcon-0.2.3/src/Makefile.in 2003-11-05 07:37:16.000000000 +0900
+@@ -474,7 +474,7 @@
+
+
+ install-exec-local:
+- chmod 4755 $(bindir)/zhcon
++ chmod 4755 $(DESTDIR)$(bindir)/zhcon
+
+ install-data-local:
+ $(mkinstalldirs) $(DESTDIR)/etc
diff --git a/app-i18n/zhcon/metadata.xml b/app-i18n/zhcon/metadata.xml
new file mode 100644
index 000000000000..e9247d69960d
--- /dev/null
+++ b/app-i18n/zhcon/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>cjk</herd>
+<longdescription>zhcon is a Fast double-byte virtual console for
+Chinese/Japanese/Korean (CJK) running under GNU/Linux and FreeBSD.
+It adds the ability of displaying and inputting CJK double-byte
+characters on console device. Currently Japanese display and input
+function seems to be broken.</longdescription>
+</pkgmetadata>
diff --git a/app-i18n/zhcon/zhcon-0.2.3.ebuild b/app-i18n/zhcon/zhcon-0.2.3.ebuild
new file mode 100644
index 000000000000..f2a27c9683c3
--- /dev/null
+++ b/app-i18n/zhcon/zhcon-0.2.3.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/zhcon/zhcon-0.2.3.ebuild,v 1.1 2004/03/14 11:27:41 usata Exp $
+
+DESCRIPTION="A Fast CJK (Chinese/Japanese/Korean) Console Environment"
+HOMEPAGE="http://zhcon.sourceforge.net/"
+SRC_URI="mirror://sourceforge/zhcon/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE=""
+
+DEPEND="virtual/glibc"
+#RDEPEND=""
+
+src_unpack() {
+
+ unpack ${A}
+ epatch ${FILESDIR}/${P}-gentoo.diff
+ epatch ${FILESDIR}/${P}-assert-gentoo.diff
+}
+
+src_compile() {
+
+ autoconf || die
+ econf || die
+ emake || die
+}
+
+src_install() {
+
+ make DESTDIR=${D} install || die
+}