www/librewolf: Update to 109.0.1.2
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)
This commit is contained in:
parent
a6baa6f467
commit
b09304bf26
6 changed files with 2705 additions and 1720 deletions
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
File diff suppressed because it is too large
Load diff
17
www/librewolf/files/patch-toolkit_xre_glxtest.cpp
Normal file
17
www/librewolf/files/patch-toolkit_xre_glxtest.cpp
Normal file
|
@ -0,0 +1,17 @@
|
|||
--- toolkit/xre/glxtest.cpp.orig
|
||||
+++ toolkit/xre/glxtest.cpp
|
||||
@@ -270,9 +270,14 @@
|
||||
#define PCI_BASE_CLASS_DISPLAY 0x03
|
||||
|
||||
static void get_pci_status() {
|
||||
+#if defined(__FreeBSD__)
|
||||
+ if (access("/dev/pci", F_OK) != 0) {
|
||||
+ record_warning("cannot access /dev/pci");
|
||||
+#else
|
||||
if (access("/sys/bus/pci/", F_OK) != 0 &&
|
||||
access("/sys/bus/pci_express/", F_OK) != 0) {
|
||||
record_warning("cannot access /sys/bus/pci");
|
||||
+#endif
|
||||
return;
|
||||
}
|
||||
|
11
www/librewolf/files/patch-toolkit_xre_nsXREDirProvider.cpp
Normal file
11
www/librewolf/files/patch-toolkit_xre_nsXREDirProvider.cpp
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- toolkit/xre/nsXREDirProvider.cpp.orig
|
||||
+++ toolkit/xre/nsXREDirProvider.cpp
|
||||
@@ -1614,6 +1614,7 @@
|
||||
|
||||
rv = AppendProfileString(aFile, folder.BeginReading());
|
||||
} else {
|
||||
+ appName = nsAutoCString("librewolf");
|
||||
if (!vendor.IsEmpty()) {
|
||||
folder.Append(vendor);
|
||||
ToLowerCase(folder);
|
||||
|
Loading…
Reference in a new issue