diff --git a/app-text/recode/ChangeLog b/app-text/recode/ChangeLog new file mode 100644 --- /dev/null +++ b/app-text/recode/ChangeLog @@ -0,0 +1,250 @@ +# ChangeLog for app-text/recode +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/recode/ChangeLog,v 1.72 2009/10/18 06:05:54 vapier Exp $ + +*recode-3.6_p16 (18 Oct 2009) + + 18 Oct 2009; Mike Frysinger +recode-3.6_p16.ebuild, + +files/recode-3.6-as-if.patch: + Version bump and include fix for autoconf-2.64 troubles #283029 by Diego + E. Pettenò. + + 31 Aug 2009; Brent Baude recode-3.6_p15-r1.ebuild: + stable ppc64, bug 279935 + + 26 Aug 2009; Christian Faulhammer + recode-3.6_p15-r1.ebuild: + stable x86, bug 279935 + + 20 Aug 2009; Jeremy Olexa + -files/recode-3.6-debian-11.patch, -files/recode-3.6-gcc43.patch: + remove unused patches + + 14 Aug 2009; Raúl Porcel recode-3.6_p15-r1.ebuild: + alpha/arm/ia64/s390/sh/sparc stable wrt #279935 + + 08 Aug 2009; Jeroen Roovers recode-3.6_p15-r1.ebuild: + Stable for HPPA (bug #279935). + + 03 Aug 2009; Tiago Cunha recode-3.6_p15-r1.ebuild: + stable sparc, bug 279935 + + 02 Aug 2009; nixnut recode-3.6_p15-r1.ebuild: + ppc stable #279935 + + 01 Aug 2009; recode-3.6_p15-r1.ebuild: + Marked stable on AMD64 as requested by Jeremy "Darkside" Olexa + in bug #279935. Compile-tested on a dual hex-core + Opteron with USE="nls". + + 10 Apr 2009; Jeremy Olexa -recode-3.6-r2.ebuild: + QA, remove version for bug 209710 + +*recode-3.6_p15-r1 (10 Apr 2009) + + 10 Apr 2009; Jeremy Olexa + +files/recode-3.6-gettextfix.diff, +recode-3.6_p15-r1.ebuild: + fix build error with regards to LINGUAS=zh. bug 239372, patch by Dmitry Karasik + + 19 Mar 2009; Joseph Jezak recode-3.6_p15.ebuild: + Marked ppc stable for bug #261220. + + 15 Mar 2009; Brent Baude ChangeLog: + Marking recode-3.6_p15 ppc64 for bug 261227 + + 15 Mar 2009; Brent Baude recode-3.6_p15.ebuild: + stable ppc64, bug 261220 + + 14 Mar 2009; Raúl Porcel recode-3.6_p15.ebuild: + arm/ia64/s390/sh stable wrt #261220 + + 11 Mar 2009; Tobias Klausmann recode-3.6_p15.ebuild: + Stable on alpha, bug #261220 + + 07 Mar 2009; Christian Faulhammer + recode-3.6_p15.ebuild: + x86 stable, bug 261220; set RDEPEND explicitely + + 07 Mar 2009; Jeremy Olexa recode-3.6_p15.ebuild: + amd64 stable, bug 261220 + + 05 Mar 2009; Jeroen Roovers recode-3.6_p15.ebuild: + Stable for HPPA (bug #261220). + + 05 Mar 2009; Ferris McCormick recode-3.6_p15.ebuild: + Sparc stable --- Bug #261220 --- tests all run correctly. + + 02 Oct 2008; Diego Pettenò recode-3.6_p15.ebuild: + Fix building on sub-second precision filesystems (tmpfs, xfs, jfs). Closes + bug #238710. + +*recode-3.6_p15 (25 Sep 2008) + + 25 Sep 2008; Peter Alfredsen +recode-3.6_p15.ebuild: + Fix bug #226083. The fix for bug #209036 actually required a revbump + because the header file is installed and may thus affect the compilation + of other programs. This provides that and imports newest patches from + Debian. + + 20 Apr 2008; Mike Frysinger + +files/recode-3.6-gcc43.patch, recode-3.6-r2.ebuild: + Fix building with gcc-4.3 #209036. + + 19 Jan 2008; Fabian Groffen recode-3.6-r1.ebuild, + recode-3.6-r2.ebuild: + Dropped ppc-macos keyword, see you in prefix + + 20 Mar 2007; Roy Marples recode-3.6-r2.ebuild: + Build against gettext system libraries and headers instead of included ones, + #171540. + + 22 Jan 2007; Diego Pettenò recode-3.6-r1.ebuild, + recode-3.6-r2.ebuild: + Use mirror://gnu/ rather than ftp.gnu.org. + + 06 Sep 2006; Christel Dahlskjaer + recode-3.6-r2.ebuild: + Stable on mips as per bug #143787 + + 17 Aug 2006; Thomas Cort recode-3.6-r2.ebuild: + Stable on amd64 wrt Bug #143787. + + 15 Aug 2006; Jeroen Roovers recode-3.6-r2.ebuild: + Stable for HPPA (bug #143787). + + 15 Aug 2006; Jose Luis Rivero recode-3.6-r2.ebuild: + Stable on alpha wrt bug #143787 + + 14 Aug 2006; Luca Barbato recode-3.6-r2.ebuild: + Marked ppc + + 13 Aug 2006; Jason Wever recode-3.6-r2.ebuild: + Stable on SPARC wrt bug #143787. + + 13 Aug 2006; Andrej Kacian recode-3.6-r2.ebuild: + Stable on x86. Bug #143787. + + 13 Aug 2006; Markus Rothe recode-3.6-r2.ebuild: + Stable on ppc64; bug #143787 + + 13 Aug 2006; Fabian Groffen recode-3.6-r2.ebuild: + Marked ppc-macos stable (bug #143787) + + 18 Jul 2006; Diego Pettenò recode-3.6-r2.ebuild: + Move the ppc-macos patch out of if, as it's needed on FreeBSD and does not + hinder Linux builds, and export CC/LD or here it finds gcc unable to produce + shared libraries. + + 22 Apr 2006; Diego Pettenò recode-3.6-r2.ebuild: + Add ~x86-fbsd keyword. + + 25 Sep 2005; Mike Frysinger + +files/recode-3.6-debian-11.patch, recode-3.6-r2.ebuild: + Just rip out the useful chunks from the Debian patchset so we dont have to + screw around with autotools. + +*recode-3.6-r2 (25 Sep 2005) + + 25 Sep 2005; Mike Frysinger + files/recode-3.6-ppc-macos.diff, +recode-3.6-r2.ebuild: + Grab latest Debian patchset to fix some bugs in recode (like #107089). + + 16 May 2005; Aaron Walker recode-3.6-r1.ebuild: + Use toolchain-funcs.eclass instead of gcc.eclass. + + 01 Feb 2005; Kito recode-3.6-r1.ebuild: + added ~ppc-macos and patch + + 07 Nov 2004; Markus Rothe recode-3.6-r1.ebuild: + Stable on ppc64; bug #60442 + + 07 Nov 2004; Markus Rothe recode-3.6-r1.ebuild: + Marked ~ppc64 + + 21 Oct 2004; Aaron Walker +metadata.xml: + Add metadata (shell-tools) + + 23 Sep 2004; Michael Sterrett recode-3.6-r1.ebuild: + `` -> $(); tidy + + 15 Sep 2004; Guy Martin recode-3.6-r1.ebuild: + Stable on hppa. + + 01 Jul 2004; Jeremy Huddleston recode-3.5.ebuild, + recode-3.6-r1.ebuild, recode-3.6.ebuild: + virtual/glibc -> virtual/libc + + 28 Jun 2004; Ciaran McCreesh recode-3.6-r1.ebuild: + Stable on mips + + 24 May 2004; Ferris McCormick recode-3.6-r1.ebuild: + Marked stable for sparc. + + 13 May 2004; Joshua Kinard recode-3.6-r1.ebuild: + Added ~mips to KEYWORDS. + + 06 May 2004; Karl Trygve Kalleberg recode-3.6-r1.ebuild: + Fix for bogus gcc version check. Marked stable on x86, as the previous + one doesn't even compile. + + 12 Mar 2004; Michael Sterrett recode-3.5.ebuild, + recode-3.6.ebuild: + replace-flags in src_compile; header fix + + 17 Feb 2004; Aron Griffis recode-3.6-r1.ebuild: + stable on alpha and ia64 + + 24 Oct 2003; Brad House recode-3.6-r1.ebuild: + add amd64 flag + + 28 Jun 2003; Martin Holzer recode-3.5.ebuild, + recode-3.6.ebuild: + Updated SRC_URI. Closes #23534 + +*recode-3.6-r1 (29 Jun 2003) + + 29 Jun 2003; Lars Weiler recode-3.6-r1.ebuild: + Inherits the debian patches to recode, so that BigEndian machines can handle + utf8 correctly. Tested only on ppc yet. + + This closes Bug #20141 + + Thanks to John Steele Scott for giving the hint to this + patch. + + 06 Dec 2002; Rodney Rees : changed sparc ~sparc keywords + +*recode-3.6 (1 Feb 2002) + + 04 Feb 2003; Jon Nall recode-3.6.ebuild : + added ~ppc + + 20 Sept 2002; Mike Frysinger : + Updated HOMEPAGE variable + + 28 Aug 2002; Karl Trygve Kalleberg recode-3.6.ebuild : + Filter out -O? for gcc-3.2 on x86. Fixes #7069. + + 24 Aug 2002; Martin Schlemmer recode-3.6.ebuild : + Filter -march=pentium4. + + 2 Aug 2002; phoen][x recode-3.6.ebuild : + Added KEYWORDS. + + 24 June 2002; George Shapovalov recode-3.8.ebuild : + modified SRC_URI to use ${P}, added RDEPEND, SLOT and LICENSE lines + and correct header line. + added recode-3.5.ebuild (exact copy of 3.6) - pybliographer requires + + 2 Aug 2002; phoen][x recode-3.5.ebuild : + Added KEYWORDS. + exact that version of recode installed. + + 1 Feb 2002; G.Bevin ChangeLog : + Added initial ChangeLog. + +*recode-3.5 (28 Jun 2003) + + 11 Jul 2003; Daniel Ahlberg : + Added missing changelog entry. + diff --git a/app-text/recode/Manifest b/app-text/recode/Manifest new file mode 100644 --- /dev/null +++ b/app-text/recode/Manifest @@ -0,0 +1,10 @@ +AUX recode-3.6-as-if.patch 472 RMD160 135df923c6e49372af4e9f70a268ffdd33ee109f SHA1 e38def07c620c1ae800c759d036e525bb33e9ba4 SHA256 9ab5b40dd93461ca95c5f5dd197bbe0767c45fe64fb1898f073a24c5705822b5 +AUX recode-3.6-gettextfix.diff 514 RMD160 a51f72c039b336f587bcd88afc017a2312ebbf9c SHA1 e187d0312216d0b360118010aa8cb344d86d90df SHA256 eb080ec09e508f24974d3bed2dc114d2d8c5d69615e98beea67aa07d4a1e076b +AUX recode-3.6-ppc-macos.diff 649 RMD160 3620b56b93721088ed5e716374160b3e8eacb139 SHA1 5910760fbef68738fdc65b4835e0d54889b36a36 SHA256 8a2d3bb5438f6fdf04d5eae753d6d7b35dcd975bc8ea26f2b418a59889dddb7a +DIST recode-3.6.tar.gz 1751886 RMD160 97dcb2544472c9025689452a94bed98ea36374b5 SHA1 2de90cd2ba553bc07d75a29913ea4424dd9e616b SHA256 e3e6a4f3f8e5c6052ab70155990c074d87aa0b614fc1be31d194750d1d962fcf +DIST recode_3.6-15.diff.gz 315690 RMD160 fb18aa8f66c9143cf72d00988096ef331777988d SHA1 fb0580a86c24437248dfc3967e64c53577623658 SHA256 0e972bc4898b6d09192f51b935cb03e09666487b5c2f604ee1254d9e44ed9884 +DIST recode_3.6-16.diff.gz 317439 RMD160 31d81dac3428244e279e5c9abcba2005fbcc0793 SHA1 628f428eb26e457b37a0d537255711aa97c83f86 SHA256 0338042a21992836fdb5fe7238a00d2b02aefe31a6b7f17af65d8bf16ac44383 +EBUILD recode-3.6_p15-r1.ebuild 1548 RMD160 05bea883ca9ac2605863607c49da1116376909e6 SHA1 da7bafc1a6af6bf06107fb2a2061dc7abe5d116f SHA256 e19bcf93610bee97f58e6366f84c8e5ba272750d6bc44884c4e442021c738d63 +EBUILD recode-3.6_p16.ebuild 1570 RMD160 e16c117e61441ba6fd659e543764647b5feb858b SHA1 40a1b49da786c14227777e422938df6b845ed84e SHA256 11e0b37f343e0a29ab3400f0a1fe7aef768e6fd89c51e5605bdc52c2fd5811ac +MISC ChangeLog 8848 RMD160 f8710055863c6fae4c9eced07e0f3bbaa9ba4dca SHA1 73afe54f4c8dc3a3bbab3bf14563c69a8050cd91 SHA256 c6c0c64d00956b8169b100ae3ff486e44c38e307f3de1564efb6019344d695f6 +MISC metadata.xml 165 RMD160 c4557a3518a065b077539be5a0f20e4735fc2141 SHA1 1831705b1eb97b63968fc9eef31aa904a69a854a SHA256 75ca85c472d4181ae0de529c83826baaebe75d9e750ee6621758b5096bceffcd diff --git a/app-text/recode/files/recode-3.6-as-if.patch b/app-text/recode/files/recode-3.6-as-if.patch new file mode 100644 --- /dev/null +++ b/app-text/recode/files/recode-3.6-as-if.patch @@ -0,0 +1,19 @@ +http://bugs.gentoo.org/283029 + +--- a/m4/flex.m4 ++++ b/m4/flex.m4 +@@ -8,11 +8,11 @@ dnl ad_AC_PROG_FLEX + dnl Look for flex or missing, then run AC_PROG_LEX and AC_DECL_YYTEXT + AC_DEFUN(ad_AC_PROG_FLEX, + [AC_CHECK_PROGS(LEX, flex, missing) +-if test "$LEX" = missing; then ++AS_IF([test "$LEX" = missing], [dnl + LEX="\$(top_srcdir)/$ac_aux_dir/missing flex" + LEX_OUTPUT_ROOT=lex.yy + AC_SUBST(LEX_OUTPUT_ROOT)dnl +-else ++], [: + AC_PROG_LEX + AC_DECL_YYTEXT +-fi]) ++])]) diff --git a/app-text/recode/files/recode-3.6-gettextfix.diff b/app-text/recode/files/recode-3.6-gettextfix.diff new file mode 100644 --- /dev/null +++ b/app-text/recode/files/recode-3.6-gettextfix.diff @@ -0,0 +1,23 @@ +http://bugs.gentoo.org/239372 + +patch by Dmitry Karasik + +--- recode-3.6/m4/gettext.m4 ++++ recode-3.6/m4/gettext.m4 +@@ -109,12 +109,12 @@ + else + ac_items="$LINGUAS" + for ac_item in $ac_items; do +- case "$ALL_LINGUAS" in +- *$ac_item*) ++ for supported_item in $ALL_LINGUAS; do ++ if test "$ac_item" = "$supported_item"; then + ac_print="$ac_print $ac_item" + MOFILES="$MOFILES $ac_item.mo" +- ;; +- esac ++ fi ++ done + done + fi + AC_SUBST(MOFILES) diff --git a/app-text/recode/files/recode-3.6-ppc-macos.diff b/app-text/recode/files/recode-3.6-ppc-macos.diff new file mode 100644 --- /dev/null +++ b/app-text/recode/files/recode-3.6-ppc-macos.diff @@ -0,0 +1,16 @@ +--- recode/src/Makefile.in ++++ recode/src/Makefile.in +@@ -165,11 +165,11 @@ + strip-data$U.lo testdump$U.lo ucs$U.lo utf16$U.lo utf7$U.lo utf8$U.lo \ + varia$U.lo vn$U.lo flat$U.lo html$U.lo lat1ltex$U.lo lat1txte$U.lo \ + rfc1345$U.lo texinfo$U.lo base64$U.lo dump$U.lo endline$U.lo \ +-permut$U.lo quoted$U.lo ++permut$U.lo quoted$U.lo error.lo xstrdup.lo + PROGRAMS = $(bin_PROGRAMS) + + recode_OBJECTS = main$U.o freeze$U.o mixed$U.o +-recode_DEPENDENCIES = librecode.la ../lib/libreco.a ++recode_DEPENDENCIES = librecode.la + recode_LDFLAGS = + CFLAGS = @CFLAGS@ + COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) diff --git a/app-text/recode/metadata.xml b/app-text/recode/metadata.xml new file mode 100644 --- /dev/null +++ b/app-text/recode/metadata.xml @@ -0,0 +1,5 @@ + + + + shell-tools + diff --git a/app-text/recode/recode-3.6_p15-r1.ebuild b/app-text/recode/recode-3.6_p15-r1.ebuild new file mode 100644 --- /dev/null +++ b/app-text/recode/recode-3.6_p15-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/recode/recode-3.6_p15-r1.ebuild,v 1.9 2009/08/31 19:29:14 ranger Exp $ + +inherit autotools eutils libtool toolchain-funcs + +MY_P=${P%_*} +MY_PV=${PV%_*} +DEB_PATCH=${PV#*p} + +DESCRIPTION="Convert files between various character sets" +HOMEPAGE="http://recode.progiciels-bpi.ca/" +SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz + mirror://debian/pool/main/r/${PN}/${PN}_${MY_PV}-${DEB_PATCH}.diff.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd" +IUSE="nls" + +DEPEND="nls? ( sys-devel/gettext )" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + + # patch for bug #239372 by Dmitry Karasik + epatch "${FILESDIR}/${MY_P}-gettextfix.diff" + + epatch "${WORKDIR}"/${PN}_${MY_PV}-${DEB_PATCH}.diff + sed -i '1i#include ' src/argmatch.c || die + + # Needed under FreeBSD, too + epatch "${FILESDIR}"/${MY_P}-ppc-macos.diff + cp lib/error.c lib/xstrdup.c src/ || die "file copy failed" + + # Remove old libtool macros + rm "${S}"/acinclude.m4 + + eautoreconf + elibtoolize +} + +src_compile() { + tc-export CC LD + # --without-included-gettext means we always use system headers + # and library + econf --without-included-gettext $(use_enable nls) + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + dodoc AUTHORS BACKLOG ChangeLog NEWS README THANKS TODO + rm -f "${D}"/usr/lib/charset.alias +} diff --git a/app-text/recode/recode-3.6_p16.ebuild b/app-text/recode/recode-3.6_p16.ebuild new file mode 100644 --- /dev/null +++ b/app-text/recode/recode-3.6_p16.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/recode/recode-3.6_p16.ebuild,v 1.1 2009/10/18 06:05:54 vapier Exp $ + +inherit autotools eutils libtool toolchain-funcs + +MY_P=${P%_*} +MY_PV=${PV%_*} +DEB_PATCH=${PV#*p} + +DESCRIPTION="Convert files between various character sets" +HOMEPAGE="http://recode.progiciels-bpi.ca/" +SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz + mirror://debian/pool/main/r/${PN}/${PN}_${MY_PV}-${DEB_PATCH}.diff.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="nls" + +DEPEND="nls? ( sys-devel/gettext )" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${MY_P}-gettextfix.diff" #239372 + epatch "${FILESDIR}"/${MY_P}-as-if.patch #283029 + epatch "${WORKDIR}"/${PN}_${MY_PV}-${DEB_PATCH}.diff + sed -i '1i#include ' src/argmatch.c || die + + # Needed under FreeBSD, too + epatch "${FILESDIR}"/${MY_P}-ppc-macos.diff + cp lib/error.c lib/xstrdup.c src/ || die "file copy failed" + + # Remove old libtool macros + rm "${S}"/acinclude.m4 + + eautoreconf + elibtoolize +} + +src_compile() { + tc-export CC LD + # --without-included-gettext means we always use system headers + # and library + econf --without-included-gettext $(use_enable nls) + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + dodoc AUTHORS BACKLOG ChangeLog NEWS README THANKS TODO + rm -f "${D}"/usr/lib/charset.alias +}