Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/webkit-gtk: metadata.xml ChangeLog webkit-gtk-1.2.6.ebuild webkit-gtk-1.1.15.4.ebuild
Date: Tue, 04 Jan 2011 21:54:12
Message-Id: 20110104215402.047562005E@flycatcher.gentoo.org
1 pacho 11/01/04 21:54:01
2
3 Modified: metadata.xml ChangeLog
4 Added: webkit-gtk-1.2.6.ebuild
5 Removed: webkit-gtk-1.1.15.4.ebuild
6 Log:
7 Version bump: Fixes crashes with newer libpng (>= 1.4), security fixes CVE-2010-4198 CVE-2010-4197 CVE-2010-4204 CVE-2010-4206 CVE-2010-1791 CVE-2010-3812 CVE-2010-3813. Also makes JIT support optional as it causes problems with hardened (bug #338213). Remove old.
8
9 (Portage version: 2.1.9.28/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.11 net-libs/webkit-gtk/metadata.xml
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/webkit-gtk/metadata.xml?rev=1.11&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/webkit-gtk/metadata.xml?rev=1.11&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/webkit-gtk/metadata.xml?r1=1.10&r2=1.11
17
18 Index: metadata.xml
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/metadata.xml,v
21 retrieving revision 1.10
22 retrieving revision 1.11
23 diff -u -r1.10 -r1.11
24 --- metadata.xml 11 Oct 2010 13:47:37 -0000 1.10
25 +++ metadata.xml 4 Jan 2011 21:54:01 -0000 1.11
26 @@ -3,9 +3,10 @@
27 <pkgmetadata>
28 <herd>gnome</herd>
29 <use>
30 - <flag name="coverage">enable code coverage support</flag>
31 + <flag name="coverage">Enable code coverage support</flag>
32 <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg>
33 for introspection</flag>
34 - <flag name="websockets">enable full duplex single socket communication</flag>
35 + <flag name="jit">Enable JIT javascript compiler (disabling it will
36 + cause performance penalty)</flag>
37 </use>
38 </pkgmetadata>
39
40
41
42 1.91 net-libs/webkit-gtk/ChangeLog
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/webkit-gtk/ChangeLog?rev=1.91&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/webkit-gtk/ChangeLog?rev=1.91&content-type=text/plain
46 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/webkit-gtk/ChangeLog?r1=1.90&r2=1.91
47
48 Index: ChangeLog
49 ===================================================================
50 RCS file: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/ChangeLog,v
51 retrieving revision 1.90
52 retrieving revision 1.91
53 diff -u -r1.90 -r1.91
54 --- ChangeLog 29 Dec 2010 22:41:40 -0000 1.90
55 +++ ChangeLog 4 Jan 2011 21:54:01 -0000 1.91
56 @@ -1,6 +1,18 @@
57 # ChangeLog for net-libs/webkit-gtk
58 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
59 -# $Header: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/ChangeLog,v 1.90 2010/12/29 22:41:40 nirbheek Exp $
60 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
61 +# $Header: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/ChangeLog,v 1.91 2011/01/04 21:54:01 pacho Exp $
62 +
63 +*webkit-gtk-1.2.6 (04 Jan 2011)
64 +
65 + 04 Jan 2011; Pacho Ramos <pacho@g.o>
66 + -files/webkit-gtk-1.1.15.2-unaligned.patch, -webkit-gtk-1.1.15.4.ebuild,
67 + -files/webkit-gtk-1.1.15.4-darwin-quartz.patch,
68 + -files/webkit-gtk-1.1.15.4-icu44.patch, +webkit-gtk-1.2.6.ebuild,
69 + metadata.xml:
70 + Version bump: Fixes crashes with newer libpng (>= 1.4), security fixes
71 + CVE-2010-4198 CVE-2010-4197 CVE-2010-4204 CVE-2010-4206 CVE-2010-1791
72 + CVE-2010-3812 CVE-2010-3813. Also makes JIT support optional as it causes
73 + problems with hardened (bug #338213). Remove old.
74
75 29 Dec 2010; <nirbheek@g.o> webkit-gtk-1.1.15.4.ebuild,
76 webkit-gtk-1.2.3.ebuild, webkit-gtk-1.2.5.ebuild:
77
78
79
80 1.1 net-libs/webkit-gtk/webkit-gtk-1.2.6.ebuild
81
82 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/webkit-gtk/webkit-gtk-1.2.6.ebuild?rev=1.1&view=markup
83 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/webkit-gtk/webkit-gtk-1.2.6.ebuild?rev=1.1&content-type=text/plain
84
85 Index: webkit-gtk-1.2.6.ebuild
86 ===================================================================
87 # Copyright 1999-2011 Gentoo Foundation
88 # Distributed under the terms of the GNU General Public License v2
89 # $Header: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/webkit-gtk-1.2.6.ebuild,v 1.1 2011/01/04 21:54:01 pacho Exp $
90
91 EAPI="3"
92
93 inherit autotools flag-o-matic eutils virtualx
94
95 MY_P="webkit-${PV}"
96 DESCRIPTION="Open source web browser engine"
97 HOMEPAGE="http://www.webkitgtk.org/"
98 SRC_URI="http://www.webkitgtk.org/${MY_P}.tar.gz"
99
100 LICENSE="LGPL-2 LGPL-2.1 BSD"
101 SLOT="2"
102 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos"
103 # geoclue is missing
104 IUSE="aqua coverage debug doc +gstreamer introspection +jit"
105
106 # use sqlite, svg by default
107 # dependency on >=x11-libs/gtk+-2.13 for gail
108 # XXX: Quartz patch does not apply
109 RDEPEND="
110 dev-libs/libxml2
111 dev-libs/libxslt
112 virtual/jpeg
113 >=media-libs/libpng-1.4
114 x11-libs/cairo
115 >=x11-libs/gtk+-2.13:2[aqua=]
116 >=dev-libs/glib-2.21.3:2
117 >=dev-libs/icu-3.8.1-r1
118 >=net-libs/libsoup-2.29.90:2.4
119 >=dev-db/sqlite-3
120 >=app-text/enchant-0.22
121 >=x11-libs/pango-1.12
122
123 gstreamer? (
124 media-libs/gstreamer:0.10
125 >=media-libs/gst-plugins-base-0.10.25:0.10 )
126 introspection? ( >=dev-libs/gobject-introspection-0.6.2 )"
127
128 DEPEND="${RDEPEND}
129 >=sys-devel/flex-2.5.33
130 sys-devel/gettext
131 dev-util/gperf
132 dev-util/pkgconfig
133 dev-util/gtk-doc-am
134 doc? ( >=dev-util/gtk-doc-1.10 )"
135
136 S="${WORKDIR}/${MY_P}"
137
138 src_prepare() {
139 # FIXME: Fix unaligned accesses on ARM, IA64 and SPARC
140 # https://bugs.webkit.org/show_bug.cgi?id=19775
141 use sparc && epatch "${FILESDIR}"/${PN}-1.2.3-fix-pool-sparc.patch
142
143 # intermediate MacPorts hack while upstream bug is not fixed properly
144 # https://bugs.webkit.org/show_bug.cgi?id=28727
145 use aqua && epatch "${FILESDIR}"/${PN}-1.2.5-darwin-quartz.patch
146
147 # Fix build on Darwin8 (10.4 Tiger)
148 epatch "${FILESDIR}"/${PN}-1.2.5-darwin8.patch
149
150 # Don't force -O2
151 sed -i 's/-O2//g' "${S}"/configure.ac || die "sed failed"
152
153 # Don't build tests if not needed, part of bug #343249
154 epatch "${FILESDIR}/${PN}-1.2.5-tests-build.patch"
155
156 # Prevent maintainer mode from being triggered during make
157 AT_M4DIR=autotools eautoreconf
158 }
159
160 src_configure() {
161 # It doesn't compile on alpha without this in LDFLAGS
162 use alpha && append-ldflags "-Wl,--no-relax"
163
164 # Sigbuses on SPARC with mcpu
165 use sparc && filter-flags "-mcpu=*" "-mtune=*"
166
167 local myconf
168
169 myconf="
170 --disable-introspection
171 --disable-web_sockets
172 $(use_enable coverage)
173 $(use_enable debug)
174 $(use_enable gstreamer video)
175 $(use_enable introspection)
176 $(use_enable jit)
177 $(use aqua && echo "--with-font-backend=pango --with-target=quartz")"
178 # Disable web-sockets per bug #326547
179
180 econf ${myconf}
181 }
182
183 src_compile() {
184 # Fix sandbox error with USE="introspection"
185 # https://bugs.webkit.org/show_bug.cgi?id=35471
186 emake XDG_DATA_HOME="${T}/.local" || die "Compile failed"
187 }
188
189 src_test() {
190 unset DISPLAY
191 # Tests need virtualx, bug #294691, bug #310695
192 # Set XDG_DATA_HOME for introspection tools, bug #323669
193 Xemake check XDG_DATA_HOME="${T}/.local" || die "Test phase failed"
194 }
195
196 src_install() {
197 emake DESTDIR="${D}" install || die "Install failed"
198 dodoc WebKit/gtk/{NEWS,ChangeLog} || die "dodoc failed"
199 }