Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/recode/files/, app-text/recode/
Date: Thu, 03 Aug 2017 20:21:00
Message-Id: 1501791645.41abe76b06e50552be388dd2b27582bceaea965c.monsieurp@gentoo
1 commit: 41abe76b06e50552be388dd2b27582bceaea965c
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 3 20:20:45 2017 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 3 20:20:45 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41abe76b
7
8 app-text/recode: clean up old.
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.1
11
12 app-text/recode/Manifest | 2 -
13 app-text/recode/files/recode-3.6-as-if.patch | 19 -------
14 app-text/recode/files/recode-3.6-gettextfix.diff | 23 ---------
15 app-text/recode/recode-3.6_p20-r1.ebuild | 65 ------------------------
16 4 files changed, 109 deletions(-)
17
18 diff --git a/app-text/recode/Manifest b/app-text/recode/Manifest
19 index cbb6d515936..2a33126e724 100644
20 --- a/app-text/recode/Manifest
21 +++ b/app-text/recode/Manifest
22 @@ -1,3 +1 @@
23 -DIST recode-3.6.tar.gz 1751886 SHA256 e3e6a4f3f8e5c6052ab70155990c074d87aa0b614fc1be31d194750d1d962fcf SHA512 68de277ac8cd5f6023bb077b959ab5778a78edac1299d507bab906824080b6f86e9bfcd89169aa474197c2faa9af2ceb1ed272c8dd4d50caef373afa05daed1b WHIRLPOOL 08eef3eea75d1898800d9f18eec95f50706b4e75285ce22e71723069f7e2a07ee762693c8366e5139add65b319276ced71b6f046884c1e75eb89a3922b7f3dab
24 DIST recode-3.7_pre20140303.zip 1902903 SHA256 baba145f8c8aa7ba223419dadc942f2182450925283c1067fa16f87b3a9b3857 SHA512 256d79d6f9de18bbf53cb322f0467411ef2ff8e4f242d073d7302fbd05e4942373023514d0a88e33701280c1cb4e0235d76efb9220729cd1f91f9ad8fd2407de WHIRLPOOL 19290f675cacc30ee51f198d765d27af9d03d7a6e0f048b1f14b812f7cf11533a542dbd1bc13c61037ae327a5b5693e07a5bd9b1aa3d244266f2f658ca378dfd
25 -DIST recode_3.6-20.debian.tar.gz 341117 SHA256 ec0e25d91a8d5e4a61e8e2876c338ae6c1ba89018f02ff1ee4eb01cb7c44e7ee SHA512 bc586534e77b49da7d387187a8ddb042a12871f87f4f32c818ce7218b7254ac5ba6eccb14aaaf0312579f27958883f2da620016a7049c3af24c8bfba81acc3ef WHIRLPOOL 72f00b3d6732b8794456795d847dbb2114c2577b8d5c9683c8fcb41d3bd92548322dc9d73d38af3a4811fb531d9482d1a5d37ee6600cf281bed4ceb6e794b058
26
27 diff --git a/app-text/recode/files/recode-3.6-as-if.patch b/app-text/recode/files/recode-3.6-as-if.patch
28 deleted file mode 100644
29 index c7bcc27c875..00000000000
30 --- a/app-text/recode/files/recode-3.6-as-if.patch
31 +++ /dev/null
32 @@ -1,19 +0,0 @@
33 -http://bugs.gentoo.org/283029
34 -
35 ---- a/m4/flex.m4
36 -+++ b/m4/flex.m4
37 -@@ -8,11 +8,11 @@ dnl ad_AC_PROG_FLEX
38 - dnl Look for flex or missing, then run AC_PROG_LEX and AC_DECL_YYTEXT
39 - AC_DEFUN(ad_AC_PROG_FLEX,
40 - [AC_CHECK_PROGS(LEX, flex, missing)
41 --if test "$LEX" = missing; then
42 -+AS_IF([test "$LEX" = missing], [dnl
43 - LEX="\$(top_srcdir)/$ac_aux_dir/missing flex"
44 - LEX_OUTPUT_ROOT=lex.yy
45 - AC_SUBST(LEX_OUTPUT_ROOT)dnl
46 --else
47 -+], [:
48 - AC_PROG_LEX
49 - AC_DECL_YYTEXT
50 --fi])
51 -+])])
52
53 diff --git a/app-text/recode/files/recode-3.6-gettextfix.diff b/app-text/recode/files/recode-3.6-gettextfix.diff
54 deleted file mode 100644
55 index 3b7eb8ba20e..00000000000
56 --- a/app-text/recode/files/recode-3.6-gettextfix.diff
57 +++ /dev/null
58 @@ -1,23 +0,0 @@
59 -http://bugs.gentoo.org/239372
60 -
61 -patch by Dmitry Karasik
62 -
63 ---- recode-3.6/m4/gettext.m4
64 -+++ recode-3.6/m4/gettext.m4
65 -@@ -109,12 +109,12 @@
66 - else
67 - ac_items="$LINGUAS"
68 - for ac_item in $ac_items; do
69 -- case "$ALL_LINGUAS" in
70 -- *$ac_item*)
71 -+ for supported_item in $ALL_LINGUAS; do
72 -+ if test "$ac_item" = "$supported_item"; then
73 - ac_print="$ac_print $ac_item"
74 - MOFILES="$MOFILES $ac_item.mo"
75 -- ;;
76 -- esac
77 -+ fi
78 -+ done
79 - done
80 - fi
81 - AC_SUBST(MOFILES)
82
83 diff --git a/app-text/recode/recode-3.6_p20-r1.ebuild b/app-text/recode/recode-3.6_p20-r1.ebuild
84 deleted file mode 100644
85 index 7b6e7af72bc..00000000000
86 --- a/app-text/recode/recode-3.6_p20-r1.ebuild
87 +++ /dev/null
88 @@ -1,65 +0,0 @@
89 -# Copyright 1999-2017 Gentoo Foundation
90 -# Distributed under the terms of the GNU General Public License v2
91 -
92 -EAPI=5
93 -
94 -WANT_AUTOMAKE="1.11" # bug 419455
95 -
96 -inherit autotools eutils flag-o-matic libtool toolchain-funcs multilib-minimal
97 -
98 -MY_P=${P%_*}
99 -MY_PV=${PV%_*}
100 -DEB_PATCH=${PV#*p}
101 -
102 -DESCRIPTION="Convert files between various character sets"
103 -HOMEPAGE="http://recode.progiciels-bpi.ca/"
104 -SRC_URI="
105 - mirror://gnu/${PN}/${MY_P}.tar.gz
106 - mirror://debian/pool/main/r/${PN}/${PN}_${MY_PV}-${DEB_PATCH}.debian.tar.gz"
107 -
108 -LICENSE="GPL-2"
109 -SLOT="0"
110 -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
111 -IUSE="nls static-libs"
112 -
113 -DEPEND="
114 - sys-devel/flex
115 - nls? ( sys-devel/gettext )"
116 -RDEPEND=""
117 -
118 -S=${WORKDIR}/${MY_P}
119 -
120 -src_prepare() {
121 - # fix #571106 by restoring pre-GCC5 inline semantics
122 - append-cflags -std=gnu89
123 -
124 - rm "${WORKDIR}"/debian/patches/series || die
125 - epatch \
126 - "${FILESDIR}/${MY_P}-gettextfix.diff" \
127 - "${FILESDIR}"/${MY_P}-as-if.patch \
128 - "${WORKDIR}"/debian/patches/*
129 - sed -i '1i#include <stdlib.h>' src/argmatch.c || die
130 -
131 - # Remove old libtool macros
132 - rm "${S}"/acinclude.m4 || die
133 -
134 - eautoreconf
135 - elibtoolize
136 -}
137 -
138 -multilib_src_configure() {
139 - # on solaris -lintl is needed to compile
140 - [[ ${CHOST} == *-solaris* ]] && append-libs "-lintl"
141 - # --without-included-gettext means we always use system headers
142 - # and library
143 - ECONF_SOURCE="${S}" econf \
144 - --without-included-gettext \
145 - $(use_enable nls) \
146 - $(use_enable static-libs static)
147 -}
148 -
149 -multilib_src_install_all() {
150 - einstalldocs
151 - find "${ED}" -name '*.la' -exec rm -f {} + || die
152 - rm -f "${ED}"/usr/lib/charset.alias || die
153 -}