1 |
yngwin 12/07/30 05:59:12 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: cairo-1.12.2-r3.ebuild |
5 |
Log: |
6 |
Reapply buggy_gradients.patch that got inadvertently dropped |
7 |
|
8 |
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.305 x11-libs/cairo/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/cairo/ChangeLog?rev=1.305&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/cairo/ChangeLog?rev=1.305&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/cairo/ChangeLog?r1=1.304&r2=1.305 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/x11-libs/cairo/ChangeLog,v |
20 |
retrieving revision 1.304 |
21 |
retrieving revision 1.305 |
22 |
diff -u -r1.304 -r1.305 |
23 |
--- ChangeLog 29 Jul 2012 12:28:46 -0000 1.304 |
24 |
+++ ChangeLog 30 Jul 2012 05:59:12 -0000 1.305 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for x11-libs/cairo |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/ChangeLog,v 1.304 2012/07/29 12:28:46 yngwin Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/ChangeLog,v 1.305 2012/07/30 05:59:12 yngwin Exp $ |
30 |
+ |
31 |
+*cairo-1.12.2-r3 (30 Jul 2012) |
32 |
+ |
33 |
+ 30 Jul 2012; Ben de Groot <yngwin@g.o> +cairo-1.12.2-r3.ebuild: |
34 |
+ Reapply buggy_gradients.patch that got inadvertently dropped |
35 |
|
36 |
*cairo-1.10.2-r3 (25 Jul 2012) |
37 |
*cairo-1.12.2-r2 (25 Jul 2012) |
38 |
|
39 |
|
40 |
|
41 |
1.1 x11-libs/cairo/cairo-1.12.2-r3.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/cairo/cairo-1.12.2-r3.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/cairo/cairo-1.12.2-r3.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: cairo-1.12.2-r3.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2012 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.12.2-r3.ebuild,v 1.1 2012/07/30 05:59:12 yngwin Exp $ |
51 |
|
52 |
EAPI=4 |
53 |
|
54 |
inherit eutils flag-o-matic autotools |
55 |
|
56 |
if [[ ${PV} == *9999* ]]; then |
57 |
inherit git-2 |
58 |
EGIT_REPO_URI="git://anongit.freedesktop.org/git/cairo" |
59 |
SRC_URI="" |
60 |
KEYWORDS="" |
61 |
else |
62 |
SRC_URI="http://cairographics.org/releases/${P}.tar.xz" |
63 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
64 |
fi |
65 |
|
66 |
DESCRIPTION="A vector graphics library with cross-device output support" |
67 |
HOMEPAGE="http://cairographics.org/" |
68 |
LICENSE="|| ( LGPL-2.1 MPL-1.1 )" |
69 |
SLOT="0" |
70 |
IUSE="X aqua debug directfb doc drm gallium +glib opengl openvg qt4 static-libs +svg xcb" |
71 |
|
72 |
# Test causes a circular depend on gtk+... since gtk+ needs cairo but test needs gtk+ so we need to block it |
73 |
RESTRICT="test" |
74 |
|
75 |
RDEPEND="media-libs/fontconfig |
76 |
media-libs/freetype:2 |
77 |
media-libs/libpng:0 |
78 |
sys-libs/zlib |
79 |
>=x11-libs/pixman-0.18.4 |
80 |
directfb? ( dev-libs/DirectFB ) |
81 |
glib? ( >=dev-libs/glib-2.28.6:2 ) |
82 |
opengl? ( || ( media-libs/mesa[egl] media-libs/opengl-apple ) ) |
83 |
openvg? ( media-libs/mesa[openvg] ) |
84 |
qt4? ( >=x11-libs/qt-gui-4.8:4 ) |
85 |
X? ( |
86 |
>=x11-libs/libXrender-0.6 |
87 |
x11-libs/libX11 |
88 |
drm? ( |
89 |
>=sys-fs/udev-136 |
90 |
gallium? ( media-libs/mesa[gallium] ) |
91 |
) |
92 |
) |
93 |
xcb? ( |
94 |
x11-libs/libxcb |
95 |
x11-libs/xcb-util |
96 |
)" |
97 |
DEPEND="${RDEPEND} |
98 |
virtual/pkgconfig |
99 |
>=sys-devel/libtool-2 |
100 |
doc? ( |
101 |
>=dev-util/gtk-doc-1.6 |
102 |
~app-text/docbook-xml-dtd-4.2 |
103 |
) |
104 |
X? ( |
105 |
x11-proto/renderproto |
106 |
drm? ( |
107 |
x11-proto/xproto |
108 |
>=x11-proto/xextproto-7.1 |
109 |
) |
110 |
)" |
111 |
|
112 |
# drm module requires X |
113 |
# for gallium we need to enable drm |
114 |
REQUIRED_USE=" |
115 |
drm? ( X ) |
116 |
gallium? ( drm ) |
117 |
" |
118 |
|
119 |
src_prepare() { |
120 |
epatch "${FILESDIR}"/${PN}-1.8.8-interix.patch |
121 |
epatch "${FILESDIR}"/${PN}-1.10.0-buggy_gradients.patch |
122 |
epatch "${FILESDIR}"/${PN}-1.10.2-qt-surface.patch |
123 |
epatch "${FILESDIR}"/${PN}-respect-fontconfig.patch |
124 |
epatch_user |
125 |
|
126 |
# Slightly messed build system YAY |
127 |
if [[ ${PV} == *9999* ]]; then |
128 |
touch boilerplate/Makefile.am.features |
129 |
touch src/Makefile.am.features |
130 |
touch ChangeLog |
131 |
fi |
132 |
|
133 |
# We need to run elibtoolize to ensure correct so versioning on FreeBSD |
134 |
# upgraded to an eautoreconf for the above interix patch. |
135 |
eautoreconf |
136 |
} |
137 |
|
138 |
src_configure() { |
139 |
local myopts |
140 |
|
141 |
# SuperH doesn't have native atomics yet |
142 |
use sh && myopts+=" --disable-atomic" |
143 |
|
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 |
use X && myopts+=" --enable-tee=yes" |
152 |
|
153 |
use elibc_FreeBSD && myopts+=" --disable-symbol-lookup" |
154 |
|
155 |
# --disable-xcb-lib: |
156 |
# do not override good xlib backed by hardforcing rendering over xcb |
157 |
econf \ |
158 |
--disable-dependency-tracking \ |
159 |
$(use_with X x) \ |
160 |
$(use_enable X xlib) \ |
161 |
$(use_enable X xlib-xrender) \ |
162 |
$(use_enable aqua quartz) \ |
163 |
$(use_enable aqua quartz-image) \ |
164 |
$(use_enable debug test-surfaces) \ |
165 |
$(use_enable directfb) \ |
166 |
$(use_enable glib gobject) \ |
167 |
$(use_enable doc gtk-doc) \ |
168 |
$(use_enable openvg vg) \ |
169 |
$(use_enable opengl gl) \ |
170 |
$(use_enable qt4 qt) \ |
171 |
$(use_enable static-libs static) \ |
172 |
$(use_enable svg) \ |
173 |
$(use_enable xcb) \ |
174 |
$(use_enable xcb xcb-shm) \ |
175 |
$(use_enable drm) \ |
176 |
$(use_enable gallium) \ |
177 |
--enable-ft \ |
178 |
--enable-pdf \ |
179 |
--enable-png \ |
180 |
--enable-ps \ |
181 |
--disable-xlib-xcb \ |
182 |
${myopts} |
183 |
} |
184 |
|
185 |
src_install() { |
186 |
# parallel make install fails |
187 |
emake -j1 DESTDIR="${D}" install |
188 |
find "${ED}" -name '*.la' -exec rm -f {} + |
189 |
dodoc AUTHORS ChangeLog NEWS README |
190 |
} |