Skip to content

Commit 97c773d

Browse files
committed
Go ahead and make xulrunner-win32 build scripts
0 parents  commit 97c773d

File tree

5 files changed

+68
-0
lines changed

5 files changed

+68
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
uxp
2+
build

LICENSE

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
2+
Copyright (C) 2019 Ronsor Labs.
3+
4+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
5+
and associated documentation files (the "Software"), to deal in the Software without restriction,
6+
including without limitation the rights to use, copy, modify, merge, publish, distribute,
7+
sublicense, and/or sell copies of the Software, and to permit persons to whom the Software
8+
is furnished to do so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in all
11+
copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
14+
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
15+
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
16+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
17+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
18+
OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Makefile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
UXP_SRC := uxp/uxp-2019-06-12.tgz
2+
MOZCONFIG_TXT := mozconfig.txt
3+
4+
all: build/xulrunner.zip
5+
6+
build:
7+
mkdir -p build
8+
9+
build/xulrunner.zip: build build/UXP-master/obj-i686-pc-mingw32/dist/bin
10+
(cd build/UXP-master/obj-i686-pc-mingw32/dist/bin; zip -9 -r $(abspath $@) .)
11+
12+
build/UXP-master: build
13+
cd build; tar xzf $(UXP_SRC)
14+
15+
build/UXP-master/.mozconfig: $(MOZCONFIG_TXT)
16+
cp $(MOZCONFIG_TXT) $@
17+
18+
build/UXP-master/obj-i686-pc-mingw32/dist/bin: build/UXP-master build/UXP-master/.mozconfig
19+
cd build/UXP-master; ./mach build

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# XULRunner for Windows
2+
3+
These scripts automate the process of building XULRunner for Windows.
4+
5+
You must use Visual Studio 2015 to build this.
6+
7+
For more information see [this page](https://developer.palemoon.org/Developer_Guide:Build_Instructions/Pale_Moon/Windows).
8+
9+
You must run `make` from the MozillaBuild shell.
10+

mozconfig.txt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
ac_add_options --enable-application=xulrunner
2+
3+
ac_add_options --enable-optimize="-O2"
4+
ac_add_options --enable-jemalloc
5+
ac_add_options --enable-strip
6+
ac_add_options --with-pthreads
7+
8+
9+
ac_add_options --disable-tests
10+
11+
ac_add_options --disable-parental-controls
12+
ac_add_options --disable-accessibility
13+
14+
ac_add_options --disable-dbus
15+
ac_add_options --disable-gamepad
16+
ac_add_options --disable-necko-wifi
17+
ac_add_options --disable-updater
18+
ac_add_options --disable-gconf
19+
ac_add_options --disable-safe-browsing

0 commit comments

Comments
 (0)