From nobody Wed Jul 10 22:26:45 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WKCBt1Dbnz5RH9h; Wed, 10 Jul 2024 22:26:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WKCBt0c7yz4NK6; Wed, 10 Jul 2024 22:26:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720650406; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Eqf6YwuAH0JZXBz+1ORTGoFBW+2uV7fkJwtrqLpxSDw=; b=ZvwF2VQfkoEGamV2zk/FImPfyo0v0QmeX4yfCSPNCStWqhIcqtoG9y5qmJiFNu3MLsqWQ5 fOtkiQyCTjwtnyW8O3GuYLghJ02BcsPEoA0X0p4xynJCKzdElBsRmPUVbLeKMChWt3HyYy WX6O5xxBMu5rDstYdUZAqEWRLSs2oN101gxkUy2BhBbQhviQBE33YclQ70CUB10LiHfWkb PJuiNmT08L9t6ezq2a0lK1isYiIQE6Fs698pFC1JxKDXh2pkHJqIw+CWGJL4b6r0TSnHhS Gcuxdk7H8hU0rbtPAW73dfscPefSz2LUoZjKIOM7/8b0F+H9CPWobpBRQjyW4w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1720650406; a=rsa-sha256; cv=none; b=M9o/dcPxfYRXY9J6uymh+uYhuSTtjTkt8q4rGiHOk5cow66Z/nyvL+lo0o8/bRXUx7J6MU 7Lx+FNsazbSx1seHInJFwLAw8g+5kvu62qnTFRGMuiilJ3t3/zPaKiKhK92o2fDUfyZdft HuRSUDjAK+PucIE1nNcBI3/ybXI1qzvc+uvSmICDZa655cBfuKdCpjeFcyVfVA2QPqWJ+X wKrCuYlU2l07G1VHKK5I5G74jH9A/qkTYGP/UHBvAOJHVJkh883j7lh7OZrOxZbS1zpmvv zTbpF6kjlU1G7Pq+mTjCP7SseNBTnpwOPEf34PLnAJbF7ZW/eLlrmAvIZoBc5w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720650406; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Eqf6YwuAH0JZXBz+1ORTGoFBW+2uV7fkJwtrqLpxSDw=; b=pNdQLA6UV4TH/eOQUKndDmbRTRUt2YjRRGgp0ka0NBTja598OOs3jqBFq7N32VjuCqjGwb 0GqZKesVaCZsKEglKK4n7DQdMaBUiz2jXcN2V4yxoCp9bjQaD1Cqt4GQ5Kq4jKQVD/bJl7 N8FnaEslCkhRngMLjj+HO+acR5cUA9aJ1FmcmyfbKy70jU01U6fH4CRGM6rWvvOHwyRzrW tj6vr/CFnmA631fBHmearnS1MeeLi6sd0STwQVHEKs1+vIFMqYJYHzqUMRPnyTViNsRDmJ MwQ/Po0p/31cbZ3YF3njFbBCqeat16QkZfBVRg1DnKjrtqlnU7KZKRmxKJiiXg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WKCBt01yKzZvM; Wed, 10 Jul 2024 22:26:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46AMQjrC014061; Wed, 10 Jul 2024 22:26:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46AMQjmH014058; Wed, 10 Jul 2024 22:26:45 GMT (envelope-from git) Date: Wed, 10 Jul 2024 22:26:45 GMT Message-Id: <202407102226.46AMQjmH014058@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Vladimir Druzenko Subject: git: 3a9378356f85 - 2024Q3 - www/librewolf: update 127.0.1-1 =?utf-8?Q?=E2=86=92?= 127.0.2-2 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vvd X-Git-Repository: ports X-Git-Refname: refs/heads/2024Q3 X-Git-Reftype: branch X-Git-Commit: 3a9378356f85f403421ff0bc4946e78510393996 Auto-Submitted: auto-generated The branch 2024Q3 has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=3a9378356f85f403421ff0bc4946e78510393996 commit 3a9378356f85f403421ff0bc4946e78510393996 Author: Martin Filla AuthorDate: 2024-07-10 22:08:30 +0000 Commit: Vladimir Druzenko CommitDate: 2024-07-10 22:26:38 +0000 www/librewolf: update 127.0.1-1 → 127.0.2-2 Based on Firefox 127.0.2: https://www.mozilla.org/en-US/firefox/127.0.2/releasenotes/ While here: make the Makefile more like www/firefox/Makefile. PR: 280214 MFH: 2024Q3 (cherry picked from commit 49447045b4dac36c4aa6467fd3d75c4426ea8c76) --- www/librewolf/Makefile | 69 +++++++++++++++++++++++++------------------------- www/librewolf/distinfo | 6 ++--- 2 files changed, 38 insertions(+), 37 deletions(-) diff --git a/www/librewolf/Makefile b/www/librewolf/Makefile index b6f798376372..3384642d6443 100644 --- a/www/librewolf/Makefile +++ b/www/librewolf/Makefile @@ -1,9 +1,8 @@ PORTNAME= librewolf -DISTVERSION= 127.0.1 +DISTVERSION= 127.0.2-2 +DISTVERSIONSUFFIX= .source CATEGORIES= www wayland -MASTER_SITES= https://gitlab.com/api/v4/projects/32320088/packages/generic/librewolf-source/${DISTVERSION:R}-1/ -DISTNAME= ${PORTNAME}-${DISTVERSION:R}-1.source. -EXTRACT_SUFX= tar.gz +MASTER_SITES= https://gitlab.com/api/v4/projects/32320088/packages/generic/${PORTNAME}-source/${DISTVERSION}/ MAINTAINER= freebsd@sysctl.cz COMMENT= Custom version of Firefox, focused on privacy, security and freedom @@ -13,12 +12,12 @@ LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= nspr>=4.32:devel/nspr \ - nss>=3.95:security/nss \ + nss>=3.101:security/nss \ icu>=73.1:devel/icu \ libevent>=2.1.8:devel/libevent \ - harfbuzz>=8.3.0:print/harfbuzz \ + harfbuzz>=8.5.0:print/harfbuzz \ graphite2>=1.3.14:graphics/graphite2 \ - png>=1.6.39:graphics/png \ + png>=1.6.43:graphics/png \ dav1d>=1.0.0:multimedia/dav1d \ libvpx>=1.14.0:multimedia/libvpx \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ @@ -28,31 +27,26 @@ BUILD_DEPENDS= nspr>=4.32:devel/nspr \ yasm:devel/yasm \ zip:archivers/zip -.include "${.CURDIR}/../../www/firefox/Makefile.options" - -.include - -.if ${ARCH} != powerpc64 -BUILD_DEPENDS+= ${LOCALBASE}/share/wasi-sysroot/lib/wasm32-wasi/libc++abi.a:devel/wasi-libcxx${LLVM_VERSION} \ - ${LOCALBASE}/share/wasi-sysroot/lib/wasm32-wasi/libc.a:devel/wasi-libc \ - wasi-compiler-rt${LLVM_VERSION}>0:devel/wasi-compiler-rt${LLVM_VERSION} -.endif - USE_GECKO= gecko USE_MOZILLA= -sqlite -CFLAGS_powerpc64le= -DSQLITE_BYTEORDER=1234 # 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="" +CFLAGS_powerpc64le= -DSQLITE_BYTEORDER=1234 + +WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} + +MOZILLA_CAP= ${MOZILLA:C/^(.).*/\1/:tu}${MOZILLA:C/^.//} + MOZ_EXPORT+= MOZ_TELEMETRY_REPORTING="" \ MOZILLA_OFFICIAL="1" \ MOZ_OFFICIAL_BRANDING="1" \ - MOZ_APP_DISPLAYNAME="Librewolf" \ - MOZ_APP_NAME="librewolf" + MOZ_APP_DISPLAYNAME="${MOZILLA_CAP}" \ + MOZ_APP_NAME="${MOZILLA}" -MOZ_OPTIONs= --enable-application=browser \ +MOZ_OPTIONS= --enable-application=browser \ --allow-addon-sideload \ --disable-crashreporter \ --disable-debug \ @@ -62,22 +56,25 @@ MOZ_OPTIONs= --enable-application=browser \ --enable-hardening \ --enable-optimize \ --enable-release \ - --enable-rust-simd \ - --with-app-name=librewolf \ - --with-branding=browser/branding/librewolf \ + --with-app-name=${MOZILLA} \ + --with-branding=browser/branding/${MOZILLA} \ --with-unsigned-addon-scopes=app,system \ - --with-l10n-base=$PWD/browser/locales/l10n \ --enable-bootstrap \ MOZ_CRASHREPORTER=0 \ - MOZ_DATA_REPORTING=0 \ - MOZ_SERVICES_HEALTHREPORT=0 - -# helpful when testing beta -WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION:R}-1 + MOZ_DATA_REPORTING=0 +FIREFOX_ICON= ${MOZILLA}.png FIREFOX_ICON_SRC= ${PREFIX}/lib/${MOZILLA}/browser/chrome/icons/default/default48.png FIREFOX_DESKTOP= ${MOZSRC}/taskcluster/docker/firefox-snap/firefox.desktop +.include "${.CURDIR}/../../www/firefox/Makefile.options" + +.include + +.if ${ARCH} == amd64 +MOZ_OPTIONS+= --enable-rust-simd +.endif + .if ${ARCH} == powerpc64 CFLAGS+= -DHWY_COMPILE_ONLY_SCALAR MOZ_OPTIONS+= --without-wasm-sandboxed-libraries @@ -89,14 +86,18 @@ MOZ_OPTIONS+= --with-wasi-sysroot=${LOCALBASE}/share/wasi-sysroot .endif post-patch: + @${REINPLACE_CMD} -e 's/%u/%U/' -e '/X-MultipleArgs/d' \ + -e 's/firefox/${MOZILLA}/' \ + -e 's/Firefox/${MOZILLA_CAP}/' \ + -e '/^Icon/s/=.*/=${FIREFOX_ICON:R}/' \ + ${FIREFOX_DESKTOP} @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/browser/app/nsBrowserApp.cpp @${RM} ${WRKSRC}/mozconfig post-install: - ${CP} ${FIREFOX_DESKTOP} ${STAGEDIR}${PREFIX}/share/applications/librewolf.desktop - ${REINPLACE_CMD} -e 's|Firefox|Librewolf|g' ${STAGEDIR}${PREFIX}/share/applications/librewolf.desktop - ${REINPLACE_CMD} -e 's|firefox|librewolf|g' ${STAGEDIR}${PREFIX}/share/applications/librewolf.desktop - ${REINPLACE_CMD} -e 's|Icon=.*|Icon=${FIREFOX_ICON_SRC}|g' ${STAGEDIR}${PREFIX}/share/applications/librewolf.desktop + ${INSTALL_DATA} ${FIREFOX_DESKTOP} ${STAGEDIR}${PREFIX}/share/applications/${MOZILLA}.desktop + ${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 00a1a25c7f2f..66a7364ab826 100644 --- a/www/librewolf/distinfo +++ b/www/librewolf/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1718996614 -SHA256 (librewolf-127.0-1.source.tar.gz) = eb7c03ad394dd8445110d718b90da6a0252c0533b8cb6ab27dd1a6e83b6853e7 -SIZE (librewolf-127.0-1.source.tar.gz) = 1008033344 +TIMESTAMP = 1720612011 +SHA256 (librewolf-127.0.2-2.source.tar.gz) = 876805eb81b96c61bb479ce272ba25e77e90b319db1e3a6fe59070e667d0a44c +SIZE (librewolf-127.0.2-2.source.tar.gz) = 1008485101