Skip to content

Commit

Permalink
bump(x11/firefox): 132.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
truboxl committed Nov 12, 2024
1 parent 5bf8789 commit ede751a
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 23 deletions.
33 changes: 13 additions & 20 deletions x11-packages/firefox/0013-fix-rust-compile.patch
Original file line number Diff line number Diff line change
Expand Up @@ -11,41 +11,34 @@
]
--- a/toolkit/library/rust/shared/Cargo.toml
+++ b/toolkit/library/rust/shared/Cargo.toml
@@ -104,7 +104,6 @@
# Since we're building with at least rustc 1.63, enable rust 1.57 features (use of try_reserve methods).
fallible_collections = { version = "0.4", features = ["rust_1_57"] }
@@ -106,7 +106,6 @@

libz-rs-sys = { git = "https://github.com/memorysafety/zlib-rs", rev = "4aa430ccb77537d0d60dab8db993ca51bb1194c5", features = ["custom-prefix"], optional = true }

-[target.'cfg(not(target_os = "android"))'.dependencies]
gkrust-uniffi-components = { path = "../../../components/uniffi-bindgen-gecko-js/components/" }
gkrust-uniffi-fixtures = { path = "../../../components/uniffi-bindgen-gecko-js/fixtures/", optional = true }
viaduct = "0.1"
webext_storage_bridge = { path = "../../../components/extensions/storage/webext_storage_bridge" }
tabs = { version = "0.1" }
--- a/toolkit/library/rust/shared/lib.rs
+++ b/toolkit/library/rust/shared/lib.rs
@@ -51,20 +51,16 @@
@@ -54,7 +54,6 @@

extern crate audio_thread_priority;

-#[cfg(not(target_os = "android"))]
extern crate webext_storage_bridge;

-#[cfg(not(target_os = "android"))]
extern crate tabs;

-#[cfg(not(target_os = "android"))]
mod reexport_appservices_uniffi_scaffolding {
tabs::uniffi_reexport_scaffolding!();
relevancy::uniffi_reexport_scaffolding!();
suggest::uniffi_reexport_scaffolding!();
}

-#[cfg(not(target_os = "android"))]
extern crate suggest;

#[cfg(feature = "webrtc")]
@@ -93,7 +88,6 @@
@@ -84,13 +83,11 @@
extern crate l10nregistry_ffi;
extern crate localization_ffi;

-#[cfg(not(target_os = "android"))]
extern crate gkrust_uniffi_components;

#[cfg(feature = "uniffi_fixtures")]
extern crate gkrust_uniffi_fixtures;

-#[cfg(not(target_os = "android"))]
extern crate viaduct;

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
https://github.com/termux/termux-packages/issues/18792
https://bugzilla.mozilla.org/show_bug.cgi?id=1637465

This should be a temporary measure. Look into enable building the same
feature set as desktop.

--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -3711,7 +3711,7 @@

pref("webextensions.storage.sync.enabled", true);
// Should we use the old kinto-based implementation of storage.sync? To be removed in bug 1637465.
-pref("webextensions.storage.sync.kinto", false);
+pref("webextensions.storage.sync.kinto", true);
// Server used by the old kinto-based implementation of storage.sync.
pref("webextensions.storage.sync.serverURL", "https://webextensions.settings.services.mozilla.com/v1");

5 changes: 2 additions & 3 deletions x11-packages/firefox/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.mozilla.org/firefox
TERMUX_PKG_DESCRIPTION="Mozilla Firefox web browser"
TERMUX_PKG_LICENSE="MPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="131.0.3"
TERMUX_PKG_REVISION=1
TERMUX_PKG_VERSION="132.0.1"
TERMUX_PKG_SRCURL=https://archive.mozilla.org/pub/firefox/releases/${TERMUX_PKG_VERSION}/source/firefox-${TERMUX_PKG_VERSION}.source.tar.xz
TERMUX_PKG_SHA256=7a7df3f97737453efaa243ca9dbaf95d0f0f833c5dc8afacb5704ee16ef060d0
TERMUX_PKG_SHA256=5c031b572c1da726677e2ff97b6ad5a7e3b23387a6fc3963391cb562f80a5e48
# ffmpeg and pulseaudio are dependencies through dlopen(3):
TERMUX_PKG_DEPENDS="ffmpeg, fontconfig, freetype, gdk-pixbuf, glib, gtk3, libandroid-shmem, libandroid-spawn, libc++, libcairo, libevent, libffi, libice, libicu, libjpeg-turbo, libnspr, libnss, libpixman, libsm, libvpx, libwebp, libx11, libxcb, libxcomposite, libxdamage, libxext, libxfixes, libxrandr, libxtst, pango, pulseaudio, zlib"
TERMUX_PKG_BUILD_DEPENDS="libcpufeatures, libice, libsm"
Expand Down

0 comments on commit ede751a

Please sign in to comment.