summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2003-11-24 14:11:18 +0000
committerMamoru Komachi <usata@gentoo.org>2003-11-24 14:11:18 +0000
commitff6fc6f79475180052c2b480377e63e5a34b44a8 (patch)
tree29d852afbfc005e9f5e87d53e430c8dde08bbd07 /app-i18n/fbiterm
parentNew ebuild. See bug #27700 (diff)
downloadgentoo-2-ff6fc6f79475180052c2b480377e63e5a34b44a8.tar.gz
gentoo-2-ff6fc6f79475180052c2b480377e63e5a34b44a8.tar.bz2
gentoo-2-ff6fc6f79475180052c2b480377e63e5a34b44a8.zip
New ebuild. See bug #27700
Diffstat (limited to 'app-i18n/fbiterm')
-rw-r--r--app-i18n/fbiterm/ChangeLog11
-rw-r--r--app-i18n/fbiterm/Manifest4
-rw-r--r--app-i18n/fbiterm/fbiterm-0.5.ebuild58
-rw-r--r--app-i18n/fbiterm/files/digest-fbiterm-0.51
-rw-r--r--app-i18n/fbiterm/files/fbiterm-0.5-gentoo.diff26
-rw-r--r--app-i18n/fbiterm/metadata.xml5
6 files changed, 104 insertions, 1 deletions
diff --git a/app-i18n/fbiterm/ChangeLog b/app-i18n/fbiterm/ChangeLog
new file mode 100644
index 000000000000..a23cd1c68799
--- /dev/null
+++ b/app-i18n/fbiterm/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-i18n/fbiterm
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/fbiterm/ChangeLog,v 1.1 2003/11/24 14:11:10 usata Exp $
+
+*fbiterm-0.5 (24 Nov 2003)
+
+ 24 Nov 2003; Mamoru KOMACHI <usata@gentoo.org> fbiterm-0.5.ebuild,
+ files/fbiterm-0.5-gentoo.diff:
+ Initial import. Ebuild submitted by Zhen Lin <lowzl@hotmail.com>.
+ See bug #27700.
+
diff --git a/app-i18n/fbiterm/Manifest b/app-i18n/fbiterm/Manifest
index 7faaba00daaa..e60831626854 100644
--- a/app-i18n/fbiterm/Manifest
+++ b/app-i18n/fbiterm/Manifest
@@ -1,3 +1,5 @@
-MD5 cd5875a55a3ab9f201322ad1bec1906f fbiterm-0.5.ebuild 1493
+MD5 f446b24facfe0c01edbec4dc6de4d360 fbiterm-0.5.ebuild 1486
+MD5 e92a48548554c80cf90e18df17ff6a82 metadata.xml 156
+MD5 088279d36c4015d8895ba4f339a065a8 ChangeLog 430
MD5 0813681326745569ec2c29c8d7d3398f files/fbiterm-0.5-gentoo.diff 1218
MD5 ed7268ee020bd1601e31e83745bd578a files/digest-fbiterm-0.5 61
diff --git a/app-i18n/fbiterm/fbiterm-0.5.ebuild b/app-i18n/fbiterm/fbiterm-0.5.ebuild
new file mode 100644
index 000000000000..338d0879602a
--- /dev/null
+++ b/app-i18n/fbiterm/fbiterm-0.5.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/fbiterm/fbiterm-0.5.ebuild,v 1.1 2003/11/24 14:11:10 usata Exp $
+
+DESCRIPTION="Framebuffer internationalized terminal emulator"
+HOMEPAGE="http://www-124.ibm.com/linux/projects/iterm/"
+SRC_URI="http://www-124.ibm.com/linux/projects/iterm/releases/iterm-${PV}.tar.gz"
+
+LICENSE="CPL-0.5"
+SLOT="0"
+KEYWORDS="~x86"
+DEPEND="virtual/x11
+ x11-libs/libiterm-mbt
+ sys-libs/zlib
+ media-fonts/unifont"
+
+S=${WORKDIR}/iterm/unix/fbiterm
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-gentoo.diff
+}
+
+src_compile() {
+
+ econf || die
+ emake || die
+}
+
+src_install() {
+
+ einstall || die
+
+ dodoc AUTHORS ChangeLog README*
+}
+
+pkg_postinst() {
+ einfo
+ einfo "1. If you haven't created your locale, run localedef."
+ einfo "# localedef -v -c -i en_GB -f UTF-8 en_GB.UTF-8"
+ einfo "(If you want to use other locales such as Japanese, replace"
+ einfo "en_GB with ja_JP and en_GB.UTF-8 with ja_JP.UTF-8, respectively)"
+ einfo
+ einfo "2. Set enviroment variable."
+ einfo "% export LC_CTYPE=en_GB.UTF-8 (sh, bash, zsh, ...)"
+ einfo "> setenv LC_CTYPE en_GB.UTF-8 (csh, tcsh, ...)"
+ einfo "(Again, if you want to use Japanese locale, create ja_JP.UTF-8"
+ einfo " locale by localedef and set LC_CTYPE to ja_JP.UTF-8)"
+ einfo
+ einfo "3. Run unicode_start."
+ einfo "% unicode_start"
+ einfo
+ einfo "4. Run fbiterm."
+ einfo "% fbiterm"
+ einfo
+}
diff --git a/app-i18n/fbiterm/files/digest-fbiterm-0.5 b/app-i18n/fbiterm/files/digest-fbiterm-0.5
new file mode 100644
index 000000000000..4be423c0d7f6
--- /dev/null
+++ b/app-i18n/fbiterm/files/digest-fbiterm-0.5
@@ -0,0 +1 @@
+MD5 adb1380e7d11027253ab038a074d1d48 iterm-0.5.tar.gz 608170
diff --git a/app-i18n/fbiterm/files/fbiterm-0.5-gentoo.diff b/app-i18n/fbiterm/files/fbiterm-0.5-gentoo.diff
new file mode 100644
index 000000000000..18828bd2d360
--- /dev/null
+++ b/app-i18n/fbiterm/files/fbiterm-0.5-gentoo.diff
@@ -0,0 +1,26 @@
+diff -urN fbiterm.ORIG/src/Makefile.in fbiterm/src/Makefile.in
+--- fbiterm.ORIG/src/Makefile.in 2002-12-17 16:40:00.000000000 +0900
++++ fbiterm/src/Makefile.in 2003-11-24 22:38:48.000000000 +0900
+@@ -78,7 +78,7 @@
+ fbiterm_SOURCES = fbiterm.c fb.c fb_true8.c fb_true16.c fb_true24.c fb_true32.c font.c font_stubs.c input.c term.c util.c vt.c VTScreenView.c fbiterm.h palette.h VTScreenView.h
+
+
+-fbiterm_LDADD = -L$(libdir) @X_LIBS@ -lXfont -literm
++fbiterm_LDADD = -L$(libdir) @X_LIBS@ -lm -lXfont -literm
+
+
+ CFLAGS = -I$(includedir) @X_CFLAGS@ -I$(top_srcdir)/include -I/usr/local/include $(EXTRA_CFLAGS)
+diff -urN fbiterm.ORIG/src/fbiterm.h fbiterm/src/fbiterm.h
+--- fbiterm.ORIG/src/fbiterm.h 2002-10-24 21:44:01.000000000 +0900
++++ fbiterm/src/fbiterm.h 2003-11-24 22:41:11.000000000 +0900
+@@ -53,8 +53,8 @@
+ #define FB_ENV "FRAMEBUFFER"
+ #define FB_DEFDEV "/dev/fb0"
+
+-#define DefaultAsc "/usr/lib/X11/fonts/misc/8x16.pcf.gz"
+-#define DefaultMB "/usr/lib/X11/fonts/misc/unifont.pcf.gz"
++#define DefaultAsc "/usr/X11R6/lib/X11/fonts/misc/8x16.pcf.gz"
++#define DefaultMB "/usr/share/fonts/unifont/unifont.pcf.gz"
+ #define DefaultFont "/usr/local/share/iterm/fonts/8x16.pcf.gz"
+
+ enum ITERM_RETCODE
diff --git a/app-i18n/fbiterm/metadata.xml b/app-i18n/fbiterm/metadata.xml
new file mode 100644
index 000000000000..2d5852c16c60
--- /dev/null
+++ b/app-i18n/fbiterm/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>