Gentoo Archives: gentoo-commits

From: "Peter Alfredsen (loki_val)" <loki_val@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/recode: ChangeLog recode-3.6_p15.ebuild
Date: Thu, 25 Sep 2008 11:18:09
Message-Id: E1KiorG-0004ZX-1u@stork.gentoo.org
1 loki_val 08/09/25 11:18:06
2
3 Modified: ChangeLog
4 Added: recode-3.6_p15.ebuild
5 Log:
6 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.
7 (Portage version: 2.2_rc9/cvs/Linux 2.6.25.8 i686)
8
9 Revision Changes Path
10 1.49 app-text/recode/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/recode/ChangeLog?rev=1.49&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/recode/ChangeLog?rev=1.49&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/recode/ChangeLog?r1=1.48&r2=1.49
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-text/recode/ChangeLog,v
19 retrieving revision 1.48
20 retrieving revision 1.49
21 diff -u -r1.48 -r1.49
22 --- ChangeLog 20 Apr 2008 08:32:59 -0000 1.48
23 +++ ChangeLog 25 Sep 2008 11:18:05 -0000 1.49
24 @@ -1,6 +1,14 @@
25 # ChangeLog for app-text/recode
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-text/recode/ChangeLog,v 1.48 2008/04/20 08:32:59 vapier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-text/recode/ChangeLog,v 1.49 2008/09/25 11:18:05 loki_val Exp $
29 +
30 +*recode-3.6_p15 (25 Sep 2008)
31 +
32 + 25 Sep 2008; Peter Alfredsen <loki_val@g.o> +recode-3.6_p15.ebuild:
33 + Fix bug #226083. The fix for bug #209036 actually required a revbump
34 + because the header file is installed and may thus affect the compilation
35 + of other programs. This provides that and imports newest patches from
36 + Debian.
37
38 20 Apr 2008; Mike Frysinger <vapier@g.o>
39 +files/recode-3.6-gcc43.patch, recode-3.6-r2.ebuild:
40
41
42
43 1.1 app-text/recode/recode-3.6_p15.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/recode/recode-3.6_p15.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/recode/recode-3.6_p15.ebuild?rev=1.1&content-type=text/plain
47
48 Index: recode-3.6_p15.ebuild
49 ===================================================================
50 # Copyright 1999-2008 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-text/recode/recode-3.6_p15.ebuild,v 1.1 2008/09/25 11:18:05 loki_val Exp $
53
54 WANT_AUTOMAKE="1.4"
55
56 inherit autotools eutils libtool toolchain-funcs
57
58 MY_P=${P%_*}
59 MY_PV=${PV%_*}
60 DEB_PATCH=${PV#*p}
61
62 DESCRIPTION="Convert files between various character sets"
63 HOMEPAGE="http://recode.progiciels-bpi.ca/"
64 SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz
65 mirror://debian/pool/main/r/${PN}/${PN}_${MY_PV}-${DEB_PATCH}.diff.gz"
66
67 LICENSE="GPL-2"
68 SLOT="0"
69 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
70 IUSE="nls"
71
72 DEPEND="nls? ( sys-devel/gettext )"
73
74 S=${WORKDIR}/${MY_P}
75
76 src_unpack() {
77 unpack ${A}
78 cd "${S}"
79 epatch "${WORKDIR}"/${PN}_${MY_PV}-${DEB_PATCH}.diff
80 sed -i '1i#include <stdlib.h>' src/argmatch.c || die
81
82 # Needed under FreeBSD, too
83 epatch "${FILESDIR}"/${MY_P}-ppc-macos.diff
84 cp lib/error.c lib/xstrdup.c src/ || die "file copy failed"
85
86 elibtoolize
87 }
88
89 src_compile() {
90 tc-export CC LD
91 # --without-included-gettext means we always use system headers
92 # and library
93 econf --without-included-gettext $(use_enable nls) || die "econf failed"
94 emake || die "emake failed"
95 }
96
97 src_install() {
98 emake DESTDIR="${D}" install || die "make install failed"
99 dodoc AUTHORS BACKLOG ChangeLog NEWS README THANKS TODO
100 rm -f "${D}"/usr/lib/charset.alias
101 }