app-i18n/libchewing: drop old
authorAkinori Hattori <hattya@gentoo.org>
Wed, 16 Aug 2017 15:09:46 +0000 (00:09 +0900)
committerAkinori Hattori <hattya@gentoo.org>
Wed, 16 Aug 2017 15:09:46 +0000 (00:09 +0900)
Package-Manager: Portage-2.3.6, Repoman-2.3.1

app-i18n/libchewing/files/0.3.3-cflags.patch [deleted file]
app-i18n/libchewing/files/0.3.3-tinfo.patch [deleted file]
app-i18n/libchewing/libchewing-0.3.3-r1.ebuild [deleted file]

diff --git a/app-i18n/libchewing/files/0.3.3-cflags.patch b/app-i18n/libchewing/files/0.3.3-cflags.patch
deleted file mode 100644 (file)
index dba1093..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/configure.ac
-+++ b/configure.ac
-@@ -153,7 +122,6 @@
- if test x$LIBDEBUG = x"true"; then
-       AC_DEFINE(ENABLE_DEBUG, 1,
-               [Define to 1 if you want native library runtime debugging code enabled])
--      CFLAGS="$CFLAGS -g"
- fi
- AC_SUBST(LIBDEBUG)
diff --git a/app-i18n/libchewing/files/0.3.3-tinfo.patch b/app-i18n/libchewing/files/0.3.3-tinfo.patch
deleted file mode 100644 (file)
index 10692e7..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
---- a/configure.ac
-+++ b/configure.ac
-@@ -91,38 +91,8 @@
- AM_CONDITIONAL(ENABLE_UNIT_TEST, test x$enable_check = "xyes")
- # Checks for ncursesw
--OLDCFLAGS=$CFLAGS
--LIB_NAME=ncursesw
--NCURSESW_CFLAGS=
--NCURSESW_LIBS=
--for p in "$HOME/include" "$prefix/include" /usr/local/include /usr/include
--do
--      if test -f "$p/ncursesw/ncurses.h"
--      then
--              NCURSESW_CFLAGS="-I$p"
--              AC_DEFINE(HAVE_NCURSESW_NCURSES_H, 1, [ Define to 1 if you have the <ncursesw/ncurses.h> header file. ])
--              break
--      elif test -f "$p/ncurses/ncurses.h"
--      then
--              NCURSESW_CFLAGS="-I$p"
--              AC_DEFINE(HAVE_NCURSES_NCURSES_H, 1, [ Define to 1 if you have the <ncurses/ncurses.h> header file. ])
--              break
--      fi
--done
--
--for p in "$HOME/lib" "$prefix/lib" /usr/local/lib /usr/lib
--do
--      if test -f "$p/libncursesw.so"
--      then
--              if test "$p" != x/usr/lib
--              then
--                      NCURSESW_LIBS="-L$p -lncursesw"
--              else
--                      NCURSESW_LIBS="-lncursesw"
--              fi
--              break
--      fi
--done
-+PKG_CHECK_MODULES(NCURSESW,ncursesw,
-+      AC_DEFINE(HAVE_NCURSESW_NCURSES_H, 1, [ Define to 1 if you have the <ncursesw/ncurses.h> header file. ]),)
- enable_ncursesw=yes
- if test -z "$NCURSESW_CFLAGS"; then
diff --git a/app-i18n/libchewing/libchewing-0.3.3-r1.ebuild b/app-i18n/libchewing/libchewing-0.3.3-r1.ebuild
deleted file mode 100644 (file)
index 44ef3bd..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit autotools eutils multilib toolchain-funcs
-
-DESCRIPTION="Library for Chinese Phonetic input method"
-HOMEPAGE="http://chewing.csie.net/"
-SRC_URI="http://chewing.csie.net/download/libchewing/${P}.tar.bz2"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="static-libs test"
-
-DEPEND="
-       virtual/pkgconfig
-       test? (
-               sys-libs/ncurses[unicode]
-               >=dev-libs/check-0.9.4
-       )
-"
-
-src_prepare() {
-       epatch \
-               "${FILESDIR}"/${PV}-cflags.patch \
-               "${FILESDIR}"/${PV}-strncat-fix.patch \
-               "${FILESDIR}"/${PV}-tinfo.patch
-
-       eautoreconf
-}
-
-src_configure() {
-       econf $(use_enable static-libs static)
-}
-
-src_test() {
-       # test subdirectory is not enabled by default; this means that we
-       # have to make it explicit.
-       emake -C test check
-}
-
-DOCS=( AUTHORS ChangeLog NEWS README TODO )
-
-src_install() {
-       default
-
-       prune_libtool_files
-}