Gentoo Archives: gentoo-commits

From: "Alexandre Rostovtsev (tetromino)" <tetromino@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/clutter: ChangeLog clutter-1.8.2-r1.ebuild
Date: Sat, 31 Dec 2011 19:19:29
Message-Id: 20111231191917.C9E422004C@flycatcher.gentoo.org
1 tetromino 11/12/31 19:19:17
2
3 Modified: ChangeLog
4 Added: clutter-1.8.2-r1.ebuild
5 Log:
6 Add useful patches from upstream; fixes totem on old video cards (thanks to Rafał Mużyło for reporting), font rendering, offscreen effect efficiency.
7
8 (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.45 media-libs/clutter/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/clutter/ChangeLog?rev=1.45&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/clutter/ChangeLog?rev=1.45&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/clutter/ChangeLog?r1=1.44&r2=1.45
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/clutter/ChangeLog,v
20 retrieving revision 1.44
21 retrieving revision 1.45
22 diff -u -r1.44 -r1.45
23 --- ChangeLog 28 Oct 2011 22:16:39 -0000 1.44
24 +++ ChangeLog 31 Dec 2011 19:19:17 -0000 1.45
25 @@ -1,6 +1,17 @@
26 # ChangeLog for media-libs/clutter
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-libs/clutter/ChangeLog,v 1.44 2011/10/28 22:16:39 tetromino Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/clutter/ChangeLog,v 1.45 2011/12/31 19:19:17 tetromino Exp $
30 +
31 +*clutter-1.8.2-r1 (31 Dec 2011)
32 +
33 + 31 Dec 2011; Alexandre Rostovtsev <tetromino@g.o>
34 + +clutter-1.8.2-r1.ebuild,
35 + +files/clutter-1.8.2-cogl-fallback-to-non-transparent.patch,
36 + +files/clutter-1.8.2-default-resolution.patch,
37 + +files/clutter-1.8.2-em-computation.patch,
38 + +files/clutter-1.8.2-offscreen-effect-actor-size.patch:
39 + Add useful patches from upstream; fixes totem on old video cards (thanks to
40 + Rafał Mużyło for reporting), font rendering, offscreen effect efficiency.
41
42 *clutter-1.8.2 (28 Oct 2011)
43
44
45
46
47 1.1 media-libs/clutter/clutter-1.8.2-r1.ebuild
48
49 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/clutter/clutter-1.8.2-r1.ebuild?rev=1.1&view=markup
50 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/clutter/clutter-1.8.2-r1.ebuild?rev=1.1&content-type=text/plain
51
52 Index: clutter-1.8.2-r1.ebuild
53 ===================================================================
54 # Copyright 1999-2011 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 # $Header: /var/cvsroot/gentoo-x86/media-libs/clutter/clutter-1.8.2-r1.ebuild,v 1.1 2011/12/31 19:19:17 tetromino Exp $
57
58 EAPI="4"
59 CLUTTER_LA_PUNT="yes"
60 WANT_AUTOMAKE="1.11"
61
62 # Inherit gnome2 after clutter to download sources from gnome.org
63 # since clutter-project.org doesn't provide .xz tarballs
64 inherit clutter gnome2
65
66 DESCRIPTION="Clutter is a library for creating graphical user interfaces"
67
68 SLOT="1.0"
69 IUSE="debug doc +introspection"
70 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
71
72 # NOTE: glx flavour uses libdrm + >=mesa-7.3
73 # XXX: uprof needed for profiling
74 # >=libX11-1.3.1 needed for X Generic Event support
75 RDEPEND="
76 >=dev-libs/glib-2.28:2
77 >=dev-libs/atk-2.1.5[introspection?]
78 >=dev-libs/json-glib-0.12[introspection?]
79 >=media-libs/cogl-1.8.0:1.0[introspection?,pango]
80 media-libs/fontconfig
81 >=x11-libs/cairo-1.10[glib]
82 x11-libs/gdk-pixbuf:2
83 >=x11-libs/pango-1.20[introspection?]
84
85 virtual/opengl
86 x11-libs/libdrm
87 >=x11-libs/libX11-1.3.1
88 x11-libs/libXext
89 x11-libs/libXdamage
90 x11-proto/inputproto
91 >=x11-libs/libXi-1.3
92 >=x11-libs/libXfixes-3
93 >=x11-libs/libXcomposite-0.4
94
95 introspection? ( >=dev-libs/gobject-introspection-0.9.6 )"
96 DEPEND="${RDEPEND}
97 sys-devel/gettext
98 dev-util/pkgconfig
99 >=dev-util/gtk-doc-am-1.13
100 doc? (
101 >=dev-util/gtk-doc-1.13
102 >=app-text/docbook-sgml-utils-0.6.14[jadetex]
103 dev-libs/libxslt )"
104
105 pkg_setup() {
106 DOCS="README NEWS ChangeLog*"
107
108 # XXX: Conformance test suite (and clutter itself) does not work under Xvfb
109 # XXX: Profiling, coverage disabled for now
110 # XXX: What about eglx/eglnative/opengl-egl-xlib/osx/wayland/etc flavours?
111 # Uses gudev-1.0 and libxkbcommon for eglnative/cex1000
112 myconf="--enable-debug=minimum"
113 use debug && myconf="--enable-debug=yes"
114 G2CONF="${G2CONF} ${myconf}
115 --enable-conformance=no
116 --disable-gcov
117 --enable-profile=no
118 --enable-maintainer-flags=no
119 --enable-xinput
120 --with-flavour=glx
121 $(use_enable introspection)
122 $(use_enable doc docs)"
123 }
124
125 src_prepare() {
126 # Useful patches fom upstream, will be in next release
127 epatch "${FILESDIR}/${P}-cogl-fallback-to-non-transparent.patch"
128 epatch "${FILESDIR}/${P}-offscreen-effect-actor-size.patch"
129 epatch "${FILESDIR}/${P}-default-resolution.patch"
130 epatch "${FILESDIR}/${P}-em-computation.patch"
131
132 gnome2_src_prepare
133
134 # We only need conformance tests, the rest are useless for us
135 sed -e 's/^\(SUBDIRS =\).*/\1/g' \
136 -i tests/Makefile.am || die "am tests sed failed"
137 sed -e 's/^\(SUBDIRS =\)[^\]*/\1/g' \
138 -i tests/Makefile.in || die "in tests sed failed"
139 }
140
141 src_install() {
142 clutter_src_install
143 }