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