From 4541b93600b49ba8aec9d7276cdae0275809cee6 Mon Sep 17 00:00:00 2001 From: Owen Rafferty Date: Sat, 4 Mar 2023 13:50:40 -0600 Subject: [PATCH] firefox [testing]: 111.0b8 --- testing/firefox/build | 1 - testing/firefox/checksums | 3 ++- testing/firefox/patches/no-atk.patch | 16 ++++++++++++++++ testing/firefox/sources | 3 ++- testing/firefox/version | 2 +- 5 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 testing/firefox/patches/no-atk.patch diff --git a/testing/firefox/build b/testing/firefox/build index 007cb2bc..4bbe0e7a 100755 --- a/testing/firefox/build +++ b/testing/firefox/build @@ -72,7 +72,6 @@ ac_add_options --disable-system-extension-dirs EOF ./mach build -./mach run ./mach install # Remove a lot of uneeded "stuff". diff --git a/testing/firefox/checksums b/testing/firefox/checksums index 5363c7d4..ae3f4568 100644 --- a/testing/firefox/checksums +++ b/testing/firefox/checksums @@ -1,6 +1,7 @@ -ad69f4698b8efe5e8c2692c437ffb1c0c54cd44bea64431656973ebee931aa8b7d +bea3caa195be81a439fbc1807b2689bb791b93652ccd8b83f30c694430b96a9442 be44c4a1e76704bd9e0fa713f00b88e9897150eda359c3bf58c30461d9cf56e3c8 ee279241e461011e2265086328d9d0a913ab938bb81aa97fa22b8b9b7edf5e33bc +8c0f419eb138061e67dbe2ac73e9c8332649fb90aacb57ac4f00d5de94c0cf23a8 3bfec8b5e7cb94481d94e1039a602e14564c8a6da5a28f089ce4a69d23f9e42bbb 2914dbf6d620c3403fbe99fcd04618eaab4257b706470dec3bacc5952f79a0fa31 2a1a5e3e928687cca972b6d7ee53f35420fec364ffeda0131f38a42bec309b1c23 diff --git a/testing/firefox/patches/no-atk.patch b/testing/firefox/patches/no-atk.patch new file mode 100644 index 00000000..807b7de6 --- /dev/null +++ b/testing/firefox/patches/no-atk.patch @@ -0,0 +1,16 @@ +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/sources b/testing/firefox/sources index 1c0d3fc1..cbe6a763 100644 --- a/testing/firefox/sources +++ b/testing/firefox/sources @@ -1,6 +1,7 @@ -https://ftp.mozilla.org/pub/firefox/releases/111.0b3/source/firefox-111.0b3.source.tar.xz +https://ftp.mozilla.org/pub/firefox/releases/111.0b8/source/firefox-111.0b8.source.tar.xz patches/fix-linux-header.patch patches/musl-sandbox.patch +patches/no-atk.patch patches/no-dbus.patch patches/no-fribidi.patch patches/no-perl.patch diff --git a/testing/firefox/version b/testing/firefox/version index b72b2688..092225ee 100644 --- a/testing/firefox/version +++ b/testing/firefox/version @@ -1 +1 @@ -111.0b3 1 +111.0b8 1