Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=0df61a1cb75eb880aa926243bbcb6800651abecd

commit 0df61a1cb75eb880aa926243bbcb6800651abecd
Author: Devil505 <devil505li...@gmail.com>
Date:   Wed Aug 24 17:39:00 2011 +0200

firefox-6.0-3-i686
* added a prefs file

diff --git a/source/xapps/firefox/FrugalBuild b/source/xapps/firefox/FrugalBuild
index 50571b5..5840455 100644
--- a/source/xapps/firefox/FrugalBuild
+++ b/source/xapps/firefox/FrugalBuild
@@ -5,7 +5,7 @@
pkgname=firefox
pkgver=6.0
pathver=${pkgver} # version used in path names
-pkgrel=2
+pkgrel=3
pkgdesc="Mozilla Firefox web browser"
url="http://www.mozilla.org/products/firefox/";
depends=('gtk+2>=2.20.0-2' 'libidl' 'desktop-file-utils' 'nss>=3.12.11' 
'glibc>=2.6' 'dbus-glib' 'curl>=7.19.0' 'nspr>=4.8.9' \
@@ -17,8 +17,9 @@ archs=('i686' 'x86_64' 'ppc')
up2date="lynx -dump 
ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/latest/source | sed 
's/.source//g' | Flasttarbz2"
source=(ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$pkgver/source/firefox-$pkgver.source.tar.bz2
 \
ffremote \
-       $pkgname.desktop)
-signatures=("${source[0]}.asc" '' '')
+       $pkgname.desktop \
+       prefs.js)
+signatures=("${source[0]}.asc" '' '' '')
options=('scriptlet')

Fconfopts="${Fconfopts[@]} --with-default-mozilla-five-home=/usr \
@@ -118,6 +119,9 @@ build() {

# Change the default icons
Fln /usr/lib/$pkgname/icons /usr/lib/$pkgname/chrome/icons/default
+
+       #Preferences file
+       Finstall 644 prefs.js usr/lib/$pkgname/defaults/pref/prefs.js
}

# optimization OK
diff --git a/source/xapps/firefox/prefs.js b/source/xapps/firefox/prefs.js
new file mode 100644
index 0000000..8e89289
--- /dev/null
+++ b/source/xapps/firefox/prefs.js
@@ -0,0 +1,4 @@
+// This file can be used to configure global preferences for Firefox
+pref("browser.startup.homepage", "http://frugalware.org/start/";);
+pref("browser.startup.homepage_welcome_url", "http://frugalware.org/start/";);
+pref("startup.homepage_welcome_url", "http://frugalware.org/start/";);
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to