Gentoo Archives: gentoo-commits

From: "Doug Goldstein (cardoe)" <cardoe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-libs/cairo: ChangeLog cairo-1.8.2.ebuild
Date: Fri, 31 Oct 2008 20:45:56
Message-Id: E1Kw0sU-0007iC-5h@stork.gentoo.org
1 cardoe 08/10/31 20:45:54
2
3 Modified: ChangeLog
4 Added: cairo-1.8.2.ebuild
5 Log:
6 newer upstream version
7 (Portage version: 2.2_rc12/cvs/Linux 2.6.26-gentoo-r1 x86_64)
8
9 Revision Changes Path
10 1.201 x11-libs/cairo/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/cairo/ChangeLog?rev=1.201&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/cairo/ChangeLog?rev=1.201&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/cairo/ChangeLog?r1=1.200&r2=1.201
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-libs/cairo/ChangeLog,v
19 retrieving revision 1.200
20 retrieving revision 1.201
21 diff -u -r1.200 -r1.201
22 --- ChangeLog 14 Oct 2008 14:00:25 -0000 1.200
23 +++ ChangeLog 31 Oct 2008 20:45:54 -0000 1.201
24 @@ -1,6 +1,11 @@
25 # ChangeLog for x11-libs/cairo
26 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/ChangeLog,v 1.200 2008/10/14 14:00:25 leio Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/ChangeLog,v 1.201 2008/10/31 20:45:54 cardoe Exp $
29 +
30 +*cairo-1.8.2 (31 Oct 2008)
31 +
32 + 31 Oct 2008; Doug Goldstein <cardoe@g.o> +cairo-1.8.2.ebuild:
33 + newer upstream version
34
35 14 Oct 2008; Mart Raudsepp <leio@g.o> cairo-1.8.0.ebuild:
36 Remove depends that are only necessary during (disabled) testing, bug
37
38
39
40 1.1 x11-libs/cairo/cairo-1.8.2.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/cairo/cairo-1.8.2.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/cairo/cairo-1.8.2.ebuild?rev=1.1&content-type=text/plain
44
45 Index: cairo-1.8.2.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/cairo-1.8.2.ebuild,v 1.1 2008/10/31 20:45:54 cardoe Exp $
50
51 inherit eutils flag-o-matic libtool
52
53 DESCRIPTION="A vector graphics library with cross-device output support"
54 HOMEPAGE="http://cairographics.org/"
55 SRC_URI="http://cairographics.org/releases/${P}.tar.gz"
56
57 LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
58 SLOT="0"
59 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
60 IUSE="debug directfb doc glitz opengl svg X xcb"
61
62 # Test causes a circular depend on gtk+... since gtk+ needs cairo but test needs gtk+ so we need to block it
63 RESTRICT="test"
64
65 RDEPEND="media-libs/fontconfig
66 >=media-libs/freetype-2.1.9
67 sys-libs/zlib
68 media-libs/libpng
69 >=x11-libs/pixman-0.12.0
70 directfb? ( >=dev-libs/DirectFB-0.9.24 )
71 glitz? ( >=media-libs/glitz-0.5.1 )
72 svg? ( dev-libs/libxml2 )
73 X? ( >=x11-libs/libXrender-0.6
74 x11-libs/libXext
75 x11-libs/libX11
76 virtual/xft )
77 xcb? ( >=x11-libs/libxcb-0.92
78 x11-libs/xcb-util )"
79 # test? (
80 # pdf test
81 # x11-libs/pango
82 # >=x11-libs/gtk+-2.0
83 # >=app-text/poppler-bindings-0.9.2
84 # ps test
85 # virtual/ghostscript
86 # svg test
87 # >=x11-libs/gtk+-2.0
88 # >=gnome-base/librsvg-2.15.0
89
90 DEPEND="${RDEPEND}
91 >=dev-util/pkgconfig-0.19
92 doc? ( >=dev-util/gtk-doc-1.6
93 ~app-text/docbook-xml-dtd-4.2 )
94 X? ( x11-proto/renderproto )
95 xcb? ( x11-proto/xcb-proto )"
96
97 #pkg_setup() {
98 # if ! built_with_use app-text/poppler-bindings gtk ; then
99 # eerror 'poppler-bindings with gtk is required for the pdf backend'
100 # die 'poppler-bindings built without gtk support'
101 # fi
102 #}
103
104 src_unpack() {
105 unpack ${A}
106 cd "${S}"
107
108 # We need to run elibtoolize to ensure correct so versioning on FreeBSD
109 elibtoolize
110 }
111
112 src_compile() {
113 #gets rid of fbmmx.c inlining warnings
114 append-flags -finline-limit=1200
115
116 if use glitz && use opengl; then
117 export glitz_LIBS=-lglitz-glx
118 fi
119
120 econf $(use_enable X xlib) $(use_enable doc gtk-doc) \
121 $(use_enable directfb) $(use_enable xcb) \
122 $(use_enable svg) $(use_enable glitz) $(use_enable X xlib-xrender) \
123 $(use_enable debug test-surfaces) --enable-pdf --enable-png \
124 --enable-freetype --enable-ps \
125 || die "configure failed"
126
127 emake || die "compile failed"
128 }
129
130 src_install() {
131 make DESTDIR="${D}" install || die "Installation failed"
132 dodoc AUTHORS ChangeLog NEWS README
133 }