Граф коммитов

192 Коммитов

Автор SHA1 Сообщение Дата
Geoff Lankow bab4b4b540 Bug 1869998 - Port bug 1869078 - Filter-out target_cpu from substs provided by old-configure. rs=bustage-fix
https://hg.mozilla.org/mozilla-central/rev/722156e33a15 made lower-case target_cpu unavailable. Looks like we should've been using upper-case TARGET_CPU anyway.

--HG--
extra : amend_source : 23e2de96ef1469a0ee32ea09b8cbe7bc5637e0f9
2023-12-14 23:05:45 +13:00
Daniel Darnell c243e55f6a Bug 1860654 - Vendor in new application-services / Glean / UniFFI. r=thunderbird-build-system-reviewers,rjl
Depends on D196323

Differential Revision: https://phabricator.services.mozilla.com/D196324

--HG--
rename : third_party/rust/uniffi_bindgen/src/interface/attributes.rs => third_party/rust/uniffi_udl/src/attributes.rs
extra : moz-landing-system : lando
2023-12-13 18:29:28 +00:00
Rob Lemley 94f8f9398c Bug 1860654 - Add vendored Rust deps. rs=me
This is a reproducible commit. Running mach tb-rust vendor again
with mozilla-central and comm-central on the same head revs will
produce the same output.

https://hg.mozilla.org/mozilla-central/rev/55cd203304b8d5343dd941d772085dc25fd278c4
https://hg.mozilla.org/comm-central/rev/8a0750b85f6d85fbf5c2e17a29fbc8112112c374
2023-12-12 14:05:09 -05:00
Rob Lemley 621e9aa45f Bug 1869066 - Port bug 1867459: Replace CPU_ARCH with TARGET_CPU. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D195939

--HG--
extra : amend_source : 0d629e19df6f406882f9207a5a748a6d2914ff06
2023-12-09 11:47:32 +02:00
Rob Lemley 4689b91d22 Bug 1861753 - Patch RNP uniwin.h to handle changes in json-c 0.17. r=kaie
#define ssize_t conflicts with typedefs added in json-c 0.17.
Replace the defines with typedefs, these result in the same typedefs used
in json-c.

Patch has been submitted upstream: https://github.com/rnpgp/rnp/pull/2145

Differential Revision: https://phabricator.services.mozilla.com/D193100

--HG--
extra : moz-landing-system : lando
2023-11-30 17:55:25 +00:00
Rob Lemley 6707a808af Bug 1861753 - json-c 0.17 mozbuild updates. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D193099

--HG--
extra : moz-landing-system : lando
2023-11-30 17:55:24 +00:00
Rob Lemley f5ef7ece1c Bug 1861753 - Update json-c to 0.17. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D193098

--HG--
extra : moz-landing-system : lando
2023-11-30 17:55:24 +00:00
Rob Lemley f166a1426b Bug 1861753 - json-c mach vendor support. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D193097

--HG--
extra : moz-landing-system : lando
2023-11-30 17:55:23 +00:00
Rob Lemley d6b93a81c0 Bug 1867003 - Port bug 1564553: Remove CMakeLists.txt from GENERATED_FILES. r=dandarnell
Bug 1564553 made some changes to how the generated files tarballs are built. It
has the effect of trying to include a CMakeLists.txt file which is generated as
part of building Botan. The file is present, just not in the directory where
the generated files packager is looking for it.

Since the file is not needed it can be safely removed from the GENERATED_FILES
list so the build system will not try to package it. Additionally, the file
is now removed from $OBJDIR right after it's created to avoid any confusion.

Bug 1621785 is CMakeLists.txt's file's origin. In order to get a usable build.h
file for Botan to compile, Botan's configure.py script is run with '--with-cmake'
to avoid overwriting the Makefile generated by mozbuild.

Differential Revision: https://phabricator.services.mozilla.com/D194892

--HG--
extra : moz-landing-system : lando
2023-11-28 18:13:49 +00:00
Rob Lemley 44dd4904b7 Bug 1861699 - [RNP] Update Zlib to 1.3. r=dandarnell
Differential Revision: https://phabricator.services.mozilla.com/D192961

--HG--
extra : amend_source : 7b69fcb2a9af9538e16f6053d439858c650af953
2023-11-10 08:06:40 +02:00
Rob Lemley f60b45ca6f Bug 1845794 - Create a "beta" branding directory. r=dandarnell#!thunderbird-build-system-reviewers,#thunderbird-reviewers
This patch covers the non-image assets for "tb_beta" branding.

Differential Revision: https://phabricator.services.mozilla.com/D186655

--HG--
rename : mail/branding/thunderbird/pref/thunderbird-branding.js => mail/branding/include/release-prefs.js
rename : mail/branding/thunderbird/LICENSE => mail/branding/tb_beta/LICENSE
rename : mail/branding/thunderbird/branding.nsi => mail/branding/tb_beta/branding.nsi
rename : mail/branding/thunderbird/configure.sh => mail/branding/tb_beta/configure.sh
rename : mail/branding/thunderbird/jar.mn => mail/branding/tb_beta/jar.mn
rename : mail/branding/thunderbird/locales/Makefile.in => mail/branding/tb_beta/locales/Makefile.in
rename : mail/branding/thunderbird/locales/en-US/brand.dtd => mail/branding/tb_beta/locales/en-US/brand.dtd
rename : mail/branding/thunderbird/locales/en-US/brand.ftl => mail/branding/tb_beta/locales/en-US/brand.ftl
rename : mail/branding/thunderbird/locales/en-US/brand.properties => mail/branding/tb_beta/locales/en-US/brand.properties
rename : mail/branding/thunderbird/locales/jar.mn => mail/branding/tb_beta/locales/jar.mn
rename : mail/branding/thunderbird/locales/moz.build => mail/branding/tb_beta/locales/moz.build
rename : mail/branding/thunderbird/moz.build => mail/branding/tb_beta/moz.build
rename : mail/branding/thunderbird/pref/thunderbird-branding.js => mail/branding/tb_beta/pref/thunderbird-branding.js
rename : mail/branding/thunderbird/thunderbird.VisualElementsManifest.xml => mail/branding/tb_beta/thunderbird.VisualElementsManifest.xml
extra : moz-landing-system : lando
2023-10-23 13:34:38 +00:00
Rob Lemley c697a90088 Bug 1845535 - Update fluent.migratetb to version 0.12.0. r=dandarnell
Aligns with fluent.migrate 0.12.0, which mozilla-central updated to in
bug 1812539.

Depends on D184751

Differential Revision: https://phabricator.services.mozilla.com/D184752

--HG--
extra : moz-landing-system : lando
2023-07-27 21:57:24 +00:00
Rob Lemley 3729eeb247 Bug 1845535 - Add mach vendor file for fluent.migratetb. r=dandarnell
Differential Revision: https://phabricator.services.mozilla.com/D184751

--HG--
extra : moz-landing-system : lando
2023-07-27 21:57:24 +00:00
Rob Lemley 1e09a00d26 Bug 1843535 - Follow-up: Update README.rnp and remove old update script. r=dandarnell
Differential Revision: https://phabricator.services.mozilla.com/D184156

Depends on D184153

--HG--
extra : histedit_source : 887534d1da59cf2f725febfb7636689b64bcea10
2023-07-20 19:04:58 +00:00
Rob Lemley 30dbbea9fa Bug 1843535 - Follow-up: Add applied patch to RNP vendoring manifest. r=dandarnell
Also bump RNP version to indicate the source is patched.

Differential Revision: https://phabricator.services.mozilla.com/D184153

--HG--
extra : histedit_source : 9d2011f5d5ee04bab48d6c04234b8f0ce0f6ce29
2023-07-20 19:04:06 +00:00
Rob Lemley ec8255207e Bug 1843535 - Apply upstream patch to fix building librnp with gcc-13. r=kaie
Cherry pick bd8f7d2510
to fix building with gcc-13.

Differential Revision: https://phabricator.services.mozilla.com/D183791

