0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2024-12-22 13:43:04 -05:00

[fix] the wrong patch for search-config.json

This commit is contained in:
Bert van der Weerd 2021-12-21 18:01:19 +01:00
parent f0059f4047
commit a9ee1bf016
No known key found for this signature in database
GPG key ID: 4CFABB96ADE0F5B1
5 changed files with 379 additions and 8560 deletions

View file

@ -83,9 +83,10 @@ def librewolf_patches():
exec('cp -v ../assets/mozconfig .')
# copy branding files..
# exec("cp -vr ../work/common/source_files/browser .")
exec("cp -vr ../themes/browser .")
# exec("cp -v ../work/windows/files/configure.sh browser/branding/librewolf")
# copy the right search-config.json file
exec('cp -v ../assets/search-config.json services/settings/dumps/main/search-config.json')
# read lines of .txt file into 'patches'
f = open('../assets/patches.txt'.format(version), "r")

View file

@ -5,7 +5,6 @@ patches/megabar.patch
patches/mozilla-vpn-ad.patch
patches/mozilla_dirs.patch
patches/remove_addons.patch
patches/search-config2.patch
patches/sed-patches/allow-searchengines-non-esr.patch
patches/sed-patches/disable-pocket.patch
patches/sed-patches/remove-internal-plugin-certs.patch

376
assets/search-config.json Normal file
View file

@ -0,0 +1,376 @@
{
"data": [
{
"schema": 1619432100208,
"appliesTo": [
{
"included": {
"everywhere": true
}
}
],
"webExtension": {
"id": "ddg@search.mozilla.org"
},
"id": "c0b26c0e-63e6-4235-b2ce-5f16b6a8bf87",
"last_modified": 1619450717295
},
{
"schema": 1613245306902,
"appliesTo": [
{
"included": {
"everywhere": true
}
},
{
"included": {
"locales": {
"matches": [
"af",
"an",
"ar",
"ast",
"az",
"bg",
"br",
"bs",
"cy",
"da",
"de",
"dsb",
"el",
"eo",
"et",
"eu",
"fa",
"fi",
"fy-NL",
"ga-IE",
"gd",
"gl",
"gn",
"he",
"hr",
"hsb",
"hu",
"ia",
"id",
"is",
"it",
"ka",
"kab",
"kk",
"km",
"kn",
"lij",
"lo",
"lt",
"ltg",
"lv",
"mk",
"mr",
"ms",
"my",
"nl",
"oc",
"pl",
"rm",
"ro",
"ru",
"si",
"sk",
"sl",
"sq",
"sr",
"sv-SE",
"ta",
"te",
"th",
"tl",
"tr",
"uk",
"ur",
"uz",
"vi",
"wo",
"zh-CN",
"zh-TW"
]
}
},
"webExtension": {
"locales": [
"$USER_LOCALE"
]
}
},
{
"included": {
"locales": {
"matches": [
"be"
]
}
},
"webExtension": {
"locales": [
"be",
"be-tarask"
]
}
},
{
"included": {
"locales": {
"matches": [
"bn",
"bn-BD",
"bn-IN"
]
}
},
"webExtension": {
"locales": [
"bn"
]
}
},
{
"included": {
"locales": {
"matches": [
"ca",
"ca-valencia"
]
}
},
"webExtension": {
"locales": [
"ca"
]
}
},
{
"included": {
"locales": {
"matches": [
"cak",
"es-AR",
"es-CL",
"es-ES",
"es-MX",
"trs"
]
}
},
"webExtension": {
"locales": [
"es"
]
}
},
{
"included": {
"locales": {
"matches": [
"cs"
]
}
},
"webExtension": {
"locales": [
"cz"
]
}
},
{
"included": {
"locales": {
"matches": [
"ff",
"fr",
"son"
]
}
},
"webExtension": {
"locales": [
"fr"
]
}
},
{
"included": {
"locales": {
"matches": [
"gu-IN"
]
}
},
"webExtension": {
"locales": [
"gu"
]
}
},
{
"included": {
"locales": {
"matches": [
"hi-IN"
]
}
},
"webExtension": {
"locales": [
"hi"
]
}
},
{
"included": {
"locales": {
"matches": [
"hy-AM"
]
}
},
"webExtension": {
"locales": [
"hy"
]
}
},
{
"included": {
"locales": {
"matches": [
"ja-JP-macos",
"ja"
]
}
},
"webExtension": {
"locales": [
"ja"
]
}
},
{
"included": {
"locales": {
"matches": [
"ko"
]
}
},
"webExtension": {
"locales": [
"kr"
]
}
},
{
"included": {
"locales": {
"matches": [
"nb-NO"
]
}
},
"webExtension": {
"locales": [
"NO"
]
}
},
{
"included": {
"locales": {
"matches": [
"ne-NP"
]
}
},
"webExtension": {
"locales": [
"ne"
]
}
},
{
"included": {
"locales": {
"matches": [
"nn-NO"
]
}
},
"webExtension": {
"locales": [
"NN"
]
}
},
{
"included": {
"locales": {
"matches": [
"pa-IN"
]
}
},
"webExtension": {
"locales": [
"pa"
]
}
},
{
"included": {
"locales": {
"matches": [
"pt-BR",
"pt-PT"
]
}
},
"webExtension": {
"locales": [
"pt"
]
}
},
{
"included": {
"locales": {
"matches": [
"szl"
]
}
},
"webExtension": {
"locales": [
"pl"
]
}
},
{
"override": true,
"orderHint": 1000,
"application": {
"distributions": [
"MozillaOnline"
]
}
}
],
"webExtension": {
"id": "wikipedia@search.mozilla.org"
},
"id": "3f3beb1d-e32e-40a4-b6ed-56741803e1d8",
"last_modified": 1613587855064
}
]
}

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff