network/chromium: Updated for version 11.0.696.60.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Yucatan Costa 2011-06-26 08:04:46 -04:00 committed by Niels Horn
parent 7c1ab7d3ea
commit f93068ae37
5 changed files with 32 additions and 39 deletions

View file

@ -11,4 +11,4 @@ running the script as:
NO_SSE2=1 ./chromium.SlackBuild NO_SSE2=1 ./chromium.SlackBuild
This requires libevent and gnome-keyring. This requires libevent.

View file

@ -8,6 +8,11 @@
# A special thanks to Niels Horn who helped me fixing some errors on # A special thanks to Niels Horn who helped me fixing some errors on
# the script and for testing it. # the script and for testing it.
# #
# A very special thanks to Gino Bombino (ginolovesyou AT gmail DOT com), who
# contributed with the parameters to disable the need for gnome dependencies
# and PAM, allowing the script to be cleaner and more elegant (no need for a
# a patch to disable PAM).
#
# Copyright 2010 Yucatan "Kenjiro" Costa, Alegrete, RS, Brasil # Copyright 2010 Yucatan "Kenjiro" Costa, Alegrete, RS, Brasil
# All rights reserved. # All rights reserved.
# #
@ -29,7 +34,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=chromium PRGNAM=chromium
VERSION=${VERSION:-9.0.597.107} VERSION=${VERSION:-11.0.696.60}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -61,15 +66,15 @@ else
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
fi fi
set -e # Exit on most errors set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
rm -rf $PRGNAM rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION cd $PRGNAM-$VERSION
chown -R root:root . chown -R root:root .
find . \ find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \ -exec chmod 755 {} \; -o \
@ -77,36 +82,38 @@ find . \
-exec chmod 644 {} \; -exec chmod 644 {} \;
# Configure it before compiling # Configure it before compiling
#
# Change "-Dproprietary_codecs" to "0" if you don't want to use proprietary codecs # Change "-Dproprietary_codecs" to "0" if you don't want to use proprietary codecs
# #
build/gyp_chromium -f make build/all.gyp --depth=. \ build/gyp_chromium --depth=. \
-Dgcc_version=44 \ -Dgcc_version=45 \
-Duse_gconf=0 \
-Duse_gnome_keyring=0 \
-Dlinux_link_gnome_keyring=0 \
-Dremove_webcore_debug_symbols=1 \
-Dremoting=0 \
-Dchromeos=0 \
-Dwerror=0 \
-Dno_strict_aliasing=1 \ -Dno_strict_aliasing=1 \
-Dwerror= \ -Dwerror= \
-Dlinux_sandbox_path=/usr/lib${LIBDIRSUFFIX}/chromium/chromium-sandbox \ -Dlinux_sandbox_path=/usr/lib${LIBDIRSUFFIX}/chromium/chrome_sandbox \
-Dlinux_strip_binary=1 \ -Dlinux_strip_binary=1 \
-Dffmpeg_branding=Chrome \
-Dproprietary_codecs=1 \ -Dproprietary_codecs=1 \
-Duse_system_libjpeg=1 \ -Duse_system_libjpeg=1 \
-Duse_system_libxslt=0 \ -Duse_system_libxslt=1 \
-Duse_system_libxml=0 \ -Duse_system_libxml=1 \
-Duse_system_bzip2=1 \ -Duse_system_bzip2=1 \
-Duse_system_zlib=1 \ -Duse_system_zlib=1 \
-Duse_system_libpng=1 \ -Duse_system_libpng=0 \
-Duse_system_ffmpeg=0 \
-Duse_system_yasm=1 \ -Duse_system_yasm=1 \
-Duse_system_libevent=1 \ -Duse_system_libevent=1 \
-Ddisable_sse2=${NO_SSE2:-0} \ -Ddisable_sse2=${NO_SSE2:-0} \
-Dffmpeg_branding=Chrome \
-Duse_system_ffmpeg=0 \
-Duse_system_ssl=0 -Duse_system_ssl=0
# Compiling... # Compiling...
# ATTENTION ==> the "-fno-ipa-cp" flag is only needed if you intend to build chromium
# on slackware(64)-current (or if you have gcc-4.5.x installed. On slackware(64)-13.1
# it is not needed
#
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS -fno-ipa-cp" \ CXXFLAGS="$SLKCFLAGS -fno-ipa-cp" \
make chrome chrome_sandbox BUILDTYPE=Release || exit 1 make chrome chrome_sandbox BUILDTYPE=Release || exit 1

View file

@ -1,9 +1,8 @@
[Desktop Entry] [Desktop Entry]
Encoding=UTF-8
Exec=/usr/bin/chrome --enable-plugins %U Exec=/usr/bin/chrome --enable-plugins %U
Icon=/usr/share/pixmaps/chromium.png Icon=/usr/share/pixmaps/chromium.png
Type=Application Type=Application
Categories=Application;Network; Categories=Network;
Name=Chromium Name=Chromium
GenericName=Web Browser GenericName=Web Browser
GenericName[af]=Web Blaaier GenericName[af]=Web Blaaier
@ -72,5 +71,5 @@ GenericName[xh]=Umkhangeli zincwadi we Web
GenericName[zh_CN]= GenericName[zh_CN]=
GenericName[zh_TW]= GenericName[zh_TW]=
GenericName[zu]=Umcingi we-Web GenericName[zu]=Umcingi we-Web
MimeType=text/html MimeType=text/html;
X-KDE-StartupNotify=true X-KDE-StartupNotify=true

View file

@ -1,10 +1,10 @@
PRGNAM="chromium" PRGNAM="chromium"
VERSION="9.0.597.107" VERSION="11.0.696.60"
HOMEPAGE="http://www.chromium.org/" HOMEPAGE="http://www.chromium.org/"
DOWNLOAD="http://build.chromium.org/official/chromium-9.0.597.107.tar.bz2" DOWNLOAD="http://build.chromium.org/buildbot/official/chromium-11.0.696.60.tar.bz2"
MD5SUM="4541f2b84df581618262efe158901b2f" MD5SUM="1be655872e8a062d2532b977b333cac3"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
MAINTAINER="Yucatan Costa" MAINTAINER="Yucatan Costa"
EMAIL="jedi.kenjiro@gmail.com" EMAIL="jedi.kenjiro@gmail.com"
APPROVED="Niels Horn" APPROVED="dsomero"

View file

@ -1,13 +0,0 @@
Index: build/common.gypi
===================================================================
--- build/common.gypi
+++ build/common.gypi
@@ -124,7 +124,7 @@
'use_third_party_translations%': 0,
# Remoting compilation is enabled by default. Set to 0 to disable.
- 'remoting%': 1,
+ 'remoting%': 0,
# If this is set, the clang plugins used on the buildbot will be used.
# Run tools/clang/scripts/update.sh to make sure they are compiled.