--HG--
extra : moz-landing-system : lando
2023-07-20 17:42:31 +00:00
Rob Lemley 4dad432458 Bug 1830858 - Update build code for RNP 0.17.0. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D177338

--HG--
extra : amend_source : 0c7f602670327f74e153da84df2637c7435d32e0
2023-06-05 20:10:44 +00:00
Rob Lemley 2f12fa460b Bug 1830858 - Run mach vendor to update RNP to v0.17.0. r=kaie
Does not include build code changes.

Differential Revision: https://phabricator.services.mozilla.com/D177337
2023-06-05 20:10:39 +00:00
Rob Lemley 9d9b099b50 Bug 1830858 - Update RNP moz.yaml for v0.17.0. r=kaie
Depends on D177334 from Bug 1831682 in mozilla-central.

Differential Revision: https://phabricator.services.mozilla.com/D177575
2023-06-05 20:10:27 +00:00
Rob Lemley a807dfb0a8 Bug 1830992 - Add moz.yaml file to vendor RNP source code. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D177317

--HG--
extra : amend_source : 5e1322169c68b1b2a392ae610e463b93cd31856c
2023-05-18 14:08:17 +10:00
Rob Lemley 8a02b4523a Bug 1830992 - Update rnp build code to process version.h at build time. r=kaie
Instead of generating a version.h file for librnp in advance, generate it
at build time. This will result in RNP_VERSION_FULL having less information
than previously - no timestamp and no git revision hash. Since Thunderbird
generally sticks to release versions now that RNP is stable, this should not
be a big problem.

If MZLA does apply patches to RNP, version.txt should be updated accordingly
so that the patch is reflected in version strings.

Differential Revision: https://phabricator.services.mozilla.com/D177336

--HG--
rename : python/rocbuild/process_cmake_define_files.py => python/thirdroc/thirdroc/cmake_define_files.py
extra : amend_source : b07788d9443bd6c4648336867b5135eef37de477
2023-05-18 14:07:50 +10:00
Kai Engert c684c16f44 Bug 1828465 - Update to RNP version v0.16.3 . r=rjl
Differential Revision: https://phabricator.services.mozilla.com/D176901

--HG--
extra : rebase_source : 3035147d06e5b29483f684f948708b120a82e446
2023-05-02 11:53:45 +02:00
Rob Lemley 04d6698b53 Bug 1825583 - Stop looking for clang_rt.builtins at configure. r=dandarnell
This change only affects Windows builds.
Clang's runtime libraries' path is added during configure thanks to bug 1718171,
so it's no longer necessary to look for it in openpgp.configure.

Differential Revision: https://phabricator.services.mozilla.com/D174187

--HG--
extra : moz-landing-system : lando
2023-04-05 18:26:54 +00:00
Rob Lemley 8973a540de Bug 1824978 - Update RNP version to reflect patched version. r=kaie
--HG--
extra : rebase_source : c88dfa2834fff7ca0ba7004d531e4ba5b25c009d
2023-03-30 08:56:47 -04:00
Kai Engert 75b84aaa7c Bug 1824978 - Apply upstream RNP patch to add more checks during PKESK/SKESK parsing. r=o.nickolay
Differential Revision: https://phabricator.services.mozilla.com/D174067

--HG--
extra : rebase_source : 82c42fc3bcdd11484ba684ef240248b86187c0f5
2023-03-30 11:21:40 +02:00
Rob Lemley 48a503ee61 Bug 1825557 - Silence deprecated-non-prototype warnings from zlib. r=dandarnell
Differential Revision: https://phabricator.services.mozilla.com/D174119

--HG--
extra : moz-landing-system : lando
2023-04-04 04:38:56 +00:00
Rob Lemley f7037c98e3 Bug 1816956 - Vendor tb-fluent-migrate into comm/third_party/python. r=dandarnell
This is the forked fluent.migrate that is used to run Thunderbird Fluent
string migrations.

Differential Revision: https://phabricator.services.mozilla.com/D172511

