app-i18n/enca: remove old

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/3794
This commit is contained in:
Ilya Tumaykin
2017-02-03 23:33:42 +03:00
committed by David Seifert
parent 416254c178
commit d580ef5721
7 changed files with 0 additions and 239 deletions

View File

@@ -1,3 +1 @@
DIST enca-1.13.tar.bz2 532000 SHA256 6c091455d524b3ddae3533fe9bb375092f60ad6fe252e0777c873bd7869c7432 SHA512 7c5cb7b28eea271c4c94135082c1aa3f312bf790aaa4f51c954fd87ed734fae04ec07be99b20e7dfa3a668349c17d97f1eeea1ee553f9b841e74bfafc5a5906a WHIRLPOOL 0080ce92c22c5ad8b34eea767133602d73e3ebcbcb5084794e5e5da37edceab1bba9785f3884aa5c84749be89116eecf7bc59faa0ebb7118e97411f97e97e4a8
DIST enca-1.14.tar.bz2 560982 SHA256 7f33e3953fbbdac8ed144b31bbab1bb3bf181150db6ba4cd812fd958ce5f4b58 SHA512 9d0582cc8187f3e868339c3e13ca2c654359b240dd564b64a31615aeffb0ec7ae025659576cc72f6cab73b0bfa22286060f665f2c952f8dfe702cf97a39d2245 WHIRLPOOL 921038e3c6a612b38820d7314a7afe83c231e48396cd801dcbeb3f64afe157b0b5009ada00ae59f35ee4a882c4a40f46ac3346139c99da00611b073b561cfbee
DIST enca-1.19.tar.xz 465412 SHA256 3a487eca40b41021e2e4b7a6440b97d822e6532db5464471f572ecf77295e8b8 SHA512 6678639992685180457bbef7b0da6e475071ec6935dfd672188fc242ef80b906e75eff9a206e07989893d0ef4ae5eb500f1d0bbd6b4d58146c94bb143b5fb296 WHIRLPOOL 56a4ed0027ae2f68d769f1bf3201b57127be5b7e42ca35fa2e92dd755cf0691163ec0fbc7cdee57e6a2b528b36d0471bdd1666a42224e82e1d157b4f92598c1d

View File

@@ -1,52 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="4"
AUTOTOOLS_AUTORECONF=2.52
inherit eutils toolchain-funcs autotools-utils
DESCRIPTION="ENCA detects the character coding of a file and converts it if desired"
HOMEPAGE="http://gitorious.org/enca"
SRC_URI="http://dl.cihar.com/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="doc +recode"
DEPEND="recode? ( >=app-text/recode-3.6_p15 )"
RDEPEND="${DEPEND}"
src_prepare() {
epatch "${FILESDIR}"/${PN}-remove-dirty-path-hack.patch
# fix crosscompilation, bug #424473
if tc-is-cross-compiler; then
sed -e "s#./make_hash#./native_make_hash#" -i tools/Makefile.am || die
fi
autotools-utils_src_prepare
}
src_configure() {
local myeconfargs=(
--enable-external
--disable-static
$(use_with recode librecode "${EPREFIX}"/usr)
$(use_enable doc gtk-doc)
)
autotools-utils_src_configure
}
src_compile() {
if tc-is-cross-compiler; then
pushd "${AUTOTOOLS_BUILD_DIR}"/tools > /dev/null
$(tc-getBUILD_CC) -o native_make_hash "${S}"/tools/make_hash.c || die "native make_hash failed"
popd > /dev/null
fi
autotools-utils_src_compile
}
src_install() {
autotools-utils_src_install
}

View File

@@ -1,58 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="4"
AUTOTOOLS_AUTORECONF=2.52
inherit eutils toolchain-funcs autotools-multilib
DESCRIPTION="ENCA detects the character coding of a file and converts it if desired"
HOMEPAGE="http://gitorious.org/enca"
SRC_URI="http://dl.cihar.com/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ~ppc64 ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="doc +recode"
DEPEND="recode? ( >=app-text/recode-3.6_p15 )
sys-devel/gettext"
RDEPEND="${DEPEND}"
src_prepare() {
epatch "${FILESDIR}"/${PN}-remove-dirty-path-hack.patch
epatch "${FILESDIR}"/${P}-automake-1.13.patch
rm missing # too old, automake will update it
# fix crosscompilation, bug #424473
if tc-is-cross-compiler; then
sed -e "s#./make_hash#./native_make_hash#" -i tools/Makefile.am || die
fi
autotools-multilib_src_prepare
}
src_configure() {
local myeconfargs=(
--enable-external
--disable-static
$(use_with recode librecode "${EPREFIX}"/usr)
$(use_enable doc gtk-doc)
)
autotools-multilib_src_configure
}
multilib_src_compile() {
if tc-is-cross-compiler; then
pushd "${BUILD_DIR}"/tools > /dev/null
$(tc-getBUILD_CC) -o native_make_hash "${S}"/tools/make_hash.c || die "native make_hash failed"
popd > /dev/null
fi
# It will fail if we run these twice...
if ! multilib_is_native_abi ; then
sed -i -e 's/ src / /' Makefile || die
sed -i -e '/SUBDIRS/s/ test//' Makefile || die
sed -i -e 's/install-data-hook:/install-data-hook:\n\ndisabled:/' Makefile || die
fi
autotools-utils_src_compile
}

