Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download AArch64 version of xulrunner #95

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ MAC_RUNTIME_PATH="$DIR/xulrunner/Firefox.app"
WIN32_RUNTIME_PATH="$DIR/xulrunner/firefox-win32"
LINUX_i686_RUNTIME_PATH="$DIR/xulrunner/firefox-i686"
LINUX_x86_64_RUNTIME_PATH="$DIR/xulrunner/firefox-x86_64"
LINUX_aarch64_RUNTIME_PATH="$DIR/xulrunner/firefox-aarch64"

PDF_TOOLS_VERSION="0.0.5"
PDF_TOOLS_URL="https://zotero-download.s3.amazonaws.com/pdftools/pdftools-$PDF_TOOLS_VERSION.tar.gz"
Expand Down
19 changes: 19 additions & 0 deletions fetch_xulrunner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,25 @@ if [ $BUILD_LINUX == 1 ]; then
cd ..

rm "firefox-$GECKO_VERSION.tar.bz2"

curl -OL "https://answers.launchpad.net/~mozillateam/+archive/ubuntu/ppa/+build/17514808/+files/firefox-esr_60.9.0esr+build1-0ubuntu0.14.04.1_arm64.deb"
rm -rf firefox-aarch64{,-tmp}
mkdir firefox-aarch64-tmp
cd firefox-aarch64-tmp
ar x ../firefox-esr_60.9.0esr+build1-0ubuntu0.14.04.1_arm64.deb
tar xvf data.tar.*
mv usr/lib/firefox-esr ../firefox-aarch64

cd ../firefox-aarch64
mv firefox-esr firefox
rm firefox.sh
rm -rf distribution
modify_omni linux64
extract_devtools
cd ..

rm firefox-esr_60.9.0esr+build1-0ubuntu0.14.04.1_arm64.deb
rm -rf firefox-aarch64-tmp
fi

echo Done