#!/bin/sh # # Copyright (C) 2014-2017 Ruben Rodriguez <ruben@trisquel.info> # # 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 EXTERNAL='deb-src http://security.debian.org/debian-security wheezy/updates main' SIGNKEY="EA98120B" . ./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 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 changelog "Imported into Trisquel" compile