Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/clutter: metadata.xml ChangeLog clutter-1.12.2-r1.ebuild
Date: Wed, 05 Jun 2013 14:58:53
Message-Id: 20130605145847.16B722171E@flycatcher.gentoo.org
1 jlec 13/06/05 14:58:47
2
3 Modified: metadata.xml ChangeLog
4 Added: clutter-1.12.2-r1.ebuild
5 Log:
6 media-libs/clutter: Backport patch to fix segfault due to unrespected array bounds, #469196
7
8 (Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
9
10 Revision Changes Path
11 1.4 media-libs/clutter/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/clutter/metadata.xml?rev=1.4&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/clutter/metadata.xml?rev=1.4&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/clutter/metadata.xml?r1=1.3&r2=1.4
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/clutter/metadata.xml,v
20 retrieving revision 1.3
21 retrieving revision 1.4
22 diff -u -r1.3 -r1.4
23 --- metadata.xml 16 Dec 2012 22:04:03 -0000 1.3
24 +++ metadata.xml 5 Jun 2013 14:58:46 -0000 1.4
25 @@ -1,8 +1,8 @@
26 <?xml version="1.0" encoding="UTF-8"?>
27 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
28 <pkgmetadata>
29 -<herd>gnome</herd>
30 -<use>
31 - <flag name="gtk">Use gdk-pixbuf from <pkg>x11-libs/gtk+</pkg> as image rendering backend</flag>
32 -</use>
33 + <herd>gnome</herd>
34 + <use>
35 + <flag name="gtk">Use gdk-pixbuf from <pkg>x11-libs/gtk+</pkg> as image rendering backend</flag>
36 + </use>
37 </pkgmetadata>
38
39
40
41 1.72 media-libs/clutter/ChangeLog
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/clutter/ChangeLog?rev=1.72&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/clutter/ChangeLog?rev=1.72&content-type=text/plain
45 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/clutter/ChangeLog?r1=1.71&r2=1.72
46
47 Index: ChangeLog
48 ===================================================================
49 RCS file: /var/cvsroot/gentoo-x86/media-libs/clutter/ChangeLog,v
50 retrieving revision 1.71
51 retrieving revision 1.72
52 diff -u -r1.71 -r1.72
53 --- ChangeLog 15 May 2013 07:01:15 -0000 1.71
54 +++ ChangeLog 5 Jun 2013 14:58:46 -0000 1.72
55 @@ -1,6 +1,12 @@
56 # ChangeLog for media-libs/clutter
57 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
58 -# $Header: /var/cvsroot/gentoo-x86/media-libs/clutter/ChangeLog,v 1.71 2013/05/15 07:01:15 pacho Exp $
59 +# $Header: /var/cvsroot/gentoo-x86/media-libs/clutter/ChangeLog,v 1.72 2013/06/05 14:58:46 jlec Exp $
60 +
61 +*clutter-1.12.2-r1 (05 Jun 2013)
62 +
63 + 05 Jun 2013; Justin Lecher <jlec@g.o> +clutter-1.12.2-r1.ebuild,
64 + +files/clutter-1.12.2-array-bounds.patch, metadata.xml:
65 + Backport patch to fix segfault due to unrespected array bounds, #469196
66
67 *clutter-1.14.4 (15 May 2013)
68
69
70
71
72 1.1 media-libs/clutter/clutter-1.12.2-r1.ebuild
73
74 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/clutter/clutter-1.12.2-r1.ebuild?rev=1.1&view=markup
75 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/clutter/clutter-1.12.2-r1.ebuild?rev=1.1&content-type=text/plain
76
77 Index: clutter-1.12.2-r1.ebuild
78 ===================================================================
79 # Copyright 1999-2013 Gentoo Foundation
80 # Distributed under the terms of the GNU General Public License v2
81 # $Header: /var/cvsroot/gentoo-x86/media-libs/clutter/clutter-1.12.2-r1.ebuild,v 1.1 2013/06/05 14:58:46 jlec Exp $
82
83 EAPI="5"
84 CLUTTER_LA_PUNT="yes"
85
86 # Inherit gnome2 after clutter to download sources from gnome.org
87 # since clutter-project.org doesn't provide .xz tarballs
88 inherit clutter gnome2 virtualx
89
90 DESCRIPTION="Clutter is a library for creating graphical user interfaces"
91
92 LICENSE="LGPL-2.1+ FDL-1.1+"
93 SLOT="1.0"
94 IUSE="debug doc gtk +introspection test" # evdev tslib
95 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
96
97 # NOTE: glx flavour uses libdrm + >=mesa-7.3
98 # XXX: uprof needed for profiling
99 # >=libX11-1.3.1 needed for X Generic Event support
100 RDEPEND="
101 >=dev-libs/glib-2.31.19:2
102 >=dev-libs/atk-2.5.3[introspection?]
103 >=dev-libs/json-glib-0.12[introspection?]
104 >=media-libs/cogl-1.9.6:1.0=[introspection?,pango]
105 media-libs/fontconfig
106 >=x11-libs/cairo-1.10:=[glib]
107 >=x11-libs/pango-1.30[introspection?]
108
109 virtual/opengl
110 x11-libs/libdrm:=
111 >=x11-libs/libX11-1.3.1
112 x11-libs/libXext
113 x11-libs/libXdamage
114 x11-proto/inputproto
115 >=x11-libs/libXi-1.3
116 >=x11-libs/libXfixes-3
117 >=x11-libs/libXcomposite-0.4
118
119 gtk? ( >=x11-libs/gtk+-3.3.18:3 )
120 introspection? ( >=dev-libs/gobject-introspection-0.9.6 )"
121 DEPEND="${RDEPEND}
122 >=dev-util/gtk-doc-am-1.15
123 virtual/pkgconfig
124 >=sys-devel/gettext-0.17
125 doc? (
126 >=dev-util/gtk-doc-1.15
127 >=app-text/docbook-sgml-utils-0.6.14[jadetex]
128 dev-libs/libxslt )
129 test? ( x11-libs/gdk-pixbuf )"
130
131 # Tests fail with both swrast and llvmpipe
132 # They pass under r600g or i965, so the bug is in mesa
133 RESTRICT="test"
134
135 src_prepare() {
136 DOCS="README NEWS ChangeLog*"
137
138 # XXX: Conformance test suite (and clutter itself) does not work under Xvfb
139 # (GLX error blabla)
140 # XXX: Profiling, coverage disabled for now
141 # XXX: What about cex100/egl/osx/wayland/win32 backends?
142 # XXX: evdev/tslib input seem to be experimental?
143 G2CONF="${G2CONF} ${myconf}
144 --enable-xinput
145 --enable-x11-backend=yes
146 --disable-profile
147 --disable-maintainer-flags
148 --disable-gcov
149 --disable-cex100-backend
150 --disable-egl-backend
151 --disable-quartz-backend
152 --disable-wayland-backend
153 --disable-win32-backend
154 --disable-tslib-input
155 --disable-evdev-input
156 $(usex debug --enable-debug=yes --enable-debug=minimum)
157 $(use_enable gtk gdk-backend)
158 $(use_enable introspection)
159 $(use_enable doc docs)
160 $(use_enable test conformance)
161 $(use_enable test gdk-pixbuf)"
162
163 # We only need conformance tests, the rest are useless for us
164 sed -e 's/^\(SUBDIRS =\).*/\1/g' \
165 -i tests/Makefile.am || die "am tests sed failed"
166 sed -e 's/^\(SUBDIRS =\)[^\]*/\1/g' \
167 -i tests/Makefile.in || die "in tests sed failed"
168
169 epatch "${FILESDIR}"/${P}-array-bounds.patch
170
171 gnome2_src_prepare
172 }
173
174 src_compile() {
175 default
176 if use test; then
177 emake -C tests/conform
178 fi
179 }
180
181 src_test() {
182 Xemake check
183 }
184
185 src_install() {
186 clutter_src_install
187 }