Gentoo Archives: gentoo-commits

From: "Doug Klima (cardoe)" <cardoe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-perl/GD: GD-2.35-r1.ebuild ChangeLog
Date: Wed, 27 Feb 2008 20:18:23
Message-Id: E1JUSjM-0005YK-CR@stork.gentoo.org
1 cardoe 08/02/27 20:18:20
2
3 Modified: GD-2.35-r1.ebuild ChangeLog
4 Log:
5 fix built_with_use issues. bug #193661
6 (Portage version: 2.1.4.4)
7
8 Revision Changes Path
9 1.12 dev-perl/GD/GD-2.35-r1.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/GD/GD-2.35-r1.ebuild?rev=1.12&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/GD/GD-2.35-r1.ebuild?rev=1.12&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/GD/GD-2.35-r1.ebuild?r1=1.11&r2=1.12
14
15 Index: GD-2.35-r1.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-perl/GD/GD-2.35-r1.ebuild,v
18 retrieving revision 1.11
19 retrieving revision 1.12
20 diff -u -r1.11 -r1.12
21 --- GD-2.35-r1.ebuild 22 Jul 2007 07:56:29 -0000 1.11
22 +++ GD-2.35-r1.ebuild 27 Feb 2008 20:18:19 -0000 1.12
23 @@ -1,11 +1,11 @@
24 -# Copyright 1999-2007 Gentoo Foundation
25 +# Copyright 1999-2008 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/GD/GD-2.35-r1.ebuild,v 1.11 2007/07/22 07:56:29 graaff Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/GD/GD-2.35-r1.ebuild,v 1.12 2008/02/27 20:18:19 cardoe Exp $
29
30 inherit eutils perl-module
31
32 DESCRIPTION="interface to Thomas Boutell's gd library"
33 -HOMEPAGE="http://www.cpan.org/modules/by-module/GD/${P}.readme"
34 +HOMEPAGE="http://www.cpan.org/modules/by-module/GD/"
35 SRC_URI="mirror://cpan/authors/id/L/LD/LDS/${P}.tar.gz"
36
37 LICENSE="|| ( Artistic GPL-2 )"
38 @@ -21,6 +21,40 @@
39 gif? ( media-libs/giflib )
40 dev-lang/perl"
41
42 +pkg_setup() {
43 + local i_can_has_die=0
44 +
45 + if use jpeg && ! built_with_use media-libs/gd jpeg; then
46 + echo
47 + eerror "If you want to compile dev-perl/GD with USE=jpeg, you must first"
48 + eerror "compile media-libs/gd with USE=jpeg"
49 + i_can_has_die=1
50 + fi
51 +
52 + if use truetype && ! built_with_use media-libs/gd truetype; then
53 + echo
54 + eerror "If you want to compile dev-perl/GD with USE=truetype, you must first"
55 + eerror "compile media-libs/gd with USE=truetype"
56 + i_can_has_die=1
57 + fi
58 +
59 + if use png && ! built_with_use media-libs/gd png; then
60 + echo
61 + eerror "If you want to compile dev-perl/GD with USE=png, you must first"
62 + eerror "compile media-libs/gd with USE=png"
63 + i_can_has_die=1
64 + fi
65 +
66 + if use xpm && ! built_with_use media-libs/gd xpm; then
67 + echo
68 + eerror "If you want to compile dev-perl/GD with USE=xpm, you must first"
69 + eerror "compile media-libs/gd with USE=xpm"
70 + i_can_has_die=1
71 + fi
72 +
73 + [[ ${i_can_has_die} -ne 0 ]] && die "Please fix the errors above before continuing"
74 +}
75 +
76 src_compile() {
77 myconf=""
78 use gif && use animgif && myconf="${myconf},ANIMGIF"
79
80
81
82 1.75 dev-perl/GD/ChangeLog
83
84 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/GD/ChangeLog?rev=1.75&view=markup
85 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/GD/ChangeLog?rev=1.75&content-type=text/plain
86 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/GD/ChangeLog?r1=1.74&r2=1.75
87
88 Index: ChangeLog
89 ===================================================================
90 RCS file: /var/cvsroot/gentoo-x86/dev-perl/GD/ChangeLog,v
91 retrieving revision 1.74
92 retrieving revision 1.75
93 diff -u -r1.74 -r1.75
94 --- ChangeLog 22 Jul 2007 07:56:29 -0000 1.74
95 +++ ChangeLog 27 Feb 2008 20:18:19 -0000 1.75
96 @@ -1,6 +1,9 @@
97 # ChangeLog for dev-perl/GD
98 -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
99 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/GD/ChangeLog,v 1.74 2007/07/22 07:56:29 graaff Exp $
100 +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
101 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/GD/ChangeLog,v 1.75 2008/02/27 20:18:19 cardoe Exp $
102 +
103 + 27 Feb 2008; Doug Klima <cardoe@g.o> GD-2.35-r1.ebuild:
104 + fix built_with_use issues. bug #193661
105
106 22 Jul 2007; Hans de Graaff <graaff@g.o> GD-2.30.ebuild,
107 GD-2.32.ebuild, GD-2.34.ebuild, GD-2.35.ebuild, GD-2.35-r1.ebuild:
108
109
110
111 --
112 gentoo-commits@l.g.o mailing list