--HG--
extra : amend_source : f92e3e68430a789e025b2de05cdf53368cfc5bfe
2023-03-25 20:17:12 +11:00
Rob Lemley ffca7da7ce Backed out 2 changesets (bug 1816956) - incorrect file content. r=backout a=rjl DONTBUILD
Backed out changeset 4450f0adaf4f (bug 1816956)
Backed out changeset 6623231564b7 (bug 1816956)
2023-03-21 18:27:32 -04:00
Rob Lemley e835aafeac Bug 1816956 - Vendor tb-fluent-migrate into comm/third_party/python. r=dandarnell
This is the forked fluent.migrate that is used to run Thunderbird Fluent
string migrations.

Differential Revision: https://phabricator.services.mozilla.com/D172511

--HG--
extra : moz-landing-system : lando
2023-03-21 21:54:56 +00:00
Geoff Lankow a2be10064e Bug 1819512 - Port bug 1807907: Cache compiler invocation results during configure. rs=bustage-fix 2023-03-01 17:23:29 +13:00
Rob Lemley d7fdc4d6bc Bug 1816266 - Remove use of $(moztopsrcdir) and friends from Makefiles. r=dandarnell
$moztopsrcdir is always the same as $topsrcdir. This is a leftover from when
it was posssible to build Thunderbird with comm-central as a parent of
mozilla-central in the local filesystem. It's just confusing to have now.

Differential Revision: https://phabricator.services.mozilla.com/D169564

--HG--
extra : moz-landing-system : lando
2023-02-15 19:52:11 +00:00
Ping Chen 936387d0f8 Bug 1813034 - Port bug 1811633: Use our own asn1js bundle without depending on m-c. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D168737

--HG--
extra : amend_source : 42ed69fa269b522a338ad3f936d697e5f380dbf4
2023-02-09 21:39:19 +11:00
Rob Lemley 5f85a03d25 Bug 1813034 - mach vendor asn1js. r=mkmelin
Executed: ../mach vendor -r v3.0.5 -f third_party/asn1js/moz.yaml

Differential Revision: https://phabricator.services.mozilla.com/D168736

--HG--
extra : amend_source : 8b73b92f1e2a13c6212c5fb3000874a8dd366f56
2023-02-09 21:38:36 +11:00
Rob Lemley 9ee43ceb82 Bug 1813034 - Add mach vendor config for asn1js. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D168735

--HG--
extra : amend_source : e22f86ad9f1bc987f6efe9c0949a90180ea65a28
2023-02-09 21:38:07 +11:00
Rob Lemley d3b64c3e4e Backed out changeset ca8189b2fb42 (Bug 1813034). r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D169003

--HG--
extra : amend_source : efa11abd0dbda85fa48faaa572d3e04f0e441a45
2023-02-09 21:37:34 +11:00
Ping Chen 43bda0c863 Bug 1813034 - Port bug 1811633: Use our own asn1js bundle without depending on m-c. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D168354

--HG--
extra : rebase_source : 06352c9e48ff4594cd7b9accd50122429ff51656
2023-01-31 23:04:24 +00:00
Rob Lemley 0a3539e523 Bug 1803829 - Reformat Python files to standard line length of 99 via black. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D164734

--HG--
extra : moz-landing-system : lando
2022-12-19 21:10:10 +00:00
Magnus Melin 0c249af664 Bug 1805215 - follow-up, fix linting. rs=black-lint DONTBUILD
--HG--
extra : amend_source : 63ce640d2c723baaa86232fbc6e063d6ba5f879e
2022-12-13 22:06:27 +11:00
Jan Horak 3baa5f036b Bug 1805215 - Require openssl >= 1.1.1e. r=kaie
The EVP_PKEY_CTX_set_dsa_paramgen_q_bits is declared only in >= 1.1.1e.

Differential Revision: https://phabricator.services.mozilla.com/D164468

--HG--
extra : amend_source : d81054713a6087580ce0895db54d3929a4cb9af2
2022-12-13 21:31:16 +11:00
Alessandro Castellani 5d6fd3036f Bug 1802379 - Update target_is_linux with target_has_linux_kernel in config files. r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D163060

