move linux files to top level
parent
5f92a1e3ac
commit
088d2f7727
36
README.md
36
README.md
|
@ -1,28 +1,14 @@
|
||||||
![Logo](https://gitlab.com/librewolf-community/librewolf/raw/master/branding/logo/Logo.svg)
|
This Repository contains all the required material to build the browser on Linux platforms.
|
||||||
|
|
||||||
# LibreWolf: Browse With Freedom
|
### Requirements
|
||||||
[![Download Badge](https://img.shields.io/badge/Download-purple.svg)](https://gitlab.com/librewolf-community/librewolf/releases)
|
* Ubuntu or Linux Mint (Bionic or later)
|
||||||
[![Website Badge](https://img.shields.io/badge/Website-librewolf--community.gitlab.io-blue.svg)](https://LibreWolf-Community.gitlab.io)
|
|
||||||
[![Chat Badge](https://img.shields.io/badge/Chat-Gitter-blue.svg)](https://gitter.im/librewolf-community/librewolf)
|
|
||||||
[![Status Badge](https://img.shields.io/badge/Status-Active_Development-brightgreen.svg)](https://gitlab.com/librewolf-community/librewolf/commits/master)
|
|
||||||
[![Pipelines Badge](https://gitlab.com/librewolf-community/librewolf/badges/master/pipeline.svg)](https://gitlab.com/librewolf-community/librewolf/pipelines)
|
|
||||||
|
|
||||||
This project is an independent fork of Firefox, with the primary goals of privacy security and user freedom. It is the community run successor to [LibreFox](https://github.com/intika/Librefox)
|
|
||||||
|
|
||||||
## [Documentation](https://librewolf-community.gitlab.io/docs)
|
|
||||||
|
|
||||||
https://librewolf-community.gitlab.io/docs
|
|
||||||
|
|
||||||
The docs are built from the [LibreWolf docs repo](https://gitlab.com/librewolf-community/librewolf-docs).
|
|
||||||
|
|
||||||
## [Website](https://librewolf-community.gitlab.io)
|
|
||||||
|
|
||||||
https://librewolf-community.gitlab.io
|
|
||||||
|
|
||||||
The website is built from the [`librewolf-community.gitlab.io` repo](https://gitlab.com/librewolf-community/librewolf-community.gitlab.io). [Hugo](https://gohugo.io) is used to generate the site.
|
|
||||||
|
|
||||||
## Browser Files
|
|
||||||
This folder contains platform specific subfolders which houses the scripts and files required to compile LibreWolf on various platforms such as Linux, Windows, Mac and android.
|
|
||||||
All of the platforms are self explanatory with the exception of common. Common stores files common to all platforms, mainly our custom branding to be applied to the source code.
|
|
||||||
|
|
||||||
|
### Notes
|
||||||
|
* As this script installs files during the build, it is recommended to run this script in a VM or installation dedicated to building.
|
||||||
|
* You will occassionally need to enter your sudo password. Running this script as root has not been tested
|
||||||
|
* This script has been tested with Linux Mint 19.1
|
||||||
|
* The flatpak build is not ready yet.
|
||||||
|
|
||||||
|
### Instructions
|
||||||
|
* Run build.sh inside this folder.
|
||||||
|
* Packages will be saved in the repository root folder.
|
||||||
|
|
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 5.8 KiB |
|
@ -8,15 +8,16 @@ set -e;
|
||||||
BINARY_TARBALL=$1;
|
BINARY_TARBALL=$1;
|
||||||
_SCRIPT_FOLDER=$(realpath $(dirname $0));
|
_SCRIPT_FOLDER=$(realpath $(dirname $0));
|
||||||
_REPOSITORY_FOLDER=$(realpath $_SCRIPT_FOLDER/../../../);
|
_REPOSITORY_FOLDER=$(realpath $_SCRIPT_FOLDER/../../../);
|
||||||
|
|
||||||
_BINARY_TARBALL_SOURCE_FOLDER=$_SCRIPT_FOLDER/compile;
|
_BINARY_TARBALL_SOURCE_FOLDER=$_SCRIPT_FOLDER/compile;
|
||||||
_BINARY_TARBALL_SOURCE_CONTENT_FOLDER=$_REPOSITORY_FOLDER/browser/common/source_files/;
|
_BINARY_TARBALL_SOURCE_CONTENT_FOLDER=$_REPOSITORY_FOLDER/browser/common/source_files/;
|
||||||
_BINARY_TARBALL_SETTINGS_FOLDER=$_REPOSITORY_FOLDER/settings;
|
_BINARY_TARBALL_TOGGLE_SETTINGS_SCRIPT=$_SCRIPT_FOLDER/content/toggle-settings.sh;
|
||||||
_BINARY_TARBALL_LAUNCH_SCRIPT=$_SCRIPT_FOLDER/binary_tarball/content/launch_librewolf.sh;
|
_BINARY_TARBALL_LAUNCH_SCRIPT=$_SCRIPT_FOLDER/content/launch_librewolf.sh;
|
||||||
|
|
||||||
# Executes the build
|
# Executes the build
|
||||||
$_SCRIPT_FOLDER/scripts/1_Install_Dependencies.sh;
|
$_SCRIPT_FOLDER/scripts/1_Install_Dependencies.sh;
|
||||||
$_SCRIPT_FOLDER/scripts/2_Download_Source_Code.sh $_BINARY_TARBALL_SOURCE_FOLDER;
|
$_SCRIPT_FOLDER/scripts/2_Download_Source_Code.sh $_BINARY_TARBALL_SOURCE_FOLDER;
|
||||||
$_SCRIPT_FOLDER/scripts/3_Configure_Source_Code.sh $_BINARY_TARBALL_SOURCE_FOLDER $_BINARY_TARBALL_SOURCE_CONTENT_FOLDER;
|
$_SCRIPT_FOLDER/scripts/3_Configure_Source_Code.sh $_BINARY_TARBALL_SOURCE_FOLDER $_BINARY_TARBALL_SOURCE_CONTENT_FOLDER;
|
||||||
$_SCRIPT_FOLDER/scripts/4_Build_Binary_Tarball.sh $_BINARY_TARBALL_SOURCE_FOLDER $BINARY_TARBALL;
|
$_SCRIPT_FOLDER/scripts/4_Build_Binary_Tarball.sh $_BINARY_TARBALL_SOURCE_FOLDER $BINARY_TARBALL;
|
||||||
$_SCRIPT_FOLDER/scripts/5_Configure_Binary_Tarball.sh $BINARY_TARBALL $_BINARY_TARBALL_SETTINGS_FOLDER $_BINARY_TARBALL_LAUNCH_SCRIPT;
|
$_SCRIPT_FOLDER/scripts/5_Configure_Binary_Tarball.sh $BINARY_TARBALL $_BINARY_TARBALL_TOGGLE_SETTINGS_SCRIPT $_BINARY_TARBALL_LAUNCH_SCRIPT;
|
||||||
|
|
|
@ -3,9 +3,10 @@ printf "\n\n--------------------------------- SETTINGS INTEGRATION -------------
|
||||||
|
|
||||||
# Setup Script Variables
|
# Setup Script Variables
|
||||||
BINARY_TARBALL=$1;
|
BINARY_TARBALL=$1;
|
||||||
SETTINGS_FOLDER=$2;
|
TOGGLE_SETTINGS_SCRIPT=$2l
|
||||||
LAUNCHER_SCRIPT=$3;
|
LAUNCHER_SCRIPT=$3;
|
||||||
_EXTRACTED_TARBALL_FOLDER=./librewolf;
|
_EXTRACTED_TARBALL_FOLDER=./librewolf;
|
||||||
|
_SETTINGS_REPO='git@gitlab.com:librewolf-community/librewolf-settings.git';
|
||||||
|
|
||||||
# Extracts the binary tarball
|
# Extracts the binary tarball
|
||||||
printf "\nExtracting librewolf binary tarball\n";
|
printf "\nExtracting librewolf binary tarball\n";
|
||||||
|
@ -13,7 +14,9 @@ tar -xvf $BINARY_TARBALL;
|
||||||
|
|
||||||
# Adds the librefox config files to the packaged tarball
|
# Adds the librefox config files to the packaged tarball
|
||||||
printf "\nCopying librewolf settings to extracted binary tarball\n";
|
printf "\nCopying librewolf settings to extracted binary tarball\n";
|
||||||
cp -r $SETTINGS_FOLDER $_EXTRACTED_TARBALL_FOLDER/settings;
|
|
||||||
|
git clone _SETTINGS_REPO $_EXTRACTED_TARBALL_FOLDER/settings;
|
||||||
|
cp $TOGGLE_SETTINGS_SCRIPT $_EXTRACTED_TARBALL_FOLDER/settings;
|
||||||
cp $LAUNCHER_SCRIPT $_EXTRACTED_TARBALL_FOLDER/launch_librewolf.sh;
|
cp $LAUNCHER_SCRIPT $_EXTRACTED_TARBALL_FOLDER/launch_librewolf.sh;
|
||||||
|
|
||||||
# Repacks the binary tarball
|
# Repacks the binary tarball
|
|
@ -1,14 +0,0 @@
|
||||||
This folder contains all the required material to build the browser on Linux platforms.
|
|
||||||
|
|
||||||
### Requirements
|
|
||||||
* Ubuntu or Linux Mint (Bionic or later)
|
|
||||||
|
|
||||||
### Notes
|
|
||||||
* As this script installs files during the build, it is recommended to run this script in a VM or installation dedicated to building.
|
|
||||||
* You will occassionally need to enter your sudo password. Running this script as root has not been tested
|
|
||||||
* This script has been tested with Linux Mint 19.1
|
|
||||||
* The flatpak build is not ready yet.
|
|
||||||
|
|
||||||
### Instructions
|
|
||||||
* Run build.sh inside this folder.
|
|
||||||
* Packages will be saved in the repository root folder.
|
|
Loading…
Reference in New Issue