From c068c019f67a9ab8d44edaf78e8b61be788662bd Mon Sep 17 00:00:00 2001 From: Mid Favila Date: Fri, 30 Jul 2021 12:14:58 +0000 Subject: [PATCH] Add a UXP browser. --- {testing => ports}/browser/build | 0 {testing => ports}/browser/checksums | 3 +-- {testing => ports}/browser/depends | 0 {testing => ports}/browser/files/mozconfig.in | 2 +- {testing => ports}/browser/manifest | 0 {testing => ports}/browser/patches/gcc11-fix.patch | 0 {testing => ports}/browser/patches/no-gtk2.patch | 0 {testing => ports}/browser/sources | 2 +- {testing => ports}/browser/version | 0 ports/emacs-mod/build | 3 +++ 10 files changed, 6 insertions(+), 4 deletions(-) rename {testing => ports}/browser/build (100%) rename {testing => ports}/browser/checksums (66%) rename {testing => ports}/browser/depends (100%) rename {testing => ports}/browser/files/mozconfig.in (99%) rename {testing => ports}/browser/manifest (100%) rename {testing => ports}/browser/patches/gcc11-fix.patch (100%) rename {testing => ports}/browser/patches/no-gtk2.patch (100%) rename {testing => ports}/browser/sources (92%) rename {testing => ports}/browser/version (100%) diff --git a/testing/browser/build b/ports/browser/build similarity index 100% rename from testing/browser/build rename to ports/browser/build diff --git a/testing/browser/checksums b/ports/browser/checksums similarity index 66% rename from testing/browser/checksums rename to ports/browser/checksums index d5a5131..06361fe 100644 --- a/testing/browser/checksums +++ b/ports/browser/checksums @@ -1,6 +1,5 @@ 8fbb36e032a6fbb9eb813c9baef3262ca80f8bbd4ae75bac607e70e549a31f2f 4bf732b952a121baedc79b07eb54ba6f37a146e8c497be73fb71ca34aeb90860 f0611136bee505811e9ca11ca7ac188ef5323a8e2ef19cffd3edb3cf08fd791e -be4c9f8b55542f160126bfaa1a18d69de629ad9ad1807db09764cdcab1ad5089 +578146940874f8884f5ec69da948538dbd428de9405717ca24e6d5d80c7eb381 38276bb1033dea54837c05a25f8e219d151b960044e6b192873ae902bb0c4b2e -4686f8abc3600b7431cf024511dd4bdbd3bad43f8b69c46643455e01c4ef2673 diff --git a/testing/browser/depends b/ports/browser/depends similarity index 100% rename from testing/browser/depends rename to ports/browser/depends diff --git a/testing/browser/files/mozconfig.in b/ports/browser/files/mozconfig.in similarity index 99% rename from testing/browser/files/mozconfig.in rename to ports/browser/files/mozconfig.in index 400959c..610b30c 100644 --- a/testing/browser/files/mozconfig.in +++ b/ports/browser/files/mozconfig.in @@ -7,7 +7,7 @@ mk_add_options MOZ_OBJDIR="%SRCDIR%/objdir" _BUILD_64=1 # Set GTK Version to 2 or 3 -_GTK_VERSION=3 +_GTK_VERSION=2 # Build options ac_add_options --enable-application=palemoon diff --git a/testing/browser/manifest b/ports/browser/manifest similarity index 100% rename from testing/browser/manifest rename to ports/browser/manifest diff --git a/testing/browser/patches/gcc11-fix.patch b/ports/browser/patches/gcc11-fix.patch similarity index 100% rename from testing/browser/patches/gcc11-fix.patch rename to ports/browser/patches/gcc11-fix.patch diff --git a/testing/browser/patches/no-gtk2.patch b/ports/browser/patches/no-gtk2.patch similarity index 100% rename from testing/browser/patches/no-gtk2.patch rename to ports/browser/patches/no-gtk2.patch diff --git a/testing/browser/sources b/ports/browser/sources similarity index 92% rename from testing/browser/sources rename to ports/browser/sources index 268e7d4..fda9902 100644 --- a/testing/browser/sources +++ b/ports/browser/sources @@ -3,4 +3,4 @@ https://repo.palemoon.org/MoonchildProductions/UXP/archive/RELBASE_20210608.tar. https://ftp.gnu.org/gnu/autoconf/autoconf-2.13.tar.gz autoconf2.13/ files/mozconfig.in patches/gcc11-fix.patch -patches/no-gtk2.patch + diff --git a/testing/browser/version b/ports/browser/version similarity index 100% rename from testing/browser/version rename to ports/browser/version diff --git a/ports/emacs-mod/build b/ports/emacs-mod/build index 986cd59..d15e00a 100755 --- a/ports/emacs-mod/build +++ b/ports/emacs-mod/build @@ -36,6 +36,9 @@ cat << EOF > "$1/usr/share/emacs/site-lisp/site-start.el" (defun startup/reset-gc () (setq gc-cons-threshold startup/gc-cons-threshold)) (add-hook 'emacs-startup-hook 'startup/reset-gc) +;; Native-compile packages. +(setq package-native-compile t) + EOF