diff --git a/www/librewolf/Makefile b/www/librewolf/Makefile index 6ade3f720436..ffcaac21ea3c 100644 --- a/www/librewolf/Makefile +++ b/www/librewolf/Makefile @@ -1,102 +1,102 @@ PORTNAME= librewolf -DISTVERSION= 152.0.1 +DISTVERSION= 152.0.2 LWPATCH= -1 DISTVERSIONSUFFIX= ${LWPATCH}.source CATEGORIES= www wayland MASTER_SITES= https://codeberg.org/api/packages/librewolf/generic/librewolf-source/${DISTVERSION}${LWPATCH}/ MAINTAINER= freebsd@sysctl.cz COMMENT= Custom version of Firefox, focused on privacy, security and freedom WWW= https://librewolf.net/ LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= nspr>=4.32:devel/nspr \ nss>=3.124:security/nss \ icu>=76.1:devel/icu \ libevent>=2.1.8:devel/libevent \ harfbuzz>=10.1.0:print/harfbuzz \ graphite2>=1.3.14:graphics/graphite2 \ png>=1.6.45:graphics/png \ dav1d>=1.0.0:multimedia/dav1d \ libvpx>=1.15.0:multimedia/libvpx \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ v4l_compat>0:multimedia/v4l_compat \ nasm:devel/nasm \ yasm:devel/yasm \ zip:archivers/zip \ ${LOCALBASE}/share/wasi-sysroot/lib/wasm32-wasip1/libc++abi.a:devel/wasi-libcxx${LLVM_VERSION} \ ${LOCALBASE}/share/wasi-sysroot/lib/wasm32-wasip1/libc.a:devel/wasi-libc@${LLVM_VERSION} \ wasi-compiler-rt${LLVM_VERSION}>0:devel/wasi-compiler-rt${LLVM_VERSION} USE_GECKO= gecko USE_MOZILLA= -sqlite # work around bindgen not finding ICU, e.g. # dist/include/mozilla/intl/ICU4CGlue.h:8:10: fatal error: 'unicode/uenum.h' file not found, err: true CONFIGURE_ENV+= BINDGEN_CFLAGS="-I${LOCALBASE}/include" CONFIGURE_ENV+= MOZ_REQUIRE_SIGNING="" WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}${LWPATCH} FIREFOX_ICON= ${MOZILLA}.png FIREFOX_ICON_SRC= ${PREFIX}/lib/${MOZILLA}/browser/chrome/icons/default/default48.png MOZILLA_CAP= ${MOZILLA:C/^(.).*/\1/:tu}${MOZILLA:C/^.//} MOZ_EXPORT= MOZ_TELEMETRY_REPORTING="" \ MOZILLA_OFFICIAL="1" \ MOZ_OFFICIAL_BRANDING="1" \ MOZ_APP_DISPLAYNAME="${MOZILLA_CAP}" \ MOZ_APP_NAME="${MOZILLA}" MOZ_OPTIONS= --enable-application=browser \ --with-wasi-sysroot=${LOCALBASE}/share/wasi-sysroot \ --allow-addon-sideload \ --disable-crashreporter \ --disable-debug \ --disable-default-browser-agent \ --disable-tests \ --disable-updater \ --enable-hardening \ --enable-optimize \ --enable-release \ --with-app-name=${MOZILLA} \ --with-branding=browser/branding/${MOZILLA} \ --with-unsigned-addon-scopes=app,system \ --enable-bootstrap \ --with-l10n-base=${WRKSRC}/lw/l10n \ MOZ_CRASHREPORTER=0 \ MOZ_DATA_REPORTING=0 .include "${.CURDIR}/../../www/firefox/Makefile.options" .include .if ${ARCH} == i386 && ${MACHINE_CPU:Msse2} # is not enabled on i386 by default # Fix for error: always_inline function '_mm_setzero_si64' requires target feature 'sse2' CFLAGS_i386+= -msse2 .endif .if ${ARCH} == amd64 MOZ_OPTIONS+= --enable-rust-simd .endif post-extract: @${SED} -e 's|@FIREFOX_ICON@|${FIREFOX_ICON:R}|;s|@MOZILLA@|${MOZILLA}|' \ -e 's|firefox|${MOZILLA}|' \ -e 's|Firefox|${MOZILLA_CAP}|' \ <${.CURDIR}/../firefox/files/firefox.desktop.in >${WRKDIR}/${MOZILLA_EXEC_NAME}.desktop post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/browser/app/nsBrowserApp.cpp @${RM} ${WRKSRC}/mozconfig post-install: ${INSTALL_DATA} ${WRKDIR}/${MOZILLA_EXEC_NAME}.desktop ${STAGEDIR}${DESKTOPDIR} ${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps ${LN} -sf ${FIREFOX_ICON_SRC} ${STAGEDIR}${PREFIX}/share/pixmaps/${FIREFOX_ICON} .include diff --git a/www/librewolf/distinfo b/www/librewolf/distinfo index b86678c5678f..3ca8311d4a92 100644 --- a/www/librewolf/distinfo +++ b/www/librewolf/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1781815182 -SHA256 (librewolf-152.0.1-1.source.tar.gz) = e33e03eaece687102d2e15470bc7fd64ea2faf678f096a1315c78024d486e1fa -SIZE (librewolf-152.0.1-1.source.tar.gz) = 1155720623 +TIMESTAMP = 1782279878 +SHA256 (librewolf-152.0.2-1.source.tar.gz) = 2db000606af1acb50e857a57f744d2ae40325d0d81a6bb6ba648422b9114b625 +SIZE (librewolf-152.0.2-1.source.tar.gz) = 1155807761 diff --git a/www/librewolf/files/patch-python_sites_mach.txt b/www/librewolf/files/patch-python_sites_mach.txt deleted file mode 100644 index 84ca5fd16905..000000000000 --- a/www/librewolf/files/patch-python_sites_mach.txt +++ /dev/null @@ -1,32 +0,0 @@ -commit 4ae638d5bbcaa34f67b316bc79eb9c1fe14ec362 -Author: Christoph Moench-Tegeder -Date: Tue Jun 9 21:44:59 2026 +0200 - - avoid problems with python modules in mach - -diff --git python/sites/mach.txt python/sites/mach.txt -index 8f4aa95dbd04..045c15136680 100644 ---- python/sites/mach.txt -+++ python/sites/mach.txt -@@ -58,15 +58,15 @@ pth:xpcom/geckoprocesstypes_generator - pth:xpcom/idl-parser - # glean-sdk may not be installable if a wheel isn't available - # and it has to be built from source. --pypi-optional:glean-sdk==67.3.2:telemetry will not be collected --pypi-optional:orjson>=3.10:json operations will be slower in various tools -+# pypi-optional:glean-sdk==67.3.2:telemetry will not be collected -+# pypi-optional:orjson>=3.10:json operations will be slower in various tools - # Mach gracefully handles the case where `psutil` is unavailable. - # We aren't (yet) able to pin packages in automation, so we have to - # support down to the oldest locally-installed version (5.4.2). --pypi-optional:psutil>=5.4.2:telemetry will be missing some data --pypi-optional:rtoml>=0.11.0:toml operations will be slower in various tools --pypi-optional:zstandard>=0.11.1,<=0.25.0:zstd archives will not be possible to extract --vendored-fallback:pyyaml:third_party/python/pyyaml/lib/:faster native loading is disabled -+# pypi-optional:psutil>=5.4.2:telemetry will be missing some data -+# pypi-optional:rtoml>=0.11.0:toml operations will be slower in various tools -+# pypi-optional:zstandard>=0.11.1,<=0.25.0:zstd archives will not be possible to extract -+vendored:pyyaml:third_party/python/pyyaml/lib/ - vendored:third_party/python/ansicon - vendored:third_party/python/appdirs - vendored:third_party/python/async_timeout