From ca8bcc4dcc6149cd56b4cce5799f0998a5195d0c Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 20 Jun 2026 02:03:13 +0100 Subject: [PATCH 1/1] www/librewolf: update to 152.0.1-2 build fix removed as it's now merged in librewolf proper Signed-off-by: Leah Rowe --- www/librewolf/Makefile | 4 +-- www/librewolf/distinfo | 4 +-- ...atch-gfx_wr_webrender_src_texture_cache_rs | 28 ------------------- www/librewolf/patches/patch-lw_policies_json | 4 +-- www/librewolf/pkg/PLIST | 1 + 5 files changed, 7 insertions(+), 34 deletions(-) delete mode 100644 www/librewolf/patches/patch-gfx_wr_webrender_src_texture_cache_rs diff --git a/www/librewolf/Makefile b/www/librewolf/Makefile index 1482096ff04..869e5554c0e 100644 --- a/www/librewolf/Makefile +++ b/www/librewolf/Makefile @@ -13,7 +13,7 @@ ONLY_FOR_ARCHS = amd64 aarch64 riscv64 # If upstream adds revision number -x, it will become plx in OpenBSD, e.g. # librewolf-149.0.2-2 (upstream) becomes librewolf-149.0.2pl2 (patch level 2) -MOZILLA_DIST_VERSION = 151.0.4-1 +MOZILLA_DIST_VERSION = 152.0.1-2 MOZILLA_VERSION = ${MOZILLA_DIST_VERSION:C/-([0-9]+)$/pl\1/} MOZILLA_PROJECT = librewolf @@ -21,7 +21,7 @@ MOZILLA_CODENAME = browser MAINTAINER = Leah Rowe HOMEPAGE = https://librewolf.net/ -SO_VERSION = 0.0 +SO_VERSION = 1.0 # Bump minor ver if shlibs deleted in components dir to avoid pkg_add -r issues MOZILLA_LIBS = mozavcodec mozavutil mozgtk mozinference mozwayland xul \ clearkey gkcodecs lgpllibs mozsqlite3 diff --git a/www/librewolf/distinfo b/www/librewolf/distinfo index f69e1443240..5f31879e466 100644 --- a/www/librewolf/distinfo +++ b/www/librewolf/distinfo @@ -1,2 +1,2 @@ -SHA256 (librewolf/librewolf-151.0.4-1.source.tar.gz) = wnDBq5RsceRY9BueuNuIt28wuYxLh8vZwjzOjZGSW5I= -SIZE (librewolf/librewolf-151.0.4-1.source.tar.gz) = 1130916151 +SHA256 (librewolf/librewolf-152.0.1-2.source.tar.gz) = w5n3PmEViTfTSEzF2H81yCZsPnB/HUIRZlDEgnv8V8w= +SIZE (librewolf/librewolf-152.0.1-2.source.tar.gz) = 1155722816 diff --git a/www/librewolf/patches/patch-gfx_wr_webrender_src_texture_cache_rs b/www/librewolf/patches/patch-gfx_wr_webrender_src_texture_cache_rs deleted file mode 100644 index f25e0f9476a..00000000000 --- a/www/librewolf/patches/patch-gfx_wr_webrender_src_texture_cache_rs +++ /dev/null @@ -1,28 +0,0 @@ -fix build with cbindgen 0.29.4 - -see https://bugzilla.mozilla.org/show_bug.cgi?id=2046162 - -Index: gfx/wr/webrender/src/texture_cache.rs ---- gfx/wr/webrender/src/texture_cache.rs.orig -+++ gfx/wr/webrender/src/texture_cache.rs -@@ -273,9 +273,9 @@ enum BudgetType { - } - - impl BudgetType { -- pub const COUNT: usize = 7; -+ const COUNT: usize = 7; - -- pub const VALUES: [BudgetType; BudgetType::COUNT] = [ -+ const VALUES: [BudgetType; BudgetType::COUNT] = [ - BudgetType::SharedColor8Linear, - BudgetType::SharedColor8Nearest, - BudgetType::SharedColor8Glyphs, -@@ -285,7 +285,7 @@ impl BudgetType { - BudgetType::Standalone, - ]; - -- pub const PRESSURE_COUNTERS: [usize; BudgetType::COUNT] = [ -+ const PRESSURE_COUNTERS: [usize; BudgetType::COUNT] = [ - profiler::ATLAS_COLOR8_LINEAR_PRESSURE, - profiler::ATLAS_COLOR8_NEAREST_PRESSURE, - profiler::ATLAS_COLOR8_GLYPHS_PRESSURE, diff --git a/www/librewolf/patches/patch-lw_policies_json b/www/librewolf/patches/patch-lw_policies_json index 6b81bf9bb92..0789868e1ae 100644 --- a/www/librewolf/patches/patch-lw_policies_json +++ b/www/librewolf/patches/patch-lw_policies_json @@ -10,13 +10,13 @@ Index: lw/policies.json + "DontCheckDefaultBrowser": true, + "GoToIntranetSiteForSingleWordEntryInAddressBar": true, + "FirefoxHome": { -+ "SponsoredStories": false, ++ "SponsoredStories": false, + "SponsoredTopSites": false, + "Stories": false + }, + "GenerativeAI": { + "Enabled": false + }, + "DefaultSerialGuardSetting": 3, "WebsiteFilter": { "Block": [ - "https://localhost/*" diff --git a/www/librewolf/pkg/PLIST b/www/librewolf/pkg/PLIST index 243b7510726..8a89d2c1e3b 100644 --- a/www/librewolf/pkg/PLIST +++ b/www/librewolf/pkg/PLIST @@ -70,6 +70,7 @@ lib/${MOZILLA_PROJECT}/omni.ja lib/${MOZILLA_PROJECT}/platform.ini lib/${MOZILLA_PROJECT}/removed-files @bin lib/${MOZILLA_PROJECT}/vaapitest +@bin lib/${MOZILLA_PROJECT}/vulkantest @man man/man1/${MOZILLA_PROJECT}.1 share/applications/${MOZILLA_PROJECT}.desktop share/doc/pkg-readmes/${PKGSTEM} -- 2.54.0