-# for gcc 6
-CFLAGS+=" -fno-delete-null-pointer-checks" &&
-CXXFLAGS+=" -fno-delete-null-pointer-checks" &&
-
#
# fix symbol check in build scripts, firefox adds -s to LDFLAGS so we can
# remove it here without changing anything...
@@ -45,7 +41,7 @@ local gccminor=${gccver#*.} &&
gccminor=${gccminor%.*} &&
if [[ $gccmajor == "4" ]] && [[ $gccminor -ge "6" ]]; then
- CFLAGS="${CFLAGS//-mavx} -mno-avx"
+ CFLAGS="${CFLAGS//-mavx} -mno-avx" &&
CXXFLAGS="${CXXFLAGS//-mavx} -mno-avx"
fi
+optional_depends JACK \
+ "--enable-jack" \
+ "--disable-jack" \
+ "use JACK for audio support" &&
+
if is_depends_enabled $SPELL alsa-lib; then
# Firefox tries to use ogg/ogg.h even with --disable-ogg given
#optional_depends libogg \
@@ -103,10 +106,7 @@ if is_depends_enabled $SPELL alsa-lib; then
depends yasm
fi &&
# Firefox is currently borked and does not compile without OpenGL headers
#optional_depends OPENGL \
@@ -133,7 +133,10 @@ suggest_depends_2 firefox-smglwiki "" "" \
# "--without-system-harfbuzz" \
# "for system harfbuzz" &&
#
-#optional_depends dav1d \
-# "--enable-av1 --with-system-av1" \
-# "--disable-av1" \
-# "for AV1 video support"
+optional_depends dav1d \
+ "--enable-av1" \
+ "--disable-av1" \
+ "for AV1 video support" &&
+if is_depends_enabled $SPELL dav1d; then
+ depends nasm
+fi
diff --git a/http/firefox/DETAILS b/http/firefox/DETAILS
index 2e962dc..005832c 100755
--- a/http/firefox/DETAILS
+++ b/http/firefox/DETAILS
@@ -1,6 +1,6 @@
SPELL=firefox
- VERSION=76.0.1
- SECURITY_PATCH=143
+ VERSION=78.0.2
+ SECURITY_PATCH=146
SOURCE="${SPELL}-${VERSION}.source.tar.xz"
SOURCE_URL[0]="http://releases.mozilla.org/pub/${SPELL}/releases/${VERSION}/source/${SOURCE}"
SOURCE2="${SOURCE}.asc"
diff --git a/http/firefox/HISTORY b/http/firefox/HISTORY
index cb6c9aa..911a970 100644
--- a/http/firefox/HISTORY
+++ b/http/firefox/HISTORY
@@ -1,3 +1,25 @@
+2020-07-19 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * BUILD, DEPENDS, DETAILS, PRE_BUILD, mozconfig: version 78.0.2
+
+On branch master
+Your branch is ahead of 'origin/master' by 1 commit.
+ (use "git push" to publish your local commits)
+
+Changes not staged for commit:
+ (use "git add <file>..." to update what will be committed)
+ (use "git restore <file>..." to discard changes in working directory)
+ modified: BUILD
+ modified: DEPENDS
+ modified: DETAILS
+ modified: HISTORY
+ modified: PRE_BUILD
+ modified: mozconfig
+
+Untracked files:
+ (use "git add <file>..." to include in what will be committed)
+ .HISTORY.swp
+
+no changes added to commit (use "git add" and/or "git commit -a")
2020-05-09 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
* DETAILS: version 76.0.1
* DEPENDS: remove unexpected &&
diff --git a/http/firefox/PRE_BUILD b/http/firefox/PRE_BUILD
index 3752626..f6e1951 100755
--- a/http/firefox/PRE_BUILD
+++ b/http/firefox/PRE_BUILD
@@ -15,6 +15,8 @@ if [[ "$FIREFOX_STRIP" == "y" ]]; then
echo 'ac_add_options --disable-debug-symbols'
else
echo 'ac_add_options --disable-install-strip'
+ echo 'ac_add_options --disable-strip'
+ echo 'ac_add_options --enable-debug-symbols'
fi >> .mozconfig &&
if [[ "$FIREFOX_SDK" == "n" ]]; then
diff --git a/http/firefox/mozconfig b/http/firefox/mozconfig
index 12c89c9..79b6c69 100644
--- a/http/firefox/mozconfig
+++ b/http/firefox/mozconfig
@@ -5,6 +5,14 @@
# Options for client.mk.
mk_add_options MOZ_CO_PROJECT=browser
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/firefox-build
+
+# The following option unsets Telemetry Reporting. With the Addons Fiasco,
+# Mozilla was found to be collecting user's data, including saved passwords
and
+# web form data, without users consent. Mozilla was also found shipping
updates
+# to systems without the user's knowledge or permission.
+# The following command to permanently disables telemetry reporting in
Firefox.
+unset MOZ_TELEMETRY_REPORTING
+
#mk_add_options AUTOCONF=autoconf2.13