Giter VIP home page Giter VIP logo

xulrunner-stub's Introduction

Standalone xulrunner-stub project

This project continues to maintain xulrunner-stub sources extracted from mozilla's repository and makes it built against Firefox SDK. Background: mozilla had removed xulrunner sources from their repository (issue).

Build for Win32

  1. Install MS Visual Studio 2013 (Express for Desktop or Community Editions are OK).

  2. Clone this project.

  3. Download Firefox SDK. e.g. http://ftp.mozilla.org/pub/firefox/nightly/latest-mozilla-aurora/firefox-47.0a2.en-US.win32.sdk.zip . Unzip it in the project directory, and make sure the directory name is firefox-sdk.

  4. Open msvc/xulrunner-stub.sln with Visual Studio, and build in release mode (debug mode doesn't work currently). If all is OK, you'll get msvc/Release/xulrunner-stub.exe.

Run your xulrunner app

Layout your xulrunner app like this:

<your_app_dir>
  xulrunner/            <- copy firefox's files here.
  xulrunner-stub.exe
  mozglue.dll           <- copy firefox's mozglue.dll here.
  application.ini
  ...

Notes

  • You may use firefox acting as xulrunner.
  • I'm not able to remove xulrunner-stub.exe's dependency on mozglue.dll so you have to place the latter under the same directory of the former.

Build for other platforms

Patches are welcome!

Source files' origin

  • xulrunner/stub/nsXULStub.cpp: The main source file, was removed from mozilla's repository.
  • xpcom/build/nsXPCOMPrivate.h: Missing from firefox sdk, so copied to this project.
  • toolkit/xre/nsWindowsWMain.cpp: Ditto.

xulrunner-stub's People

Contributors

duanyao avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.