From 35359b825b2c5b2ade086c217d92d7618b5c9c41 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Fri, 13 May 2016 23:28:32 +0200 Subject: [PATCH] net-www/inox: get patches from upstream repo instead --- packages/net-www/exlibs/inox.exlib | 16 + .../inox/add-duckduckgo-search-engine.patch | 584 ------------------ .../net-www/inox/files/inox/branding.patch | 100 --- .../files/inox/chromium-sandbox-pie.patch | 14 - .../disable-autofill-download-manager.patch | 61 -- .../inox/disable-default-extensions.patch | 145 ----- .../inox/disable-first-run-behaviour.patch | 35 -- .../files/inox/disable-gcm-status-check.patch | 32 - .../inox/disable-google-ipv6-probes.patch | 17 - .../inox/disable-google-url-tracker.patch | 64 -- .../inox/disable-missing-key-warning.patch | 10 - .../files/inox/disable-new-avatar-menu.patch | 29 - .../inox/disable-translation-lang-fetch.patch | 60 -- .../files/inox/disable-update-pings.patch | 17 - .../inox/disable-web-resource-service.patch | 34 - .../files/inox/modify-default-prefs.patch | 250 -------- .../inox/files/inox/restore-classic-ntp.patch | 44 -- .../net-www/inox/inox-49.0.2623.111.exheres-0 | 4 +- 18 files changed, 17 insertions(+), 1499 deletions(-) delete mode 100644 packages/net-www/inox/files/inox/add-duckduckgo-search-engine.patch delete mode 100644 packages/net-www/inox/files/inox/branding.patch delete mode 100644 packages/net-www/inox/files/inox/chromium-sandbox-pie.patch delete mode 100644 packages/net-www/inox/files/inox/disable-autofill-download-manager.patch delete mode 100644 packages/net-www/inox/files/inox/disable-default-extensions.patch delete mode 100644 packages/net-www/inox/files/inox/disable-first-run-behaviour.patch delete mode 100644 packages/net-www/inox/files/inox/disable-gcm-status-check.patch delete mode 100644 packages/net-www/inox/files/inox/disable-google-ipv6-probes.patch delete mode 100644 packages/net-www/inox/files/inox/disable-google-url-tracker.patch delete mode 100644 packages/net-www/inox/files/inox/disable-missing-key-warning.patch delete mode 100644 packages/net-www/inox/files/inox/disable-new-avatar-menu.patch delete mode 100644 packages/net-www/inox/files/inox/disable-translation-lang-fetch.patch delete mode 100644 packages/net-www/inox/files/inox/disable-update-pings.patch delete mode 100644 packages/net-www/inox/files/inox/disable-web-resource-service.patch delete mode 100644 packages/net-www/inox/files/inox/modify-default-prefs.patch delete mode 100644 packages/net-www/inox/files/inox/restore-classic-ntp.patch diff --git a/packages/net-www/exlibs/inox.exlib b/packages/net-www/exlibs/inox.exlib index ccddb78..f6f64dd 100644 --- a/packages/net-www/exlibs/inox.exlib +++ b/packages/net-www/exlibs/inox.exlib @@ -13,6 +13,14 @@ MY_PNV=${MY_PN}-${PV} require freedesktop-desktop gtk-icon-cache python [ has_lib=false ] toolchain-funcs +myexparam patchset= + +exparam -v PATCHSET patchset + +if [[ -z $(exparam patchset) ]]; then + die "patchset exparam needs to be set!" +fi + export_exlib_phases pkg_setup src_prepare src_configure src_compile src_test src_install pkg_postinst pkg_postrm SUMMARY="The open-source project behind Google Chrome" @@ -21,6 +29,7 @@ HOMEPAGE="https://www.chromium.org/Home" DOWNLOADS=" https://storage.googleapis.com/chromium-browser-official/${MY_PNV}.tar.xz https://gsdview.appspot.com/chromium-browser-official/${MY_PNV}.tar.xz + https://github.com/gcarq/inox-patchset/archive/${PATCHSET}.tar.gz -> inox-patches-${PATCHSET}.tar.gz " LICENCES=" @@ -151,6 +160,13 @@ inox_pkg_setup() { } inox_src_prepare() { + # odd upstream git versioning + edo rm -r "${WORKBASE}"/inox-patchset-${PATCHSET}/archive + # this one is unneded and doesn't apply cleanly + edo rm "${WORKBASE}"/inox-patchset-${PATCHSET}/launcher-branding.patch + # fire up the inox patches + expatch "${WORKBASE}"/inox-patchset-${PATCHSET}/ + default edo sed \ diff --git a/packages/net-www/inox/files/inox/add-duckduckgo-search-engine.patch b/packages/net-www/inox/files/inox/add-duckduckgo-search-engine.patch deleted file mode 100644 index 199f815..0000000 --- a/packages/net-www/inox/files/inox/add-duckduckgo-search-engine.patch +++ /dev/null @@ -1,584 +0,0 @@ ---- ./components/search_engines/prepopulated_engines.json -+++ ./components/search_engines/prepopulated_engines.json.new -@@ -36,6 +36,17 @@ - // The following engines are included in country lists and are added to the - // list of search engines on the first run depending on user's country. - "elements": { -+ "duckduckgo": { -+ "name": "DuckDuckGo", -+ "keyword": "duckduckgo.com", -+ "favicon_url": "https://duckduckgo.com/favicon.ico", -+ "search_url": "https://duckduckgo.com/?q={searchTerms}", -+ "suggest_url": "https://duckduckgo.com/?q={searchTerms}&language={language}&kac=1", -+ "new_tab_url": "about:blank", -+ "type": "SEARCH_ENGINE_DUCKDUCKGO", -+ "id": 11 -+ }, -+ - "aol": { - "name": "AOL", - "keyword": "aol.com", ---- ./components/search_engines/search_engine_type.h -+++ ./components/search_engines/search_engine_type.h.new -@@ -58,6 +58,7 @@ enum SearchEngineType { - SEARCH_ENGINE_YAHOO, - SEARCH_ENGINE_YANDEX, - SEARCH_ENGINE_ZOZNAM, -+ SEARCH_ENGINE_DUCKDUCKGO, - SEARCH_ENGINE_MAX // Bounding value needed for UMA histogram macro. - }; - - ---- ./components/search_engines/template_url_prepopulate_data.cc -+++ ./components/search_engines/template_url_prepopulate_data.cc.new -@@ -48,441 +48,441 @@ - - // Default (for countries with no better engine set) - const PrepopulatedEngine* engines_default[] = -- { &google, &bing, &yahoo, }; -+ { &duckduckgo, &google, &bing, &yahoo, }; - - // United Arab Emirates - const PrepopulatedEngine* engines_AE[] = -- { &google, &yahoo_maktoob, &bing, }; -+ { &duckduckgo, &google, &yahoo_maktoob, &bing, }; - - // Albania - const PrepopulatedEngine* engines_AL[] = -- { &google, &yahoo, &bing, }; -+ { &duckduckgo, &google, &yahoo, &bing, }; - - // Argentina - const PrepopulatedEngine* engines_AR[] = -- { &google, &bing, &yahoo_ar, }; -+ { &duckduckgo, &google, &bing, &yahoo_ar, }; - - // Austria - const PrepopulatedEngine* engines_AT[] = -- { &google, &bing, &yahoo_at, }; -+ { &duckduckgo, &google, &bing, &yahoo_at, }; - - // Australia - const PrepopulatedEngine* engines_AU[] = -- { &google, &bing, &yahoo_au, }; -+ { &duckduckgo, &google, &bing, &yahoo_au, }; - - // Bosnia and Herzegovina - const PrepopulatedEngine* engines_BA[] = -- { &google, &yahoo, &bing, }; -+ { &duckduckgo, &google, &yahoo, &bing, }; - - // Belgium - const PrepopulatedEngine* engines_BE[] = -- { &google, &bing, &yahoo, &yahoo_fr, }; -+ { &duckduckgo, &google, &bing, &yahoo, &yahoo_fr, }; - - // Bulgaria - const PrepopulatedEngine* engines_BG[] = -- { &google, &bing, &ask, }; -+ { &duckduckgo, &google, &bing, &ask, }; - - // Bahrain - const PrepopulatedEngine* engines_BH[] = -- { &google, &yahoo_maktoob, &bing, }; -+ { &duckduckgo, &google, &yahoo_maktoob, &bing, }; - - // Burundi - const PrepopulatedEngine* engines_BI[] = -- { &google, &yahoo, &bing, }; -+ { &duckduckgo, &google, &yahoo, &bing, }; - - // Brunei - const PrepopulatedEngine* engines_BN[] = -- { &google, &yahoo_my, &bing, }; -+ { &duckduckgo, &google, &yahoo_my, &bing, }; - - // Bolivia - const PrepopulatedEngine* engines_BO[] = -- { &google, &bing, &yahoo, }; -+ { &duckduckgo, &google, &bing, &yahoo, }; - - // Brazil - const PrepopulatedEngine* engines_BR[] = -- { &google, &ask_br, &bing, &yahoo_br, }; -+ { &duckduckgo, &google, &ask_br, &bing, &yahoo_br, }; - - // Belarus - const PrepopulatedEngine* engines_BY[] = -- { &google, &yandex_by, &mail_ru, }; -+ { &duckduckgo, &google, &yandex_by, &mail_ru, }; - - // Belize - const PrepopulatedEngine* engines_BZ[] = -- { &google, &yahoo, &bing, }; -+ { &duckduckgo, &google, &yahoo, &bing, }; - - // Canada - const PrepopulatedEngine* engines_CA[] = -- { &google, &bing, &ask, &yahoo_ca, &yahoo_qc, }; -+ { &duckduckgo, &google, &bing, &ask, &yahoo_ca, &yahoo_qc, }; - - // Switzerland - const PrepopulatedEngine* engines_CH[] = -- { &google, &bing, &yahoo_ch, }; -+ { &duckduckgo, &google, &bing, &yahoo_ch, }; - - // Chile - const PrepopulatedEngine* engines_CL[] = -- { &google, &bing, &yahoo_cl, }; -+ { &duckduckgo, &google, &bing, &yahoo_cl, }; - - // China - const PrepopulatedEngine* engines_CN[] = -- { &google, &baidu, &sogou, }; -+ { &duckduckgo, &google, &baidu, &sogou, }; - - // Colombia - const PrepopulatedEngine* engines_CO[] = -- { &google, &bing, &yahoo_co, }; -+ { &duckduckgo, &google, &bing, &yahoo_co, }; - - // Costa Rica - const PrepopulatedEngine* engines_CR[] = -- { &google, &yahoo, &bing, }; -+ { &duckduckgo, &google, &yahoo, &bing, }; - - // Czech Republic - const PrepopulatedEngine* engines_CZ[] = -- { &google, &seznam, &bing, }; -+ { &duckduckgo, &google, &seznam, &bing, }; - - // Germany - const PrepopulatedEngine* engines_DE[] = -- { &google, &bing, &yahoo_de }; -+ { &duckduckgo, &google, &bing, &yahoo_de }; - - // Denmark - const PrepopulatedEngine* engines_DK[] = -- { &google, &bing, &yahoo_dk, }; -+ { &duckduckgo, &google, &bing, &yahoo_dk, }; - - // Dominican Republic - const PrepopulatedEngine* engines_DO[] = -- { &google, &yahoo, &bing, }; -+ { &duckduckgo, &google, &yahoo, &bing, }; - - // Algeria - const PrepopulatedEngine* engines_DZ[] = -- { &google, &bing, &yahoo_maktoob, }; -+ { &duckduckgo, &google, &bing, &yahoo_maktoob, }; - - // Ecuador - const PrepopulatedEngine* engines_EC[] = -- { &google, &bing, &yahoo, }; -+ { &duckduckgo, &google, &bing, &yahoo, }; - - // Estonia - const PrepopulatedEngine* engines_EE[] = -- { &google, &bing, &yahoo, }; -+ { &duckduckgo, &google, &bing, &yahoo, }; - - // Egypt - const PrepopulatedEngine* engines_EG[] = -- { &google, &yahoo_maktoob, &bing, }; -+ { &duckduckgo, &google, &yahoo_maktoob, &bing, }; - - // Spain - const PrepopulatedEngine* engines_ES[] = -- { &google, &bing, &yahoo_es, }; -+ { &duckduckgo, &google, &bing, &yahoo_es, }; - - // Faroe Islands - const PrepopulatedEngine* engines_FO[] = -- { &google, &bing, &ask, }; -+ { &duckduckgo, &google, &bing, &ask, }; - - // Finland - const PrepopulatedEngine* engines_FI[] = -- { &google, &bing, &yahoo_fi, }; -+ { &duckduckgo, &google, &bing, &yahoo_fi, }; - - // France - const PrepopulatedEngine* engines_FR[] = -- { &google, &bing, &yahoo_fr, }; -+ { &duckduckgo, &google, &bing, &yahoo_fr, }; - - // United Kingdom - const PrepopulatedEngine* engines_GB[] = -- { &google, &bing, &yahoo_uk, &ask_uk, }; -+ { &duckduckgo, &google, &bing, &yahoo_uk, &ask_uk, }; - - // Greece - const PrepopulatedEngine* engines_GR[] = -- { &google, &bing, &yahoo_gr, }; -+ { &duckduckgo, &google, &bing, &yahoo_gr, }; - - // Guatemala - const PrepopulatedEngine* engines_GT[] = -- { &google, &yahoo, &bing, }; -+ { &duckduckgo, &google, &yahoo, &bing, }; - - // Hong Kong - const PrepopulatedEngine* engines_HK[] = -- { &google, &yahoo_hk, &baidu, &bing, }; -+ { &duckduckgo, &google, &yahoo_hk, &baidu, &bing, }; - - // Honduras - const PrepopulatedEngine* engines_HN[] = -- { &google, &yahoo, &bing, }; -+ { &duckduckgo, &google, &yahoo, &bing, }; - - // Croatia - const PrepopulatedEngine* engines_HR[] = -- { &google, &bing, &yahoo, }; -+ { &duckduckgo, &google, &bing, &yahoo, }; - - // Hungary - const PrepopulatedEngine* engines_HU[] = -- { &google, &bing, &yahoo, }; -+ { &duckduckgo, &google, &bing, &yahoo, }; - - // Indonesia - const PrepopulatedEngine* engines_ID[] = -- { &google, &yahoo_id, &bing, }; -+ { &duckduckgo, &google, &yahoo_id, &bing, }; - - // Ireland - const PrepopulatedEngine* engines_IE[] = -- { &google, &bing, &yahoo_uk, }; -+ { &duckduckgo, &google, &bing, &yahoo_uk, }; - - // Israel - const PrepopulatedEngine* engines_IL[] = -- { &google, &yahoo, &bing, }; -+ { &duckduckgo, &google, &yahoo, &bing, }; - - // India - const PrepopulatedEngine* engines_IN[] = -- { &google, &bing, &yahoo_in, }; -+ { &duckduckgo, &google, &bing, &yahoo_in, }; - - // Iraq - const PrepopulatedEngine* engines_IQ[] = -- { &google, &yahoo_maktoob, &bing, }; -+ { &duckduckgo, &google, &yahoo_maktoob, &bing, }; - - // Iran - const PrepopulatedEngine* engines_IR[] = -- { &google, &yahoo, &bing, }; -+ { &duckduckgo, &google, &yahoo, &bing, }; - - // Iceland - const PrepopulatedEngine* engines_IS[] = -- { &google, &bing, &yahoo, }; -+ { &duckduckgo, &google, &bing, &yahoo, }; - - // Italy - const PrepopulatedEngine* engines_IT[] = -- { &google, &virgilio, &bing, }; -+ { &duckduckgo, &google, &virgilio, &bing, }; - - // Jamaica - const PrepopulatedEngine* engines_JM[] = -- { &google, &yahoo, &bing, }; -+ { &duckduckgo, &google, &yahoo, &bing, }; - - // Jordan - const PrepopulatedEngine* engines_JO[] = -- { &google, &yahoo_maktoob, &bing, }; -+ { &duckduckgo, &google, &yahoo_maktoob, &bing, }; - - // Japan - const PrepopulatedEngine* engines_JP[] = -- { &google, &yahoo_jp, &bing, }; -+ { &duckduckgo, &google, &yahoo_jp, &bing, }; - - // Kenya - const PrepopulatedEngine* engines_KE[] = -- { &google, &yahoo, &bing, }; -+ { &duckduckgo, &google, &yahoo, &bing, }; - - // Kuwait - const PrepopulatedEngine* engines_KW[] = -- { &google, &yahoo_maktoob, &bing, }; -+ { &duckduckgo, &google, &yahoo_maktoob, &bing, }; - - // South Korea - const PrepopulatedEngine* engines_KR[] = -- { &google, &naver, &daum, }; -+ { &duckduckgo, &google, &naver, &daum, }; - - // Kazakhstan - const PrepopulatedEngine* engines_KZ[] = -- { &google, &mail_ru, &yandex_kz, }; -+ { &duckduckgo, &google, &mail_ru, &yandex_kz, }; - - // Lebanon - const PrepopulatedEngine* engines_LB[] = -- { &google, &yahoo_maktoob, &bing, }; -+ { &duckduckgo, &google, &yahoo_maktoob, &bing, }; - - // Liechtenstein - const PrepopulatedEngine* engines_LI[] = -- { &google, &bing, &yahoo_de, }; -+ { &duckduckgo, &google, &bing, &yahoo_de, }; - - // Lithuania - const PrepopulatedEngine* engines_LT[] = -- { &google, &bing, &yandex_ru, }; -+ { &duckduckgo, &google, &bing, &yandex_ru, }; - - // Luxembourg - const PrepopulatedEngine* engines_LU[] = -- { &google, &bing, &yahoo_fr, }; -+ { &duckduckgo, &google, &bing, &yahoo_fr, }; - - // Latvia - const PrepopulatedEngine* engines_LV[] = -- { &google, &yandex_ru, &bing, }; -+ { &duckduckgo, &google, &yandex_ru, &bing, }; - - // Libya - const PrepopulatedEngine* engines_LY[] = -- { &google, &yahoo_maktoob, &bing, }; -+ { &duckduckgo, &google, &yahoo_maktoob, &bing, }; - - // Morocco - const PrepopulatedEngine* engines_MA[] = -- { &google, &bing, &yahoo_maktoob, }; -+ { &duckduckgo, &google, &bing, &yahoo_maktoob, }; - - // Monaco - const PrepopulatedEngine* engines_MC[] = -- { &google, &yahoo_fr, &bing, }; -+ { &duckduckgo, &google, &yahoo_fr, &bing, }; - - // Moldova - const PrepopulatedEngine* engines_MD[] = -- { &google, &bing, &yahoo, }; -+ { &duckduckgo, &google, &bing, &yahoo, }; - - // Montenegro - const PrepopulatedEngine* engines_ME[] = -- { &google, &bing, &yahoo, }; -+ { &duckduckgo, &google, &bing, &yahoo, }; - - // Macedonia - const PrepopulatedEngine* engines_MK[] = -- { &google, &yahoo, &bing, }; -+ { &duckduckgo, &google, &yahoo, &bing, }; - - // Mexico - const PrepopulatedEngine* engines_MX[] = -- { &google, &bing, &yahoo_mx, }; -+ { &duckduckgo, &google, &bing, &yahoo_mx, }; - - // Malaysia - const PrepopulatedEngine* engines_MY[] = -- { &google, &yahoo_my, &bing, }; -+ { &duckduckgo, &google, &yahoo_my, &bing, }; - - // Nicaragua - const PrepopulatedEngine* engines_NI[] = -- { &google, &yahoo, &bing, }; -+ { &duckduckgo, &google, &yahoo, &bing, }; - - // Netherlands - const PrepopulatedEngine* engines_NL[] = -- { &google, &yahoo_nl, &vinden, }; -+ { &duckduckgo, &google, &yahoo_nl, &vinden, }; - - // Norway - const PrepopulatedEngine* engines_NO[] = -- { &google, &bing, &kvasir, }; -+ { &duckduckgo, &google, &bing, &kvasir, }; - - // New Zealand - const PrepopulatedEngine* engines_NZ[] = -- { &google, &bing, &yahoo_nz, }; -+ { &duckduckgo, &google, &bing, &yahoo_nz, }; - - // Oman - const PrepopulatedEngine* engines_OM[] = -- { &google, &bing, &yahoo_maktoob, }; -+ { &duckduckgo, &google, &bing, &yahoo_maktoob, }; - - // Panama - const PrepopulatedEngine* engines_PA[] = -- { &google, &yahoo, &bing, }; -+ { &duckduckgo, &google, &yahoo, &bing, }; - - // Peru - const PrepopulatedEngine* engines_PE[] = -- { &google, &bing, &yahoo_pe, }; -+ { &duckduckgo, &google, &bing, &yahoo_pe, }; - - // Philippines - const PrepopulatedEngine* engines_PH[] = -- { &google, &yahoo_ph, &bing, }; -+ { &duckduckgo, &google, &yahoo_ph, &bing, }; - - // Pakistan - const PrepopulatedEngine* engines_PK[] = -- { &google, &yahoo, &bing, }; -+ { &duckduckgo, &google, &yahoo, &bing, }; - - // Puerto Rico - const PrepopulatedEngine* engines_PR[] = -- { &google, &yahoo, &bing, }; -+ { &duckduckgo, &google, &yahoo, &bing, }; - - // Poland - const PrepopulatedEngine* engines_PL[] = -- { &google, &onet, &bing, }; -+ { &duckduckgo, &google, &onet, &bing, }; - - // Portugal - const PrepopulatedEngine* engines_PT[] = -- { &google, &bing, &yahoo, }; -+ { &duckduckgo, &google, &bing, &yahoo, }; - - // Paraguay - const PrepopulatedEngine* engines_PY[] = -- { &google, &bing, &yahoo, }; -+ { &duckduckgo, &google, &bing, &yahoo, }; - - // Qatar - const PrepopulatedEngine* engines_QA[] = -- { &google, &yahoo_maktoob, &bing, }; -+ { &duckduckgo, &google, &yahoo_maktoob, &bing, }; - - // Romania - const PrepopulatedEngine* engines_RO[] = -- { &google, &yahoo_ro, &bing, }; -+ { &duckduckgo, &google, &yahoo_ro, &bing, }; - - // Serbia - const PrepopulatedEngine* engines_RS[] = -- { &google, &bing, &yahoo, }; -+ { &duckduckgo, &google, &bing, &yahoo, }; - - // Russia - const PrepopulatedEngine* engines_RU[] = -- { &google, &yandex_ru, &mail_ru, }; -+ { &duckduckgo, &google, &yandex_ru, &mail_ru, }; - - // Rwanda - const PrepopulatedEngine* engines_RW[] = -- { &google, &bing, &yahoo, }; -+ { &duckduckgo, &google, &bing, &yahoo, }; - - // Saudi Arabia - const PrepopulatedEngine* engines_SA[] = -- { &google, &yahoo_maktoob, &bing, }; -+ { &duckduckgo, &google, &yahoo_maktoob, &bing, }; - - // Sweden - const PrepopulatedEngine* engines_SE[] = -- { &google, &bing, &yahoo_se, }; -+ { &duckduckgo, &google, &bing, &yahoo_se, }; - - // Singapore - const PrepopulatedEngine* engines_SG[] = -- { &google, &yahoo_sg, &bing, }; -+ { &duckduckgo, &google, &yahoo_sg, &bing, }; - - // Slovenia - const PrepopulatedEngine* engines_SI[] = -- { &google, &najdi, &ask, }; -+ { &duckduckgo, &google, &najdi, &ask, }; - - // Slovakia - const PrepopulatedEngine* engines_SK[] = -- { &google, &bing, &yahoo, }; -+ { &duckduckgo, &google, &bing, &yahoo, }; - - // El Salvador - const PrepopulatedEngine* engines_SV[] = -- { &google, &yahoo, &bing, }; -+ { &duckduckgo, &google, &yahoo, &bing, }; - - // Syria - const PrepopulatedEngine* engines_SY[] = -- { &google, &bing, &yahoo_maktoob, }; -+ { &duckduckgo, &google, &bing, &yahoo_maktoob, }; - - // Thailand - const PrepopulatedEngine* engines_TH[] = -- { &google, &yahoo_th, &bing, }; -+ { &duckduckgo, &google, &yahoo_th, &bing, }; - - // Tunisia - const PrepopulatedEngine* engines_TN[] = -- { &google, &bing, &yahoo_maktoob, }; -+ { &duckduckgo, &google, &bing, &yahoo_maktoob, }; - - // Turkey - const PrepopulatedEngine* engines_TR[] = -- { &google, &bing, &yahoo_tr, &yandex_tr, }; -+ { &duckduckgo, &google, &bing, &yahoo_tr, &yandex_tr, }; - - // Trinidad and Tobago - const PrepopulatedEngine* engines_TT[] = -- { &google, &bing, &yahoo, }; -+ { &duckduckgo, &google, &bing, &yahoo, }; - - // Taiwan - const PrepopulatedEngine* engines_TW[] = -- { &google, &yahoo_tw, &bing, }; -+ { &duckduckgo, &google, &yahoo_tw, &bing, }; - - // Tanzania - const PrepopulatedEngine* engines_TZ[] = -- { &google, &yahoo, &bing, }; -+ { &duckduckgo, &google, &yahoo, &bing, }; - - // Ukraine - const PrepopulatedEngine* engines_UA[] = -- { &google, &yandex_ua, &bing, }; -+ { &duckduckgo, &google, &yandex_ua, &bing, }; - - // United States - const PrepopulatedEngine* engines_US[] = -- { &google, &bing, &yahoo, &aol, &ask, }; -+ { &duckduckgo, &google, &bing, &yahoo, &aol, &ask, }; - - // Uruguay - const PrepopulatedEngine* engines_UY[] = -- { &google, &bing, &yahoo, }; -+ { &duckduckgo, &google, &bing, &yahoo, }; - - // Venezuela - const PrepopulatedEngine* engines_VE[] = -- { &google, &bing, &yahoo_ve, }; -+ { &duckduckgo, &google, &bing, &yahoo_ve, }; - - // Vietnam - const PrepopulatedEngine* engines_VN[] = -- { &google, &yahoo_vn, &bing, }; -+ { &duckduckgo, &google, &yahoo_vn, &bing, }; - - // Yemen - const PrepopulatedEngine* engines_YE[] = -- { &google, &bing, &yahoo_maktoob, }; -+ { &duckduckgo, &google, &bing, &yahoo_maktoob, }; - - // South Africa - const PrepopulatedEngine* engines_ZA[] = -- { &google, &bing, &yahoo, }; -+ { &duckduckgo, &google, &bing, &yahoo, }; - - // Zimbabwe - const PrepopulatedEngine* engines_ZW[] = -- { &google, &bing, &yahoo, &ask, }; -+ { &duckduckgo, &google, &bing, &yahoo, &ask, }; - - // A list of all the engines that we know about. - const PrepopulatedEngine* kAllEngines[] = { - // Prepopulated engines: - &aol, &ask, &ask_br, &ask_uk, &baidu, -- &bing, &daum, &google, &kvasir, &mail_ru, -+ &bing, &daum,&duckduckgo,&google, &kvasir, &mail_ru, - &najdi, &naver, &onet, &seznam, &sogou, - &vinden, &virgilio, &yahoo, &yahoo_ar, &yahoo_at, - &yahoo_au, &yahoo_br, &yahoo_ca, &yahoo_ch, &yahoo_cl, diff --git a/packages/net-www/inox/files/inox/branding.patch b/packages/net-www/inox/files/inox/branding.patch deleted file mode 100644 index c78c434..0000000 --- a/packages/net-www/inox/files/inox/branding.patch +++ /dev/null @@ -1,100 +0,0 @@ ---- ./chrome/common/chrome_paths_linux.cc -+++ ./chrome/common/chrome_paths_linux.cc.new -@@ -64,11 +64,7 @@ - base::FilePath config_dir(GetXDGDirectory(env.get(), - kXdgConfigHomeEnvVar, - kDotConfigDir)); --#if defined(GOOGLE_CHROME_BUILD) -- *result = config_dir.Append("google-chrome"); --#else -- *result = config_dir.Append("chromium"); --#endif -+ *result = config_dir.Append("inox"); - return true; - } - - ---- ./chrome/app/chromium_strings.grd -+++ ./chrome/app/chromium_strings.grd.new -@@ -215,17 +215,17 @@ be available for now. --> - Disconnecting $1someone@example.com will clear your history, bookmarks, settings, and other Chromium data stored on this device. Data stored in your Google Account will not be cleared and can be managed on <a target="_blank" href="$2">Google Dashboard</a>. - - -- Chromium -+ Inox - - -- Chromium -+ Inox - - - -- Chromium -+ Inox - - -- Chromium is a web browser that runs webpages and applications with lightning speed. It's fast, stable, and easy to use. Browse the web more safely with malware and phishing protection built into Chromium. -+ Inox is a free, open, and libre browser modification of the Chromium code base, with privacy being enhanced in several key areas. Automatic transmission of partial queries, keywords, metrics to central services inhibited and only occurs with consent. In addition, all our builds are reproducible, and modifications are auditable, setting the project ahead of other secure browser providers. - - - -@@ -241,7 +241,7 @@ be available for now. --> - Chromium App Launcher - - -- Chromium Binaries -+ Inox Binaries - - - https://support.google.com/chrome/?p=ib_chromeframe -@@ -272,17 +272,17 @@ be available for now. --> - - - -- Task Manager - Chromium -+ Task Manager - Inox - - -- Chromium didn't shut down correctly. -+ Inox did not shut down correctly. - - - Help make Chromium better by sending crash reports and $1usage statistics to Google - - - -- $1Google - Chromium -+ $1Google – Inox - - - -@@ -787,7 +787,7 @@ For Chromium, processes used to display diagnostics information (such as this "a - - - -- About &Chromium -+ About &Inox - - - Update &Chromium -@@ -795,7 +795,7 @@ For Chromium, processes used to display diagnostics information (such as this "a - - - -- About &Chromium -+ About &Inox - - - Update &Chromium -@@ -812,7 +812,7 @@ For Chromium, processes used to display diagnostics information (such as this "a - - - -- Chromium -+ Inox - - - Chromium Helper - - - diff --git a/packages/net-www/inox/files/inox/chromium-sandbox-pie.patch b/packages/net-www/inox/files/inox/chromium-sandbox-pie.patch deleted file mode 100644 index fc18750..0000000 --- a/packages/net-www/inox/files/inox/chromium-sandbox-pie.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/sandbox/linux/sandbox_linux.gypi -+++ b/sandbox/linux/sandbox_linux.gypi -@@ -221,7 +221,10 @@ - ], - 'cflags': [ - # For ULLONG_MAX -- '-std=gnu99', -+ '-std=gnu99 -fPIE', -+ ], -+ 'ldflags': [ -+ '-pie', - ], - 'include_dirs': [ - '../..', diff --git a/packages/net-www/inox/files/inox/disable-autofill-download-manager.patch b/packages/net-www/inox/files/inox/disable-autofill-download-manager.patch deleted file mode 100644 index 2ef90fd..0000000 --- a/packages/net-www/inox/files/inox/disable-autofill-download-manager.patch +++ /dev/null @@ -1,61 +0,0 @@ ---- ./components/autofill/core/browser/autofill_download_manager.cc 2016-03-08 04:12:53.191538227 +0300 -+++ ./components/autofill/core/browser/autofill_download_manager.cc.new 2016-03-08 04:14:33.351542560 +0300 -@@ -87,8 +87,7 @@ - } - - GURL GetRequestUrl(AutofillDownloadManager::RequestType request_type) { -- return GURL("https://clients1.google.com/tbproxy/af/" + -- RequestTypeToString(request_type) + "?client=" + kClientName); -+ return GURL("about:blank"); - } - - } // namespace -@@ -174,48 +173,6 @@ - - bool AutofillDownloadManager::StartRequest( - const FormRequestData& request_data) { -- net::URLRequestContextGetter* request_context = -- driver_->GetURLRequestContext(); -- DCHECK(request_context); -- GURL request_url = GetRequestUrl(request_data.request_type); -- -- std::string compressed_data; -- if (!compression::GzipCompress(request_data.payload, &compressed_data)) { -- NOTREACHED(); -- return false; -- } -- -- const int compression_ratio = base::checked_cast( -- 100 * compressed_data.size() / request_data.payload.size()); -- AutofillMetrics::LogPayloadCompressionRatio(compression_ratio, -- request_data.request_type); -- -- // Id is ignored for regular chrome, in unit test id's for fake fetcher -- // factory will be 0, 1, 2, ... -- net::URLFetcher* fetcher = -- net::URLFetcher::Create(fetcher_id_for_unittest_++, request_url, -- net::URLFetcher::POST, this).release(); -- data_use_measurement::DataUseUserData::AttachToFetcher( -- fetcher, data_use_measurement::DataUseUserData::AUTOFILL); -- url_fetchers_[fetcher] = request_data; -- fetcher->SetAutomaticallyRetryOn5xx(false); -- fetcher->SetRequestContext(request_context); -- fetcher->SetUploadData("text/xml", compressed_data); -- fetcher->SetLoadFlags(net::LOAD_DO_NOT_SAVE_COOKIES | -- net::LOAD_DO_NOT_SEND_COOKIES); -- // Add Chrome experiment state and GZIP encoding to the request headers. -- net::HttpRequestHeaders headers; -- headers.SetHeaderIfMissing("content-encoding", "gzip"); -- variations::AppendVariationHeaders( -- fetcher->GetOriginalURL(), driver_->IsOffTheRecord(), false, &headers); -- fetcher->SetExtraRequestHeaders(headers.ToString()); -- fetcher->Start(); -- -- VLOG(1) << "Sending AutofillDownloadManager " -- << RequestTypeToString(request_data.request_type) -- << " request (compression " << compression_ratio -- << "): " << request_data.payload; -- - return true; - } - diff --git a/packages/net-www/inox/files/inox/disable-default-extensions.patch b/packages/net-www/inox/files/inox/disable-default-extensions.patch deleted file mode 100644 index 9f9cc9e..0000000 --- a/packages/net-www/inox/files/inox/disable-default-extensions.patch +++ /dev/null @@ -1,145 +0,0 @@ ---- ./chrome/browser/extensions/external_component_loader.cc -+++ ./chrome/browser/extensions/external_component_loader.cc.new -@@ -39,10 +39,6 @@ - - void ExternalComponentLoader::StartLoading() { - prefs_.reset(new base::DictionaryValue()); -- AddExternalExtension(extension_misc::kInAppPaymentsSupportAppId); -- -- if (HotwordServiceFactory::IsHotwordAllowed(profile_)) -- AddExternalExtension(extension_misc::kHotwordSharedModuleId); - - #if defined(OS_CHROMEOS) - { -@@ -53,17 +49,6 @@ - } - #endif - --#if defined(ENABLE_MEDIA_ROUTER) && defined(GOOGLE_CHROME_BUILD) -- if (media_router::MediaRouterEnabled(profile_)) -- AddExternalExtension(extension_misc::kMediaRouterStableExtensionId); --#endif // defined(ENABLE_MEDIA_ROUTER) && defined(GOOGLE_CHROME_BUILD) -- --#if defined(ENABLE_APP_LIST) && defined(OS_CHROMEOS) -- std::string google_now_extension_id; -- if (GetGoogleNowExtensionId(&google_now_extension_id)) -- AddExternalExtension(google_now_extension_id); --#endif -- - LoadFinished(); - } - - ---- ./chrome/browser/extensions/component_loader.cc -+++ ./chrome/browser/extensions/component_loader.cc.new -@@ -351,24 +351,12 @@ - } - - void ComponentLoader::AddHangoutServicesExtension() { --#if defined(GOOGLE_CHROME_BUILD) || defined(ENABLE_HANGOUT_SERVICES_EXTENSION) -- Add(IDR_HANGOUT_SERVICES_MANIFEST, -- base::FilePath(FILE_PATH_LITERAL("hangout_services"))); --#endif - } - - void ComponentLoader::AddHotwordAudioVerificationApp() { -- if (HotwordServiceFactory::IsAlwaysOnAvailable()) { -- Add(IDR_HOTWORD_AUDIO_VERIFICATION_MANIFEST, -- base::FilePath(FILE_PATH_LITERAL("hotword_audio_verification"))); -- } - } - - void ComponentLoader::AddHotwordHelperExtension() { -- if (HotwordServiceFactory::IsHotwordAllowed(profile_)) { -- Add(IDR_HOTWORD_MANIFEST, -- base::FilePath(FILE_PATH_LITERAL("hotword"))); -- } - } - - void ComponentLoader::AddImageLoaderExtension() { -@@ -384,43 +372,6 @@ - } - - void ComponentLoader::AddGoogleNowExtension() { --#if BUILDFLAG(ENABLE_GOOGLE_NOW) -- const char kEnablePrefix[] = "Enable"; -- const char kFieldTrialName[] = "GoogleNow"; -- std::string enable_prefix(kEnablePrefix); -- std::string field_trial_result = -- base::FieldTrialList::FindFullName(kFieldTrialName); -- -- bool enabled_via_field_trial = -- field_trial_result.compare(0, enable_prefix.length(), enable_prefix) == 0; -- -- // Enable the feature on trybots and trunk builds. -- bool enabled_via_trunk_build = -- chrome::GetChannel() == version_info::Channel::UNKNOWN; -- -- bool is_authenticated = -- SigninManagerFactory::GetForProfile(profile_)->IsAuthenticated(); -- -- bool enabled = -- (enabled_via_field_trial && is_authenticated) || enabled_via_trunk_build; -- --#if defined(ENABLE_APP_LIST) && defined(OS_CHROMEOS) -- // Don't load if newer trial is running (== new extension id is available). -- std::string ignored_extension_id; -- if (GetGoogleNowExtensionId(&ignored_extension_id)) { -- enabled = false; -- } --#endif // defined(ENABLE_APP_LIST) && defined(OS_CHROMEOS) -- -- const int google_now_manifest_id = IDR_GOOGLE_NOW_MANIFEST; -- const base::FilePath root_directory = -- base::FilePath(FILE_PATH_LITERAL("google_now")); -- if (enabled) { -- Add(google_now_manifest_id, root_directory); -- } else { -- DeleteData(google_now_manifest_id, root_directory); -- } --#endif // BUILDFLAG(ENABLE_GOOGLE_NOW) - } - - #if defined(OS_CHROMEOS) -@@ -496,15 +447,6 @@ - } - - void ComponentLoader::AddWebStoreApp() { --#if defined(OS_CHROMEOS) -- if (!IsNormalSession()) -- return; --#endif -- -- AddWithNameAndDescription( -- IDR_WEBSTORE_MANIFEST, base::FilePath(FILE_PATH_LITERAL("web_store")), -- l10n_util::GetStringUTF8(IDS_WEBSTORE_NAME_STORE), -- l10n_util::GetStringUTF8(IDS_WEBSTORE_APP_DESCRIPTION)); - } - - scoped_refptr ComponentLoader::CreateExtension( -@@ -555,9 +497,6 @@ - DCHECK(!skip_session_components); - Add(IDR_BOOKMARKS_MANIFEST, - base::FilePath(FILE_PATH_LITERAL("bookmark_manager"))); -- // Cloud Print component app. Not required on Chrome OS. -- Add(IDR_CLOUDPRINT_MANIFEST, -- base::FilePath(FILE_PATH_LITERAL("cloud_print"))); - #endif - - if (!skip_session_components) { - - -@@ -629,13 +571,6 @@ - AddImageLoaderExtension(); - AddGoogleNowExtension(); - -- bool install_feedback = enable_background_extensions_during_testing; --#if defined(GOOGLE_CHROME_BUILD) -- install_feedback = true; --#endif // defined(GOOGLE_CHROME_BUILD) -- if (install_feedback) -- Add(IDR_FEEDBACK_MANIFEST, base::FilePath(FILE_PATH_LITERAL("feedback"))); -- - #if defined(ENABLE_SETTINGS_APP) - Add(IDR_SETTINGS_APP_MANIFEST, - base::FilePath(FILE_PATH_LITERAL("settings_app"))); diff --git a/packages/net-www/inox/files/inox/disable-first-run-behaviour.patch b/packages/net-www/inox/files/inox/disable-first-run-behaviour.patch deleted file mode 100644 index 8145b43..0000000 --- a/packages/net-www/inox/files/inox/disable-first-run-behaviour.patch +++ /dev/null @@ -1,35 +0,0 @@ ---- ./chrome/browser/ui/startup/startup_browser_creator_impl.cc -+++ ./chrome/browser/ui/startup/startup_browser_creator_impl.cc.new -@@ -852,8 +852,6 @@ - // Replace magic names for the actual urls. - if (it->host() == "new_tab_page") { - startup_urls->push_back(GURL(chrome::kChromeUINewTabURL)); -- } else if (it->host() == "welcome_page") { -- startup_urls->push_back(internals::GetWelcomePageURL()); - } else { - startup_urls->push_back(*it); - } -@@ -868,10 +866,6 @@ - if (startup_urls->empty()) { - AddSpecialURLs(startup_urls); - startup_urls->push_back(GURL(chrome::kChromeUINewTabURL)); -- -- // Special case the FIRST_RUN_LAST_TAB case of the welcome page. -- if (welcome_run_type_ == WelcomeRunType::FIRST_RUN_LAST_TAB) -- startup_urls->push_back(internals::GetWelcomePageURL()); - } - - if (signin::ShouldShowPromoAtStartup(profile_, is_first_run_)) { -@@ -905,10 +899,6 @@ - - void StartupBrowserCreatorImpl::AddSpecialURLs( - std::vector* url_list) const { -- // Optionally include the welcome page. -- if (welcome_run_type_ == WelcomeRunType::FIRST_TAB) -- url_list->insert(url_list->begin(), internals::GetWelcomePageURL()); -- - // If this Profile is marked for a reset prompt, ensure the reset - // settings dialog appears. - if (CheckAndClearProfileResetTrigger()) - - diff --git a/packages/net-www/inox/files/inox/disable-gcm-status-check.patch b/packages/net-www/inox/files/inox/disable-gcm-status-check.patch deleted file mode 100644 index 2ae17d0..0000000 --- a/packages/net-www/inox/files/inox/disable-gcm-status-check.patch +++ /dev/null @@ -1,32 +0,0 @@ ---- ./components/gcm_driver/gcm_channel_status_request.cc -+++ ./components/gcm_driver/gcm_channel_status_request.cc.new -@@ -19,8 +19,10 @@ namespace gcm { - - namespace { - -+#if 0 - const char kRequestContentType[] = "application/octet-stream"; - const char kGCMChannelTag[] = "gcm_channel"; -+#endif - const int kDefaultPollIntervalSeconds = 60 * 60; // 60 minutes. - const int kMinPollIntervalSeconds = 30 * 60; // 30 minutes. - -@@ -53,6 +55,7 @@ int GCMChannelStatusRequest::min_poll_interval_seconds() { - } - - void GCMChannelStatusRequest::Start() { -+#if 0 - DCHECK(!url_fetcher_.get()); - - GURL request_url(channel_status_request_url_); -@@ -72,6 +75,9 @@ void GCMChannelStatusRequest::Start() { - url_fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES | - net::LOAD_DO_NOT_SAVE_COOKIES); - url_fetcher_->Start(); -+#endif -+ // Simulate an empty response and disable GCM. -+ callback_.Run(false, false, 0); - } - - void GCMChannelStatusRequest::OnURLFetchComplete( - diff --git a/packages/net-www/inox/files/inox/disable-google-ipv6-probes.patch b/packages/net-www/inox/files/inox/disable-google-ipv6-probes.patch deleted file mode 100644 index a9b3518..0000000 --- a/packages/net-www/inox/files/inox/disable-google-ipv6-probes.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- ./net/dns/host_resolver_impl.cc -+++ ./net/dns/host_resolver_impl.cc.new -@@ -78,10 +78,10 @@ const char kLocalhost[] = "localhost."; - // cached. - const int kIPv6ProbePeriodMs = 1000; - --// Google DNS address used for IPv6 probes. -+/* RIPE NCC k.root-servers.net. 2001:7fd::1 (anycasted) */ - const uint8_t kIPv6ProbeAddress[] = -- { 0x20, 0x01, 0x48, 0x60, 0x48, 0x60, 0x00, 0x00, -- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x88, 0x88 }; -+ { 0x20, 0x01, 0x07, 0xfd, 0x00, 0x00, 0x00, 0x00, -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01 }; - - // We use a separate histogram name for each platform to facilitate the - // display of error codes by their symbolic name (since each platform has - diff --git a/packages/net-www/inox/files/inox/disable-google-url-tracker.patch b/packages/net-www/inox/files/inox/disable-google-url-tracker.patch deleted file mode 100644 index 302b097..0000000 --- a/packages/net-www/inox/files/inox/disable-google-url-tracker.patch +++ /dev/null @@ -1,64 +0,0 @@ ---- ./components/google/core/browser/google_url_tracker.cc -+++ ./components/google/core/browser/google_url_tracker.cc.new -@@ -25,9 +25,9 @@ - - - const char GoogleURLTracker::kDefaultGoogleHomepage[] = -- "https://www.google.com/"; -+ ""; - const char GoogleURLTracker::kSearchDomainCheckURL[] = -- "https://www.google.com/searchdomaincheck?format=domain&type=chrome"; -+ ""; - - GoogleURLTracker::GoogleURLTracker(scoped_ptr client, - Mode mode) -@@ -146,48 +146,4 @@ - } - - void GoogleURLTracker::StartFetchIfDesirable() { -- // Bail if a fetch isn't appropriate right now. This function will be called -- // again each time one of the preconditions changes, so we'll fetch -- // immediately once all of them are met. -- // -- // See comments in header on the class, on RequestServerCheck(), and on the -- // various members here for more detail on exactly what the conditions are. -- if (in_startup_sleep_ || already_fetched_ || !need_to_fetch_) -- return; -- -- // Some switches should disable the Google URL tracker entirely. If we can't -- // do background networking, we can't do the necessary fetch, and if the user -- // specified a Google base URL manually, we shouldn't bother to look up any -- // alternatives or offer to switch to them. -- if (!client_->IsBackgroundNetworkingEnabled() || -- base::CommandLine::ForCurrentProcess()->HasSwitch( -- switches::kGoogleBaseURL)) -- return; -- -- already_fetched_ = true; -- fetcher_ = net::URLFetcher::Create(fetcher_id_, GURL(kSearchDomainCheckURL), -- net::URLFetcher::GET, this); -- data_use_measurement::DataUseUserData::AttachToFetcher( -- fetcher_.get(), -- data_use_measurement::DataUseUserData::GOOGLE_URL_TRACKER); -- ++fetcher_id_; -- // We don't want this fetch to set new entries in the cache or cookies, lest -- // we alarm the user. -- fetcher_->SetLoadFlags(net::LOAD_DISABLE_CACHE | -- net::LOAD_DO_NOT_SAVE_COOKIES); -- fetcher_->SetRequestContext(client_->GetRequestContext()); -- -- // Configure to retry at most kMaxRetries times for 5xx errors. -- static const int kMaxRetries = 5; -- fetcher_->SetMaxRetriesOn5xx(kMaxRetries); -- -- // Also retry kMaxRetries times on network change errors. A network change can -- // propagate through Chrome in various stages, so it's possible for this code -- // to be reached via OnNetworkChanged(), and then have the fetch we kick off -- // be canceled due to e.g. the DNS server changing at a later time. In general -- // it's not possible to ensure that by the time we reach here any requests we -- // start won't be canceled in this fashion, so retrying is the best we can do. -- fetcher_->SetAutomaticallyRetryOnNetworkChanges(kMaxRetries); -- -- fetcher_->Start(); - } - diff --git a/packages/net-www/inox/files/inox/disable-missing-key-warning.patch b/packages/net-www/inox/files/inox/disable-missing-key-warning.patch deleted file mode 100644 index aaa1a75..0000000 --- a/packages/net-www/inox/files/inox/disable-missing-key-warning.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- ./chrome/browser/ui/startup/google_api_keys_infobar_delegate.cc -+++ ./chrome/browser/ui/startup/google_api_keys_infobar_delegate.cc.new -@@ -15,6 +15,7 @@ - - // static - void GoogleApiKeysInfoBarDelegate::Create(InfoBarService* infobar_service) { -+ return; - if (google_apis::HasKeysConfigured()) - return; - diff --git a/packages/net-www/inox/files/inox/disable-new-avatar-menu.patch b/packages/net-www/inox/files/inox/disable-new-avatar-menu.patch deleted file mode 100644 index 5057d85..0000000 --- a/packages/net-www/inox/files/inox/disable-new-avatar-menu.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- ./chrome/browser/profiles/avatar_menu.cc -+++ ./chrome/browser/profiles/avatar_menu.cc.new -@@ -92,12 +92,7 @@ - // TODO: Eliminate this ifdef. Add a delegate interface for the menu which - // would also help remove the Browser dependency in AvatarMenuActions - // implementations. --#if defined(OS_CHROMEOS) -- // On ChromeOS the menu will not be shown. - return false; --#else -- return true; --#endif - } - - bool AvatarMenu::CompareItems(const Item* item1, const Item* item2) { - - ---- ./chrome/browser/ui/webui/options/browser_options_handler.cc -+++ ./chrome/browser/ui/webui/options/browser_options_handler.cc.new -@@ -1506,7 +1506,7 @@ - SigninManagerBase* signin = SigninManagerFactory::GetForProfile(profile); - DCHECK(signin); - sync_status->SetBoolean("signoutAllowed", !signout_prohibited); -- sync_status->SetBoolean("signinAllowed", signin->IsSigninAllowed()); -+ sync_status->SetBoolean("signinAllowed", false); - sync_status->SetBoolean("syncSystemEnabled", (service != NULL)); - sync_status->SetBoolean("setupCompleted", - service && service->HasSyncSetupCompleted()); - diff --git a/packages/net-www/inox/files/inox/disable-translation-lang-fetch.patch b/packages/net-www/inox/files/inox/disable-translation-lang-fetch.patch deleted file mode 100644 index ebccaad..0000000 --- a/packages/net-www/inox/files/inox/disable-translation-lang-fetch.patch +++ /dev/null @@ -1,60 +0,0 @@ ---- ./components/translate/core/browser/translate_language_list.cc -+++ ./components/translate/core/browser/translate_language_list.cc.new -@@ -200,35 +200,6 @@ - } - - void TranslateLanguageList::RequestLanguageList() { -- // If resource requests are not allowed, we'll get a callback when they are. -- if (!resource_requests_allowed_) { -- request_pending_ = true; -- return; -- } -- -- request_pending_ = false; -- -- if (language_list_fetcher_.get() && -- (language_list_fetcher_->state() == TranslateURLFetcher::IDLE || -- language_list_fetcher_->state() == TranslateURLFetcher::FAILED)) { -- GURL url = TranslateLanguageUrl(); -- url = AddHostLocaleToUrl(url); -- url = AddApiKeyToUrl(url); -- url = net::AppendQueryParameter( -- url, kAlphaLanguageQueryName, kAlphaLanguageQueryValue); -- -- std::string message = base::StringPrintf( -- "Language list including alpha languages fetch starts (URL: %s)", -- url.spec().c_str()); -- NotifyEvent(__LINE__, message); -- -- bool result = language_list_fetcher_->Request( -- url, -- base::Bind(&TranslateLanguageList::OnLanguageListFetchComplete, -- base::Unretained(this))); -- if (!result) -- NotifyEvent(__LINE__, "Request is omitted due to retry limit"); -- } - } - - void TranslateLanguageList::SetResourceRequestsAllowed(bool allowed) { - ---- ./chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc -+++ ./chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc.new -@@ -145,7 +145,6 @@ - return; - } - request_context_getter_ = request_context_getter; -- DownloadDictionary(GetDictionaryURL()); - } - - bool SpellcheckHunspellDictionary::IsReady() const { -@@ -338,9 +337,6 @@ - } - - if (request_context_getter_) { -- // Download from the UI thread to check that |request_context_getter_| is -- // still valid. -- DownloadDictionary(GetDictionaryURL()); - return; - } - } - diff --git a/packages/net-www/inox/files/inox/disable-update-pings.patch b/packages/net-www/inox/files/inox/disable-update-pings.patch deleted file mode 100644 index d32934c..0000000 --- a/packages/net-www/inox/files/inox/disable-update-pings.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- ./components/component_updater/configurator_impl.cc -+++ ./components/component_updater/configurator_impl.cc.new -@@ -153,14 +153,6 @@ - - std::vector ConfiguratorImpl::UpdateUrl() const { - std::vector urls; -- if (url_source_override_.is_valid()) { -- urls.push_back(GURL(url_source_override_)); -- } else { -- urls.push_back(GURL(kUpdaterDefaultUrl)); -- if (fallback_to_alt_source_url_enabled_) { -- urls.push_back(GURL(kUpdaterAltUrl)); -- } -- } - return urls; - } - diff --git a/packages/net-www/inox/files/inox/disable-web-resource-service.patch b/packages/net-www/inox/files/inox/disable-web-resource-service.patch deleted file mode 100644 index 2ab7bad..0000000 --- a/packages/net-www/inox/files/inox/disable-web-resource-service.patch +++ /dev/null @@ -1,34 +0,0 @@ -# Disable the web resource service - ---- a/./components/web_resource/web_resource_service.cc -+++ b/./components/web_resource/web_resource_service.cc -@@ -114,27 +114,8 @@ void WebResourceService::StartFetch() { - prefs_->SetString(last_update_time_pref_name_, - base::DoubleToString(base::Time::Now().ToDoubleT())); - -- // If we are still fetching data, exit. -- if (in_fetch_) -- return; -- in_fetch_ = true; -- -- GURL web_resource_server = -- application_locale_.empty() -- ? web_resource_server_ -- : google_util::AppendGoogleLocaleParam(web_resource_server_, -- application_locale_); -- -- DVLOG(1) << "WebResourceService StartFetch " << web_resource_server; -- url_fetcher_ = -- net::URLFetcher::Create(web_resource_server, net::URLFetcher::GET, this); -- // Do not let url fetcher affect existing state in system context -- // (by setting cookies, for example). -- url_fetcher_->SetLoadFlags(net::LOAD_DISABLE_CACHE | -- net::LOAD_DO_NOT_SEND_COOKIES | -- net::LOAD_DO_NOT_SAVE_COOKIES); -- url_fetcher_->SetRequestContext(request_context_.get()); -- url_fetcher_->Start(); -+ in_fetch_ = false; -+ return; - } - - void WebResourceService::EndFetch() { diff --git a/packages/net-www/inox/files/inox/modify-default-prefs.patch b/packages/net-www/inox/files/inox/modify-default-prefs.patch deleted file mode 100644 index 1fe2ef2..0000000 --- a/packages/net-www/inox/files/inox/modify-default-prefs.patch +++ /dev/null @@ -1,250 +0,0 @@ ---- ./chrome/browser/chrome_content_browser_client.cc -+++ ./chrome/browser/chrome_content_browser_client.cc.new -@@ -733,7 +733,7 @@ - void ChromeContentBrowserClient::RegisterProfilePrefs( - user_prefs::PrefRegistrySyncable* registry) { - registry->RegisterBooleanPref(prefs::kDisable3DAPIs, false); -- registry->RegisterBooleanPref(prefs::kEnableHyperlinkAuditing, true); -+ registry->RegisterBooleanPref(prefs::kEnableHyperlinkAuditing, false); - registry->RegisterListPref(prefs::kEnableDeprecatedWebPlatformFeatures); - } - - - ---- ./chrome/browser/ui/browser_ui_prefs.cc -+++ ./chrome/browser/ui/browser_ui_prefs.cc.new -@@ -83,11 +83,11 @@ - registry->RegisterBooleanPref(prefs::kWebAppCreateInQuickLaunchBar, true); - registry->RegisterBooleanPref( - prefs::kEnableTranslate, -- true, -+ false, - user_prefs::PrefRegistrySyncable::SYNCABLE_PREF); - registry->RegisterStringPref(prefs::kCloudPrintEmail, std::string()); - registry->RegisterBooleanPref(prefs::kCloudPrintProxyEnabled, true); -- registry->RegisterBooleanPref(prefs::kCloudPrintSubmitEnabled, true); -+ registry->RegisterBooleanPref(prefs::kCloudPrintSubmitEnabled, false); - registry->RegisterBooleanPref(prefs::kDevToolsDisabled, false); - registry->RegisterDictionaryPref(prefs::kBrowserWindowPlacement); - registry->RegisterDictionaryPref(prefs::kBrowserWindowPlacementPopup); - - - ---- ./chrome/browser/net/prediction_options.cc -+++ ./chrome/browser/net/prediction_options.cc.new -@@ -26,7 +26,7 @@ - case NETWORK_PREDICTION_NEVER: - return NetworkPredictionStatus::DISABLED_ALWAYS; - default: -- DCHECK_EQ(NETWORK_PREDICTION_WIFI_ONLY, network_prediction_options); -+ //DCHECK_EQ(NETWORK_PREDICTION_WIFI_ONLY, network_prediction_options); - if (net::NetworkChangeNotifier::IsConnectionCellular( - net::NetworkChangeNotifier::GetConnectionType())) { - return NetworkPredictionStatus::DISABLED_DUE_TO_NETWORK; - - - ---- ./chrome/browser/net/prediction_options.h -+++ ./chrome/browser/net/prediction_options.h.new -@@ -21,7 +21,7 @@ enum NetworkPredictionOptions { - NETWORK_PREDICTION_ALWAYS, - NETWORK_PREDICTION_WIFI_ONLY, - NETWORK_PREDICTION_NEVER, -- NETWORK_PREDICTION_DEFAULT = NETWORK_PREDICTION_WIFI_ONLY, -+ NETWORK_PREDICTION_DEFAULT = NETWORK_PREDICTION_NEVER, - }; - - enum class NetworkPredictionStatus { - - ---- ./chrome/browser/background/background_mode_manager.cc -+++ ./chrome/browser/background/background_mode_manager.cc.new -@@ -356,7 +356,7 @@ void BackgroundModeManager::RegisterPref - registry->RegisterBooleanPref(prefs::kChromeCreatedLoginItem, false); - registry->RegisterBooleanPref(prefs::kMigratedLoginItemPref, false); - #endif -- registry->RegisterBooleanPref(prefs::kBackgroundModeEnabled, true); -+ registry->RegisterBooleanPref(prefs::kBackgroundModeEnabled, false); - } - - void BackgroundModeManager::RegisterProfile(Profile* profile) { - - ---- ./components/content_settings/core/browser/cookie_settings.cc -+++ ./components/content_settings/core/browser/cookie_settings.cc.new -@@ -82,7 +82,7 @@ - void CookieSettings::RegisterProfilePrefs( - user_prefs::PrefRegistrySyncable* registry) { - registry->RegisterBooleanPref( -- prefs::kBlockThirdPartyCookies, false, -+ prefs::kBlockThirdPartyCookies, true, - user_prefs::PrefRegistrySyncable::SYNCABLE_PREF); - } - - - ---- ./chrome/browser/ui/navigation_correction_tab_observer.cc -+++ ./chrome/browser/ui/navigation_correction_tab_observer.cc.new -@@ -56,7 +56,7 @@ NavigationCorrectionTabObserver::~Naviga - void NavigationCorrectionTabObserver::RegisterProfilePrefs( - user_prefs::PrefRegistrySyncable* prefs) { - prefs->RegisterBooleanPref(prefs::kAlternateErrorPagesEnabled, -- true, -+ false, - user_prefs::PrefRegistrySyncable::SYNCABLE_PREF); - } - - ---- ./components/autofill/core/browser/autofill_manager.cc -+++ ./components/autofill/core/browser/autofill_manager.cc.new -@@ -140,7 +140,7 @@ void AutofillManager::RegisterProfilePre - user_prefs::PrefRegistrySyncable* registry) { - registry->RegisterBooleanPref( - prefs::kAutofillEnabled, -- true, -+ false, - user_prefs::PrefRegistrySyncable::SYNCABLE_PREF); - registry->RegisterBooleanPref(prefs::kAutofillWalletSyncExperimentEnabled, - false); - - ---- ./chrome/browser/resources/options/reset_profile_settings_overlay.html -+++ ./chrome/browser/resources/options/reset_profile_settings_overlay.html.new -@@ -26,7 +26,7 @@ -
-