diff options
author | Yucatan Costa <jedi.kenjiro@gmail.com> | 2011-03-06 10:09:19 -0300 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-03-06 10:09:19 -0300 |
commit | dbf119ec11d3acf73b95d2cf421cf7b0ec8a2ef9 (patch) | |
tree | fd33b3e55f3dcf9cd6253379a62c341246e0335c /network | |
parent | 67d04ea4e22e66df0dfd36a0ecf6ad2c2a929e0c (diff) | |
download | slackbuilds-dbf119ec11d3acf73b95d2cf421cf7b0ec8a2ef9.tar.gz |
network/chromium: Updated for version 9.0.597.107.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r-- | network/chromium/README | 14 | ||||
-rw-r--r-- | network/chromium/chromium.SlackBuild | 13 | ||||
-rw-r--r-- | network/chromium/chromium.info | 8 | ||||
-rw-r--r-- | network/chromium/chromium.patch | 13 | ||||
-rw-r--r-- | network/chromium/doinst.sh | 2 | ||||
-rw-r--r-- | network/chromium/slack-desc | 2 |
6 files changed, 41 insertions, 11 deletions
diff --git a/network/chromium/README b/network/chromium/README index 90aca91c37..1cf9328f2c 100644 --- a/network/chromium/README +++ b/network/chromium/README @@ -1,4 +1,14 @@ -Google Chromium is a browser that combines a minimal design with sophisticated -technology to make the web faster, safer, and easier. +Google Chromium is a browser that combines a minimal design with +sophisticated technology to make the web faster, safer, and easier. + +Note: +Some processors don't have the SSE2 flag. Check it with: + + cat /proc/cpuinfo | grep -i sse2 + +In this case you should disable sse2 when compiling chromium. Do this by +running the script as: + + NO_SSE2=1 ./chromium.SlackBuild Dependencies: yasm, libevent, gnome-keyring diff --git a/network/chromium/chromium.SlackBuild b/network/chromium/chromium.SlackBuild index fe3b7f93e2..286e40dae2 100644 --- a/network/chromium/chromium.SlackBuild +++ b/network/chromium/chromium.SlackBuild @@ -29,10 +29,11 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=chromium -VERSION=${VERSION:-8.0.558.0} +VERSION=${VERSION:-9.0.597.107} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; @@ -68,7 +69,7 @@ cd $TMP rm -rf $PRGNAM tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION -chown -R root:root . +chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ @@ -98,12 +99,16 @@ build/gyp_chromium -f make build/all.gyp --depth=. \ -Duse_system_ffmpeg=0 \ -Duse_system_yasm=1 \ -Duse_system_libevent=1 \ + -Ddisable_sse2=${NO_SSE2:-0} \ -Duse_system_ssl=0 # 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" \ -CXXFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS -fno-ipa-cp" \ make chrome chrome_sandbox BUILDTYPE=Release || exit 1 # Creating the package diff --git a/network/chromium/chromium.info b/network/chromium/chromium.info index 3a1a59ec7b..d09b3f185f 100644 --- a/network/chromium/chromium.info +++ b/network/chromium/chromium.info @@ -1,10 +1,10 @@ PRGNAM="chromium" -VERSION="8.0.558.0" +VERSION="9.0.597.107" HOMEPAGE="http://www.chromium.org/" -DOWNLOAD="http://build.chromium.org/buildbot/official/chromium-8.0.558.0.tar.bz2" -MD5SUM="b291224fcfba5e800660628a3bb1320f" +DOWNLOAD="http://build.chromium.org/official/chromium-9.0.597.107.tar.bz2" +MD5SUM="4541f2b84df581618262efe158901b2f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Yucatan Costa" EMAIL="jedi.kenjiro@gmail.com" -APPROVED="Erik Hanson" +APPROVED="Niels Horn" diff --git a/network/chromium/chromium.patch b/network/chromium/chromium.patch new file mode 100644 index 0000000000..2d0e5b2d35 --- /dev/null +++ b/network/chromium/chromium.patch @@ -0,0 +1,13 @@ +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. diff --git a/network/chromium/doinst.sh b/network/chromium/doinst.sh index 5fb28930db..f8f852bc2b 100644 --- a/network/chromium/doinst.sh +++ b/network/chromium/doinst.sh @@ -1,3 +1,5 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi + + diff --git a/network/chromium/slack-desc b/network/chromium/slack-desc index 296f7c031e..c796030116 100644 --- a/network/chromium/slack-desc +++ b/network/chromium/slack-desc @@ -5,7 +5,7 @@ # make exactly 11 lines for the formatting to be correct. It's also # customary to leave one space after the ':'. - |-----handy-ruler----------------------------------------------------| + |-----handy-ruler------------------------------------------------------| chromium: Google Chromium (Open Source Web Browser) chromium: chromium: Google Chromium is a browser that combines a minimal design with |