View File

@@ -1,59 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
AUTOTOOLS_AUTORECONF=2.52
inherit eutils toolchain-funcs autotools-multilib
DESCRIPTION="ENCA detects the character coding of a file and converts it if desired"
HOMEPAGE="http://gitorious.org/enca"
SRC_URI="http://dl.cihar.com/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ~ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="doc +recode"
RDEPEND="recode? ( >=app-text/recode-3.6_p15 )"
DEPEND="${RDEPEND}
sys-devel/gettext"
src_prepare() {
epatch "${FILESDIR}"/${PN}-remove-dirty-path-hack.patch \
"${FILESDIR}"/${P}-automake-1.13.patch \
"${FILESDIR}"/${P}-gcc4.8-avx-bug.patch
rm missing # too old, automake will update it
# fix crosscompilation, bug #424473
if tc-is-cross-compiler; then
sed -e "s#./make_hash#./native_make_hash#" -i tools/Makefile.am || die
fi
autotools-multilib_src_prepare
}
src_configure() {
local myeconfargs=(
--enable-external
--disable-static
$(use_with recode librecode "${EPREFIX}"/usr)
$(use_enable doc gtk-doc)
)
autotools-multilib_src_configure
}
multilib_src_compile() {
if tc-is-cross-compiler; then
pushd "${BUILD_DIR}"/tools > /dev/null
$(tc-getBUILD_CC) -o native_make_hash "${S}"/tools/make_hash.c || die "native make_hash failed"
popd > /dev/null
fi
# It will fail if we run these twice...
if ! multilib_is_native_abi ; then
sed -i -e 's/ src / /'\
-e '/SUBDIRS/s/ test//' Makefile\
-e 's/install-data-hook:/install-data-hook:\n\ndisabled:/' Makefile || die
fi
autotools-utils_src_compile
}

View File

@@ -1,34 +0,0 @@
diff --git a/configure.ac b/configure.ac
index 956763d..6a624ab 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,7 +24,7 @@ AC_CONFIG_FILES( \
test/Makefile \
tools/Makefile)
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADERS(config.h)
AM_INIT_AUTOMAKE([1.8 gnits check-news dist-bzip2])
AM_ACLOCAL_INCLUDE(m4)
AM_MAINTAINER_MODE
@@ -40,7 +40,7 @@ AC_GNU_SOURCE
AC_AIX
AC_ISC_POSIX
AC_PROG_LIBTOOL
-AM_PROG_CC_STDC
+AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_INSTALL
AC_PROG_LN_S
diff --git a/m4/typevar.m4 b/m4/typevar.m4
index ce9578d..66077eb 100644
--- a/m4/typevar.m4
+++ b/m4/typevar.m4
@@ -6,7 +6,6 @@
## defined in errno.h
AC_DEFUN([ye_CHECK_VAR_PROGRAM_INVOCATION_SHORT_NAME],
[AC_REQUIRE([AC_PROG_CC])dnl
-AC_REQUIRE([AM_PROG_CC_STDC])dnl
dnl
dnl Check for program_invocation_short_name (present on GNU systems only?)

View File

@@ -1,15 +0,0 @@
Avoid gcc-4.8.4 bug when built with -O3 -march=core-avx2
https://bugs.gentoo.org/501386
diff --git a/lib/multibyte.c b/lib/multibyte.c
index d0d0680..d511f88 100644
--- a/lib/multibyte.c
+++ b/lib/multibyte.c
@@ -520,7 +520,7 @@ looks_like_ucs2(EncaAnalyserState *analyser)
static int
looks_like_ucs4(EncaAnalyserState *analyser)
{
- static const EncaSurface PERMS[] = {
+ /*static*/ const EncaSurface PERMS[] = {
ENCA_SURFACE_PERM_4321,
ENCA_SURFACE_PERM_21
};

View File

@@ -1,19 +0,0 @@
diff -Naur enca-1.13.orig//configure.ac enca-1.13/configure.ac
--- enca-1.13.orig//configure.ac 2010-02-09 05:23:03.000000000 -0500
+++ enca-1.13/configure.ac 2012-06-29 18:04:51.000000000 -0400
@@ -97,15 +97,6 @@
dnl Check for good random number sources
AC_CHECK_FILES(/dev/random /dev/urandom /dev/srandom /dev/arandom)
-dnl Dirty path hack. Helps some people with badly set up search paths.
-if test "$prefix" = "NONE"; then
- LDFLAGS="$LDFLAGS -L$ac_default_prefix/lib"
- CPPFLAGS="$CPPFLAGS -I$ac_default_prefix/include"
-else
- LDFLAGS="$LDFLAGS -L$prefix/lib"
- CPPFLAGS="$CPPFLAGS -I$prefix/include"
-fi
-
dnl Checks for libraries.
ye_CHECK_LIBM