1 |
wired 12/01/29 15:53:24 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: cairo-1.10.2-r2.ebuild |
5 |
Log: |
6 |
revbump with patch for Qt-4.8. bug #380013 |
7 |
|
8 |
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.285 x11-libs/cairo/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/cairo/ChangeLog?rev=1.285&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/cairo/ChangeLog?rev=1.285&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/cairo/ChangeLog?r1=1.284&r2=1.285 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/x11-libs/cairo/ChangeLog,v |
20 |
retrieving revision 1.284 |
21 |
retrieving revision 1.285 |
22 |
diff -u -r1.284 -r1.285 |
23 |
--- ChangeLog 14 Aug 2011 06:48:39 -0000 1.284 |
24 |
+++ ChangeLog 29 Jan 2012 15:53:24 -0000 1.285 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for x11-libs/cairo |
27 |
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/ChangeLog,v 1.284 2011/08/14 06:48:39 mgorny Exp $ |
29 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/ChangeLog,v 1.285 2012/01/29 15:53:24 wired Exp $ |
31 |
+ |
32 |
+*cairo-1.10.2-r2 (29 Jan 2012) |
33 |
+ |
34 |
+ 29 Jan 2012; Alex Alexander <wired@g.o> +cairo-1.10.2-r2.ebuild, |
35 |
+ +files/cairo-1.10.2-qt-surface.patch: |
36 |
+ revbump with patch for Qt-4.8. bug #380013 |
37 |
|
38 |
14 Aug 2011; Michał Górny <mgorny@g.o> cairo-9999.ebuild: |
39 |
Remove unnecessary --{en,dis}able-xcb-drm wrt bug #379097. |
40 |
|
41 |
|
42 |
|
43 |
1.1 x11-libs/cairo/cairo-1.10.2-r2.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/cairo/cairo-1.10.2-r2.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/cairo/cairo-1.10.2-r2.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: cairo-1.10.2-r2.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2012 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/cairo-1.10.2-r2.ebuild,v 1.1 2012/01/29 15:53:24 wired Exp $ |
53 |
|
54 |
EAPI=3 |
55 |
|
56 |
EGIT_REPO_URI="git://anongit.freedesktop.org/git/cairo" |
57 |
[[ ${PV} == *9999 ]] && GIT_ECLASS="git" |
58 |
|
59 |
inherit eutils flag-o-matic autotools ${GIT_ECLASS} |
60 |
|
61 |
DESCRIPTION="A vector graphics library with cross-device output support" |
62 |
HOMEPAGE="http://cairographics.org/" |
63 |
[[ ${PV} == *9999 ]] || SRC_URI="http://cairographics.org/releases/${P}.tar.gz" |
64 |
|
65 |
LICENSE="|| ( LGPL-2.1 MPL-1.1 )" |
66 |
SLOT="0" |
67 |
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" |
68 |
IUSE="X aqua debug directfb doc drm gallium +glib opengl openvg qt4 static-libs +svg xcb" |
69 |
|
70 |
# Test causes a circular depend on gtk+... since gtk+ needs cairo but test needs gtk+ so we need to block it |
71 |
RESTRICT="test" |
72 |
|
73 |
RDEPEND="media-libs/fontconfig |
74 |
media-libs/freetype:2 |
75 |
media-libs/libpng:0 |
76 |
sys-libs/zlib |
77 |
>=x11-libs/pixman-0.18.4 |
78 |
directfb? ( dev-libs/DirectFB ) |
79 |
glib? ( dev-libs/glib:2 ) |
80 |
opengl? ( virtual/opengl ) |
81 |
openvg? ( media-libs/mesa[gallium] ) |
82 |
qt4? ( >=x11-libs/qt-gui-4.4:4 ) |
83 |
svg? ( dev-libs/libxml2 ) |
84 |
X? ( |
85 |
>=x11-libs/libXrender-0.6 |
86 |
x11-libs/libXext |
87 |
x11-libs/libX11 |
88 |
x11-libs/libXft |
89 |
drm? ( |
90 |
>=sys-fs/udev-136 |
91 |
gallium? ( media-libs/mesa[gallium] ) |
92 |
) |
93 |
) |
94 |
xcb? ( |
95 |
x11-libs/libxcb |
96 |
x11-libs/xcb-util |
97 |
)" |
98 |
DEPEND="${RDEPEND} |
99 |
dev-util/pkgconfig |
100 |
>=sys-devel/libtool-2 |
101 |
doc? ( |
102 |
>=dev-util/gtk-doc-1.6 |
103 |
~app-text/docbook-xml-dtd-4.2 |
104 |
) |
105 |
X? ( |
106 |
x11-proto/renderproto |
107 |
drm? ( |
108 |
x11-proto/xproto |
109 |
>=x11-proto/xextproto-7.1 |
110 |
) |
111 |
)" |
112 |
|
113 |
src_prepare() { |
114 |
epatch "${FILESDIR}"/${PN}-1.8.8-interix.patch |
115 |
epatch "${FILESDIR}"/${PN}-1.10.0-buggy_gradients.patch |
116 |
epatch "${FILESDIR}"/${P}-interix.patch |
117 |
epatch "${FILESDIR}"/${P}-qt-surface.patch |
118 |
|
119 |
# Slightly messed build system YAY |
120 |
if [[ ${PV} == *9999* ]]; then |
121 |
touch boilerplate/Makefile.am.features |
122 |
touch src/Makefile.am.features |
123 |
touch ChangeLog |
124 |
fi |
125 |
|
126 |
# We need to run elibtoolize to ensure correct so versioning on FreeBSD |
127 |
# upgraded to an eautoreconf for the above interix patch. |
128 |
eautoreconf |
129 |
} |
130 |
|
131 |
src_configure() { |
132 |
local myopts |
133 |
|
134 |
# SuperH doesn't have native atomics yet |
135 |
use sh && myopts+=" --disable-atomic" |
136 |
|
137 |
[[ ${CHOST} == *-interix* ]] && append-flags -D_REENTRANT |
138 |
|
139 |
# tracing fails to compile, because Solaris' libelf doesn't do large files |
140 |
[[ ${CHOST} == *-solaris* ]] && myopts+=" --disable-trace" |
141 |
|
142 |
# 128-bits long arithemetic functions are missing |
143 |
[[ ${CHOST} == powerpc*-*-darwin* ]] && filter-flags -mcpu=* |
144 |
|
145 |
#gets rid of fbmmx.c inlining warnings |
146 |
append-flags -finline-limit=1200 |
147 |
|
148 |
if use X; then |
149 |
myopts+=" |
150 |
--enable-tee=yes |
151 |
$(use_enable drm) |
152 |
" |
153 |
|
154 |
if use drm; then |
155 |
myopts+=" |
156 |
$(use_enable gallium) |
157 |
$(use_enable xcb xcb-drm) |
158 |
" |
159 |
else |
160 |
use gallium && ewarn "Gallium use requires drm use enabled. So disabling for now." |
161 |
myopts+=" |
162 |
--disable-gallium |
163 |
--disable-xcb-drm |
164 |
" |
165 |
fi |
166 |
else |
167 |
use drm && ewarn "drm use requires X use enabled. So disabling for now." |
168 |
myopts+=" |
169 |
--disable-drm |
170 |
--disable-gallium |
171 |
--disable-xcb-drm |
172 |
" |
173 |
fi |
174 |
|
175 |
# --disable-xcb-lib: |
176 |
# do not override good xlib backed by hardforcing rendering over xcb |
177 |
econf \ |
178 |
--disable-dependency-tracking \ |
179 |
$(use_with X x) \ |
180 |
$(use_enable X xlib) \ |
181 |
$(use_enable X xlib-xrender) \ |
182 |
$(use_enable aqua quartz) \ |
183 |
$(use_enable aqua quartz-image) \ |
184 |
$(use_enable debug test-surfaces) \ |
185 |
$(use_enable directfb) \ |
186 |
$(use_enable glib gobject) \ |
187 |
$(use_enable doc gtk-doc) \ |
188 |
$(use_enable openvg vg) \ |
189 |
$(use_enable opengl gl) \ |
190 |
$(use_enable qt4 qt) \ |
191 |
$(use_enable static-libs static) \ |
192 |
$(use_enable svg) \ |
193 |
$(use_enable xcb) \ |
194 |
$(use_enable xcb xcb-shm) \ |
195 |
--enable-ft \ |
196 |
--enable-pdf \ |
197 |
--enable-png \ |
198 |
--enable-ps \ |
199 |
--disable-xlib-xcb \ |
200 |
${myopts} |
201 |
} |
202 |
|
203 |
src_install() { |
204 |
# parallel make install fails |
205 |
emake -j1 DESTDIR="${D}" install || die |
206 |
find "${ED}" -name '*.la' -exec rm -f {} + |
207 |
dodoc AUTHORS ChangeLog NEWS README || die |
208 |
} |