mirror of
https://abf.rosa.ru/djam/newmoon.git
synced 2025-02-23 07:02:56 +00:00
Automatic import for version 26.3.1-1
This commit is contained in:
commit
65c35faba2
19 changed files with 5710 additions and 0 deletions
2
.abf.yml
Normal file
2
.abf.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
sources:
|
||||
"Pale-Moon-26.3.1_Release.tar.gz": 2ae1e0dacd32364de06bc083403cf988aecafd71
|
28
firefox-15.0-enable-addons.patch
Normal file
28
firefox-15.0-enable-addons.patch
Normal file
|
@ -0,0 +1,28 @@
|
|||
diff -up firefox-21.0/mozilla-release/browser/app/profile/firefox.js.addons firefox-21.0/mozilla-release/browser/app/profile/firefox.js
|
||||
--- firefox-21.0/mozilla-release/browser/app/profile/firefox.js.addons 2013-05-11 21:19:20.000000000 +0200
|
||||
+++ firefox-21.0/mozilla-release/browser/app/profile/firefox.js 2013-05-16 12:02:13.840660585 +0200
|
||||
@@ -61,7 +61,8 @@ pref("extensions.hotfix.certs.1.sha1Fing
|
||||
|
||||
// Disable add-ons that are not installed by the user in all scopes by default.
|
||||
// See the SCOPE constants in AddonManager.jsm for values to use here.
|
||||
-pref("extensions.autoDisableScopes", 15);
|
||||
+pref("extensions.autoDisableScopes", 0);
|
||||
+pref("extensions.showMismatchUI", false);
|
||||
|
||||
// Dictionary download preference
|
||||
pref("browser.dictionaries.download.url", "https://addons.mozilla.org/%LOCALE%/firefox/dictionaries/");
|
||||
diff -up firefox-21.0/mozilla-release/toolkit/mozapps/extensions/XPIProvider.jsm.addons firefox-21.0/mozilla-release/toolkit/mozapps/extensions/XPIProvider.jsm
|
||||
diff -up firefox-15.0/mozilla-beta/toolkit/mozapps/extensions/XPIProvider.jsm.addons firefox-15.0/mozilla-beta/toolkit/mozapps/extensions/XPIProvider.jsm
|
||||
--- firefox-15.0/mozilla-beta/toolkit/mozapps/extensions/XPIProvider.jsm.addons 2012-08-15 07:48:32.000000000 +0200
|
||||
+++ firefox-15.0/mozilla-beta/toolkit/mozapps/extensions/XPIProvider.jsm 2012-08-21 11:56:41.441980035 +0200
|
||||
@@ -1630,8 +1630,8 @@ var XPIProvider = {
|
||||
this.showUpgradeUI();
|
||||
flushCaches = true;
|
||||
}
|
||||
- else if (aAppChanged === undefined) {
|
||||
- // For new profiles we will never need to show the add-on selection UI
|
||||
+ else {
|
||||
+ // For all profiles we will never need to show the add-on selection UI
|
||||
Services.prefs.setBoolPref(PREF_SHOWN_SELECTION_UI, true);
|
||||
}
|
||||
|
12
firefox-22.0-disable-check-default-browser.patch
Normal file
12
firefox-22.0-disable-check-default-browser.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff -urN mozilla-release.orig/browser/app/profile/firefox.js mozilla-release/browser/app/profile/firefox.js
|
||||
--- mozilla-release.orig/browser/app/profile/firefox.js 2013-06-25 19:43:40.900524326 +0400
|
||||
+++ mozilla-release/browser/app/profile/firefox.js 2013-06-25 19:51:11.129550256 +0400
|
||||
@@ -227,7 +227,7 @@
|
||||
pref("general.useragent.complexOverride.moodle", false); // bug 797703
|
||||
|
||||
// At startup, check if we're the default browser and prompt user if not.
|
||||
-pref("browser.shell.checkDefaultBrowser", true);
|
||||
+pref("browser.shell.checkDefaultBrowser", false);
|
||||
pref("browser.shell.shortcutFavicons",true);
|
||||
|
||||
// 0 = blank, 1 = home (browser.startup.homepage), 2 = last visited page, 3 = resume previous browser session
|
33
firefox-3.5.3-default-mail-handler.patch
Normal file
33
firefox-3.5.3-default-mail-handler.patch
Normal file
|
@ -0,0 +1,33 @@
|
|||
diff -p -up ./browser/locales/generic/profile/mimeTypes.rdf.orig ./browser/locales/generic/profile/mimeTypes.rdf
|
||||
--- ./browser/locales/generic/profile/mimeTypes.rdf.orig 2009-10-19 15:53:21.000000000 -0200
|
||||
+++ ./browser/locales/generic/profile/mimeTypes.rdf 2009-10-19 15:54:17.000000000 -0200
|
||||
@@ -10,4 +10,28 @@
|
||||
</Seq>
|
||||
</NC:MIME-types>
|
||||
</Description>
|
||||
-</RDF>
|
||||
+
|
||||
+ <RDF:Seq RDF:about="urn:mimetypes:root">
|
||||
+ </RDF:Seq>
|
||||
+ <RDF:Description RDF:about="urn:handler:local:/usr/bin/xdg-email"
|
||||
+ NC:prettyName="xdg-email"
|
||||
+ NC:path="/usr/bin/xdg-email" />
|
||||
+ <RDF:Description RDF:about="urn:scheme:externalApplication:mailto"
|
||||
+ NC:prettyName="xdg-email"
|
||||
+ NC:path="/usr/bin/xdg-email" />
|
||||
+ <RDF:Seq RDF:about="urn:schemes:root">
|
||||
+ <RDF:li RDF:resource="urn:scheme:mailto"/>
|
||||
+ </RDF:Seq>
|
||||
+ <RDF:Description RDF:about="urn:mimetypes">
|
||||
+ <NC:MIME-types RDF:resource="urn:mimetypes:root"/>
|
||||
+ </RDF:Description>
|
||||
+ <RDF:Description RDF:about="urn:scheme:handler:mailto"
|
||||
+ NC:alwaysAsk="false">
|
||||
+ <NC:possibleApplication RDF:resource="urn:handler:local:/usr/bin/xdg-email"/>
|
||||
+ <NC:externalApplication RDF:resource="urn:scheme:externalApplication:mailto"/>
|
||||
+ </RDF:Description>
|
||||
+ <RDF:Description RDF:about="urn:scheme:mailto"
|
||||
+ NC:value="mailto">
|
||||
+ <NC:handlerProp RDF:resource="urn:scheme:handler:mailto"/>
|
||||
+ </RDF:Description>
|
||||
+</RDF:RDF>
|
16
firefox-5.0-asciidel.patch
Normal file
16
firefox-5.0-asciidel.patch
Normal file
|
@ -0,0 +1,16 @@
|
|||
Patch from: Bill Nottingham <notting@redhat.com>
|
||||
|
||||
diff -up mozilla-release/browser/base/Makefile.in.fu mozilla-release/browser/base/Makefile.in
|
||||
--- mozilla-release/browser/base/Makefile.in.fu 2011-06-24 16:50:23.802042086 -0400
|
||||
+++ mozilla-release/browser/base/Makefile.in 2011-06-24 16:50:42.324042096 -0400
|
||||
@@ -62,7 +62,7 @@ EXTRA_JS_MODULES = \
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
-PRE_RELEASE_SUFFIX := ""
|
||||
+PRE_RELEASE_SUFFIX :=
|
||||
|
||||
DEFINES += \
|
||||
-DMOZ_APP_VERSION=$(MOZ_APP_VERSION) \
|
||||
|
||||
|
14
firefox-6.0-lang.patch
Normal file
14
firefox-6.0-lang.patch
Normal file
|
@ -0,0 +1,14 @@
|
|||
diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js
|
||||
index 02aa908..e6ff139 100644
|
||||
--- a/browser/app/profile/firefox.js
|
||||
+++ b/browser/app/profile/firefox.js
|
||||
@@ -413,6 +413,9 @@
|
||||
pref("general.warnOnAboutConfig", false);
|
||||
#endif
|
||||
|
||||
+// Use system environment variable to choose locale
|
||||
+pref("intl.locale.matchOS", true);
|
||||
+
|
||||
// This is the pref to control the location bar, change this to true to
|
||||
// force this - this makes the origin of popup windows more obvious to avoid
|
||||
// spoofing. We would rather not do it by default because it affects UE for web
|
11
firefox-searchengines-askcom.xml
Normal file
11
firefox-searchengines-askcom.xml
Normal file
|
@ -0,0 +1,11 @@
|
|||
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/" xmlns:os="http://a9.com/-/spec/opensearch/1.1/">
|
||||
<os:ShortName>Ask.com</os:ShortName>
|
||||
<os:Description>Get more with each search.</os:Description>
|
||||
<os:InputEncoding>UTF-8</os:InputEncoding>
|
||||
<os:Image width="16" height="16">data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAACMuAAAjLgAAAAAAAAAAAAD/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8fH5/5+f1v9pab7/QkKr/0JCqv9dXbT/h4fI/8fH6P//////////////////////////////////////s7Pg/xgYpv8GBqP/Bgaj/wYGof8GBp//Bgac/wYGlv8GBoz/MTGZ/6+v2v//////////////////////x8ft/wkJrv+Dg93/JSXH/wYGwf8GBr//BQW+/wUFuf8FBbT/BQWp/wUFnP8FBYv/QkKh/+3t+P///////////1lZzP8FBbv/wMDx/9DQ9v8FBdP/wMD0/6Gh7f/AwPL/goLk/yQkyP8zM8H/BASm/wQEk/8nJ5T/4eHy//////81NcT/BAS9/0ND2f///////////+/v/f+wsPP/kJDt///////v7/z/0ND1/6Gh5v+wsOT/AwOV/0FBoP//////TU3L/wQEvP8EBMv/wMD1/8DA9//Q0Pj/cnLq/2Fh6f//////r6/z////////////YmLY/wMDrP8DA4//nZ3R/5qa4v8EBLv/BATJ/0ND4f//////4OD7/0JC4//v7/3/sLD1/zEx5f///////////2Ji4/8EBMD/AwOk/0tLsP/8/P7/ODjJ/wQExv8EBNT/wMD3//////9DQ+n/goLw//////+BgfD/7+/9/9/f+//v7/3/FBTT/wMDs/81NbD//////9jY9P8bG8j/BATP/0ND4///////Q0Pq/wQE4/8EBOP/BATj/8DA+P+RkfP/U1Pr/zMz3f8DA7z/XFzG////////////3t73/zIy0v8EBNH/wMD1/wQE2v8EBNz/BATd/wQE3v+RkfH/wMD2/wQE2v8EBM//Bga+/83N7///////////////////////oKDp/1FR2v8EBMz/BATP/wQE0P8EBNH/YmLi//////8EBMv/Dw/G/6ys5//////////////////////////////////8/P7/vr7v/4aG4f9QUNb/Q0PU/0ND1P9fX9j/l5fk/+vr+f//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//8AAP//AAD//w==</os:Image>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<SearchForm>http://www.ask.com</SearchForm>
|
||||
<os:Url type="text/html" method="GET" template="http://www.ask.com/web?q={searchTerms}&o=@DISTRO_VALUE@&l=dis"></os:Url>
|
||||
<os:Url type="application/x-suggestions+json" method="GET" template="http://ss.ask.com/query?q={searchTerms}&li=ff">
|
||||
</os:Url>
|
||||
</SearchPlugin>
|
12
firefox-searchengines-bing.xml
Normal file
12
firefox-searchengines-bing.xml
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
|
||||
<ShortName>Bing</ShortName>
|
||||
<Tags>Bing</Tags>
|
||||
<Description>Bing. Search by Microsoft.</Description>
|
||||
<Contact>msosa@microsoft.com</Contact>
|
||||
<InputEncoding>UTF-8</InputEncoding>
|
||||
<SyndicationRight>limited</SyndicationRight>
|
||||
<Image width="16" height="16" type="image/x-icon">http://www.bing.com/favicon.ico</Image>
|
||||
<Url type="text/html" template="http://www.bing.com/search?q={searchTerms}&form=OSDSRC"/>
|
||||
<Url type="application/x-suggestions+json" template="http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}&form=OSDJAS" />
|
||||
</OpenSearchDescription>
|
9
firefox-searchengines-exalead.xml
Normal file
9
firefox-searchengines-exalead.xml
Normal file
|
@ -0,0 +1,9 @@
|
|||
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/" xmlns:os="http://a9.com/-/spec/opensearch/1.1/">
|
||||
<os:ShortName>Exalead</os:ShortName>
|
||||
<os:Description>Exalead search engine</os:Description>
|
||||
<os:InputEncoding>UTF-8</os:InputEncoding>
|
||||
<os:Image width="16" height="16">data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAABMLAAATCwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAnp+gPklJSaMXFxfjAAAA+wAAAfxNSD/jZGNdpZucnj8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB0dXcKbmxnliYkHfoAAAD/AAAA/ywpIf+qn37/2sif/7+sh/99clr7ZGNgmMDAwgsAAAAAAAAAAAAAAAC7vL4KW1pTu8vBmP/Ivpn/CQkH/0I+Mf/q3rD//vG///Hltf/s3a//48+k/6uZdv9PTUW/aGlrCwAAAAAAAAAAUVFOlMe/m///9cn//vTI/8rCn//p3rX///XF//ruvf/57bz/9em5//DktP/m06f/rpx5/1lZVZkAAAAAW1xdOI2Ic/3/+9T//PTQ/+Xdu//Bu5z/qqSI/5yWe/+dlnn/samG/9rPpP/8773/8eW1/+XRpf+Ge2H+cHFyO0hIRKTg2br///za/7axmf+ZlYH/w76k/93XuP/e17b/0Min/66nif+Be2P/aGNO/8O5k//77r3/n5Bx/yorK6dqaFzm8evO/5CNfP+xrZj//vja///52v/589P/+PHQ//ryzv//+M7/4tix/11ZR//c0aX/9uu6/zk1Kv8DAwXmYF1T/vbx1/+hnY3/7+rR//v12//48tj/9/LW//bw0v/278//9e3K//Pqwv/678H///LA/3t0XP8AAAD/AAAA/g8PD/7Nybj////s//v24P/59N7/+vTd//jz2f/48tb/9vDS//Xuzv/27sn/+O7D//Pouv/Mwpn/a2VR/w8OC/4MDQ7lsq+k////6//79uP/+/bk///96P/79d7/+PPZ//fy1f/48dL/6uPC/+HYtP/16r3/+Ou6//vtvf9eWUrmPj08o9rWyP///Ov//vrp/+nk1f99enH/+fPg//r03f/48tj///rb/7Oul/8+PDL/9+zB//bquv/bz6T/S0lDpWxsbDaSkIj8///+//767P/y7+H/Li0q/9nVxf//+uT/+PPZ//z22f/Y0rb/JSQf/+DXsP//+MX/jodr/mNkZjkAAAAAUlFQkc7Mxf////////zu/9LOwf/v6tn//ffi//n02//38dX/+fLS/9DKq//78cb/xryU/01MSJYAAAAAAAAAAK6urwlfXly4zczH//////////b///rn//z24f/9+N7///nc//z01f///9r/xr6a/1NSS7snJyoLAAAAAAAAAAAAAAAAgoKDCD08O5GOjYf43tzV//jz5P+ysKf/o6GY/8nErv/TzbH/ioZx+WFgXZSgoaMKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAm5ucO2JiX6FUU0/iERER/AoLDPwdHR3jW1tYo5+goTwAAAAAAAAAAAAAAAAAAAAA//8+CvgfCQngB250wANlcsADPC+AAXRlgAFyPoABCQmAAWtlgAFjb4ABYXDAA2UuwANpbuAHdGn4H2V0//9saQ==</os:Image>
|
||||
<os:Url type="text/html" method="GET" template="http://www.exalead.fr/search?q={searchTerms}">
|
||||
</os:Url><os:Url type="application/x-suggestions+json" method="GET" template="http://www.exalead.fr/search/Suggestions?q={searchTerms}">
|
||||
</os:Url>
|
||||
</SearchPlugin>
|
17
firefox-searchengines-google.xml
Normal file
17
firefox-searchengines-google.xml
Normal file
|
@ -0,0 +1,17 @@
|
|||
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
|
||||
<ShortName>Google</ShortName>
|
||||
<Description>Google Search</Description>
|
||||
<InputEncoding>UTF-8</InputEncoding>
|
||||
<Image width="16" height="16">data:image/png;base64,AAABAAEAEBAAAAEAGABoAwAAFgAAACgAAAAQAAAAIAAAAAEAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADs9Pt8xetPtu9FsfFNtu%2BTzvb2%2B%2Fne4dFJeBw0egA%2FfAJAfAA8ewBBegAAAAD%2B%2FPtft98Mp%2BwWsfAVsvEbs%2FQeqvF8xO7%2F%2F%2F63yqkxdgM7gwE%2FggM%2BfQA%2BegBDeQDe7PIbotgQufcMufEPtfIPsvAbs%2FQvq%2Bfz%2Bf%2F%2B%2B%2FZKhR05hgBBhQI8hgBAgAI9ewD0%2B%2Fg3pswAtO8Cxf4Kw%2FsJvvYAqupKsNv%2B%2Fv7%2F%2FP5VkSU0iQA7jQA9hgBDgQU%2BfQH%2F%2Ff%2FQ6fM4sM4KsN8AteMCruIqqdbZ7PH8%2Fv%2Fg6Nc%2Fhg05kAA8jAM9iQI%2BhQA%2BgQDQu6b97uv%2F%2F%2F7V8Pqw3eiWz97q8%2Ff%2F%2F%2F%2F7%2FPptpkkqjQE4kwA7kAA5iwI8iAA8hQCOSSKdXjiyflbAkG7u2s%2F%2B%2F%2F39%2F%2F7r8utrqEYtjQE8lgA7kwA7kwA9jwA9igA9hACiWSekVRyeSgiYSBHx6N%2F%2B%2Fv7k7OFRmiYtlAA5lwI7lwI4lAA7kgI9jwE9iwI4iQCoVhWcTxCmb0K%2BooT8%2Fv%2F7%2F%2F%2FJ2r8fdwI1mwA3mQA3mgA8lAE8lAE4jwA9iwE%2BhwGfXifWvqz%2B%2Ff%2F58u%2Fev6Dt4tr%2B%2F%2F2ZuIUsggA7mgM6mAM3lgA5lgA6kQE%2FkwBChwHt4dv%2F%2F%2F728ei1bCi7VAC5XQ7kz7n%2F%2F%2F6bsZkgcB03lQA9lgM7kwA2iQktZToPK4r9%2F%2F%2F9%2F%2F%2FSqYK5UwDKZAS9WALIkFn%2B%2F%2F3%2F%2BP8oKccGGcIRJrERILYFEMwAAuEAAdX%2F%2Ff7%2F%2FP%2B%2BfDvGXQLIZgLEWgLOjlf7%2F%2F%2F%2F%2F%2F9QU90EAPQAAf8DAP0AAfMAAOUDAtr%2F%2F%2F%2F7%2B%2Fu2bCTIYwDPZgDBWQDSr4P%2F%2Fv%2F%2F%2FP5GRuABAPkAA%2FwBAfkDAPAAAesAAN%2F%2F%2B%2Fz%2F%2F%2F64g1C5VwDMYwK8Yg7y5tz8%2Fv%2FV1PYKDOcAAP0DAf4AAf0AAfYEAOwAAuAAAAD%2F%2FPvi28ymXyChTATRrIb8%2F%2F3v8fk6P8MAAdUCAvoAAP0CAP0AAfYAAO4AAACAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAQAA</Image>
|
||||
<Url type="application/x-suggestions+json" method="GET" template="http://suggestqueries.google.com/complete/search?output=firefox&client=firefox&hl={moz:locale}&q={searchTerms}"/>
|
||||
<Url type="text/html" method="GET" template="http://www.google.com/search">
|
||||
<Param name="q" value="{searchTerms}"/>
|
||||
<Param name="ie" value="utf-8"/>
|
||||
<Param name="oe" value="utf-8"/>
|
||||
<Param name="aq" value="t"/>
|
||||
<!-- Dynamic parameters -->
|
||||
<Param name="rls" value="{moz:distributionID}:{moz:locale}:{moz:official}"/>
|
||||
<MozParam name="client" condition="defaultEngine" trueValue="firefox-a" falseValue="firefox"/>
|
||||
</Url>
|
||||
<SearchForm>http://www.google.com/</SearchForm>
|
||||
</SearchPlugin>
|
12
firefox-searchengines-jamendo.xml
Normal file
12
firefox-searchengines-jamendo.xml
Normal file
|
@ -0,0 +1,12 @@
|
|||
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/" xmlns:os="http://a9.com/-/spec/opensearch/1.1/">
|
||||
<os:ShortName>Jamendo</os:ShortName>
|
||||
<os:Description>Jamendo Search</os:Description>
|
||||
<os:InputEncoding>ISO-8859-1</os:InputEncoding>
|
||||
<os:Image width="16" height="16">data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH1QYPDS8GqqPMwQAAAclJREFUeNpj/P//f+L68wvOP2YgBJKN5OYEGDA/1PdfcOYBw///BNH5Zx+efP7JyFC+GpeRTIyMbqriRtICLExMn37+fvLx+603n1kY/vzBpSHOVNFERujX339ff/0R52JT4Od0VRbFpyFMT/b4g9erzj/8/vsvHwerND+XojAPC8Pv37g0fPr28+nbz7eevf3/n4GBgeEKAwMDAwMzg4EXw79/WBEnK7O5gujnrz8fvv4IF2Ri+P0bF9pw+vavX79N5YR4mRnggsyM2q6M//5hRb9//2ZiYHTXlWNnZLx4/yVEkJlR04nh31/s6O/fJ28+akgJaUgJ3nz8+t2nrwz//jIzqjlAHDcnw7M7zlGUm/3Wkzdfvn1n+PuP4d+/P7///Pn9R1dOjJ2J8dydZwz//iFC6dGrD6x6ChnuRuluRq8/fb3x5M2cneduPX2rJi4gwc/Fxw5VycyoaA2x4cjlBzcfvxbk4RQT5JEQ5FEUF2RjZlIQ49eSE7n3/O22kzdevPnI8O8fI6NzGWYMRDoZGKtKf/j649+//8/eftp15tazt58gUoxxzUsW7znHQBxIcDNmvrBv7b0nby7dfkIwtSZ4mM6rigIAJxY/knh2MaAAAAAASUVORK5CYII=</os:Image>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateUrl>http://mycroft.mozdev.org/update.php/id0/jamendo.src</UpdateUrl>
|
||||
<IconUpdateUrl>http://mycroft.mozdev.org/update.php/id0/jamendo.png</IconUpdateUrl>
|
||||
<SearchForm>http://www.jamendo.com/index.php</SearchForm>
|
||||
<os:Url type="text/html" method="GET" template="http://www.jamendo.com/index.php?p=search&search_string={searchTerms}&sourceid=mozilla-search">
|
||||
</os:Url>
|
||||
</SearchPlugin>
|
9
firefox-searchengines-yandex.xml
Normal file
9
firefox-searchengines-yandex.xml
Normal file
|
@ -0,0 +1,9 @@
|
|||
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/" xmlns:os="http://a9.com/-/spec/opensearch/1.1/">
|
||||
<os:ShortName>Яндекс</os:ShortName>
|
||||
<os:Description>Воспользуйтесь Яндексом для поиска в Интернете.</os:Description>
|
||||
<os:InputEncoding>UTF-8</os:InputEncoding>
|
||||
<os:Image width="16" height="16">data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAQAABILAAASCwAAAAAAAAAAAAAAAAAsAAAAUwAAAF8AAABfAAAAXwAAAF8AAABfAAAAXwAAAF8AAABfAAAAXwAAADjBwcEAwcHBAMHBwQDBwcEAAAAAUbq6uurExMT/xMTE/8TExP/ExMT/xMTE/8TExP/ExMT/xMTE/8TExP9ubm6QAAAALcTExADExMQAxMTEAAAAAFrHx8f/x8fH/8fHx//Hx8f/x8fH/8fHx//Hx8f/x8fH/8fHx//Hx8f/vr6+7h4eHmQAAAAQx8fHAMfHxwAAAABXy8vL/8vLy/+UlM3/AADU/4+Pzv/Ly8v/g4PO/wwM0//Ly8v/y8vL/8vLy/+kpKS6AAAAM8vLywDLy8sAAAAAU9DQ0P/Q0ND/0NDQ/05O2f8dHd3/y8vQ/4eH1f8MDN7/0NDQ/9DQ0P/Q0ND/0NDQ/2VlZXsAAAAk0NDQAAAAAE/U1NT/1NTU/9TU1P/Fxdb/FBTq/3Bw3/+Jidz/DAzr/9TU1P/U1NT/1NTU/9TU1P/JycnkDw8PUwAAAAcAAABL2dnZ/9nZ2f/Z2dn/2dnZ/4WF5f8KCvb/ODjv/w0N9f/Z2dn/2dnZ/9nZ2f/Z2dn/2dnZ/6ioqKYAAAAqAAAASOLi4v/i4uL/4uLi/6io6v8LC/7/QkL2/zo69/8NDf3/4uLi/+Li4v/i4uL/4uLi/+Li4v/g4OD7AAAARgAAAETx8fH/8fHx//Hx8f81Ovz/bG/5//Hx8f+fovb/GB3+//Hx8f/x8fH/8fHx//Hx8f/x8fH/7+/v+wAAAEIAAABA9vb2//b29v/29vb/HSz//7K3+f/29vb/qK35/yUz/v/29vb/9vb2//b29v/29vb/9vb2/8jIyKMAAAAkAAAAPPn5+f/5+fn/+fn5/z5U/v+osvv/+fn5/6+4+/80TP//+fn5//n5+f/5+fn/+fn5//Dw8OMXFxdBAAAABgAAADj7+/v/+/v7//v7+/+Ro/3/UG7+/7/J/P+crf3/Q2P///v7+//7+/v/+/v7//v7+/+Tk5NnAAAAGfv7+wAAAAA1/f39//39/f/9/f3/9vj9/4yk/v9Td///QWn//05z///9/f3//f39//39/f/c3NysAAAAH/39/QD9/f0AAAAAMv7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/5+fnpPj4+PgAAAAn+/v4A/v7+AAAAACn39/fi////////////////////////////////////////////////tbW1cgAAABf///8A////AP///wAAAAAVAAAAKAAAAC4AAAAuAAAALgAAAC4AAAAuAAAALgAAAC4AAAAuAAAALgAAABv///8A////AP///wD///8AAA8AAAAHAAAAAwAAAAMAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAMAAAADAAAABwAAAA8AAA==</os:Image>
|
||||
<os:Url type="text/html" method="GET" template="http://yandex.ru/yandsearch?text={searchTerms}&from=os&clid=1836587">
|
||||
</os:Url><os:Url type="application/x-suggestions+json" method="GET" template="http://suggest.yandex.ru/suggest-ff.cgi?part={searchTerms}&uil=ru&v=3&sn=5&lr=213&yu=8299448281366023753">
|
||||
</os:Url>
|
||||
</SearchPlugin>
|
20
firefox-vendor.patch
Normal file
20
firefox-vendor.patch
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- mozilla/toolkit/mozapps/plugins/content/pluginInstallerDatasource.js.vendor 2008-05-28 20:49:33.000000000 +0200
|
||||
+++ mozilla/toolkit/mozapps/plugins/content/pluginInstallerDatasource.js 2008-12-17 16:35:45.000000000 +0100
|
||||
@@ -56,6 +56,8 @@
|
||||
var prefBranch = Components.classes["@mozilla.org/preferences-service;1"]
|
||||
.getService(Components.interfaces.nsIPrefBranch);
|
||||
this.dsURI = prefBranch.getCharPref("pfs.datasource.url");
|
||||
+ this.vendorSub = prefBranch.getCharPref("general.useragent.vendorSub");
|
||||
+ this.vendorComment = prefBranch.getCharPref("general.useragent.vendorComment");
|
||||
}
|
||||
|
||||
nsRDFItemUpdater.prototype = {
|
||||
@@ -68,6 +70,8 @@
|
||||
dsURI = dsURI.replace(/%APP_RELEASE%/g, this.appRelease);
|
||||
dsURI = dsURI.replace(/%CLIENT_OS%/g, this.clientOS);
|
||||
dsURI = dsURI.replace(/%CHROME_LOCALE%/g, this.chromeLocale);
|
||||
+ dsURI = dsURI.replace(/%VENDOR_SUB%/g, this.vendorSub);
|
||||
+ dsURI = dsURI.replace(/%VENDOR_COMMENT%/g, this.vendorComment);
|
||||
|
||||
var ds = this._rdfService.GetDataSource(dsURI);
|
||||
var rds = ds.QueryInterface(Components.interfaces.nsIRDFRemoteDataSource)
|
1
kde.js
Normal file
1
kde.js
Normal file
|
@ -0,0 +1 @@
|
|||
pref("browser.preferences.instantApply", false);
|
139
mozilla-kde-background.patch
Normal file
139
mozilla-kde-background.patch
Normal file
|
@ -0,0 +1,139 @@
|
|||
diff -urN mozilla-orig/browser/components/shell/src/nsKDEShellService.cpp mozilla-patched/browser/components/shell/src/nsKDEShellService.cpp
|
||||
--- mozilla-orig/browser/components/shell/src/nsKDEShellService.cpp 2014-02-16 11:27:48.238244349 +1100
|
||||
+++ mozilla-patched/browser/components/shell/src/nsKDEShellService.cpp 2014-02-18 19:57:45.740168755 +1100
|
||||
@@ -15,6 +15,21 @@
|
||||
#include "nsIMutableArray.h"
|
||||
#include "nsISupportsPrimitives.h"
|
||||
#include "nsArrayUtils.h"
|
||||
+#include "nsIImageLoadingContent.h"
|
||||
+#include "imgIRequest.h"
|
||||
+#include "nsIStringBundle.h"
|
||||
+#include "nsIDOMHTMLImageElement.h"
|
||||
+#include "prenv.h"
|
||||
+
|
||||
+#include <glib.h>
|
||||
+#include <glib-object.h>
|
||||
+#include <gtk/gtk.h>
|
||||
+#include <gdk/gdk.h>
|
||||
+#if defined(MOZ_WIDGET_GTK)
|
||||
+#include "nsIImageToPixbuf.h"
|
||||
+#endif
|
||||
+#include <limits.h>
|
||||
+#include <stdlib.h>
|
||||
|
||||
nsresult
|
||||
nsKDEShellService::Init()
|
||||
@@ -115,23 +130,109 @@
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
+static nsresult
|
||||
+WriteImage(const nsCString& aPath, imgIContainer* aImage)
|
||||
+{
|
||||
+#if !defined(MOZ_WIDGET_GTK)
|
||||
+ return NS_ERROR_NOT_AVAILABLE;
|
||||
+#else
|
||||
+ nsCOMPtr<nsIImageToPixbuf> imgToPixbuf =
|
||||
+ do_GetService("@mozilla.org/widget/image-to-gdk-pixbuf;1");
|
||||
+ if (!imgToPixbuf)
|
||||
+ return NS_ERROR_NOT_AVAILABLE;
|
||||
+
|
||||
+ GdkPixbuf* pixbuf = imgToPixbuf->ConvertImageToPixbuf(aImage);
|
||||
+ if (!pixbuf)
|
||||
+ return NS_ERROR_NOT_AVAILABLE;
|
||||
+
|
||||
+ gboolean res = gdk_pixbuf_save(pixbuf, aPath.get(), "png", nullptr, nullptr);
|
||||
+
|
||||
+ g_object_unref(pixbuf);
|
||||
+ return res ? NS_OK : NS_ERROR_FAILURE;
|
||||
+#endif
|
||||
+}
|
||||
+
|
||||
NS_IMETHODIMP
|
||||
nsKDEShellService::SetDesktopBackground(nsIDOMElement* aElement,
|
||||
PRInt32 aPosition)
|
||||
- {
|
||||
- return NS_ERROR_NOT_IMPLEMENTED;
|
||||
+{
|
||||
+ nsresult rv;
|
||||
+ nsCOMPtr<nsIImageLoadingContent> imageContent = do_QueryInterface(aElement, &rv);
|
||||
+ if (!imageContent) return rv;
|
||||
+
|
||||
+ // get the image container
|
||||
+ nsCOMPtr<imgIRequest> request;
|
||||
+ rv = imageContent->GetRequest(nsIImageLoadingContent::CURRENT_REQUEST,
|
||||
+ getter_AddRefs(request));
|
||||
+ if (!request) return rv;
|
||||
+ nsCOMPtr<imgIContainer> container;
|
||||
+ rv = request->GetImage(getter_AddRefs(container));
|
||||
+ if (!container) return rv;
|
||||
+
|
||||
+ // Set desktop wallpaper filling style
|
||||
+ nsAutoCString options;
|
||||
+ if (aPosition == BACKGROUND_TILE)
|
||||
+ options.Assign("TiledResize");
|
||||
+ else if (aPosition == BACKGROUND_STRETCH)
|
||||
+ options.Assign("ScaledResize");
|
||||
+ else if (aPosition == BACKGROUND_FILL)
|
||||
+ options.Assign("ScaledAndCroppedResize");
|
||||
+ else if (aPosition == BACKGROUND_FIT)
|
||||
+ options.Assign("MaxpectResize");
|
||||
+ else
|
||||
+ options.Assign("CenteredResize");
|
||||
+
|
||||
+ // Write the background file to the home directory.
|
||||
+ nsAutoCString filePath(PR_GetEnv("HOME"));
|
||||
+
|
||||
+ // get the product brand name from localized strings
|
||||
+ nsString brandName;
|
||||
+ nsCID bundleCID = NS_STRINGBUNDLESERVICE_CID;
|
||||
+ nsCOMPtr<nsIStringBundleService> bundleService(do_GetService(bundleCID));
|
||||
+ if (bundleService) {
|
||||
+ nsCOMPtr<nsIStringBundle> brandBundle;
|
||||
+ rv = bundleService->CreateBundle(BRAND_PROPERTIES,
|
||||
+ getter_AddRefs(brandBundle));
|
||||
+ if (NS_SUCCEEDED(rv) && brandBundle) {
|
||||
+ rv = brandBundle->GetStringFromName(NS_LITERAL_STRING("brandShortName").get(),
|
||||
+ getter_Copies(brandName));
|
||||
+ NS_ENSURE_SUCCESS(rv, rv);
|
||||
}
|
||||
+ }
|
||||
|
||||
+ // build the file name
|
||||
+ filePath.Append('/');
|
||||
+ filePath.Append(NS_ConvertUTF16toUTF8(brandName));
|
||||
+ filePath.Append("_wallpaper.png");
|
||||
+
|
||||
+ // write the image to a file in the home dir
|
||||
+ rv = WriteImage(filePath, container);
|
||||
+ NS_ENSURE_SUCCESS(rv, rv);
|
||||
+
|
||||
+ nsCOMPtr<nsIMutableArray> command = do_CreateInstance( NS_ARRAY_CONTRACTID );
|
||||
+ nsCOMPtr<nsISupportsCString> cmdstr = do_CreateInstance( NS_SUPPORTS_CSTRING_CONTRACTID );
|
||||
+ nsCOMPtr<nsISupportsCString> imgstr = do_CreateInstance( NS_SUPPORTS_CSTRING_CONTRACTID );
|
||||
+ nsCOMPtr<nsISupportsCString> modestr = do_CreateInstance( NS_SUPPORTS_CSTRING_CONTRACTID );
|
||||
+ cmdstr->SetData( NS_LITERAL_CSTRING( "SETWALLPAPER" ));
|
||||
+ command->AppendElement( cmdstr, false );
|
||||
+ imgstr->SetData( filePath );
|
||||
+ command->AppendElement( imgstr, false );
|
||||
+ modestr->SetData( options );
|
||||
+ command->AppendElement( modestr, false );
|
||||
+ return nsKDEUtils::command( command ) ? rv : NS_ERROR_FAILURE;
|
||||
+}
|
||||
+
|
||||
NS_IMETHODIMP
|
||||
nsKDEShellService::GetDesktopBackgroundColor(PRUint32 *aColor)
|
||||
{
|
||||
- return NS_ERROR_NOT_IMPLEMENTED;
|
||||
+ aColor = 0;
|
||||
+ return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsKDEShellService::SetDesktopBackgroundColor(PRUint32 aColor)
|
||||
{
|
||||
- return NS_ERROR_NOT_IMPLEMENTED;
|
||||
+ return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
153
newmoon.desktop
Normal file
153
newmoon.desktop
Normal file
|
@ -0,0 +1,153 @@
|
|||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Name=New Moon
|
||||
GenericName=Web Browser
|
||||
GenericName[af]=Web Blaaier
|
||||
GenericName[ar]=متصفّح وِب
|
||||
GenericName[as]=ৱেব চৰক
|
||||
GenericName[az]=Veb Səyyahı
|
||||
GenericName[be]=Гартач сеціва
|
||||
GenericName[bg]=Уеб браузър
|
||||
GenericName[bn]=ওয়েব ব্রাউজার
|
||||
GenericName[br]=Furcher ar Gwiad
|
||||
GenericName[bs]=Web preglednik
|
||||
GenericName[ca]=Navegador web
|
||||
GenericName[cs]=Prohlížeč WWW
|
||||
GenericName[cy]=Porwr Gwe
|
||||
GenericName[da]=Internetbrowser
|
||||
GenericName[de]=Webbrowser
|
||||
GenericName[el]=Περιηγητής ιστοσελίδων
|
||||
GenericName[eo]=TTT-legilo
|
||||
GenericName[es]=Navegador web
|
||||
GenericName[et]=Veebisirvija
|
||||
GenericName[eu]=Web arakatzailea
|
||||
GenericName[fa]=مرورگر وب
|
||||
GenericName[fi]=WWW-selain
|
||||
GenericName[fo]=Vevlesari
|
||||
GenericName[fr]=Navigateur Web
|
||||
GenericName[ga]=Brabhsálaí Lín
|
||||
GenericName[gl]=Navegador web
|
||||
GenericName[gu]=વેબ બ્રાઉઝર
|
||||
GenericName[he]=דפדפן אינטרנט
|
||||
GenericName[hi]=वेब ब्राउज़र
|
||||
GenericName[hr]=Web pretraživač
|
||||
GenericName[hu]=Webböngésző
|
||||
GenericName[id]=Browser Web
|
||||
GenericName[is]=Vafri
|
||||
GenericName[it]=Browser web
|
||||
GenericName[ja]=ウェブ・ブラウザ
|
||||
GenericName[ka]=ვებ ბრაუზერი
|
||||
GenericName[kn]=ಜಾಾಲ ವೀಕ್ಷಕ
|
||||
GenericName[ko]=웹 브라우저
|
||||
GenericName[ku]=Geroka Torê
|
||||
GenericName[ky]=Web Браузер
|
||||
GenericName[li]=Wèb Browser
|
||||
GenericName[lo]=ຮງກເບິ່ງຖານເບິ່ງຂໍ້ມູນ
|
||||
GenericName[lt]=Žiniatinklio naršyklė
|
||||
GenericName[lv]=Tīmekļa pārlūkprogramma
|
||||
GenericName[mk]=Веб прелистувач
|
||||
GenericName[ml]=വെബ് ബ്രൌസര്
|
||||
GenericName[mn]=Вэб-Хөтөч
|
||||
GenericName[mr]=वेब ब्राउझर
|
||||
GenericName[ms]=Pelungsur Web
|
||||
GenericName[nb]=Nettleser
|
||||
GenericName[nds]=Nettkieker
|
||||
GenericName[ne]=वेब ब्राउजर
|
||||
GenericName[nl]=Webbrowser
|
||||
GenericName[nn]=Nettlesar
|
||||
GenericName[oc]=Navegaire web
|
||||
GenericName[or]=ଓ୍ବେବ ବ୍ରାଉଜର
|
||||
GenericName[pa]=ਵੈੱਬ ਬਰਾਊਜ਼ਰ
|
||||
GenericName[pl]=Przeglądarka WWW
|
||||
GenericName[pt]=Navegador Web
|
||||
GenericName[pt_BR]=Navegador Web
|
||||
GenericName[ro]=Navigator Internet
|
||||
GenericName[ru]=Веб-браузер
|
||||
GenericName[se]=Fierpmádatlogan
|
||||
GenericName[sk]=Webový prehliadač
|
||||
GenericName[sl]=Spletni brskalnik
|
||||
GenericName[sq]=Shfletuesi Web
|
||||
GenericName[sr]=Интернет прегледник
|
||||
GenericName[sr@Latn]=Internet preglednik
|
||||
GenericName[ss]=Ibrawuza ye-Web
|
||||
GenericName[sv]=Webbläsare
|
||||
GenericName[ta]=இணைய உலாவி
|
||||
GenericName[tg]=Тафсири веб
|
||||
GenericName[th]=เว็บเบราว์เซอร์
|
||||
GenericName[tk]=Web Ahtarçysy
|
||||
GenericName[tr]=Web Tarayıcı
|
||||
GenericName[uk]=Переглядач веб-сторінок
|
||||
GenericName[ur]=ویب براؤزر
|
||||
GenericName[uz]=Veb-brauzer
|
||||
GenericName[uz@cyrillic]=Веб-браузер
|
||||
GenericName[vi]=Bộ duyệt Web
|
||||
GenericName[wa]=Betchteu waibe
|
||||
GenericName[xh]=Umkhangeli zincwadi we Web
|
||||
GenericName[zh_CN]=Web 浏览器
|
||||
GenericName[zh_TW]=網頁瀏覽器
|
||||
Comment=Browse the Web
|
||||
Comment[af]=Blaai die Web
|
||||
Comment[am]=ዌብን ይቃኙ
|
||||
Comment[ar]=تصفّح الوِب
|
||||
Comment[az]=Vebdə gəz
|
||||
Comment[bg]=Сърфиране из интернет
|
||||
Comment[bn]=ওয়েব ব্রাউজ করুন
|
||||
Comment[bs]=Pretražujte web
|
||||
Comment[ca]=Navega pel web
|
||||
Comment[cs]=Prohlížení stránek World Wide Webu
|
||||
Comment[cy]=Pori'r We
|
||||
Comment[da]=Surf på internettet
|
||||
Comment[de]=Im Internet surfen
|
||||
Comment[el]=Περιηγηθείτε στο Διαδίκτυο
|
||||
Comment[eo]=Foliumi la TTT-on
|
||||
Comment[es]=Navegue por la web
|
||||
Comment[et]=Veebi sirvimine
|
||||
Comment[eu]=Web-a arakatu
|
||||
Comment[fa]=مرور بر وب
|
||||
Comment[fi]=Selaa Internetin WWW-sivuja
|
||||
Comment[fr]=Navigue sur Internet
|
||||
Comment[fur]=Navighe tal Web
|
||||
Comment[hi]=वेब पर ब्राउज करें
|
||||
Comment[hr]=Pregledaj Web
|
||||
Comment[hu]=A világháló böngészése
|
||||
Comment[hy]=Զբոսնել Ցանցում
|
||||
Comment[is]=Flakka á vefnum
|
||||
Comment[it]=Esplora il web
|
||||
Comment[ja]=ウェブを閲覧します
|
||||
Comment[ka]=ინტერნეტში გასეირნება
|
||||
Comment[ko]=웹을 돌아 다닙니다
|
||||
Comment[ku]=Geryana Înternet
|
||||
Comment[ky]=Вебди аралоо
|
||||
Comment[lv]=Pārlūkojiet Web
|
||||
Comment[mt]=Ibbrawżja l-web
|
||||
Comment[nb]=Surf på nettet
|
||||
Comment[nl]=Verken het internet
|
||||
Comment[nn]=Surf på nettet
|
||||
Comment[pl]=Przeglądanie stron WWW
|
||||
Comment[pt]=Navegue na Internet
|
||||
Comment[pt_BR]=Navegar na Web
|
||||
Comment[ro]=Navigați pe Web
|
||||
Comment[ru]=Веб-навигация
|
||||
Comment[sc]=Sfollya s'arretza
|
||||
Comment[sk]=Prezerať Web
|
||||
Comment[sl]=Brskanje po spletu
|
||||
Comment[sq]=Shfletues Web
|
||||
Comment[sr@Latn]=Pretražite Internet
|
||||
Comment[sv]=Surfa på webben
|
||||
Comment[ta]=வலையத்ைத மேலோட
|
||||
Comment[tg]=Шабакаро баррасӣ кунед
|
||||
Comment[th]=Browse the Web
|
||||
Comment[tl]=I-browse ang Web
|
||||
Comment[tr]=Web' de gezin
|
||||
Comment[uk]=Переглядайте Тенета
|
||||
Comment[vi]=Duyệt web
|
||||
Comment[wa]=Naivyî so les pådjes waibe
|
||||
Comment[zh_CN]=浏览 Web
|
||||
Comment[zh_TW]=瀏覽網頁
|
||||
Exec=newmoon %u
|
||||
Icon=newmoon
|
||||
Terminal=false
|
||||
Type=Application
|
||||
StartupWMClass=newmoon
|
||||
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;x-scheme-handler/http;x-scheme-handler/https;
|
||||
Categories=GTK;Network;WebBrowser;X-MandrivaLinux-Internet-WebBrowsers;X-MandrivaLinux-CrossDesktop;
|
328
newmoon.spec
Normal file
328
newmoon.spec
Normal file
|
@ -0,0 +1,328 @@
|
|||
%bcond_with syshunspell
|
||||
|
||||
%define oname Pale-Moon
|
||||
%define newmoon_appid \{972ce4c6-7e08-4474-a285-3208198ce6fd\}
|
||||
|
||||
# (tpg) MOZILLA_FIVE_HOME
|
||||
%define mozillalibdir %{_libdir}/%{name}-%{version}
|
||||
%define pluginsdir %{_libdir}/mozilla/plugins
|
||||
|
||||
# this seems fragile, so require the exact version or later (#58754)
|
||||
%define sqlite3_version %(pkg-config --modversion sqlite3 &>/dev/null && pkg-config --modversion sqlite3 2>/dev/null || echo 0)
|
||||
%define nss_version %(pkg-config --modversion nss &>/dev/null && pkg-config --modversion nss 2>/dev/null || echo 0)
|
||||
%define nspr_version %(pkg-config --modversion nspr &>/dev/null && pkg-config --modversion nspr 2>/dev/null |sed -e 's!\.0!!' || echo 0)
|
||||
|
||||
# We cannot use "Pale Moon" branding because of various restrictions, see:
|
||||
# http://www.palemoon.org/branding.shtml
|
||||
|
||||
Summary: Web browser based on Goanna engine
|
||||
Name: newmoon
|
||||
Version: 26.3.1
|
||||
Release: 1
|
||||
License: MPLv2.0
|
||||
Group: Networking/WWW
|
||||
Url: http://www.palemoon.org
|
||||
Source0: %{oname}-%{version}_Release.tar.gz
|
||||
Source4: %{name}.desktop
|
||||
Source5: firefox-searchengines-jamendo.xml
|
||||
Source6: firefox-searchengines-exalead.xml
|
||||
Source8: firefox-searchengines-askcom.xml
|
||||
Source9: kde.js
|
||||
Source10: firefox-searchengines-yandex.xml
|
||||
Source11: firefox-searchengines-google.xml
|
||||
Source12: firefox-searchengines-bing.xml
|
||||
|
||||
Patch1: firefox-6.0-lang.patch
|
||||
Patch2: firefox-vendor.patch
|
||||
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
|
||||
|
||||
# Patches for KDE integration of New Moon
|
||||
Patch11: palemoon-26.3.1-firefox-kde.patch
|
||||
Patch12: palemoon-26.3.1-mozilla-kde.patch
|
||||
Patch13: mozilla-kde-background.patch
|
||||
|
||||
BuildRequires: autoconf2.1
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: makedepend
|
||||
BuildRequires: python-simplejson
|
||||
BuildRequires: rootcerts
|
||||
BuildRequires: unzip
|
||||
BuildRequires: valgrind
|
||||
BuildRequires: wget
|
||||
BuildRequires: yasm
|
||||
BuildRequires: zip
|
||||
BuildRequires: libiw-devel
|
||||
BuildRequires: jpeg-devel
|
||||
BuildRequires: nss-static-devel
|
||||
BuildRequires: pkgconfig(alsa)
|
||||
BuildRequires: pkgconfig(cairo)
|
||||
BuildRequires: pkgconfig(dbus-glib-1)
|
||||
BuildRequires: pkgconfig(gl)
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(gtk+-2.0)
|
||||
%if %{with syshunspell}
|
||||
BuildRequires: pkgconfig(hunspell)
|
||||
%endif
|
||||
BuildRequires: pkgconfig(libIDL-2.0)
|
||||
BuildRequires: pkgconfig(libnotify)
|
||||
BuildRequires: pkgconfig(libproxy-1.0)
|
||||
BuildRequires: pkgconfig(libstartup-notification-1.0)
|
||||
BuildRequires: pkgconfig(nspr)
|
||||
# In fact, doesn't support system nss (as for 26.3.1)
|
||||
BuildRequires: pkgconfig(nss) >= 3.21
|
||||
BuildRequires: pkgconfig(opus)
|
||||
BuildRequires: pkgconfig(pixman-1)
|
||||
BuildRequires: pkgconfig(python)
|
||||
BuildRequires: pkgconfig(sqlite3)
|
||||
BuildRequires: pkgconfig(xinerama)
|
||||
BuildRequires: pkgconfig(xscrnsaver)
|
||||
BuildRequires: pkgconfig(xt)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
Requires: %{_lib}nspr4 >= 2:%{nspr_version}
|
||||
Requires: %{_lib}nss3 >= 2:%{nss_version}
|
||||
Requires: %{_lib}sqlite3_0 >= %{sqlite3_version}
|
||||
Requires: indexhtml
|
||||
Requires: xdg-utils
|
||||
# fixes bug #42096
|
||||
Requires: mailcap
|
||||
Suggests: hunspell-en
|
||||
Suggests: %{_lib}canberra0
|
||||
Suggests: %{_lib}cups2
|
||||
Provides: webclient
|
||||
|
||||
%description
|
||||
New Moon (unofficial branding for Pale Moon) is an Open Source, Goanna-based
|
||||
web browser available for Microsoft Windows and Linux (with other operating
|
||||
systems in development), focusing on efficiency and ease of use.
|
||||
|
||||
New Moon offers you a browsing experience in a browser completely built from
|
||||
its own, independently developed source that has been forked off from
|
||||
Firefox/Mozilla code, with carefully selected features and optimizations
|
||||
to improve the browser's speed, resource use, stability and user experience,
|
||||
while offering full customization and a growing collection of extensions and
|
||||
themes to make the browser truly your own.
|
||||
|
||||
%files
|
||||
%{_bindir}/%{name}
|
||||
%{_iconsdir}/hicolor/*/apps/*.png
|
||||
%{_miconsdir}/%{name}.png
|
||||
%{_iconsdir}/%{name}.png
|
||||
%{_liconsdir}/%{name}.png
|
||||
%{_datadir}/applications/*.desktop
|
||||
%{_libdir}/%{name}-%{version}*
|
||||
%dir %{_libdir}/mozilla
|
||||
%dir %{_libdir}/mozilla/extensions
|
||||
%dir %{pluginsdir}
|
||||
%dir %{_libdir}/mozilla/extensions/%{newmoon_appid}
|
||||
%dir %{_datadir}/mozilla/extensions/%{newmoon_appid}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Group: Development/Other
|
||||
|
||||
%description devel
|
||||
Files and macros mainly for building New Moon extensions.
|
||||
|
||||
%files devel
|
||||
%{_sys_macros_dir}/%{name}.macros
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
%prep
|
||||
%setup -qn %{oname}-%{version}_Release
|
||||
|
||||
%patch1 -p1 -b .lang
|
||||
#patch2 -p1 -b .vendor
|
||||
%patch3 -p1 -b .disable-software-update
|
||||
%patch4 -p1 -b .ascii
|
||||
%patch5 -p1 -b .default-mail-handler
|
||||
%patch6 -p2 -b .addons
|
||||
|
||||
# KDE integration
|
||||
%patch11 -p1 -b .kdepatch
|
||||
%patch12 -p1 -b .kdemoz
|
||||
%patch13 -p1 -b .kdebackground
|
||||
|
||||
pushd js/src
|
||||
autoconf-2.13
|
||||
popd
|
||||
autoconf-2.13
|
||||
|
||||
# needed to regenerate certdata.c
|
||||
pushd security/nss/lib/ckfw/builtins
|
||||
perl ./certdata.perl < /etc/pki/tls/mozilla/certdata.txt
|
||||
popd
|
||||
|
||||
%build
|
||||
%global optflags %(echo %{optflags} | sed -e 's/-gdwarf-4//' -e 's/-fvar-tracking-assignments//' -e 's/-frecord-gcc-switches//' -e 's/-Wa,--compress-debug-sections//')
|
||||
%setup_compile_flags
|
||||
|
||||
CFLAGS=$(echo %{optflags} | sed -e 's/-fexceptions//')
|
||||
CFLAGS="$CFLAGS -fno-strict-aliasing"
|
||||
CXXFLAGS="$CFLAGS -fpermissive"
|
||||
RPM_OPT_FLAGS="$CFLAGS"
|
||||
LDFLAGS="%{ldflags}"
|
||||
export CFLAGS
|
||||
export CXXFLAGS
|
||||
export RPM_OPT_FLAGS
|
||||
export LDFLAGS
|
||||
|
||||
export MOZCONFIG=`pwd`/mozconfig
|
||||
cat << EOF > $MOZCONFIG
|
||||
mk_add_options MOZILLA_OFFICIAL=0
|
||||
mk_add_options BUILD_OFFICIAL=0
|
||||
mk_add_options MOZ_MAKE_FLAGS="%{_smp_mflags}"
|
||||
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../obj
|
||||
ac_add_options --host=%{_host}
|
||||
ac_add_options --target=%{_target_platform}
|
||||
ac_add_options --enable-optimize
|
||||
ac_add_options --prefix="%{_prefix}"
|
||||
ac_add_options --libdir="%{_libdir}"
|
||||
ac_add_options --sysconfdir="%{_sysconfdir}"
|
||||
ac_add_options --mandir="%{_mandir}"
|
||||
ac_add_options --includedir="%{_includedir}"
|
||||
ac_add_options --datadir="%{_datadir}"
|
||||
ac_add_options --with-system-nspr
|
||||
ac_add_options --without-system-nss
|
||||
ac_add_options --with-system-zlib
|
||||
ac_add_options --with-pthreads
|
||||
ac_add_options --enable-webm
|
||||
ac_add_options --disable-webrtc
|
||||
ac_add_options --enable-ogg
|
||||
ac_add_options --enable-jemalloc
|
||||
ac_add_options --enable-gio
|
||||
ac_add_options --disable-gnomevfs
|
||||
ac_add_options --disable-updater
|
||||
ac_add_options --disable-tests
|
||||
ac_add_options --disable-debug
|
||||
ac_add_options --without-system-libvpx
|
||||
ac_add_options --disable-official-branding
|
||||
ac_add_options --enable-libproxy
|
||||
ac_add_options --with-system-jpeg
|
||||
ac_add_options --enable-system-cairo
|
||||
ac_add_options --enable-system-pixman
|
||||
ac_add_options --enable-canvas
|
||||
ac_add_options --enable-svg
|
||||
ac_add_options --enable-system-sqlite
|
||||
ac_add_options --enable-extensions=default
|
||||
ac_add_options --enable-startup-notification
|
||||
ac_add_options --enable-libnotify
|
||||
ac_add_options --enable-xinerama
|
||||
ac_add_options --with-distribution-id=org.rosa
|
||||
ac_add_options --disable-crashreporter
|
||||
ac_add_options --enable-gstreamer=1.0
|
||||
ac_add_options --with-valgrind
|
||||
ac_add_options --disable-javaxpcom
|
||||
ac_add_options --enable-opus
|
||||
ac_add_options --enable-default-toolkit=cairo-gtk2
|
||||
|
||||
EOF
|
||||
|
||||
perl -p -i -e 's|\-0|\-9|g' config/make-jars.pl
|
||||
|
||||
export LDFLAGS="%{ldflags}"
|
||||
make -f client.mk build
|
||||
|
||||
%install
|
||||
make -C %{_builddir}/obj/browser/installer STRIP=/bin/true MOZ_PKG_FATAL_WARNINGS=0
|
||||
|
||||
# Copy files to buildroot
|
||||
mkdir -p %{buildroot}%{mozillalibdir}
|
||||
cp -rf %{_builddir}/obj/dist/palemoon/* %{buildroot}%{mozillalibdir}
|
||||
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
ln -sf %{mozillalibdir}/palemoon %{buildroot}%{_bindir}/newmoon
|
||||
mkdir -p %{buildroot}%{mozillalibdir}/defaults/preferences/
|
||||
install -m 644 %{SOURCE9} %{buildroot}%{mozillalibdir}/defaults/preferences/kde.js
|
||||
|
||||
# Create and own %_libdir/mozilla/plugins & newmoon extensions directories
|
||||
mkdir -p %{buildroot}%{pluginsdir}
|
||||
mkdir -p %{buildroot}%{_libdir}/mozilla/extensions/%{newmoon_appid}
|
||||
mkdir -p %{buildroot}%{_datadir}/mozilla/extensions/%{newmoon_appid}
|
||||
|
||||
# (tpg) desktop entry
|
||||
mkdir -p %{buildroot}%{_datadir}/applications
|
||||
install -m 644 %{SOURCE4} %{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||
|
||||
# (tpg) icons
|
||||
cp %{buildroot}%{mozillalibdir}/browser/chrome/icons/default/default16.png %{buildroot}/%{mozillalibdir}/browser/icons/
|
||||
for i in 16 22 24 32 48 256; do
|
||||
# (cg) Not all icon sizes are installed with make install, so just redo it here.
|
||||
install -m 644 browser/branding/official/default$i.png %{buildroot}%{mozillalibdir}/browser/chrome/icons/default/default$i.png
|
||||
mkdir -p %{buildroot}%{_iconsdir}/hicolor/"$i"x"$i"/apps
|
||||
ln -sf %{mozillalibdir}/browser/chrome/icons/default/default$i.png %{buildroot}%{_iconsdir}/hicolor/"$i"x"$i"/apps/%{name}.png ;
|
||||
done
|
||||
mkdir -p %{buildroot}{%{_liconsdir},%{_iconsdir},%{_miconsdir}}
|
||||
ln -sf %{mozillalibdir}/browser/chrome/icons/default/default48.png %{buildroot}%{_liconsdir}/%{name}.png
|
||||
ln -sf %{mozillalibdir}/browser/chrome/icons/default/default32.png %{buildroot}%{_iconsdir}/%{name}.png
|
||||
ln -sf %{mozillalibdir}/browser/chrome/icons/default/default16.png %{buildroot}%{_miconsdir}/%{name}.png
|
||||
|
||||
# exclusions
|
||||
rm -f %{buildroot}%{mozillalibdir}/README.txt
|
||||
rm -f %{buildroot}%{mozillalibdir}/removed-files
|
||||
rm -f %{buildroot}%{mozillalibdir}/precomplete
|
||||
|
||||
install -D -m644 browser/app/profile/prefs.js %{buildroot}%{mozillalibdir}/defaults/profile/prefs.js
|
||||
cat << EOF >> %{buildroot}%{mozillalibdir}/defaults/profile/prefs.js
|
||||
user_pref("browser.EULA.override", true);
|
||||
user_pref("browser.shell.checkDefaultBrowser", false);
|
||||
user_pref("browser.ctrlTab.previews", true);
|
||||
user_pref("browser.tabs.insertRelatedAfterCurrent", false);
|
||||
user_pref("browser.startup.homepage", "file:///usr/share/doc/HTML/index.html");
|
||||
user_pref("browser.backspace_action", 2);
|
||||
user_pref("browser.display.use_system_colors", true);
|
||||
user_pref("browser.download.folderList", 1);
|
||||
user_pref("browser.link.open_external", 3);
|
||||
user_pref("app.update.auto", false);
|
||||
user_pref("app.update.enabled", false);
|
||||
user_pref("app.update.autoInstallEnabled", false);
|
||||
user_pref("dom.ipc.plugins.enabled.nswrapper*", false);
|
||||
user_pref("extensions.autoDisableScopes", 0);
|
||||
user_pref("extensions.shownSelectionUI", true);
|
||||
user_pref("network.manage-offline-status", true);
|
||||
EOF
|
||||
|
||||
# display icon for New Moon button
|
||||
mkdir -p %{buildroot}%{mozillalibdir}/defaults/profile/chrome
|
||||
cat << EOF > %{buildroot}%{mozillalibdir}/defaults/profile/chrome/userChrome.css
|
||||
#appmenu-toolbar-button {
|
||||
list-style-image: url("chrome://branding/content/icon16.png");
|
||||
}
|
||||
EOF
|
||||
|
||||
# use the system myspell dictionaries
|
||||
rm -fr %{buildroot}%{mozillalibdir}/dictionaries
|
||||
ln -s %{_datadir}/dict/mozilla/ %{buildroot}%{mozillalibdir}/dictionaries
|
||||
|
||||
# (lm) touch and %ghost bookmarks.html to a proper uninstall
|
||||
touch %{buildroot}%{mozillalibdir}/defaults/profile/bookmarks.html
|
||||
|
||||
# search engines
|
||||
rm -f %{buildroot}%{mozillalibdir}/browser/searchplugins/*
|
||||
cp -f %{SOURCE5} %{buildroot}%{mozillalibdir}/browser/searchplugins/jamendo.xml
|
||||
cp -f %{SOURCE6} %{buildroot}%{mozillalibdir}/browser/searchplugins/exalead.xml
|
||||
cp -f %{SOURCE8} %{buildroot}%{mozillalibdir}/browser/searchplugins/askcom.xml
|
||||
cp -f %{SOURCE10} %{buildroot}%{mozillalibdir}/browser/searchplugins/yandex.xml
|
||||
cp -f %{SOURCE11} %{buildroot}%{mozillalibdir}/browser/searchplugins/google.xml
|
||||
cp -f %{SOURCE12} %{buildroot}%{mozillalibdir}/browser/searchplugins/bing.xml
|
||||
|
||||
# Correct distro values on search engines
|
||||
sed -i 's/@DISTRO_VALUE@/ffx/' %{buildroot}%{mozillalibdir}/browser/searchplugins/askcom.xml
|
||||
sed -i 's/@DISTRO_VALUE@//' %{buildroot}%{mozillalibdir}/browser/searchplugins/exalead.xml
|
||||
|
||||
mkdir -p %{buildroot}%{_sys_macros_dir}
|
||||
cat <<FIN >%{buildroot}%{_sys_macros_dir}/%{name}.macros
|
||||
# Macros from %{name} package
|
||||
%%newmoon_major %{version}
|
||||
%%newmoon_version %{version}
|
||||
%%newmoon_mozillapath %{mozillalibdir}
|
||||
%%newmoon_pluginsdir %{pluginsdir}
|
||||
%%newmoon_appid \{972ce4c6-7e08-4474-a285-3208198ce6fd\}
|
||||
%%newmoon_extdir %%(if [ "%%_target_cpu" = "noarch" ]; then echo %%{_datadir}/mozilla/extensions/%%{newmoon_appid}; else echo %%{_libdir}/mozilla/extensions/%%{newmoon_appid}; fi)
|
||||
FIN
|
||||
|
1622
palemoon-26.3.1-firefox-kde.patch
Normal file
1622
palemoon-26.3.1-firefox-kde.patch
Normal file
File diff suppressed because it is too large
Load diff
3272
palemoon-26.3.1-mozilla-kde.patch
Normal file
3272
palemoon-26.3.1-mozilla-kde.patch
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue