chromium: update to 35.0.1916.153.
This commit is contained in:
parent
408e90f723
commit
71f804c51d
5 changed files with 44 additions and 59 deletions
|
@ -1,11 +0,0 @@
|
||||||
--- build/gyp_chromium.orig 2014-01-29 01:22:52.527247671 +0000
|
|
||||||
+++ build/gyp_chromium 2014-01-29 01:23:49.857623290 +0000
|
|
||||||
@@ -38,8 +38,6 @@
|
|
||||||
sys.path.insert(1, os.path.join(chrome_src, 'third_party', 'WebKit',
|
|
||||||
'Source', 'build', 'scripts'))
|
|
||||||
|
|
||||||
-import find_depot_tools
|
|
||||||
-
|
|
||||||
# On Windows, Psyco shortens warm runs of build/gyp_chromium by about
|
|
||||||
# 20 seconds on a z600 machine with 12 GB of RAM, from 90 down to 70
|
|
||||||
# seconds. Conversely, memory usage of build/gyp_chromium with Psyco
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- build/gyp_chromium.orig 2014-01-16 22:55:50.292718339 +0000
|
|
||||||
+++ build/gyp_chromium 2014-01-16 23:15:17.890248708 +0000
|
|
||||||
@@ -370,8 +370,6 @@
|
|
||||||
args.append('--check')
|
|
||||||
|
|
||||||
supplemental_includes = GetSupplementalFiles()
|
|
||||||
- if not RunGN(supplemental_includes):
|
|
||||||
- sys.exit(1)
|
|
||||||
args.extend(
|
|
||||||
['-I' + i for i in additional_include_files(supplemental_includes, args)])
|
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
--- native_client/src/trusted/service_runtime/linux/nacl_bootstrap.gyp.orig 2014-05-20 23:59:56.000000000 +0300
|
||||||
|
+++ native_client/src/trusted/service_runtime/linux/nacl_bootstrap.gyp 2014-05-21 00:00:28.000000000 +0300
|
||||||
|
@@ -96,6 +96,7 @@
|
||||||
|
# coming after the -fno-stack-protector we added above.
|
||||||
|
'-fstack-protector',
|
||||||
|
'-fstack-protector-all',
|
||||||
|
+ '-fstack-protector-strong',
|
||||||
|
'-fprofile-generate',
|
||||||
|
'-finstrument-functions',
|
||||||
|
'-funwind-tables',
|
|
@ -1,13 +0,0 @@
|
||||||
Fix -fpermissive error: cast GetNativeDisplay() to the type it's expecting.
|
|
||||||
|
|
||||||
--- ui/gl/gl_surface_egl.cc.orig 2013-10-03 10:24:02.101296370 +0200
|
|
||||||
+++ ui/gl/gl_surface_egl.cc 2013-10-03 10:24:17.093238232 +0200
|
|
||||||
@@ -282,7 +282,7 @@ EGLConfig NativeViewGLSurfaceEGL::GetCon
|
|
||||||
// Get a config compatible with the window
|
|
||||||
DCHECK(window_);
|
|
||||||
XWindowAttributes win_attribs;
|
|
||||||
- if (!XGetWindowAttributes(GetNativeDisplay(), window_, &win_attribs)) {
|
|
||||||
+ if (!XGetWindowAttributes((Display *)GetNativeDisplay(), window_, &win_attribs)) {
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
# Template file for 'chromium'
|
# Template file for 'chromium'
|
||||||
pkgname=chromium
|
pkgname=chromium
|
||||||
#See http://www.chromium.org/developers/calendar for the latest version
|
#See http://www.chromium.org/developers/calendar for the latest version
|
||||||
version=34.0.1847.116
|
version=35.0.1916.153
|
||||||
revision=3
|
revision=1
|
||||||
short_desc="Google's attempt at creating a safer, faster, and more stable browser"
|
short_desc="Google's attempt at creating a safer, faster, and more stable browser"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.chromium.org/"
|
homepage="http://www.chromium.org/"
|
||||||
license="BSD"
|
license="BSD"
|
||||||
|
|
||||||
_url_base="https://commondatastorage.googleapis.com"
|
_url_base="https://commondatastorage.googleapis.com"
|
||||||
_toolchains_rev=12773
|
_toolchains_rev=12935
|
||||||
|
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
# XXX cannot be cross compiled right now, disabled for now.
|
# XXX cannot be cross compiled right now, disabled for now.
|
||||||
|
@ -23,11 +23,11 @@ distfiles="
|
||||||
${_url_base}/nativeclient-archive2/toolchain/${_toolchains_rev}/naclsdk_pnacl_translator.tgz.sha1hash"
|
${_url_base}/nativeclient-archive2/toolchain/${_toolchains_rev}/naclsdk_pnacl_translator.tgz.sha1hash"
|
||||||
|
|
||||||
checksum="
|
checksum="
|
||||||
dd6579c170eecd8d1f366461575e9754e44200e0b9fefde20941e15cb6729711
|
280ceb4307ba334918aacd1c5672e6ce6538bf229f90415245ede5b569e5e70e
|
||||||
4c2adc718e53f36e38202aabf6518ceaa0244e281567433489b0a4e6dab1dc2f
|
2d72245cf0fc5aec95dcf315d88d787aaeff85e2fae28b8521d60a3dd95e28d4
|
||||||
13cf0e23176787fcaa039c0bd230745e5cf5699877a51e77694c97392dc0973d
|
6baee05d11e353aac83a94125722d1f85c1aaa5fae0bfea55f996bd1d9c2a6eb
|
||||||
3a087d34cf2890d85d1e2fad0d63e9db82d47c400994dfe6f0e2ee8bcedb4195
|
142108d8ce184c3e2b18126a01bed14e286f953d90897a6d1c97f2bf7802cc0a
|
||||||
581fb67410dad60fbe484294e4da2fed0de2487caabe33d595fa7abdf72e0f59"
|
67005b390ba80b736b48fb1511bdf3fccd8fc808f4928e7fcca69f5677148b83"
|
||||||
|
|
||||||
skip_extraction="
|
skip_extraction="
|
||||||
naclsdk_linux_x86.tgz
|
naclsdk_linux_x86.tgz
|
||||||
|
@ -35,7 +35,7 @@ skip_extraction="
|
||||||
naclsdk_pnacl_translator.tgz
|
naclsdk_pnacl_translator.tgz
|
||||||
naclsdk_pnacl_translator.tgz.sha1hash"
|
naclsdk_pnacl_translator.tgz.sha1hash"
|
||||||
|
|
||||||
hostmakedepends="which yasm python pkg-config perl gperf bison"
|
hostmakedepends="which yasm python pkg-config perl gperf bison ninja clang llvm"
|
||||||
makedepends="libpng-devel>=1.6 gtk+-devel nss-devel pciutils-devel
|
makedepends="libpng-devel>=1.6 gtk+-devel nss-devel pciutils-devel
|
||||||
libXi-devel libgcrypt-devel libgnome-keyring-devel cups-devel elfutils-devel
|
libXi-devel libgcrypt-devel libgnome-keyring-devel cups-devel elfutils-devel
|
||||||
libXcomposite-devel speech-dispatcher-devel libXrandr-devel mit-krb5-devel
|
libXcomposite-devel speech-dispatcher-devel libXrandr-devel mit-krb5-devel
|
||||||
|
@ -51,9 +51,7 @@ if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
||||||
makedepends+=" gcc-c++-multilib"
|
makedepends+=" gcc-c++-multilib"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
do_configure() {
|
pre_configure() {
|
||||||
local conf=""
|
|
||||||
|
|
||||||
# XXX xtraeme: fix gcc{,-c++}-multilib instead.
|
# XXX xtraeme: fix gcc{,-c++}-multilib instead.
|
||||||
ldconfig &>/dev/null
|
ldconfig &>/dev/null
|
||||||
|
|
||||||
|
@ -67,7 +65,20 @@ do_configure() {
|
||||||
ln -sf ${XBPS_SRCDISTDIR}/${pkgver%_*}/naclsdk_pnacl_translator.tgz.sha1hash \
|
ln -sf ${XBPS_SRCDISTDIR}/${pkgver%_*}/naclsdk_pnacl_translator.tgz.sha1hash \
|
||||||
native_client/toolchain/pnacl_translator/SOURCE_SHA1
|
native_client/toolchain/pnacl_translator/SOURCE_SHA1
|
||||||
|
|
||||||
export LD="$CXX"
|
# Build with clang as a temporary solution to startup crash with GCC 4.9
|
||||||
|
mkdir -p third_party/llvm-build/Release+Asserts/bin
|
||||||
|
ln -s /usr/bin/clang third_party/llvm-build/Release+Asserts/bin/
|
||||||
|
ln -s /usr/bin/clang++ third_party/llvm-build/Release+Asserts/bin/
|
||||||
|
ln -s /usr/bin/llvm-symbolizer third_party/llvm-build/Release+Asserts/bin/
|
||||||
|
# clang 3.4 doesn't support this option
|
||||||
|
sed -i '/-Wno-absolute-value/d' build/common.gypi
|
||||||
|
}
|
||||||
|
|
||||||
|
do_configure() {
|
||||||
|
local conf=""
|
||||||
|
|
||||||
|
unset CC CXX
|
||||||
|
export -n CFLAGS CXXFLAGS
|
||||||
|
|
||||||
# Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
|
# Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
|
||||||
# Note: These are for Void Linux use ONLY.
|
# Note: These are for Void Linux use ONLY.
|
||||||
|
@ -88,11 +99,15 @@ do_configure() {
|
||||||
# TODO: use_system_sqlite (http://crbug.com/22208).
|
# TODO: use_system_sqlite (http://crbug.com/22208).
|
||||||
#
|
#
|
||||||
# XXX xtraeme: broken currently
|
# XXX xtraeme: broken currently
|
||||||
|
# -Duse_system_v8=1
|
||||||
# -Duse_system_icu=1
|
# -Duse_system_icu=1
|
||||||
# -Duse_system_protobuf=1
|
# -Duse_system_protobuf=1
|
||||||
|
# -Duse_system_opus=1
|
||||||
|
# -Duse_system_zlib=1
|
||||||
conf+="
|
conf+="
|
||||||
|
-Dclang=1
|
||||||
|
-Dclang_use_chrome_plugins=0
|
||||||
-Dpython_ver=2.7
|
-Dpython_ver=2.7
|
||||||
-Duse_system_v8=1
|
|
||||||
-Duse_system_bzip2=1
|
-Duse_system_bzip2=1
|
||||||
-Duse_system_flac=1
|
-Duse_system_flac=1
|
||||||
-Duse_system_harfbuzz=1
|
-Duse_system_harfbuzz=1
|
||||||
|
@ -105,17 +120,16 @@ do_configure() {
|
||||||
-Duse_system_libwebp=1
|
-Duse_system_libwebp=1
|
||||||
-Duse_system_minizip=1
|
-Duse_system_minizip=1
|
||||||
-Duse_system_nspr=1
|
-Duse_system_nspr=1
|
||||||
-Duse_system_opus=1
|
|
||||||
-Duse_system_re2=1
|
-Duse_system_re2=1
|
||||||
-Duse_system_snappy=1
|
-Duse_system_snappy=1
|
||||||
-Duse_system_speex=1
|
-Duse_system_speex=1
|
||||||
-Duse_system_xdg_utils=1
|
-Duse_system_xdg_utils=1
|
||||||
-Duse_system_zlib=1
|
|
||||||
-Duse_system_yasm=1
|
-Duse_system_yasm=1
|
||||||
-Duse_cups=1
|
-Duse_cups=1
|
||||||
-Dlinux_link_cups=1
|
-Dlinux_link_cups=1
|
||||||
-Duse_pulseaudio=1
|
-Duse_pulseaudio=1
|
||||||
-Dlinux_link_pulseaudio=1
|
-Dlinux_link_pulseaudio=1
|
||||||
|
-Duse_mojo=0
|
||||||
-Duse_gconf=0"
|
-Duse_gconf=0"
|
||||||
|
|
||||||
# TODO: re-enable on vp9 libvpx release (http://crbug.com/174287).
|
# TODO: re-enable on vp9 libvpx release (http://crbug.com/174287).
|
||||||
|
@ -153,20 +167,16 @@ do_configure() {
|
||||||
arm*) arch="arm";;
|
arm*) arch="arm";;
|
||||||
esac
|
esac
|
||||||
conf+=" -Dtarget_arch=${arch}"
|
conf+=" -Dtarget_arch=${arch}"
|
||||||
export AR_host=ar
|
|
||||||
export CC_host=cc
|
|
||||||
export CXX_host=g++
|
|
||||||
export LD_host=ld
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
build/linux/unbundle/replace_gyp_files.py ${conf}
|
build/linux/unbundle/replace_gyp_files.py ${conf}
|
||||||
build/gyp_chromium --depth=. -f make ${conf} -Drelease_extra_cflags="${CFLAGS/-fstack-protector-strong/}"
|
build/gyp_chromium --depth=. ${conf} -Drelease_extra_cflags="${CFLAGS/-fstack-protector-strong/}"
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
export CFLAGS="${CFLAGS/-fstack-protector-strong/}"
|
unset CC CXX
|
||||||
export CXXFLAGS="${CXXFLAGS/-fstack-protector-strong/}"
|
export -n CFLAGS CXXFLAGS
|
||||||
make BUILDTYPE=Release ${makejobs} chrome chrome_sandbox chromedriver
|
ninja -C out/Release ${makejobs} chrome chrome_sandbox chromedriver
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
Loading…
Reference in a new issue