Hello community, here is the log from the commit of package MozillaFirefox for openSUSE:Factory checked in at 2017-11-16 14:00:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/MozillaFirefox (Old) and /work/SRC/openSUSE:Factory/.MozillaFirefox.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "MozillaFirefox" Thu Nov 16 14:00:37 2017 rev:259 rq:541950 version:57.0 Changes: -------- --- /work/SRC/openSUSE:Factory/MozillaFirefox/MozillaFirefox.changes 2017-10-09 19:36:33.818326755 +0200 +++ /work/SRC/openSUSE:Factory/.MozillaFirefox.new/MozillaFirefox.changes 2017-11-16 14:00:40.506363155 +0100 @@ -1,0 +2,80 @@ +Wed Nov 15 06:46:06 UTC 2017 - w...@rosenauer.org + +- update to Firefox 57.0 (boo#1068101) + * Firefox Quantum + * Photon UI + * Unified address and search bar + * AMD VP9 hardware video decoder support + * Added support for Date/Time input + * stricter security sandbox blocking filesystem reading and + writing on Linux systems + * middle mouse paste in the content area no longer navigates to + URLs by default on Unix systems + MFSA 2017-24 + * CVE-2017-7828 (bmo#1406750. bmo#1412252) + Use-after-free of PressShell while restyling layout + * CVE-2017-7830 (bmo#1408990) + Cross-origin URL information leak through Resource Timing API + * CVE-2017-7831 (bmo#1392026) + Information disclosure of exposed properties on JavaScript proxy + objects + * CVE-2017-7832 (bmo#1408782) + Domain spoofing through use of dotless 'i' character followed + by accent markers + * CVE-2017-7833 (bmo#1370497) + Domain spoofing with Arabic and Indic vowel marker characters + * CVE-2017-7834 (bmo#1358009) + data: URLs opened in new tabs bypass CSP protections + * CVE-2017-7835 (bmo#1402363) + Mixed content blocking incorrectly applies with redirects + * CVE-2017-7836 (bmo#1401339) + Pingsender dynamically loads libcurl on Linux and OS X + * CVE-2017-7837 (bmo#1325923) + SVG loaded as <img> can use meta tags to set cookies + * CVE-2017-7838 (bmo#1399540) + Failure of individual decoding of labels in international domain + names triggers punycode display of entire IDN + * CVE-2017-7839 (bmo#1402896) + Control characters before javascript: URLs defeats self-XSS + prevention mechanism + * CVE-2017-7840 (bmo#1366420) + Exported bookmarks do not strip script elements from user-supplied + tags + * CVE-2017-7842 (bmo#1397064) + Referrer Policy is not always respected for <link> elements + * CVE-2017-7827 + Memory safety bugs fixed in Firefox 57 + * CVE-2017-7826 + Memory safety bugs fixed in Firefox 57 and Firefox ESR 52.5 +- requires NSPR 4.17, NSS 3.33 and rustc 1.19 +- rebased patches +- added mozilla-bindgen-systemlibs.patch to allow stylo build + with system libs (bmo#1341234) +- removed mozilla-language.patch since the whole locale code + changed in Firefox and is relying on ICU now +- removed obsolete mozilla-ucontext.patch + +------------------------------------------------------------------- +Sat Oct 28 06:30:37 UTC 2017 - w...@rosenauer.org + +- update to Firefox 56.0.2 + * Disable Form Autofill completely on user request (bmo#1404531) + * Fix for video-related crashes on Windows 7 (bmo#1409141) + * Correct detection for 64-bit GSSAPI authentication (bmo#1409275) + * Fix for shutdown crash (bmo#1404105) + +------------------------------------------------------------------- +Tue Oct 10 11:47:49 UTC 2017 - w...@rosenauer.org + +- update to Firefox 56.0.1 + * Block D3D11 when using Intel drivers on Windows 7 systems with + partial AVX support (bmo#1403353) + -> just to sync the version number +- enable stylo for TW (requires LLVM >= 3.9) +- queue KDE filepicker requests to avoid non-opening file dialogs + happening in certain situations (contributed by Ignaz Forster) +- the placeholder dot in KDE file dialog in case of empty filenames + was removed, apparently not required (anymore) + (contributed by Ignaz Forster) + +------------------------------------------------------------------- Old: ---- firefox-56.0-source.tar.xz l10n-56.0.tar.xz mozilla-language.patch mozilla-ucontext.patch New: ---- firefox-57.0-source.tar.xz l10n-57.0.tar.xz mozilla-bindgen-systemlibs.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ MozillaFirefox.spec ++++++ --- /var/tmp/diff_new_pack.I5djYi/_old 2017-11-16 14:00:57.341753085 +0100 +++ /var/tmp/diff_new_pack.I5djYi/_new 2017-11-16 14:00:57.345752940 +0100 @@ -18,11 +18,11 @@ # changed with every update -%define major 56 +%define major 57 %define mainver %major.0 %define update_channel release %define branding 1 -%define releasedate 20170926190823 +%define releasedate 20171109183137 # PIE, full relro (x86_64 for now) %define build_hardened 1 @@ -72,10 +72,10 @@ BuildRequires: libnotify-devel BuildRequires: libproxy-devel BuildRequires: makeinfo -BuildRequires: mozilla-nspr-devel >= 4.16 -BuildRequires: mozilla-nss-devel >= 3.32.1 +BuildRequires: mozilla-nspr-devel >= 4.17 +BuildRequires: mozilla-nss-devel >= 3.33 BuildRequires: python-devel -BuildRequires: rust >= 1.15.1 +BuildRequires: rust >= 1.19 BuildRequires: rust-std BuildRequires: startup-notification-devel BuildRequires: unzip @@ -93,7 +93,12 @@ BuildRequires: pkgconfig(gtk+-unix-print-3.0) BuildRequires: pkgconfig(libffi) BuildRequires: pkgconfig(libpulse) -#BuildRequires: llvm-clang-devel >= 3.9.0 +%if 0%{?suse_version} > 1320 +BuildRequires: llvm-clang-devel >= 3.9.0 +%else +# this covers the workaround to compile on Leap 42 in OBS +BuildRequires: clang4-devel +%endif # libavcodec is required for H.264 support but the # openSUSE version is currently not able to play H.264 # therefore the Packman version is required @@ -141,14 +146,13 @@ Source19: google-api-key # Gecko/Toolkit Patch1: mozilla-nongnome-proxies.patch -Patch3: mozilla-kde.patch -Patch5: mozilla-language.patch -Patch6: mozilla-ntlm-full-path.patch -Patch7: mozilla-openaes-decl.patch -Patch8: mozilla-no-stdcxx-check.patch -Patch9: mozilla-reduce-files-per-UnifiedBindings.patch -Patch10: mozilla-aarch64-startup-crash.patch -Patch11: mozilla-ucontext.patch +Patch2: mozilla-kde.patch +Patch3: mozilla-ntlm-full-path.patch +Patch4: mozilla-openaes-decl.patch +Patch5: mozilla-no-stdcxx-check.patch +Patch6: mozilla-reduce-files-per-UnifiedBindings.patch +Patch7: mozilla-aarch64-startup-crash.patch +Patch8: mozilla-bindgen-systemlibs.patch # Firefox/browser Patch101: firefox-kde.patch Patch102: firefox-no-default-ualocale.patch @@ -251,16 +255,15 @@ %endif cd $RPM_BUILD_DIR/mozilla %patch1 -p1 +%patch2 -p1 %patch3 -p1 +%patch4 -p1 %patch5 -p1 +%ifarch %ix86 %patch6 -p1 +%endif %patch7 -p1 %patch8 -p1 -%ifarch %ix86 -%patch9 -p1 -%endif -%patch10 -p1 -%patch11 -p1 # Firefox %patch101 -p1 %patch102 -p1 @@ -355,7 +358,6 @@ ac_add_options --enable-update-channel=%{update_channel} ac_add_options --with-mozilla-api-keyfile=%{SOURCE18} ac_add_options --with-google-api-keyfile=%{SOURCE19} -ac_add_options --disable-stylo %if %branding ac_add_options --enable-official-branding %endif ++++++ compare-locales.tar.xz ++++++ ++++++ create-tar.sh ++++++ --- /var/tmp/diff_new_pack.I5djYi/_old 2017-11-16 14:00:57.489747722 +0100 +++ /var/tmp/diff_new_pack.I5djYi/_new 2017-11-16 14:00:57.493747577 +0100 @@ -7,8 +7,8 @@ CHANNEL="release" BRANCH="releases/mozilla-$CHANNEL" -RELEASE_TAG="8fbf05f4b92125e081984f5e39b559b83e5cc729" # 56 build6 -VERSION="56.0" +RELEASE_TAG="8af8bd128bd014669ad89774f47668b0b8109337" # build 3 +VERSION="57.0" # mozilla if [ -d mozilla ]; then ++++++ firefox-56.0-source.tar.xz -> firefox-57.0-source.tar.xz ++++++ /work/SRC/openSUSE:Factory/MozillaFirefox/firefox-56.0-source.tar.xz /work/SRC/openSUSE:Factory/.MozillaFirefox.new/firefox-57.0-source.tar.xz differ: char 26, line 1 ++++++ firefox-branded-icons.patch ++++++ --- /var/tmp/diff_new_pack.I5djYi/_old 2017-11-16 14:00:57.529746273 +0100 +++ /var/tmp/diff_new_pack.I5djYi/_new 2017-11-16 14:00:57.533746128 +0100 @@ -1,11 +1,11 @@ # HG changeset patch # Parent e0751ad74e835e80041a61ea00c2a63bf6fbe2de -# Parent 6309c3625e39216f9cf5a7a35cbf6932adfabc1d +# Parent 75308bbaaf73d672c88cb283591d4aefc7db9804 diff --git a/browser/branding/branding-common.mozbuild b/browser/branding/branding-common.mozbuild --- a/browser/branding/branding-common.mozbuild +++ b/browser/branding/branding-common.mozbuild -@@ -41,18 +41,24 @@ def FirefoxBranding(): +@@ -38,18 +38,24 @@ def FirefoxBranding(): 'disk.icns', 'document.icns', 'dsstore', @@ -33,7 +33,7 @@ diff --git a/browser/installer/package-manifest.in b/browser/installer/package-manifest.in --- a/browser/installer/package-manifest.in +++ b/browser/installer/package-manifest.in -@@ -599,18 +599,21 @@ +@@ -618,18 +618,21 @@ @RESPATH@/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/chrome.manifest @RESPATH@/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/install.rdf @RESPATH@/chrome/toolkit@JAREXT@ ++++++ firefox-kde.patch ++++++ ++++ 969 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/MozillaFirefox/firefox-kde.patch ++++ and /work/SRC/openSUSE:Factory/.MozillaFirefox.new/firefox-kde.patch ++++++ firefox-no-default-ualocale.patch ++++++ --- /var/tmp/diff_new_pack.I5djYi/_old 2017-11-16 14:00:57.561745113 +0100 +++ /var/tmp/diff_new_pack.I5djYi/_new 2017-11-16 14:00:57.565744968 +0100 @@ -1,18 +1,18 @@ # HG changeset patch # User Wolfgang Rosenauer <w...@rosenauer.org> # Parent 099312626f5f7c9cb5573a61d0230574ee12a660 -# Parent b692fb539e9d0641ff557cb4b984b5e211aec572 +# Parent 3d1dbfbdfa41b433352fadf3efe4a21cb45a468f Do not overwrite the locale dynamic pref from xulrunner's all.js with a wrong default value diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js --- a/browser/app/profile/firefox.js +++ b/browser/app/profile/firefox.js -@@ -240,17 +240,17 @@ pref("browser.uitour.readerViewTrigger", +@@ -219,17 +219,17 @@ pref("browser.uitour.requireSecure", tru + pref("browser.uitour.themeOrigin", "https://addons.mozilla.org/%LOCALE%/firefox/themes/"); + pref("browser.uitour.url", "https://www.mozilla.org/%LOCALE%/firefox/%VERSION%/tour/"); + // How long to show a Hearbeat survey (two hours, in seconds) pref("browser.uitour.surveyDuration", 7200); - pref("browser.customizemode.tip0.shown", false); - pref("browser.customizemode.tip0.learnMoreUrl", "https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/customize"); - pref("keyword.enabled", true); pref("browser.fixup.domainwhitelist.localhost", true); ++++++ l10n-56.0.tar.xz -> l10n-57.0.tar.xz ++++++ /work/SRC/openSUSE:Factory/MozillaFirefox/l10n-56.0.tar.xz /work/SRC/openSUSE:Factory/.MozillaFirefox.new/l10n-57.0.tar.xz differ: char 26, line 1 ++++++ l10n_changesets.txt ++++++ --- /var/tmp/diff_new_pack.I5djYi/_old 2017-11-16 14:00:57.649741925 +0100 +++ /var/tmp/diff_new_pack.I5djYi/_new 2017-11-16 14:00:57.649741925 +0100 @@ -1,96 +1,96 @@ -ach e7adc49e1901 -af a175ec808407 -an c02780857019 -ar 6688a184a4ee -as 1b201809c30b -ast 5b0c1d37dfc4 -az 46f153ea025d -be e639859bd80d -bg 45ac10a8eebb -bn-BD 78e42794be0a -bn-IN b12cd5984010 -br 0c692a161e6a -bs c566dcff9228 -ca 843005ebdf57 -cak a201a160f1aa -cs 673e3c5d7e6d -cy d7785e84b2d5 -da d10cb0ccbfdf -de cbcbb67b7446 -dsb 91d7f449c8b8 -el 9fae6e0cf73a -en-GB 4efed4b7a026 -en-ZA 41d36ec15733 -eo 75689f423fee -es-AR 008298fdc822 -es-CL 0719cf9a02c5 -es-ES 89444d0f0c5e -es-MX a3b2c719d335 -et f94a081742e2 -eu e70ce824af92 -fa bd0a632a347e -ff e9ec23d286da -fi dee2606c0c52 -fr 444f6f248cda -fy-NL 5442947be711 -ga-IE 520a91e1b869 -gd 7b8d318d7172 -gl df4a43546115 -gn de90f7d4ad27 -gu-IN 49c0059e7b20 -he 14abb07c8067 -hi-IN 627e4866fa52 -hr 840d6fce9f2d -hsb 79b769f56afb -hu 75d6acab27ff -hy-AM 3543e3c61d51 -id 80d249bfce07 -is df02eb864aba -it 54ebd710b0b9 -ja 0f3bea597ba3 -ja-JP-mac 7f49be227f5d -ka ee6c8ed935e1 -kab f53aac551d7a -kk 07823d99b937 -km 3bf31b0b6d9e -kn c3db01aad2bf -ko 9508383b1bb7 -lij c585863b419f -lt 74e2d1cc81a1 -lv 6e57fc56b250 -mai 7c33a3406453 -mk b97e85f1e93e -ml de8be9445c41 -mr 61ad0573f895 -ms 25a747386aab -my 088ce3f4319d -nb-NO 1d197e5f990c -nl 5676db0716a9 -nn-NO fcd11b7086e5 -or f21324a0ed10 -pa-IN 4b71dd06d0e8 -pl b71e63bbbddd -pt-BR e0e7a5821812 -pt-PT 333e82cca862 -rm 6b8e6367d9d0 -ro 84d897edfd6c -ru aee79cd84afb -si d91975c0b4d8 -sk 8fa0e53e20c2 -sl 2abb9b1c667a -son be7a56e6d7fe -sq d9137ed745db -sr 6839a5986d5b -sv-SE 621c743144e6 -ta aae2aa13babf -te d9cf4d3c33e0 -th 34c1c62bb3cf -tr 921c1b013006 -uk 03b177ac056c -ur d97e35bba2d8 -uz 4807645f175b -vi fa843de1fbed -xh 7011a348aa3b -zh-CN 3ebe225f8ae8 -zh-TW 99c6d5ce2901 +ach 845e30d48dfc +af fb2bb189a1a8 +an a6cb9e55ca54 +ar b064d5ee568d +as c8c7ce08a50d +ast 7eb260478bd8 +az e53e6a85563a +be 3ee97e7a07c4 +bg f5cbdea3b4bb +bn-BD bd83d95fe12f +bn-IN 101048b9a8bd +br 1b53314687e2 +bs b3e804dbc8e2 +ca ef0d1d4ef0de +cak a3648bb10a20 +cs 528911ffcb44 +cy 21e09e135ce7 +da 9c08e8177409 +de 3d02afaa90f1 +dsb 4f2a125adbc5 +el a925e0e24aaf +en-GB 440d6fbf0938 +en-ZA 4bd5e2534230 +eo 42248b1fda32 +es-AR 39d7f70fbd4a +es-CL e0806844a966 +es-ES 385b05704e12 +es-MX 4322b61a47fd +et fc5042e8d705 +eu 1010ee63a76a +fa 988038c98e07 +ff 0ae0e4ad0400 +fi 83ae1ba711f8 +fr 0acb9b019381 +fy-NL f66ad8f570c9 +ga-IE b6bd9e6bf934 +gd 2b1b66f8236b +gl bd2efa51e288 +gn ef1c4c22501c +gu-IN 9b4d89d58ee1 +he 923c4ce99db2 +hi-IN 62f4cab806a5 +hr 26c2911d2b28 +hsb 9a556a68f383 +hu 43fb04933e45 +hy-AM 6020222039ca +id bc055f358395 +is b265b8439970 +it 72e0f73d8188 +ja 9e9796b48f28 +ja-JP-mac 2cbb5add9822 +ka 43d1466fc89b +kab 8e739627fb01 +kk 51aee666e469 +km 79239374c86f +kn a6dd05b338cf +ko 0fccbb892229 +lij d1d09ea09eff +lt 5f5779c69338 +lv f0fd0c3546e0 +mai 64d402c5dbc1 +mk b3fb89cac86c +ml 9d626ede460e +mr 1a23c6401834 +ms 15a3d7fccea1 +my 2e2cc78ff945 +nb-NO 467ca2ff0cd1 +nl 10957cbee7f0 +nn-NO 71fce03b2c6b +or 8c482206a700 +pa-IN a2af69c875ad +pl ce3a564b00c2 +pt-BR 71346ac29bfc +pt-PT 387686b89f52 +rm de3c6abf95ab +ro 6e3dfa0ea030 +ru 760cda086381 +si 355b25c93905 +sk 5444e00cc3e6 +sl cb6eb7e6ba4a +son e9a07815a9aa +sq c61933c72577 +sr 74f5c2f98346 +sv-SE f75dd8e9c4df +ta ad1bce7770b4 +te dde86e2a2c17 +th 1950402ffa30 +tr e8700165617b +uk e7b649fcf3bb +ur 9881f47a738d +uz 9ac534694f99 +vi 601e9a63473e +xh 4d22de472867 +zh-CN 8aff87add86f +zh-TW 2ac3b80bdb6e ++++++ mozilla-aarch64-startup-crash.patch ++++++ --- /var/tmp/diff_new_pack.I5djYi/_old 2017-11-16 14:00:57.665741345 +0100 +++ /var/tmp/diff_new_pack.I5djYi/_new 2017-11-16 14:00:57.669741200 +0100 @@ -1,12 +1,12 @@ # HG changeset patch # Parent a5cfa3aa11a9d3391df49de6fc5a0e5232c12c10 -# Parent d36d722c028f553ac3fb2f3655fb2c0ca745050c +# Parent 6906d2adcc834114de3118365cb75b113df8564e Bug 991344 - Rpi3: Firefox crashes after a few seconds of usage diff --git a/netwerk/base/nsIOService.cpp b/netwerk/base/nsIOService.cpp --- a/netwerk/base/nsIOService.cpp +++ b/netwerk/base/nsIOService.cpp -@@ -874,17 +874,23 @@ nsIOService::NewChannelFromURIWithProxyF +@@ -892,17 +892,23 @@ nsIOService::NewChannelFromURIWithProxyF "doesn't support nsIUploadChannel2. An extension has " "supplied a non-functional http protocol handler. This will " "break behavior and in future releases not work at all."); ++++++ mozilla-bindgen-systemlibs.patch ++++++ # HG changeset patch # Parent e85dde0eabf214916c69924aa49192ab412e00a1 diff --git a/build/autoconf/config.status.m4 b/build/autoconf/config.status.m4 --- a/build/autoconf/config.status.m4 +++ b/build/autoconf/config.status.m4 @@ -40,16 +40,31 @@ define([AC_SUBST_LIST], [ifdef([AC_SUBST_SET_$1], [m4_fatal([Cannot use AC_SUBST_SET and AC_SUBST_LIST on the same variable ($1)])], [ifdef([AC_SUBST_LIST_$1], , [define([AC_SUBST_LIST_$1], )dnl AC_DIVERT_PUSH(MOZ_DIVERSION_SUBST)dnl (''' $1 ''', list(r''' [$]$1 '''.split())) AC_DIVERT_POP()dnl ])])])]) +dnl Like AC_SUBST, but makes the value available as a string of quoted strings +dnl in python, with values got from the value of the environment variable, +dnl split on whitespaces. The value is suitable for embedding into a .toml +dnl list. +define([AC_SUBST_TOML_LIST], +[ifdef([AC_SUBST_$1], [m4_fatal([Cannot use AC_SUBST and AC_SUBST_LIST on the same variable ($1)])], +[ifdef([AC_SUBST_SET_$1], [m4_fatal([Cannot use AC_SUBST_SET and AC_SUBST_LIST on the same variable ($1)])], +[ifdef([AC_SUBST_LIST_$1], , +[define([AC_SUBST_LIST_$1], )dnl +AC_DIVERT_PUSH(MOZ_DIVERSION_SUBST)dnl + (''' $1 ''', r''' %s ''' % str(', '.join("'%s'" % s for s in r''' [$]$1 '''.split()))) +AC_DIVERT_POP()dnl +])])])]) + + dnl Ignore AC_SUBSTs for variables we don't have use for but that autoconf dnl itself exports. define([AC_SUBST_CFLAGS], ) define([AC_SUBST_CPPFLAGS], ) define([AC_SUBST_CXXFLAGS], ) define([AC_SUBST_FFLAGS], ) define([AC_SUBST_DEFS], ) define([AC_SUBST_LDFLAGS], ) diff --git a/build/moz.configure/toolchain.configure b/build/moz.configure/toolchain.configure --- a/build/moz.configure/toolchain.configure +++ b/build/moz.configure/toolchain.configure @@ -897,25 +897,24 @@ def check_have_64_bit(have_64_bit, compi configure_error('The target compiler does not agree with configure ' 'about the target bitness.') option(env='BINDGEN_CFLAGS', nargs=1, help='Options bindgen should pass to the C/C++ parser') @depends('BINDGEN_CFLAGS') -@checking('bindgen cflags', lambda s: s if s and s.strip() else 'no') +@checking('bindgen cflags', lambda s: s if s and s[0].strip() else 'no') def bindgen_cflags(value): if value and len(value): # Reformat the env value for substitution into a toml list. flags = value[0].split() - return ', '.join('"' + flag + '"' for flag in flags) - return '' + return flags -set_config('BINDGEN_CFLAGS', bindgen_cflags) +add_old_configure_assignment('_BINDGEN_CFLAGS', bindgen_cflags) @depends(c_compiler) def default_debug_flags(compiler_info): # Debug info is ON by default. if compiler_info.type in ('msvc', 'clang-cl'): return '-Zi' return '-g' diff --git a/layout/style/bindgen.toml.in b/layout/style/bindgen.toml.in --- a/layout/style/bindgen.toml.in +++ b/layout/style/bindgen.toml.in @@ -1,4 +1,4 @@ [build] args = [ - @BINDGEN_CFLAGS@ + @BINDGEN_SYSTEM_FLAGS@ ] diff --git a/old-configure.in b/old-configure.in --- a/old-configure.in +++ b/old-configure.in @@ -4453,16 +4453,19 @@ android) esac AC_SUBST(MOZ_TREE_CAIRO) AC_SUBST_LIST(MOZ_CAIRO_CFLAGS) AC_SUBST_LIST(MOZ_CAIRO_LIBS) AC_SUBST_LIST(MOZ_CAIRO_OSLIBS) AC_SUBST(MOZ_TREE_PIXMAN) +BINDGEN_SYSTEM_FLAGS="$_BINDGEN_CFLAGS $NSPR_CFLAGS $NSS_CFLAGS $MOZ_PIXMAN_CFLAGS $MOZ_CAIRO_CFLAGS" +AC_SUBST_TOML_LIST(BINDGEN_SYSTEM_FLAGS) + dnl ======================================================== dnl disable xul dnl ======================================================== MOZ_ARG_DISABLE_BOOL(xul, [ --disable-xul Disable XUL], MOZ_XUL= ) if test "$MOZ_XUL"; then AC_DEFINE(MOZ_XUL) ++++++ mozilla-kde.patch ++++++ --- /var/tmp/diff_new_pack.I5djYi/_old 2017-11-16 14:00:57.713739605 +0100 +++ /var/tmp/diff_new_pack.I5djYi/_new 2017-11-16 14:00:57.717739461 +0100 @@ -1,5 +1,5 @@ # HG changeset patch -# Parent faadbf89d1cb02eefec4c5dfd3ab86bc20d815d5 +# Parent 87a32e5d11e9d652e331a5f852bb951069b20c4a Description: Add KDE integration to Firefox (toolkit parts) Author: Wolfgang Rosenauer <wolfg...@rosenauer.org> Author: Lubos Lunak <lu...@suse.com> @@ -9,10 +9,10 @@ diff --git a/modules/libpref/Preferences.cpp b/modules/libpref/Preferences.cpp --- a/modules/libpref/Preferences.cpp +++ b/modules/libpref/Preferences.cpp -@@ -33,16 +33,17 @@ +@@ -37,16 +37,17 @@ #include "nsIZipReader.h" #include "nsPrefBranch.h" - #include "nsXPIDLString.h" + #include "nsString.h" #include "nsCRT.h" #include "nsCOMArray.h" #include "nsXPCOMCID.h" @@ -27,7 +27,7 @@ #include "prefread.h" #include "prefapi_private_data.h" -@@ -1435,16 +1436,34 @@ pref_LoadPrefsInDir(nsIFile* aDir, char +@@ -1413,16 +1414,34 @@ pref_LoadPrefsInDir(nsIFile* aDir, char static nsresult pref_LoadPrefsInDirList(const char *listId) { @@ -62,7 +62,7 @@ return NS_OK; bool hasMore; -@@ -1460,17 +1479,17 @@ static nsresult pref_LoadPrefsInDirList( +@@ -1438,17 +1457,17 @@ static nsresult pref_LoadPrefsInDirList( nsAutoCString leaf; path->GetNativeLeafName(leaf); @@ -79,9 +79,9 @@ static nsresult pref_ReadPrefFromJar(nsZipArchive* jarReader, const char *name) { - nsZipItemPtr<char> manifest(jarReader, name, true); - NS_ENSURE_TRUE(manifest.Buffer(), NS_ERROR_NOT_AVAILABLE); -@@ -1566,24 +1585,36 @@ pref_InitInitialObjects() + nsCString manifest; + MOZ_TRY_VAR(manifest, URLPreloader::ReadZip(jarReader, nsDependentCString(name))); +@@ -1544,24 +1563,36 @@ pref_InitInitialObjects() /* these pref file names should not be used: we process them after all other application pref files for backwards compatibility */ static const char* specialFiles[] = { #if defined(XP_MACOSX) @@ -121,7 +121,7 @@ diff --git a/modules/libpref/moz.build b/modules/libpref/moz.build --- a/modules/libpref/moz.build +++ b/modules/libpref/moz.build -@@ -33,16 +33,20 @@ EXPORTS.mozilla += [ +@@ -31,16 +31,20 @@ EXPORTS.mozilla += [ UNIFIED_SOURCES += [ 'nsPrefBranch.cpp', 'nsPrefsFactory.cpp', @@ -166,8 +166,7 @@ diff --git a/python/mozbuild/mozpack/chrome/manifest.py b/python/mozbuild/mozpack/chrome/manifest.py --- a/python/mozbuild/mozpack/chrome/manifest.py +++ b/python/mozbuild/mozpack/chrome/manifest.py -@@ -33,16 +33,17 @@ class ManifestEntry(object): - 'application', +@@ -34,16 +34,17 @@ class ManifestEntry(object): 'platformversion', 'os', 'osversion', @@ -175,7 +174,8 @@ 'xpcnativewrappers', 'tablet', 'process', -+ 'desktop', + 'contentaccessible', ++ 'desktop', ] def __init__(self, base, *flags): @@ -568,7 +568,7 @@ + if (/Win/.test(navigator.platform)) { + var spacer = document.getAnonymousElementByAttribute(this, "anonid", "spacer"); + spacer.removeAttribute("hidden"); -+ spacer.setAttribute("flex", shown["extra2"] ? "1" : "0"); ++ spacer.setAttribute("flex", shown.extra2 ? "1" : "0"); + } + } + ]]> @@ -803,7 +803,7 @@ + </field> + <field name="rootBranchInternal"> + Components.classes["@mozilla.org/preferences-service;1"] -+ .getService(Components.interfaces.nsIPrefBranchInternal); ++ .getService(Components.interfaces.nsIPrefBranch); + </field> + <property name="type" readonly="true"> + <getter> @@ -1083,7 +1083,7 @@ + return fontEnumerator.getStandardFamilyName(family); + case "file": + var f = this._branch -+ .getComplexValue(this.name, Components.interfaces.nsILocalFile); ++ .getComplexValue(this.name, Components.interfaces.nsIFile); + return f; + default: + this._reportUnknownType(); @@ -1128,14 +1128,14 @@ + var lf; + if (typeof(val) == "string") { + lf = Components.classes["@mozilla.org/file/local;1"] -+ .createInstance(Components.interfaces.nsILocalFile); ++ .createInstance(Components.interfaces.nsIFile); + lf.persistentDescriptor = val; + if (!lf.exists()) + lf.initWithPath(val); + } else -+ lf = val.QueryInterface(Components.interfaces.nsILocalFile); ++ lf = val.QueryInterface(Components.interfaces.nsIFile); + this.preferences.rootBranch -+ .setComplexValue(this.name, Components.interfaces.nsILocalFile, lf); ++ .setComplexValue(this.name, Components.interfaces.nsIFile, lf); + break; + default: + this._reportUnknownType(); @@ -2883,7 +2883,7 @@ new file mode 100644 --- /dev/null +++ b/uriloader/exthandler/unix/nsKDERegistry.cpp -@@ -0,0 +1,88 @@ +@@ -0,0 +1,87 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this @@ -2893,7 +2893,6 @@ +#include "prlink.h" +#include "prmem.h" +#include "nsString.h" -+#include "nsILocalFile.h" +#include "nsMIMEInfoUnix.h" +#include "nsAutoPtr.h" +#include "nsKDEUtils.h" @@ -2989,8 +2988,8 @@ +#include "nsTArray.h" + +class nsMIMEInfoBase; -+class nsAutoCString; -+class nsCString; ++//class nsAutoCString; ++//class nsCString; + +class nsKDERegistry +{ @@ -3126,10 +3125,10 @@ #include "nsString.h" #include "nsReadableUtils.h" #include "nsUnicharUtils.h" - #include "nsXPIDLString.h" #include "nsIURL.h" #include "nsIFileStreams.h" -@@ -1143,26 +1143,26 @@ nsresult nsOSHelperAppService::OSProtoco + #include "nsILineInputStream.h" +@@ -1142,26 +1142,26 @@ nsresult nsOSHelperAppService::OSProtoco ContentAction::Action::defaultActionForScheme(QString(aProtocolScheme) + ':'); if (action.isValid()) @@ -3158,7 +3157,7 @@ nsresult nsOSHelperAppService::GetFileTokenForPath(const char16_t * platformAppPath, nsIFile ** aFile) { -@@ -1249,17 +1249,17 @@ nsOSHelperAppService::GetFromExtension(c +@@ -1248,17 +1248,17 @@ nsOSHelperAppService::GetFromExtension(c mime_types_description, true); @@ -3177,7 +3176,7 @@ rv = LookUpTypeAndDescription(NS_ConvertUTF8toUTF16(aFileExt), majorType, -@@ -1370,17 +1370,17 @@ nsOSHelperAppService::GetFromType(const +@@ -1369,17 +1369,17 @@ nsOSHelperAppService::GetFromType(const nsAutoString extensions, mime_types_description; LookUpExtensionsAndDescription(majorType, minorType, @@ -3276,7 +3275,7 @@ mFilters.AppendElement(filter); mFilterNames.AppendElement(name); -@@ -371,16 +375,34 @@ nsFilePicker::Show(int16_t *aReturn) +@@ -371,16 +375,37 @@ nsFilePicker::Show(int16_t *aReturn) NS_IMETHODIMP nsFilePicker::Open(nsIFilePickerShownCallback *aCallback) @@ -3287,23 +3286,26 @@ + // KDE file picker is not handled via callback + if( nsKDEUtils::kdeSupport()) { -+ int16_t result; + mCallback = aCallback; + mRunning = true; -+ NS_ADDREF_THIS(); -+ kdeFileDialog(&result); -+ if (mCallback) { -+ mCallback->Done(result); -+ mCallback = nullptr; -+ } else { -+ mResult = result; -+ } -+ mRunning = false; -+ NS_RELEASE_THIS(); ++ g_idle_add([](gpointer data) -> gboolean { ++ nsFilePicker* queuedPicker = (nsFilePicker*) data; ++ int16_t result; ++ queuedPicker->kdeFileDialog(&result); ++ if (queuedPicker->mCallback) { ++ queuedPicker->mCallback->Done(result); ++ queuedPicker->mCallback = nullptr; ++ } else { ++ queuedPicker->mResult = result; ++ } ++ queuedPicker->mRunning = false; ++ return G_SOURCE_REMOVE; ++ }, this); ++ + return NS_OK; + } + - nsXPIDLCString title; + nsCString title; title.Adopt(ToNewUTF8String(mTitle)); GtkWindow *parent_widget = @@ -3311,7 +3313,7 @@ GtkFileChooserAction action = GetGtkFileChooserAction(mMode); -@@ -603,8 +625,235 @@ nsFilePicker::Done(GtkWidget* file_choos +@@ -603,8 +628,233 @@ nsFilePicker::Done(GtkWidget* file_choos if (mCallback) { mCallback->Done(result); mCallback = nullptr; @@ -3351,7 +3353,7 @@ + if( mMode == modeOpen && mFilters.Length() == 1 && mFilters[ 0 ].EqualsLiteral( "..apps" )) + return kdeAppsDialog( aReturn ); + -+ nsXPIDLCString title; ++ nsCString title; + title.Adopt(ToNewUTF8String(mTitle)); + + const char* arg = NULL; @@ -3408,8 +3410,6 @@ + else + startdir = ToNewUTF8String(mDefault); + } -+ if( startdir.IsEmpty()) -+ startdir = "."; + + nsAutoCString filters; + PRInt32 count = mFilters.Length(); @@ -3520,7 +3520,7 @@ + { + NS_ENSURE_ARG_POINTER(aReturn); + -+ nsXPIDLCString title; ++ nsCString title; + title.Adopt(ToNewUTF8String(mTitle)); + + nsTArray<nsCString> command; @@ -3726,7 +3726,7 @@ diff --git a/xpcom/io/nsLocalFileUnix.cpp b/xpcom/io/nsLocalFileUnix.cpp --- a/xpcom/io/nsLocalFileUnix.cpp +++ b/xpcom/io/nsLocalFileUnix.cpp -@@ -46,16 +46,17 @@ +@@ -45,16 +45,17 @@ #include "prproces.h" #include "nsIDirectoryEnumerator.h" #include "nsISimpleEnumerator.h" @@ -3744,7 +3744,7 @@ #include "prmem.h" #include "plbase64.h" -@@ -1941,59 +1942,74 @@ nsLocalFile::SetPersistentDescriptor(con +@@ -1938,59 +1939,74 @@ nsLocalFile::SetPersistentDescriptor(con return InitWithNativePath(aPersistentDescriptor); #endif } ++++++ mozilla-no-stdcxx-check.patch ++++++ --- /var/tmp/diff_new_pack.I5djYi/_old 2017-11-16 14:00:57.729739026 +0100 +++ /var/tmp/diff_new_pack.I5djYi/_new 2017-11-16 14:00:57.729739026 +0100 @@ -1,11 +1,11 @@ # HG changeset patch # User Wolfgang Rosenauer <w...@rosenauer.org> -# Parent e96e9b3997ea31024687aaa1e9aa5ccf78bc0ee9 +# Parent 8f6d1846ca837387965573161577b1c5a483bcda diff --git a/config/config.mk b/config/config.mk --- a/config/config.mk +++ b/config/config.mk -@@ -653,17 +653,16 @@ ifeq ($(MOZ_WIDGET_TOOLKIT),android) +@@ -579,17 +579,16 @@ ifeq ($(MOZ_WIDGET_TOOLKIT),android) # of the linker command line), if libmozglue.so ends up after libc.so, all # hell breaks loose, so better safe than sorry, and check it's actually the # case. ++++++ mozilla-ntlm-full-path.patch ++++++ --- /var/tmp/diff_new_pack.I5djYi/_old 2017-11-16 14:00:57.741738591 +0100 +++ /var/tmp/diff_new_pack.I5djYi/_new 2017-11-16 14:00:57.741738591 +0100 @@ -1,7 +1,7 @@ # HG changeset patch # User Petr Cerny <pce...@novell.com> # Parent 7308e4a7c1f769f4bbbc90870b849cadd99495a6 -# Parent fe1932b7223a298863663244accc524d474a9f6d +# Parent 6a285f641aa53b55ec6480a8a7945a179e5c1506 Bug 634334 - call to the ntlm_auth helper fails diff --git a/extensions/auth/nsAuthSambaNTLM.cpp b/extensions/auth/nsAuthSambaNTLM.cpp ++++++ mozilla-openaes-decl.patch ++++++ --- /var/tmp/diff_new_pack.I5djYi/_old 2017-11-16 14:00:57.753738156 +0100 +++ /var/tmp/diff_new_pack.I5djYi/_new 2017-11-16 14:00:57.753738156 +0100 @@ -1,7 +1,7 @@ # HG changeset patch # Parent 33024abb3c58dab7239e32388df58e14f99defd5 # User Wolfgang Rosenauer <w...@rosenauer.org> -# Parent 6005a673f4c68ed05294bedcf45d6d962bf303e6 +# Parent 0cfd693fdbbb0635787f1aeacee2dda43b01c495 diff --git a/media/gmp-clearkey/0.1/openaes/oaes_lib.c b/media/gmp-clearkey/0.1/openaes/oaes_lib.c --- a/media/gmp-clearkey/0.1/openaes/oaes_lib.c ++++++ mozilla-reduce-files-per-UnifiedBindings.patch ++++++ --- /var/tmp/diff_new_pack.I5djYi/_old 2017-11-16 14:00:57.761737866 +0100 +++ /var/tmp/diff_new_pack.I5djYi/_new 2017-11-16 14:00:57.765737721 +0100 @@ -13,11 +13,15 @@ [ 1636s] c++: internal compiler error: Killed (program cc1plus) [ 1636s] Please submit a full bug report, -Index: mozilla/python/mozbuild/mozbuild/backend/common.py -=================================================================== ---- mozilla.orig/python/mozbuild/mozbuild/backend/common.py 2016-02-26 17:19:30.331667693 +0100 -+++ mozilla/python/mozbuild/mozbuild/backend/common.py 2016-02-26 17:19:39.792569676 +0100 -@@ -333,7 +333,7 @@ class CommonBackend(BuildBackend): +diff --git a/python/mozbuild/mozbuild/backend/common.py b/python/mozbuild/mozbuild/backend/common.py +--- a/python/mozbuild/mozbuild/backend/common.py ++++ b/python/mozbuild/mozbuild/backend/common.py +@@ -386,17 +386,17 @@ class CommonBackend(BuildBackend): + ) + self._handle_generated_sources(manager.expected_build_output_files()) + # Bindings are compiled in unified mode to speed up compilation and + # to reduce linker memory size. Note that test bindings are separated + # from regular ones so tests bindings aren't shipped. unified_source_mapping = list(group_unified_files(webidls.all_regular_cpp_basenames(), unified_prefix='UnifiedBindings', unified_suffix='cpp', @@ -26,3 +30,8 @@ self._write_unified_files(unified_source_mapping, bindings_dir, poison_windows_h=True) self._handle_webidl_build(bindings_dir, unified_source_mapping, + webidls, + manager.expected_build_output_files(), + manager.GLOBAL_DEFINE_FILES) + + def _write_unified_file(self, unified_file, source_filenames, ++++++ source-stamp.txt ++++++ --- /var/tmp/diff_new_pack.I5djYi/_old 2017-11-16 14:00:57.789736852 +0100 +++ /var/tmp/diff_new_pack.I5djYi/_new 2017-11-16 14:00:57.789736852 +0100 @@ -1,2 +1,2 @@ -REV=8fbf05f4b921 +REV=8af8bd128bd0 REPO=http://hg.mozilla.org/releases/mozilla-release