firefox 72.0.2-2 (i686;x86_64;znver1) 2020-10269
9999
Status | published | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Submitter | cris [@T] beebgames.com | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Platform | rolling | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Repository | main | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
URL | https://abf.openmandriva.org/build_lists/676180 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Packages |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Build Date | 2020-01-26 14:52:35 +0000 UTC | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Last Updated | 2020-01-27 04:44:43.59549607 +0000 UTC |
$ git diff --patch-with-stat --summary 9f95e4c9147997d026d724ccc1cc7fcd6205a6bf..887c35aeab0b71163e83a37542c70f770db0232f .abf.yml | 142 +++++++++---------- build-aarch64-skia.patch | 45 ++++++ build-arm-libopus.patch | 12 ++ download.sh | 2 +- firefox-71.0-kde.patch => firefox-72.0-kde.patch | 0 firefox-72.0.2-sqlite-3.31.patch | 173 +++++++++++++++++++++++ firefox.spec | 40 +++--- mozilla-71.0-kde.patch => mozilla-72.0-kde.patch | 26 ++-- 8 files changed, 331 insertions(+), 109 deletions(-) create mode 100644 build-aarch64-skia.patch create mode 100644 build-arm-libopus.patch rename firefox-71.0-kde.patch => firefox-72.0-kde.patch (100%) create mode 100644 firefox-72.0.2-sqlite-3.31.patch rename mozilla-71.0-kde.patch => mozilla-72.0-kde.patch (98%) diff --git a/.abf.yml b/.abf.yml index 4a87721..13a55f2 100644 --- a/.abf.yml +++ b/.abf.yml @@ -1,74 +1,74 @@ sources: - af.xpi: 3161429d341c266a40e0070d5294ca2c6842f679 - ar.xpi: 4f14f162c008d03c52477dab2354bc04932e2c9c - ast.xpi: 5f372444950c164e4042e315bfd7670eb6903f6f autoconf-2.13.tar.gz: e4826c8bd85325067818f19b2b2ad2b625da66fc - bg.xpi: 960adac9c9525baa3ec21ce2ec20852dd69bf893 - bn.xpi: 311b169677e2472241cd4c0e16bd242e0f00571e - br.xpi: 96ca24419da918acbedf8734f20eaf3dc230d784 - bs.xpi: 4b3621ff972dfa92f4fcbcbe3c79cf716b392310 - ca.xpi: 2f00b8d8e1eca4239fd6281db0df4e9f56827705 cbindgen-vendor.tar.xz: f661af3f8e6a52af8f0bc206987134e66b449fe0 - cs.xpi: f8b4a71db6b250bb277aff1cb47a1529a79e690a - cy.xpi: 8f7744fd62f28d0870801895f555beecb77ffd96 - da.xpi: c0e46e1b2d1f2df5adfb28d25e5d9cbdb0564254 - de.xpi: f24bac5cceb3cdded65aee2fbac09cce5fd25ebb - el.xpi: 615ab9b1bd75a479aa1c9f1eafa065e7855aa866 - en-GB.xpi: 04f2bd4e473d27b0290d2029e72d6ca16987929c - eo.xpi: f2a57614bfc7ca9129497b826f5ce166857038ec - es-AR.xpi: 9a514eeb31f63fb4702742f2c7b22cc98c413879 - es-CL.xpi: 05dd0865a11e0c6047778ed45660e5ad37e5d966 - es-ES.xpi: b3d5a9d15c77ef9a94fd01dcda5af30777765f18 - es-MX.xpi: 32b2ce19db203ec8f4386cb1fae3949d99b1a1c3 - et.xpi: ee207a44506dfb967f753dd53d7178f37659d29e - eu.xpi: 59871cfdf90d2a9075756acd8c859a2df9d8e57f - fa.xpi: 6999447ed2d3c21b8262714d3630eec1c5c5a678 - fi.xpi: 7c5a51b0fa37a8dc497e747f84f7cb39d1c8077a - firefox-71.0.source.tar.xz: 8cb0b0ba8473412e8e25cdcb0cfa225d15a15640 - fr.xpi: 4ab992dc5e690a535028ac175b0a87f04cae7e92 - fy-NL.xpi: d26d8b6ec399f3ff2306a7eede06da5d5494149a - ga-IE.xpi: 19fbb445b3a4f97bd13f1228ce5bfab5de8981a7 - gd.xpi: 1964d4a9b8c935eb9550f673cf0f4913751403b4 - gl.xpi: 61c81d6bf34485dc99d49f2ae8921f72d312c910 - gu-IN.xpi: 27aa9daaf68cd06f7909d8ff6f8ae2438e4135aa - he.xpi: 52aaaa9f428db4d6cd97e5266f7c8424e45628c8 - hi-IN.xpi: 4eb9548437c79e25132a07fa50b12f5affa2faa2 - hr.xpi: 0cb43277cfe5a52116b3107b8bc442b6c1a2e3ff - hu.xpi: 5cf8ade8a6a9980b40456d531aa8bd8ddd991d9b - hy-AM.xpi: 6ffee34249413e5c582b51989c3b4657b98c72f9 - id.xpi: c03697b06d3bef8931c8e654866d0960d4ae18d7 - is.xpi: 2cddb95d1838f56fa59ba83b3cb87944331025c6 - it.xpi: 4cf48402e2921dedb1cd35c26dec040cab7b2ac0 - ja.xpi: 954f102935026160f6507e2b3e7ed4987587e6fe - kk.xpi: 6f34f3d7ea4fa686223bceb4e41cbd426bc5077c - km.xpi: 642138d7eda5b38faae88d2bb2419c81a3cb8971 - kn.xpi: 52f022913bfa76732c417761c3361fad1a78ea3c - ko.xpi: f34c795c97c41d80a67752146b3da62ee75c9cb0 - lt.xpi: 523550b7e93e10b9d60827cd833a364d373171b5 - lv.xpi: 3f8e08f1bcead3e912a616cd3afeb22f1c92e211 - mk.xpi: 7a9f3adbfa8c97b91608895cc34261f080493bf7 - mr.xpi: c6bf5d419eaac6901d2b3135a056651e91105c8c - nb-NO.xpi: 28db2a4645c71472ec588444e39bebbad6d43fda - nl.xpi: d1fa5909531b7cbfd26e99b530bee67f337c7194 - nn-NO.xpi: 5e0fe5a1e2a642874e7f2efa1e6f3bd2eb1a8d30 - or.xpi: 39e99b91bb2d0b10a7561ddcca86015d2ac7f624 - pa-IN.xpi: a8ecc4a527cf3317fe74a9a0b6b45a04455a8bc7 - pl.xpi: 122b52a8e707e725b4a22e5edbce178ba7c48cce - pt-BR.xpi: ab5288d3ba26a4f14980d4a1eb61c8295527d0f8 - pt-PT.xpi: 92f88503a9183ad4d6f3e5f3b342e515c791dbb5 - ro.xpi: 9fd15b98ee5aee9f44010b57789f7e4bd8b0e970 - ru.xpi: beac4c84e01bd363b3319d10a2c155f8aafba987 - si.xpi: 3a5bd9116376c03e0c7e96589822034845586067 - sk.xpi: 430fd493daa6e7b3c31e069c77c6f542017769c6 - sl.xpi: 6c5bed4f148e622e01c2b80d1d65c913e42e279b - sq.xpi: 0e0624e5797cc066307ef11c4f9674aefcf1c8b8 - sr.xpi: 9e4e8b28e9f15f7bfe632630f549d06a527dab51 - sv-SE.xpi: d1cffb7c6e7c6de56fcf2af4ddbbfee12f5b7019 - ta.xpi: 7ebdd8839538e7bdf9dafa0235d6ac2ff7d8512e - te.xpi: 1b518a1ce29f5a407adddd3a0ebe7126ef100c79 - th.xpi: 0b5cc6ebb3f07a37647a80bce2698aaa0f9e948c - tr.xpi: cdb505c585efefbb520d8ca8284bfe9c35ffe9a2 - uk.xpi: 8001f69c7e3cbb03b28d15f78e86274badac8a17 - vi.xpi: 252aa8280a8a29a54e132e7f9f694a482d496b8c - zh-CN.xpi: 58d8dcc7bf85e257fe0dfd67208add827c6eb635 - zh-TW.xpi: 75112452340e063858efd78a63ecf2561df0899f + af.xpi: dabf1cb12168eb1593d948127ef458d2f0d3091e + ar.xpi: ce4e4e4770d214ccd18d79a249e12d61833338c9 + ast.xpi: bff134c365ff6d22eecb2b2826858e6eecd65d3e + be.xpi: 12e55652aa01c3531dbeb1ac59b97eb649f937db + bg.xpi: f1f3e74a3e0942e2c82d149b44139db489c1498e + bn.xpi: 19edf0472fb6eea842fca4f62c05a7aafc170093 + br.xpi: 039a3e655767fdd4ac8107b7ae8541bd75a39c54 + bs.xpi: 343de91a995c5fd28007f9e454df853e53af5ebf + ca.xpi: ad3932c1eb31189726f54f42f7c973bc2426fce7 + cs.xpi: 90c24c60ced26229950b39ebf8438adfab9c7cda + cy.xpi: fdb4a067b89f358ae9bf8e6553bff5987d9c8c72 + da.xpi: 224329694e92112ece769643e1d9ebeca4f1b627 + de.xpi: 87d0f1dfb25a5821b389fe61224fbe472d4b7c90 + el.xpi: 88fe3a405753af668933b4916ad2e6155cfefbf4 + en-GB.xpi: e0cf0b7a8f6b169963119784f0bcba02869043b1 + eo.xpi: e8bee65056a2276c7acf454f9171d4eb42c4251d + es-AR.xpi: 382a83961d246b2a7c8f5724ef8587ff5d539fbf + es-CL.xpi: b9b40afed0779f02f846616bbe4ad789c2e832f3 + es-ES.xpi: 4665e45333f8231d180e948c16dc07af94ac3df7 + es-MX.xpi: ec9d0064d75e80bfef62bf13154e521808d75a5c + et.xpi: f2221484c8b4abcfaf23cf7a6297c88468eda193 + eu.xpi: 4dc14ae9232be4d5655e66db562e1aa2dcaec187 + fa.xpi: 79603966850e9caafb5625e14c9a81040be6cc19 + fi.xpi: b0766c73e28e1222cfee920ccdbb4b3e0a62092b + fr.xpi: 082d5dd937da01842a58c4ffd3ab3001e1d18d09 + fy-NL.xpi: e199a49ed45552592c60951576049a58f973a00b + ga-IE.xpi: f7de7affc39ad9f01b42419cd2051291de56c51a + gd.xpi: d5f527d96267afeda59a14bca8bedb1da24ff279 + gl.xpi: 5c7b86f19fd84559e93fa91558527505dffc1f81 + gu-IN.xpi: ee9bf34c82aaf4d3428255e35b4677885e96b0ec + he.xpi: 29c0f0ca8af3479a48d42cf8ddd01d71d675be82 + hi-IN.xpi: 082d5ac8e1e58ae572d29a84b2e4d24081bada0d + hr.xpi: ffbfcf37760c1234ffb53e28e38890f7f91a0e71 + hu.xpi: d358f2476ad402f631b3846f5d53f266b4abbb03 + hy-AM.xpi: f9363101d1a784cd2e11e7e2f91e8967a5d51498 + id.xpi: 3324b37b2104241dc4b24dabee76a6cf434fbf21 + is.xpi: bcd891b41e217bf4cf5150ecc50284e6afab466c + it.xpi: 837feb28d308725dfdb4a4654354f806671e1efc + ja.xpi: 2556281849090d404786ef72c1032b4477b63f6b + kk.xpi: 9b0eb0f56bf0fedfa3066d699e77919b65ea272d + km.xpi: caad15149e901cf3c5a9d6428ffc2a83f0ca20bd + kn.xpi: b0dd9dfb5a80ec3fd95d50059ed1e0872c747f70 + ko.xpi: e4edd78235b6f9b9e9ebbd091116d07b634eaf60 + lt.xpi: ce7fa2dd8dd592d1decbe2d9399dac6a44a67870 + lv.xpi: 6eff5986341e9cef5f065647c4079f4d892f784a + mk.xpi: e0a7593ce470909bfdd780bee50a40bd7aa708ca + mr.xpi: 9cc0d9cf9127f84f8d94bf97c51b1573325871e1 + nb-NO.xpi: 80e9b2dfaa138953f225406918996c6e78876206 + nl.xpi: d9e8addc6af2cd3589a90a9d89f44fc8fa00f24f + nn-NO.xpi: cd745aa6cb659ff97fbf7a8956a3382d1a0a758f + pa-IN.xpi: 37cb615f42a9638ddc852d63a51bc185d9b4e488 + pl.xpi: bbf7c0a1328f12abac4d211c269282a1c761083c + pt-BR.xpi: b89dab0c51ecaa53cce5221c52a3ae6aa96ff488 + pt-PT.xpi: 10ae53b6badb171113d5a17662f0e52088b17336 + ro.xpi: 545260bf511aa9601b2ea9de6bf01e1d9462c9eb + ru.xpi: f5a33ed3c76359b545f4286136dc11a5059c3fa4 + si.xpi: 8bd453fb1f41b58f718e4a33e0a4549c3be52d1e + sk.xpi: fd5d4d64f6c0e0ded529f560dccbbd4b3c5998de + sl.xpi: 57450fdc044d8ac51f86cb6f14378b08ecdb3359 + sq.xpi: 8495b3b3d7ff4d66ae520216869359e0818846de + sr.xpi: 564055912534d6248907233d848c9e8adf3eeb69 + sv-SE.xpi: a33cb612de33a8c44805e1515d3b55c68cac24dc + ta.xpi: 3be052430278c38c32bf52977970080ea82a0f74 + te.xpi: 75ab7e94fe0d198fdda9b48983b2ead2637e42a2 + th.xpi: bb4950b33c35acbb73e43c795067b4ed7bd97798 + tr.xpi: ec37cd5e53cc1a5e438447a7a8583c71aee826c3 + uk.xpi: 5edebd163564dee462abb5ce72f1638091ebfc0b + vi.xpi: 6b4453ff3cd3b279b0302feafd40939e7fcf3c3c + zh-CN.xpi: 9ce17232561eeea8172e52b759aa026906f3b8fc + zh-TW.xpi: 57bd69945965ba3a458b3705b2975578aa26fb2a + firefox-72.0.2.source.tar.xz: 35015162789defa55b5c71cf0d5a08a799a76f54 diff --git a/build-aarch64-skia.patch b/build-aarch64-skia.patch new file mode 100644 index 0000000..a63e3e8 --- /dev/null +++ b/build-aarch64-skia.patch @@ -0,0 +1,45 @@ +diff -up firefox-72.0/gfx/skia/skia/include/private/SkHalf.h.aarch64-skia firefox-72.0/gfx/skia/skia/include/private/SkHalf.h +--- firefox-72.0/gfx/skia/skia/include/private/SkHalf.h.aarch64-skia 2020-01-02 22:33:02.000000000 +0100 ++++ firefox-72.0/gfx/skia/skia/include/private/SkHalf.h 2020-01-03 09:00:37.537296105 +0100 +@@ -40,7 +40,7 @@ static inline Sk4h SkFloatToHalf_finite_ + + static inline Sk4f SkHalfToFloat_finite_ftz(uint64_t rgba) { + Sk4h hs = Sk4h::Load(&rgba); +-#if !defined(SKNX_NO_SIMD) && defined(SK_CPU_ARM64) ++#if 0 // !defined(SKNX_NO_SIMD) && defined(SK_CPU_ARM64) + float32x4_t fs; + asm ("fcvtl %[fs].4s, %[hs].4h \n" // vcvt_f32_f16(...) + : [fs] "=w" (fs) // =w: write-only NEON register +@@ -62,7 +62,7 @@ static inline Sk4f SkHalfToFloat_finite_ + } + + static inline Sk4h SkFloatToHalf_finite_ftz(const Sk4f& fs) { +-#if !defined(SKNX_NO_SIMD) && defined(SK_CPU_ARM64) ++#if 0 // !defined(SKNX_NO_SIMD) && defined(SK_CPU_ARM64) + float32x4_t vec = fs.fVec; + asm ("fcvtn %[vec].4h, %[vec].4s \n" // vcvt_f16_f32(vec) + : [vec] "+w" (vec)); // +w: read-write NEON register +diff -up firefox-72.0/gfx/skia/skia/src/opts/SkRasterPipeline_opts.h.aarch64-skia firefox-72.0/gfx/skia/skia/src/opts/SkRasterPipeline_opts.h +--- firefox-72.0/gfx/skia/skia/src/opts/SkRasterPipeline_opts.h.aarch64-skia 2020-01-03 09:00:37.538296107 +0100 ++++ firefox-72.0/gfx/skia/skia/src/opts/SkRasterPipeline_opts.h 2020-01-03 10:11:41.259219508 +0100 +@@ -1087,7 +1087,7 @@ SI F from_half(U16 h) { + } + + SI U16 to_half(F f) { +-#if defined(JUMPER_IS_NEON) && defined(SK_CPU_ARM64) \ ++#if 0 //defined(JUMPER_IS_NEON) && defined(SK_CPU_ARM64) \ + && !defined(SK_BUILD_FOR_GOOGLE3) // Temporary workaround for some Google3 builds. + return vcvt_f16_f32(f); + +diff -up firefox-72.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h.aarch64-skia firefox-72.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h +--- firefox-72.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h.aarch64-skia 2020-01-03 09:00:37.538296107 +0100 ++++ firefox-72.0/gfx/skia/skia/third_party/skcms/src/Transform_inl.h 2020-01-03 10:11:53.513250979 +0100 +@@ -183,8 +183,6 @@ SI F F_from_Half(U16 half) { + SI U16 Half_from_F(F f) { + #if defined(USING_NEON_FP16) + return bit_pun<U16>(f); +-#elif defined(USING_NEON_F16C) +- return (U16)vcvt_f16_f32(f); + #elif defined(USING_AVX512F) + return (U16)_mm512_cvtps_ph((__m512 )f, _MM_FROUND_CUR_DIRECTION ); + #elif defined(USING_AVX_F16C) diff --git a/build-arm-libopus.patch b/build-arm-libopus.patch new file mode 100644 index 0000000..1b3f31b --- /dev/null +++ b/build-arm-libopus.patch @@ -0,0 +1,12 @@ +diff -up firefox-66.0/media/libopus/silk/arm/arm_silk_map.c.old firefox-66.0/media/libopus/silk/arm/arm_silk_map.c +--- firefox-66.0/media/libopus/silk/arm/arm_silk_map.c.old 2019-03-12 21:07:35.356677522 +0100 ++++ firefox-66.0/media/libopus/silk/arm/arm_silk_map.c 2019-03-12 21:07:42.937693394 +0100 +@@ -28,7 +28,7 @@ POSSIBILITY OF SUCH DAMAGE. + # include "config.h" + #endif + +-#include "main_FIX.h" ++#include "fixed/main_FIX.h" + #include "NSQ.h" + #include "SigProc_FIX.h" + diff --git a/download.sh b/download.sh index bb08772..36143a1 100755 --- a/download.sh +++ b/download.sh @@ -1,4 +1,4 @@ -langlist="af ar as ast be bg bn-IN bn-BD br bs ca cs cy da de el en-GB en-ZA eo es-AR es-CL es-ES es-MX et eu fa fi fr fy-NL ga-IE gd gl gu-IN he hi-IN hr hu hy-AM id is it ja kk ko km kn lt lv mai mk ml mr nb-NO nl nn-NO or pa-IN pl pt-BR pt-PT ro ru si sk sl sq sr sv-SE ta te th tr uk vi zh-CN zh-TW" +langlist="af ar as ast be bg bn br bs ca cs cy da de el en-GB en-ZA eo es-AR es-CL es-ES es-MX et eu fa fi fr fy-NL ga-IE gd gl gu-IN he hi-IN hr hu hy-AM id is it ja kk ko km kn lt lv mai mk ml mr nb-NO nl nn-NO or pa-IN pl pt-BR pt-PT ro ru si sk sl sq sr sv-SE ta te th tr uk vi zh-CN zh-TW" fversion=`grep ^Version: firefox.spec | awk '{print $2}'` diff --git a/firefox-71.0-kde.patch b/firefox-72.0-kde.patch similarity index 100% rename from firefox-71.0-kde.patch rename to firefox-72.0-kde.patch diff --git a/firefox-72.0.2-sqlite-3.31.patch b/firefox-72.0.2-sqlite-3.31.patch new file mode 100644 index 0000000..27693a8 --- /dev/null +++ b/firefox-72.0.2-sqlite-3.31.patch @@ -0,0 +1,173 @@ +diff -up firefox-72.0.2/storage/TelemetryVFS.cpp.omv~ firefox-72.0.2/storage/TelemetryVFS.cpp +--- firefox-72.0.2/storage/TelemetryVFS.cpp.omv~ 2020-01-23 23:39:53.926584589 +0100 ++++ firefox-72.0.2/storage/TelemetryVFS.cpp 2020-01-23 23:40:01.604584216 +0100 +@@ -167,140 +167,12 @@ struct telemetry_file { + sqlite3_file pReal[1]; + }; + +-const char* DatabasePathFromWALPath(const char* zWALName) { +- /** +- * Do some sketchy pointer arithmetic to find the parameter key. The WAL +- * filename is in the middle of a big allocated block that contains: +- * +- * - Random Values +- * - Main Database Path +- * - \0 +- * - Multiple URI components consisting of: +- * - Key +- * - \0 +- * - Value +- * - \0 +- * - \0 +- * - Journal Path +- * - \0 +- * - WAL Path (zWALName) +- * - \0 +- * +- * Because the main database path is preceded by a random value we have to be +- * careful when trying to figure out when we should terminate this loop. +- */ +- MOZ_ASSERT(zWALName); +- +- nsDependentCSubstring dbPath(zWALName, strlen(zWALName)); +- +- // Chop off the "-wal" suffix. +- NS_NAMED_LITERAL_CSTRING(kWALSuffix, "-wal"); +- MOZ_ASSERT(StringEndsWith(dbPath, kWALSuffix)); +- +- dbPath.Rebind(zWALName, dbPath.Length() - kWALSuffix.Length()); +- MOZ_ASSERT(!dbPath.IsEmpty()); +- +- // We want to scan to the end of the key/value URI pairs. Skip the preceding +- // null and go to the last char of the journal path. +- const char* cursor = zWALName - 2; +- +- // Make sure we just skipped a null. +- MOZ_ASSERT(!*(cursor + 1)); +- +- // Walk backwards over the journal path. +- while (*cursor) { +- cursor--; +- } +- +- // There should be another null here. +- cursor--; +- MOZ_ASSERT(!*cursor); +- +- // Back up one more char to the last char of the previous string. It may be +- // the database path or it may be a key/value URI pair. +- cursor--; +- +-#ifdef DEBUG +- { +- // Verify that we just walked over the journal path. Account for the two +- // nulls we just skipped. +- const char* journalStart = cursor + 3; +- +- nsDependentCSubstring journalPath(journalStart, strlen(journalStart)); +- +- // Chop off the "-journal" suffix. +- NS_NAMED_LITERAL_CSTRING(kJournalSuffix, "-journal"); +- MOZ_ASSERT(StringEndsWith(journalPath, kJournalSuffix)); +- +- journalPath.Rebind(journalStart, +- journalPath.Length() - kJournalSuffix.Length()); +- MOZ_ASSERT(!journalPath.IsEmpty()); +- +- // Make sure that the database name is a substring of the journal name. +- MOZ_ASSERT(journalPath == dbPath); +- } +-#endif +- +- // Now we're either at the end of the key/value URI pairs or we're at the +- // end of the database path. Carefully walk backwards one character at a +- // time to do this safely without running past the beginning of the database +- // path. +- const char* const dbPathStart = dbPath.BeginReading(); +- const char* dbPathCursor = dbPath.EndReading() - 1; +- bool isDBPath = true; +- +- while (true) { +- MOZ_ASSERT(*dbPathCursor, "dbPathCursor should never see a null char!"); +- +- if (isDBPath) { +- isDBPath = +- dbPathStart <= dbPathCursor && *dbPathCursor == *cursor && *cursor; +- } +- +- if (!isDBPath) { +- // This isn't the database path so it must be a value. Scan past it and +- // the key also. +- for (size_t stringCount = 0; stringCount < 2; stringCount++) { +- // Scan past the string to the preceding null character. +- while (*cursor) { +- cursor--; +- } +- +- // Back up one more char to the last char of preceding string. +- cursor--; +- } +- +- // Reset and start again. +- dbPathCursor = dbPath.EndReading() - 1; +- isDBPath = true; +- +- continue; +- } +- +- MOZ_ASSERT(isDBPath); +- MOZ_ASSERT(*cursor); +- +- if (dbPathStart == dbPathCursor) { +- // Found the full database path, we're all done. +- MOZ_ASSERT(nsDependentCString(cursor) == dbPath); +- return cursor; +- } +- +- // Change the cursors and go through the loop again. +- cursor--; +- dbPathCursor--; +- } +- +- MOZ_CRASH("Should never get here!"); +-} +- + already_AddRefed<QuotaObject> GetQuotaObjectFromNameAndParameters( +- const char* zName, const char* zURIParameterKey) { ++ const char* zName) { + MOZ_ASSERT(zName); +- MOZ_ASSERT(zURIParameterKey); + + const char* directoryLockIdParam = +- sqlite3_uri_parameter(zURIParameterKey, "directoryLockId"); ++ sqlite3_uri_parameter(zName, "directoryLockId"); + if (!directoryLockIdParam) { + return nullptr; + } +@@ -328,13 +200,7 @@ void MaybeEstablishQuotaControl(const ch + + MOZ_ASSERT(zName); + +- const char* zURIParameterKey = +- (flags & SQLITE_OPEN_WAL) ? DatabasePathFromWALPath(zName) : zName; +- +- MOZ_ASSERT(zURIParameterKey); +- +- pFile->quotaObject = +- GetQuotaObjectFromNameAndParameters(zName, zURIParameterKey); ++ pFile->quotaObject = GetQuotaObjectFromNameAndParameters(zName); + } + + /* +@@ -687,10 +553,7 @@ int xDelete(sqlite3_vfs* vfs, const char + RefPtr<QuotaObject> quotaObject; + + if (StringEndsWith(nsDependentCString(zName), NS_LITERAL_CSTRING("-wal"))) { +- const char* zURIParameterKey = DatabasePathFromWALPath(zName); +- MOZ_ASSERT(zURIParameterKey); +- +- quotaObject = GetQuotaObjectFromNameAndParameters(zName, zURIParameterKey); ++ quotaObject = GetQuotaObjectFromNameAndParameters(zName); + } + + rc = orig_vfs->xDelete(orig_vfs, zName, syncDir); diff --git a/firefox.spec b/firefox.spec index a81b966..8dfd5fd 100644 --- a/firefox.spec +++ b/firefox.spec @@ -224,8 +224,8 @@ Name: firefox Epoch: 0 # IMPORTANT: When updating, you MUST also update the l10n files by running # download.sh after editing the version number -Version: 71.0 -Release: 1 +Version: 72.0.2 +Release: 2 License: MPLv1+ Group: Networking/WWW Url: http://www.mozilla.com/firefox/ @@ -257,32 +257,25 @@ Source100: firefox.rpmlintrc } Patch0: firefox-67.0-webrtc-compile.patch +Patch1: firefox-72.0.2-sqlite-3.31.patch # Patches for kde integration of FF from http://www.rosenauer.org/hg/mozilla/ -Patch11: firefox-71.0-kde.patch -Patch12: mozilla-71.0-kde.patch +Patch11: firefox-72.0-kde.patch +Patch12: mozilla-72.0-kde.patch + +Patch14: build-aarch64-skia.patch +Patch15: build-arm-libopus.patch # from fedora - fix for app chooser #Patch43: rhbz-1291190-appchooser-crash.patch Patch44: https://src.fedoraproject.org/rpms/firefox/raw/master/f/build-disable-elfhack.patch -# Not yet finished, but can't hurt -#Patch50: firefox-48.0.1-qt-compile.patch -# (cb) fix for float128 being a complex type -#Patch102: firefox-57.0.4-bindgen_float128.patch -#BuildConflicts: libreoffice-core BuildRequires: doxygen BuildRequires: makedepend BuildRequires: pkgconfig(python2) -BuildRequires: python2 BuildRequires: pkgconfig(python3) -BuildRequires: python -%if %mdvver <= 3000000 -BuildRequires: python3.6 -%endif +BuildRequires: python3 BuildRequires: python-distribute -#(tpg) this is in contrib -#BuildRequires: python-ply BuildRequires: rootcerts >= 1:20110830.00 BuildRequires: unzip BuildRequires: wget @@ -295,10 +288,10 @@ BuildRequires: icu-devel >= 59.1 %endif BuildRequires: pkgconfig(harfbuzz) BuildRequires: pkgconfig(alsa) -BuildRequires: pkgconfig(cairo) >= 1.10 BuildRequires: pkgconfig(dbus-glib-1) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gl) +BuildRequires: pkgconfig(libdrm) BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) %if %{with qt} BuildRequires: qmake5 @@ -402,7 +395,7 @@ Files and macros mainly for building Firefox extensions. %prep %setup -qn %{name}-%{version} -a 20 -%apply_patches +%autopatch -p1 TOP="$(pwd)" cd autoconf-2.13 @@ -426,11 +419,6 @@ env CARGO_HOME=.cargo cargo install cbindgen cd - -# needed to regenerate certdata.c -pushd security/nss/lib/ckfw/builtins -perl ./certdata.perl /etc/pki/tls/mozilla/certdata.txt -popd - %build %global optflags %{optflags} -g0 -fno-exceptions export AUTOCONF=$(pwd)/ac213bin/bin/autoconf @@ -480,7 +468,7 @@ ac_add_options --host=%{_host} ac_add_options --enable-default-toolkit=cairo-qt ac_add_options --with-qtdir=%{_libdir}/qt5 %else -ac_add_options --enable-default-toolkit=cairo-gtk3 +ac_add_options --enable-default-toolkit=cairo-gtk3-wayland %endif ac_add_options --target=%{_target_platform} ac_add_options --prefix="%{_prefix}" @@ -494,6 +482,10 @@ ac_add_options --enable-optimize="-O2" ac_add_options --with-system-nspr ac_add_options --with-system-nss ac_add_options --with-system-zlib +ac_add_options --enable-necko-wifi +%ifarch %{ix86} %{x86_64} +ac_add_options --enable-av1 +%endif %if %mdvver > 3000000 ac_add_options --with-system-libevent ac_add_options --with-system-icu diff --git a/mozilla-71.0-kde.patch b/mozilla-72.0-kde.patch similarity index 98% rename from mozilla-71.0-kde.patch rename to mozilla-72.0-kde.patch index 4b36d3e..1c68c56 100644 --- a/mozilla-71.0-kde.patch +++ b/mozilla-72.0-kde.patch @@ -3,7 +3,7 @@ # Date 1559294891 -7200 # Fri May 31 11:28:11 2019 +0200 # Node ID c2aa7198fb925e7fde96abf65b6f68b9b755f112 -# Parent 86d7ace0b36abf542e56fbb702a5f9b308b9bf77 +# Parent 52a515e07938d75f7c33e7b724845ce6dc315c0c Description: Add KDE integration to Firefox (toolkit parts) Author: Wolfgang Rosenauer <wolfgang@rosenauer.org> Author: Lubos Lunak <lunak@suse.com> @@ -31,7 +31,7 @@ diff --git a/modules/libpref/Preferences.cpp b/modules/libpref/Preferences.cpp #ifdef MOZ_MEMORY # include "mozmemory.h" #endif -@@ -4542,25 +4543,37 @@ nsresult Preferences::InitInitialObjects +@@ -4543,25 +4544,37 @@ nsresult Preferences::InitInitialObjects // application pref files for backwards compatibility. static const char* specialFiles[] = { #if defined(XP_MACOSX) @@ -69,7 +69,7 @@ diff --git a/modules/libpref/Preferences.cpp b/modules/libpref/Preferences.cpp // Load jar:$app/omni.jar!/defaults/preferences/*.js // or jar:$gre/omni.jar!/defaults/preferences/*.js. -@@ -4606,17 +4619,17 @@ nsresult Preferences::InitInitialObjects +@@ -4607,17 +4620,17 @@ nsresult Preferences::InitInitialObjects } nsCOMPtr<nsIFile> path = do_QueryInterface(elem); @@ -91,7 +91,7 @@ diff --git a/modules/libpref/Preferences.cpp b/modules/libpref/Preferences.cpp diff --git a/modules/libpref/moz.build b/modules/libpref/moz.build --- a/modules/libpref/moz.build +++ b/modules/libpref/moz.build -@@ -110,16 +110,20 @@ EXPORTS.mozilla += [ +@@ -113,16 +113,20 @@ EXPORTS.mozilla += [ ] EXPORTS.mozilla += sorted(['!' + g for g in gen_h]) @@ -356,7 +356,7 @@ diff --git a/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp b/toolkit/sy diff --git a/toolkit/xre/moz.build b/toolkit/xre/moz.build --- a/toolkit/xre/moz.build +++ b/toolkit/xre/moz.build -@@ -85,17 +85,19 @@ elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'co +@@ -87,17 +87,19 @@ elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'co '../components/printingui', ] elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'uikit': @@ -841,7 +841,7 @@ diff --git a/uriloader/exthandler/HandlerServiceParent.cpp b/uriloader/exthandle diff --git a/uriloader/exthandler/moz.build b/uriloader/exthandler/moz.build --- a/uriloader/exthandler/moz.build +++ b/uriloader/exthandler/moz.build -@@ -83,17 +83,19 @@ else: +@@ -85,17 +85,19 @@ else: SOURCES += [ osdir + '/nsOSHelperAppService.cpp', ] @@ -861,7 +861,7 @@ diff --git a/uriloader/exthandler/moz.build b/uriloader/exthandler/moz.build 'android/nsExternalURLHandlerService.cpp', 'android/nsMIMEInfoAndroid.cpp', ] -@@ -133,16 +135,17 @@ include('/ipc/chromium/chromium-config.m +@@ -135,16 +137,17 @@ include('/ipc/chromium/chromium-config.m FINAL_LIBRARY = 'xul' LOCAL_INCLUDES += [ @@ -1252,9 +1252,9 @@ diff --git a/uriloader/exthandler/unix/nsOSHelperAppService.cpp b/uriloader/exth #endif } - nsresult nsOSHelperAppService::GetFileTokenForPath( - const char16_t* platformAppPath, nsIFile** aFile) { -@@ -1136,17 +1136,17 @@ already_AddRefed<nsMIMEInfoBase> nsOSHel + NS_IMETHODIMP nsOSHelperAppService::IsCurrentAppOSDefaultForProtocol( + const nsACString& aScheme, bool* _retval) { +@@ -1142,17 +1142,17 @@ already_AddRefed<nsMIMEInfoBase> nsOSHel nsresult rv = LookUpTypeAndDescription(NS_ConvertUTF8toUTF16(aFileExt), majorType, minorType, mime_types_description, true); @@ -1273,7 +1273,7 @@ diff --git a/uriloader/exthandler/unix/nsOSHelperAppService.cpp b/uriloader/exth rv = LookUpTypeAndDescription(NS_ConvertUTF8toUTF16(aFileExt), majorType, minorType, mime_types_description, false); -@@ -1248,17 +1248,17 @@ already_AddRefed<nsMIMEInfoBase> nsOSHel +@@ -1254,17 +1254,17 @@ already_AddRefed<nsMIMEInfoBase> nsOSHel // Now look up our extensions nsAutoString extensions, mime_types_description; @@ -1295,7 +1295,7 @@ diff --git a/uriloader/exthandler/unix/nsOSHelperAppService.cpp b/uriloader/exth diff --git a/widget/gtk/moz.build b/widget/gtk/moz.build --- a/widget/gtk/moz.build +++ b/widget/gtk/moz.build -@@ -126,16 +126,17 @@ include('/ipc/chromium/chromium-config.m +@@ -127,16 +127,17 @@ include('/ipc/chromium/chromium-config.m FINAL_LIBRARY = 'xul' @@ -1814,7 +1814,7 @@ diff --git a/xpcom/components/ManifestParser.cpp b/xpcom/components/ManifestPars diff --git a/xpcom/components/moz.build b/xpcom/components/moz.build --- a/xpcom/components/moz.build +++ b/xpcom/components/moz.build -@@ -66,16 +66,17 @@ LOCAL_INCLUDES += [ +@@ -62,16 +62,17 @@ LOCAL_INCLUDES += [ '!..', '../base', '../build',
Not Available
benbullard79 [@T] cox.net | No Comment. | 1544d 00hrs |
benbullard79 [@T] cox.net | No Comment. | 1544d 00hrs |