From 956b2cefb49dff2c273c84782646aa799af087f1 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Sun, 3 Jul 2022 23:32:18 -0400 Subject: disable webrender_ffi, and v102.0 rc1 --- scripts/prep-librewolf-dpkg.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'scripts/prep-librewolf-dpkg.sh') diff --git a/scripts/prep-librewolf-dpkg.sh b/scripts/prep-librewolf-dpkg.sh index 9055c2f..12667fc 100755 --- a/scripts/prep-librewolf-dpkg.sh +++ b/scripts/prep-librewolf-dpkg.sh @@ -80,9 +80,9 @@ test -z "${SKIP_EXTRACT}" && { # Download git sources test -z "${SKIP_GIT}" && { - git clone "${librewolf_source_url}" ${git_source_dir}/source || : ; ( cd "${git_source_dir}/source" ; git checkout "${librewolf_version}" ; git pull ; ) - git clone "${librewolf_settings_url}" ${git_source_dir}/settings || : ; ( cd "${git_source_dir}/settings" ; git checkout master ; git pull ; ) - git clone "${librewolf_linux_url}" ${git_source_dir}/linux || : ; ( cd "${git_source_dir}/linux" ; git checkout master ; git pull ; git checkout "v${librewolf_version}" ; ) + git clone "${librewolf_source_url}" ${git_source_dir}/source || : ; ( cd "${git_source_dir}/source" ; git checkout master || git checkout main ; git pull ; git checkout "${librewolf_version}" ; ) + git clone "${librewolf_settings_url}" ${git_source_dir}/settings || : ; ( cd "${git_source_dir}/settings" ; git checkout master || git checkout main ; git pull ; ) + git clone "${librewolf_linux_url}" ${git_source_dir}/linux || : ; ( cd "${git_source_dir}/linux" ; git checkout master || git checkout main ; git pull ; git checkout "v${librewolf_version}" ; ) } ##################################### @@ -198,14 +198,14 @@ else "${debian_dir}"/patches/librewolf/ awk -F'/' '{print "librewolf/"$NF}' "${git_source_dir}"/source/assets/patches.txt | \ sed -r -e 's@$@ -p1@' -e '/vpn-ad/d' >> "${debian_dir}/patches/series" - echo "librewolf/webrender_ffi.patch -p1" >> "${debian_dir}/patches/series" + #echo "librewolf/webrender_ffi.patch -p1" >> "${debian_dir}/patches/series" # added 101.0.1 # ref: https://raw.githubusercontent.com/canonical/firefox-snap/5622734942524846fb0eb7108918c8cd8557fde3/patches/fix-ftbfs-newer-cbindgen.patch # ref: https://bugzilla.mozilla.org/show_bug.cgi?id=1773630 # ref: https://gitlab.com/librewolf-community/browser/gentoo/-/issues/42#note_985094574 # ref: https://forums.gentoo.org/viewtopic-p-8718512.html?sid=b090546e8d9bcd60ff775c32d04e1743 # ref: https://www.google.com/search?hl=en&q=build%2Dbrowser%2Fdist%2Finclude%2Fmozilla%2Fwebrender%2Fwebrender_ffi.h%3A103 - test -n "1" && cat <"${debian_dir}/patches/librewolf/webrender_ffi.patch" + test -n "" && cat <"${debian_dir}/patches/librewolf/webrender_ffi.patch" Description: Remove an extra constant definition that is now being generated by newer versions of cbindgen (0.24), and causing build failures because it is defined in several places. Author: Olivier Tilloy Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1773259 -- cgit