mirror of
https://abf.rosa.ru/djam/newmoon.git
synced 2025-02-23 15:12:54 +00:00
New version 26.4.1
Add vk.com to user-agent-overrides patch Use external google.xml search engine plugin because upstream no longer ships it
This commit is contained in:
parent
79e83bf6d8
commit
13c18dcf6c
4 changed files with 44 additions and 26 deletions
2
.abf.yml
2
.abf.yml
|
@ -1,2 +1,2 @@
|
|||
sources:
|
||||
Pale-Moon-26.3.3_Release.tar.gz: 8983e4a1f36fd0b105f8cd31b8273945455d74a3
|
||||
Pale-Moon-26.4.1_Release.tar.gz: daab9253d6e5bb779d426ef509922ac2a911e248
|
||||
|
|
17
firefox-searchengines-google.xml
Normal file
17
firefox-searchengines-google.xml
Normal file
File diff suppressed because one or more lines are too long
|
@ -17,8 +17,8 @@
|
|||
|
||||
Summary: Web browser based on Goanna engine
|
||||
Name: newmoon
|
||||
Version: 26.3.3
|
||||
Release: 2
|
||||
Version: 26.4.1
|
||||
Release: 1
|
||||
License: MPLv2.0
|
||||
Group: Networking/WWW
|
||||
Url: http://www.palemoon.org
|
||||
|
@ -26,6 +26,7 @@ Source0: https://github.com/MoonchildProductions/Pale-Moon/archive/%{version}_Re
|
|||
Source1: localstore.rdf
|
||||
Source4: %{name}.desktop
|
||||
Source5: firefox-searchengines-yandex.xml
|
||||
Source6: firefox-searchengines-google.xml
|
||||
Source9: kde.js
|
||||
|
||||
Patch1: firefox-6.0-lang.patch
|
||||
|
@ -34,7 +35,7 @@ Patch3: firefox-22.0-disable-check-default-browser.patch
|
|||
Patch4: firefox-5.0-asciidel.patch
|
||||
Patch5: firefox-3.5.3-default-mail-handler.patch
|
||||
Patch6: firefox-15.0-enable-addons.patch
|
||||
Patch7: palemoon-26.3.3-user-agent-overrides.patch
|
||||
Patch7: palemoon-26.4.1-user-agent-overrides.patch
|
||||
|
||||
# Patches for KDE integration of New Moon
|
||||
Patch11: palemoon-26.3.1-firefox-kde.patch
|
||||
|
@ -305,9 +306,9 @@ touch %{buildroot}%{mozillalibdir}/browser/defaults/profile/bookmarks.html
|
|||
# search engines
|
||||
rm -f %{buildroot}%{mozillalibdir}/browser/searchplugins/*
|
||||
cp -f %{SOURCE5} %{buildroot}%{mozillalibdir}/browser/searchplugins/yandex.xml
|
||||
cp -f %{SOURCE6} %{buildroot}%{mozillalibdir}/browser/searchplugins/google.xml
|
||||
cp -f browser/locales/en-US/searchplugins/bing.xml %{buildroot}%{mozillalibdir}/browser/searchplugins/bing.xml
|
||||
cp -f browser/locales/en-US/searchplugins/duckduckgo-palemoon.xml %{buildroot}%{mozillalibdir}/browser/searchplugins/duckduckgo-palemoon.xml
|
||||
cp -f browser/locales/en-US/searchplugins/google.xml %{buildroot}%{mozillalibdir}/browser/searchplugins/google.xml
|
||||
cp -f browser/locales/en-US/searchplugins/wikipedia.xml %{buildroot}%{mozillalibdir}/browser/searchplugins/wikipedia.xml
|
||||
cp -f browser/locales/en-US/searchplugins/yahoo.xml %{buildroot}%{mozillalibdir}/browser/searchplugins/yahoo.xml
|
||||
|
||||
|
|
|
@ -1,18 +1,16 @@
|
|||
diff -urN Pale-Moon-26.3.3_Release/browser/branding/unofficial/pref/firefox-branding.js Pale-Moon-26.3.3_Release-patched/browser/branding/unofficial/pref/firefox-branding.js
|
||||
--- Pale-Moon-26.3.3_Release/browser/branding/unofficial/pref/firefox-branding.js 2016-06-30 04:47:15.000000000 +1000
|
||||
+++ Pale-Moon-26.3.3_Release-patched/browser/branding/unofficial/pref/firefox-branding.js 2016-07-05 14:37:29.128300892 +1000
|
||||
@@ -65,12 +65,20 @@
|
||||
diff -urN Pale-Moon-26.4.1_Release/browser/branding/unofficial/pref/firefox-branding.js Pale-Moon-26.4.1_Release-patched/browser/branding/unofficial/pref/firefox-branding.js
|
||||
--- Pale-Moon-26.4.1_Release/browser/branding/unofficial/pref/firefox-branding.js 2016-09-07 21:37:13.000000000 +1000
|
||||
+++ Pale-Moon-26.4.1_Release-patched/browser/branding/unofficial/pref/firefox-branding.js 2016-09-15 09:46:24.454628593 +1000
|
||||
@@ -63,11 +63,20 @@
|
||||
pref("general.useragent.override.outlook.com","Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0 (Pale Moon)");
|
||||
pref("general.useragent.override.web.de","Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0 (Pale Moon)");
|
||||
pref("general.useragent.override.aol.com","Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0 (Pale Moon)");
|
||||
-pref("general.useragent.override.mail.google.com","Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.9) Gecko/20100101 Goanna/2.0 Firefox/38.9 PaleMoon/26.0");
|
||||
-pref("general.useragent.override.google.com","Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.9) Gecko/20100101 Goanna/2.0 Firefox/31.9 PaleMoon/26.0");
|
||||
+#ifndef XP_UNIX
|
||||
pref("general.useragent.override.google.com","Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.9) Gecko/20100101 Goanna/2.0 Firefox/45.9 PaleMoon/26.0");
|
||||
-pref("general.useragent.override.googlevideos.com","Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.9) Gecko/20100101 Goanna/2.0 Firefox/31.9 PaleMoon/26.0");
|
||||
-pref("general.useragent.override.fonts.googleapis.com","Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.9) Gecko/20100101 Goanna/2.0 Firefox/31.9 PaleMoon/26.0");
|
||||
-pref("general.useragent.override.gstatic.com","Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.9) Gecko/20100101 Goanna/2.0 Firefox/31.9 PaleMoon/26.0");
|
||||
-pref("general.useragent.override.youtube.com","Mozilla/5.0 (Windows NT 5.1; rv:42.0) Gecko/20100101 Firefox/42.0 PaleMoon/26.0");
|
||||
+#ifndef XP_UNIX
|
||||
+pref("general.useragent.override.google.com","Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.9) Gecko/20100101 Goanna/2.0 Firefox/45.9 PaleMoon/26.0");
|
||||
+pref("general.useragent.override.google.com.ua","Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.9) Gecko/20100101 Goanna/2.0 Firefox/45.9 PaleMoon/26.0");
|
||||
+pref("general.useragent.override.google.by","Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.9) Gecko/20100101 Goanna/2.0 Firefox/45.9 PaleMoon/26.0");
|
||||
+pref("general.useragent.override.google.de","Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.9) Gecko/20100101 Goanna/2.0 Firefox/45.9 PaleMoon/26.0");
|
||||
|
@ -28,7 +26,7 @@ diff -urN Pale-Moon-26.3.3_Release/browser/branding/unofficial/pref/firefox-bran
|
|||
pref("general.useragent.override.netflix.com","Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/31.9");
|
||||
pref("general.useragent.override.calendar.yahoo.com","Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0 (Pale Moon)");
|
||||
|
||||
@@ -94,6 +102,60 @@
|
||||
@@ -92,6 +101,62 @@
|
||||
|
||||
// The following domains don't like the Goanna slice
|
||||
pref("general.useragent.override.hitbox.tv","Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.9) Gecko/20100101 Firefox/31.9");
|
||||
|
@ -77,6 +75,7 @@ diff -urN Pale-Moon-26.3.3_Release/browser/branding/unofficial/pref/firefox-bran
|
|||
+pref("general.useragent.override.superjob.ru","Mozilla/5.0 Windows NT 6.1; WOW64; rv:45.9) Gecko/20100101 Firefox/45.9 (Pale Moon)");
|
||||
+pref("general.useragent.override.kibergrad.fm","Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.9) Gecko/20100101 Firefox/45.9 (Pale Moon)");
|
||||
+pref("general.useragent.override.base.consultant.ru","Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.9) Gecko/20100101 Firefox/45.9 (Pale Moon)");
|
||||
+pref("general.useragent.override.vk.com","Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.9) Gecko/20100101 Firefox/45.9 (Pale Moon)");
|
||||
+#else
|
||||
+// Mozilla/5.0 (Linux; X11; rv:38.9) Gecko/20100101 Firefox/38.9 (Pale Moon)
|
||||
+pref("general.useragent.override.avito.ru","Mozilla/5.0 (Linux; X11; rv:45.9) Gecko/20100101 Firefox/45.9 (Pale Moon)");
|
||||
|
@ -84,6 +83,7 @@ diff -urN Pale-Moon-26.3.3_Release/browser/branding/unofficial/pref/firefox-bran
|
|||
+pref("general.useragent.override.superjob.ru","Mozilla/5.0 (Linux; X11; rv:45.9) Gecko/20100101 Firefox/45.9 (Pale Moon)");
|
||||
+pref("general.useragent.override.kibergrad.fm","Mozilla/5.0 (Linux; X11; rv:45.9) Gecko/20100101 Firefox/45.9 (Pale Moon)");
|
||||
+pref("general.useragent.override.base.consultant.ru","Mozilla/5.0 (Linux; X11; rv:45.9) Gecko/20100101 Firefox/45.9 (Pale Moon)");
|
||||
+pref("general.useragent.override.vk.com","Mozilla/5.0 (Linux; X11; rv:45.9) Gecko/20100101 Firefox/45.9 (Pale Moon)");
|
||||
+#endif
|
||||
+
|
||||
|
Loading…
Add table
Reference in a new issue