init
23
.gitignore
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
#till we create a automerge system like brave did for chromium
|
||||
code/
|
||||
# Firefox build artifacts
|
||||
code/firefox-*/obj-*
|
||||
code/firefox-*/dist/
|
||||
|
||||
# Build directories
|
||||
obj-*/
|
||||
|
||||
# Temporary files
|
||||
*.tmp
|
||||
*.temp
|
||||
*.log
|
||||
|
||||
# IDE files
|
||||
.vscode/
|
||||
.idea/
|
||||
*.swp
|
||||
*.swo
|
||||
|
||||
# OS files
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
196
init.sh
Executable file
@@ -0,0 +1,196 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Firefox Development Environment Initialization Script
|
||||
# This script downloads Firefox source code, sets up the build environment,
|
||||
# and prepares everything for building with mach
|
||||
|
||||
set -e # Exit on any error
|
||||
|
||||
# Configuration
|
||||
FIREFOX_VERSION="140.0.2"
|
||||
SOURCE_URL="https://ftp.mozilla.org/pub/firefox/releases/${FIREFOX_VERSION}/source/firefox-${FIREFOX_VERSION}.source.tar.xz"
|
||||
SOURCE_FILE="firefox-${FIREFOX_VERSION}.source.tar.xz"
|
||||
SOURCE_DIR="firefox-${FIREFOX_VERSION}"
|
||||
CODE_DIR="code"
|
||||
|
||||
# Colors for output
|
||||
RED='\033[0;31m'
|
||||
GREEN='\033[0;32m'
|
||||
YELLOW='\033[1;33m'
|
||||
BLUE='\033[0;34m'
|
||||
NC='\033[0m' # No Color
|
||||
|
||||
# Helper functions
|
||||
print_info() {
|
||||
echo -e "${BLUE}[INFO]${NC} $1"
|
||||
}
|
||||
|
||||
print_success() {
|
||||
echo -e "${GREEN}[SUCCESS]${NC} $1"
|
||||
}
|
||||
|
||||
print_warning() {
|
||||
echo -e "${YELLOW}[WARNING]${NC} $1"
|
||||
}
|
||||
|
||||
print_error() {
|
||||
echo -e "${RED}[ERROR]${NC} $1"
|
||||
}
|
||||
|
||||
# Check if required tools are installed
|
||||
check_dependencies() {
|
||||
print_info "Checking dependencies..."
|
||||
|
||||
local missing_deps=()
|
||||
|
||||
# Required tools for Firefox build
|
||||
local required_tools=("curl" "tar" "xz" "python3" "gcc" "g++" "make" "pkg-config" "autoconf")
|
||||
|
||||
for tool in "${required_tools[@]}"; do
|
||||
if ! command -v "$tool" &> /dev/null; then
|
||||
missing_deps+=("$tool")
|
||||
fi
|
||||
done
|
||||
|
||||
if [ ${#missing_deps[@]} -ne 0 ]; then
|
||||
print_error "Missing required dependencies: ${missing_deps[*]}"
|
||||
print_info "Please install these dependencies first:"
|
||||
print_info "Ubuntu/Debian: sudo apt-get install ${missing_deps[*]} build-essential"
|
||||
print_info "CentOS/RHEL: sudo yum install ${missing_deps[*]}"
|
||||
print_info "Arch Linux: sudo pacman -S ${missing_deps[*]} base-devel"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
print_success "All dependencies are installed"
|
||||
}
|
||||
|
||||
# Create code directory
|
||||
setup_code_directory() {
|
||||
print_info "Setting up code directory..."
|
||||
|
||||
if [ ! -d "$CODE_DIR" ]; then
|
||||
mkdir -p "$CODE_DIR"
|
||||
print_success "Created directory: $CODE_DIR"
|
||||
else
|
||||
print_warning "Directory $CODE_DIR already exists"
|
||||
fi
|
||||
|
||||
cd "$CODE_DIR"
|
||||
}
|
||||
|
||||
# Download Firefox source
|
||||
download_source() {
|
||||
print_info "Downloading Firefox source ($FIREFOX_VERSION)..."
|
||||
|
||||
if [ -f "$SOURCE_FILE" ]; then
|
||||
print_warning "Source file already exists: $SOURCE_FILE"
|
||||
read -p "Do you want to re-download? (y/N): " -n 1 -r
|
||||
echo
|
||||
if [[ ! $REPLY =~ ^[Yy]$ ]]; then
|
||||
print_info "Skipping download"
|
||||
return
|
||||
fi
|
||||
rm -f "$SOURCE_FILE"
|
||||
fi
|
||||
|
||||
curl -L -o "$SOURCE_FILE" "$SOURCE_URL"
|
||||
|
||||
if [ $? -eq 0 ]; then
|
||||
print_success "Downloaded: $SOURCE_FILE"
|
||||
else
|
||||
print_error "Failed to download Firefox source"
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
# Extract Firefox source
|
||||
extract_source() {
|
||||
print_info "Extracting Firefox source..."
|
||||
|
||||
if [ -d "$SOURCE_DIR" ]; then
|
||||
print_warning "Source directory already exists: $SOURCE_DIR"
|
||||
read -p "Do you want to re-extract? (y/N): " -n 1 -r
|
||||
echo
|
||||
if [[ ! $REPLY =~ ^[Yy]$ ]]; then
|
||||
print_info "Skipping extraction"
|
||||
return
|
||||
fi
|
||||
rm -rf "$SOURCE_DIR"
|
||||
fi
|
||||
|
||||
tar -xf "$SOURCE_FILE"
|
||||
|
||||
if [ $? -eq 0 ]; then
|
||||
print_success "Extracted to: $SOURCE_DIR"
|
||||
else
|
||||
print_error "Failed to extract Firefox source"
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
# Copy mozconfig
|
||||
copy_mozconfig() {
|
||||
print_info "Copying RBT source file..."
|
||||
|
||||
if [ -d "../src/" ]; then
|
||||
rsync -av "../src/" "$SOURCE_DIR/"
|
||||
print_success "Copied RBT source to $SOURCE_DIR/"
|
||||
else
|
||||
print_error "RBT source file not found in parent directory"
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
# Setup build environment
|
||||
setup_build_environment() {
|
||||
print_info "Setting up build environment..."
|
||||
|
||||
cd "$SOURCE_DIR"
|
||||
|
||||
# Ensure mozconfig exists in src directory
|
||||
if [ ! -f "src/.mozconfig" ]; then
|
||||
print_error ".mozconfig file is missing in src/ directory"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Create objdir if it doesn't exist
|
||||
if [ ! -d "obj-release" ]; then
|
||||
mkdir -p obj-release
|
||||
fi
|
||||
|
||||
print_success "Build environment ready"
|
||||
}
|
||||
|
||||
# Display next steps
|
||||
show_next_steps() {
|
||||
print_info "Firefox development environment is ready!"
|
||||
echo
|
||||
echo -e "${YELLOW}Next steps:${NC}"
|
||||
echo "1. cd $CODE_DIR/$SOURCE_DIR"
|
||||
echo "2. ./mach bootstrap # Install required dependencies"
|
||||
echo "3. ./mach build # Build Firefox"
|
||||
echo "4. ./mach run # Run Firefox"
|
||||
echo "5. ./mach package # Create installable package"
|
||||
echo
|
||||
print_info "For more information, visit:"
|
||||
print_info "https://firefox-source-docs.mozilla.org/setup/index.html"
|
||||
print_info "https://firefox-source-docs.mozilla.org/contributing/index.html"
|
||||
}
|
||||
|
||||
# Main execution
|
||||
main() {
|
||||
print_info "Starting Firefox development environment setup..."
|
||||
|
||||
check_dependencies
|
||||
setup_code_directory
|
||||
download_source
|
||||
extract_source
|
||||
copy_mozconfig
|
||||
setup_build_environment
|
||||
show_next_steps
|
||||
|
||||
print_success "Setup completed successfully!"
|
||||
}
|
||||
|
||||
# Run main function
|
||||
main
|
||||
BIN
rbt-logo/default.png
Normal file
|
After Width: | Height: | Size: 80 KiB |
BIN
rbt-logo/default128.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
rbt-logo/default16.png
Normal file
|
After Width: | Height: | Size: 734 B |
BIN
rbt-logo/default256.png
Normal file
|
After Width: | Height: | Size: 64 KiB |
BIN
rbt-logo/default32.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
rbt-logo/default64.png
Normal file
|
After Width: | Height: | Size: 6.1 KiB |
1
rbt-logo/fearless-dark.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 13.279999732971191 196.6300048828125 34.720001220703125" data-asc="0.9599609375" width="196.6300048828125" height="34.720001220703125"><defs/><g fill="#000000"><g transform="translate(0, 0)"><path d="M0 13.28L23.24 13.28L23.24 18.41L5.15 18.41L5.15 48.00L0 48.00L0 13.28M8.08 27.37L23.24 27.37L23.24 32.50L8.08 32.50L8.08 27.37ZM29.10 27.93Q29.10 25.76 30.69 24.23Q32.28 22.71 34.50 22.71L45.04 22.71Q47.07 22.71 48.72 23.69Q50.37 24.68 51.35 26.35Q52.34 28.03 52.34 30.05L52.34 30.76Q52.34 32.76 51.35 34.41Q50.37 36.06 48.72 37.05Q47.07 38.04 45.04 38.04L37.18 38.04L37.18 32.91L45.09 32.91Q45.97 32.91 46.59 32.28Q47.22 31.64 47.22 30.74L47.22 30.05Q47.22 29.13 46.59 28.49Q45.97 27.86 45.09 27.86L34.25 27.86L34.25 40.84Q34.25 41.67 34.81 42.26Q35.38 42.85 36.18 42.85L50.56 42.85L50.56 48.00L36.18 48.00Q34.23 48.00 32.62 47.03Q31.01 46.07 30.05 44.45Q29.10 42.82 29.10 40.87L29.10 27.93ZM57.47 31.79Q57.47 29.27 58.70 27.22Q59.94 25.17 62.01 23.94Q64.09 22.71 66.60 22.71L80.71 22.71L80.71 48.00L75.56 48.00L75.56 27.86L66.60 27.86Q64.97 27.86 63.79 29.02Q62.62 30.18 62.62 31.84L62.62 38.82Q62.62 40.48 63.79 41.66Q64.97 42.85 66.60 42.85L72.63 42.85L72.63 48.00L66.60 48.00Q64.09 48.00 62.01 46.77Q59.94 45.53 58.70 43.46Q57.47 41.38 57.47 38.87L57.47 31.79ZM86.57 29.79Q86.57 27.83 87.56 26.22Q88.55 24.61 90.20 23.66Q91.85 22.71 93.85 22.71L99.49 22.71L99.49 27.83L93.85 27.83Q92.97 27.83 92.35 28.43Q91.72 29.03 91.72 29.88L91.72 48.00L86.57 48.00L86.57 29.79ZM104.13 13.28L109.28 13.28L109.28 48.00L104.13 48.00L104.13 13.28ZM115.14 27.93Q115.14 25.76 116.72 24.23Q118.31 22.71 120.53 22.71L131.08 22.71Q133.11 22.71 134.75 23.69Q136.40 24.68 137.39 26.35Q138.38 28.03 138.38 30.05L138.38 30.76Q138.38 32.76 137.39 34.41Q136.40 36.06 134.75 37.05Q133.11 38.04 131.08 38.04L123.22 38.04L123.22 32.91L131.13 32.91Q132.01 32.91 132.63 32.28Q133.25 31.64 133.25 30.74L133.25 30.05Q133.25 29.13 132.63 28.49Q132.01 27.86 131.13 27.86L120.29 27.86L120.29 40.84Q120.29 41.67 120.85 42.26Q121.41 42.85 122.22 42.85L136.60 42.85L136.60 48.00L122.22 48.00Q120.26 48.00 118.65 47.03Q117.04 46.07 116.09 44.45Q115.14 42.82 115.14 40.87L115.14 27.93ZM143.75 29.81Q143.75 27.83 144.74 26.22Q145.73 24.61 147.38 23.66Q149.02 22.71 151.03 22.71L165.87 22.71L165.87 27.86L151.03 27.86Q150.15 27.86 149.52 28.43Q148.90 29.00 148.90 29.81L148.90 30.42Q148.90 31.25 149.52 31.84Q150.15 32.42 151.03 32.42L160.25 32.42Q162.26 32.42 163.90 33.39Q165.55 34.35 166.53 35.96Q167.50 37.57 167.50 39.55L167.50 40.87Q167.50 42.82 166.53 44.45Q165.55 46.07 163.90 47.03Q162.26 48.00 160.25 48.00L144.90 48.00L144.90 42.85L160.25 42.85Q161.13 42.85 161.76 42.26Q162.38 41.67 162.38 40.84L162.38 39.58Q162.38 38.72 161.76 38.13Q161.13 37.55 160.25 37.55L151.03 37.55Q149.02 37.55 147.38 36.58Q145.73 35.62 144.74 34.00Q143.75 32.37 143.75 30.42L143.75 29.81ZM172.88 29.81Q172.88 27.83 173.86 26.22Q174.85 24.61 176.50 23.66Q178.15 22.71 180.15 22.71L195.00 22.71L195.00 27.86L180.15 27.86Q179.27 27.86 178.65 28.43Q178.03 29.00 178.03 29.81L178.03 30.42Q178.03 31.25 178.65 31.84Q179.27 32.42 180.15 32.42L189.38 32.42Q191.38 32.42 193.03 33.39Q194.68 34.35 195.65 35.96Q196.63 37.57 196.63 39.55L196.63 40.87Q196.63 42.82 195.65 44.45Q194.68 46.07 193.03 47.03Q191.38 48.00 189.38 48.00L174.02 48.00L174.02 42.85L189.38 42.85Q190.26 42.85 190.88 42.26Q191.50 41.67 191.50 40.84L191.50 39.58Q191.50 38.72 190.88 38.13Q190.26 37.55 189.38 37.55L180.15 37.55Q178.15 37.55 176.50 36.58Q174.85 35.62 173.86 34.00Q172.88 32.37 172.88 30.42L172.88 29.81Z"/></g></g></svg>
|
||||
|
After Width: | Height: | Size: 3.5 KiB |
1
rbt-logo/fearless-light.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 13.279999732971191 196.6300048828125 34.720001220703125" data-asc="0.9599609375" width="196.6300048828125" height="34.720001220703125"><defs/><g fill="#e7dfdf"><g transform="translate(0, 0)"><path d="M0 13.28L23.24 13.28L23.24 18.41L5.15 18.41L5.15 48.00L0 48.00L0 13.28M8.08 27.37L23.24 27.37L23.24 32.50L8.08 32.50L8.08 27.37ZM29.10 27.93Q29.10 25.76 30.69 24.23Q32.28 22.71 34.50 22.71L45.04 22.71Q47.07 22.71 48.72 23.69Q50.37 24.68 51.35 26.35Q52.34 28.03 52.34 30.05L52.34 30.76Q52.34 32.76 51.35 34.41Q50.37 36.06 48.72 37.05Q47.07 38.04 45.04 38.04L37.18 38.04L37.18 32.91L45.09 32.91Q45.97 32.91 46.59 32.28Q47.22 31.64 47.22 30.74L47.22 30.05Q47.22 29.13 46.59 28.49Q45.97 27.86 45.09 27.86L34.25 27.86L34.25 40.84Q34.25 41.67 34.81 42.26Q35.38 42.85 36.18 42.85L50.56 42.85L50.56 48.00L36.18 48.00Q34.23 48.00 32.62 47.03Q31.01 46.07 30.05 44.45Q29.10 42.82 29.10 40.87L29.10 27.93ZM57.47 31.79Q57.47 29.27 58.70 27.22Q59.94 25.17 62.01 23.94Q64.09 22.71 66.60 22.71L80.71 22.71L80.71 48.00L75.56 48.00L75.56 27.86L66.60 27.86Q64.97 27.86 63.79 29.02Q62.62 30.18 62.62 31.84L62.62 38.82Q62.62 40.48 63.79 41.66Q64.97 42.85 66.60 42.85L72.63 42.85L72.63 48.00L66.60 48.00Q64.09 48.00 62.01 46.77Q59.94 45.53 58.70 43.46Q57.47 41.38 57.47 38.87L57.47 31.79ZM86.57 29.79Q86.57 27.83 87.56 26.22Q88.55 24.61 90.20 23.66Q91.85 22.71 93.85 22.71L99.49 22.71L99.49 27.83L93.85 27.83Q92.97 27.83 92.35 28.43Q91.72 29.03 91.72 29.88L91.72 48.00L86.57 48.00L86.57 29.79ZM104.13 13.28L109.28 13.28L109.28 48.00L104.13 48.00L104.13 13.28ZM115.14 27.93Q115.14 25.76 116.72 24.23Q118.31 22.71 120.53 22.71L131.08 22.71Q133.11 22.71 134.75 23.69Q136.40 24.68 137.39 26.35Q138.38 28.03 138.38 30.05L138.38 30.76Q138.38 32.76 137.39 34.41Q136.40 36.06 134.75 37.05Q133.11 38.04 131.08 38.04L123.22 38.04L123.22 32.91L131.13 32.91Q132.01 32.91 132.63 32.28Q133.25 31.64 133.25 30.74L133.25 30.05Q133.25 29.13 132.63 28.49Q132.01 27.86 131.13 27.86L120.29 27.86L120.29 40.84Q120.29 41.67 120.85 42.26Q121.41 42.85 122.22 42.85L136.60 42.85L136.60 48.00L122.22 48.00Q120.26 48.00 118.65 47.03Q117.04 46.07 116.09 44.45Q115.14 42.82 115.14 40.87L115.14 27.93ZM143.75 29.81Q143.75 27.83 144.74 26.22Q145.73 24.61 147.38 23.66Q149.02 22.71 151.03 22.71L165.87 22.71L165.87 27.86L151.03 27.86Q150.15 27.86 149.52 28.43Q148.90 29.00 148.90 29.81L148.90 30.42Q148.90 31.25 149.52 31.84Q150.15 32.42 151.03 32.42L160.25 32.42Q162.26 32.42 163.90 33.39Q165.55 34.35 166.53 35.96Q167.50 37.57 167.50 39.55L167.50 40.87Q167.50 42.82 166.53 44.45Q165.55 46.07 163.90 47.03Q162.26 48.00 160.25 48.00L144.90 48.00L144.90 42.85L160.25 42.85Q161.13 42.85 161.76 42.26Q162.38 41.67 162.38 40.84L162.38 39.58Q162.38 38.72 161.76 38.13Q161.13 37.55 160.25 37.55L151.03 37.55Q149.02 37.55 147.38 36.58Q145.73 35.62 144.74 34.00Q143.75 32.37 143.75 30.42L143.75 29.81ZM172.88 29.81Q172.88 27.83 173.86 26.22Q174.85 24.61 176.50 23.66Q178.15 22.71 180.15 22.71L195.00 22.71L195.00 27.86L180.15 27.86Q179.27 27.86 178.65 28.43Q178.03 29.00 178.03 29.81L178.03 30.42Q178.03 31.25 178.65 31.84Q179.27 32.42 180.15 32.42L189.38 32.42Q191.38 32.42 193.03 33.39Q194.68 34.35 195.65 35.96Q196.63 37.57 196.63 39.55L196.63 40.87Q196.63 42.82 195.65 44.45Q194.68 46.07 193.03 47.03Q191.38 48.00 189.38 48.00L174.02 48.00L174.02 42.85L189.38 42.85Q190.26 42.85 190.88 42.26Q191.50 41.67 191.50 40.84L191.50 39.58Q191.50 38.72 190.88 38.13Q190.26 37.55 189.38 37.55L180.15 37.55Q178.15 37.55 176.50 36.58Q174.85 35.62 173.86 34.00Q172.88 32.37 172.88 30.42L172.88 29.81Z"/></g></g></svg>
|
||||
|
After Width: | Height: | Size: 3.5 KiB |
BIN
rbt-logo/fearless.png
Normal file
|
After Width: | Height: | Size: 67 KiB |
BIN
rbt-logo/rbt-256.ico
Normal file
|
After Width: | Height: | Size: 161 KiB |
BIN
rbt-logo/rbt-3.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
rbt-logo/rbt-4.png
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
rbt-logo/rbt-5.png
Normal file
|
After Width: | Height: | Size: 234 KiB |
BIN
rbt-logo/rbt-64.ico
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
rbt-logo/rbt-PrivateBrowsing.ico
Normal file
|
After Width: | Height: | Size: 157 KiB |
BIN
rbt-logo/rbt-cool-2-150.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
rbt-logo/rbt-cool-2-70.png
Normal file
|
After Width: | Height: | Size: 7.2 KiB |
BIN
rbt-logo/rbt-i-150.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
rbt-logo/rbt-i-512.png
Normal file
|
After Width: | Height: | Size: 228 KiB |
BIN
rbt-logo/rbt-i-70.png
Normal file
|
After Width: | Height: | Size: 7.0 KiB |
BIN
rbt-logo/rbt-i.png
Normal file
|
After Width: | Height: | Size: 1.0 MiB |
BIN
rbt-logo/rbt-logo.png
Normal file
|
After Width: | Height: | Size: 80 KiB |
BIN
rbt-logo/rbt-removebg-preview.png
Normal file
|
After Width: | Height: | Size: 282 KiB |
BIN
rbt-logo/rbt.png
Normal file
|
After Width: | Height: | Size: 80 KiB |
1
rbt-logo/rbt.svg
Normal file
|
After Width: | Height: | Size: 165 KiB |
1
rbt-logo/rbtHeavy.svg
Normal file
|
After Width: | Height: | Size: 170 KiB |
1
rbt-logo/text.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 13.279999732971191 196.6300048828125 34.720001220703125" data-asc="0.9599609375" width="196.6300048828125" height="34.720001220703125"><defs/><g fill="#000000"><g transform="translate(0, 0)"><path d="M0 13.28L23.24 13.28L23.24 18.41L5.15 18.41L5.15 48.00L0 48.00L0 13.28M8.08 27.37L23.24 27.37L23.24 32.50L8.08 32.50L8.08 27.37ZM29.10 27.93Q29.10 25.76 30.69 24.23Q32.28 22.71 34.50 22.71L45.04 22.71Q47.07 22.71 48.72 23.69Q50.37 24.68 51.35 26.35Q52.34 28.03 52.34 30.05L52.34 30.76Q52.34 32.76 51.35 34.41Q50.37 36.06 48.72 37.05Q47.07 38.04 45.04 38.04L37.18 38.04L37.18 32.91L45.09 32.91Q45.97 32.91 46.59 32.28Q47.22 31.64 47.22 30.74L47.22 30.05Q47.22 29.13 46.59 28.49Q45.97 27.86 45.09 27.86L34.25 27.86L34.25 40.84Q34.25 41.67 34.81 42.26Q35.38 42.85 36.18 42.85L50.56 42.85L50.56 48.00L36.18 48.00Q34.23 48.00 32.62 47.03Q31.01 46.07 30.05 44.45Q29.10 42.82 29.10 40.87L29.10 27.93ZM57.47 31.79Q57.47 29.27 58.70 27.22Q59.94 25.17 62.01 23.94Q64.09 22.71 66.60 22.71L80.71 22.71L80.71 48.00L75.56 48.00L75.56 27.86L66.60 27.86Q64.97 27.86 63.79 29.02Q62.62 30.18 62.62 31.84L62.62 38.82Q62.62 40.48 63.79 41.66Q64.97 42.85 66.60 42.85L72.63 42.85L72.63 48.00L66.60 48.00Q64.09 48.00 62.01 46.77Q59.94 45.53 58.70 43.46Q57.47 41.38 57.47 38.87L57.47 31.79ZM86.57 29.79Q86.57 27.83 87.56 26.22Q88.55 24.61 90.20 23.66Q91.85 22.71 93.85 22.71L99.49 22.71L99.49 27.83L93.85 27.83Q92.97 27.83 92.35 28.43Q91.72 29.03 91.72 29.88L91.72 48.00L86.57 48.00L86.57 29.79ZM104.13 13.28L109.28 13.28L109.28 48.00L104.13 48.00L104.13 13.28ZM115.14 27.93Q115.14 25.76 116.72 24.23Q118.31 22.71 120.53 22.71L131.08 22.71Q133.11 22.71 134.75 23.69Q136.40 24.68 137.39 26.35Q138.38 28.03 138.38 30.05L138.38 30.76Q138.38 32.76 137.39 34.41Q136.40 36.06 134.75 37.05Q133.11 38.04 131.08 38.04L123.22 38.04L123.22 32.91L131.13 32.91Q132.01 32.91 132.63 32.28Q133.25 31.64 133.25 30.74L133.25 30.05Q133.25 29.13 132.63 28.49Q132.01 27.86 131.13 27.86L120.29 27.86L120.29 40.84Q120.29 41.67 120.85 42.26Q121.41 42.85 122.22 42.85L136.60 42.85L136.60 48.00L122.22 48.00Q120.26 48.00 118.65 47.03Q117.04 46.07 116.09 44.45Q115.14 42.82 115.14 40.87L115.14 27.93ZM143.75 29.81Q143.75 27.83 144.74 26.22Q145.73 24.61 147.38 23.66Q149.02 22.71 151.03 22.71L165.87 22.71L165.87 27.86L151.03 27.86Q150.15 27.86 149.52 28.43Q148.90 29.00 148.90 29.81L148.90 30.42Q148.90 31.25 149.52 31.84Q150.15 32.42 151.03 32.42L160.25 32.42Q162.26 32.42 163.90 33.39Q165.55 34.35 166.53 35.96Q167.50 37.57 167.50 39.55L167.50 40.87Q167.50 42.82 166.53 44.45Q165.55 46.07 163.90 47.03Q162.26 48.00 160.25 48.00L144.90 48.00L144.90 42.85L160.25 42.85Q161.13 42.85 161.76 42.26Q162.38 41.67 162.38 40.84L162.38 39.58Q162.38 38.72 161.76 38.13Q161.13 37.55 160.25 37.55L151.03 37.55Q149.02 37.55 147.38 36.58Q145.73 35.62 144.74 34.00Q143.75 32.37 143.75 30.42L143.75 29.81ZM172.88 29.81Q172.88 27.83 173.86 26.22Q174.85 24.61 176.50 23.66Q178.15 22.71 180.15 22.71L195.00 22.71L195.00 27.86L180.15 27.86Q179.27 27.86 178.65 28.43Q178.03 29.00 178.03 29.81L178.03 30.42Q178.03 31.25 178.65 31.84Q179.27 32.42 180.15 32.42L189.38 32.42Q191.38 32.42 193.03 33.39Q194.68 34.35 195.65 35.96Q196.63 37.57 196.63 39.55L196.63 40.87Q196.63 42.82 195.65 44.45Q194.68 46.07 193.03 47.03Q191.38 48.00 189.38 48.00L174.02 48.00L174.02 42.85L189.38 42.85Q190.26 42.85 190.88 42.26Q191.50 41.67 191.50 40.84L191.50 39.58Q191.50 38.72 190.88 38.13Q190.26 37.55 189.38 37.55L180.15 37.55Q178.15 37.55 176.50 36.58Q174.85 35.62 173.86 34.00Q172.88 32.37 172.88 30.42L172.88 29.81Z"/></g></g></svg>
|
||||
|
After Width: | Height: | Size: 3.5 KiB |
1
readme.txt
Normal file
@@ -0,0 +1 @@
|
||||
i need a brawser that can brows not track, feed, adv(like Moz's MARS) even telemetry
|
||||
52
src/.mozconfig
Normal file
@@ -0,0 +1,52 @@
|
||||
# Use Linux 64-bit ./mach build ❯ ./mach package
|
||||
#* browser/base/content/browser.js browser.xhtml
|
||||
#** browser/base/content/browser-menubar.inc or browser-menubar.inc.xhtml
|
||||
#***** browser/app/profile/firefox.js pref("identity.fxaccounts.enabled", false);
|
||||
ac_add_options --enable-application=browser
|
||||
ac_add_options --with-app-name=rbt
|
||||
ac_add_options --with-branding=browser/branding/rbt
|
||||
|
||||
# Release build (no debug info)
|
||||
ac_add_options --enable-release
|
||||
ac_add_options --disable-debug
|
||||
ac_add_options --disable-debug-symbols
|
||||
ac_add_options --disable-tests
|
||||
|
||||
# Optimize for size
|
||||
ac_add_options --enable-optimize="-Os -ffunction-sections -fdata-sections"
|
||||
ac_add_options --enable-strip
|
||||
ac_add_options --enable-lto=cross
|
||||
|
||||
#ac_add_options --disable-llama-cpp
|
||||
#ac_add_options --disable-ai-chat
|
||||
|
||||
# Disable features to reduce size
|
||||
ac_add_options --disable-updater
|
||||
ac_add_options --disable-crashreporter
|
||||
ac_add_options --disable-parental-controls
|
||||
ac_add_options --disable-accessibility
|
||||
ac_add_options --disable-eme
|
||||
|
||||
# Disable WASM sandboxing
|
||||
ac_add_options --without-wasm-sandboxed-libraries
|
||||
|
||||
|
||||
# Output directory
|
||||
mk_add_options MOZ_OBJDIR=obj-release
|
||||
mk_add_options MOZ_MAKE_FLAGS="-j$(nproc)"
|
||||
|
||||
|
||||
#Top Sites, Pocket, etc.
|
||||
#DID not WORK ac_add_options --disable-activity-stream
|
||||
## Option 2: Modify the new tab page files # browser/components/newtab/
|
||||
### browser/components/newtab/content-src/components/DiscoveryStreamComponents/DSCard/DSCard.jsx
|
||||
### browser/components/newtab/content-src/components/Base/Base.jsx
|
||||
## Option 3: (create simple custom page) browser/components/newtab/aboutwelcome/content/aboutwelcome.html
|
||||
|
||||
## Option 4: (create a simple override) browser/components/newtab/content-src/aboutwelcome/aboutwelcome.jsx
|
||||
### Create/edit: browser/app/profile/firefox.js
|
||||
#### pref("browser.startup.homepage", "about:blank");
|
||||
#### pref("browser.newtabpage.enabled", false);
|
||||
|
||||
#disable help menu
|
||||
##browser/base/content/browser-menubar.inc.xhtml
|
||||