Gentoo Archives: gentoo-commits

From: "Matsuu Takuto (matsuu)" <matsuu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/surf: ChangeLog surf-1.0.5-r2.ebuild
Date: Thu, 01 Jan 2009 05:30:09
Message-Id: E1LIG8F-0005qv-5s@stork.gentoo.org
1 matsuu 09/01/01 05:30:07
2
3 Modified: ChangeLog
4 Added: surf-1.0.5-r2.ebuild
5 Log:
6 Fixed to build with no gtk+-1.2 installed, bug #240439.
7 (Portage version: 2.1.6.4/cvs/Linux 2.6.28-gentoo x86_64)
8
9 Revision Changes Path
10 1.8 media-gfx/surf/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/surf/ChangeLog?rev=1.8&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/surf/ChangeLog?rev=1.8&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/surf/ChangeLog?r1=1.7&r2=1.8
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-gfx/surf/ChangeLog,v
19 retrieving revision 1.7
20 retrieving revision 1.8
21 diff -u -r1.7 -r1.8
22 --- ChangeLog 9 Jul 2008 21:41:27 -0000 1.7
23 +++ ChangeLog 1 Jan 2009 05:30:07 -0000 1.8
24 @@ -1,6 +1,11 @@
25 # ChangeLog for media-gfx/surf
26 -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/surf/ChangeLog,v 1.7 2008/07/09 21:41:27 loki_val Exp $
28 +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/surf/ChangeLog,v 1.8 2009/01/01 05:30:07 matsuu Exp $
30 +
31 +*surf-1.0.5-r2 (01 Jan 2009)
32 +
33 + 01 Jan 2009; MATSUU Takuto <matsuu@g.o> +surf-1.0.5-r2.ebuild:
34 + Fixed to build with no gtk+-1.2 installed, bug #240439.
35
36 *surf-1.0.5-r1 (09 Jul 2008)
37
38
39
40
41 1.1 media-gfx/surf/surf-1.0.5-r2.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/surf/surf-1.0.5-r2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/surf/surf-1.0.5-r2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: surf-1.0.5-r2.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-gfx/surf/surf-1.0.5-r2.ebuild,v 1.1 2009/01/01 05:30:07 matsuu Exp $
51
52 inherit autotools base eutils
53
54 DESCRIPTION="a tool to visualize algebraic curves and algebraic surfaces"
55 HOMEPAGE="http://surf.sourceforge.net/"
56 SRC_URI="mirror://sourceforge/surf/${P}.tar.gz"
57
58 LICENSE="GPL-2"
59 KEYWORDS="~amd64 ~ppc ~x86"
60 SLOT="0"
61 IUSE="gtk"
62
63 RDEPEND="gtk? ( =x11-libs/gtk+-1.2* )
64 >=dev-libs/gmp-2
65 sys-libs/zlib
66 media-libs/tiff
67 media-libs/jpeg"
68
69 DEPEND="${RDEPEND}
70 >=sys-devel/flex-2.5"
71
72 PATCHES=(
73 "${FILESDIR}/${P}-gcc43.patch"
74 "${FILESDIR}/${P}-configurefixup.patch"
75 )
76
77 src_unpack() {
78 base_src_unpack
79 cd "${S}"
80 eautoconf
81 }
82
83 src_compile() {
84 econf $(use_enable gtk gui) || die
85 emake || die
86 }
87
88 src_install() {
89 emake DESTDIR="${D}" install install-man || die
90
91 dodoc AUTHORS ChangeLog NEWS README TODO
92 for d in examples/*
93 do
94 docinto ${d}
95 dodoc ${d}/*
96 done
97 prepalldocs
98 }