1 |
cardoe 10/09/08 16:03:11 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: cairo-1.10.0.ebuild |
5 |
Log: |
6 |
Version bump. Currently masked why we develop all the necessary build requirements and steps for all the various backends. |
7 |
|
8 |
(Portage version: 2.1.9.1/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.14 x11-libs/cairo/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/cairo/metadata.xml?rev=1.14&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/cairo/metadata.xml?rev=1.14&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/cairo/metadata.xml?r1=1.13&r2=1.14 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/x11-libs/cairo/metadata.xml,v |
20 |
retrieving revision 1.13 |
21 |
retrieving revision 1.14 |
22 |
diff -u -r1.13 -r1.14 |
23 |
--- metadata.xml 26 Mar 2010 22:34:15 -0000 1.13 |
24 |
+++ metadata.xml 8 Sep 2010 16:03:11 -0000 1.14 |
25 |
@@ -20,5 +20,9 @@ |
26 |
Ubuntu</flag> |
27 |
<flag name='opengl'>When used along with USE=glitz, enables glitz-glx usage. |
28 |
Requires hardware OpenGL support</flag> |
29 |
+ <flag name='drm'>Use Linux DRM for backend acceleration</flag> |
30 |
+ <flag name='gallium'>Use Mesa's Gallium backend for acceleration</flag> |
31 |
+ <flag name='openvg'>Use OpenVG for backend acceleration</flag> |
32 |
+ <flag name='qt'>Use Qt for rendering</flag> |
33 |
</use> |
34 |
</pkgmetadata> |
35 |
|
36 |
|
37 |
|
38 |
1.253 x11-libs/cairo/ChangeLog |
39 |
|
40 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/cairo/ChangeLog?rev=1.253&view=markup |
41 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/cairo/ChangeLog?rev=1.253&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/cairo/ChangeLog?r1=1.252&r2=1.253 |
43 |
|
44 |
Index: ChangeLog |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/x11-libs/cairo/ChangeLog,v |
47 |
retrieving revision 1.252 |
48 |
retrieving revision 1.253 |
49 |
diff -u -r1.252 -r1.253 |
50 |
--- ChangeLog 29 Aug 2010 18:23:36 -0000 1.252 |
51 |
+++ ChangeLog 8 Sep 2010 16:03:11 -0000 1.253 |
52 |
@@ -1,6 +1,12 @@ |
53 |
# ChangeLog for x11-libs/cairo |
54 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
55 |
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/ChangeLog,v 1.252 2010/08/29 18:23:36 armin76 Exp $ |
56 |
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/ChangeLog,v 1.253 2010/09/08 16:03:11 cardoe Exp $ |
57 |
+ |
58 |
+*cairo-1.10.0 (08 Sep 2010) |
59 |
+ |
60 |
+ 08 Sep 2010; Doug Goldstein <cardoe@g.o> +cairo-1.10.0.ebuild: |
61 |
+ Version bump. Currently masked why we develop all the necessary build |
62 |
+ requirements and steps for all the various backends. |
63 |
|
64 |
29 Aug 2010; Raúl Porcel <armin76@g.o> cairo-1.8.10.ebuild: |
65 |
ia64/s390/sh/sparc stable wrt #329175 |
66 |
|
67 |
|
68 |
|
69 |
1.1 x11-libs/cairo/cairo-1.10.0.ebuild |
70 |
|
71 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/cairo/cairo-1.10.0.ebuild?rev=1.1&view=markup |
72 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/cairo/cairo-1.10.0.ebuild?rev=1.1&content-type=text/plain |
73 |
|
74 |
Index: cairo-1.10.0.ebuild |
75 |
=================================================================== |
76 |
# Copyright 1999-2010 Gentoo Foundation |
77 |
# Distributed under the terms of the GNU General Public License v2 |
78 |
# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/cairo-1.10.0.ebuild,v 1.1 2010/09/08 16:03:11 cardoe Exp $ |
79 |
|
80 |
EAPI=2 |
81 |
|
82 |
inherit eutils flag-o-matic autotools |
83 |
|
84 |
DESCRIPTION="A vector graphics library with cross-device output support" |
85 |
HOMEPAGE="http://cairographics.org/" |
86 |
SRC_URI="http://cairographics.org/releases/${P}.tar.gz" |
87 |
|
88 |
LICENSE="|| ( LGPL-2.1 MPL-1.1 )" |
89 |
SLOT="0" |
90 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
91 |
IUSE="aqua debug directfb doc drm gallium opengl openvg qt +svg X xcb" |
92 |
|
93 |
# Test causes a circular depend on gtk+... since gtk+ needs cairo but test needs gtk+ so we need to block it |
94 |
RESTRICT="test" |
95 |
|
96 |
RDEPEND=">=media-libs/fontconfig-2.2.95 |
97 |
>=media-libs/freetype-2.1.9 |
98 |
sys-libs/zlib |
99 |
>=media-libs/libpng-1.2.43-r2:0 |
100 |
>=x11-libs/pixman-0.18.4 |
101 |
directfb? ( >=dev-libs/DirectFB-0.9.24 ) |
102 |
gallium? ( media-libs/mesa[gallium] ) |
103 |
qt? ( >=x11-libs/qt-gui-4.4:4 ) |
104 |
svg? ( dev-libs/libxml2 ) |
105 |
X? ( >=x11-libs/libXrender-0.6 |
106 |
x11-libs/libXext |
107 |
x11-libs/libX11 |
108 |
x11-libs/libXft |
109 |
drm? ( >=sys-fs/udev-136 |
110 |
>=x11-base/xorg-server-1.6 ) |
111 |
) |
112 |
xcb? ( >=x11-libs/libxcb-1.4 |
113 |
x11-libs/xcb-util )" |
114 |
# test? ( |
115 |
# pdf test |
116 |
# x11-libs/pango |
117 |
# >=x11-libs/gtk+-2.0 |
118 |
# >=app-text/poppler-bindings-0.9.2[gtk] |
119 |
# ps test |
120 |
# app-text/ghostscript-gpl |
121 |
# svg test |
122 |
# >=x11-libs/gtk+-2.0 |
123 |
# >=gnome-base/librsvg-2.15.0 |
124 |
|
125 |
DEPEND="${RDEPEND} |
126 |
>=dev-util/pkgconfig-0.19 |
127 |
>=sys-devel/libtool-2 |
128 |
doc? ( >=dev-util/gtk-doc-1.6 |
129 |
~app-text/docbook-xml-dtd-4.2 ) |
130 |
X? ( x11-proto/renderproto |
131 |
drm? ( x11-proto/xproto |
132 |
>=x11-proto/xextproto-7.1 ) |
133 |
)" |
134 |
|
135 |
src_prepare() { |
136 |
epatch "${FILESDIR}"/${PN}-1.8.8-interix.patch |
137 |
|
138 |
# We need to run elibtoolize to ensure correct so versioning on FreeBSD |
139 |
# upgraded to an eautoreconf for the above interix patch. |
140 |
eautoreconf |
141 |
} |
142 |
|
143 |
src_configure() { |
144 |
[[ ${CHOST} == *-interix* ]] && append-flags -D_REENTRANT |
145 |
# http://bugs.freedesktop.org/show_bug.cgi?id=15463 |
146 |
[[ ${CHOST} == *-solaris* ]] && append-flags -D_POSIX_PTHREAD_SEMANTICS |
147 |
|
148 |
#gets rid of fbmmx.c inlining warnings |
149 |
append-flags -finline-limit=1200 |
150 |
|
151 |
econf \ |
152 |
$(use_enable X xlib) \ |
153 |
$(use_enable X xlib-xrender) \ |
154 |
$(use_enable xcb) \ |
155 |
$(use_enable svg) \ |
156 |
$(use_enable doc gtk-doc) \ |
157 |
$(use_enable directfb) \ |
158 |
$(use_enable debug test-surfaces) \ |
159 |
$(use_enable opengl gl) \ |
160 |
$(use_enable openvg vg) \ |
161 |
$(use_enable drm) \ |
162 |
$(use_enable gallium) \ |
163 |
--enable-pdf \ |
164 |
--enable-png \ |
165 |
--enable-ft \ |
166 |
--enable-ps \ |
167 |
$(use_enable aqua quartz) \ |
168 |
$(use_enable aqua quartz-image) \ |
169 |
$(use_enable aqua quartz-font) \ |
170 |
|| die "configure failed" |
171 |
} |
172 |
|
173 |
src_install() { |
174 |
make DESTDIR="${D}" install || die "Installation failed" |
175 |
dodoc AUTHORS ChangeLog NEWS README |
176 |
} |
177 |
|
178 |
pkg_postinst() { |
179 |
if use xcb; then |
180 |
ewarn "You have enabled the Cairo XCB backend which is used only by" |
181 |
ewarn "a select few apps. The Cairo XCB backend is presently" |
182 |
ewarn "un-maintained and needs a lot of work to get it caught up" |
183 |
ewarn "to the Xrender and Xlib backends, which are the backends used" |
184 |
ewarn "by most applications. See:" |
185 |
ewarn "http://lists.freedesktop.org/archives/xcb/2008-December/004139.html" |
186 |
fi |
187 |
} |