summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /x11-terms/mlterm
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'x11-terms/mlterm')
-rw-r--r--x11-terms/mlterm/Manifest3
-rw-r--r--x11-terms/mlterm/files/mlterm-2.9.4-uim15-fix.patch10
-rw-r--r--x11-terms/mlterm/files/mlterm-3.0.5-ibus.patch55
-rw-r--r--x11-terms/mlterm/files/mlterm-3.0.7-underlinking.patch13
-rw-r--r--x11-terms/mlterm/metadata.xml17
-rw-r--r--x11-terms/mlterm/mlterm-3.0.11-r1.ebuild92
-rw-r--r--x11-terms/mlterm/mlterm-3.4.5.ebuild107
-rw-r--r--x11-terms/mlterm/mlterm-3.5.0.ebuild115
8 files changed, 412 insertions, 0 deletions
diff --git a/x11-terms/mlterm/Manifest b/x11-terms/mlterm/Manifest
new file mode 100644
index 000000000000..3c171ef542de
--- /dev/null
+++ b/x11-terms/mlterm/Manifest
@@ -0,0 +1,3 @@
+DIST mlterm-3.0.11.tar.gz 4328395 SHA256 808f15756aa40ada65a9b5760d9d1e4f281b62bb915ab51f4dd44e21a43f1e55 SHA512 e624ed4be1dce7b827e22981648d5574e9ae0543dbf2ca0bd9d7ab9fe17860c160e2bd7ad4a36044018daface70533518de7b9feba80e26605dc14d9e4d26d72 WHIRLPOOL 173721847d75878e445b928773298b53d93aebac88f727095406cb2e6e1460088cec1a83e53e2bc87d1f85c7656794aadf3def62f9f1e3919e676f7a9ecfa6f8
+DIST mlterm-3.4.5.tar.gz 3659801 SHA256 7df146099e1d578caddaeb7e93459f96ca1e2381fcc51157a25fe00336072752 SHA512 a85d092680dfe5498a90a4ad4935d441e41efa4ce3aa26f2e8897ef254f9c20d053bb045b5709626ee5bb4c9fdecda9f311a26db7fac6d6369d50336af7ab1f5 WHIRLPOOL 4533009727ad30b94b9b2814a17464975986df7eb2a42b383e654b1233651455a1ff938fae5273af350ccce29cbe08c7e68d26237a511ab7e3fcc45d05665b58
+DIST mlterm-3.5.0.tar.gz 3707639 SHA256 dedb211c52a8cdaa8891920da0a4f08f4b72f7b3514a5acb038b38419b24e4d3 SHA512 aaeac36a23d8544428b511760a5a23a843509fb75ceec59fea6f012d1626ca99f2772b9b18155d6b527482de649304b7e01ee8b7caef211bf5a01d71718d5ca8 WHIRLPOOL 347286ddcdc4aa97f6ebaa55ddcc0d8930f8396491b2d999d504cea2041d61b9eea090b70921b6f35c4f3eef26093403fcdde6538b1fcdb21299aae348b906ad
diff --git a/x11-terms/mlterm/files/mlterm-2.9.4-uim15-fix.patch b/x11-terms/mlterm/files/mlterm-2.9.4-uim15-fix.patch
new file mode 100644
index 000000000000..e69a2c93206b
--- /dev/null
+++ b/x11-terms/mlterm/files/mlterm-2.9.4-uim15-fix.patch
@@ -0,0 +1,10 @@
+--- a/inputmethod/uim/im_uim.c 2008-05-25 23:41:46.871924640 +0900
++++ b/inputmethod/uim/im_uim.c 2008-05-25 23:42:34.149923480 +0900
+@@ -35,6 +35,7 @@
+ #include <uim-helper.h>
+ #include <uim-im-switcher.h>
+
++#include <stdio.h>
+ #include <X11/keysym.h> /* XK_xxx */
+ #include <kiklib/kik_mem.h> /* malloc/alloca/free */
+ #include <kiklib/kik_str.h> /* kik_str_alloca_dup kik_str_sep kik_snprintf*/
diff --git a/x11-terms/mlterm/files/mlterm-3.0.5-ibus.patch b/x11-terms/mlterm/files/mlterm-3.0.5-ibus.patch
new file mode 100644
index 000000000000..22b78301379a
--- /dev/null
+++ b/x11-terms/mlterm/files/mlterm-3.0.5-ibus.patch
@@ -0,0 +1,55 @@
+diff -Naur mlterm-3.0.5.orig/configure.in mlterm-3.0.5/configure.in
+--- mlterm-3.0.5.orig/configure.in 2011-06-04 01:26:40.000000000 +0900
++++ mlterm-3.0.5/configure.in 2011-06-09 10:45:00.653322007 +0900
+@@ -671,7 +671,8 @@
+ if test "x$ibus" = "xyes" ; then
+ AC_PROG_CXX
+ PKG_CHECK_MODULES(IBUS, ibus-1.0 >= 1.3.0, has_ibus=yes, has_ibus=no)
+- if test "x$has_ibus" = xyes ; then
++ PKG_CHECK_MODULES(DBUS, dbus-1, has_dbus=yes, has_dbus=no)
++ if test "x$has_ibus" = xyes -a "x$has_dbus" = xyes ; then
+ IM_CFLAGS="$IM_CFLAGS -DUSE_IBUS"
+ MAKE_DIRS="inputmethod/ibus ${MAKE_DIRS}"
+ OUTPUT_FILES="inputmethod/ibus/Makefile ${OUTPUT_FILES}"
+@@ -683,6 +684,8 @@
+ fi
+ AC_SUBST(IBUS_CFLAGS)
+ AC_SUBST(IBUS_LIBS)
++AC_SUBST(DBUS_CFLAGS)
++AC_SUBST(DBUS_LIBS)
+
+ #
+ # --- SCIM ---
+diff -Naur mlterm-3.0.5.orig/inputmethod/ibus/Makefile.in mlterm-3.0.5/inputmethod/ibus/Makefile.in
+--- mlterm-3.0.5.orig/inputmethod/ibus/Makefile.in 2011-06-04 01:26:34.000000000 +0900
++++ mlterm-3.0.5/inputmethod/ibus/Makefile.in 2011-06-09 10:45:31.063416229 +0900
+@@ -19,11 +19,12 @@
+ @CPPFLAGS@ \
+ @IM_CFLAGS@ \
+ @IBUS_CFLAGS@ \
++ @DBUS_CFLAGS@ \
+ -I$(top_srcdir)/mlterm \
+ -I${top_srcdir}/xwindow \
+ -I/usr/local/include
+
+-LIBS = $(LIBS_LOCAL) @KIK_LIBS_FOR_MODULE@ @IBUS_LIBS@
++LIBS = $(LIBS_LOCAL) @KIK_LIBS_FOR_MODULE@ @IBUS_LIBS@ @DBUS_LIBS@
+
+ CC = @CC@
+ INSTALL = @INSTALL@
+diff -Naur mlterm-3.0.5.orig/inputmethod/ibus/im_ibus.c mlterm-3.0.5/inputmethod/ibus/im_ibus.c
+--- mlterm-3.0.5.orig/inputmethod/ibus/im_ibus.c 2011-06-04 01:26:34.000000000 +0900
++++ mlterm-3.0.5/inputmethod/ibus/im_ibus.c 2011-06-09 10:39:58.560385917 +0900
+@@ -4,11 +4,11 @@
+
+ #include <stdio.h>
+ #include <ibus.h>
++#include <dbus/dbus.h>
+ #include <x_im.h>
+ #include <kiklib/kik_list.h>
+ #include <kiklib/kik_debug.h>
+ #include "../im_info.h"
+-
+ #if 0
+ #define IM_IBUS_DEBUG 1
+ #endif
diff --git a/x11-terms/mlterm/files/mlterm-3.0.7-underlinking.patch b/x11-terms/mlterm/files/mlterm-3.0.7-underlinking.patch
new file mode 100644
index 000000000000..4e5ed669037e
--- /dev/null
+++ b/x11-terms/mlterm/files/mlterm-3.0.7-underlinking.patch
@@ -0,0 +1,13 @@
+diff --git a/xwindow/Makefile.in b/xwindow/Makefile.in
+index 50137e0..1e83104 100644
+--- a/xwindow/Makefile.in
++++ b/xwindow/Makefile.in
+@@ -32,7 +32,7 @@ OBJ = $(OBJ1) $(OBJ2@WIN32TAG@)
+
+ LKIK = @LKIK@
+ LMKF = @LMKF@
+-LMLTERM = ../mlterm/libmlterm.a ../mlterm/@LMLTERM_CORE@
++LMLTERM = ../mlterm/libmlterm.a ../mlterm/@LMLTERM_CORE@ -lm
+ LKIK_DEB = -lkik_deb
+ LMKF_DEB = -lmkf_deb
+
diff --git a/x11-terms/mlterm/metadata.xml b/x11-terms/mlterm/metadata.xml
new file mode 100644
index 000000000000..1ca794ab6c6c
--- /dev/null
+++ b/x11-terms/mlterm/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>cjk</herd>
+ <use>
+ <flag name="fcitx">Enable <pkg>app-i18n/fcitx</pkg> support</flag>
+ <flag name="ibus">Enable <pkg>app-i18n/ibus</pkg> support</flag>
+ <flag name="libssh2">Enable <pkg>net-libs/libssh2</pkg> support</flag>
+ <flag name="regis">Enable ReGIS support</flag>
+ <flag name="scim">Enable <pkg>app-i18n/scim</pkg> support</flag>
+ <flag name="uim">Enable <pkg>app-i18n/uim</pkg> support</flag>
+ <flag name="utempter">Enable <pkg>sys-libs/libutempter</pkg> support</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">mlterm</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-terms/mlterm/mlterm-3.0.11-r1.ebuild b/x11-terms/mlterm/mlterm-3.0.11-r1.ebuild
new file mode 100644
index 000000000000..d4e9eb62fd24
--- /dev/null
+++ b/x11-terms/mlterm/mlterm-3.0.11-r1.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="3"
+inherit autotools eutils
+
+IUSE="bidi debug gtk ibus libssh2 m17n-lib nls scim static-libs uim xft"
+
+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="|| ( sys-libs/libutempter sys-apps/utempter )
+ x11-libs/libX11
+ x11-libs/libICE
+ x11-libs/libSM
+ gtk? ( x11-libs/gtk+:2 )
+ xft? ( x11-libs/libXft )
+ bidi? ( >=dev-libs/fribidi-0.10.4 )
+ ibus? ( >=app-i18n/ibus-1.3 )
+ libssh2? ( net-libs/libssh2 )
+ nls? ( virtual/libintl )
+ uim? ( >=app-i18n/uim-1.0 )
+ scim? ( >=app-i18n/scim-1.4 )
+ m17n-lib? ( >=dev-libs/m17n-lib-1.2.0 )"
+# vte? ( x11-libs/vte )
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PN}-2.9.4-uim15-fix.patch \
+ "${FILESDIR}"/${PN}-3.0.5-ibus.patch \
+ "${FILESDIR}"/${PN}-3.0.7-underlinking.patch
+
+ eautoconf
+}
+
+src_configure() {
+ local myconf
+
+ if use gtk ; then
+ myconf="${myconf} --with-imagelib=gdk-pixbuf"
+ else
+ myconf="${myconf} --with-tools=mlclient,mlcc"
+ fi
+
+ if use xft ; then
+ myconf="${myconf} --with-type-engines=xft"
+ else
+ myconf="${myconf} --with-type-engines=xcore"
+ fi
+
+ # iiimf isn't stable enough
+ #myconf="${myconf} $(use_enable iiimf)"
+
+ econf --enable-utmp \
+ $(use_enable bidi fribidi) \
+ $(use_enable debug) \
+ $(use_enable ibus) \
+ $(use_enable libssh2 ssh2) \
+ $(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
+
+ if ! use static-libs ; then
+ find "${ED}" -name '*.la' -delete || die
+ fi
+
+ doicon contrib/icon/mlterm* || die
+ make_desktop_entry mlterm mlterm mlterm-icon "System;TerminalEmulator" || die
+
+ dodoc ChangeLog README || die
+
+ docinto ja
+ dodoc doc/ja/* || die
+ docinto en
+ dodoc doc/en/* || die
+}
diff --git a/x11-terms/mlterm/mlterm-3.4.5.ebuild b/x11-terms/mlterm/mlterm-3.4.5.ebuild
new file mode 100644
index 000000000000..76864ca4213f
--- /dev/null
+++ b/x11-terms/mlterm/mlterm-3.4.5.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit autotools-utils eutils
+
+DESCRIPTION="A multi-lingual terminal emulator"
+HOMEPAGE="http://mlterm.sourceforge.net/"
+SRC_URI="mirror://sourceforge/mlterm/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 hppa ppc ppc64 x86"
+IUSE="bidi cairo debug fcitx gtk ibus libssh2 m17n-lib nls regis scim static-libs uim utempter xft"
+
+RDEPEND="x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ bidi? ( dev-libs/fribidi )
+ cairo? ( x11-libs/cairo )
+ fcitx? ( app-i18n/fcitx )
+ gtk? ( x11-libs/gtk+ )
+ ibus? ( app-i18n/ibus )
+ libssh2? ( net-libs/libssh2 )
+ m17n-lib? ( dev-libs/m17n-lib )
+ nls? ( virtual/libintl )
+ regis? (
+ || (
+ media-libs/sdl-ttf
+ media-libs/sdl2-ttf
+ )
+ )
+ scim? ( app-i18n/scim )
+ uim? ( app-i18n/uim )
+ utempter? ( sys-libs/libutempter )
+ xft? ( x11-libs/libXft )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+DOCS=( ChangeLog README doc/{en,ja} )
+
+AUTOTOOLS_PRUNE_LIBTOOL_FILES="all"
+
+src_prepare() {
+ # default config
+ sed -i \
+ -e "/ icon_path =/aicon_path = ${EPREFIX}/usr/share/pixmaps/mlterm-icon.svg" \
+ -e "/ scrollbar_view_name =/ascrollbar_view_name = sample" \
+ etc/main
+
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ local myeconfargs=(
+ --with-type-engines=xcore$(usex xft ",xft" "")$(usex cairo ",cairo" "")
+ --enable-optimize-redrawing
+ --enable-vt52
+ $(use_enable bidi fribidi)
+ $(use_enable debug)
+ $(use_enable fcitx)
+ $(use_enable ibus)
+ $(use_enable libssh2 ssh2)
+ $(use_enable m17n-lib m17nlib)
+ $(use_enable nls)
+ $(use_enable scim)
+ $(use_enable uim)
+ $(use_enable utempter utmp)
+ )
+
+ local scrollbars="sample,extra"
+ local tools="mlclient,mlcc,mlmenu,mlterm-zoom"
+ if use gtk; then
+ myeconfargs+=(--with-imagelib=gdk-pixbuf)
+ if has_version x11-libs/gtk+:3; then
+ myeconfargs+=(--with-gtk=3.0)
+ else
+ myeconfargs+=(--with-gtk=2.0)
+ fi
+ scrollbars+=",pixmap_engine"
+ tools+=",mlconfig,mlimgloader"
+ fi
+ if use regis; then
+ tools+=",registobmp"
+ fi
+ myeconfargs+=(--with-scrollbars="${scrollbars}")
+ myeconfargs+=(--with-tools="${tools}")
+
+ addpredict /dev/ptmx
+ autotools-utils_src_configure
+}
+
+src_test() {
+ :
+}
+
+src_install () {
+ autotools-utils_src_install
+ docinto contrib/icon
+ dodoc contrib/icon/README
+
+ doicon contrib/icon/mlterm*
+ make_desktop_entry mlterm mlterm mlterm-icon "System;TerminalEmulator"
+}
diff --git a/x11-terms/mlterm/mlterm-3.5.0.ebuild b/x11-terms/mlterm/mlterm-3.5.0.ebuild
new file mode 100644
index 000000000000..47ab396430bf
--- /dev/null
+++ b/x11-terms/mlterm/mlterm-3.5.0.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit autotools-utils eutils
+
+DESCRIPTION="A multi-lingual terminal emulator"
+HOMEPAGE="http://mlterm.sourceforge.net/"
+SRC_URI="mirror://sourceforge/mlterm/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
+IUSE="bidi cairo canna debug fcitx freewnn gtk ibus libssh2 m17n-lib nls regis scim static-libs uim utempter xft"
+
+RDEPEND="x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ bidi? ( dev-libs/fribidi )
+ cairo? ( x11-libs/cairo )
+ canna? ( app-i18n/canna )
+ fcitx? ( app-i18n/fcitx )
+ freewnn? ( app-i18n/freewnn )
+ gtk? ( >=x11-libs/gtk+-2 )
+ ibus? ( app-i18n/ibus )
+ libssh2? ( net-libs/libssh2 )
+ m17n-lib? ( dev-libs/m17n-lib )
+ nls? ( virtual/libintl )
+ regis? (
+ || (
+ media-libs/sdl-ttf
+ media-libs/sdl2-ttf
+ )
+ )
+ scim? ( app-i18n/scim )
+ uim? ( app-i18n/uim )
+ utempter? ( sys-libs/libutempter )
+ xft? ( x11-libs/libXft )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+DOCS=( ChangeLog README doc/{en,ja} )
+
+AUTOTOOLS_PRUNE_LIBTOOL_FILES="all"
+
+src_prepare() {
+ # default config
+ sed -i \
+ -e "/ icon_path =/aicon_path = ${EPREFIX}/usr/share/pixmaps/mlterm-icon.svg" \
+ -e "/ scrollbar_view_name =/ascrollbar_view_name = sample" \
+ etc/main
+
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ local myeconfargs=(
+ --with-type-engines=xcore$(usex xft ",xft" "")$(usex cairo ",cairo" "")
+ --enable-optimize-redrawing
+ --enable-vt52
+ $(use_enable bidi fribidi)
+ $(use_enable canna)
+ $(use_enable debug)
+ $(use_enable fcitx)
+ $(use_enable freewnn wnn)
+ $(use_enable ibus)
+ $(use_enable libssh2 ssh2)
+ $(use_enable m17n-lib m17nlib)
+ $(use_enable nls)
+ $(use_enable scim)
+ $(use_enable uim)
+ $(use_enable utempter utmp)
+ )
+
+ local scrollbars="sample,extra"
+ local tools="mlclient,mlcc,mlmenu,mlterm-zoom"
+ if use gtk; then
+ myeconfargs+=(--with-imagelib=gdk-pixbuf)
+ if has_version x11-libs/gtk+:3; then
+ myeconfargs+=(--with-gtk=3.0)
+ else
+ myeconfargs+=(--with-gtk=2.0)
+ fi
+ scrollbars+=",pixmap_engine"
+ tools+=",mlconfig,mlimgloader"
+ fi
+ if use regis; then
+ tools+=",registobmp"
+ fi
+ myeconfargs+=(--with-scrollbars="${scrollbars}")
+ myeconfargs+=(--with-tools="${tools}")
+
+ addpredict /dev/ptmx
+ autotools-utils_src_configure
+}
+
+src_test() {
+ :
+}
+
+src_install () {
+ autotools-utils_src_install
+ docinto contrib/icon
+ dodoc contrib/icon/README
+
+ doicon contrib/icon/mlterm*
+ make_desktop_entry mlterm mlterm mlterm-icon "System;TerminalEmulator"
+}
+
+pkg_postinst() {
+ elog "The 'use_scrollbar' option was renamed to 'use_mdi'."
+}