Add Negia Navigator.
This commit is contained in:
parent
ce637f6b09
commit
5cd93bdee4
@ -1 +0,0 @@
|
|||||||
../ports/neXtaw
|
|
@ -1 +0,0 @@
|
|||||||
../ports/xterm
|
|
32
testing/browser/build
Executable file
32
testing/browser/build
Executable file
@ -0,0 +1,32 @@
|
|||||||
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
# Build autoconf 2.13 for browser's sole use.
|
||||||
|
(
|
||||||
|
cd autoconf2.13
|
||||||
|
|
||||||
|
./configure \
|
||||||
|
--prefix="$PWD/../junk" \
|
||||||
|
--program-suffix=-2.13
|
||||||
|
|
||||||
|
make
|
||||||
|
make install
|
||||||
|
)
|
||||||
|
|
||||||
|
export PATH="$PWD/junk/bin:$PATH"
|
||||||
|
|
||||||
|
sed -e 's#%SRCDIR%#'"$(realpath .)"'#g' -e "s#%CFLAGS%#$CFLAGS#g" mozconfig.in > .mozconfig
|
||||||
|
|
||||||
|
for patch in *.patch; do
|
||||||
|
patch -p1 < "$patch"
|
||||||
|
done
|
||||||
|
|
||||||
|
export LDFLAGS="$LDFLAGS -Wl,-rpath=/usr/lib/browser"
|
||||||
|
|
||||||
|
./mach build
|
||||||
|
./mach stage
|
||||||
|
|
||||||
|
mkdir -p "$1/usr/bin"
|
||||||
|
mkdir -p "$1/usr/lib"
|
||||||
|
|
||||||
|
cp -r objdir/dist/palemoon "$1/usr/lib/browser"
|
||||||
|
ln -s ../lib/browser/palemoon "$1/usr/bin/browser"
|
6
testing/browser/checksums
Normal file
6
testing/browser/checksums
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
8fbb36e032a6fbb9eb813c9baef3262ca80f8bbd4ae75bac607e70e549a31f2f
|
||||||
|
4bf732b952a121baedc79b07eb54ba6f37a146e8c497be73fb71ca34aeb90860
|
||||||
|
f0611136bee505811e9ca11ca7ac188ef5323a8e2ef19cffd3edb3cf08fd791e
|
||||||
|
be4c9f8b55542f160126bfaa1a18d69de629ad9ad1807db09764cdcab1ad5089
|
||||||
|
38276bb1033dea54837c05a25f8e219d151b960044e6b192873ae902bb0c4b2e
|
||||||
|
4686f8abc3600b7431cf024511dd4bdbd3bad43f8b69c46643455e01c4ef2673
|
18
testing/browser/depends
Normal file
18
testing/browser/depends
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
alsa-lib
|
||||||
|
atk
|
||||||
|
cairo
|
||||||
|
fontconfig
|
||||||
|
freetype-harfbuzz
|
||||||
|
gcc
|
||||||
|
gdk-pixbuf
|
||||||
|
glib
|
||||||
|
gtk+3
|
||||||
|
libX11
|
||||||
|
libXext
|
||||||
|
libXrender
|
||||||
|
libXt
|
||||||
|
libxcb
|
||||||
|
pango
|
||||||
|
perl make
|
||||||
|
python2 make
|
||||||
|
zip make
|
53
testing/browser/files/mozconfig.in
Normal file
53
testing/browser/files/mozconfig.in
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
# Based on https://developer.palemoon.org/build/linux
|
||||||
|
|
||||||
|
# Set object directory (%SRCDIR% will substituted in build script)
|
||||||
|
mk_add_options MOZ_OBJDIR="%SRCDIR%/objdir"
|
||||||
|
|
||||||
|
# Clear this if not a 64bit build
|
||||||
|
_BUILD_64=1
|
||||||
|
|
||||||
|
# Set GTK Version to 2 or 3
|
||||||
|
_GTK_VERSION=3
|
||||||
|
|
||||||
|
# Build options
|
||||||
|
ac_add_options --enable-application=palemoon
|
||||||
|
ac_add_options --enable-optimize="%CFLAGS%"
|
||||||
|
ac_add_options --enable-default-toolkit=cairo-gtk$_GTK_VERSION
|
||||||
|
ac_add_options --enable-strip
|
||||||
|
ac_add_options --enable-devtools
|
||||||
|
ac_add_options --with-pthreads
|
||||||
|
mk_add_options AUTOCLOBBER=1
|
||||||
|
|
||||||
|
# Enable stuff
|
||||||
|
ac_add_options --enable-alsa
|
||||||
|
|
||||||
|
# Disable stuff
|
||||||
|
ac_add_options --disable-eme
|
||||||
|
ac_add_options --disable-webrtc
|
||||||
|
ac_add_options --disable-gamepad
|
||||||
|
ac_add_options --disable-tests
|
||||||
|
ac_add_options --disable-debug
|
||||||
|
ac_add_options --disable-necko-wifi
|
||||||
|
ac_add_options --disable-updater
|
||||||
|
ac_add_options --disable-dbus
|
||||||
|
ac_add_options --disable-gconf
|
||||||
|
ac_add_options --disable-gio
|
||||||
|
ac_add_options --disable-debug-symbols
|
||||||
|
ac_add_options --disable-pulseaudio
|
||||||
|
ac_add_options --disable-jemalloc
|
||||||
|
ac_add_options --disable-crashreporter
|
||||||
|
ac_add_options --disable-parental-controls
|
||||||
|
ac_add_options --disable-maintenance-service
|
||||||
|
|
||||||
|
# Please see https://www.palemoon.org/redist.shtml for restrictions when using the official branding.
|
||||||
|
ac_add_options --disable-official-branding
|
||||||
|
export MOZILLA_OFFICIAL=1
|
||||||
|
|
||||||
|
# Processor architecure specific build options
|
||||||
|
if [ -n "$_BUILD_64" ]; then
|
||||||
|
ac_add_options --x-libraries=/usr/lib64
|
||||||
|
else
|
||||||
|
ac_add_options --x-libraries=/usr/lib
|
||||||
|
fi
|
||||||
|
|
||||||
|
export MOZ_PKG_SPECIAL=gtk$_GTK_VERSION
|
90
testing/browser/manifest
Normal file
90
testing/browser/manifest
Normal file
@ -0,0 +1,90 @@
|
|||||||
|
/var/db/kiss/installed/browser/version
|
||||||
|
/var/db/kiss/installed/browser/sources
|
||||||
|
/var/db/kiss/installed/browser/patches/no-gtk2.patch
|
||||||
|
/var/db/kiss/installed/browser/patches/gcc11-fix.patch
|
||||||
|
/var/db/kiss/installed/browser/patches/
|
||||||
|
/var/db/kiss/installed/browser/manifest
|
||||||
|
/var/db/kiss/installed/browser/files/mozconfig.in
|
||||||
|
/var/db/kiss/installed/browser/files/
|
||||||
|
/var/db/kiss/installed/browser/depends
|
||||||
|
/var/db/kiss/installed/browser/checksums
|
||||||
|
/var/db/kiss/installed/browser/build
|
||||||
|
/var/db/kiss/installed/browser/
|
||||||
|
/var/db/kiss/installed/
|
||||||
|
/var/db/kiss/
|
||||||
|
/var/db/
|
||||||
|
/var/
|
||||||
|
/usr/lib/browser/run-mozilla.sh
|
||||||
|
/usr/lib/browser/removed-files
|
||||||
|
/usr/lib/browser/precomplete
|
||||||
|
/usr/lib/browser/plugin-container
|
||||||
|
/usr/lib/browser/platform.ini
|
||||||
|
/usr/lib/browser/palemoon.res
|
||||||
|
/usr/lib/browser/palemoon-bin
|
||||||
|
/usr/lib/browser/palemoon
|
||||||
|
/usr/lib/browser/libxul.so
|
||||||
|
/usr/lib/browser/libssl3.so
|
||||||
|
/usr/lib/browser/libsoftokn3.so
|
||||||
|
/usr/lib/browser/libsoftokn3.chk
|
||||||
|
/usr/lib/browser/libsmime3.so
|
||||||
|
/usr/lib/browser/libplds4.so
|
||||||
|
/usr/lib/browser/libplc4.so
|
||||||
|
/usr/lib/browser/libnssutil3.so
|
||||||
|
/usr/lib/browser/libnssckbi.so
|
||||||
|
/usr/lib/browser/libnss3.so
|
||||||
|
/usr/lib/browser/libnspr4.so
|
||||||
|
/usr/lib/browser/libmozsqlite3.so
|
||||||
|
/usr/lib/browser/libmozgtk.so
|
||||||
|
/usr/lib/browser/libmozavutil.so
|
||||||
|
/usr/lib/browser/libmozavcodec.so
|
||||||
|
/usr/lib/browser/liblgpllibs.so
|
||||||
|
/usr/lib/browser/libfreeblpriv3.so
|
||||||
|
/usr/lib/browser/libfreeblpriv3.chk
|
||||||
|
/usr/lib/browser/icudt58l.dat
|
||||||
|
/usr/lib/browser/fonts/TwemojiMozilla.ttf
|
||||||
|
/usr/lib/browser/fonts/
|
||||||
|
/usr/lib/browser/dictionaries/en-US.dic
|
||||||
|
/usr/lib/browser/dictionaries/en-US.aff
|
||||||
|
/usr/lib/browser/dictionaries/
|
||||||
|
/usr/lib/browser/dependentlibs.list
|
||||||
|
/usr/lib/browser/defaults/pref/channel-prefs.js
|
||||||
|
/usr/lib/browser/defaults/pref/
|
||||||
|
/usr/lib/browser/defaults/
|
||||||
|
/usr/lib/browser/chrome.manifest
|
||||||
|
/usr/lib/browser/browser/ua-update.json
|
||||||
|
/usr/lib/browser/browser/searchplugins/yahoo.xml
|
||||||
|
/usr/lib/browser/browser/searchplugins/wikipedia.xml
|
||||||
|
/usr/lib/browser/browser/searchplugins/twitter.xml
|
||||||
|
/usr/lib/browser/browser/searchplugins/ekoru.xml
|
||||||
|
/usr/lib/browser/browser/searchplugins/ecosia.xml
|
||||||
|
/usr/lib/browser/browser/searchplugins/duckduckgo-palemoon.xml
|
||||||
|
/usr/lib/browser/browser/searchplugins/bing.xml
|
||||||
|
/usr/lib/browser/browser/searchplugins/
|
||||||
|
/usr/lib/browser/browser/palemoon.res
|
||||||
|
/usr/lib/browser/browser/icons/mozicon128.png
|
||||||
|
/usr/lib/browser/browser/icons/
|
||||||
|
/usr/lib/browser/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
|
||||||
|
/usr/lib/browser/browser/extensions/
|
||||||
|
/usr/lib/browser/browser/defaults/profile/chrome/userContent-example.css
|
||||||
|
/usr/lib/browser/browser/defaults/profile/chrome/userChrome-example.css
|
||||||
|
/usr/lib/browser/browser/defaults/profile/chrome/
|
||||||
|
/usr/lib/browser/browser/defaults/profile/
|
||||||
|
/usr/lib/browser/browser/defaults/
|
||||||
|
/usr/lib/browser/browser/components/libbrowsercomps.so
|
||||||
|
/usr/lib/browser/browser/components/components.manifest
|
||||||
|
/usr/lib/browser/browser/components/
|
||||||
|
/usr/lib/browser/browser/chrome/icons/default/default48.png
|
||||||
|
/usr/lib/browser/browser/chrome/icons/default/default32.png
|
||||||
|
/usr/lib/browser/browser/chrome/icons/default/default16.png
|
||||||
|
/usr/lib/browser/browser/chrome/icons/default/
|
||||||
|
/usr/lib/browser/browser/chrome/icons/
|
||||||
|
/usr/lib/browser/browser/chrome/
|
||||||
|
/usr/lib/browser/browser/chrome.manifest
|
||||||
|
/usr/lib/browser/browser/blocklist.xml
|
||||||
|
/usr/lib/browser/browser/
|
||||||
|
/usr/lib/browser/application.ini
|
||||||
|
/usr/lib/browser/
|
||||||
|
/usr/lib/
|
||||||
|
/usr/bin/browser
|
||||||
|
/usr/bin/
|
||||||
|
/usr/
|
39
testing/browser/patches/gcc11-fix.patch
Normal file
39
testing/browser/patches/gcc11-fix.patch
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
diff --git a/platform/gfx/2d/BaseRect.h b/platform/gfx/2d/BaseRect.h
|
||||||
|
index 57d01ba09..ea8caf755 100644
|
||||||
|
--- a/platform/gfx/2d/BaseRect.h
|
||||||
|
+++ b/platform/gfx/2d/BaseRect.h
|
||||||
|
@@ -15,6 +15,8 @@
|
||||||
|
#include "mozilla/TypeTraits.h"
|
||||||
|
#include "Types.h"
|
||||||
|
|
||||||
|
+#include <limits>
|
||||||
|
+
|
||||||
|
namespace mozilla {
|
||||||
|
namespace gfx {
|
||||||
|
|
||||||
|
diff --git a/platform/gfx/2d/Matrix.h b/platform/gfx/2d/Matrix.h
|
||||||
|
index d6835c8e6..b38a1d227 100644
|
||||||
|
--- a/platform/gfx/2d/Matrix.h
|
||||||
|
+++ b/platform/gfx/2d/Matrix.h
|
||||||
|
@@ -17,6 +17,8 @@
|
||||||
|
#include "mozilla/DebugOnly.h"
|
||||||
|
#include "mozilla/FloatingPoint.h"
|
||||||
|
|
||||||
|
+#include <limits>
|
||||||
|
+
|
||||||
|
namespace mozilla {
|
||||||
|
namespace gfx {
|
||||||
|
|
||||||
|
diff --git a/platform/netwerk/base/nsURLParsers.h b/platform/netwerk/base/nsURLParsers.h
|
||||||
|
index 34de99a37..5f41f0159 100644
|
||||||
|
--- a/platform/netwerk/base/nsURLParsers.h
|
||||||
|
+++ b/platform/netwerk/base/nsURLParsers.h
|
||||||
|
@@ -9,6 +9,8 @@
|
||||||
|
#include "nsIURLParser.h"
|
||||||
|
#include "mozilla/Attributes.h"
|
||||||
|
|
||||||
|
+#include <limits>
|
||||||
|
+
|
||||||
|
//----------------------------------------------------------------------------
|
||||||
|
// base class for url parsers
|
||||||
|
//----------------------------------------------------------------------------
|
1535
testing/browser/patches/no-gtk2.patch
Normal file
1535
testing/browser/patches/no-gtk2.patch
Normal file
File diff suppressed because it is too large
Load Diff
6
testing/browser/sources
Normal file
6
testing/browser/sources
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
https://repo.palemoon.org/MoonchildProductions/Pale-Moon/archive/29.2.1_Release.tar.gz
|
||||||
|
https://repo.palemoon.org/MoonchildProductions/UXP/archive/RELBASE_20210608.tar.gz platform/
|
||||||
|
https://ftp.gnu.org/gnu/autoconf/autoconf-2.13.tar.gz autoconf2.13/
|
||||||
|
files/mozconfig.in
|
||||||
|
patches/gcc11-fix.patch
|
||||||
|
patches/no-gtk2.patch
|
1
testing/browser/version
Normal file
1
testing/browser/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
29.2.1 1
|
@ -1,39 +0,0 @@
|
|||||||
#!/bin/sh -e
|
|
||||||
|
|
||||||
printf "
|
|
||||||
################################################################################
|
|
||||||
################################################################################
|
|
||||||
## Achtung! ##
|
|
||||||
## You should pay attention. We might need ##
|
|
||||||
## your help with this one, bossman. ##
|
|
||||||
################################################################################
|
|
||||||
################################################################################
|
|
||||||
"
|
|
||||||
|
|
||||||
sleep 10
|
|
||||||
|
|
||||||
git submodule update --init --recursive
|
|
||||||
|
|
||||||
cp doc/mozconfig.example ./.mozconfig
|
|
||||||
|
|
||||||
sed -i 's/enable-jack/disable-jack/g' .mozconfig
|
|
||||||
sed -i 's/$HOME/\/tmp/g' .mozconfig
|
|
||||||
|
|
||||||
printf "
|
|
||||||
################################################################################
|
|
||||||
################################################################################
|
|
||||||
## Achtung! ##
|
|
||||||
## You can edit your browser's mozconfig now. ##
|
|
||||||
## Please take the time to look over this. ##
|
|
||||||
################################################################################
|
|
||||||
################################################################################
|
|
||||||
"
|
|
||||||
#sleep 10
|
|
||||||
|
|
||||||
#${EDITOR:-vi} .mozconfig
|
|
||||||
|
|
||||||
./mach build
|
|
||||||
./mach package
|
|
||||||
|
|
||||||
tar xf /tmp/build/wbobjects/dist/webbrowser-29.2.0.linux-x86_64-gtk2.tar.xz "$1/wdir"
|
|
||||||
ln -s "/usr/bin/wdir/webbrowser" "$1/webbrowser"
|
|
1
testing/webbrowser/build
Symbolic link
1
testing/webbrowser/build
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
mybuild
|
@ -1 +1,4 @@
|
|||||||
1dc83726f329cff82a155e4c40cb327ee10fea0b803e58f25dfb8694152eaa3b
|
1e71de3cffe4ed1179efda538b062bfacec577e5f1755bc7738cae38a06bc33c
|
||||||
|
4bf732b952a121baedc79b07eb54ba6f37a146e8c497be73fb71ca34aeb90860
|
||||||
|
f0611136bee505811e9ca11ca7ac188ef5323a8e2ef19cffd3edb3cf08fd791e
|
||||||
|
38276bb1033dea54837c05a25f8e219d151b960044e6b192873ae902bb0c4b2e
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
#ccache make #optional
|
#ccache make #optional
|
||||||
alsa-lib
|
alsa-lib
|
||||||
autoconf-2.13 make
|
|
||||||
dbus
|
dbus
|
||||||
dbus-glib
|
dbus-glib
|
||||||
ffmpeg
|
ffmpeg
|
||||||
|
39
testing/webbrowser/mybuild
Executable file
39
testing/webbrowser/mybuild
Executable file
@ -0,0 +1,39 @@
|
|||||||
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
# Build autoconf 2.13 for browser's sole use.
|
||||||
|
(
|
||||||
|
cd autoconf2.13
|
||||||
|
|
||||||
|
./configure \
|
||||||
|
--prefix="$PWD/../junk" \
|
||||||
|
--program-suffix=-2.13
|
||||||
|
|
||||||
|
make
|
||||||
|
make install
|
||||||
|
)
|
||||||
|
|
||||||
|
export PATH="$PWD/junk/bin:$PATH"
|
||||||
|
|
||||||
|
cp doc/mozconfig.example ./.mozconfig
|
||||||
|
sed -i 's^enable-jack^disable-jack^g' .mozconfig
|
||||||
|
sed -i 's^--with-system-lib.*^^' .mozconfig
|
||||||
|
sed -i 's#%SRCDIR%#'"$(realpath .)"'#g' .mozconfig
|
||||||
|
sed -i "s#%CFLAGS%#$CFLAGS#g" .mozconfig
|
||||||
|
|
||||||
|
for patch in *.patch; do
|
||||||
|
patch -p1 < "$patch"
|
||||||
|
done
|
||||||
|
|
||||||
|
export CFLAGS="$CFLAGS -fno-exceptions"
|
||||||
|
export CXXFLAGS="$CFLAGS"
|
||||||
|
export LDFLAGS="$LDFLAGS -Wl,-rpath=/usr/lib/browser"
|
||||||
|
|
||||||
|
./mach build
|
||||||
|
./mach stage
|
||||||
|
|
||||||
|
mkdir -p "$1/usr/bin"
|
||||||
|
mkdir -p "$1/usr/lib"
|
||||||
|
|
||||||
|
cp -r ~/build/wbobjects/dist/webbrowser "$1/usr/lib/browser"
|
||||||
|
ln -s ../lib/browser/webbrowser "$1/usr/bin/browser"
|
||||||
|
rm -r ~/build
|
39
testing/webbrowser/patches/gcc11-fix.patch
Normal file
39
testing/webbrowser/patches/gcc11-fix.patch
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
diff --git a/platform/gfx/2d/BaseRect.h b/platform/gfx/2d/BaseRect.h
|
||||||
|
index 57d01ba09..ea8caf755 100644
|
||||||
|
--- a/platform/gfx/2d/BaseRect.h
|
||||||
|
+++ b/platform/gfx/2d/BaseRect.h
|
||||||
|
@@ -15,6 +15,8 @@
|
||||||
|
#include "mozilla/TypeTraits.h"
|
||||||
|
#include "Types.h"
|
||||||
|
|
||||||
|
+#include <limits>
|
||||||
|
+
|
||||||
|
namespace mozilla {
|
||||||
|
namespace gfx {
|
||||||
|
|
||||||
|
diff --git a/platform/gfx/2d/Matrix.h b/platform/gfx/2d/Matrix.h
|
||||||
|
index d6835c8e6..b38a1d227 100644
|
||||||
|
--- a/platform/gfx/2d/Matrix.h
|
||||||
|
+++ b/platform/gfx/2d/Matrix.h
|
||||||
|
@@ -17,6 +17,8 @@
|
||||||
|
#include "mozilla/DebugOnly.h"
|
||||||
|
#include "mozilla/FloatingPoint.h"
|
||||||
|
|
||||||
|
+#include <limits>
|
||||||
|
+
|
||||||
|
namespace mozilla {
|
||||||
|
namespace gfx {
|
||||||
|
|
||||||
|
diff --git a/platform/netwerk/base/nsURLParsers.h b/platform/netwerk/base/nsURLParsers.h
|
||||||
|
index 34de99a37..5f41f0159 100644
|
||||||
|
--- a/platform/netwerk/base/nsURLParsers.h
|
||||||
|
+++ b/platform/netwerk/base/nsURLParsers.h
|
||||||
|
@@ -9,6 +9,8 @@
|
||||||
|
#include "nsIURLParser.h"
|
||||||
|
#include "mozilla/Attributes.h"
|
||||||
|
|
||||||
|
+#include <limits>
|
||||||
|
+
|
||||||
|
//----------------------------------------------------------------------------
|
||||||
|
// base class for url parsers
|
||||||
|
//----------------------------------------------------------------------------
|
@ -1 +1,5 @@
|
|||||||
git+http://git.nuegia.net/webbrowser.git
|
https://git.nuegia.net/webbrowser.git/snapshot/webbrowser-29.3.1.tar.xz
|
||||||
|
https://repo.palemoon.org/MoonchildProductions/UXP/archive/RELBASE_20210608.tar.gz platform/
|
||||||
|
https://ftp.gnu.org/gnu/autoconf/autoconf-2.13.tar.gz autoconf2.13/
|
||||||
|
|
||||||
|
patches/gcc11-fix.patch
|
||||||
|
Loading…
Reference in New Issue
Block a user