rpms/WebKit/F-8 .cvsignore, 1.5, 1.6 WebKit.spec, 1.4, 1.5 sources, 1.5, 1.6
Peter Gordon (pgordon)
fedora-extras-commits at redhat.com
Sun Jul 6 13:14:59 UTC 2008
Author: pgordon
Update of /cvs/pkgs/rpms/WebKit/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15825/F-8
Modified Files:
.cvsignore WebKit.spec sources
Log Message:
* Sun Jul 06 2008 Peter Gordon <peter at thecodergeek.com> 1.0.0-0.10.svn34655
- Update to new upstream snapshot (SVN 34655)
- Resolves: CVE-2008-2307 (bug #454092: memory corruption in handling of
JavaScript arrays)
- Add some build-time conditionals for non-default features: debug, html5video,
pango, svg.
- libqtwebico.so is no longer supported.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/WebKit/F-8/.cvsignore,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- .cvsignore 30 Apr 2008 15:25:03 -0000 1.5
+++ .cvsignore 6 Jul 2008 13:14:15 -0000 1.6
@@ -1 +1 @@
-WebKit-r32531.tar.bz2
+WebKit-r34655.tar.bz2
Index: WebKit.spec
===================================================================
RCS file: /cvs/pkgs/rpms/WebKit/F-8/WebKit.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- WebKit.spec 30 Apr 2008 15:25:03 -0000 1.4
+++ WebKit.spec 6 Jul 2008 13:14:15 -0000 1.5
@@ -3,11 +3,28 @@
cp -p %1 %{buildroot}%{_docdir}/%{name}-%{version}/$(echo '%1' | sed -e 's!/!.!g') \
echo %%{_docdir}/%{name}-%{version}/$(echo '%1' | sed -e 's!/!.!g') >> docfiles.list
-%define svn_revision 32531
+%define svn_revision 34655
+
+## Optional build modifications (for the GTK+ port only)
+## --with debug: Enable more verbose debugging. Makes runtime a bit slower.
+## (Default: No)
+##
+## --with html5video: HTML5 video element support using Gstreamer
+## (Default: No)
+##
+## --with pango: Use Pango instead of freetype2 as the font renderer
+## (Default: No - use freetype2)
+##
+## --with svg: Experimental SVG support (filters)
+## (Default: No)
+%bcond_with debug
+%bcond_with html5video
+%bcond_with pango
+%bcond_with svg
Name: WebKit
Version: 1.0.0
-Release: 0.9.svn%{svn_revision}%{?dist}
+Release: 0.10.svn%{svn_revision}%{?dist}
Summary: Web content engine library
Group: Development/Libraries
@@ -23,14 +40,29 @@
BuildRequires: flex
BuildRequires: gperf
BuildRequires: gtk2-devel
-BuildRequires: libicu-devel
+BuildRequires: libicu-devel
BuildRequires: libtool
BuildRequires: libxslt-devel
-BuildRequires: pango-devel
+BuildRequires: libXt-devel
BuildRequires: pcre-devel
+BuildRequires: sqlite-devel
## Necessary for qmake and friends.
BuildRequires: qt4-devel
-BuildRequires: sqlite-devel
+
+## Conditional dependencies...
+%if %{with html5video}
+BuildRequires: gnome-vfs2-devel
+BuildRequires: gstreamer-devel
+BuildRequires: gstreamer-plugins-base-devel
+%endif
+
+%if %{with pango}
+BuildRequires: pango-devel
+%else
+BuildRequires: cairo-devel
+BuildRequires: fontconfig-devel
+BuildRequires: freetype-devel
+%endif
%description
WebKit is an open source web browser engine.
@@ -95,6 +127,7 @@
%prep
%setup -qn "%{name}-r%{svn_revision}"
+
%build
## We don't like pre-built binaries, especially ones for other OSes. =)
rm -r WebKitLibraries/{*.a,win/}
@@ -102,17 +135,19 @@
## Fix permissions for the debuginfo generation.
chmod a-x WebCore/dom/Clipboard.cpp
-status=0
## Build the GTK+ port...
-
## Don't call configure automatically
sed -i.conf -e '$d' autogen.sh
-mkdir build-gtk
+./autogen.sh
+install -d build-gtk
pushd build-gtk
- ../autogen.sh
- ln -sf ../configure
- %configure --with-font-backend=pango --enable-icon-database
- make %{?_smp_mflags} -k || status=1
+ ln -sf ../configure
+ %configure \
+ %{?with_debug: --enable-debug } \
+ %{?with_html5video: --enable-video } \
+ %{?with_pango: --with-font-backend=pango } \
+ %{?with_svg: --enable-svg-filters }
+ make %{?_smp_mflags}
popd
@@ -130,13 +165,9 @@
CONFIG+=qt-port \
WEBKIT_LIB_DIR=%{_libdir} \
../WebKit.pro
- make %{?_smp_mflags} -k \
- || status=$((status+10))
+ make %{?_smp_mflags}
popd
-echo $status
-if [ $status -gt 0 ] ; then exit 1 ; fi
-
%install
rm -rf %{buildroot}
@@ -145,8 +176,6 @@
install -d -m 755 %{buildroot}%{_libexecdir}/%{name}
install -m 755 build-gtk/Programs/.libs/GtkLauncher %{buildroot}%{_libexecdir}/%{name}
-
-
make -C build-qt install INSTALL_ROOT=%{buildroot}
install -m 755 build-qt/bin/QtLauncher %{buildroot}%{_libexecdir}/%{name}
install -m 755 build-qt/bin/DumpRenderTree %{buildroot}%{_libexecdir}/%{name}
@@ -196,7 +225,7 @@
%files gtk
%defattr(-,root,root,-)
-%doc
+%{_bindir}/jsc
%{_libdir}/libwebkit-1.0.so.*
%dir %{_libexecdir}/WebKit/
%{_libexecdir}/WebKit/GtkLauncher
@@ -221,7 +250,6 @@
%{_libdir}/libQtWebKit.so
%{_libdir}/pkgconfig/QtWebKit.pc
%{_libexecdir}/WebKit/DumpRenderTree
-%{_qt4_plugindir}/imageformats/libqtwebico.so
%{_qt4_prefix}/mkspecs/features/qtwebkit.prf
%files doc -f docfiles.list
@@ -229,6 +257,14 @@
%changelog
+* Sun Jul 06 2008 Peter Gordon <peter at thecodergeek.com> 1.0.0-0.10.svn34655
+- Update to new upstream snapshot (SVN 34655)
+- Resolves: CVE-2008-2307 (bug #454092: memory corruption in handling of
+ JavaScript arrays)
+- Add some build-time conditionals for non-default features: debug, html5video,
+ pango, svg.
+- libqtwebico.so is no longer supported.
+
* Mon Apr 28 2008 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 1.0.0-0.9.svn32531
- Update to new upstream snapshot (SVN 32531).
- Fix bug 443048 and hopefully fix bug 444445
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/WebKit/F-8/sources,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- sources 30 Apr 2008 15:25:03 -0000 1.5
+++ sources 6 Jul 2008 13:14:15 -0000 1.6
@@ -1 +1 @@
-db45e1fab555d2a739d4e01f7dfc0091 WebKit-r32531.tar.bz2
+0c4dcb3f69d9bd63817005a11a797425 WebKit-r34655.tar.bz2
More information about the fedora-extras-commits
mailing list