packages: chromium-browser/chromium-browser.spec - update patches from chro...

glen glen at pld-linux.org
Sun Sep 20 12:38:10 CEST 2009


Author: glen                         Date: Sun Sep 20 10:38:10 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- update patches from chromium-4.0.212.0-0.1.20090916svn26424.fc12.src.rpm

---- Files affected:
packages/chromium-browser:
   chromium-browser.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/chromium-browser/chromium-browser.spec
diff -u packages/chromium-browser/chromium-browser.spec:1.2 packages/chromium-browser/chromium-browser.spec:1.3
--- packages/chromium-browser/chromium-browser.spec:1.2	Sat Sep 19 11:10:30 2009
+++ packages/chromium-browser/chromium-browser.spec	Sun Sep 20 12:38:05 2009
@@ -2,49 +2,56 @@
 # TODO
 # - spec vs name
 # - merge google-chromium.spec vs chromium-browser.spec -- one must go
-
 # spec from  http://spot.fedorapeople.org/chromium/
 
-%global svndate 20090711
-%global svnver  svn20464
-
+%define		svndate 20090916
+%define		svnver  svn26424
 Summary:	A WebKit powered web browser
-Name:		chromium
-Version:	3.0.194.0
+Name:		chromium-browser
+Version:	4.0.212.0
 Release:	0.1.%{svndate}%{svnver}%{?dist}
-License:	BSD
+License:	BSD, LGPL v2+ (ffmpeg)
 Group:		Applications/Networking
-# see src/chrome/VERSION
-Patch0:		%{name}-20090711-system-bz2-xml2-xslt-zlib-minizip-libevent-jpeg-png-nss-nspr-v8.patch
-# Use chromium-daily-tarball.sh to generate tarball.
-Source0:	%{name}-%{svndate}%{svnver}.tar.bz2
+Patch0:		system-libs.patch
+Patch1:		system-libs-gyp.patch
+Patch2:		gyp-system-minizip.patch
+Patch3:		noffmpeg.patch
+Patch5:		options-support.patch
+Patch6:		64bit-plugin-path.patch
+Patch7:		gyp-system-icu.patch
+Patch8:		icu-code-changes.patch
+Patch9:		no-sqlite-debug.patch
+Patch10:	debug_util_posix-fix.patch
+Source0:	chromium-%{svndate}%{svnver}.tar.bz2
+# Source0-md5:	20663b974249b35d7ab655ce21b8f868
 # Custom build tools for chromium, hammer is a fancy front-end for scons
 Source1:	http://src.chromium.org/svn/trunk/tools/depot_tools.tar.gz
+# Source1-md5:	40811b18e2cbdc900272618486bf37e1
 Source2:	%{name}-browser.sh
 Source3:	%{name}-browser.desktop
 # We don't actually use this in the build, but it is included so you can make the tarball.
 Source4:	%{name}-daily-tarball.sh
+BuildRequires:	GConf2-devel
+BuildRequires:	alsa-lib-devel
+BuildRequires:	atk-devel
+BuildRequires:	bison
 BuildRequires:	bzip2-devel
-BuildRequires:	libevent-devel
-BuildRequires:	libjpeg-devel
-BuildRequires:	libpng-devel
+BuildRequires:	dbus-devel
 BuildRequires:	desktop-file-utils
-BuildRequires:	gperf
 BuildRequires:	flex
-BuildRequires:	gtk2-devel
-BuildRequires:	atk-devel
-BuildRequires:	v8-devel
-BuildRequires:	scons
-BuildRequires:	gcc-c++
-BuildRequires:	bison
 BuildRequires:	fontconfig-devel
-BuildRequires:	GConf2-devel
-BuildRequires:	dbus-devel
-BuildRequires:	alsa-lib-devel
+BuildRequires:	gperf
+BuildRequires:	gtk2-devel
+BuildRequires:	libevent-devel
+BuildRequires:	libjpeg-devel
+BuildRequires:	libpng-devel
+BuildRequires:	libstdc++-devel
 BuildRequires:	libxslt-devel
-BuildRequires:	nss-devel
-BuildRequires:	nspr-devel
 BuildRequires:	minizip-devel
+BuildRequires:	nspr-devel
+BuildRequires:	nss-devel
+BuildRequires:	scons
+BuildRequires:	v8-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 # Chromium bits don't compile on x86_64.
 ExclusiveArch:	%{ix86} arm
@@ -54,6 +61,15 @@
 
 %prep
 %setup -q -n %{name}-%{svndate}%{svnver} -a 1
+
+# see src/chrome/VERSION
+# Google's versioning is interesting. They never reset "BUILD", which is how we jumped
+# from 3.0.201.0 to 4.0.202.0 as they moved to a new major branch
+ver=$(cat src/chrome/VERSION)
+if [ "$ver" != %{version} ]; then
+	exit 1
+fi
+
 cp %{SOURCE4} .
 
 # Somehow, path noise from the tarball creation got embedded.
@@ -63,9 +79,16 @@
 	sed -i "s|/home/spot/sandbox/chromium-%{svndate}/|%{_builddir}/chromium-%{svndate}%{svnver}/|g" $i
 done
 
-# Patch in support for system libs
-# bz2, xml2, xslt, zlib, minizp, event, jpeg, png, nss, nspr, v8
-%patch0 -p1 -b .system
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1
+%patch8 -p1
+%patch9 -p1
+%patch10 -p1
 
 # Scrape out incorrect optflags and hack in the correct ones
 PARSED_OPT_FLAGS=`echo \'$RPM_OPT_FLAGS \' | sed "s/ /',/g" | sed "s/',/', '/g"`
@@ -128,6 +151,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2009/09/20 10:38:05  glen
+- update patches from chromium-4.0.212.0-0.1.20090916svn26424.fc12.src.rpm
+
 Revision 1.2  2009/09/19 09:10:30  glen
 - duplicate specs
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/chromium-browser/chromium-browser.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list