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