summaryrefslogtreecommitdiff
path: root/libre-testing/icedove-libre
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-27 00:01:30 +0000
committerroot <root@rshg054.dnsready.net>2012-04-27 00:01:30 +0000
commit5233daa5825f00ccf0722ef9733ea6b3bbd44bc8 (patch)
tree9efe4d061ff3f921e97518a8bc84d504bc88e6fc /libre-testing/icedove-libre
parent4a6f4c864badccdbf9756bc45218273796fa6d72 (diff)
Fri Apr 27 00:01:30 UTC 2012
Diffstat (limited to 'libre-testing/icedove-libre')
-rw-r--r--libre-testing/icedove-libre/PKGBUILD14
-rw-r--r--libre-testing/icedove-libre/searchplugins-libre.patch30
2 files changed, 22 insertions, 22 deletions
diff --git a/libre-testing/icedove-libre/PKGBUILD b/libre-testing/icedove-libre/PKGBUILD
index 4d5ee4bb9..9beba51a8 100644
--- a/libre-testing/icedove-libre/PKGBUILD
+++ b/libre-testing/icedove-libre/PKGBUILD
@@ -29,6 +29,7 @@ source=("$_debrepo/`debfile $_debname`_$_debver.orig.tar.bz2"
vendor.js
makefile.patch
gcc47.patch
+ rules.patch
searchplugins-libre.patch)
md5sums=('3efe2ef4d5471aae3b79531ce8aee9dc'
'cb3dba2916bdf2deb72248b0984c4302'
@@ -38,7 +39,8 @@ md5sums=('3efe2ef4d5471aae3b79531ce8aee9dc'
'4eecc4fc5aafaf0da651a09eadc90bee'
'5a6282bb005d596aa4ab1884ac6b0517'
'66376a8e934013078f0e646e49614937'
- '836528f4b4907a3ffb3f3a3c46e2c442')
+ '2e6a57dc04b4a7255f5f1f3642af23ac'
+ '8f6d5be227bb68e1558dd6674cbba446')
build() {
export QUILT_PATCHES=debian/patches
@@ -56,9 +58,10 @@ build() {
cp "$srcdir/mozconfig" .mozconfig
patch -Np1 -i "$srcdir/gcc47.patch"
patch -Np1 -i "$srcdir/makefile.patch"
+ patch -Np1 -i "$srcdir/rules.patch"
# Removing non-free search plugins replacing them with duckduckgo and identi.ca
- patch -Np1 -i "$srcdir/searchplugins-libre.patch"
+ patch -Np0 -i "$srcdir/searchplugins-libre.patch"
make -j1 -f client.mk build MOZ_MAKE_FLAGS="$MAKEFLAGS"
}
@@ -71,13 +74,14 @@ package() {
install -m644 "$srcdir/channel-prefs.js" "$pkgdir/usr/lib/$_pkgname/defaults/pref" # Recommend free addons
for i in 16x16 22x22 24x24 32x32 48x48 256x256; do
- install -Dm644 "$debian/app-icons/$_pkgname${i/x*/}.png" "/usr/share/icons/hicolor/$i/apps/$_pkgname.png"
+ install -Dm644 debian/app-icons/$_pkgname${i/x*/}.png \
+ "$pkgdir/usr/share/icons/hicolor/$i/apps/$_pkgname.png"
+ install -Dm644 debian/app-icons/icedovebig.svg \
+ "$pkgdir/usr/share/icons/hicolor/scalable/apps/$_pkgname.svg"
done
- install -Dm644 "$debian/app-icons/$_pkgname_icon.svg" "/usr/share/icons/hicolor/scalable/apps/$_pkgname.svg"
rm -rf "$pkgdir"/usr/lib/$_pkgname/{dictionaries,hyphenation}
ln -sf /usr/share/hunspell "$pkgdir/usr/lib/$_pkgname/dictionaries"
ln -sf /usr/share/hyphen "$pkgdir/usr/lib/$_pkgname/hyphenation"
- ln -sf $_pkgname /usr/lib/$_pkgname/$_pkgname usr/bin/$_pkgname
rm -r "$pkgdir"/usr/{include,lib/$_pkgname-devel,share/idl} # We don't want the development stuff
}
diff --git a/libre-testing/icedove-libre/searchplugins-libre.patch b/libre-testing/icedove-libre/searchplugins-libre.patch
index 9de805e96..19c1ea5ab 100644
--- a/libre-testing/icedove-libre/searchplugins-libre.patch
+++ b/libre-testing/icedove-libre/searchplugins-libre.patch
@@ -1,5 +1,5 @@
---- mozilla-build.orig/mail/locales/en-US/searchplugins/list.txt 2012-03-27 15:56:00.000000000 -0300
-+++ mozilla-build/mail/locales/en-US/searchplugins/list.txt 2012-04-13 05:43:25.227475353 -0300
+--- mail.orig/locales/en-US/searchplugins/list.txt 2012-03-27 15:56:00.000000000 -0300
++++ mail/locales/en-US/searchplugins/list.txt 2012-04-13 05:43:25.227475353 -0300
@@ -1,8 +1,5 @@
-amazondotcom
-aol-web-search
@@ -12,7 +12,7 @@
+identica-people-search
wikipedia
-yahoo
---- mozilla-build.orig/mail/locales/en-US/searchplugins/amazondotcom.xml 2012-03-27 15:56:00.000000000 -0300
+--- mail/locales/en-US/searchplugins/amazondotcom.xml 2012-03-27 15:56:00.000000000 -0300
+++ /dev/null 2012-04-12 23:52:53.981159155 -0300
@@ -1,11 +0,0 @@
-<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
@@ -26,7 +26,7 @@
-</Url>
-<SearchForm>http://www.amazon.com/</SearchForm>
-</SearchPlugin>
---- mozilla-build.orig/mail/locales/en-US/searchplugins/aol-web-search.xml 2012-03-27 15:56:00.000000000 -0300
+--- mail/locales/en-US/searchplugins/aol-web-search.xml 2012-03-27 15:56:00.000000000 -0300
+++ /dev/null 2012-04-12 23:52:53.981159155 -0300
@@ -1,10 +0,0 @@
-<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/" xmlns:os="http://a9.com/-/spec/opensearch/1.1/">
@@ -39,9 +39,9 @@
- <os:Param name="query" value="{searchTerms}"/>
-</os:Url>
-</SearchPlugin>
---- mozilla-build.orig/mail/locales/en-US/searchplugins/bing.xml 2012-03-27 15:56:00.000000000 -0300
-+++ /dev/null 2012-04-12 23:52:53.981159155 -0300
-@@ -1,21 +0,0 @@
+--- mail/locales/en-US/searchplugins/bing.xml 2012-03-06 13:44:50.000000000 -0200
++++ /dev/null 2012-04-25 14:16:16.847855589 -0300
+@@ -1,17 +0,0 @@
-<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
- <ShortName>Bing</ShortName>
- <Description>Bing. Search by Microsoft.</Description>
@@ -53,17 +53,13 @@
- </Url>
- <Url type="text/html" method="GET" template="http://www.bing.com/search">
- <Param name="q" value="{searchTerms}"/>
-- <Param name="form" value="MOZESB"/>
-- <MozParam name="pc" condition="pref" pref="ms-pc"/>
- </Url>
- <Url type="application/x-moz-keywordsearch" method="GET" template="http://www.bing.com/search">
- <Param name="q" value="{searchTerms}"/>
-- <Param name="form" value="MOZESB"/>
-- <MozParam name="pc" condition="pref" pref="ms-pc"/>
- </Url>
- <SearchForm>http://www.bing.com/search</SearchForm>
-</SearchPlugin>
---- mozilla-build.orig/mail/locales/en-US/searchplugins/google.xml 2012-03-27 15:56:00.000000000 -0300
+--- mail/locales/en-US/searchplugins/google.xml 2012-03-27 15:56:00.000000000 -0300
+++ /dev/null 2012-04-12 23:52:53.981159155 -0300
@@ -1,14 +0,0 @@
-<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
@@ -80,7 +76,7 @@
-</Url>
-<SearchForm>http://www.google.com</SearchForm>
-</SearchPlugin>
---- comm-release.orig/mail/locales/en-US/searchplugins/twitter.xml 2012-03-27 15:56:00.000000000 -0300
+--- mail/locales/en-US/searchplugins/twitter.xml 2012-03-27 15:56:00.000000000 -0300
+++ /dev/null 2012-04-12 23:52:53.981159155 -0300
@@ -1,10 +0,0 @@
-<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
@@ -93,7 +89,7 @@
-<SearchForm>http://search.twitter.com/</SearchForm>
-</SearchPlugin>
-
---- mozilla-build.orig/mail/locales/en-US/searchplugins/yahoo.xml 2012-03-27 15:56:00.000000000 -0300
+--- mail/locales/en-US/searchplugins/yahoo.xml 2012-03-27 15:56:00.000000000 -0300
+++ /dev/null 2012-04-12 23:52:53.981159155 -0300
@@ -1,13 +0,0 @@
-<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
@@ -110,7 +106,7 @@
-<SearchForm>http://search.yahoo.com/</SearchForm>
-</SearchPlugin>
--- /dev/null 2012-04-12 23:52:53.981159155 -0300
-+++ mozilla-build/mail/locales/en-US/searchplugins/duckduckgo-ssl.xml 2012-04-09 14:43:56.000000000 -0300
++++ mail/locales/en-US/searchplugins/duckduckgo-ssl.xml 2012-04-09 14:43:56.000000000 -0300
@@ -0,0 +1,11 @@
+<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/" xmlns:os="http://a9.com/-/spec/opensearch/1.1/">
+<os:ShortName>DuckDuckGo RU SSL</os:ShortName>
@@ -124,7 +120,7 @@
+</os:Url>
+</SearchPlugin>
--- /dev/null 2012-04-12 23:52:53.981159155 -0300
-+++ mozilla-build/mail/locales/en-US/searchplugins/identica-notice-search.xml 2012-04-13 05:15:55.000000000 -0300
++++ mail/locales/en-US/searchplugins/identica-notice-search.xml 2012-04-13 05:15:55.000000000 -0300
@@ -0,0 +1,7 @@
+<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/" xmlns:os="http://a9.com/-/spec/opensearch/1.1/">
+<os:ShortName>Identi.ca Notice Search</os:ShortName>
@@ -134,7 +130,7 @@
+</os:Url>
+</SearchPlugin>
--- /dev/null 2012-04-12 23:52:53.981159155 -0300
-+++ mozilla-build/mail/locales/en-US/searchplugins/identica-people-search.xml 2012-04-13 05:15:53.000000000 -0300
++++ mail/locales/en-US/searchplugins/identica-people-search.xml 2012-04-13 05:15:53.000000000 -0300
@@ -0,0 +1,7 @@
+<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/" xmlns:os="http://a9.com/-/spec/opensearch/1.1/">
+<os:ShortName>Identi.ca People Search</os:ShortName>