diff --git a/helpers/make-icedove b/helpers/make-icedove new file mode 100644 index 0000000000000000000000000000000000000000..067fd4338cb8155f2a3fc321875397ce9929b5d7 --- /dev/null +++ b/helpers/make-icedove @@ -0,0 +1,42 @@ +#!/bin/sh +# +# Copyright (C) 2014 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/ wheezy/updates main' + +. ./config + +sed '/libffi/d' -i debian/control debian/patches/series +rm debian/patches/system-libs/Allow-to-build-against-system-libffi.patch + +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 + +changelog "Imported into Trisquel" + +compile