diff options
author | Yamakura Makoto <yakina@gentoo.org> | 2003-06-20 13:49:29 +0000 |
---|---|---|
committer | Yamakura Makoto <yakina@gentoo.org> | 2003-06-20 13:49:29 +0000 |
commit | 60ca3f15a2e7e8fe3cb96511ba84c4c1cc98a70d (patch) | |
tree | 25528977a3cd5193ce58a478e72c95401052378e /x11-terms/kterm | |
parent | wallpaper and better japanese support (diff) | |
download | gentoo-2-60ca3f15a2e7e8fe3cb96511ba84c4c1cc98a70d.tar.gz gentoo-2-60ca3f15a2e7e8fe3cb96511ba84c4c1cc98a70d.tar.bz2 gentoo-2-60ca3f15a2e7e8fe3cb96511ba84c4c1cc98a70d.zip |
wallpaper and better japanese support
Diffstat (limited to 'x11-terms/kterm')
-rw-r--r-- | x11-terms/kterm/ChangeLog | 10 | ||||
-rw-r--r-- | x11-terms/kterm/Manifest | 4 | ||||
-rw-r--r-- | x11-terms/kterm/files/digest-kterm-6.2.0-r1 | 3 | ||||
-rw-r--r-- | x11-terms/kterm/kterm-6.2.0-r1.ebuild | 82 |
4 files changed, 96 insertions, 3 deletions
diff --git a/x11-terms/kterm/ChangeLog b/x11-terms/kterm/ChangeLog index d05f8dcb8015..b1f3a11d3ea8 100644 --- a/x11-terms/kterm/ChangeLog +++ b/x11-terms/kterm/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for x11-terms/kterm # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-terms/kterm/ChangeLog,v 1.3 2003/02/12 09:44:54 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-terms/kterm/ChangeLog,v 1.4 2003/06/20 13:49:22 yakina Exp $ + +*kterm-6.2.0-r1 (20 Jun 2003) + + 20 Jun 2003; YAMAKURA Makoto <yakina@gentoo.org> kterm-6.2.0-r1.ebuild, + digest-kterm-6.2.0-r1: + + Wallpaper support, JIS0213 support and pretty easy defaults for Japanese + users. Ebuild submitted by Mamoru KOMACHI <usata@sodan.ecc.u-tokyo.ac.jp> (#22757). *kterm-6.2.0 (12 Aug 2002) diff --git a/x11-terms/kterm/Manifest b/x11-terms/kterm/Manifest index 369f8044154c..fa733f8a7489 100644 --- a/x11-terms/kterm/Manifest +++ b/x11-terms/kterm/Manifest @@ -1,6 +1,6 @@ MD5 169136d8487e2dd2dfc5392ffc92a1c6 kterm-6.2.0.ebuild 888 -MD5 4a94d8dbb1b014e964ab78a0833a6172 ChangeLog 582 -MD5 72f3cc51a2296284c9beeb2c875edac5 kterm-6.2.0-r1.ebuild 1841 +MD5 b814bd486818311dc0dbae2c662e455e ChangeLog 875 +MD5 2d2c38d065b8eccfaebaf9632c22815f kterm-6.2.0-r1.ebuild 1941 MD5 60f864908bc68079f6edb20c923f280f files/kterm-6.2.0-gentoo.patch 1519 MD5 a56faea61552cc728261f1021372c95d files/digest-kterm-6.2.0-r1 200 MD5 225ceb359c6916aa3089ff08f98ee36f files/digest-kterm-6.2.0 63 diff --git a/x11-terms/kterm/files/digest-kterm-6.2.0-r1 b/x11-terms/kterm/files/digest-kterm-6.2.0-r1 new file mode 100644 index 000000000000..a506138241ff --- /dev/null +++ b/x11-terms/kterm/files/digest-kterm-6.2.0-r1 @@ -0,0 +1,3 @@ +MD5 9cc72841b50dfba92bce01dbbebf3039 kterm-6.2.0.tar.gz 200448 +MD5 9b7f06ce63fa06a656e45b752f8f6240 kterm-6.2.0-wpi.patch.gz 6629 +MD5 f68251692cb979c0c3bb39fb26843ae8 kterm-6.2.0.ext02.patch.gz 15290 diff --git a/x11-terms/kterm/kterm-6.2.0-r1.ebuild b/x11-terms/kterm/kterm-6.2.0-r1.ebuild new file mode 100644 index 000000000000..c1737417061a --- /dev/null +++ b/x11-terms/kterm/kterm-6.2.0-r1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-terms/kterm/kterm-6.2.0-r1.ebuild,v 1.1 2003/06/20 13:49:22 yakina Exp $ + +IUSE="" + +DESCRIPTION="Japanese Kanji X Terminal" +SRC_URI="ftp://ftp.x.org/contrib/applications/${P}.tar.gz + http://www.asahi-net.or.jp/~hc3j-tkg/kterm/${P}-wpi.patch.gz + http://www.st.rim.or.jp/~hanataka/${P}.ext02.patch.gz" +# until someone who reads japanese can find a better place +HOMEPAGE="http://www.asahi-net.or.jp/~hc3j-tkg/kterm/" +LICENSE="X11" +SLOT="0" +KEYWORDS="~x86" + +S=${WORKDIR}/${P} + +DEPEND="virtual/x11 + sys-libs/ncurses + app-i18n/nkf" +RDEPEND="virtual/x11 + sys-libs/ncurses" + +src_unpack(){ + unpack ${A} + + cd ${S} + epatch ${WORKDIR}/${P}-wpi.patch # wallpaper patch + epatch ${WORKDIR}/${P}.ext02.patch # JIS 0213 support + epatch ${FILESDIR}/kterm-6.2.0-gentoo.patch +} + +src_compile(){ + + cat <<-EOF>>KTerm.ad + + ! default values added by portage + *VT100*kanjiMode: euc + *inputMethod: kinput2 + *openIm: true + ! To use wallpaper + !*wallPaper: /path/to/filename.xpm + EOF + + xmkmf -a || die + emake || die +} + +src_install(){ + einstall DESTDIR=${D} || die "install binary failed" + + # install man pages + mv kterm.man kterm.1 + doman kterm.1 + mkdir -p ${D}/usr/share/man/ja/man1 + nkf -e kterm.jman > kterm.jman.euc + install -c -m 644 kterm.jman.euc ${D}/usr/share/man/ja/man1/kterm.1 \ + || die "install jman failed" + + if [ ! -e /usr/share/terminfo/k/kterm ]; + then + cd {S} + tic terminfo.kt -o${D}/usr/share/terminfo || die "tic failed" + fi + + dodoc README.kt +} + +pkg_postinst() { + einfo "" + einfo "KTerm wallpaper support is enabled." + einfo "In order to use this feature," + einfo "you need specify favourite xpm file with -wp option" + einfo "" + einfo " % kterm -wp filename.xpm" + einfo "" + einfo "or set it with X resource" + einfo "" + einfo " KTerm*wallPaper: /path/to/filename.xpm" + einfo "" +} |