--HG--
extra : moz-landing-system : lando
2022-11-24 23:47:46 +00:00
Rob Lemley 4096f34362 Bug 1799489 - Fix shellcheck errors in update_rnp.sh. r=dandarnell
Differential Revision: https://phabricator.services.mozilla.com/D161610

--HG--
extra : moz-landing-system : lando
2022-11-16 22:29:04 +00:00
Magnus Melin 43ce368fc8 Bug 1799123 - follow-up to fix linting. rs=black-lint DONTBUILD
--HG--
extra : amend_source : 392e2d67c7f369c93a9c34a474ea11e640257e90
2022-11-16 13:56:22 +11:00
Rob Lemley 438031f158 Bug 1799123 - Build and OpenSSL notes related to librnp. r=kaie
There are a number of configure options that affect how librnp is
built. Documenting them will make things easier for anyone interested
in using them.

Differential Revision: https://phabricator.services.mozilla.com/D161380

--HG--
extra : moz-landing-system : lando
2022-11-15 19:23:42 +00:00
Rob Lemley e62413380e Bug 1799123 - Only allow librnp OpenSSL backend on Linux targets. r=kaie
Also a fix for OpenSSL 1.1.1 failing to configure.

Differential Revision: https://phabricator.services.mozilla.com/D161895

--HG--
extra : moz-landing-system : lando
2022-11-15 19:23:42 +00:00
Rob Lemley facff328c1 Bug 1799123 - Add --with-librnp-backend configure option. r=kaie,dandarnell
Based on D161272, contributed by Jan Horak of Red Hat.

Use --with-librnp-backend=openssl to build librnp using OpenSSL backend.
To use OpenSSL from a prefix not provided by PkgConfig, use
--with-openssl=/path/to/prefix.

OpenSSL 1.1.1 and OpenSSL 3.0.x are supported.

Differential Revision: https://phabricator.services.mozilla.com/D161379

--HG--
extra : moz-landing-system : lando
2022-11-15 19:23:41 +00:00
Rob Lemley 73f43e1498 Bug 1799123 - Update README.rnp to match current state. r=kaie
Removed information about patches and updated removed/changed files.

Differential Revision: https://phabricator.services.mozilla.com/D161378

--HG--
extra : moz-landing-system : lando
2022-11-15 19:23:41 +00:00
Rob Lemley f8f90c0d22 Bug 1795709 - Update zlib source to v1.2.13. r=mkmelin
Result of running:
../mach vendor -r v1.2.13 third_party/zlib/moz.yaml

Depends on D159550

Differential Revision: https://phabricator.services.mozilla.com/D159551

--HG--
extra : moz-landing-system : lando
2022-10-18 21:46:30 +00:00
Rob Lemley 949abe94ed Bug 1795709 - Use mach vendor to update zlib sources. r=mkmelin
moz.yaml drives mach vendor, it requires a LICENSE file (grabbed from zlib
v1.2.13). Updated README.zlib so mach vendor can update it. Removing zlib.def
as it's not needed.

Differential Revision: https://phabricator.services.mozilla.com/D159550

--HG--
extra : moz-landing-system : lando
2022-10-18 21:46:30 +00:00
Rob Lemley 0507031547 Bug 1790662 - Update librnp compiler include path for new location of json-c's json.h r=dandarnell
json.h from json-c is now a preprocessed file and is found in the object directory
rather than the source directory.

Depends on D157961

Differential Revision: https://phabricator.services.mozilla.com/D157962

--HG--
extra : histedit_source : a7907707c38f93302e05d9410c10872c4d22fbe9
2022-09-13 17:45:41 +00:00
Rob Lemley 4123c2f991 Bug 1790662 - Update json-c vendored source to 0.16. r=dandarnell
Differential Revision: https://phabricator.services.mozilla.com/D157961

--HG--
extra : histedit_source : 32e88f0186458b782cb75d7f1e971841b7b6632f
2022-09-13 17:41:15 +00:00