diff options
author | Thomas Groman <tgroman@nuegia.net> | 2020-04-20 20:49:37 -0700 |
---|---|---|
committer | Thomas Groman <tgroman@nuegia.net> | 2020-04-20 20:49:37 -0700 |
commit | f9cab004186edb425a9b88ad649726605080a17c (patch) | |
tree | e2dae51d3144e83d097a12e7a1499e3ea93f90be /webbrowser/doc | |
parent | f428692de8b59ab89a66502c079e1823dfda8aeb (diff) | |
download | webbrowser-f9cab004186edb425a9b88ad649726605080a17c.tar webbrowser-f9cab004186edb425a9b88ad649726605080a17c.tar.gz webbrowser-f9cab004186edb425a9b88ad649726605080a17c.tar.lz webbrowser-f9cab004186edb425a9b88ad649726605080a17c.tar.xz webbrowser-f9cab004186edb425a9b88ad649726605080a17c.zip |
move browser to webbrowser/
Diffstat (limited to 'webbrowser/doc')
-rw-r--r-- | webbrowser/doc/BUILD | 68 | ||||
-rw-r--r-- | webbrowser/doc/mozconfig.example | 35 |
2 files changed, 103 insertions, 0 deletions
diff --git a/webbrowser/doc/BUILD b/webbrowser/doc/BUILD new file mode 100644 index 0000000..7b5eba8 --- /dev/null +++ b/webbrowser/doc/BUILD @@ -0,0 +1,68 @@ +1. Install build dependencies + +Python 2.7.X +Autoconf 2.13 +Yasm 1.2.0 or newer +Perl +Gnu C Compiler version 4.9.3 or newer (9.X.X reccomended) + +2. Install runtime dependencies + +* Note that to make your life easier, check DEPEND.yourdistrobution for +commands you can copypaste into your terminal instead of looking of +looking up package names by hand + +libXt +zip +freetype +fontconfig +glibc +libffi +dbus +dbus-glib +gtk+2 +alsa-lib +jack2 +libvpx (1.7.X reccomended. 1.8.X is untested) +ffmpeg + +3. clone and checkout code repositories + +clone the Universal XUL Platform codebase somewhere + +$ git clone https://github.com/MoonchildProductions/UXP.git + +checkout the supported Web Browser supported PM_RELEASE snapshot. +You can check what is the latest supported release by looking at +webbrowser/config/version.txt . In this example we will use 2.8.1 + +$ cd UXP +$ git checkout PM28.8.2_Release + +clone the web browser application repo into the 'application' folder + +$ cd application +$ git clone https://git.nuegia.net/webbrowser.git + +copy the example Mach build system config into the root of UXP + +$ cp webbrowser/doc/mozconfig.example ../.mozconfig + +Optionally adjust .mozconfig to better fit your needs +then go to the root of UXP + +$ cd .. + +4. compile, test, and package Web Browser + +./mach build + +if this completes successfully you can test your build before packaging it + +./mach run + +if all is well package it + +./mach package + +and then install the resulting distrobution tarball on your system. diff --git a/webbrowser/doc/mozconfig.example b/webbrowser/doc/mozconfig.example new file mode 100644 index 0000000..360921a --- /dev/null +++ b/webbrowser/doc/mozconfig.example @@ -0,0 +1,35 @@ +mk_add_options AUTOCLOBBER=1 +mk_add_options MOZ_OBJDIR=/home/$USER/build/wbbuild/ +ac_add_options --enable-application=webbrowser +ac_add_options --x-libraries=/usr/lib + +# Compiler Optimizations +ac_add_options --enable-optimize="-O2 -pipe" +ac_add_options --enable-ccache + +# Libraries +ac_add_options --enable-default-toolkit=cairo-gtk2 +ac_add_options --enable-jemalloc +ac_add_options --enable-strip +ac_add_options --with-pthreads +#ac_add_options --with-system-libevent +ac_add_options --enable-hardware-aec-ns +ac_add_options --with-system-libvpx +ac_add_options --enable-bundled-fonts + +# Features +ac_add_options --disable-tests +ac_add_options --disable-eme +ac_add_options --disable-parental-controls +ac_add_options --disable-accessibility +ac_add_options --disable-gamepad +ac_add_options --disable-necko-wifi +ac_add_options --disable-updater +ac_add_options --disable-sync +ac_add_options --disable-webrtc +ac_add_options --disable-mozril-geoloc + +# Audio Subsystems +ac_add_options --disable-pulseaudio +ac_add_options --enable-alsa +ac_add_options --enable-jack |