diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2008-12-22 16:44:16 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2008-12-22 16:44:16 +0000 |
commit | cb731b83f16adc4422df2982d0e29d4bb01a52c1 (patch) | |
tree | 975a61a12425a4f77339c60ad44232ab17906996 /x11-terms | |
parent | alpha/ia64 stable wrt #251352 (diff) | |
download | gentoo-2-cb731b83f16adc4422df2982d0e29d4bb01a52c1.tar.gz gentoo-2-cb731b83f16adc4422df2982d0e29d4bb01a52c1.tar.bz2 gentoo-2-cb731b83f16adc4422df2982d0e29d4bb01a52c1.zip |
Fixed strip issue, bug #252117.
(Portage version: 2.1.6/cvs/Linux 2.6.27-gentoo-r4 x86_64)
Diffstat (limited to 'x11-terms')
-rw-r--r-- | x11-terms/hanterm/ChangeLog | 9 | ||||
-rw-r--r-- | x11-terms/hanterm/files/Hanterm.gentoo | 26 | ||||
-rw-r--r-- | x11-terms/hanterm/files/hanterm-3.1.6-gentoo.patch | 42 | ||||
-rw-r--r-- | x11-terms/hanterm/hanterm-3.1.6-r4.ebuild | 53 |
4 files changed, 116 insertions, 14 deletions
diff --git a/x11-terms/hanterm/ChangeLog b/x11-terms/hanterm/ChangeLog index 9a5a72739e22..9d8411977d95 100644 --- a/x11-terms/hanterm/ChangeLog +++ b/x11-terms/hanterm/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for x11-terms/hanterm # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-terms/hanterm/ChangeLog,v 1.24 2008/08/21 22:25:59 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-terms/hanterm/ChangeLog,v 1.25 2008/12/22 16:44:16 matsuu Exp $ + +*hanterm-3.1.6-r4 (22 Dec 2008) + + 22 Dec 2008; MATSUU Takuto <matsuu@gentoo.org> + +files/hanterm-3.1.6-gentoo.patch, files/Hanterm.gentoo, + +hanterm-3.1.6-r4.ebuild: + Fixed strip issue, bug #252117. 21 Aug 2008; Doug Goldstein <cardoe@gentoo.org> metadata.xml: add GLEP 56 USE flag desc from use.local.desc diff --git a/x11-terms/hanterm/files/Hanterm.gentoo b/x11-terms/hanterm/files/Hanterm.gentoo index a7458dfb40b0..a71aa96f04c0 100644 --- a/x11-terms/hanterm/files/Hanterm.gentoo +++ b/x11-terms/hanterm/files/Hanterm.gentoo @@ -110,19 +110,19 @@ Hanterm*vtMenu*hardreset*Label: Do Full Reset Hanterm*vtMenu*clearsavedlines*Label: Reset and Clear Saved Lines Hanterm*fontMenu.Label: VT Fonts -Hanterm*fontMenu*fontdefault*Label: Default -Hanterm*fontMenu*font1*Label: Unreadable -Hanterm*VT100*font1: nil2 -Hanterm*fontMenu*font2*Label: Tiny -Hanterm*VT100*font2: 5x7 -Hanterm*fontMenu*font3*Label: Small -Hanterm*VT100*font3: 6x10 -Hanterm*fontMenu*font4*Label: Medium -Hanterm*VT100*font4: 7x13 -Hanterm*fontMenu*font5*Label: Large -Hanterm*VT100*font5: 9x15 -Hanterm*fontMenu*font6*Label: Huge -Hanterm*VT100*font6: 10x20 +Hanterm*fontMenu*fontdefault*Label: Default +Hanterm*fontMenu*font1*Label: Unreadable +Hanterm*VT100*font1: nil2 +Hanterm*fontMenu*font2*Label: Tiny +Hanterm*VT100*font2: 5x7 +Hanterm*fontMenu*font3*Label: Small +Hanterm*VT100*font3: 6x10 +Hanterm*fontMenu*font4*Label: Medium +Hanterm*VT100*font4: 7x13 +Hanterm*fontMenu*font5*Label: Large +Hanterm*VT100*font5: 9x15 +Hanterm*fontMenu*font6*Label: Huge +Hanterm*VT100*font6: 10x20 Hanterm*fontMenu*fontescape*Label: Escape Sequence Hanterm*fontMenu*fontsel*Label: Selection diff --git a/x11-terms/hanterm/files/hanterm-3.1.6-gentoo.patch b/x11-terms/hanterm/files/hanterm-3.1.6-gentoo.patch new file mode 100644 index 000000000000..bb3d6b1365df --- /dev/null +++ b/x11-terms/hanterm/files/hanterm-3.1.6-gentoo.patch @@ -0,0 +1,42 @@ +diff -Naur hanterm-3.1.6.orig/button.c hanterm-3.1.6/button.c +--- hanterm-3.1.6.orig/button.c 2001-06-06 22:05:15.000000000 +0900 ++++ hanterm-3.1.6/button.c 2008-12-23 00:48:18.000000000 +0900 +@@ -42,7 +42,6 @@ + + void TrackText(); + +-extern char *malloc(); + + extern void input_to_chat(); + extern void HideCursor(); +diff -Naur hanterm-3.1.6.orig/charproc.c hanterm-3.1.6/charproc.c +--- hanterm-3.1.6.orig/charproc.c 2001-06-06 22:05:15.000000000 +0900 ++++ hanterm-3.1.6/charproc.c 2008-12-23 00:48:32.000000000 +0900 +@@ -47,6 +47,7 @@ + #include <X11/Xmu/CharSet.h> + #include <X11/Xmu/Converters.h> + #include <stdio.h> ++#include <stdlib.h> + #include <errno.h> + #include <setjmp.h> + #include <ctype.h> +@@ -81,8 +82,6 @@ + + extern Widget toplevel; + extern void exit(); +-extern char *malloc(); +-extern char *realloc(); + + extern void FlushScroll(); + extern void InsertLine(); +diff -Naur hanterm-3.1.6.orig/scrollbar.c hanterm-3.1.6/scrollbar.c +--- hanterm-3.1.6.orig/scrollbar.c 1999-03-19 15:27:19.000000000 +0900 ++++ hanterm-3.1.6/scrollbar.c 2008-12-23 00:45:53.000000000 +0900 +@@ -28,6 +28,7 @@ + #include "ptyx.h" /* gets Xt headers, too */ + + #include <stdio.h> ++#include <stdlib.h> + #include <ctype.h> + #include <X11/Xatom.h> + diff --git a/x11-terms/hanterm/hanterm-3.1.6-r4.ebuild b/x11-terms/hanterm/hanterm-3.1.6-r4.ebuild new file mode 100644 index 000000000000..5a14bee7f9cd --- /dev/null +++ b/x11-terms/hanterm/hanterm-3.1.6-r4.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-terms/hanterm/hanterm-3.1.6-r4.ebuild,v 1.1 2008/12/22 16:44:16 matsuu Exp $ + +IUSE="utempter" + +inherit eutils toolchain-funcs + +DESCRIPTION="Hanterm -- Korean terminal" +HOMEPAGE="http://www.hanterm.org/" +SRC_URI="http://download.kldp.net/hanterm/${P}.tar.gz" + +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +LICENSE="X11" + +DEPEND="x11-libs/libXmu + x11-libs/libICE + x11-libs/libXaw + utempter? ( sys-libs/libutempter ) + >=x11-libs/Xaw3d-1.5" +RDEPEND="${DEPEND} + media-fonts/baekmuk-fonts" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-gentoo.patch" +} + +src_compile() { + econf \ + --with-Xaw3d \ + $(use_with utempter) \ + || die "econf failed" + emake CC="$(tc-getCC)" || die "emake failed" +} + +src_install() { + dobin hanterm || die + + insinto /usr/share/X11/app-defaults + newins Hanterm.ad Hanterm.orig + newins "${FILESDIR}/Hanterm.gentoo" Hanterm + + newman hanterm.man hanterm.1 + + dohtml doc/devel/hanterm.html doc/devel/3final.gif + + dodoc README ChangeLog doc/{AUTHORS,THANKS,TODO} + dodoc doc/devel/hanterm.sgml + dodoc doc/historic/{ChangeLog*,DGUX.note,README*} +} |