Skip to content

Commit

Permalink
www/librewolf: Update to 109.0.1.2
Browse files Browse the repository at this point in the history
  Add its own profiles root directory
  to not conflict with firefox profiles,
  of different versions.

PR:	269092
Approved by:	Martin Filla <freebsd@sysctl.cz> (maintainer)
  • Loading branch information
jsm222 committed Feb 26, 2023
1 parent a6baa6f commit b09304b
Show file tree
Hide file tree
Showing 6 changed files with 7,309 additions and 6,324 deletions.
17 changes: 9 additions & 8 deletions www/librewolf/Makefile
@@ -1,13 +1,12 @@
PORTNAME= librewolf
DISTVERSION= 108.0.1-1
PORTREVISION= 2
DISTVERSION= 109.0.1.2
CATEGORIES= www wayland
MASTER_SITES= https://gitlab.com/api/v4/projects/32320088/packages/generic/librewolf-source/${DISTVERSION}/
DISTNAME= ${PORTNAME}-${DISTVERSION}.source.
MASTER_SITES= https://gitlab.com/api/v4/projects/32320088/packages/generic/librewolf-source/${DISTVERSION:R}-2/
DISTNAME= ${PORTNAME}-${DISTVERSION:R}-2.source.
EXTRACT_SUFX= tar.gz

PATCH_SITES= https://gitlab.com/librewolf-community/browser/source/-/raw/${DISTVERSION}/
PATCHFILES= patches/unity-menubar.patch?inline=false:-p1
PATCH_SITES= https://gitlab.com/librewolf-community/browser/source/-/raw/d114d4f8e8271adcb854082060c387b16ac56352/
PATCHFILES= patches/unity_kde/unity-menubar.patch?inline=false:-p1

MAINTAINER= freebsd@sysctl.cz
COMMENT= Custom version of Firefox, focused on privacy, security and freedom
Expand All @@ -30,16 +29,18 @@ BUILD_DEPENDS= nspr>=4.32:devel/nspr \
zip:archivers/zip

.include "${.CURDIR}/../../www/firefox/Makefile.options"

.include <bsd.port.options.mk>

.if ${ARCH} != powerpc64
BUILD_DEPENDS+= ${LOCALBASE}/share/wasi-sysroot/lib/wasm32-wasi/libc++abi.a:devel/wasi-libcxx \
${LOCALBASE}/share/wasi-sysroot/lib/wasm32-wasi/libc.a:devel/wasi-libc \
${LOCALBASE}/llvm${LLVM_DEFAULT}/lib/clang/${LLVM_VERSION}/lib/wasi/libclang_rt.builtins-wasm32.a:devel/wasi-compiler-rt${LLVM_DEFAULT}
.endif

USES= tar:xz
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
Expand Down Expand Up @@ -72,7 +73,7 @@ MOZ_OPTIONs= --enable-application=browser \
MOZ_SERVICES_HEALTHREPORT=0

# helpful when testing beta
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION:R}-2

FIREFOX_ICON_SRC= ${PREFIX}/lib/${MOZILLA}/browser/chrome/icons/default/default48.png
FIREFOX_DESKTOP= ${MOZSRC}/taskcluster/docker/firefox-snap/firefox.desktop
Expand Down
10 changes: 5 additions & 5 deletions www/librewolf/distinfo
@@ -1,5 +1,5 @@
TIMESTAMP = 1671892824
SHA256 (librewolf-108.0.1-1.source.tar.gz) = d1978f870ebddbcb71e92da9887e6de99818c4d8045642c46a5b3d2e2b970e81
SIZE (librewolf-108.0.1-1.source.tar.gz) = 828438372
SHA256 (patches/unity-menubar.patch?inline=false) = 84c03a4eb5dcc1bb9e2cfc343e0b98bbbc8dc791647747082d3f50ba638de965
SIZE (patches/unity-menubar.patch?inline=false) = 163635
TIMESTAMP = 1676816988
SHA256 (librewolf-109.0.1-2.source.tar.gz) = 33573e6286334a2322bf39f573b5e9fbc526127fa04806b388a796e706dbdd87
SIZE (librewolf-109.0.1-2.source.tar.gz) = 821281100
SHA256 (patches/unity_kde/unity-menubar.patch?inline=false) = 2c3d1a778fa07a15a21232b84c6c598330d5a38cfe8f0ec602aee66ac204b8e0
SIZE (patches/unity_kde/unity-menubar.patch?inline=false) = 163548
10 changes: 3 additions & 7 deletions www/librewolf/files/patch-bug847568
Expand Up @@ -97,13 +97,9 @@ index b91d9c1..a97e6eb 100755
echo If gfx/graphite2/src/files.mk has changed, please make corresponding
diff --git gfx/harfbuzz/README-mozilla gfx/harfbuzz/README-mozilla
index 3180257..4587a3b 100644
--- gfx/harfbuzz/README-mozilla
+++ gfx/harfbuzz/README-mozilla
@@ -21,3 +21,8 @@ from within the gfx/harfbuzz directory.

If the collection of source files changes, manual updates to moz.build may be
needed as we don't use the upstream makefiles.
+
--- /dev/null
+++ gfx/harfbuzz/README-mozilla.fbsd
@@ -0,0 +1,4 @@
+The in-tree copy may be omitted during build by --with-system-harfbuzz.
+Make sure to keep pkg-config version check within toolkit/moz.configure in sync
+with checkout version or increment latest tag by one if it's not based
Expand Down

0 comments on commit b09304b

Please sign in to comment.