Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xiaowu Zhang
slapos
Commits
0c52bd57
Commit
0c52bd57
authored
Sep 12, 2011
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add ongoing work to firefox and chromium
parent
8c2a12fc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
110 additions
and
80 deletions
+110
-80
component/chromium/buildout.cfg
component/chromium/buildout.cfg
+12
-3
component/firefox/buildout.cfg
component/firefox/buildout.cfg
+98
-77
No files found.
component/chromium/buildout.cfg
View file @
0c52bd57
...
...
@@ -5,14 +5,23 @@ parts =
[chromium]
recipe = slapos.recipe.build
slapos_promise
e
=
slapos_promise =
directory:bin
#chromium zip files for linux seem to be corrupted : rights are not correctly
#set (+x) when unzipping using python, but it works when doing "unzip chromium.zip"
#AND it works when unzipping any other archive with python.
#Conclusion : Google, please, learn how to make zip files.
x86 = http://commondatastorage.googleapis.com/chromium-browser-continuous/Linux/98589/chrome-linux.zip 8ba6c022849b2a882b6e65163c147eb9
x86-64 = http://commondatastorage.googleapis.com/chromium-browser-continuous/Linux_x64/98589/chrome-linux.zip 7d2c81295ba3a25b0d1d22eb6162e481
x86-64 = http://build.chromium.org/f/chromium/snapshots/Linux_x64/100161/chrome-linux.zip 95b8f49090ff4390f517bfaa4a7f77c1
#mac-x86-64 = http://commondatastorage.googleapis.com/chromium-browser-continuous/Mac/100142/chrome-mac.zip cb3a76b8a1a93be94df2f500fb621131
script =
#If part directory already exist, will just throw an error.
if not self.options.get('url'): self.options['url'], self.options['md5sum'] = self.options[guessPlatform()].split(' ')
extract_dir = self.extract(self.download(self.options['url'], self.options.get('md5sum')))
workdir = guessworkdir(extract_dir)
self.copyTree(workdir, "%(location)s")
os.chmod('%(location)s', '755')
\ No newline at end of file
import pdb; pdb.set_trace()
# requirements : libXrender1 libxss1 x11-common
\ No newline at end of file
component/firefox/buildout.cfg
View file @
0c52bd57
[buildout]
extends =
../glib/buildout.cfg
../bison/buildout.cfg
../gtk-2/buildout.cfg
parts =
firefox
#[firefox]
#recipe = slapos.recipe.build
#slapos_promise =
# file:firefox
# file:firefox-bin
#
#x86 = http://releases.mozilla.org/pub/mozilla.org/firefox/releases/6.0.2/linux-i686/en-US/firefox-6.0.2.tar.bz2 d3334d1c4f7c94d0ec2b2d76f6d720d0
#x86-64 = http://releases.mozilla.org/pub/mozilla.org/firefox/releases/6.0.2/linux-x86_64/en-US/firefox-6.0.2.tar.bz2 13df923c0fbc40da0af4d3147da8ec2f
#script =
# if not self.options.get('url'): self.options['url'], self.options['md5sum'] = self.options[guessPlatform()].split(' ')
# extract_dir = self.extract(self.download(self.options['url'], self.options.get('md5sum')))
# workdir = guessworkdir(extract_dir)
# self.copyTree(workdir, "%(location)s")
[firefox]
recipe = slapos.recipe.build
slapos_promise =
directory:bin
recipe = hexagonit.recipe.cmmi
url = ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/6.0.2/source/firefox-6.0.2.source.tar.bz2
configure-options =
--enable-application=browser
--disable-webm
--disable-ogg
--disable-wave
--disable-pango
--disable-gnomevfs
--disable-gconf
--disable-libnotify
--disable-gnomeui
--disable-dbus
--disable-crypto
--disable-jsd
--disable-dbm
--disable-accessibility
--disable-printing
--disable-xpcom-fastload
--disable-permissions
--disable-negotiateauth
--disable-xtf
--disable-pref-extensions
--disable-angle
--disable-crashreporter
--disable-libjpeg-turbo
--disable-mathml
--disable-smil
--disable-installer
--disable-updater
--disable-xpconnect-idispatch
--disable-activex
--disable-tests
--disable-parental-controls
--disable-feeds
--disable-zipwriter
--disable-libconic
--disable-optimize
--disable-logging
--disable-elf-hack
--disable-xul
--disable-profilelocking
--disable-rdf
--disable-necko-disk-cache
--disable-necko-wifi
--disable-cookies
--disable-ctypes
environment =
PKG_CONFIG_PATH=${gtk-2:location}/lib/pkgconfig
x86 = http://releases.mozilla.org/pub/mozilla.org/firefox/releases/6.0.2/linux-i686/en-US/firefox-6.0.2.tar.bz2 d3334d1c4f7c94d0ec2b2d76f6d720d0
x86-64 = http://releases.mozilla.org/pub/mozilla.org/firefox/releases/6.0.2/linux-x86_64/en-US/firefox-6.0.2.tar.bz2 13df923c0fbc40da0af4d3147da8ec2f
script =
if not self.options.get('url'): self.options['url'], self.options['md5sum'] = self.options[guessPlatform()].split(' ')
extract_dir = self.extract(self.download(self.options['url'], self.options.get('md5sum')))
workdir = guessworkdir(extract_dir)
self.copyTree(workdir, "%(location)s")
# --without-libIDL
# --with-libIDL-prefix=PFX
# --with-libIDL-exec-prefix=PFX
# --disable-libIDLtest
# --with-glib-prefix=PFX
# --with-glib-exec-prefix=PFX
# --disable-glibtest
#[firefox]
#recipe = hexagonit.recipe.cmmi
#url = ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/3.6.9/source/firefox-3.6.9.source.tar.bz2
#configure-options =
# --enable-application=browser
#configure-options =
# --disable-webm
# --disable-ogg
# --disable-wave
# --disable-libjpeg-turbo
# --disable-necko-wifi
# --disable-pango
#
#[libnotify]
#recipe = hexagonit.recipe.cmmi
#url = http://www.galago-project.org/files/releases/source/libnotify/libnotify-0.4.5.tar.bz2
#
#[GTK]
#recipe = hexagonit.recipe.cmmi
#url = http://ftp.gnome.org/pub/gnome/sources/gtk+/2.20/gtk+-2.20.0.tar.bz2
#
#[cairo]
#recipe = hexagonit.recipe.cmmi
#url = http://cairographics.org/releases/cairo-1.10.2.tar.gz
#
#[pango]
#recipe = hexagonit.recipe.cmmi
#url = http://ftp.gnome.org/pub/gnome/sources/pango/1.20/pango-1.20.0.tar.bz2
#
#[libXrender]
#recipe = hexagonit.recipe.cmmi
#url = http://xlibs.freedesktop.org/release/libXrender-0.9.0.tar.bz2
#environment =
# PKG_CONFIG_PATH=${render:location}/lib/pkgconfig
# LD_LIBRARY_PATH=${render:location}/lib
# LD_RUN_PATH=${render:location}/lib
# PATH=${pkgconfig:location}/bin:%(PATH)s
#
#[render]
#recipe = hexagonit.recipe.cmmi
#url = http://xlibs.freedesktop.org/release/renderext-0.9.tar.bz2
#
#[atk]
#recipe = hexagonit.recipe.cmmi
#url = http://ftp.acc.umu.se/pub/gnome/sources/atk/2.0/atk-2.0.0.tar.bz2
#
#[dbus-1]
#recipe = hexagonit.recipe.cmmi
#url = http://dbus.freedesktop.org/releases/dbus/dbus-1.4.10.tar.gz
#
#[dbus-glib]
#recipe = hexagonit.recipe.cmmi
#url = http://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-0.90.tar.gz
#
#[libIDL]
#recipe = hexagonit.recipe.cmmi
#url = http://ftp.gnome.org/pub/gnome/sources/libIDL/0.8/libIDL-0.8.0.tar.bz2
#environment =
# PKG_CONFIG_PATH=${bison:location}/lib/pkgconfig:${glib:location}/lib/pkgconfig
# LD_LIBRARY_PATH=${bison:location}/lib:${glib:location}/lib
# LD_RUN_PATH=${bison:location}/lib:${glib:location}/lib
# PATH=${pkgconfig:location}/bin:${bison:location}/bin:%(PATH)s
#
#[bison]
#recipe = hexagonit.recipe.cmmi
#url = http://ftp.gnu.org/gnu/bison/bison-2.3.tar.bz2
#perl
#libXt-devel
#freetype
#fontconfig
#pkgconfig
#yasm
#autoconf
[dbus-1]
recipe = hexagonit.recipe.cmmi
url = http://dbus.freedesktop.org/releases/dbus/dbus-1.4.10.tar.gz
[dbus-glib]
recipe = hexagonit.recipe.cmmi
url = http://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-0.90.tar.gz
[libIDL]
recipe = hexagonit.recipe.cmmi
url = http://ftp.gnome.org/pub/gnome/sources/libIDL/0.8/libIDL-0.8.0.tar.bz2
environment =
PKG_CONFIG_PATH=${bison:location}/lib/pkgconfig:${glib:location}/lib/pkgconfig
LD_LIBRARY_PATH=${bison:location}/lib:${glib:location}/lib
LD_RUN_PATH=${bison:location}/lib:${glib:location}/lib
PATH=${pkgconfig:location}/bin:${bison:location}/bin:%(PATH)s
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment