diff options
Diffstat (limited to 'dev-libs/m17n-lib')
| -rw-r--r-- | dev-libs/m17n-lib/Manifest | 1 | ||||
| -rw-r--r-- | dev-libs/m17n-lib/files/m17n-lib-1.8.4-configure.patch | 142 | ||||
| -rw-r--r-- | dev-libs/m17n-lib/m17n-lib-1.8.4-r2.ebuild | 89 |
3 files changed, 0 insertions, 232 deletions
diff --git a/dev-libs/m17n-lib/Manifest b/dev-libs/m17n-lib/Manifest index 61746babce13..6dbf2a2b8704 100644 --- a/dev-libs/m17n-lib/Manifest +++ b/dev-libs/m17n-lib/Manifest @@ -1,2 +1 @@ -DIST m17n-lib-1.8.4.tar.gz 1119271 BLAKE2B 790a002e0abd66d7db0d61ab0240712b2810e698c73d507a5054ad83d4a7a7258c4407d5167ce92fc4c1f3acdfc9f8d3244634af801cde2a00762f09d5e1d823 SHA512 7e322788aed8a758a8c289112433aabccd12dacf14b247ba9060503bcc44930c9251f0c4e718987b9a151de097e72bc1e07c8096f7f4ad83a7d7183a549721d6 DIST m17n-lib-1.8.6.tar.gz 1134862 BLAKE2B d51974643f7c76ccb96f8e9849c7850880d6c206beb07a2dddbe5b885d4ad97d092f80382ad0e3ebe72d76e04510b6ae1753f0395add09250ebc17647a62d57d SHA512 4fe3e9d2f88a90e8e9b30ee53a71612f937ab3d4c5243075f39de13818522e5c595840f67b3411b03d403affeafeb1802158b6ae8ddf80a1e695d1105b595a59 diff --git a/dev-libs/m17n-lib/files/m17n-lib-1.8.4-configure.patch b/dev-libs/m17n-lib/files/m17n-lib-1.8.4-configure.patch deleted file mode 100644 index 12e571bd086b..000000000000 --- a/dev-libs/m17n-lib/files/m17n-lib-1.8.4-configure.patch +++ /dev/null @@ -1,142 +0,0 @@ ---- a/configure.ac -+++ b/configure.ac -@@ -96,8 +96,11 @@ - - dnl Checks which levels of APIs should be compiled. - --AC_ARG_ENABLE(gui, -- AS_HELP_STRING([--enable-gui],[enable GUI level APIs (default is YES)])) -+PKG_PROG_PKG_CONFIG -+AM_CONDITIONAL([HAVE_PKG_CONFIG], [test "x$PKG_CONFIG" != x]) -+ -+AC_ARG_WITH(gui, -+ AS_HELP_STRING([--with-gui],[enable GUI level APIs (default is YES)])) - - AM_CONDITIONAL(WITH_GUI, test x$with_gui != xno) - -@@ -117,14 +120,14 @@ - - M17N_EXT_LIBS= - --PKG_PROG_PKG_CONFIG --AM_CONDITIONAL([HAVE_PKG_CONFIG], [test "x$PKG_CONFIG" != x]) -- - if test "x$no_x" != "xyes"; then - AC_DEFINE(HAVE_X11, 1, [Define to 1 if you have X11.]) - X11_LD_FLAGS="-lXt -lX11" - M17N_EXT_LIBS="$M17N_EXT_LIBS X11" - -+ AC_ARG_WITH(athena, -+ AS_HELP_STRING([--with-athena],[with X Athena Widget suport])) -+ if test "x$with_athena" != "xno"; then - if test "x$HAVE_XAW" = "xyes"; then - AC_DEFINE(HAVE_X11_XAW_COMMAND_H, 1, - [Define to 1 if you have the Xaw header files.]) -@@ -132,11 +135,15 @@ - CONFIG_FLAGS="$CONFIG_FLAGS -DHAVE_X11_XAW_COMMAND_H" - M17N_EXT_LIBS="$M17N_EXT_LIBS Xaw" - fi -+ fi - fi - AC_SUBST(X11_LD_FLAGS) - AC_SUBST(XAW_LD_FLAGS) - - dnl Check for fribidi library. -+AC_ARG_WITH(fribidi, -+ AS_HELP_STRING([--with-fribidi],[with FriBidi suport])) -+if test "x$with_fribidi" != "xno"; then - save_CPPFLAGS="$CPPFLAGS" - save_LIBS="$LIBS" - AC_CHECK_PROG(HAVE_FRIBIDI_CONFIG, fribidi-config, yes) -@@ -158,6 +165,7 @@ - FRIBIDI_LD_FLAGS= - fi - LIBS="$save_LIBS" -+fi - AC_SUBST(FRIBIDI_LD_FLAGS) - - dnl Check for otflib usability. -@@ -201,11 +209,14 @@ - AC_SUBST(OTF_LD_FLAGS) - - dnl Check for Freetype2 usability. -+AC_ARG_WITH(freetype, -+ AS_HELP_STRING([--with-freetype],[with FreeType support])) -+if test "x$with_freetype" != "xno"; then - PKG_CHECK_MODULES([FREETYPE], [freetype2], [HAVE_FREETYPE=yes], - [HAVE_FREETYPE=no]) - AS_IF([test "x$HAVE_FREETYPE" = "xyes"], - [CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"; -- FREETYPE_LD_FLAGS=FREETYPE_LIBS; -+ FREETYPE_LD_FLAGS=$FREETYPE_LIBS; - AC_DEFINE([HAVE_FREETYPE], [1], - [Define to 1 if you have FreeType library and header file.]) - M17N_EXT_LIBS="$M17N_EXT_LIBS freetype"; -@@ -220,9 +231,13 @@ - ], - [] - ) -+fi - AC_SUBST([FREETYPE_LD_FLAGS]) - - dnl Check for Xft2 usability. -+AC_ARG_WITH(xft, -+ AS_HELP_STRING([--with-xft],[with Xft support])) -+if test "x$with_xft" != "xno"; then - save_CPPFLAGS="$CPPFLAGS" - save_LIBS="$LIBS" - XFT2_LD_FLAGS="-lXft -lfreetype -lfontconfig -lXrender -lX11" -@@ -253,6 +268,7 @@ - CPPFLAGS="$save_CPPFLAGS" - fi - LIBS="$save_LIBS" -+fi - AC_SUBST(XFT2_LD_FLAGS) - - dnl Check for fontconfig usability. -@@ -306,6 +322,9 @@ - fi - - dnl Check for libxml2 usability. -+AC_ARG_WITH(libxml2, -+ AS_HELP_STRING([--with-libxml2],[with libxml2 suport])) -+if test "x$with_libxml2" != "xno"; then - save_CPPFLAGS="$CPPFLAGS" - save_LIBS="$LIBS" - AC_CHECK_PROG(HAVE_XML2_CONFIG, xml2-config, yes) -@@ -328,10 +347,13 @@ - CPPFLAGS="$save_CPPFLAGS" - fi - LIBS="$save_LIBS" -+fi - AC_SUBST(XML2_LD_FLAGS) - - dnl Check for Anthy usability. -- -+AC_ARG_WITH(anthy, -+ AS_HELP_STRING([--with-anthy],[with Anthy suport])) -+if test "x$with_anthy" != "xno"; then - PKG_CHECK_MODULES(ANTHY, anthy, HAVE_ANTHY=yes, HAVE_ANTHY=no) - if test "x$HAVE_ANTHY" = "xyes"; then - AC_DEFINE(HAVE_ANTHY, 1, -@@ -340,15 +362,20 @@ - ANTHY_LD_FLAGS="$ANTHY_LIBS" - CONFIG_FLAGS="$CONFIG_FLAGS -DHAVE_ANTHY" - fi -+fi - AC_SUBST(ANTHY_LD_FLAGS) - - dnl Check for Ispell usability. -+AC_ARG_WITH(ispell, -+ AS_HELP_STRING([--with-ispell],[with Ispell suport])) -+if test "x$with_ispell" != "xno"; then - AC_CHECK_PROG(HAVE_ISPELL, ispell, yes) - if test "x$HAVE_ISPELL" = "xyes"; then - AC_DEFINE(HAVE_ISPELL, 1, [Define if ispell is available.]) - M17N_EXT_LIBS="$M17N_EXT_LIBS ispell" - CONFIG_FLAGS="$CONFIG_FLAGS -DHAVE_ISPELL" - fi -+fi - - dnl Check for Thai word-segmentation library. - dnl If we have one, define HAVE_THAI_WORDSEG and one of these: diff --git a/dev-libs/m17n-lib/m17n-lib-1.8.4-r2.ebuild b/dev-libs/m17n-lib/m17n-lib-1.8.4-r2.ebuild deleted file mode 100644 index 78a32a556786..000000000000 --- a/dev-libs/m17n-lib/m17n-lib-1.8.4-r2.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" - -inherit autotools - -DESCRIPTION="Multilingual Library for Unix/Linux" -HOMEPAGE="https://www.nongnu.org/m17n/" -SRC_URI="mirror://nongnu/m17n/${P}.tar.gz" - -LICENSE="LGPL-2.1+" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~sparc x86" -IUSE="X anthy athena bidi fontconfig gd libotf libxml2 spell xft" - -RDEPEND=">=dev-db/m17n-db-${PV} - X? ( - x11-libs/libX11 - x11-libs/libXt - athena? ( x11-libs/libXaw ) - bidi? ( dev-libs/fribidi ) - fontconfig? ( media-libs/fontconfig ) - gd? ( media-libs/gd[png] ) - libotf? ( dev-libs/libotf ) - xft? ( - media-libs/freetype - x11-libs/libXft - ) - ) - anthy? ( app-i18n/anthy ) - libxml2? ( dev-libs/libxml2:= ) - spell? ( app-text/aspell )" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}"/${P}-configure.patch - "${FILESDIR}"/${PN}-freetype.patch - "${FILESDIR}"/${PN}-ispell.patch -) - -src_prepare() { - default - - eautoreconf - # workaround for parallel install - sed -i "/^install-module/s/:/: install-libLTLIBRARIES/" src/Makefile.in -} - -src_configure() { - local myconf=( - $(use_with anthy) - $(use_with libxml2) - $(use_with spell ispell) - ) - if use X; then - myconf+=( - $(use_with athena) - $(use_with bidi fribidi) - $(use_with fontconfig) - $(use_with xft freetype) - $(use_with gd) - --with-gui - $(use_with libotf) - --with-x - $(use_with xft) - ) - else - myconf+=( - --without-athena - --without-fontconfig - --without-freetype - --without-fribidi - --without-gd - --without-gui - --without-libotf - --without-x - --without-xft - ) - fi - - econf "${myconf[@]}" -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die -} |
