Skip to content

Commit 136c48f

Browse files
committed
basilisk: Initial import of the Basilisk web browser
Basilisk is an UXP-based web browser inspired by pre-Servo Firefox but using the Goanna engine from Pale Moon. It's essentially Pale Moon with a user interface more like www/firefox52.
1 parent e96da64 commit 136c48f

32 files changed

Lines changed: 2923 additions & 1 deletion

www/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $NetBSD: Makefile,v 1.1857 2025/04/22 15:15:01 adam Exp $
1+
# $NetBSD: Makefile,v 1.1858 2025/04/25 21:25:03 nia Exp $
22
#
33

44
COMMENT= Packages related to the World Wide Web
@@ -73,6 +73,7 @@ SUBDIR+= august
7373
SUBDIR+= awstats
7474
SUBDIR+= badwolf
7575
SUBDIR+= bannerfilter
76+
SUBDIR+= basilisk
7677
SUBDIR+= bins
7778
SUBDIR+= bkedit
7879
SUBDIR+= bluefish

www/basilisk/DESCR

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Basilisk is a free and Open Source XUL-based web browser, featuring the
2+
well-known Firefox-style interface and operation. It is based on the Goanna
3+
layout and rendering engine (a fork of Gecko) and builds on the Unified
4+
XUL Platform (UXP), which in turn is a fork of the Mozilla code base
5+
without Servo or Rust.
6+
7+
Basilisk supports a wide array of features required for the Modern Web.

www/basilisk/Makefile

