[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnewsense-dev] Thunderbird recommending non-free software
From: |
Sam Geeraerts |
Subject: |
Re: [Gnewsense-dev] Thunderbird recommending non-free software |
Date: |
Tue, 07 Jul 2009 23:06:21 +0200 |
User-agent: |
Thunderbird 2.0.0.22 (X11/20090608) |
Sam Geeraerts schreef:
I think only extensions.getMoreExtensionsURL and
extensions.getMoreThemesURL apply, unless Thunderbird's about:config
doesn't show all valid settings. These settings can also be added to the
existing file /etc/thunderbird/pref/thunderbird.js, which would make
patching a little bit easier.
Bug reported: http://bugs.gnewsense.org/Bugs/00293
I'll see about a patch. Shouldn't be much more than a one-liner like
gen-gnome-desktop to add the lines to debian/thunderbird.js.
Me and Builder still don't fully agree, but my crappy hardware might
have something to do with that. Anyway, I've managed to build a cleanly
configured Thunderbird with the attached diff.
Index: do-update
===================================================================
--- do-update (revision 253)
+++ do-update (working copy)
@@ -119,6 +119,7 @@
ensure_updated launchpad-integration launchpad-integration
$RELEASE$i ./gen-launchpad-integration $LAUNCHPAD_INTEGRATION_VERSION
ensure_updated python-apt python-apt $RELEASE$i
./gen-python-apt $PYTHON_APT_VERSION
ensure_updated module-init-tools module-init-tools $RELEASE$i
./gen-module-init-tools $MODULE_INIT_TOOLS_VERSION
+ ensure_updated thunderbird thunderbird $RELEASE$i
./gen-thunderbird $THUNDERBIRD_VERSION
# Gnome
ensure_updated ubuntu-artwork $DISTRONAME_L-artwork $RELEASE$i
./gen-artwork $ARTWORK_VERSION
Index: gen-thunderbird
===================================================================
--- gen-thunderbird (revision 0)
+++ gen-thunderbird (revision 0)
@@ -0,0 +1,45 @@
+#!/bin/bash
+#
+# Copyright (C) 2009 Sam Geeraerts
+#
+# 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
+#
+
+
+. config
+
+rm -rf $WORKINGDIR
+mkdir -p $WORKINGDIR
+cd $WORKINGDIR
+
+apt-get source thunderbird$VERSION
+apt-get --yes build-dep thunderbird$VERSION
+cd thunderbird-*
+
+sed -i "s/Debian specific/gNewSense specific/g" debian/thunderbird.js
+sed -i "s/Mozilla Firefox/Mozilla Thunderbird/g" debian/thunderbird.js
+
+cat <<"END" >>debian/thunderbird.js
+
+// Point to free-only addons.
+pref ("extensions.getMoreExtensionsURL" ,
+"http://www.gnu.org/software/gnuzilla/addons.html");
+pref ("extensions.getMoreThemesURL" ,
+"http://www.gnu.org/software/gnuzilla/addons.html");
+END
+
+echo | dch -D $RELEASE -v $(sed -n
'1s#^.*(\(.*\)).*#\1'${DISTRONAME_L}${THUNDERBIRD_VERSION}'#p'
debian/changelog) "Changed addon repository to a free-only one."
+
+dpkg-buildpackage $DPKGOPTS
Property changes on: gen-thunderbird
___________________________________________________________________
Name: svn:executable
+ *
Index: config
===================================================================
--- config (revision 253)
+++ config (working copy)
@@ -116,6 +116,7 @@
LINUX_UBUNTU_MODULES_VERSION=2
APP_INSTALL_DATA_UBUNTU_VERSION=1
MODULE_INIT_TOOLS_VERSION=2
+THUNDERBIRD_VERSION=1
# PATHS
WORKINGDIR=$BASEDIR/tmp