Skip to content
Snippets Groups Projects
make-icedove 1.62 KiB
Newer Older
Ruben Rodriguez's avatar
Ruben Rodriguez committed
#!/bin/sh
#
Ruben Rodriguez's avatar
Ruben Rodriguez committed
#    Copyright (C) 2014-2017  Ruben Rodriguez <ruben@trisquel.info>
Ruben Rodriguez's avatar
Ruben Rodriguez committed
#
#    This program is free software; you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation; either version 2 of the License, or
#    (at your option) any later version.
#
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with this program; if not, write to the Free Software
#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
#

VERSION=1
Ruben Rodriguez's avatar
Ruben Rodriguez committed
EXTERNAL='deb-src http://security.debian.org/debian-security wheezy/updates main'
SIGNKEY="EA98120B"
Ruben Rodriguez's avatar
Ruben Rodriguez committed

. ./config

sed 's/mail-reader/mail-reader, thunderbird/' debian/control -i
sed 's/gcc-4.7/gcc-4.9/; s/g++-4.7/g++-4.9/;' debian/control debian/rules -i
Ruben Rodriguez's avatar
Ruben Rodriguez committed
cat << EOF >> debian/icedove.js

// Trisquel settings
pref("mail.shell.checkDefaultClient", false);
pref("spellchecker.dictionaries.download.url", "http://dictionaries.mozdev.org/installation.html");
pref("extensions.webservice.discoverURL", "https://directory.fsf.org/wiki/Icedove");
pref("extensions.blocklist.enabled", false);
pref("mail.rights.version", 1);
pref("toolkit.telemetry.prompted", 2);
pref("toolkit.telemetry.rejected", true);
EOF

sed '/kPStaticModules/s/protected/default/' -i mozilla/xpcom/components/Module.h

Ruben Rodriguez's avatar
Ruben Rodriguez committed
changelog "Imported into Trisquel"

compile