summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2008-06-20 18:01:50 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2008-06-20 18:01:50 +0000
commitb2ec06f894ec32692555c9e5c62df0b8aca5a883 (patch)
treeea1e12890f765091e979ad05470d454cea99bb76
parentAdded scm ebuild for testing. (diff)
downloadgentoo-2-b2ec06f894ec32692555c9e5c62df0b8aca5a883.tar.gz
gentoo-2-b2ec06f894ec32692555c9e5c62df0b8aca5a883.tar.bz2
gentoo-2-b2ec06f894ec32692555c9e5c62df0b8aca5a883.zip
Fixed dependency, bug #227563. Removed bindnow-flags, bug #227031.
(Portage version: 2.1.5_rc6)
-rw-r--r--x11-terms/kterm/ChangeLog9
-rw-r--r--x11-terms/kterm/kterm-6.2.0-r2.ebuild72
-rw-r--r--x11-terms/kterm/kterm-6.2.0-r3.ebuild72
-rw-r--r--x11-terms/kterm/kterm-6.2.0-r4.ebuild5
-rw-r--r--x11-terms/kterm/kterm-6.2.0-r5.ebuild81
5 files changed, 92 insertions, 147 deletions
diff --git a/x11-terms/kterm/ChangeLog b/x11-terms/kterm/ChangeLog
index 03d4ada0a202..f71182a2eaa5 100644
--- a/x11-terms/kterm/ChangeLog
+++ b/x11-terms/kterm/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for x11-terms/kterm
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-terms/kterm/ChangeLog,v 1.25 2008/02/06 22:05:37 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/kterm/ChangeLog,v 1.26 2008/06/20 18:01:50 matsuu Exp $
+
+*kterm-6.2.0-r5 (20 Jun 2008)
+
+ 20 Jun 2008; MATSUU Takuto <matsuu@gentoo.org> -kterm-6.2.0-r2.ebuild,
+ -kterm-6.2.0-r3.ebuild, kterm-6.2.0-r4.ebuild, +kterm-6.2.0-r5.ebuild:
+ Fixed dependency, bug #227563. Removed bindnow-flags, bug #227031.
+ Removed old versions.
06 Feb 2008; Fabian Groffen <grobian@gentoo.org> kterm-6.2.0-r2.ebuild:
Dropped ppc-macos keyword, see you in prefix
diff --git a/x11-terms/kterm/kterm-6.2.0-r2.ebuild b/x11-terms/kterm/kterm-6.2.0-r2.ebuild
deleted file mode 100644
index 5747f8c41ade..000000000000
--- a/x11-terms/kterm/kterm-6.2.0-r2.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-terms/kterm/kterm-6.2.0-r2.ebuild,v 1.11 2008/02/06 22:05:37 grobian Exp $
-
-inherit eutils
-
-IUSE="Xaw3d"
-
-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 ~sparc -alpha ppc"
-
-DEPEND="app-text/rman
- x11-libs/libXmu
- x11-libs/libXpm
- x11-libs/libxkbfile
- x11-libs/libXaw
- sys-libs/ncurses
- Xaw3d? ( x11-libs/Xaw3d )"
-
-src_unpack(){
- unpack ${A}
-
- cd ${S}
- epatch ${WORKDIR}/${P}-wpi.patch # wallpaper patch
- epatch ${WORKDIR}/${P}.ext02.patch # JIS 0213 support
- epatch ${FILESDIR}/${P}-gentoo.patch
- epatch ${FILESDIR}/${PN}-ad-gentoo.diff
-
- if use Xaw3d ; then
- epatch ${FILESDIR}/kterm-6.2.0-Xaw3d.patch
- fi
-}
-
-src_compile(){
-
- xmkmf -a || die
- emake || die
-}
-
-src_install(){
-
- einstall DESTDIR=${D} BINDIR=/usr/bin || die
-
- # install man pages
- newman kterm.man kterm.1
- insinto /usr/share/man/ja/man1
- iconv -f ISO-2022-JP -t EUC-JP kterm.jman > kterm.ja.1
- newins kterm.ja.1 kterm.1
-
- 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 "\t% kterm -wp filename.xpm"
- einfo
- einfo "or set it with X resource"
- einfo
- einfo "\tKTerm*wallPaper: /path/to/filename.xpm"
- einfo
-}
diff --git a/x11-terms/kterm/kterm-6.2.0-r3.ebuild b/x11-terms/kterm/kterm-6.2.0-r3.ebuild
deleted file mode 100644
index d433d0d9dcbf..000000000000
--- a/x11-terms/kterm/kterm-6.2.0-r3.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-terms/kterm/kterm-6.2.0-r3.ebuild,v 1.8 2007/07/22 05:48:10 dberkholz Exp $
-
-inherit eutils flag-o-matic
-
-IUSE="Xaw3d"
-
-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="-alpha ~amd64 ppc ~sparc x86"
-
-DEPEND="app-text/rman
- sys-libs/ncurses
- x11-libs/libXmu
- x11-libs/libXpm
- x11-libs/libxkbfile
- x11-libs/libXaw
- Xaw3d? ( x11-libs/Xaw3d )"
-
-src_unpack(){
- unpack ${A}
-
- cd ${S}
- epatch ${WORKDIR}/${P}-wpi.patch # wallpaper patch
- epatch ${WORKDIR}/${P}.ext02.patch # JIS 0213 support
- epatch ${FILESDIR}/${P}-openpty.patch
- epatch ${FILESDIR}/${P}-gentoo.patch
- epatch ${FILESDIR}/${PN}-ad-gentoo.diff
-
- if use Xaw3d ; then
- epatch ${FILESDIR}/kterm-6.2.0-Xaw3d.patch
- fi
-}
-
-src_compile(){
- xmkmf -a || die
- emake EXTRA_LDOPTIONS="$(bindnow-flags)" || die
-}
-
-src_install(){
-
- einstall DESTDIR=${D} BINDIR=/usr/bin || die
-
- # install man pages
- newman kterm.man kterm.1
- insinto /usr/share/man/ja/man1
- iconv -f ISO-2022-JP -t EUC-JP kterm.jman > kterm.ja.1
- newins kterm.ja.1 kterm.1
-
- 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 "\t% kterm -wp filename.xpm"
- einfo
- einfo "or set it with X resource"
- einfo
- einfo "\tKTerm*wallPaper: /path/to/filename.xpm"
- einfo
-}
diff --git a/x11-terms/kterm/kterm-6.2.0-r4.ebuild b/x11-terms/kterm/kterm-6.2.0-r4.ebuild
index 0be6ef4c37e9..9351f7ed23cd 100644
--- a/x11-terms/kterm/kterm-6.2.0-r4.ebuild
+++ b/x11-terms/kterm/kterm-6.2.0-r4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-terms/kterm/kterm-6.2.0-r4.ebuild,v 1.6 2007/07/22 05:48:10 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/kterm/kterm-6.2.0-r4.ebuild,v 1.7 2008/06/20 18:01:50 matsuu Exp $
inherit eutils flag-o-matic
@@ -22,6 +22,7 @@ RDEPEND="app-text/rman
x11-libs/libXpm
x11-libs/libxkbfile
x11-libs/libXaw
+ x11-libs/libXp
Xaw3d? ( x11-libs/Xaw3d )"
DEPEND="${RDEPEND}
diff --git a/x11-terms/kterm/kterm-6.2.0-r5.ebuild b/x11-terms/kterm/kterm-6.2.0-r5.ebuild
new file mode 100644
index 000000000000..60e7eb447632
--- /dev/null
+++ b/x11-terms/kterm/kterm-6.2.0-r5.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/kterm/kterm-6.2.0-r5.ebuild,v 1.1 2008/06/20 18:01:50 matsuu Exp $
+
+inherit eutils flag-o-matic toolchain-funcs
+
+IUSE="Xaw3d"
+
+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="-alpha ~amd64 ~ppc ~sparc ~x86"
+
+RDEPEND="app-text/rman
+ sys-libs/ncurses
+ x11-libs/libXmu
+ x11-libs/libXpm
+ x11-libs/libxkbfile
+ x11-libs/libXaw
+ x11-libs/libXp
+ Xaw3d? ( x11-libs/Xaw3d )"
+
+DEPEND="${RDEPEND}
+ x11-misc/gccmakedep
+ x11-misc/imake"
+
+src_unpack(){
+ unpack ${A}
+
+ cd "${S}"
+ epatch "${WORKDIR}"/${P}-wpi.patch # wallpaper patch
+ epatch "${WORKDIR}"/${P}.ext02.patch # JIS 0213 support
+ epatch "${FILESDIR}"/${P}-openpty.patch
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+ epatch "${FILESDIR}"/${PN}-ad-gentoo.diff
+ epatch "${FILESDIR}"/${PV}-underline.patch
+
+ if use Xaw3d ; then
+ epatch "${FILESDIR}"/kterm-6.2.0-Xaw3d.patch
+ fi
+}
+
+src_compile(){
+ xmkmf -a || die
+ emake CC="$(tc-getCC)" CDEBUGFLAGS="${CFLAGS}" LOCAL_LDFLAGS="${LDFLAGS}" \
+ XAPPLOADDIR=/etc/X11/app-defaults || die "emake failed"
+}
+
+src_install(){
+ emake DESTDIR="${D}" BINDIR=/usr/bin XAPPLOADDIR=/etc/X11/app-defaults install || die
+
+ # install man pages
+ newman kterm.man kterm.1
+ insinto /usr/share/man/ja/man1
+ iconv -f ISO-2022-JP -t EUC-JP kterm.jman > kterm.ja.1
+ newins kterm.ja.1 kterm.1
+
+ # Remove link to avoid collision
+ rm -f "${D}"/usr/lib/X11/app-defaults
+
+ dodoc README.kt
+}
+
+pkg_postinst() {
+ elog
+ elog "KTerm wallpaper support is enabled."
+ elog "In order to use this feature,"
+ elog "you need specify favourite xpm file with -wp option"
+ elog
+ elog "\t% kterm -wp filename.xpm"
+ elog
+ elog "or set it with X resource"
+ elog
+ elog "\tKTerm*wallPaper: /path/to/filename.xpm"
+ elog
+}