Lines changed: 174 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,174 @@
1+
# $NetBSD: Makefile,v 1.1 2025/04/25 21:25:03 nia Exp $
2+
# This package is mostly derived from www/palemoon since they use the
3+
# same backend. However, several key things are different.
4+
5+
PKGNAME= basilisk-2025.04.23
6+
CATEGORIES= www
7+
8+
DIST_SUBDIR= basilisk-${PKGVERSION_NOREV}
9+
DISTFILES+= basilisk.tar.gz
10+
DISTFILES+= uxp.tar.gz
11+
DISTFILES+= psutil.tar.gz
12+
13+
SITES.basilisk.tar.gz= \
14+
-https://repo.palemoon.org/Basilisk-Dev/Basilisk/archive/v${PKGVERSION_NOREV}.tar.gz
15+
16+
SITES.uxp.tar.gz= \
17+
-https://repo.palemoon.org/MoonchildProductions/UXP/archive/d892468fd052cb8961b7e36d5b087e53eb625f8e.tar.gz
18+
19+
SITES.psutil.tar.gz= \
20+
-https://files.pythonhosted.org/packages/7b/58/2675697b6831e6ac4b7b7bc4e5dcdb24a2f39f8411186573eb0de16eb6d5/psutil-3.4.2.tar.gz
21+
22+
MAINTAINER= nia@NetBSD.org
23+
HOMEPAGE= https://www.basilisk-browser.org/
24+
COMMENT= UXP-based web browser inspired by pre-Servo Firefox
25+
LICENSE= mpl-2.0
26+
27+
USE_TOOLS+= perl pkg-config autoconf213
28+
USE_TOOLS+= zip unzip gmake
29+
30+
HAS_CONFIGURE= yes
31+
USE_LANGUAGES= c c++
32+
33+
# "ERROR: Only GCC 9.1 or newer is supported"
34+
# Use GCC 10 because 9 is untested.
35+
GCC_REQD+= 10
36+
37+
WRKSRC= ${WRKDIR}/basilisk
38+
39+
LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/basilisk-52.9.0
40+
41+
CONFIG_GUESS_OVERRIDE+= platform/build/autoconf/config.guess
42+
CONFIG_GUESS_OVERRIDE+= platform/intl/icu/source/config.guess
43+
CONFIG_GUESS_OVERRIDE+= platform/ipc/chromium/src/third_party/libevent/config.guess
44+
CONFIG_GUESS_OVERRIDE+= platform/js/src/ctypes/libffi/config.guess
45+
CONFIG_GUESS_OVERRIDE+= platform/nsprpub/build/autoconf/config.guess
46+
47+
CONFIG_SUB_OVERRIDE+= platform/build/autoconf/config.sub
48+
CONFIG_SUB_OVERRIDE+= platform/intl/icu/source/config.sub
49+
CONFIG_SUB_OVERRIDE+= platform/ipc/chromium/src/third_party/libevent/config.sub
50+
CONFIG_SUB_OVERRIDE+= platform/js/src/ctypes/libffi/config.sub
51+
CONFIG_SUB_OVERRIDE+= platform/nsprpub/build/autoconf/config.sub
52+
53+
CONFIGURE_DIRS= ${WRKDIR}/build
54+
CONFIGURE_SCRIPT= ${WRKSRC}/configure
55+
56+
# see basilisk/mozconfigs/linux/x86_64/gtk3_unofficial_branding.mozconfig
57+
CONFIGURE_ARGS+= --enable-optimize=-O3
58+
CONFIGURE_ARGS+= --enable-application=basilisk
59+
CONFIGURE_ARGS+= --enable-devtools
60+
CONFIGURE_ARGS+= --enable-av1
61+
CONFIGURE_ARGS+= --enable-jxl
62+
CONFIGURE_ARGS+= --enable-pie
63+
CONFIGURE_ARGS+= --disable-tests
64+
CONFIGURE_ARGS+= --disable-gamepad # non-default
65+
CONFIGURE_ARGS+= --disable-debug
66+
CONFIGURE_ARGS+= --disable-necko-wifi
67+
CONFIGURE_ARGS+= --disable-updater
68+
CONFIGURE_ARGS+= --with-pthreads
69+
CONFIGURE_ARGS+= --disable-gconf
70+
# unlike palemoon/firefox, basilisk *only* has "unofficial branding"
71+
CONFIGURE_ARGS+= --disable-official-branding
72+
73+
# non-default: causes build failures on NetBSD
74+
CONFIGURE_ARGS+= --disable-precompiled-startupcache
75+
76+
# non-default: do not override system memory allocator
77+
CONFIGURE_ARGS+= --disable-jemalloc
78+
79+
# non-default options to integrate better with pkgsrc
80+
# do not use system cairo, causes segfaults
81+
CONFIGURE_ARGS+= --prefix=${PREFIX}
82+
CONFIGURE_ARGS+= --with-system-bz2=${BUILDLINK_PREFIX.bzip2}
83+
CONFIGURE_ARGS+= --with-system-zlib
84+
85+
.include "../../mk/bsd.prefs.mk"
86+
87+
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
88+
TOOL_DEPENDS+= yasm>=1.1:../../devel/yasm
89+
.endif
90+
91+
.if ${MACHINE_PLATFORM:MNetBSD-*-earm*}
92+
LDFLAGS+= -Wl,--no-keep-memory
93+
.endif
94+
95+
PLIST_VARS+= ffvpx
96+
97+
.if ${MACHINE_ARCH} == "x86_64"
98+
PLIST.ffvpx= yes # see platform/old-configure.in
99+
.endif
100+
101+
SUBST_CLASSES+= desktop
102+
SUBST_STAGE.desktop= pre-configure
103+
SUBST_FILES.desktop= platform/toolkit/mozapps/installer/linux/rpm/mozilla.desktop
104+
SUBST_SED.desktop= -e 's,@MOZ_APP_DISPLAYNAME@,Basilisk,g'
105+
SUBST_SED.desktop+= -e 's,@MOZ_APP_NAME@,basilisk,g'
106+
107+
INSTALLATION_DIRS+= share/applications
108+
INSTALLATION_DIRS+= share/icons/hicolor/16x16/apps
109+
INSTALLATION_DIRS+= share/icons/hicolor/32x32/apps
110+
INSTALLATION_DIRS+= share/icons/hicolor/48x48/apps
111+
INSTALLATION_DIRS+= share/icons/hicolor/128x128/apps
112+
113+
CHECK_PORTABILITY_SKIP+= platform/js/src/tests/*.sh
114+
CHECK_PORTABILITY_SKIP+= platform/memory/jemalloc/src/configure
115+
CHECK_PORTABILITY_SKIP+= platform/security/nss/tests/*/*.sh
116+
117+
PYTHON_VERSIONS_ACCEPTED= 27
118+
PYTHON_FOR_BUILD_ONLY= tool
119+
120+
pre-configure:
121+
${MKDIR} ${CONFIGURE_DIRS}
122+
cd ${WRKSRC} && autoconf-2.13
123+
cd ${WRKSRC}/basilisk && autoconf-2.13
124+
cd ${WRKSRC}/platform/js/src && autoconf-2.13
125+
126+
pre-patch:
127+
${MV} ${WRKDIR}/uxp/* ${WRKSRC}/platform/
128+
${RM} -rf ${WRKSRC}/platform/python/psutil
129+
${MV} ${WRKDIR}/psutil-3.4.2 ${WRKSRC}/platform/python/psutil
130+
131+
pre-build:
132+
${TOUCH} ${WRKSRC}/platform/configure
133+
${TOUCH} ${WRKDIR}/build/config.status
134+
135+
post-install:
136+
${FIND} ${DESTDIR}${PREFIX} -name '*.a' -exec ${RM} '{}' ';'
137+
${RM} -rf ${DESTDIR}${PREFIX}/include
138+
${RM} -rf ${DESTDIR}${PREFIX}/share/idl
139+
${RM} -rf ${DESTDIR}${PREFIX}/lib/*-devel*
140+
${RM} -rf ${DESTDIR}${PREFIX}/lib/basilisk-devel-${PKGVERSION_NOREV}
141+
${INSTALL_DATA} ${WRKSRC}/basilisk/branding/unofficial/default16.png \
142+
${DESTDIR}${PREFIX}/share/icons/hicolor/16x16/apps/basilisk.png
143+
${INSTALL_DATA} ${WRKSRC}/basilisk/branding/unofficial/default32.png \
144+
${DESTDIR}${PREFIX}/share/icons/hicolor/32x32/apps/basilisk.png
145+
${INSTALL_DATA} ${WRKSRC}/basilisk/branding/unofficial/default48.png \
146+
${DESTDIR}${PREFIX}/share/icons/hicolor/48x48/apps/basilisk.png
147+
${INSTALL_DATA} ${WRKSRC}/basilisk/branding/unofficial/mozicon128.png \
148+
${DESTDIR}${PREFIX}/share/icons/hicolor/128x128/apps/basilisk.png
149+
${INSTALL_DATA} ${WRKSRC}/platform/toolkit/mozapps/installer/linux/rpm/mozilla.desktop \
150+
${DESTDIR}${PREFIX}/share/applications/basilisk.desktop
151+
152+
.include "options.mk"
153+
.include "../../archivers/bzip2/buildlink3.mk"
154+
.if ${OPSYS} == "Linux"
155+
. include "../../audio/alsa-lib/buildlink3.mk"
156+
.endif
157+
.include "../../devel/zlib/buildlink3.mk"
158+
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
159+
.include "../../lang/python/batteries-included.mk"
160+
.include "../../lang/python/application.mk"
161+
.include "../../lang/python/tool.mk"
162+
.include "../../multimedia/ffmpeg6/buildlink3.mk"
163+
.include "../../security/openssl/buildlink3.mk"
164+
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
165+
.if ${OPSYS} == "Darwin"
166+
CONFIGURE_ARGS+= --enable-default-toolkit=cairo-cocoa
167+
.else
168+
CONFIGURE_ARGS+= --enable-default-toolkit=cairo-gtk3
169+
. include "../../x11/gtk2/buildlink3.mk"
170+
. include "../../x11/gtk3/buildlink3.mk"
171+
. include "../../x11/libXt/buildlink3.mk"
172+
.endif
173+
.include "../../mk/atomic64.mk"
174+
.include "../../mk/bsd.pkg.mk"

www/basilisk/PLIST

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
@comment $NetBSD: PLIST,v 1.1 2025/04/25 21:25:03 nia Exp $
2+
bin/basilisk
3+
lib/basilisk-52.9.0/application.ini
4+
lib/basilisk-52.9.0/basilisk
5+
lib/basilisk-52.9.0/basilisk-bin
6+
lib/basilisk-52.9.0/browser/blocklist.xml
7+
lib/basilisk-52.9.0/browser/chrome.manifest
8+
lib/basilisk-52.9.0/browser/chrome/icons/default/default16.png
9+
lib/basilisk-52.9.0/browser/chrome/icons/default/default32.png
10+
lib/basilisk-52.9.0/browser/chrome/icons/default/default48.png
11+
lib/basilisk-52.9.0/browser/components/components.manifest
12+
lib/basilisk-52.9.0/browser/components/libbrowsercomps.so
13+
lib/basilisk-52.9.0/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
14+
lib/basilisk-52.9.0/browser/icons/mozicon128.png
15+
lib/basilisk-52.9.0/browser/omni.ja
16+
lib/basilisk-52.9.0/chrome.manifest
17+
lib/basilisk-52.9.0/defaults/pref/channel-prefs.js
18+
lib/basilisk-52.9.0/dependentlibs.list
19+
lib/basilisk-52.9.0/dictionaries/en-US.aff
20+
lib/basilisk-52.9.0/dictionaries/en-US.dic
21+
lib/basilisk-52.9.0/fonts/TwemojiMozilla.ttf
22+
lib/basilisk-52.9.0/gtk2/libmozgtk.so
23+
lib/basilisk-52.9.0/icudt63l.dat
24+
lib/basilisk-52.9.0/libhunspell.so
25+
lib/basilisk-52.9.0/liblgpllibs.so
26+
${PLIST.ffvpx}lib/basilisk-52.9.0/libmozavcodec.so
27+
${PLIST.ffvpx}lib/basilisk-52.9.0/libmozavutil.so
28+
lib/basilisk-52.9.0/libmozgtk.so
29+
lib/basilisk-52.9.0/libmozsqlite3.so
30+
lib/basilisk-52.9.0/libnspr4.so
31+
lib/basilisk-52.9.0/libnss3.so
32+
lib/basilisk-52.9.0/libnssckbi.so
33+
lib/basilisk-52.9.0/libnssutil3.so
34+
lib/basilisk-52.9.0/libplc4.so
35+
lib/basilisk-52.9.0/libplds4.so
36+
lib/basilisk-52.9.0/libsmime3.so
37+
lib/basilisk-52.9.0/libsoftokn3.so
38+
lib/basilisk-52.9.0/libssl3.so
39+
lib/basilisk-52.9.0/libxul.so
40+
lib/basilisk-52.9.0/omni.ja
41+
lib/basilisk-52.9.0/platform.ini
42+
lib/basilisk-52.9.0/plugin-container
43+
lib/basilisk-52.9.0/removed-files
44+
lib/basilisk-52.9.0/run-mozilla.sh
45+
share/applications/basilisk.desktop
46+
share/icons/hicolor/128x128/apps/basilisk.png
47+
share/icons/hicolor/16x16/apps/basilisk.png
48+
share/icons/hicolor/32x32/apps/basilisk.png
49+
share/icons/hicolor/48x48/apps/basilisk.png

www/basilisk/PLIST.Linux

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@comment $NetBSD: PLIST.Linux,v 1.1 2025/04/25 21:25:03 nia Exp $
2+
lib/basilisk-52.9.0/libfreeblpriv3.so

www/basilisk/PLIST.NetBSD

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@comment $NetBSD: PLIST.NetBSD,v 1.1 2025/04/25 21:25:03 nia Exp $
2+
lib/basilisk-52.9.0/libfreebl3.so

www/basilisk/distinfo

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
$NetBSD: distinfo,v 1.1 2025/04/25 21:25:03 nia Exp $
2+
3+
BLAKE2s (basilisk-2025.04.23/basilisk.tar.gz) = 8049ef38576e0b083f55e2a1b4472483213a804eaed4a539aebc29e59faf5578
4+
SHA512 (basilisk-2025.04.23/basilisk.tar.gz) = c850e0178b89816d4ab2ea02323c563e5a62c0f60d6251598f9b6334be14ff9c54f524f4ca0d370807ab638e660c4d6456e468112dc3b25c2e50ffb9bd97317b
5+
Size (basilisk-2025.04.23/basilisk.tar.gz) = 12923056 bytes
6+
BLAKE2s (basilisk-2025.04.23/psutil.tar.gz) = 7a2c5c938910795453cf1cdfd5fbfa4dc8cac15e6eb43a5e9aba91ac032b37ce
7+
SHA512 (basilisk-2025.04.23/psutil.tar.gz) = 95c246ed4ce68a476f83868312101d88dafa9d4cef96ff60af646a443c00e6cc447d37cc1ac4e85224db16c24390575174bb7ef76f48cb839fe2e93749107ffb
8+
Size (basilisk-2025.04.23/psutil.tar.gz) = 274361 bytes
9+
BLAKE2s (basilisk-2025.04.23/uxp.tar.gz) = 1e7878775dec45e36d53b64904d4aa4642847b114436307cfe99c840880d7306
10+
SHA512 (basilisk-2025.04.23/uxp.tar.gz) = 804122497f184505e1bc1c6b86695788b6dcfefbdd0dc9903bfc244e82dc66d9b8de6569f2dd5331f64b20979936f764c560bd3ee39875f0708d840f28aa749c
11+
Size (basilisk-2025.04.23/uxp.tar.gz) = 264519296 bytes
12+
SHA1 (patch-platform_build_moz.build) = 7b45929d58ad0963423f7c859922df6d98413c67
13+
SHA1 (patch-platform_gfx_angle_src_libANGLE_renderer_gl_glx_FunctionsGLX.cpp) = 502d79eb3ef41e08328bbac9fbb5048b96660bbb
14+
SHA1 (patch-platform_intl_icu_source_configure) = 87d19e9212b4340d9b052b5a89be84432ad1cff2
15+
SHA1 (patch-platform_ipc_chromium_src_base_atomicops.h) = ab4b489e9f9c22a861a275924ef34a909d210828
16+
SHA1 (patch-platform_ipc_chromium_src_base_atomicops__internals__arm__gcc.h) = f33b6c391689c52d0a6855e29ff25d863a7f15e5
17+
SHA1 (patch-platform_media_libaom_config_linux_arm_config_aom__config.h) = 69ef22fe9892c2288accb6eb00b4533d8cee0299
18+
SHA1 (patch-platform_media_libcubeb_src_cubeb__sun.c) = ce27774d772d65fa60b6be5bee82fbe4f787f3d1
19+
SHA1 (patch-platform_media_libtheora_moz.build) = a7bad662dabb87c6a85542a4a50f8ed693064bc6
20+
SHA1 (patch-platform_media_libvpx_config_linux_arm_vpx__config.h) = a580208cd342d7dc27985118e1707772e0cccf02
21+
SHA1 (patch-platform_media_webrtc_trunk_webrtc_modules_audio__device_audio__device.gypi) = b673eeaf3c2e08428870e5a2d06dfae3f6e7752e
22+
SHA1 (patch-platform_netwerk_srtp_src_crypto_hash_hmac.c) = 59f8b8756f5486b59c88fac8901b80c0fbc1485f
23+
SHA1 (patch-platform_netwerk_srtp_src_crypto_kernel_crypto__kernel.c) = b486d5d0e2b9878d32c655f1f86a5d6535b7da85
24+
SHA1 (patch-platform_nsprpub_pr_include_md__netbsd.cfg) = 1dc06ad2dc49eb3297dc0651dce546cff6882f7b
25+
SHA1 (patch-platform_nsprpub_pr_include_md__netbsd.h) = 72de23f42dc38d9cfacf41776e53af613a0c4f19
26+
SHA1 (patch-platform_nsprpub_pr_include_private_pprthred.h) = eeee6714ba27e6465701bffbc404915ceb0c9e55
27+
SHA1 (patch-platform_nsprpub_pr_src_pthreads_ptsynch.c) = f99271490a983d0a1d101cb0d2b593a3987549d7
28+
SHA1 (patch-platform_nsprpub_pr_src_pthreads_ptthread.c) = a04b06e39c289ac32dfbb6cbd79b1d7ecf0b560d
29+
SHA1 (patch-platform_security_generate__mapfile.py) = ae457a8e85c4ce95014dff442b8afd0e20ded543
30+
SHA1 (patch-platform_toolkit_components_protobuf_src_google_protobuf_stubs_atomicops.h) = 73b57772d29b0567c0aa1faea8a3f345dbc0488a
31+
SHA1 (patch-platform_toolkit_components_protobuf_src_google_protobuf_stubs_atomicops__internals__arm__gcc.h) = 2a5ccc95fb5860b1be97947f3aee8307f4a25bc1
32+
SHA1 (patch-platform_toolkit_xre_nsX11ErrorHandler.cpp) = 164d93a5b1aaeba15b524fdaef0483b4a9400ac1
33+
SHA1 (patch-platform_xpcom_reflect_xptcall_md_unix_xptcinvoke__arm__netbsd.cpp) = 5b6a5c6eea2668cc5eaaf775400c382114876d86
34+
SHA1 (patch-platform_xpcom_reflect_xptcall_md_unix_xptcstubs__arm__netbsd.cpp) = de7188f7ac09fd3d4a65968a12ae324b3a0415c4

www/basilisk/hacks.mk

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# $NetBSD: hacks.mk,v 1.1 2025/04/25 21:25:03 nia Exp $
2+
3+
.if !defined(PALEMOON_HACKS_MK)
4+
PALEMOON_HACKS_MK= # defined
5+
6+
### [Sat Aug 3 11:00:17 CEST 2024 : nia]
7+
### NetBSD 9.x does not expose all standard C++ functions with default
8+
### source visibility.
9+
###
10+
.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 100000
11+
PKG_HACKS+= netbsd-source
12+
CXXFLAGS+= -D_NETBSD_SOURCE
13+
.endif
14+
15+
.endif

www/basilisk/options.mk

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# $NetBSD: options.mk,v 1.1 2025/04/25 21:25:03 nia Exp $
2+
3+
PKG_OPTIONS_VAR= PKG_OPTIONS.basilisk
4+
PKG_SUPPORTED_OPTIONS= dbus pulseaudio webrtc
5+
#PKG_SUGGESTED_OPTIONS.NetBSD= webrtc
6+
#PKG_SUGGESTED_OPTIONS.Linux= webrtc
7+
8+
.include "../../mk/bsd.options.mk"
9+
10+
.if !empty(PKG_OPTIONS:Mdbus)
11+
CONFIGURE_ARGS+= --enable-dbus
12+
. include "../../sysutils/dbus/buildlink3.mk"
13+
.else
14+
CONFIGURE_ARGS+= --disable-dbus
15+
.endif
16+
17+
.if !empty(PKG_OPTIONS:Mpulseaudio)
18+
CONFIGURE_ARGS+= --enable-pulseaudio
19+
. include "../../audio/pulseaudio/buildlink3.mk"
20+
.else
21+
CONFIGURE_ARGS+= --disable-pulseaudio
22+
.endif
23+
24+
.if !empty(PKG_OPTIONS:Mwebrtc)
25+
CONFIGURE_ARGS+= --enable-webrtc
26+
. include "../../graphics/libv4l/buildlink3.mk"
27+
.else
28+
CONFIGURE_ARGS+= --disable-webrtc
29+
.endif
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
$NetBSD: patch-platform_build_moz.build,v 1.1 2025/04/25 21:25:03 nia Exp $
2+
3+
Avoid configure errors.
4+
5+
--- platform/build/moz.build.orig 2024-07-25 09:37:43.581267584 +0000
6+
+++ platform/build/moz.build
7+
@@ -52,12 +52,6 @@ if CONFIG['ENABLE_TESTS']:
8+
if CONFIG['OS_ARCH'] == 'Linux':
9+
FINAL_TARGET_FILES += ['/tools/rb/fix_linux_stack.py']
10+
11+
-# Put a useful .gdbinit in the bin directory, to be picked up automatically
12+
-# by GDB when we debug executables there.
13+
-FINAL_TARGET_FILES += ['/.gdbinit']
14+
-FINAL_TARGET_PP_FILES += ['.gdbinit_python.in']
15+
-OBJDIR_FILES += ['!/dist/bin/.gdbinit_python']
16+
-
17+
# Install the clang runtime library for ASAN next to the binaries we produce.
18+
if CONFIG['MOZ_ASAN'] and CONFIG['MOZ_CLANG_RT_ASAN_LIB_PATH']:
19+
FINAL_TARGET_FILES += [CONFIG['MOZ_CLANG_RT_ASAN_LIB_PATH']]
20+
@@ -78,9 +72,6 @@ if CONFIG['MOZ_APP_BASENAME']:
21+
DEFINES['TOPSRCDIR'] = TOPSRCDIR
22+
DEFINES['TOPOBJDIR'] = TOPOBJDIR
23+
24+
-# NOTE: Keep .gdbinit in the topsrcdir for people who run gdb from the topsrcdir.
25+
-OBJDIR_FILES += ['/.gdbinit']
26+
-
27+
# Put a .lldbinit in the bin directory and the objdir, to be picked up
28+
# automatically by LLDB when we debug executables using either of those two
29+
# directories as the current working directory. The .lldbinit file will

0 commit comments

Comments
 (0)