summaryrefslogtreecommitdiff
path: root/patches/iceape-branding/Branding.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/iceape-branding/Branding.patch')
-rw-r--r--patches/iceape-branding/Branding.patch113
1 files changed, 113 insertions, 0 deletions
diff --git a/patches/iceape-branding/Branding.patch b/patches/iceape-branding/Branding.patch
new file mode 100644
index 0000000..97d2258
--- /dev/null
+++ b/patches/iceape-branding/Branding.patch
@@ -0,0 +1,113 @@
+diff --git a/suite/browser/browser-prefs.js b/suite/browser/browser-prefs.js
+index ee2803b..acc19a1 100644
+--- a/suite/browser/browser-prefs.js
++++ b/suite/browser/browser-prefs.js
+@@ -92,7 +92,7 @@ pref("browser.findbar.enabled", true);
+ pref("browser.doorhanger.enabled", true);
+
+ // search engines URL
+-pref("browser.search.searchEnginesURL", "https://addons.mozilla.org/%LOCALE%/%APP%/search/?atype=4");
++pref("browser.search.searchEnginesURL", "https://addons.mozilla.org/%LOCALE%/seamonkey/search/?atype=4");
+
+ // pointer to the default engine name
+ pref("browser.search.defaultenginename", "chrome://communicator-region/locale/region.properties");
+@@ -615,7 +615,7 @@ pref("extensions.blocklist.interval", 86400);
+ pref("extensions.blocklist.level", 2);
+ pref("extensions.blocklist.url", "https://blocklist.addons.mozilla.org/blocklist/3/%APP_ID%/%APP_VERSION%/%PRODUCT%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/%PING_COUNT%/%TOTAL_PING_COUNT%/%DAYS_SINCE_LAST_PING%/");
+ pref("extensions.blocklist.detailsURL", "https://www.mozilla.com/%LOCALE%/blocklist/");
+-pref("extensions.blocklist.itemURL", "https://blocklist.addons.mozilla.org/%LOCALE%/%APP%/blocked/%blockID%");
++pref("extensions.blocklist.itemURL", "https://blocklist.addons.mozilla.org/%LOCALE%/seamonkey/blocked/%blockID%");
+
+ // Update preferences for installed Extensions and Themes.
+ // Symmetric (can be overridden by individual extensions),
+@@ -639,13 +639,13 @@ pref("extensions.autoDisableScopes", 15);
+ // Preferences for AMO integration
+ pref("extensions.getAddons.cache.enabled", true); // also toggles personalized recommendations
+ pref("extensions.getAddons.maxResults", 15);
+-pref("extensions.getAddons.get.url", "https://services.addons.mozilla.org/%LOCALE%/%APP%/api/%API_VERSION%/search/guid:%IDS%?src=seamonkey&appOS=%OS%&appVersion=%VERSION%");
+-pref("extensions.getAddons.getWithPerformance.url", "https://services.addons.mozilla.org/%LOCALE%/%APP%/api/%API_VERSION%/search/guid:%IDS%?src=seamonkey&appOS=%OS%&appVersion=%VERSION%&tMain=%TIME_MAIN%&tFirstPaint=%TIME_FIRST_PAINT%&tSessionRestored=%TIME_SESSION_RESTORED%");
+-pref("extensions.getAddons.link.url", "https://addons.mozilla.org/%LOCALE%/%APP%/");
+-pref("extensions.getAddons.recommended.url", "https://services.addons.mozilla.org/%LOCALE%/%APP%/api/%API_VERSION%/list/recommended/all/%MAX_RESULTS%/%OS%/%VERSION%?src=seamonkey");
+-pref("extensions.getAddons.search.browseURL", "https://addons.mozilla.org/%LOCALE%/%APP%/search?q=%TERMS%");
+-pref("extensions.getAddons.search.url", "https://services.addons.mozilla.org/%LOCALE%/%APP%/api/%API_VERSION%/search/%TERMS%/all/%MAX_RESULTS%/%OS%/%VERSION%/%COMPATIBILITY_MODE%?src=seamonkey");
+-pref("extensions.webservice.discoverURL", "https://services.addons.mozilla.org/%LOCALE%/%APP%/discovery/pane/%VERSION%/%OS%");
++pref("extensions.getAddons.get.url", "https://services.addons.mozilla.org/%LOCALE%/seamonkey/api/%API_VERSION%/search/guid:%IDS%?src=seamonkey&appOS=%OS%&appVersion=%VERSION%");
++pref("extensions.getAddons.getWithPerformance.url", "https://services.addons.mozilla.org/%LOCALE%/seamonkey/api/%API_VERSION%/search/guid:%IDS%?src=seamonkey&appOS=%OS%&appVersion=%VERSION%&tMain=%TIME_MAIN%&tFirstPaint=%TIME_FIRST_PAINT%&tSessionRestored=%TIME_SESSION_RESTORED%");
++pref("extensions.getAddons.link.url", "https://addons.mozilla.org/%LOCALE%/seamonkey/");
++pref("extensions.getAddons.recommended.url", "https://services.addons.mozilla.org/%LOCALE%/seamonkey/api/%API_VERSION%/list/recommended/all/%MAX_RESULTS%/%OS%/%VERSION%?src=seamonkey");
++pref("extensions.getAddons.search.browseURL", "https://addons.mozilla.org/%LOCALE%/seamonkey/search?q=%TERMS%");
++pref("extensions.getAddons.search.url", "https://directory.fsf.org/wiki/GNU_IceCat");
++pref("extensions.webservice.discoverURL", "https://directory.fsf.org/wiki/GNU_IceCat");
+
+ // getMoreThemes is used by our UI under our switch theme menu
+ pref("extensions.getMoreThemesURL", "chrome://branding/locale/brand.properties");
+diff --git a/suite/locales/en-US/chrome/branding/brand.dtd b/suite/locales/en-US/chrome/branding/brand.dtd
+index f9cd0b1..061e3f4 100644
+--- a/suite/locales/en-US/chrome/branding/brand.dtd
++++ b/suite/locales/en-US/chrome/branding/brand.dtd
+@@ -2,7 +2,7 @@
+ - License, v. 2.0. If a copy of the MPL was not distributed with this
+ - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+-<!ENTITY brandFullName "SeaMonkey">
+-<!ENTITY brandShortName "SeaMonkey">
+-<!ENTITY vendorShortName "SeaMonkey">
++<!ENTITY brandFullName "Iceape">
++<!ENTITY brandShortName "Iceape">
++<!ENTITY vendorShortName "SeaMonkey Council">
+ <!ENTITY sidebarName "Sidebar">
+diff --git a/suite/locales/en-US/chrome/branding/brand.properties b/suite/locales/en-US/chrome/branding/brand.properties
+index 3263135..1db1e12 100644
+--- a/suite/locales/en-US/chrome/branding/brand.properties
++++ b/suite/locales/en-US/chrome/branding/brand.properties
+@@ -2,9 +2,9 @@
+ # License, v. 2.0. If a copy of the MPL was not distributed with this
+ # file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+-brandFullName=SeaMonkey
+-brandShortName=SeaMonkey
+-vendorShortName=SeaMonkey
++brandFullName=Iceape
++brandShortName=Iceape
++vendorShortName=SeaMonkey Council
+ sidebarName=Sidebar
+ extensions.getMoreThemesURL=https://addons.mozilla.org/%LOCALE%/%APP%/complete-themes/
+ extensions.getPersonasURL=https://addons.mozilla.org/%LOCALE%/%APP%/themes/?sort=up-and-coming
+diff --git a/suite/moz.build b/suite/moz.build
+index 6d69b00..93ed038 100644
+--- a/suite/moz.build
++++ b/suite/moz.build
+@@ -10,6 +10,7 @@ if 'pre' in CONFIG['MOZ_APP_VERSION'] or 'a' in CONFIG['MOZ_APP_VERSION']:
+ DIRS += ['debugQA']
+
+ DIRS += [
++ 'branding' ,
+ 'browser',
+ 'common',
+ 'feeds/public',
+diff --git a/suite/themes/classic/install.rdf b/suite/themes/classic/install.rdf
+index 58d0ecc..95f4c86 100644
+--- a/suite/themes/classic/install.rdf
++++ b/suite/themes/classic/install.rdf
+@@ -25,7 +25,7 @@
+ </em:targetApplication>
+
+ <!-- Front End MetaData -->
+- <em:name>SeaMonkey Default Theme</em:name>
++ <em:name>Iceape Default Theme</em:name>
+ <em:description>This theme uses styles and colors from the system to fit in with other applications.</em:description>
+
+ <!-- EXTENSION AUTHORS!
+diff --git a/suite/themes/modern/install.rdf b/suite/themes/modern/install.rdf
+index 582aefe..16f9ca2 100644
+--- a/suite/themes/modern/install.rdf
++++ b/suite/themes/modern/install.rdf
+@@ -24,7 +24,7 @@
+ </em:targetApplication>
+
+ <!-- Front End MetaData -->
+- <em:name>SeaMonkey Modern</em:name>
++ <em:name>Iceape Modern</em:name>
+ <em:description>A contemporary theme for all components.</em:description>
+
+ <!-- EXTENSION AUTHORS!