Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-terms/kterm/
Date: Sun, 01 Apr 2018 23:57:04
Message-Id: 1522626752.a6cdea0f065c40cf5e0cf6475a39a71795d32547.mattst88@gentoo
1 commit: a6cdea0f065c40cf5e0cf6475a39a71795d32547
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 1 23:52:24 2018 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 1 23:52:32 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6cdea0f
7
8 x11-terms/kterm: Drop old
9
10 Closes: https://bugs.gentoo.org/649082
11
12 x11-terms/kterm/kterm-6.2.0-r5.ebuild | 77 -----------------------------------
13 1 file changed, 77 deletions(-)
14
15 diff --git a/x11-terms/kterm/kterm-6.2.0-r5.ebuild b/x11-terms/kterm/kterm-6.2.0-r5.ebuild
16 deleted file mode 100644
17 index 0cc9218fde1..00000000000
18 --- a/x11-terms/kterm/kterm-6.2.0-r5.ebuild
19 +++ /dev/null
20 @@ -1,77 +0,0 @@
21 -# Copyright 1999-2018 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=4
25 -
26 -inherit eutils flag-o-matic toolchain-funcs
27 -
28 -DESCRIPTION="Japanese Kanji X Terminal"
29 -#HOMEPAGE="http://www.asahi-net.or.jp/~hc3j-tkg/kterm/"
30 -HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
31 -SRC_URI="mirror://gentoo/${P}.tar.gz
32 - mirror://gentoo/${P}-wpi.patch.gz
33 - mirror://gentoo/${P}.ext02.patch.gz"
34 -
35 -LICENSE="MIT HPND XC"
36 -SLOT="0"
37 -KEYWORDS="-alpha amd64 ~ppc ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
38 -IUSE="Xaw3d"
39 -
40 -RDEPEND="app-text/rman
41 - sys-libs/ncurses
42 - x11-libs/libXmu
43 - x11-libs/libXpm
44 - x11-libs/libxkbfile
45 - x11-libs/libXaw
46 - x11-libs/libXp
47 - Xaw3d? ( x11-libs/libXaw3d )"
48 -DEPEND="${RDEPEND}
49 - x11-misc/gccmakedep
50 - x11-misc/imake"
51 -
52 -src_prepare(){
53 - epatch "${WORKDIR}"/${P}-wpi.patch # wallpaper patch
54 - epatch "${WORKDIR}"/${P}.ext02.patch # JIS 0213 support
55 - epatch "${FILESDIR}"/${PN}-openpty.patch
56 - epatch "${FILESDIR}"/${PN}-gentoo.patch
57 - epatch "${FILESDIR}"/${PN}-ad-gentoo.patch
58 - epatch "${FILESDIR}"/${PN}-underline.patch
59 - use Xaw3d && epatch "${FILESDIR}"/${PN}-Xaw3d.patch
60 -}
61 -
62 -src_compile(){
63 - PKG_CONFIG=$(tc-getPKG_CONFIG)
64 - xmkmf -a || die
65 - emake CC="$(tc-getCC)" CDEBUGFLAGS="${CFLAGS}" \
66 - LOCAL_LDFLAGS="${LDFLAGS} $($PKG_CONFIG --libs ncurses)" \
67 - XAPPLOADDIR="${EPREFIX}"/usr/share/X11/app-defaults
68 -}
69 -
70 -src_install(){
71 - emake DESTDIR="${D}" BINDIR="${EPREFIX}"/usr/bin XAPPLOADDIR="${EPREFIX}"/usr/share/X11/app-defaults install
72 -
73 - # install man pages
74 - newman kterm.man kterm.1
75 - insinto /usr/share/man/ja/man1
76 - iconv -f ISO-2022-JP -t EUC-JP kterm.jman > kterm.ja.1
77 - newins kterm.ja.1 kterm.1
78 -
79 - # Remove link to avoid collision
80 - rm -f "${ED}"/usr/lib/X11/app-defaults
81 -
82 - dodoc README.kt
83 -}
84 -
85 -pkg_postinst() {
86 - elog
87 - elog "KTerm wallpaper support is enabled."
88 - elog "In order to use this feature,"
89 - elog "you need specify favourite xpm file with -wp option"
90 - elog
91 - elog "\t% kterm -wp filename.xpm"
92 - elog
93 - elog "or set it with X resource"
94 - elog
95 - elog "\tKTerm*wallPaper: /path/to/filename.xpm"
96 - elog
97 -}