mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
network/chromium: Updated for version 11.0.696.60.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
7c1ab7d3ea
commit
f93068ae37
5 changed files with 32 additions and 39 deletions
|
@ -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.
|
||||||
|
|
|
@ -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,12 +66,12 @@ 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 .
|
||||||
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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.
|
|
Loading…
Reference in a new issue