diff --git a/extra/clang/build b/extra/clang/build index c5afd9f6..192ac429 100755 --- a/extra/clang/build +++ b/extra/clang/build @@ -2,6 +2,8 @@ export DESTDIR="$1" +cd clang + cmake -B build \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ diff --git a/extra/clang/checksums b/extra/clang/checksums index 63b12a4e..b85a5ac2 100644 --- a/extra/clang/checksums +++ b/extra/clang/checksums @@ -1 +1,2 @@ -d2b8daa737ed11765943ed655b8202142bd45ae22d7156f92892e81dd2312161be +d4ca2b1fe727cd98f8bf17b90533e80fde90637162245c6e4ed0fd6669cb293dd0 +40a6c658591f26fe23ad5e5b3e6645eea2476e31b9adbcce139949ee17f17b1dea diff --git a/extra/clang/sources b/extra/clang/sources index 02b0e730..675532fa 100644 --- a/extra/clang/sources +++ b/extra/clang/sources @@ -1 +1,2 @@ -https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.7/clang-15.0.7.src.tar.xz +https://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.3/clang-16.0.3.src.tar.xz clang +https://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.3/cmake-16.0.3.src.tar.xz cmake diff --git a/extra/firefox/checksums b/extra/firefox/checksums index ad17a894..a984beda 100644 --- a/extra/firefox/checksums +++ b/extra/firefox/checksums @@ -1,4 +1,4 @@ -226f9dd11a32ce0d0b1d40749ddc588d2c454752667e08376a2386bd1caea6e6bf +90b5f995f742706d38682a6fc982d30f60d7ad619c24c20d941a7aa4ae235c898f be44c4a1e76704bd9e0fa713f00b88e9897150eda359c3bf58c30461d9cf56e3c8 ee279241e461011e2265086328d9d0a913ab938bb81aa97fa22b8b9b7edf5e33bc 8c0f419eb138061e67dbe2ac73e9c8332649fb90aacb57ac4f00d5de94c0cf23a8 diff --git a/extra/firefox/sources b/extra/firefox/sources index 25caac6c..ae4cae52 100644 --- a/extra/firefox/sources +++ b/extra/firefox/sources @@ -1,4 +1,4 @@ -https://ftp.mozilla.org/pub/firefox/releases/113.0/source/firefox-113.0.source.tar.xz +https://ftp.mozilla.org/pub/firefox/releases/113.0.1/source/firefox-113.0.1.source.tar.xz patches/fix-linux-header.patch patches/musl-sandbox.patch patches/no-atk.patch diff --git a/extra/firefox/version b/extra/firefox/version index 104e4886..0eeea543 100644 --- a/extra/firefox/version +++ b/extra/firefox/version @@ -1 +1 @@ -113.0 1 +113.0.1 1 diff --git a/extra/gnugrep/checksums b/extra/gnugrep/checksums index 501c34ac..8eaadc6c 100644 --- a/extra/gnugrep/checksums +++ b/extra/gnugrep/checksums @@ -1 +1 @@ -1c9756b8cef4e3f823431276d29845da685d840a9fa8f4f0d56971a2713d58f92d +fa0a68606866691c453dc0aa0843bf96707d18b3b30000042d28d732d13cdd7094 diff --git a/extra/gnugrep/sources b/extra/gnugrep/sources index 07e316be..91df6a3a 100644 --- a/extra/gnugrep/sources +++ b/extra/gnugrep/sources @@ -1 +1 @@ -https://ftp.gnu.org/gnu/grep/grep-3.10.tar.xz +https://ftp.gnu.org/gnu/grep/grep-3.11.tar.xz diff --git a/extra/gnugrep/version b/extra/gnugrep/version index 8380b266..96b09630 100644 --- a/extra/gnugrep/version +++ b/extra/gnugrep/version @@ -1 +1 @@ -3.10 1 +3.11 1 diff --git a/extra/llvm/build b/extra/llvm/build index 339e5172..a9087941 100755 --- a/extra/llvm/build +++ b/extra/llvm/build @@ -2,7 +2,7 @@ export DESTDIR="$1" -mv Modules/* cmake/modules/ +cd llvm cmake -B build \ -DCMAKE_INSTALL_PREFIX=/usr \ diff --git a/extra/llvm/checksums b/extra/llvm/checksums index 8ca0dbe5..73dd2745 100644 --- a/extra/llvm/checksums +++ b/extra/llvm/checksums @@ -1,2 +1,2 @@ -7f46862f4dd9fc04559c404fef89234e67266eac3dc8f85f39e2da6e9c1a7fb96b -5e5ce50f196bcccd6f8b044bd1b2424fc11c57f04dac5a033bab5b0f573cd9824f +e1de8caff32de7c4edd4f8ca2588b3d4fdcca4937c241fe82b772f2b838f0156a1 +40a6c658591f26fe23ad5e5b3e6645eea2476e31b9adbcce139949ee17f17b1dea diff --git a/extra/llvm/sources b/extra/llvm/sources index e5d343ad..2024bef4 100644 --- a/extra/llvm/sources +++ b/extra/llvm/sources @@ -1,2 +1,2 @@ -https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.7/llvm-15.0.7.src.tar.xz -https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.7/cmake-15.0.7.src.tar.xz +https://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.3/llvm-16.0.3.src.tar.xz llvm +https://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.3/cmake-16.0.3.src.tar.xz cmake diff --git a/testing/firefox/README b/testing/firefox/README deleted file mode 100644 index 70214c4d..00000000 --- a/testing/firefox/README +++ /dev/null @@ -1,123 +0,0 @@ -firefox -________________________________________________________________________________ - -Mozilla Firefox or simply Firefox, is a free and open-source web browser -developed by the Mozilla Foundation and its subsidiary, the Mozilla Corporation. -Firefox uses the Gecko rendering engine to display web pages. [0] - -Upstream: https://www.mozilla.org/firefox - - -[000] Index -________________________________________________________________________________ - -* Installation ........................................................... [001] - * Runtime Dependencies ................................................. [002] - * Privacy Package ...................................................... [003] -* Setup .................................................................. [004] - * Enable VAAPI Acceleration ............................................ [005] -* Usage .................................................................. [006] -* References ............................................................. [007] - - -[001] Installation -________________________________________________________________________________ - -+------------------------------------------------------------------------------+ -| | -| $ kiss b firefox | -| | -+------------------------------------------------------------------------------+ - - ---[002] Runtime Dependencies --------------------------------------------------- - - Firefox needs a few additional things to be fully functional. One is an icon - theme and the other is a font. If you have already installed the fonts and - icon theme of your choosing, this step can be skipped. - - +----------------------------------------------------------------------------+ - | | - | $ kiss b [hicolor-icon-theme|adwaita-icon-theme] | - | $ kiss b ttf-croscore | - | | - +----------------------------------------------------------------------------+ - - ---[003] Privacy Package -------------------------------------------------------- - - Provided is also an optional privacy package which makes Firefox perform zero - unsolicited network requests. More information can be found in the - documentation (@/firefox-privacy) Expect some website breakage when using this - privacy package YMMV. - - +----------------------------------------------------------------------------+ - | | - | $ kiss b firefox-privacy | - | | - +----------------------------------------------------------------------------+ - - -[004] Setup -________________________________________________________________________________ - -As of Firefox 91. There is no need to set special environment variables to -enable Wayland support (in a Wayland only environment like ours). The browser -should start with no further configuration. - - ---[005] Enable VAAPI Acceleration ---------------------------------------------- - -As of Firefox 102, only the following modification to about:config should be -required, with no need to disable any sandbox features. - -+------------------------------------------------------------------------------+ -| | -| about:config | -| | -| media.ffmpeg.vaapi.enabled=true | -| | -+------------------------------------------------------------------------------+ - -If using AMDGPU, the following kernel option must be enabled. [1] - -+------------------------------------------------------------------------------+ -| | -| .config | -| | -| CONFIG_CHECKPOINT_RESTORE=y | -| | -+------------------------------------------------------------------------------+ - -You may also need to set the following environment variable. - -+------------------------------------------------------------------------------+ -| | -| .profile | -| | -| export MOZ_WAYLAND_DRM_DEVICE=/dev/dri/renderD128 | -| | -+------------------------------------------------------------------------------+ - -To verify that VAAPI is working, launch Firefox with the following argument and -attempt to watch a video. Pay attention for errors in the output. - -+------------------------------------------------------------------------------+ -| | -| $ firefox --MOZ_LOG=PlatformDecoderModule:4 | -| | -+------------------------------------------------------------------------------+ - - -[006] Usage -________________________________________________________________________________ - -Refer to the browser's help output and online documentation for further -information. - - -[007] References -________________________________________________________________________________ - -[0] https://en.wikipedia.org/wiki/Firefox - diff --git a/testing/firefox/build b/testing/firefox/build deleted file mode 100755 index 6e3e0f5d..00000000 --- a/testing/firefox/build +++ /dev/null @@ -1,82 +0,0 @@ -#!/bin/sh -e - -for p in *.patch; do - patch -p1 < "$p" -done - -sed '/UNZIP/d' toolkit/moz.configure > _ -mv -f _ toolkit/moz.configure - -# Remove upper limit on psutil for those encountering build errors when using -# python-psutil from community. -sed 's/psutil>=5\.4\.2,<=5\.8\.0/psutil>=5\.4\.2/g' python/sites/mach.txt > _ -mv -f _ python/sites/mach.txt - -# If using libc++, CXXSTDLIB needs to be set manually. -case $("$CC" -print-file-name=libc++.so) in */*) - export CXXSTDLIB=c++ -esac - -export CFLAGS="$CFLAGS -w" -export CXXFLAGS="$CXXFLAGS -w" - -# Instruct the compiler to trim absolute paths in resulting binaries and instead -# change them to relative paths ($PWD/... ./...). -export RUSTFLAGS="$RUSTFLAGS --remap-path-prefix=$PWD=." - -export LDFLAGS="$LDFLAGS -Wl,-rpath=/usr/lib/firefox,--enable-new-dtags" -export RUSTFLAGS="$RUSTFLAGS -Cdebuginfo=0" -export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=system -export MOZ_DEBUG_FLAGS=-g0 -export MOZBUILD_STATE_PATH="$PWD/state" -export MOZ_NOSPAM=1 - -cat > .mozconfig << EOF -ac_add_options --prefix=/usr -ac_add_options --libdir=/usr/lib -ac_add_options --enable-default-toolkit=cairo-gtk3-wayland-only -ac_add_options --enable-strip -ac_add_options --enable-release -ac_add_options --enable-rust-simd -ac_add_options --enable-audio-backends=alsa -ac_add_options --enable-install-strip -ac_add_options --enable-official-branding -ac_add_options --enable-application=browser -ac_add_options --enable-optimize -ac_add_options --with-system-ffi -ac_add_options --with-system-jpeg -ac_add_options --with-system-libvpx -ac_add_options --with-system-nspr -ac_add_options --with-system-nss -ac_add_options --with-system-pixman -ac_add_options --with-system-png -ac_add_options --with-system-webp -ac_add_options --with-system-zlib -ac_add_options --without-wasm-sandboxed-libraries -ac_add_options --disable-eme -ac_add_options --disable-dbus -ac_add_options --disable-tests -ac_add_options --disable-vtune -ac_add_options --disable-updater -ac_add_options --disable-jemalloc -ac_add_options --disable-elf-hack -ac_add_options --disable-callgrind -ac_add_options --disable-profiling -ac_add_options --disable-necko-wifi -ac_add_options --disable-crashreporter -ac_add_options --disable-accessibility -ac_add_options --disable-debug -ac_add_options --disable-debug-symbols -ac_add_options --disable-parental-controls -ac_add_options --disable-system-extension-dirs -EOF - -./mach build -./mach run -DESTDIR="$1" ./mach install - -# Remove a lot of uneeded "stuff". -rm -rf \ - "$1/usr/include" \ - "$1/usr/lib/firefox-devel" \ - "$1/usr/share/idl" diff --git a/testing/firefox/checksums b/testing/firefox/checksums deleted file mode 100644 index 7a2e71e8..00000000 --- a/testing/firefox/checksums +++ /dev/null @@ -1,7 +0,0 @@ -a8aa6ca676851c2cf28396610644f61215c0d2473c1a34b0da95d198804eef9326 -be44c4a1e76704bd9e0fa713f00b88e9897150eda359c3bf58c30461d9cf56e3c8 -ee279241e461011e2265086328d9d0a913ab938bb81aa97fa22b8b9b7edf5e33bc -8c0f419eb138061e67dbe2ac73e9c8332649fb90aacb57ac4f00d5de94c0cf23a8 -3bfec8b5e7cb94481d94e1039a602e14564c8a6da5a28f089ce4a69d23f9e42bbb -2914dbf6d620c3403fbe99fcd04618eaab4257b706470dec3bacc5952f79a0fa31 -2a1a5e3e928687cca972b6d7ee53f35420fec364ffeda0131f38a42bec309b1c23 diff --git a/testing/firefox/depends b/testing/firefox/depends deleted file mode 100644 index fbbaacd4..00000000 --- a/testing/firefox/depends +++ /dev/null @@ -1,33 +0,0 @@ -alsa-lib -bzip2 -cairo -cbindgen make -clang make -expat -ffmpeg -fontconfig -freetype-harfbuzz -gdk-pixbuf -glib -gtk+3 -libdrm -libffi -libjpeg-turbo -libpng -libvpx -libwebp -llvm make -m4 make -mesa -nasm make -nodejs make -nspr -nss -pango -pixman -pkgconf make -python make -rust make -wayland -wayland-protocols make -zlib diff --git a/testing/firefox/patches/fix-linux-header.patch b/testing/firefox/patches/fix-linux-header.patch deleted file mode 100644 index 9f7fc51a..00000000 --- a/testing/firefox/patches/fix-linux-header.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/dom/media/webrtc/transport/third_party/nICEr/src/stun/addrs-netlink.c b/dom/media/webrtc/transport/third_party/nICEr/src/stun/addrs-netlink.c -index 73e85c6ccc..9eca548638 100644 ---- a/dom/media/webrtc/transport/third_party/nICEr/src/stun/addrs-netlink.c -+++ b/dom/media/webrtc/transport/third_party/nICEr/src/stun/addrs-netlink.c -@@ -31,6 +31,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - #if defined(LINUX) -+#include - #include "addrs-netlink.h" - #include - #include diff --git a/testing/firefox/patches/musl-sandbox.patch b/testing/firefox/patches/musl-sandbox.patch deleted file mode 100644 index c3bb72b2..00000000 --- a/testing/firefox/patches/musl-sandbox.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff --git a/security/sandbox/linux/SandboxFilter.cpp b/security/sandbox/linux/SandboxFilter.cpp -index dffefac..19cc432 100644 ---- a/security/sandbox/linux/SandboxFilter.cpp -+++ b/security/sandbox/linux/SandboxFilter.cpp -@@ -1595,6 +1595,11 @@ class ContentSandboxPolicy : public SandboxPolicyCommon { - case __NR_clone3: - return Error(ENOSYS); - -+# ifdef __NR_fork -+ case __NR_fork: -+ return Error(ENOSYS); -+# endif -+ - # ifdef __NR_fadvise64 - case __NR_fadvise64: - return Allow(); -@@ -1736,10 +1741,10 @@ class GMPSandboxPolicy : public SandboxPolicyCommon { - return Allow(); - case __NR_sched_get_priority_min: - case __NR_sched_get_priority_max: -+ case __NR_sched_setscheduler: - return Allow(); - case __NR_sched_getparam: -- case __NR_sched_getscheduler: -- case __NR_sched_setscheduler: { -+ case __NR_sched_getscheduler: { - Arg pid(0); - return If(pid == 0, Allow()).Else(Trap(SchedTrap, nullptr)); - } diff --git a/testing/firefox/patches/no-atk.patch b/testing/firefox/patches/no-atk.patch deleted file mode 100644 index 807b7de6..00000000 --- a/testing/firefox/patches/no-atk.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/widget/gtk/nsWindow.cpp b/widget/gtk/nsWindow.cpp -index b77fadc..520305a 100644 ---- a/widget/gtk/nsWindow.cpp -+++ b/widget/gtk/nsWindow.cpp -@@ -659,9 +659,11 @@ void nsWindow::Destroy() { - // We need to detach accessible object here because mContainer is a custom - // widget and doesn't call gtk_widget_real_destroy() from destroy handler - // as regular widgets. -+#ifdef ACCESSIBILITY - if (AtkObject* ac = gtk_widget_get_accessible(GTK_WIDGET(mContainer))) { - gtk_accessible_set_widget(GTK_ACCESSIBLE(ac), nullptr); - } -+#endif - - gtk_widget_destroy(mShell); - mShell = nullptr; diff --git a/testing/firefox/patches/no-dbus.patch b/testing/firefox/patches/no-dbus.patch deleted file mode 100644 index 18f547d5..00000000 --- a/testing/firefox/patches/no-dbus.patch +++ /dev/null @@ -1,56 +0,0 @@ -diff -r fc5ee47dac3e toolkit/components/remote/moz.build ---- a/toolkit/components/remote/moz.build Tue Jun 28 12:00:27 2022 -0500 -+++ b/toolkit/components/remote/moz.build Thu Jun 30 00:35:24 2022 -0500 -@@ -26,7 +26,7 @@ - "nsUnixRemoteServer.h", - "RemoteUtils.h", - ] -- else: -+ elif CONFIG["MOZ_X11"]: - SOURCES += [ - "nsGTKRemoteServer.cpp", - "nsXRemoteClient.cpp", -diff -r fc5ee47dac3e toolkit/components/remote/nsRemoteService.cpp ---- a/toolkit/components/remote/nsRemoteService.cpp Tue Jun 28 12:00:27 2022 -0500 -+++ b/toolkit/components/remote/nsRemoteService.cpp Thu Jun 30 00:35:24 2022 -0500 -@@ -6,12 +6,14 @@ - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - #ifdef MOZ_WIDGET_GTK --# ifdef MOZ_ENABLE_DBUS -+# if defined(MOZ_ENABLE_DBUS) - # include "nsDBusRemoteServer.h" - # include "nsDBusRemoteClient.h" --# else -+# elif defined(MOZ_X11) - # include "nsGTKRemoteServer.h" - # include "nsXRemoteClient.h" -+# else -+# include "nsRemoteClient.h" - # endif - #elif defined(XP_WIN) - # include "nsWinRemoteServer.h" -@@ -94,8 +96,10 @@ - #ifdef MOZ_WIDGET_GTK - # if defined(MOZ_ENABLE_DBUS) - client = MakeUnique(); -+# elif defined(MOZ_X11) -+ client = MakeUnique(); - # else -- client = MakeUnique(); -+ return REMOTE_NOT_FOUND; - # endif - #elif defined(XP_WIN) - client = MakeUnique(); -@@ -138,8 +142,10 @@ - #ifdef MOZ_WIDGET_GTK - # if defined(MOZ_ENABLE_DBUS) - mRemoteServer = MakeUnique(); -+# elif defined(MOZ_X11) -+ mRemoteServer = MakeUnique(); - # else -- mRemoteServer = MakeUnique(); -+ return; - # endif - #elif defined(XP_WIN) - mRemoteServer = MakeUnique(); diff --git a/testing/firefox/patches/no-fribidi.patch b/testing/firefox/patches/no-fribidi.patch deleted file mode 100644 index 89b4468a..00000000 --- a/testing/firefox/patches/no-fribidi.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/config/system-headers.mozbuild b/config/system-headers.mozbuild -index a1b58eb59b..d35da57db3 100644 ---- a/config/system-headers.mozbuild -+++ b/config/system-headers.mozbuild -@@ -267,7 +267,6 @@ system_headers = [ - 'freetype/t1tables.h', - 'freetype/ttnameid.h', - 'freetype/tttables.h', -- 'fribidi/fribidi.h', - 'FSp_fopen.h', - 'fstream', - 'fstream.h', diff --git a/testing/firefox/patches/no-perl.patch b/testing/firefox/patches/no-perl.patch deleted file mode 100644 index bcde015a..00000000 --- a/testing/firefox/patches/no-perl.patch +++ /dev/null @@ -1,65 +0,0 @@ -diff --git a/moz.configure b/moz.configure -index 95763e2..dc0ed30 100755 ---- a/moz.configure -+++ b/moz.configure -@@ -527,60 +527,6 @@ def awk_for_old_configure(value): - - add_old_configure_assignment("AWK", awk_for_old_configure) - -- --# Perl detection --# ============================================================== --perl = check_prog("PERL", ("perl5", "perl")) -- --# Until the PERL variable is not necessary in old-configure -- -- --@depends(perl) --def perl_for_old_configure(value): -- return value -- -- --add_old_configure_assignment("PERL", perl_for_old_configure) -- -- --@template --def perl_version_check(min_version): -- @depends(perl) -- @checking("for minimum required perl version >= %s" % min_version) -- def get_perl_version(perl): -- return Version( -- check_cmd_output( -- perl, -- "-e", -- "print $]", -- onerror=lambda: die("Failed to get perl version."), -- ) -- ) -- -- @depends(get_perl_version) -- def check_perl_version(version): -- if version < min_version: -- die("Perl %s or higher is required.", min_version) -- -- @depends(perl) -- @checking("for full perl installation") -- @imports("subprocess") -- def has_full_perl_installation(perl): -- ret = subprocess.call([perl, "-e", "use Config; exit(!-d $Config{archlib})"]) -- return ret == 0 -- -- @depends(has_full_perl_installation) -- def require_full_perl_installation(has_full_perl_installation): -- if not has_full_perl_installation: -- die( -- "Cannot find Config.pm or $Config{archlib}. " -- "A full perl installation is required." -- ) -- -- --perl_version_check("5.006") -- -- - # GNU make detection - # ============================================================== - option(env="MAKE", nargs=1, help="Path to GNU make") diff --git a/testing/firefox/post-install b/testing/firefox/post-install deleted file mode 100755 index f4d91a7e..00000000 --- a/testing/firefox/post-install +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -cat <