Gentoo Archives: gentoo-commits

From: "Chi-Thanh Christopher Nguyen (chithanh)" <chithanh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-libs/cairo: cairo-1.12.6.ebuild cairo-9999.ebuild ChangeLog
Date: Wed, 31 Oct 2012 23:12:37
Message-Id: 20121031231219.A7E4521600@flycatcher.gentoo.org
1 chithanh 12/10/31 23:12:19
2
3 Modified: cairo-9999.ebuild ChangeLog
4 Added: cairo-1.12.6.ebuild
5 Log:
6 Version bump, bug #437424. Reduce differences between release and live ebuild.
7
8 (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.23 x11-libs/cairo/cairo-9999.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/cairo/cairo-9999.ebuild?rev=1.23&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/cairo/cairo-9999.ebuild?rev=1.23&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/cairo/cairo-9999.ebuild?r1=1.22&r2=1.23
16
17 Index: cairo-9999.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-libs/cairo/cairo-9999.ebuild,v
20 retrieving revision 1.22
21 retrieving revision 1.23
22 diff -u -r1.22 -r1.23
23 --- cairo-9999.ebuild 12 Sep 2012 05:37:43 -0000 1.22
24 +++ cairo-9999.ebuild 31 Oct 2012 23:12:19 -0000 1.23
25 @@ -1,6 +1,6 @@
26 # Copyright 1999-2012 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/cairo-9999.ebuild,v 1.22 2012/09/12 05:37:43 mattst88 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/cairo-9999.ebuild,v 1.23 2012/10/31 23:12:19 chithanh Exp $
30
31 EAPI=4
32
33 @@ -32,15 +32,13 @@
34 >=x11-libs/pixman-0.22.0
35 directfb? ( dev-libs/DirectFB )
36 glib? ( >=dev-libs/glib-2.28.6:2 )
37 - opengl? ( virtual/opengl )
38 + opengl? ( || ( media-libs/mesa[egl] media-libs/opengl-apple ) )
39 openvg? ( media-libs/mesa[openvg] )
40 qt4? ( >=x11-libs/qt-gui-4.8:4 )
41 - svg? ( dev-libs/libxml2 )
42 X? (
43 >=x11-libs/libXrender-0.6
44 x11-libs/libXext
45 x11-libs/libX11
46 - x11-libs/libXft
47 drm? (
48 >=sys-fs/udev-136
49 gallium? ( media-libs/mesa[gallium] )
50 @@ -74,6 +72,7 @@
51
52 src_prepare() {
53 epatch "${FILESDIR}"/${PN}-1.8.8-interix.patch
54 + epatch "${FILESDIR}"/${PN}-1.10.0-buggy_gradients.patch
55 epatch "${FILESDIR}"/${PN}-1.10.2-qt-surface.patch
56 epatch "${FILESDIR}"/${PN}-respect-fontconfig.patch
57 epatch_user
58
59
60
61 1.309 x11-libs/cairo/ChangeLog
62
63 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/cairo/ChangeLog?rev=1.309&view=markup
64 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/cairo/ChangeLog?rev=1.309&content-type=text/plain
65 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/cairo/ChangeLog?r1=1.308&r2=1.309
66
67 Index: ChangeLog
68 ===================================================================
69 RCS file: /var/cvsroot/gentoo-x86/x11-libs/cairo/ChangeLog,v
70 retrieving revision 1.308
71 retrieving revision 1.309
72 diff -u -r1.308 -r1.309
73 --- ChangeLog 14 Oct 2012 15:39:24 -0000 1.308
74 +++ ChangeLog 31 Oct 2012 23:12:19 -0000 1.309
75 @@ -1,6 +1,12 @@
76 # ChangeLog for x11-libs/cairo
77 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
78 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/ChangeLog,v 1.308 2012/10/14 15:39:24 aballier Exp $
79 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/ChangeLog,v 1.309 2012/10/31 23:12:19 chithanh Exp $
80 +
81 +*cairo-1.12.6 (31 Oct 2012)
82 +
83 + 31 Oct 2012; Chí-Thanh Christopher Nguyễn <chithanh@g.o>
84 + +cairo-1.12.6.ebuild, cairo-9999.ebuild:
85 + Version bump, bug #437424. Reduce differences between release and live ebuild.
86
87 14 Oct 2012; Alexis Ballier <aballier@g.o> cairo-1.12.2-r4.ebuild,
88 +files/cairo-1.12.2-fdr-nodl.patch, +files/cairo-1.12.2-sphinx-nodl.patch:
89
90
91
92 1.1 x11-libs/cairo/cairo-1.12.6.ebuild
93
94 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/cairo/cairo-1.12.6.ebuild?rev=1.1&view=markup
95 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/cairo/cairo-1.12.6.ebuild?rev=1.1&content-type=text/plain
96
97 Index: cairo-1.12.6.ebuild
98 ===================================================================
99 # Copyright 1999-2012 Gentoo Foundation
100 # Distributed under the terms of the GNU General Public License v2
101 # $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/cairo-1.12.6.ebuild,v 1.1 2012/10/31 23:12:19 chithanh Exp $
102
103 EAPI=4
104
105 inherit eutils flag-o-matic autotools
106
107 if [[ ${PV} == *9999* ]]; then
108 inherit git-2
109 EGIT_REPO_URI="git://anongit.freedesktop.org/git/cairo"
110 SRC_URI=""
111 KEYWORDS=""
112 else
113 SRC_URI="http://cairographics.org/releases/${P}.tar.xz"
114 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"
115 fi
116
117 DESCRIPTION="A vector graphics library with cross-device output support"
118 HOMEPAGE="http://cairographics.org/"
119 LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
120 SLOT="0"
121 IUSE="X aqua debug directfb doc drm gallium +glib opengl openvg qt4 static-libs +svg xcb"
122
123 # Test causes a circular depend on gtk+... since gtk+ needs cairo but test needs gtk+ so we need to block it
124 RESTRICT="test"
125
126 RDEPEND="media-libs/fontconfig
127 media-libs/freetype:2
128 media-libs/libpng:0
129 sys-libs/zlib
130 >=x11-libs/pixman-0.22.0
131 directfb? ( dev-libs/DirectFB )
132 glib? ( >=dev-libs/glib-2.28.6:2 )
133 opengl? ( || ( media-libs/mesa[egl] media-libs/opengl-apple ) )
134 openvg? ( media-libs/mesa[openvg] )
135 qt4? ( >=x11-libs/qt-gui-4.8:4 )
136 X? (
137 >=x11-libs/libXrender-0.6
138 x11-libs/libX11
139 drm? (
140 >=sys-fs/udev-136
141 gallium? ( media-libs/mesa[gallium] )
142 )
143 )
144 xcb? (
145 x11-libs/libxcb
146 x11-libs/xcb-util
147 )"
148 DEPEND="${RDEPEND}
149 virtual/pkgconfig
150 >=sys-devel/libtool-2
151 doc? (
152 >=dev-util/gtk-doc-1.6
153 ~app-text/docbook-xml-dtd-4.2
154 )
155 X? (
156 x11-proto/renderproto
157 drm? (
158 x11-proto/xproto
159 >=x11-proto/xextproto-7.1
160 )
161 )"
162
163 # drm module requires X
164 # for gallium we need to enable drm
165 REQUIRED_USE="
166 drm? ( X )
167 gallium? ( drm )
168 "
169
170 src_prepare() {
171 epatch "${FILESDIR}"/${PN}-1.8.8-interix.patch
172 epatch "${FILESDIR}"/${PN}-1.10.0-buggy_gradients.patch
173 epatch "${FILESDIR}"/${PN}-1.10.2-qt-surface.patch
174 epatch "${FILESDIR}"/${PN}-respect-fontconfig.patch
175 epatch_user
176
177 # Slightly messed build system YAY
178 if [[ ${PV} == *9999* ]]; then
179 touch boilerplate/Makefile.am.features
180 touch src/Makefile.am.features
181 touch ChangeLog
182 fi
183
184 # We need to run elibtoolize to ensure correct so versioning on FreeBSD
185 # upgraded to an eautoreconf for the above interix patch.
186 eautoreconf
187 }
188
189 src_configure() {
190 local myopts
191
192 # SuperH doesn't have native atomics yet
193 use sh && myopts+=" --disable-atomic"
194
195 [[ ${CHOST} == *-interix* ]] && append-flags -D_REENTRANT
196 # http://bugs.freedesktop.org/show_bug.cgi?id=15463
197 [[ ${CHOST} == *-solaris* ]] && append-flags -D_POSIX_PTHREAD_SEMANTICS
198
199 #gets rid of fbmmx.c inlining warnings
200 append-flags -finline-limit=1200
201
202 use X && myopts+=" --enable-tee=yes"
203
204 use elibc_FreeBSD && myopts+=" --disable-symbol-lookup"
205
206 # --disable-xcb-lib:
207 # do not override good xlib backed by hardforcing rendering over xcb
208 econf \
209 --disable-dependency-tracking \
210 $(use_with X x) \
211 $(use_enable X xlib) \
212 $(use_enable X xlib-xrender) \
213 $(use_enable aqua quartz) \
214 $(use_enable aqua quartz-image) \
215 $(use_enable debug test-surfaces) \
216 $(use_enable directfb) \
217 $(use_enable glib gobject) \
218 $(use_enable doc gtk-doc) \
219 $(use_enable openvg vg) \
220 $(use_enable opengl gl) \
221 $(use_enable qt4 qt) \
222 $(use_enable static-libs static) \
223 $(use_enable svg) \
224 $(use_enable xcb) \
225 $(use_enable xcb xcb-shm) \
226 $(use_enable drm) \
227 $(use_enable gallium) \
228 --enable-ft \
229 --enable-pdf \
230 --enable-png \
231 --enable-ps \
232 --disable-xlib-xcb \
233 ${myopts}
234 }
235
236 src_install() {
237 # parallel make install fails
238 emake -j1 DESTDIR="${D}" install
239 find "${ED}" -name '*.la' -exec rm -f {} +
240 dodoc AUTHORS ChangeLog NEWS README
241 }