summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre')
-rw-r--r--libre/icecat/PKGBUILD10
-rw-r--r--libre/icecat/devtools-appmanager.patch17
2 files changed, 24 insertions, 3 deletions
diff --git a/libre/icecat/PKGBUILD b/libre/icecat/PKGBUILD
index 1104ce030..3a6a04ebe 100644
--- a/libre/icecat/PKGBUILD
+++ b/libre/icecat/PKGBUILD
@@ -40,7 +40,8 @@ source=("http://ftp.gnu.org/gnu/gnuzilla/$pkgver/$pkgname-$pkgver.tar.xz"
$pkgname-install-dir.patch
vendor.js
rhbz-966424.patch
- $pkgname-fixed-loading-icon.png)
+ $pkgname-fixed-loading-icon.png
+ devtools-appmanager.patch)
md5sums=('52f310b515cf185636e889d55f9d615d'
'6674e0f2468787444c0a0a3e5da22934'
'df08eaa1ac3bc6c2356be4fbf8ec8932'
@@ -50,7 +51,8 @@ md5sums=('52f310b515cf185636e889d55f9d615d'
'7b2213f23f7dec017f67257b9fd2780f'
'afafa89b727642c33ade82f2ffbe64a7'
'16a112aaeee34ff3cae1fc1a521448a0'
- '6e335a517c68488941340ee1c23f97b0')
+ '6e335a517c68488941340ee1c23f97b0'
+ '')
prepare() {
export GNU_BUILD="gnuzilla-release"
@@ -58,7 +60,9 @@ prepare() {
mv $pkgname-$pkgver "$srcdir/$GNU_BUILD"
cd "$srcdir/$GNU_BUILD"
-
+ # Disable appmanager
+ # Note: to enable appmanager is necessary to use a 100% free "Firefox OS" distribution and ADBHelper Parabola package.
+ patch -Np1 -i "$srcdir/devtools-appmanager.patch"
# Put gnu_headshadow.png on the source code
install -m644 "$srcdir/gnu_headshadow.png" \
diff --git a/libre/icecat/devtools-appmanager.patch b/libre/icecat/devtools-appmanager.patch
new file mode 100644
index 000000000..caaa94d51
--- /dev/null
+++ b/libre/icecat/devtools-appmanager.patch
@@ -0,0 +1,17 @@
+diff -Nur a/browser/app/profile/icecat.js b/browser/app/profile/icecat.js
+--- a/browser/app/profile/icecat.js 2014-12-19 14:33:04.453900819 -0200
++++ b/browser/app/profile/icecat.js 2014-10-21 09:53:09.000000000 -0200
+@@ -1235,10 +1235,9 @@
+ pref("devtools.commands.dir", "");
+
+ // Enable the app manager
+-// Note: to enable appmanager is necessary to use a 100% free "Firefox OS" distribution.
+-pref("devtools.appmanager.enabled", false);
+-pref("devtools.appmanager.lastTab", "");
+-pref("devtools.appmanager.manifestEditor.enabled", false);
++pref("devtools.appmanager.enabled", true);
++pref("devtools.appmanager.lastTab", "help");
++pref("devtools.appmanager.manifestEditor.enabled", true);
+
+ // Toolbox preferences
+ pref("devtools.toolbox.footer.height", 250);