Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/sam2p: ChangeLog sam2p-0.47.ebuild
Date: Mon, 23 Aug 2010 21:15:08
Message-Id: 20100823211503.9F74A2004E@flycatcher.gentoo.org
1 ssuominen 10/08/23 21:15:03
2
3 Modified: ChangeLog sam2p-0.47.ebuild
4 Log:
5 Workaround bug in ccdep.pl with GCC 4.5.x wrt #315619.
6 (Portage version: 2.2_rc67/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.40 media-gfx/sam2p/ChangeLog
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/sam2p/ChangeLog?rev=1.40&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/sam2p/ChangeLog?rev=1.40&content-type=text/plain
13 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/sam2p/ChangeLog?r1=1.39&r2=1.40
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/media-gfx/sam2p/ChangeLog,v
18 retrieving revision 1.39
19 retrieving revision 1.40
20 diff -u -r1.39 -r1.40
21 --- ChangeLog 11 Jun 2010 20:21:57 -0000 1.39
22 +++ ChangeLog 23 Aug 2010 21:15:03 -0000 1.40
23 @@ -1,6 +1,9 @@
24 # ChangeLog for media-gfx/sam2p
25 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/sam2p/ChangeLog,v 1.39 2010/06/11 20:21:57 aballier Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/sam2p/ChangeLog,v 1.40 2010/08/23 21:15:03 ssuominen Exp $
28 +
29 + 23 Aug 2010; Samuli Suominen <ssuominen@g.o> sam2p-0.47.ebuild:
30 + Workaround bug in ccdep.pl with GCC 4.5.x wrt #315619.
31
32 *sam2p-0.47 (11 Jun 2010)
33
34
35
36
37 1.2 media-gfx/sam2p/sam2p-0.47.ebuild
38
39 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/sam2p/sam2p-0.47.ebuild?rev=1.2&view=markup
40 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/sam2p/sam2p-0.47.ebuild?rev=1.2&content-type=text/plain
41 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/sam2p/sam2p-0.47.ebuild?r1=1.1&r2=1.2
42
43 Index: sam2p-0.47.ebuild
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/media-gfx/sam2p/sam2p-0.47.ebuild,v
46 retrieving revision 1.1
47 retrieving revision 1.2
48 diff -u -r1.1 -r1.2
49 --- sam2p-0.47.ebuild 11 Jun 2010 20:21:57 -0000 1.1
50 +++ sam2p-0.47.ebuild 23 Aug 2010 21:15:03 -0000 1.2
51 @@ -1,40 +1,48 @@
52 # Copyright 1999-2010 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/sam2p/sam2p-0.47.ebuild,v 1.1 2010/06/11 20:21:57 aballier Exp $
55 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/sam2p/sam2p-0.47.ebuild,v 1.2 2010/08/23 21:15:03 ssuominen Exp $
56
57 -inherit toolchain-funcs eutils autotools
58 +EAPI=2
59 +inherit autotools eutils toolchain-funcs
60
61 DESCRIPTION="Utility to convert raster images to EPS, PDF and many others"
62 HOMEPAGE="http://code.google.com/p/sam2p/"
63 SRC_URI="http://sam2p.googlecode.com/files/${P}.tar.gz"
64 +
65 LICENSE="GPL-2"
66 SLOT="0"
67 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
68 IUSE="examples gif"
69
70 -DEPEND="dev-lang/perl"
71 RDEPEND=""
72 +DEPEND="dev-lang/perl"
73
74 RESTRICT="test"
75
76 -src_unpack() {
77 - unpack ${A}
78 - cd "${S}"
79 - epatch "${FILESDIR}/${PN}-0.45-fbsd.patch"
80 - epatch "${FILESDIR}/${PN}-0.45-nostrip.patch"
81 - epatch "${FILESDIR}/${PN}-0.45-cflags.patch"
82 +src_prepare() {
83 + epatch \
84 + "${FILESDIR}"/${PN}-0.45-fbsd.patch \
85 + "${FILESDIR}"/${PN}-0.45-nostrip.patch \
86 + "${FILESDIR}"/${PN}-0.45-cflags.patch
87 +
88 + touch stdafx.h bts2.tth #315619
89 +
90 eautoreconf
91 }
92
93 -src_compile() {
94 +src_configure() {
95 tc-export CXX
96 - econf --enable-lzw $(use_enable gif) || die "econf failed"
97 - emake || die "make failed"
98 + econf \
99 + --enable-lzw \
100 + $(use_enable gif)
101 +
102 + rm -f stdafx.h bts2.tth
103 }
104
105 src_install() {
106 - dobin sam2p || die "Failed to install sam2p"
107 + dobin sam2p || die
108 dodoc README
109 +
110 if use examples; then
111 insinto /usr/share/doc/${PF}/examples
112 doins examples/*