From 395fb20d2240823f9c96cf16e8d4103653fbd60f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rub=C3=A9n=20Rodr=C3=ADguez?= <ruben@trisquel.info>
Date: Sat, 11 Oct 2014 17:45:54 +0200
Subject: [PATCH] Added Icedove helper

---
 helpers/make-icedove | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)
 create mode 100644 helpers/make-icedove

diff --git a/helpers/make-icedove b/helpers/make-icedove
new file mode 100644
index 00000000..067fd433
--- /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
-- 
GitLab