Skip to content

Commit

Permalink
xulrunner: Version bump to latest 10.0 release:
Browse files Browse the repository at this point in the history
    * The forward button is now hidden until you navigate back
    * Anti-Aliasing for WebGL is now implemented
    * Full Screen APIs allow you to build a web application that runs full screen
    * CSS3 3D-Transforms are now supported
    * New "bdi" element for bi-directional text isolation, along with supporting CSS properties
    * Inspect tool with content highlighting, includes new CSS Style Inspector
    * Added IndexedDB APIs to more closely match the specification
    * Fixed a crash that some users experience when moving bookmarks
  • Loading branch information
Metin Akdere committed Feb 10, 2012
1 parent f6dea05 commit 6c9458f
Show file tree
Hide file tree
Showing 27 changed files with 3,399 additions and 1,700 deletions.
20 changes: 13 additions & 7 deletions programming/misc/xulrunner/actions.py
Expand Up @@ -11,30 +11,36 @@

import os

WorkDir = "mozilla"
WorkDir = "mozilla-release"
NoStrip = ["/usr/include", "/usr/share/idl"]
XulVersion = "2.0"
XulVersion = "10.0"
XulDir = "/usr/lib/%s-%s" % (get.srcNAME(), XulVersion)
ObjDir = "obj-%s-unknown-linux-gnu" % get.ARCH() if get.ARCH() == "x86_64" else "obj-%s-pc-linux-gnu" % get.ARCH()

def setup():
# Write xulrunner version correctly including the minor part
for f in ("xulrunner/installer/Makefile.in", ".mozconfig", "20-xulrunner.conf"):
pisitools.dosed(f, "PSPEC_VERSION", XulVersion)

#Use autoconf-213 which we provide via a hacky pathc to produce configure
shelltools.system("/bin/bash ./autoconf-213/autoconf-2.13 --macro-dir=autoconf-213/m4")
# Mozilla sticks on with autoconf-213, so use autoconf-213 which we provide via a hacky patch to produce configure
shelltools.chmod("autoconf-213/autoconf-2.13", 0755)

# Set job count for make
pisitools.dosed(".mozconfig", "%%JOBS%%", get.makeJOBS())

shelltools.system("/bin/bash ./autoconf-213/autoconf-2.13 --macro-dir=autoconf-213/m4")
shelltools.cd("js/src")
shelltools.system("/bin/bash ../../autoconf-213/autoconf-2.13 --macro-dir=../../autoconf-213/m4")
shelltools.cd("../..")

autotools.configure("--disable-strip --disable-install-strip")
shelltools.makedirs(ObjDir)

def build():
autotools.make()
shelltools.cd(ObjDir)
autotools.make("-f ../client.mk build")

def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
autotools.rawInstall("-f client.mk DESTDIR=%s" % get.installDIR())

executable = ["xpcshell", "xpidl", "xpt_dump", "xpt_link",\
"xulrunner-stub", "mozilla-xremote-client"]
Expand Down

0 comments on commit 6c9458f

Please sign in to comment.