summaryrefslogtreecommitdiff
path: root/tools/process-json-files.py
AgeCommit message (Collapse)Author
2025-06-23Update to 128.12.0-1.v128.12.0-gnu1Mark H Weaver
* data/patches/CVE-2024-11692.patch, data/patches/CVE-2024-11693.patch, data/patches/CVE-2024-11697.patch: Remove vestigial patches. * data/patches/hide-firefox-view-button.patch: New file. * data/patches/about-addons.patch, data/patches/hide-protections-dashboard.patch, data/patches/hide-submit-feedback-menu-item.patch, data/patches/icecat-about-dialog.patch, data/patches/icecat-preferences.patch, data/patches/moz-configure-changes.patch: Adapt to version 128. * data/settings.js: Add more IceCat-specific customizations. * tools/process-json-files.py: Process more JSON files for search engine configuration v2 and overrides, as needed for version 128. * makeicecat: Update FFMAJOR, FFMINOR, SOURCEBALL_CHECKSUM, L10N_URL, L10_CMP_URL, and L10N_CMP_REV. Add L10N_REV. (sort_inner_list): Ignore case when sorting inner lists. (validate_env): Add check for Git. Remove check for Mercurial. (fetch_l10n): Update to reflect upstream changes. Use Git instead of Mercurial. Fetch all locales in a single clone operation. (configure, apply_batch_branding): Adapt to version 128.
2022-09-08Fixed json processing to match upstream changesRuben Rodriguez
2021-10-11Update GNU IceCat to 91.2.0Amin Bandali
* data/files-to-append/browser/locales/en-US/browser/preferences/preferences.ftl (detect-network-connectivity-option) (detect-network-connectivity-description): Add label and description for new IceCat-specific preference for toggling the network connectivity service. * data/newtab/directory.png: * data/newtab/fsf.ico: * data/newtab/fsf.png: * data/newtab/gnu.ico: * data/newtab/gnu.png: * data/newtab/libreplanet.ico: * data/newtab/libreplanet.png: * data/newtab/trisquel.ico: * data/newtab/trisquel.png: * data/newtab/wikinews.ico: * data/newtab/wikinews.png: * data/newtab/wikipedia-org@2x.png: * data/newtab/wikipedia.ico: * data/newtab/wikipedia.png: New files, imported from Trisquel's Abrowser build helper. These will be used for the "top sites" displayed on the newtab page. * data/patches/default-search-duckduckgo.patch: * data/patches/duckduckgo-no-params.patch: Remove. The search engine machinery has been completely changed upstream, yet again. * data/patches/disable-settings-services.patch: * data/patches/hide-protections-dashboard.patch: * data/patches/icecat-about-dialog.patch: * data/patches/moz-configure-changes.patch: Adapt to v91. * data/patches/icecat-preferences.patch: Change the preference key for the captive portal toggle from 'captivedetect.canonicalURL' to 'network.captive-portal-service.enabled'. There was at least one report from several years back that 'network.captive-portal-service.enabled' was not respected: https://bugzilla.mozilla.org/show_bug.cgi?id=1481085 But it seems to have been a rare occurrence/bug. As such, I believe it's okay to toggle this preference instead of changing the address 'captivedetect.canonicalURL' points to. * data/settings.js: Set several preferencess to try and disable new annoying VPN- and mobile-related promos. * makeicecat: Adapt to v91. Update FFMAJOR, FFMINOR, SOURCEBALL_CHECKSUM, and L10N_CMP_REV. We now require Python 3 and the jsonschema Python library as build dependencies. So check for their existence and error out if they don't. Given that the search engine machinery has been completely changed yet again, add a 'configure_search' function to make relevant changes, and ultimately run the new 'tools/process-json-files.py' Python script. Also comment out the 'configure_mobile', to be removed soon, as Mozilla has long since removed the parts of the firefox code base for mobile builds, and their mobile browser is now a separate project and code base. * tools/process-json-files.py: New file, from packagers/maintainers of Trisquel's Abrowser and Parabola's Iceweasel, for processing and modifying various JSON files -- such as those relating to search engines -- in the firefox code base.