* [gentoo-commits] repo/gentoo:master commit in: x11-terms/mlterm/files/, x11-terms/mlterm/
@ 2017-06-18 13:07 Akinori Hattori
0 siblings, 0 replies; 3+ messages in thread
From: Akinori Hattori @ 2017-06-18 13:07 UTC (permalink / raw
To: gentoo-commits
commit: deddb81bac426fdcb2fd2d98c5a99b41c53c28c8
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 18 13:06:13 2017 +0000
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sun Jun 18 13:06:13 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=deddb81b
x11-terms/mlterm: new upstream release
Package-Manager: Portage-2.3.5, Repoman-2.3.1
x11-terms/mlterm/Manifest | 1 +
x11-terms/mlterm/files/mlterm-font.patch | 17 +++++
x11-terms/mlterm/mlterm-3.8.1.ebuild | 121 +++++++++++++++++++++++++++++++
3 files changed, 139 insertions(+)
diff --git a/x11-terms/mlterm/Manifest b/x11-terms/mlterm/Manifest
index bd66c64e914..dd4f78ed478 100644
--- a/x11-terms/mlterm/Manifest
+++ b/x11-terms/mlterm/Manifest
@@ -1 +1,2 @@
DIST mlterm-3.8.0.tar.gz 3756779 SHA256 6be0165fe43dc45099c4b37303fcca918e5dd07c5b0abb1fd4e35c8d73e9bf01 SHA512 86d163aaf24668dea77e54ff775cb448c6c699bcc82e1d84fe9a9fbed90d9c834ee3e61348de77713b2dbd229b37b76d2be817d788710f224cd5c53e7f93049f WHIRLPOOL b189d06d420a42ded64e84c17158c21d3968353ac69bc1027bc1895a2eccc21cafe402d6b4f9497ca652d436ecc51c99ce8287ec96790e75d526facd7a830558
+DIST mlterm-3.8.1.tar.gz 3789935 SHA256 464fa3a76ea562e38945067003c68e5ce320b60063f412bff01cb6a0f5c5d6d9 SHA512 fd57ffefb9f96a58bb63751cc06b3381e0b3d5b50c5023cbd95fa5dc0351f958a783f6eabbf71b6625774312d03c5284db957c47f83f5352ae594d0e4864c52e WHIRLPOOL 5db8da0598b0419bca47448eb6471aed7ba2d57511d31944c41a26333f697b758c0a002b12ee60f5e4bebd61dedfbeea12ce90122fd7d66293c2906e7153ea17
diff --git a/x11-terms/mlterm/files/mlterm-font.patch b/x11-terms/mlterm/files/mlterm-font.patch
new file mode 100644
index 00000000000..205a748a04a
--- /dev/null
+++ b/x11-terms/mlterm/files/mlterm-font.patch
@@ -0,0 +1,17 @@
+--- a/uitoolkit/fb/ui_font.c
++++ b/uitoolkit/fb/ui_font.c
+@@ -1625,11 +1625,11 @@
+ }
+ percent = 0;
+ #else /* __linux__ */
+- if (stat("/usr/share/fonts/X11/misc/unifont.pcf.gz", &st) == 0) {
+- font_file = "/usr/share/fonts/X11/misc/unifont.pcf.gz";
++ if (stat("/usr/share/fonts/unifont/unifont.pcf.gz", &st) == 0) {
++ font_file = "/usr/share/fonts/unifont/unifont.pcf.gz";
+ percent = 100;
+ } else {
+- font_file = "/usr/share/fonts/X11/misc/10x20.pcf.gz";
++ font_file = "/usr/share/fonts/misc/10x20.pcf.gz";
+ percent = 0;
+ }
+ #endif
diff --git a/x11-terms/mlterm/mlterm-3.8.1.ebuild b/x11-terms/mlterm/mlterm-3.8.1.ebuild
new file mode 100644
index 00000000000..a90ee67d69c
--- /dev/null
+++ b/x11-terms/mlterm/mlterm-3.8.1.ebuild
@@ -0,0 +1,121 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit 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 ~ppc ~ppc64 ~x86"
+IUSE="bidi cairo canna debug fbcon fcitx freewnn gtk ibus libssh2 m17n-lib nls regis scim skk static-libs uim utempter xft"
+
+RDEPEND="x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ bidi? ( dev-libs/fribidi )
+ cairo? ( x11-libs/cairo[X] )
+ canna? ( app-i18n/canna )
+ fbcon? ( media-fonts/unifont )
+ 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 )
+ skk? (
+ || (
+ virtual/skkserv
+ app-i18n/skk-jisyo
+ )
+ )
+ uim? ( app-i18n/uim )
+ utempter? ( sys-libs/libutempter )
+ xft? ( x11-libs/libXft )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+PATCHES=( "${FILESDIR}"/${PN}-font.patch )
+DOCS=( doc/{en,ja} )
+
+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
+
+ default
+}
+
+src_configure() {
+ local myconf=(
+ $(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 skk)
+ $(use_enable uim)
+ $(use_enable utempter utmp)
+ --with-gui=xlib$(usex fbcon ",fb" "")
+ --with-type-engines=xcore$(usex xft ",xft" "")$(usex cairo ",cairo" "")
+ --enable-optimize-redrawing
+ --enable-vt52
+ --disable-static
+ )
+
+ local scrollbars="sample,extra"
+ local tools="mlclient,mlcc,mlfc,mlmenu,mlterm-zoom"
+ if use gtk; then
+ myconf+=( --with-imagelib=gdk-pixbuf )
+ if has_version x11-libs/gtk+:3; then
+ myconf+=( --with-gtk=3.0 )
+ else
+ myconf+=( --with-gtk=2.0 )
+ fi
+ scrollbars+=",pixmap_engine"
+ tools+=",mlconfig,mlimgloader"
+ fi
+ if use regis; then
+ tools+=",registobmp"
+ fi
+ myconf+=( --with-scrollbars="${scrollbars}" )
+ myconf+=( --with-tools="${tools}" )
+
+ addpredict /dev/ptmx
+ econf "${myconf[@]}"
+}
+
+src_test() {
+ :
+}
+
+src_install () {
+ default
+ prune_libtool_files
+
+ docinto contrib/icon
+ dodoc contrib/icon/README
+
+ doicon contrib/icon/mlterm*
+ make_desktop_entry mlterm mlterm mlterm-icon "System;TerminalEmulator"
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: x11-terms/mlterm/files/, x11-terms/mlterm/
@ 2023-04-16 23:17 Sam James
0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2023-04-16 23:17 UTC (permalink / raw
To: gentoo-commits
commit: 705232be6a2664e2b41d81dfea7393ad7b290b15
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 16 10:42:33 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 16 23:16:42 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=705232be
x11-terms/mlterm: fix configure w/ clang 16
Closes: https://bugs.gentoo.org/904353
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../mlterm/files/mlterm-configure-clang16.patch | 123 +++++++++++++++++++++
...{mlterm-3.9.3.ebuild => mlterm-3.9.3-r1.ebuild} | 12 +-
2 files changed, 131 insertions(+), 4 deletions(-)
diff --git a/x11-terms/mlterm/files/mlterm-configure-clang16.patch b/x11-terms/mlterm/files/mlterm-configure-clang16.patch
new file mode 100644
index 000000000000..134870d8f756
--- /dev/null
+++ b/x11-terms/mlterm/files/mlterm-configure-clang16.patch
@@ -0,0 +1,123 @@
+https://github.com/arakiken/mlterm/pull/68
+
+From 4eb1a0b237a861cee7ba0ceb4b69d54ab46f87f5 Mon Sep 17 00:00:00 2001
+From: Sam James <sam@gentoo.org>
+Date: Sun, 16 Apr 2023 11:38:16 +0100
+Subject: [PATCH] Fix configure.ac compatibility with Clang 16
+
+Clang 16 makes -Wimplicit-function-declaration and -Wimplicit-int errors by default.
+
+Unfortunately, this can lead to misconfiguration or miscompilation of software as configure
+tests may then return the wrong result.
+
+For more information, see LWN.net [0] or LLVM's Discourse [1], the Gentoo wiki [2],
+or the (new) c-std-porting mailing list [3].
+
+Bug: https://bugs.gentoo.org/904353
+
+[0] https://lwn.net/Articles/913505/
+[1] https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213
+[2] https://wiki.gentoo.org/wiki/Modern_C_porting
+[3] hosted at lists.linux.dev.
+--- a/baselib/configure
++++ b/baselib/configure
+@@ -13226,6 +13226,8 @@ See \`config.log' for more details" "$LINENO" 5; }
+ else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
++#define _XOPEN_SOURCE 600
++#include <stdlib.h>
+ #include <fcntl.h>
+ int
+ main ()
+@@ -13599,6 +13601,8 @@ else
+ /* end confdefs.h. */
+
+ #include <stdio.h>
++ #include <stdlib.h>
++ #include <stddef.h>
+ int main() {
+ return calloc(8, ((1 << (sizeof(size_t) * 8 - 1)) + 1)) ? 1 : 0 ;
+ }
+--- a/baselib/configure.in
++++ b/baselib/configure.in
+@@ -285,7 +285,9 @@ elif test "$bl_cv_mingw" = "yes" ; then
+ bl_cv_pty=streams
+ elif test "$host" = "$build" ; then
+ AC_CHECK_FUNC(posix_openpt,
+- [AC_RUN_IFELSE([AC_LANG_PROGRAM([#include <fcntl.h>],
++ [AC_RUN_IFELSE([AC_LANG_PROGRAM([#define _XOPEN_SOURCE 600
++ #include <stdlib.h>
++ #include <fcntl.h>],
+ [return posix_openpt(O_RDWR | O_NOCTTY) == -1;])],
+ [
+ AC_DEFINE(HAVE_POSIX_OPENPT,,"HAVE_POSIX_OPENPT")
+@@ -435,6 +437,8 @@ if test "$host" = "$build"; then
+ AC_TRY_RUN(
+ [
+ #include <stdio.h>
++ #include <stdlib.h>
++ #include <stddef.h>
+ int main() {
+ return calloc(8, ((1 << (sizeof(size_t) * 8 - 1)) + 1)) ? 1 : 0 ;
+ }
+--- a/configure
++++ b/configure
+@@ -25110,6 +25110,8 @@ See \`config.log' for more details" "$LINENO" 5; }
+ else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
++#define _XOPEN_SOURCE 600
++#include <stdlib.h>
+ #include <fcntl.h>
+ int
+ main ()
+@@ -25147,6 +25149,7 @@ else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+ #include <fcntl.h>
++#include <sys/stat.h>
+ int
+ main ()
+ {
+@@ -25475,6 +25478,8 @@ else
+ /* end confdefs.h. */
+
+ #include <stdio.h>
++ #include <stdlib.h>
++ #include <stddef.h>
+ int main() {
+ return calloc(8, ((1 << (sizeof(size_t) * 8 - 1)) + 1)) ? 1 : 0 ;
+ }
+--- a/configure.in
++++ b/configure.in
+@@ -2150,7 +2150,9 @@ elif test "$bl_cv_mingw" = "yes" ; then
+ bl_cv_pty=streams
+ elif test "$host" = "$build" ; then
+ AC_CHECK_FUNC(posix_openpt,
+- [AC_RUN_IFELSE([AC_LANG_PROGRAM([#include <fcntl.h>],
++ [AC_RUN_IFELSE([AC_LANG_PROGRAM([#define _XOPEN_SOURCE 600
++ #include <stdlib.h>
++ #include <fcntl.h>],
+ [return posix_openpt(O_RDWR | O_NOCTTY) == -1;])],
+ [
+ AC_DEFINE(HAVE_POSIX_OPENPT,,"HAVE_POSIX_OPENPT")
+@@ -2160,7 +2162,8 @@ elif test "$host" = "$build" ; then
+ [bl_cv_pty=bsd])
+ if test "$bl_cv_pty" = "bsd" ; then
+ AC_RUN_IFELSE(
+- [AC_LANG_PROGRAM([#include <fcntl.h>],
++ [AC_LANG_PROGRAM([#include <sys/stat.h>
++ #include <fcntl.h>],
+ [return open( "/dev/ptmx", O_RDWR | O_NOCTTY, 0) == -1;])],
+ [bl_cv_pty=streams])
+ fi
+@@ -2297,6 +2300,8 @@ if test "$host" = "$build"; then
+ AC_TRY_RUN(
+ [
+ #include <stdio.h>
++ #include <stdlib.h>
++ #include <stddef.h>
+ int main() {
+ return calloc(8, ((1 << (sizeof(size_t) * 8 - 1)) + 1)) ? 1 : 0 ;
+ }
diff --git a/x11-terms/mlterm/mlterm-3.9.3.ebuild b/x11-terms/mlterm/mlterm-3.9.3-r1.ebuild
similarity index 94%
rename from x11-terms/mlterm/mlterm-3.9.3.ebuild
rename to x11-terms/mlterm/mlterm-3.9.3-r1.ebuild
index 48e60e6194d8..f9f685ab417d 100644
--- a/x11-terms/mlterm/mlterm-3.9.3.ebuild
+++ b/x11-terms/mlterm/mlterm-3.9.3-r1.ebuild
@@ -53,19 +53,23 @@ RDEPEND="virtual/libcrypt:=
x11-libs/libxkbcommon
)
xft? ( x11-libs/libXft )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig
nls? ( sys-devel/gettext )"
-PATCHES=( "${FILESDIR}"/${PN}-font.patch )
DOCS=( doc/{en,ja} )
+PATCHES=(
+ "${FILESDIR}"/${PN}-font.patch
+ "${FILESDIR}"/${PN}-configure-clang16.patch
+)
+
src_prepare() {
# default config
sed -i \
-e "/ icon_path =/aicon_path = ${EPREFIX}/usr/share/pixmaps/${PN}-icon.svg" \
-e "/ scrollbar_view_name =/ascrollbar_view_name = sample" \
- etc/main
+ etc/main || die
default
}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: x11-terms/mlterm/files/, x11-terms/mlterm/
@ 2025-06-26 12:54 Akinori Hattori
0 siblings, 0 replies; 3+ messages in thread
From: Akinori Hattori @ 2025-06-26 12:54 UTC (permalink / raw
To: gentoo-commits
commit: dc505f55e126ded26cb4fe09b41e79058b49c34e
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 26 12:48:11 2025 +0000
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Thu Jun 26 12:53:05 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc505f55
x11-terms/mlterm: drop old
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>
x11-terms/mlterm/Manifest | 1 -
x11-terms/mlterm/files/mlterm-clang-16.patch | 123 ------------------------
x11-terms/mlterm/mlterm-3.9.3-r1.ebuild | 135 ---------------------------
3 files changed, 259 deletions(-)
diff --git a/x11-terms/mlterm/Manifest b/x11-terms/mlterm/Manifest
index 56dadec5f3f3..f1510782e7f9 100644
--- a/x11-terms/mlterm/Manifest
+++ b/x11-terms/mlterm/Manifest
@@ -1,2 +1 @@
-DIST mlterm-3.9.3.tar.gz 4272090 BLAKE2B 8f71a8c5cd63b7caa803e699a7e42b8d11cb18324595a7a255c7542df6fad6b968bf56a03a2d19a2381d103232685e3c3cd62388ac036a024870fbe3d222d081 SHA512 67c22ee8411cef499620a37e43af5609bb52cf8be6b617f0dfa6605217eb7f66227bfe073ca9b878606392fac26f94299221b5890fba1d90a3afc35a0f3132a1
DIST mlterm-3.9.4.tar.gz 4227568 BLAKE2B 75bb435a3ec0fc3872fc763d850125a20314b4a54e6c628dee8045db6d1acaf669d45540d5812e9331ceb8a210f93178e208ccd48acc7c70d8743dea43783f99 SHA512 f03ce24b89f74510cd8924a2cd9ab795c6ebf7f7ef2b69fb8a17bf3f5855c255cf86558b0e5abc7db64175f7c909b165cf96663825b98f4a2df4371d5e4a9469
diff --git a/x11-terms/mlterm/files/mlterm-clang-16.patch b/x11-terms/mlterm/files/mlterm-clang-16.patch
deleted file mode 100644
index 134870d8f756..000000000000
--- a/x11-terms/mlterm/files/mlterm-clang-16.patch
+++ /dev/null
@@ -1,123 +0,0 @@
-https://github.com/arakiken/mlterm/pull/68
-
-From 4eb1a0b237a861cee7ba0ceb4b69d54ab46f87f5 Mon Sep 17 00:00:00 2001
-From: Sam James <sam@gentoo.org>
-Date: Sun, 16 Apr 2023 11:38:16 +0100
-Subject: [PATCH] Fix configure.ac compatibility with Clang 16
-
-Clang 16 makes -Wimplicit-function-declaration and -Wimplicit-int errors by default.
-
-Unfortunately, this can lead to misconfiguration or miscompilation of software as configure
-tests may then return the wrong result.
-
-For more information, see LWN.net [0] or LLVM's Discourse [1], the Gentoo wiki [2],
-or the (new) c-std-porting mailing list [3].
-
-Bug: https://bugs.gentoo.org/904353
-
-[0] https://lwn.net/Articles/913505/
-[1] https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213
-[2] https://wiki.gentoo.org/wiki/Modern_C_porting
-[3] hosted at lists.linux.dev.
---- a/baselib/configure
-+++ b/baselib/configure
-@@ -13226,6 +13226,8 @@ See \`config.log' for more details" "$LINENO" 5; }
- else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- /* end confdefs.h. */
-+#define _XOPEN_SOURCE 600
-+#include <stdlib.h>
- #include <fcntl.h>
- int
- main ()
-@@ -13599,6 +13601,8 @@ else
- /* end confdefs.h. */
-
- #include <stdio.h>
-+ #include <stdlib.h>
-+ #include <stddef.h>
- int main() {
- return calloc(8, ((1 << (sizeof(size_t) * 8 - 1)) + 1)) ? 1 : 0 ;
- }
---- a/baselib/configure.in
-+++ b/baselib/configure.in
-@@ -285,7 +285,9 @@ elif test "$bl_cv_mingw" = "yes" ; then
- bl_cv_pty=streams
- elif test "$host" = "$build" ; then
- AC_CHECK_FUNC(posix_openpt,
-- [AC_RUN_IFELSE([AC_LANG_PROGRAM([#include <fcntl.h>],
-+ [AC_RUN_IFELSE([AC_LANG_PROGRAM([#define _XOPEN_SOURCE 600
-+ #include <stdlib.h>
-+ #include <fcntl.h>],
- [return posix_openpt(O_RDWR | O_NOCTTY) == -1;])],
- [
- AC_DEFINE(HAVE_POSIX_OPENPT,,"HAVE_POSIX_OPENPT")
-@@ -435,6 +437,8 @@ if test "$host" = "$build"; then
- AC_TRY_RUN(
- [
- #include <stdio.h>
-+ #include <stdlib.h>
-+ #include <stddef.h>
- int main() {
- return calloc(8, ((1 << (sizeof(size_t) * 8 - 1)) + 1)) ? 1 : 0 ;
- }
---- a/configure
-+++ b/configure
-@@ -25110,6 +25110,8 @@ See \`config.log' for more details" "$LINENO" 5; }
- else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- /* end confdefs.h. */
-+#define _XOPEN_SOURCE 600
-+#include <stdlib.h>
- #include <fcntl.h>
- int
- main ()
-@@ -25147,6 +25149,7 @@ else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- /* end confdefs.h. */
- #include <fcntl.h>
-+#include <sys/stat.h>
- int
- main ()
- {
-@@ -25475,6 +25478,8 @@ else
- /* end confdefs.h. */
-
- #include <stdio.h>
-+ #include <stdlib.h>
-+ #include <stddef.h>
- int main() {
- return calloc(8, ((1 << (sizeof(size_t) * 8 - 1)) + 1)) ? 1 : 0 ;
- }
---- a/configure.in
-+++ b/configure.in
-@@ -2150,7 +2150,9 @@ elif test "$bl_cv_mingw" = "yes" ; then
- bl_cv_pty=streams
- elif test "$host" = "$build" ; then
- AC_CHECK_FUNC(posix_openpt,
-- [AC_RUN_IFELSE([AC_LANG_PROGRAM([#include <fcntl.h>],
-+ [AC_RUN_IFELSE([AC_LANG_PROGRAM([#define _XOPEN_SOURCE 600
-+ #include <stdlib.h>
-+ #include <fcntl.h>],
- [return posix_openpt(O_RDWR | O_NOCTTY) == -1;])],
- [
- AC_DEFINE(HAVE_POSIX_OPENPT,,"HAVE_POSIX_OPENPT")
-@@ -2160,7 +2162,8 @@ elif test "$host" = "$build" ; then
- [bl_cv_pty=bsd])
- if test "$bl_cv_pty" = "bsd" ; then
- AC_RUN_IFELSE(
-- [AC_LANG_PROGRAM([#include <fcntl.h>],
-+ [AC_LANG_PROGRAM([#include <sys/stat.h>
-+ #include <fcntl.h>],
- [return open( "/dev/ptmx", O_RDWR | O_NOCTTY, 0) == -1;])],
- [bl_cv_pty=streams])
- fi
-@@ -2297,6 +2300,8 @@ if test "$host" = "$build"; then
- AC_TRY_RUN(
- [
- #include <stdio.h>
-+ #include <stdlib.h>
-+ #include <stddef.h>
- int main() {
- return calloc(8, ((1 << (sizeof(size_t) * 8 - 1)) + 1)) ? 1 : 0 ;
- }
diff --git a/x11-terms/mlterm/mlterm-3.9.3-r1.ebuild b/x11-terms/mlterm/mlterm-3.9.3-r1.ebuild
deleted file mode 100644
index 6870094f473f..000000000000
--- a/x11-terms/mlterm/mlterm-3.9.3-r1.ebuild
+++ /dev/null
@@ -1,135 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-
-inherit desktop
-
-DESCRIPTION="A multi-lingual terminal emulator"
-HOMEPAGE="http://mlterm.sourceforge.net/"
-SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~ppc ppc64 ~riscv x86"
-IUSE="+X bidi brltty cairo debug fbcon fcitx gtk harfbuzz ibus libssh2 m17n-lib nls regis scim skk static-libs uim utempter wayland xft"
-REQUIRED_USE="|| ( X fbcon wayland )"
-
-RDEPEND="virtual/libcrypt:=
- X? (
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libX11
- )
- bidi? ( dev-libs/fribidi )
- brltty? ( app-accessibility/brltty[api(+)] )
- cairo? ( x11-libs/cairo[X(+)] )
- fbcon? ( media-fonts/unifont )
- fcitx? ( app-i18n/fcitx:* )
- gtk? ( x11-libs/gtk+:3 )
- harfbuzz? ( media-libs/harfbuzz[truetype(+)] )
- 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 )
- skk? (
- || (
- virtual/skkserv
- app-i18n/skk-jisyo
- )
- )
- uim? ( app-i18n/uim )
- utempter? ( sys-libs/libutempter )
- wayland? (
- dev-libs/wayland
- x11-libs/libxkbcommon
- )
- xft? ( x11-libs/libXft )"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig
- nls? ( sys-devel/gettext )"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-font.patch
- "${FILESDIR}"/${PN}-clang-16.patch
-)
-DOCS=( doc/{en,ja} )
-
-src_prepare() {
- # default config
- sed -i \
- -e "/ icon_path =/aicon_path = ${EPREFIX}/usr/share/pixmaps/${PN}-icon.svg" \
- -e "/ scrollbar_view_name =/ascrollbar_view_name = sample" \
- etc/main || die
-
- default
-}
-
-src_configure() {
- local myconf=(
- $(use_enable bidi fribidi)
- $(use_enable brltty brlapi)
- $(use_enable debug)
- $(use_enable fcitx)
- $(use_enable harfbuzz otl)
- $(use_enable ibus)
- $(use_enable libssh2 ssh2)
- $(use_enable m17n-lib m17nlib)
- $(use_enable nls)
- $(use_enable scim)
- $(use_enable skk)
- $(use_enable uim)
- $(use_with X x)
- --with-gui=$(usex X "xlib" "")$(usex fbcon ",fb" "")$(usex wayland ",wayland" "")
- --with-type-engines=xcore$(usex xft ",xft" "")$(usex cairo ",cairo" "")
- --with-utmp=$(usex utempter utempter none)
- --enable-optimize-redrawing
- --enable-vt52
- --disable-canna
- --disable-static
- --disable-wnn
- )
-
- local scrollbars="sample,extra"
- local tools="mlclient,mlcc,mlfc,mlmenu,${PN}-zoom"
- if use gtk; then
- myconf+=(
- --with-gtk=3.0
- --with-imagelib=gdk-pixbuf
- )
- scrollbars+=",pixmap_engine"
- tools+=",mlconfig,mlimgloader"
- else
- myconf+=( --without-gtk )
- fi
- if use regis; then
- tools+=",registobmp"
- fi
- myconf+=( --with-scrollbars="${scrollbars}" )
- myconf+=( --with-tools="${tools}" )
-
- addpredict /dev/ptmx
- econf "${myconf[@]}"
-}
-
-src_test() {
- :
-}
-
-src_install() {
- default
- find "${ED}" -name '*.la' -delete || die
-
- docinto contrib/icon
- dodoc contrib/icon/README
-
- doicon contrib/icon/${PN}*
- make_desktop_entry ${PN} ${PN} ${PN}-icon "System;TerminalEmulator"
-}
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-06-26 12:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-26 12:54 [gentoo-commits] repo/gentoo:master commit in: x11-terms/mlterm/files/, x11-terms/mlterm/ Akinori Hattori
-- strict thread matches above, loose matches on Subject: below --
2023-04-16 23:17 Sam James
2017-06-18 13:07 Akinori Hattori
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox