summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2011-05-11 23:13:32 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2011-05-11 23:13:32 +0000
commit02e024c83bf6b20e33eb581cc5f275cd2b5ab751 (patch)
tree4c43d044d4f62cdab807b89d157536650a2c3e8e /x11-terms/mlterm
parentVersion bumped. Removed old versions. (diff)
downloadgentoo-2-02e024c83bf6b20e33eb581cc5f275cd2b5ab751.tar.gz
gentoo-2-02e024c83bf6b20e33eb581cc5f275cd2b5ab751.tar.bz2
gentoo-2-02e024c83bf6b20e33eb581cc5f275cd2b5ab751.zip
Version bumped. Added ibus local USE flag. Fixed imagelib issue, bug #327935. The patch is submitted by Kazunori Kojima. Dropped ~hppa KEYWORD because app-i18n/ibus has no ~hppa.
(Portage version: 2.1.9.46/cvs/Linux x86_64)
Diffstat (limited to 'x11-terms/mlterm')
-rw-r--r--x11-terms/mlterm/ChangeLog10
-rw-r--r--x11-terms/mlterm/files/mlterm-3.0.3-gentoo.diff240
-rw-r--r--x11-terms/mlterm/metadata.xml5
-rw-r--r--x11-terms/mlterm/mlterm-2.9.3-r1.ebuild75
-rw-r--r--x11-terms/mlterm/mlterm-3.0.3.ebuild79
5 files changed, 331 insertions, 78 deletions
diff --git a/x11-terms/mlterm/ChangeLog b/x11-terms/mlterm/ChangeLog
index bf2f1de80c67..7ea40de61f3b 100644
--- a/x11-terms/mlterm/ChangeLog
+++ b/x11-terms/mlterm/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for x11-terms/mlterm
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-terms/mlterm/ChangeLog,v 1.76 2011/04/05 11:31:59 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/mlterm/ChangeLog,v 1.77 2011/05/11 23:13:31 matsuu Exp $
+
+*mlterm-3.0.3 (11 May 2011)
+
+ 11 May 2011; MATSUU Takuto <matsuu@gentoo.org> -mlterm-2.9.3-r1.ebuild,
+ +mlterm-3.0.3.ebuild, +files/mlterm-3.0.3-gentoo.diff, metadata.xml:
+ Version bumped. Added ibus local USE flag. Fixed imagelib issue, bug #327935.
+ The patch is submitted by Kazunori Kojima. Dropped ~hppa KEYWORD because
+ app-i18n/ibus has no ~hppa.
05 Apr 2011; Ulrich Mueller <ulm@gentoo.org> mlterm-2.9.3-r1.ebuild,
mlterm-2.9.4-r4.ebuild, mlterm-3.0.1.ebuild:
diff --git a/x11-terms/mlterm/files/mlterm-3.0.3-gentoo.diff b/x11-terms/mlterm/files/mlterm-3.0.3-gentoo.diff
new file mode 100644
index 000000000000..73dcd04e2549
--- /dev/null
+++ b/x11-terms/mlterm/files/mlterm-3.0.3-gentoo.diff
@@ -0,0 +1,240 @@
+diff -Naurb mlterm-3.0.3.orig/contrib/scrollbar/extra/Makefile.in mlterm-3.0.3/contrib/scrollbar/extra/Makefile.in
+--- mlterm-3.0.3.orig/contrib/scrollbar/extra/Makefile.in 2011-03-21 07:36:11.000000000 +0900
++++ mlterm-3.0.3/contrib/scrollbar/extra/Makefile.in 2011-05-12 01:34:08.930300204 +0900
+@@ -20,7 +20,7 @@
+ LIBTOOL = @LIBTOOL@
+
+ LIBTOOL_CC = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS)
+-LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC)
++LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC) $(LDFLAGS)
+ LIBTOOL_INSTALL = $(LIBTOOL) --mode=install $(INSTALL)
+
+ .SUFFIXES: .o .c
+diff -Naurb mlterm-3.0.3.orig/contrib/scrollbar/pixmap_engine/Makefile.in mlterm-3.0.3/contrib/scrollbar/pixmap_engine/Makefile.in
+--- mlterm-3.0.3.orig/contrib/scrollbar/pixmap_engine/Makefile.in 2011-03-21 07:36:11.000000000 +0900
++++ mlterm-3.0.3/contrib/scrollbar/pixmap_engine/Makefile.in 2011-05-12 01:34:08.930300204 +0900
+@@ -20,7 +20,7 @@
+ LIBTOOL = @LIBTOOL@
+
+ LIBTOOL_CC = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS)
+-LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC)
++LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC) $(LDFLAGS)
+ LIBTOOL_INSTALL = $(LIBTOOL) --mode=install $(INSTALL)
+
+ .SUFFIXES: .o .c
+diff -Naurb mlterm-3.0.3.orig/contrib/tool/mlterm-menu/Makefile.in mlterm-3.0.3/contrib/tool/mlterm-menu/Makefile.in
+--- mlterm-3.0.3.orig/contrib/tool/mlterm-menu/Makefile.in 2011-03-21 07:36:11.000000000 +0900
++++ mlterm-3.0.3/contrib/tool/mlterm-menu/Makefile.in 2011-05-12 01:34:08.926300233 +0900
+@@ -30,7 +30,7 @@
+
+ LIBS = $(LIBS1) $(LIBS2@WIN32TAG@)
+
+-LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC)
++LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC) $(LDFLAGS)
+ LIBTOOL_INSTALL = $(LIBTOOL) --mode=install $(INSTALL)
+
+ PACKAGE = @PACKAGE@
+diff -Naurb mlterm-3.0.3.orig/contrib/tool/mlterm-zoom/Makefile.in mlterm-3.0.3/contrib/tool/mlterm-zoom/Makefile.in
+--- mlterm-3.0.3.orig/contrib/tool/mlterm-zoom/Makefile.in 2011-03-21 07:36:11.000000000 +0900
++++ mlterm-3.0.3/contrib/tool/mlterm-zoom/Makefile.in 2011-05-12 01:34:08.926300233 +0900
+@@ -21,7 +21,7 @@
+ LIBS = $(LIBS_LOCAL) @X_LIBS@ -lX11 @X_EXTRA_LIBS@
+ #LIBS = $(LIBS_LOCAL) @X_LIBS@ @X_PRE_LIBS@ -lX11 @X_EXTRA_LIBS@
+
+-LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC)
++LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC) $(LDFLAGS)
+ LIBTOOL_INSTALL = $(LIBTOOL) --mode=install $(INSTALL)
+
+ PACKAGE = @PACKAGE@
+diff -Naurb mlterm-3.0.3.orig/gtk/Makefile.in mlterm-3.0.3/gtk/Makefile.in
+--- mlterm-3.0.3.orig/gtk/Makefile.in 2011-03-21 07:35:56.000000000 +0900
++++ mlterm-3.0.3/gtk/Makefile.in 2011-05-12 01:34:08.938300163 +0900
+@@ -18,7 +18,7 @@
+ `pkg-config vte --cflags`
+
+ LIBTOOL_CC = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS)
+-LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC)
++LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC) $(LDFLAGS)
+ LIBTOOL_INSTALL = $(LIBTOOL) --mode=install $(INSTALL)
+
+ OBJ = vte.o marshal.o vtetypebuiltins.o reaper.o
+diff -Naurb mlterm-3.0.3.orig/inputmethod/ibus/Makefile.in mlterm-3.0.3/inputmethod/ibus/Makefile.in
+--- mlterm-3.0.3.orig/inputmethod/ibus/Makefile.in 2011-03-21 07:37:01.000000000 +0900
++++ mlterm-3.0.3/inputmethod/ibus/Makefile.in 2011-05-12 01:34:08.926300233 +0900
+@@ -30,7 +30,7 @@
+ LIBTOOL = @LIBTOOL@
+
+ LIBTOOL_CC = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS)
+-LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC)
++LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC) $(LDFLAGS)
+ LIBTOOL_INSTALL = $(LIBTOOL) --mode=install $(INSTALL)
+
+ .SUFFIXES: .o .c
+diff -Naurb mlterm-3.0.3.orig/inputmethod/iiimf/Makefile.in mlterm-3.0.3/inputmethod/iiimf/Makefile.in
+--- mlterm-3.0.3.orig/inputmethod/iiimf/Makefile.in 2011-03-21 07:37:01.000000000 +0900
++++ mlterm-3.0.3/inputmethod/iiimf/Makefile.in 2011-05-12 01:34:08.926300233 +0900
+@@ -30,7 +30,7 @@
+ LIBTOOL = @LIBTOOL@
+
+ LIBTOOL_CC = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS)
+-LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC)
++LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC) $(LDFLAGS)
+ LIBTOOL_INSTALL = $(LIBTOOL) --mode=install $(INSTALL)
+
+ .SUFFIXES: .o .c
+diff -Naurb mlterm-3.0.3.orig/inputmethod/kbd/Makefile.in mlterm-3.0.3/inputmethod/kbd/Makefile.in
+--- mlterm-3.0.3.orig/inputmethod/kbd/Makefile.in 2011-03-21 07:37:01.000000000 +0900
++++ mlterm-3.0.3/inputmethod/kbd/Makefile.in 2011-05-12 01:34:08.926300233 +0900
+@@ -28,7 +28,7 @@
+ LIBTOOL = @LIBTOOL@
+
+ LIBTOOL_CC = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS)
+-LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC)
++LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC) $(LDFLAGS)
+ LIBTOOL_INSTALL = $(LIBTOOL) --mode=install $(INSTALL)
+
+ .SUFFIXES: .o .c
+diff -Naurb mlterm-3.0.3.orig/inputmethod/m17nlib/Makefile.in mlterm-3.0.3/inputmethod/m17nlib/Makefile.in
+--- mlterm-3.0.3.orig/inputmethod/m17nlib/Makefile.in 2011-03-21 07:37:01.000000000 +0900
++++ mlterm-3.0.3/inputmethod/m17nlib/Makefile.in 2011-05-12 01:34:08.926300233 +0900
+@@ -30,7 +30,7 @@
+ LIBTOOL = @LIBTOOL@
+
+ LIBTOOL_CC = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS)
+-LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC)
++LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC) $(LDFLAGS)
+ LIBTOOL_INSTALL = $(LIBTOOL) --mode=install $(INSTALL)
+
+ .SUFFIXES: .o .c
+diff -Naurb mlterm-3.0.3.orig/inputmethod/scim/Makefile.in mlterm-3.0.3/inputmethod/scim/Makefile.in
+--- mlterm-3.0.3.orig/inputmethod/scim/Makefile.in 2011-03-21 07:37:01.000000000 +0900
++++ mlterm-3.0.3/inputmethod/scim/Makefile.in 2011-05-12 01:34:08.922300253 +0900
+@@ -33,7 +33,7 @@
+
+ LIBTOOL_CC = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS)
+ LIBTOOL_CXX = $(LIBTOOL) --mode=compile $(CXX) $(CFLAGS)
+-LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC)
++LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC) $(LDFLAGS)
+ LIBTOOL_INSTALL = $(LIBTOOL) --mode=install $(INSTALL)
+
+ .SUFFIXES: .o .c .cpp
+diff -Naurb mlterm-3.0.3.orig/inputmethod/uim/Makefile.in mlterm-3.0.3/inputmethod/uim/Makefile.in
+--- mlterm-3.0.3.orig/inputmethod/uim/Makefile.in 2011-03-21 07:37:01.000000000 +0900
++++ mlterm-3.0.3/inputmethod/uim/Makefile.in 2011-05-12 01:34:08.926300233 +0900
+@@ -30,7 +30,7 @@
+ LIBTOOL = @LIBTOOL@
+
+ LIBTOOL_CC = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS)
+-LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC)
++LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC) $(LDFLAGS)
+ LIBTOOL_INSTALL = $(LIBTOOL) --mode=install $(INSTALL)
+
+ .SUFFIXES: .o .c
+diff -Naurb mlterm-3.0.3.orig/kiklib/src/Makefile.in mlterm-3.0.3/kiklib/src/Makefile.in
+--- mlterm-3.0.3.orig/kiklib/src/Makefile.in 2011-03-21 07:35:59.000000000 +0900
++++ mlterm-3.0.3/kiklib/src/Makefile.in 2011-05-12 01:34:08.934300183 +0900
+@@ -30,7 +30,7 @@
+ INC = $(COMOBJ:.o=.h) kik_list.h kik_iterator.h kik_types.h kik_util.h kik_def.h kik_net.h kik_pty.h kik_utmp.h kik_dlfcn.h
+
+ LIBTOOL_CC = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS)
+-LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC) $(LIBS)
++LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC) $(LIBS) $(LDFLAGS)
+ LIBTOOL_INSTALL = $(LIBTOOL) --mode=install $(INSTALL)
+
+ LIBNAME=libkik
+diff -Naurb mlterm-3.0.3.orig/mkf/lib/Makefile.in mlterm-3.0.3/mkf/lib/Makefile.in
+--- mlterm-3.0.3.orig/mkf/lib/Makefile.in 2011-03-21 07:36:07.000000000 +0900
++++ mlterm-3.0.3/mkf/lib/Makefile.in 2011-05-12 01:34:08.938300163 +0900
+@@ -54,7 +54,7 @@
+ MINOR = 0
+
+ LIBTOOL_CC = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS)
+-LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC)
++LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC) $(LDFLAGS)
+ LIBTOOL_INSTALL = $(LIBTOOL) --mode=install $(INSTALL)
+
+
+diff -Naurb mlterm-3.0.3.orig/mkf/libtbl/Makefile.in mlterm-3.0.3/mkf/libtbl/Makefile.in
+--- mlterm-3.0.3.orig/mkf/libtbl/Makefile.in 2011-03-21 07:36:06.000000000 +0900
++++ mlterm-3.0.3/mkf/libtbl/Makefile.in 2011-05-12 01:34:08.934300183 +0900
+@@ -24,7 +24,7 @@
+ OBJ = $(JAJP_TABLE_OBJ) $(KOKR_TABLE_OBJ) $(ZH_TABLE_OBJ) $(BYTE_TABLE_OBJ)
+
+ LIBTOOL_CC = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS)
+-LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC)
++LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC) $(LDFLAGS)
+ LIBTOOL_INSTALL = $(LIBTOOL) --mode=install $(INSTALL)
+
+ all: libmkf_jajp.la libmkf_kokr.la libmkf_zh.la libmkf_8bits.la
+diff -Naurb mlterm-3.0.3.orig/mlterm/Makefile.in mlterm-3.0.3/mlterm/Makefile.in
+--- mlterm-3.0.3.orig/mlterm/Makefile.in 2011-03-21 07:35:54.000000000 +0900
++++ mlterm-3.0.3/mlterm/Makefile.in 2011-05-12 01:34:08.930300204 +0900
+@@ -33,7 +33,7 @@
+ MINOR = 0
+
+ LIBTOOL_CC = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS)
+-LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC)
++LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC) $(LDFLAGS)
+ LIBTOOL_INSTALL = $(LIBTOOL) --mode=install $(INSTALL)
+
+
+diff -Naurb mlterm-3.0.3.orig/scrollbar/sample/Makefile.in mlterm-3.0.3/scrollbar/sample/Makefile.in
+--- mlterm-3.0.3.orig/scrollbar/sample/Makefile.in 2011-03-21 07:35:58.000000000 +0900
++++ mlterm-3.0.3/scrollbar/sample/Makefile.in 2011-05-12 01:34:08.934300183 +0900
+@@ -33,7 +33,7 @@
+ LIBTOOL = @LIBTOOL@
+
+ LIBTOOL_CC = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS)
+-LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC)
++LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC) $(LDFLAGS)
+ LIBTOOL_INSTALL = $(LIBTOOL) --mode=install $(INSTALL)
+
+ .SUFFIXES: .o .c
+diff -Naurb mlterm-3.0.3.orig/tool/mlconfig/Makefile.in mlterm-3.0.3/tool/mlconfig/Makefile.in
+--- mlterm-3.0.3.orig/tool/mlconfig/Makefile.in 2011-03-21 07:35:58.000000000 +0900
++++ mlterm-3.0.3/tool/mlconfig/Makefile.in 2011-05-12 01:34:08.930300204 +0900
+@@ -42,7 +42,7 @@
+
+ LIBS = $(LIBS1) $(LIBS2@WIN32TAG@)
+
+-LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC)
++LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC) $(LDFLAGS)
+ LIBTOOL_INSTALL = $(LIBTOOL) --mode=install $(INSTALL)
+
+ PACKAGE = @PACKAGE@
+diff -Naurb mlterm-3.0.3.orig/tool/mlimgloader/Makefile.in mlterm-3.0.3/tool/mlimgloader/Makefile.in
+--- mlterm-3.0.3.orig/tool/mlimgloader/Makefile.in 2011-03-21 07:35:58.000000000 +0900
++++ mlterm-3.0.3/tool/mlimgloader/Makefile.in 2011-05-12 01:34:08.934300183 +0900
+@@ -32,7 +32,7 @@
+ INSTALL_OPT = @INSTALL_OPT@
+
+ LIBTOOL_CC = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS)
+-LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC)
++LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC) $(LDFLAGS)
+ LIBTOOL_INSTALL = $(LIBTOOL) --mode=install $(INSTALL)
+
+ all: $(PROG)
+diff -Naurb mlterm-3.0.3.orig/tool/mlmenu/Makefile.in mlterm-3.0.3/tool/mlmenu/Makefile.in
+--- mlterm-3.0.3.orig/tool/mlmenu/Makefile.in 2011-03-21 07:35:58.000000000 +0900
++++ mlterm-3.0.3/tool/mlmenu/Makefile.in 2011-05-12 01:34:08.934300183 +0900
+@@ -18,7 +18,7 @@
+ LIBS = $(LIBS_LOCAL) @X_LIBS@ -lX11 @X_EXTRA_LIBS@
+ #LIBS = $(LIBS_LOCAL) @X_LIBS@ @X_PRE_LIBS@ -lX11 @X_EXTRA_LIBS@
+
+-LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC)
++LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC) $(LDFLAGS)
+ LIBTOOL_INSTALL = $(LIBTOOL) --mode=install $(INSTALL)
+
+ PACKAGE = @PACKAGE@
+diff -Naurb mlterm-3.0.3.orig/xwindow/Makefile.in mlterm-3.0.3/xwindow/Makefile.in
+--- mlterm-3.0.3.orig/xwindow/Makefile.in 2011-03-21 07:35:57.000000000 +0900
++++ mlterm-3.0.3/xwindow/Makefile.in 2011-05-12 01:34:08.930300204 +0900
+@@ -64,7 +64,7 @@
+ INSTALL_OPT = @INSTALL_OPT@
+
+ LIBTOOL_CC = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS)
+-LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC)
++LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC) $(LDFLAGS)
+ LIBTOOL_INSTALL = $(LIBTOOL) --mode=install $(INSTALL)
+
+ all: $(PROG)
diff --git a/x11-terms/mlterm/metadata.xml b/x11-terms/mlterm/metadata.xml
index b0324cbea5a9..38c44c69a73e 100644
--- a/x11-terms/mlterm/metadata.xml
+++ b/x11-terms/mlterm/metadata.xml
@@ -3,7 +3,8 @@
<pkgmetadata>
<herd>cjk</herd>
<use>
- <flag name='scim'>Enable scim support</flag>
- <flag name='uim'>Enable uim support</flag>
+ <flag name='ibus'>Enable <pkg>app-i18n/ibus</pkg> support</flag>
+ <flag name='scim'>Enable <pkg>app-i18n/scim</pkg> support</flag>
+ <flag name='uim'>Enable <pkg>app-i18n/uim</pkg> support</flag>
</use>
</pkgmetadata>
diff --git a/x11-terms/mlterm/mlterm-2.9.3-r1.ebuild b/x11-terms/mlterm/mlterm-2.9.3-r1.ebuild
deleted file mode 100644
index 135eab5447aa..000000000000
--- a/x11-terms/mlterm/mlterm-2.9.3-r1.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-terms/mlterm/mlterm-2.9.3-r1.ebuild,v 1.15 2011/04/05 11:31:59 ulm Exp $
-
-EAPI="1"
-
-inherit eutils flag-o-matic
-
-IUSE="truetype gtk imlib bidi nls uim scim"
-#IUSE="${IUSE} m17n-lib iiimf"
-
-DESCRIPTION="A multi-lingual terminal emulator"
-HOMEPAGE="http://mlterm.sourceforge.net/"
-SRC_URI="mirror://sourceforge/mlterm/${P}.tar.gz"
-
-SLOT="0"
-KEYWORDS="amd64 hppa ppc ppc64 x86"
-LICENSE="BSD"
-
-RDEPEND="gtk? ( x11-libs/gtk+:2 )
- !gtk? ( imlib? ( >=media-libs/imlib-1.9.14 ) )
- truetype? ( =media-libs/freetype-2* )
- bidi? ( >=dev-libs/fribidi-0.10.4 )
- nls? ( sys-devel/gettext )
- uim? ( >=app-i18n/uim-0.3.4.2 )
- scim? ( || ( >=app-i18n/scim-1.4 app-i18n/scim-cvs ) )
- || ( sys-libs/libutempter sys-apps/utempter )
- x11-libs/libX11
- x11-libs/libICE
- x11-libs/libSM"
-DEPEND="${RDEPEND}"
-# m17n-lib? ( >=dev-libs/m17n-lib-1.2.0 )
-
-src_unpack() {
- unpack ${A}
- cd "${S}"/xwindow
- epatch "${FILESDIR}"/mlterm-2.9.1-gentoo.diff
- epatch "${FILESDIR}"/${P}-asneeded.diff
-}
-
-src_compile() {
- local myconf imagelib
-
- if use gtk ; then
- imagelib="gdk-pixbuf"
- elif use imlib ; then
- imagelib="imlib"
- fi
-
- use gtk || myconf="${myconf} --with-tools=mlclient,mlcc"
-
- # m17n-lib, and iiimf aren't stable enough
- #myconf="${myconf} $(use_enable iiimf) $(use_enable m17n-lib m17nlib)"
-
- econf --enable-utmp \
- $(use_enable truetype anti-alias) \
- $(use_enable bidi fribidi) \
- $(use_enable nls) \
- $(use_enable uim) \
- $(use_enable scim) \
- --with-imagelib="${imagelib}" \
- ${myconf} || die "econf failed"
- emake || die "emake failed"
-}
-
-src_install () {
- make DESTDIR="${D}" install || die
-
- dodoc ChangeLog README
-
- docinto ja
- dodoc doc/ja/*
- docinto en
- dodoc doc/en/*
-}
diff --git a/x11-terms/mlterm/mlterm-3.0.3.ebuild b/x11-terms/mlterm/mlterm-3.0.3.ebuild
new file mode 100644
index 000000000000..a5088f944fb6
--- /dev/null
+++ b/x11-terms/mlterm/mlterm-3.0.3.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/mlterm/mlterm-3.0.3.ebuild,v 1.1 2011/05/11 23:13:31 matsuu Exp $
+
+EAPI="3"
+inherit eutils
+
+IUSE="bidi gtk ibus m17n-lib nls scim static-libs truetype uim"
+#IUSE="${IUSE} iiimf"
+
+DESCRIPTION="A multi-lingual terminal emulator"
+HOMEPAGE="http://mlterm.sourceforge.net/"
+SRC_URI="mirror://sourceforge/mlterm/${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+LICENSE="BSD"
+
+RDEPEND="|| ( sys-libs/libutempter sys-apps/utempter )
+ x11-libs/libX11
+ x11-libs/libICE
+ x11-libs/libSM
+ gtk? ( x11-libs/gtk+:2 )
+ truetype? ( x11-libs/libXft )
+ bidi? ( >=dev-libs/fribidi-0.10.4 )
+ ibus? ( >=app-i18n/ibus-1.3 )
+ nls? ( virtual/libintl )
+ uim? ( >=app-i18n/uim-1.0 )
+ scim? ( >=app-i18n/scim-1.4 )
+ m17n-lib? ( >=dev-libs/m17n-lib-1.2.0 )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PN}-2.9.4-uim15-fix.patch \
+ "${FILESDIR}"/${PN}-3.0.3-gentoo.diff
+}
+
+src_configure() {
+ local myconf
+
+ if use gtk ; then
+ myconf="${myconf} --with-imagelib=gdk-pixbuf"
+ else
+ myconf="${myconf} --with-tools=mlclient,mlcc"
+ fi
+
+ # iiimf isn't stable enough
+ #myconf="${myconf} $(use_enable iiimf)"
+
+ econf --enable-utmp \
+ $(use_enable truetype anti-alias) \
+ $(use_enable bidi fribidi) \
+ $(use_enable ibus) \
+ $(use_enable nls) \
+ $(use_enable uim) \
+ $(use_enable scim) \
+ $(use_enable m17n-lib m17nlib) \
+ $(use_enable static-libs static) \
+ ${myconf} || die "econf failed"
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die
+
+ use static-libs || find "${ED}" -name '*.la' -exec rm {} +
+
+ doicon contrib/icon/mlterm* || die
+ make_desktop_entry mlterm mlterm mlterm-icon TerminalEmulator || die
+
+ dodoc ChangeLog README || die
+
+ docinto ja
+ dodoc doc/ja/* || die
+ docinto en
+ dodoc doc/en/* || die
+}