From b409944faddbfa5dc4e318ef14942f7d9847397a Mon Sep 17 00:00:00 2001 From: ohfp <1813007-ohfp@users.noreply.gitlab.com> Date: Sat, 28 Mar 2020 23:15:41 +0100 Subject: de-Archify some aspects of builds and -scripts; allow to initiate separate steps manually; first attempt to build tarball on ubuntu 16.04 --- binary_tarball/scripts/3_Configure_Source_Code.sh | 90 ++++++++++++++++++++++- 1 file changed, 86 insertions(+), 4 deletions(-) (limited to 'binary_tarball/scripts/3_Configure_Source_Code.sh') diff --git a/binary_tarball/scripts/3_Configure_Source_Code.sh b/binary_tarball/scripts/3_Configure_Source_Code.sh index 46b7e2c..4c26b5d 100755 --- a/binary_tarball/scripts/3_Configure_Source_Code.sh +++ b/binary_tarball/scripts/3_Configure_Source_Code.sh @@ -3,9 +3,11 @@ printf "\n\n------------------------------ FINAL PREBUILD CONFIGURATION -------- # Setup Script Variables SOURCE_CODE_FOLDER=$1; +CI_PROJECT_DIR=${CI_PROJECT_DIR:-$(realpath $(dirname $0)/../../)} _COMMON_REPO='https://gitlab.com/librewolf-community/browser/common.git'; -_POCKET_SED_STRING="s/'pocket'/#'pocket'/g"; -_POCKET_FILE=$SOURCE_CODE_FOLDER/browser/components/moz.build; +_MOZBUILD=$SOURCE_CODE_FOLDER/../mozbuild + +mkdir -p ${_MOZBUILD} # Copy Source Code Changes to Source Code printf "\nCopying branding and source code changes to firefox source code\n"; @@ -13,7 +15,87 @@ git clone $_COMMON_REPO common; cp -r common/source_files/* $SOURCE_CODE_FOLDER/; rm -rf common; -# Disables Pocket +cd $SOURCE_CODE_FOLDER + +cat >../mozconfig <>../mozconfig <