commit: 917677d9d8aaacdca46f0db9ac3ea9aee72c6198 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> AuthorDate: Wed Aug 16 15:09:46 2017 +0000 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> CommitDate: Wed Aug 16 15:09:46 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=917677d9
app-i18n/libchewing: drop old Package-Manager: Portage-2.3.6, Repoman-2.3.1 app-i18n/libchewing/files/0.3.3-cflags.patch | 10 ------ app-i18n/libchewing/files/0.3.3-tinfo.patch | 43 ---------------------- app-i18n/libchewing/libchewing-0.3.3-r1.ebuild | 50 -------------------------- 3 files changed, 103 deletions(-) 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 index dba1093c5ae..00000000000 --- a/app-i18n/libchewing/files/0.3.3-cflags.patch +++ /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 index 10692e72c8e..00000000000 --- a/app-i18n/libchewing/files/0.3.3-tinfo.patch +++ /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 index 44ef3bd839e..00000000000 --- a/app-i18n/libchewing/libchewing-0.3.3-r1.ebuild +++ /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 -}