[Lunar-commits] <moonbase> chrome-linux: Added the binary versions of chrome

Terry Chan tchan at lunar-linux.org
Tue Jan 5 16:52:34 CET 2010


commit b3332f8bc422d80e81b6add0da630095018c4487
Author: Terry Chan <tchan at lunar-linux.org>
Date:   Tue Jan 5 09:52:34 2010 -0600

    chrome-linux: Added the binary versions of chrome
---
 zbeta/chrome-linux/BUILD          |   33 +++++++++++++++++++++++++++++++++
 zbeta/chrome-linux/DEPENDS        |   14 ++++++++++++++
 zbeta/chrome-linux/DETAILS        |   19 +++++++++++++++++++
 zbeta/chrome-linux/DETAILS.x86_64 |   18 ++++++++++++++++++
 zbeta/chrome-linux/POST_INSTALL   |    9 +++++++++
 zbeta/chrome-linux/PRE_BUILD      |    3 +++
 6 files changed, 96 insertions(+), 0 deletions(-)

diff --git a/zbeta/chrome-linux/BUILD b/zbeta/chrome-linux/BUILD
new file mode 100644
index 0000000..7d27713
--- /dev/null
+++ b/zbeta/chrome-linux/BUILD
@@ -0,0 +1,33 @@
+(
+
+  prepare_install   &&
+  message "${MESSAGE_COLOR}Installing Chrome ${VERSION}...${DEFAULT_COLOR}"  &&
+  cd /opt/lunar &&
+  unpack $SOURCE &&
+
+  ln -sf /opt/lunar/plugins /opt/lunar/${MODULE}/plugins &&
+  if [ ! -h /usr/bin/chrome-linux ]; then
+    ln -snf /opt/lunar/chrome-linux/chrome-wrapper /usr/bin/chrome-linux
+  fi
+
+  # Adjust permission from the zip file
+  cd /opt/lunar/${MODULE} &&
+  chmod 755 chrome chrome_sandbox chrome-wrapper libffmpegsumo.so xdg-settings &&
+  chmod -R 644 chrome.1 locales resources product_logo_48.png &&
+
+  # Create the required symlinks
+  ln -sf /usr/lib/nspr/libnspr4.so /opt/lunar/${MODULE}/libnspr4.so.0d  &&
+  ln -sf /usr/lib/nspr/libplc4.so /opt/lunar/${MODULE}/libplc4.so.0d    &&
+  ln -sf /usr/lib/nspr/libplds4.so /opt/lunar/${MODULE}/libplds4.so.0d  &&
+  ln -sf /usr/lib/libnss3.so /opt/lunar/${MODULE}/libnss3.so.1d         &&
+  ln -sf /usr/lib/libnssutil3.so /opt/lunar/${MODULE}/libnssutil3.so.1d &&
+  ln -sf /usr/lib/libsmime3.so /opt/lunar/${MODULE}/libsmime3.so.1d     &&
+  ln -sf /usr/lib/libssl3.so /opt/lunar/${MODULE}/libssl3.so.1d         &&
+
+  # copy the man page
+  cp -a chrome.1 /usr/share/man/man1/chrome-linux.1 &&
+
+  # install the chrome icon
+  cp -a product_logo_48.png /usr/share/pixmaps/chrome-linux.png
+
+) > $C_FIFO 2>&1
diff --git a/zbeta/chrome-linux/DEPENDS b/zbeta/chrome-linux/DEPENDS
new file mode 100644
index 0000000..2e33e11
--- /dev/null
+++ b/zbeta/chrome-linux/DEPENDS
@@ -0,0 +1,14 @@
+depends alsa-lib
+depends bzip2
+depends ffmpeg
+depends GConf
+depends gperf
+depends gtk+-2
+depends jpeg
+depends libpng
+depends libxml2
+depends libxslt
+depends nss
+depends pango
+depends unzip
+depends zlib
diff --git a/zbeta/chrome-linux/DETAILS b/zbeta/chrome-linux/DETAILS
new file mode 100644
index 0000000..7fa7e54
--- /dev/null
+++ b/zbeta/chrome-linux/DETAILS
@@ -0,0 +1,19 @@
+          MODULE=chrome-linux
+         VERSION=35526
+          SOURCE=${MODULE}.zip
+      SOURCE_URL=http://build.chromium.org/buildbot/snapshots/chromium-rel-linux/${VERSION}
+      SOURCE_VFY=sha1:b552bf0baf47dd74412f251fa53d45240f2effb1
+        WEB_SITE=http://build.chromium.org/buildbot/waterfall/console
+         ENTERED=20100105
+         UPDATED=20100105
+           SHORT="Alpha snapshot of Google Chrome web browser, binary"
+cat << EOF
+Chromium is an open-source browser project that aims to build a safer, faster,
+and more stable way for all users to experience the web.
+
+These are snapshot, build-bot, pre-compiled binaries of chrome for Linux.
+Snapshots are supposedly "mostly working" and are chosen by the Lunar Devs with
+care.  32bit linux, green in "release full and linux" columns. 64bit linux, same
+plus "memory" column.
+
+EOF
diff --git a/zbeta/chrome-linux/DETAILS.x86_64 b/zbeta/chrome-linux/DETAILS.x86_64
new file mode 100644
index 0000000..d75338c
--- /dev/null
+++ b/zbeta/chrome-linux/DETAILS.x86_64
@@ -0,0 +1,18 @@
+          MODULE=chrome-linux
+         VERSION=35526
+          SOURCE=${MODULE}.zip
+      SOURCE_URL=http://build.chromium.org/buildbot/snapshots/chromium-rel-linux-64/${VERSION}
+      SOURCE_VFY=sha1:f7271efc192edb9e5012b4f22651343113fb711e
+        WEB_SITE=http://build.chromium.org/buildbot/waterfall/console
+         ENTERED=20100105
+         UPDATED=20100105
+           SHORT="Alpha snapshot of Google Chrome web browser, binary"
+cat << EOF
+Chromium is an open-source browser project that aims to build a safer, faster,
+and more stable way for all users to experience the web.
+
+These are snapshot, build-bot, pre-compiled binaries of chrome for Linux.
+Snapshots are supposedly "mostly working" and are chosen by the Lunar Devs with
+care.  32bit linux, green in "release full and linux" columns. 64bit linux, same
+plus "memory" column.
+EOF
diff --git a/zbeta/chrome-linux/POST_INSTALL b/zbeta/chrome-linux/POST_INSTALL
new file mode 100644
index 0000000..0ac6ff1
--- /dev/null
+++ b/zbeta/chrome-linux/POST_INSTALL
@@ -0,0 +1,9 @@
+message ""
+message "Chrome-linux MUST have permission to access /dev/shm!!!!!!!"
+message ""
+message "  The easiest way to do this while as root is:"
+message ""
+message "chmod 777 /dev/shm"
+message ""
+message "Chrome-linux REQUIRES a cpu with SSE2 or it will fail!"
+message ""
diff --git a/zbeta/chrome-linux/PRE_BUILD b/zbeta/chrome-linux/PRE_BUILD
new file mode 100644
index 0000000..7dc7ebe
--- /dev/null
+++ b/zbeta/chrome-linux/PRE_BUILD
@@ -0,0 +1,3 @@
+if [ -d /opt/lunar/chrome-linux ]; then
+  rm -rf /opt/lunar/chrome-linux
+fi


More information about the Lunar-commits mailing list