1 |
chithanh 13/08/27 12:16:55 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: cairo-1.12.16.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.1.12.2/cvs/Linux x86_64, unsigned Manifest commit) |
9 |
|
10 |
Revision Changes Path |
11 |
1.353 x11-libs/cairo/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/cairo/ChangeLog?rev=1.353&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/cairo/ChangeLog?rev=1.353&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/cairo/ChangeLog?r1=1.352&r2=1.353 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/x11-libs/cairo/ChangeLog,v |
20 |
retrieving revision 1.352 |
21 |
retrieving revision 1.353 |
22 |
diff -u -r1.352 -r1.353 |
23 |
--- ChangeLog 26 Aug 2013 16:58:00 -0000 1.352 |
24 |
+++ ChangeLog 27 Aug 2013 12:16:55 -0000 1.353 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for x11-libs/cairo |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/ChangeLog,v 1.352 2013/08/26 16:58:00 ago Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/ChangeLog,v 1.353 2013/08/27 12:16:55 chithanh Exp $ |
30 |
+ |
31 |
+*cairo-1.12.16 (27 Aug 2013) |
32 |
+ |
33 |
+ 27 Aug 2013; Chí-Thanh Christopher Nguyễn <chithanh@g.o> |
34 |
+ +cairo-1.12.16.ebuild: |
35 |
+ Version bump. |
36 |
|
37 |
26 Aug 2013; Agostino Sarubbo <ago@g.o> cairo-1.12.14-r4.ebuild: |
38 |
Stable for ppc, wrt bug #447354 |
39 |
|
40 |
|
41 |
|
42 |
1.1 x11-libs/cairo/cairo-1.12.16.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/cairo/cairo-1.12.16.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/cairo/cairo-1.12.16.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: cairo-1.12.16.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2013 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/cairo-1.12.16.ebuild,v 1.1 2013/08/27 12:16:55 chithanh Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
|
55 |
inherit eutils flag-o-matic autotools |
56 |
|
57 |
if [[ ${PV} == *9999* ]]; then |
58 |
inherit git-2 |
59 |
EGIT_REPO_URI="git://anongit.freedesktop.org/git/cairo" |
60 |
SRC_URI="" |
61 |
KEYWORDS="" |
62 |
else |
63 |
SRC_URI="http://cairographics.org/releases/${P}.tar.xz" |
64 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
65 |
fi |
66 |
|
67 |
DESCRIPTION="A vector graphics library with cross-device output support" |
68 |
HOMEPAGE="http://cairographics.org/" |
69 |
LICENSE="|| ( LGPL-2.1 MPL-1.1 )" |
70 |
SLOT="0" |
71 |
IUSE="X aqua debug directfb doc drm gallium gles2 +glib legacy-drivers opengl openvg qt4 static-libs +svg valgrind xcb xlib-xcb" |
72 |
|
73 |
# Test causes a circular depend on gtk+... since gtk+ needs cairo but test needs gtk+ so we need to block it |
74 |
RESTRICT="test" |
75 |
|
76 |
RDEPEND="media-libs/fontconfig |
77 |
media-libs/freetype:2 |
78 |
media-libs/libpng:0= |
79 |
sys-libs/zlib |
80 |
>=x11-libs/pixman-0.28.0 |
81 |
directfb? ( dev-libs/DirectFB ) |
82 |
gles2? ( media-libs/mesa[gles2] ) |
83 |
glib? ( >=dev-libs/glib-2.28.6:2 ) |
84 |
opengl? ( || ( media-libs/mesa[egl] media-libs/opengl-apple ) ) |
85 |
openvg? ( media-libs/mesa[openvg] ) |
86 |
qt4? ( >=dev-qt/qtgui-4.8:4 ) |
87 |
X? ( |
88 |
>=x11-libs/libXrender-0.6 |
89 |
x11-libs/libXext |
90 |
x11-libs/libX11 |
91 |
drm? ( |
92 |
>=virtual/udev-136 |
93 |
gallium? ( media-libs/mesa[gallium] ) |
94 |
) |
95 |
) |
96 |
xcb? ( |
97 |
x11-libs/libxcb |
98 |
x11-libs/xcb-util |
99 |
)" |
100 |
DEPEND="${RDEPEND} |
101 |
virtual/pkgconfig |
102 |
>=sys-devel/libtool-2 |
103 |
doc? ( |
104 |
>=dev-util/gtk-doc-1.6 |
105 |
~app-text/docbook-xml-dtd-4.2 |
106 |
) |
107 |
X? ( |
108 |
x11-proto/renderproto |
109 |
drm? ( |
110 |
x11-proto/xproto |
111 |
>=x11-proto/xextproto-7.1 |
112 |
) |
113 |
)" |
114 |
|
115 |
# drm module requires X |
116 |
# for gallium we need to enable drm |
117 |
REQUIRED_USE=" |
118 |
drm? ( X ) |
119 |
gallium? ( drm ) |
120 |
gles2? ( !opengl ) |
121 |
openvg? ( || ( gles2 opengl ) ) |
122 |
xlib-xcb? ( xcb ) |
123 |
" |
124 |
|
125 |
src_prepare() { |
126 |
epatch "${FILESDIR}"/${PN}-1.8.8-interix.patch |
127 |
use legacy-drivers && epatch "${FILESDIR}"/${PN}-1.10.0-buggy_gradients.patch |
128 |
epatch "${FILESDIR}"/${PN}-respect-fontconfig.patch |
129 |
epatch_user |
130 |
|
131 |
# Slightly messed build system YAY |
132 |
if [[ ${PV} == *9999* ]]; then |
133 |
touch boilerplate/Makefile.am.features |
134 |
touch src/Makefile.am.features |
135 |
touch ChangeLog |
136 |
fi |
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 |
local myopts |
145 |
|
146 |
[[ ${CHOST} == *-interix* ]] && append-flags -D_REENTRANT |
147 |
|
148 |
use elibc_FreeBSD && myopts+=" --disable-symbol-lookup" |
149 |
|
150 |
econf \ |
151 |
--disable-dependency-tracking \ |
152 |
$(use_with X x) \ |
153 |
$(use_enable X tee) \ |
154 |
$(use_enable X xlib) \ |
155 |
$(use_enable X xlib-xrender) \ |
156 |
$(use_enable aqua quartz) \ |
157 |
$(use_enable aqua quartz-image) \ |
158 |
$(use_enable debug test-surfaces) \ |
159 |
$(use_enable drm) \ |
160 |
$(use_enable directfb) \ |
161 |
$(use_enable gallium) \ |
162 |
$(use_enable gles2 glesv2) \ |
163 |
$(use_enable glib gobject) \ |
164 |
$(use_enable doc gtk-doc) \ |
165 |
$(use_enable openvg vg) \ |
166 |
$(use_enable opengl gl) \ |
167 |
$(use_enable qt4 qt) \ |
168 |
$(use_enable static-libs static) \ |
169 |
$(use_enable svg) \ |
170 |
$(use_enable valgrind) \ |
171 |
$(use_enable xcb) \ |
172 |
$(use_enable xcb xcb-shm) \ |
173 |
$(use_enable xlib-xcb) \ |
174 |
--enable-ft \ |
175 |
--enable-pdf \ |
176 |
--enable-png \ |
177 |
--enable-ps \ |
178 |
${myopts} |
179 |
} |
180 |
|
181 |
src_install() { |
182 |
# parallel make install fails |
183 |
emake -j1 DESTDIR="${D}" install |
184 |
find "${ED}" -name '*.la' -exec rm -f {} + |
185 |
dodoc AUTHORS ChangeLog NEWS README |
186 |
} |
187 |
|
188 |
pkg_postinst() { |
189 |
if use !xlib-xcb; then |
190 |
if has_version net-misc/nxserver-freenx \ |
191 |
|| has_version net-misc/x2goserver; then |
192 |
ewarn "cairo-1.12 is known to cause GTK+ errors with NX servers." |
193 |
ewarn "Enable USE=\"xlib-xcb\" if you notice incorrect behavior in GTK+" |
194 |
ewarn "applications that are running inside NX sessions. For details, see" |
195 |
ewarn "https://bugs.gentoo.org/441878 or https://bugs.freedesktop.org/59173" |
196 |
fi |
197 |
fi |
198 |
} |