standalone firefox building now; runtime untested
authorWolfgang Rosenauer <wr@rosenauer.org>
Wed, 13 Apr 2011 13:13:26 +0200
changeset 263 64adf7ca3005
parent 262 b680975515e0
child 264 73231d44ef1f
standalone firefox building now; runtime untested
MozillaFirefox/MozillaFirefox.changes
MozillaFirefox/MozillaFirefox.spec
MozillaFirefox/create-tar.sh
MozillaFirefox/firefox-libxulsdk-locales.patch
MozillaFirefox/firefox-lockdown.js
MozillaFirefox/firefox-ui-lockdown.patch
MozillaFirefox/firefox.schemas
--- a/MozillaFirefox/MozillaFirefox.changes	Tue Apr 12 19:43:33 2011 +0200
+++ b/MozillaFirefox/MozillaFirefox.changes	Wed Apr 13 13:13:26 2011 +0200
@@ -1,3 +1,11 @@
+-------------------------------------------------------------------
+Wed Apr 13 05:41:13 UTC 2011 - wr@rosenauer.org
+
+- update to 4.2a-20110411
+- transformed to standalone Firefox (not xulrunner based)
+  (with new Firefox rapid release cycle it makes no sense anymore)
+  * imported all relevant xulrunner patches
+
 -------------------------------------------------------------------
 Wed Mar 30 11:24:36 UTC 2011 - wr@rosenauer.org
 
--- a/MozillaFirefox/MozillaFirefox.spec	Tue Apr 12 19:43:33 2011 +0200
+++ b/MozillaFirefox/MozillaFirefox.spec	Wed Apr 13 13:13:26 2011 +0200
@@ -20,30 +20,29 @@
 
 %define major 4
 %define mainver %major.2
-%define use_xulrunner 1
-%define xulrunner mozilla-xulrunner22
 
 Name:           MozillaFirefox
-BuildRequires:  autoconf213 gcc-c++ libcurl-devel libgnomeui-devel libidl-devel libnotify-devel python unzip update-desktop-files zip fdupes Mesa-devel yasm libproxy-devel
+BuildRequires:  autoconf213 gcc-c++ libcurl-devel libgnomeui-devel libidl-devel libnotify-devel python unzip update-desktop-files zip fdupes Mesa-devel yasm
 %if %suse_version > 1110
 BuildRequires:  libiw-devel
+BuildRequires:  libproxy-devel
 %else
 BuildRequires:  wireless-tools
 %endif
-%if 0%{?use_xulrunner}
-BuildRequires:  %{xulrunner}-devel = 2.2a
-%else
 BuildRequires:  mozilla-nspr-devel >= 4.8.6
 BuildRequires:  mozilla-nss-devel >= 3.12.8
 BuildRequires:  nss-shared-helper-devel
-%endif
 License:        MPLv1.1 or GPLv2+ or LGPLv2+
 Version:        %{mainver}a
 Release:        1
+%define         releasedate 2011041100
 Provides:       web_browser
 Provides:       firefox = %{version}-%{release}
 Provides:       firefox = %{mainver}
-%define         releasedate 2011041100
+# this is needed to match this package with the kde4 helper package without the main package
+# having a hard requirement on the kde4 package
+%define kde_helper_version 6
+Provides:       mozilla-kde4-version = %{kde_helper_version}
 Summary:        Mozilla Firefox Web Browser
 Url:            http://www.mozilla.org/
 Group:          Productivity/Networking/Web/Browsers
@@ -52,11 +51,9 @@
 Source2:        MozillaFirefox-rpmlintrc
 Source3:        mozilla.sh.in
 Source4:        find-external-requires.sh
-Source5:        firefox.schemas
 Source6:        kde.js
 Source7:        l10n-%{version}.tar.bz2
 Source8:        firefox-mimeinfo.xml
-Source9:        firefox-lockdown.js
 Source10:       compare-locales.tar.bz2
 Source11:       firefox.1
 Source12:       mozilla-get-app-id
@@ -79,9 +76,7 @@
 Patch32:        firefox-cross-desktop.patch
 Patch33:        firefox-kde.patch
 Patch34:        firefox-kde-114.patch
-Patch35:        firefox-ui-lockdown.patch
 Patch36:        firefox-no-sync-l10n.patch
-Patch37:        firefox-libxulsdk-locales.patch
 Patch38:        firefox-no-default-ualocale.patch
 Patch39:        firefox-multilocale-chrome.patch
 Patch40:        firefox-shellservice.patch
@@ -89,17 +84,8 @@
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Requires(post):   coreutils shared-mime-info desktop-file-utils
 Requires(postun): shared-mime-info desktop-file-utils
-%if 0%{?use_xulrunner}
-Requires:       %{xulrunner} >= %(rpm -q --queryformat '%{VERSION}-%{RELEASE}' %{xulrunner})
-%requires_eq    %{xulrunner}
-%ifarch %ix86
-Requires:       %{xulrunner}-32bit >= %(rpm -q --queryformat '%{VERSION}-%{RELEASE}' %{xulrunner})
-Requires:       %{xulrunner}-32bit = %(rpm -q --queryformat '%{VERSION}' %{xulrunner})
-%endif
-%else
 Requires:       mozilla-nspr >= %(rpm -q --queryformat '%{VERSION}' mozilla-nspr)
 Requires:       mozilla-nss >= %(rpm -q --queryformat '%{VERSION}' mozilla-nss)
-%endif
 Requires:       %{name}-branding >= 4.0
 %define firefox_appid \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\}
 %define _use_internal_dependency_generator 0
@@ -181,7 +167,6 @@
 #BRAND: default homepage and some other default configuration options
 #BRAND: /usr/lib/firefox/defaults/profile/bookmarks.html that contains
 #BRAND: the list of default bookmarks
-#BRAND: /etc/gconf/schemas/firefox.schemas
 #BRAND: for mapping some Firefox prefs to gconf
 #BRAND: It's also possible to create a file
 #BRAND: /usr/lib/firefox/defaults/preferences/firefox-$vendor.js to set
@@ -192,7 +177,7 @@
 This package provides upstream look and feel for MozillaFirefox.
 
 
-%if %crashreporter && !0%{?use_xulrunner}
+%if %crashreporter
 %package buildsymbols
 License:        MPLv1.1 or GPLv2+ or LGPLv2+
 Summary:        Breakpad buildsymbols for %{name}
@@ -229,22 +214,18 @@
 %if %suse_version >= 1140
 %patch34 -p1
 %endif
-#%patch35 -p1
 %patch36 -p1
-%patch37 -p1
 %patch38 -p1
 %patch39 -p1
 %patch40 -p1
 %patch41 -p1
 
 %build
-%if !0%{?use_xulrunner}
 kdehelperversion=$(cat toolkit/xre/nsKDEUtils.cpp | grep '#define KMOZILLAHELPER_VERSION' | cut -d ' ' -f 3)
 if test "$kdehelperversion" != %{kde_helper_version}; then
   echo fix kde helper version in the .spec file
   exit 1
 fi
-%endif
 export MOZ_BUILD_DATE=%{releasedate}
 export MOZILLA_OFFICIAL=1
 export BUILD_OFFICIAL=1
@@ -254,7 +235,6 @@
 %endif
 export CXXFLAGS="$CFLAGS"
 export MOZCONFIG=$RPM_BUILD_DIR/mozconfig
-SDKDIR=$(pkg-config --variable=sdkdir libxul)
 cat << EOF > $MOZCONFIG
 mk_add_options MOZILLA_OFFICIAL=1
 mk_add_options BUILD_OFFICIAL=1
@@ -269,19 +249,20 @@
 ac_add_options --with-system-nspr
 ac_add_options --with-system-nss
 ac_add_options --with-l10n-base=$RPM_BUILD_DIR/l10n
-ac_add_options --with-system-jpeg
+#ac_add_options --with-system-jpeg    # libjpeg-turbo is used internally
 #ac_add_options --with-system-png     # doesn't work because of missing APNG support
 ac_add_options --with-system-zlib
 ac_add_options --disable-installer
 ac_add_options --disable-updater
 ac_add_options --disable-tests
 ac_add_options --disable-debug
+ac_add_options --enable-chrome-format=jar
 #ac_add_options --enable-update-channel=beta
 EOF
-%if 0%{?use_xulrunner}
+%if %suse_version > 1130
 cat << EOF >> $MOZCONFIG
-ac_add_options --with-libxul-sdk=$SDKDIR
-ac_add_options --enable-chrome-format=jar
+ac_add_options --disable-gnomevfs
+ac_add_options --enable-gio
 EOF
 %endif
 %if %branding
@@ -308,9 +289,7 @@
 
 %install
 cd $RPM_BUILD_DIR/obj
-# FIXME (will be needed once lockdown is integrated; needs omni.jar adoption)
-#cp %{SOURCE9} dist/bin/defaults/preferences/lockdown.js
-rm dist/bin/defaults/preferences/firefox-l10n.js
+rm dist/bin/defaults/pref/firefox-l10n.js
 make -C browser/installer STRIP=/bin/true
 # copy tree into RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT/%{progdir}
@@ -320,6 +299,10 @@
 find $RPM_BUILD_ROOT%{progdir} \
      -name "*.js" -o -name "*.jsm" -o -name "*.rdf" | xargs chmod a-x
 mkdir -p $RPM_BUILD_ROOT%{progdir}/searchplugins
+# install add-plugins.sh
+sed "s:%%PROGDIR:%{progdir}:g" \
+  %{SOURCE13} > $RPM_BUILD_ROOT%{progdir}/add-plugins.sh
+chmod 755 $RPM_BUILD_ROOT%{progdir}/add-plugins.sh
 # install additional locales
 %if %localize
 rm -f %{_tmppath}/translations.*
@@ -394,6 +377,8 @@
 rm -f $RPM_BUILD_ROOT%{progdir}/run-mozilla.sh
 rm -f $RPM_BUILD_ROOT%{progdir}/LICENSE
 rm -f $RPM_BUILD_ROOT%{progdir}/precomplete
+rm -f $RPM_BUILD_ROOT%{progdir}/dictionaries/en-US*
+rm -f $RPM_BUILD_ROOT%{progdir}/firefox
 # devel
 mkdir -p %{buildroot}%{_bindir}
 install -m 755 %SOURCE12 %{buildroot}%{_bindir}
@@ -405,8 +390,6 @@
 %%firefox_version            %{version}
 %%firefox_mainver            %{mainver}
 %%firefox_mozillapath        %%{_libdir}/%{progname}
-%%firefox_xulrunner          %{xulrunner}
-%%firefox_xulrunner_version  %(rpm -q --queryformat '%{VERSION}' %{xulrunner})
 %%firefox_pluginsdir         %%{_libdir}/browser-plugins
 %%firefox_appid              \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\}
 %%firefox_extdir             %%(if [ "%%_target_cpu" = "noarch" ]; then echo %%{_datadir}/mozilla/extensions/%%{firefox_appid}; else echo %%{_libdir}/mozilla/extensions/%%{firefox_appid}; fi)
@@ -426,6 +409,18 @@
 # fdupes
 %fdupes $RPM_BUILD_ROOT%{progdir}
 %fdupes $RPM_BUILD_ROOT%{_datadir}
+# create breakpad debugsymbols
+%if %crashreporter
+SYMBOLS_NAME="firefox-%{version}-%{release}.%{_arch}-%{suse_version}-symbols"
+make buildsymbols \
+  SYMBOL_INDEX_NAME="$SYMBOLS_NAME.txt" \
+  SYMBOL_FULL_ARCHIVE_BASENAME="$SYMBOLS_NAME-full" \
+  SYMBOL_ARCHIVE_BASENAME="$SYMBOLS_NAME"
+if [ -e dist/*symbols.zip ]; then
+  mkdir -p $RPM_BUILD_ROOT%{_datadir}/mozilla/
+  cp dist/*symbols.zip $RPM_BUILD_ROOT%{_datadir}/mozilla/
+fi
+%endif
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -447,6 +442,7 @@
   usr/bin/update-desktop-database > /dev/null || :
 fi
 %endif
+%{progdir}/add-plugins.sh > /dev/null 2>&1
 exit 0
 
 %postun
@@ -464,12 +460,23 @@
 %endif
 exit 0
 
+%posttrans
+[ -e %{progdir}/add-plugins.sh ] && \
+  %{progdir}/add-plugins.sh > /dev/null 2>&1
+exit 0
+
+%preun
+rm -f %{progdir}/dictionaries/*
+exit 0
+
 %files
 %defattr(-,root,root)
 %dir %{progdir}
 %dir %{progdir}/chrome/
 %dir %{progdir}/distribution/
 %{progdir}/chrome/browser.*
+%{progdir}/chrome/pippki.*
+%{progdir}/chrome/toolkit.*
 %{progdir}/chrome/localized.manifest
 %{progdir}/chrome/nonlocalized.manifest
 %{progdir}/chrome/en-US.*
@@ -477,18 +484,30 @@
 %{progdir}/components/
 %exclude %{progdir}/defaults/profile/bookmarks.html
 %{progdir}/defaults/
+%{progdir}/dictionaries/
 %dir %{progdir}/extensions/
 %{progdir}/distribution/extensions/
 %{progdir}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
 %{progdir}/icons/
 %{progdir}/modules/
+%{progdir}/res/
 %{progdir}/searchplugins/
 %attr(755,root,root) %{progdir}/%{progname}.sh
-%{progdir}/firefox
+%{progdir}/Throbber-small.gif
+%{progdir}/firefox-bin
+%{progdir}/add-plugins.sh
 %{progdir}/application.ini
 %{progdir}/blocklist.xml
+%{progdir}/dependentlibs.list
+%{progdir}/greprefs.js
+%{progdir}/*.so
+%{progdir}/mozilla-xremote-client
+%{progdir}/platform.ini
+%{progdir}/plugin-container
 %if %crashreporter
 %{progdir}/crashreporter-override.ini
+%{progdir}/crashreporter
+%{progdir}/crashreporter.ini
 %endif
 %{progdir}/chrome.manifest
 %{_datadir}/applications/%{desktop_file_name}.desktop
@@ -529,4 +548,10 @@
 %dir %{progdir}/defaults/
 %{progdir}/defaults/profile/bookmarks.html
 
+%if %crashreporter
+%files buildsymbols
+%defattr(-,root,root)
+%{_datadir}/mozilla/*.zip
+%endif
+
 %changelog
--- a/MozillaFirefox/create-tar.sh	Tue Apr 12 19:43:33 2011 +0200
+++ b/MozillaFirefox/create-tar.sh	Wed Apr 13 13:13:26 2011 +0200
@@ -1,8 +1,8 @@
 #!/bin/bash
 
-BRANCH="mozilla-central"
+BRANCH="mozilla-aurora"
 RELEASE_TAG="default"
-VERSION="4.2a"
+VERSION="5.0a"
 
 # mozilla
 hg clone http://hg.mozilla.org/$BRANCH mozilla
--- a/MozillaFirefox/firefox-libxulsdk-locales.patch	Tue Apr 12 19:43:33 2011 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-../firefox-libxulsdk-locales.patch
\ No newline at end of file
--- a/MozillaFirefox/firefox-lockdown.js	Tue Apr 12 19:43:33 2011 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-pref("config.lockdown.printsetup", false);
-pref("config.lockdown.savepage", false);
-pref("config.lockdown.hidebookmark", false);
-pref("config.lockdown.bookmark", false);
-pref("config.lockdown.history", false);
-pref("config.lockdown.history.set", false);
-pref("config.lockdown.urlbar", false);
-pref("config.lockdown.searchbar", false);
-pref("config.lockdown.toolbarediting", false);
--- a/MozillaFirefox/firefox-ui-lockdown.patch	Tue Apr 12 19:43:33 2011 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-../firefox-ui-lockdown.patch
\ No newline at end of file
--- a/MozillaFirefox/firefox.schemas	Tue Apr 12 19:43:33 2011 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,289 +0,0 @@
-<gconfschemafile>
-    <schemalist>
-      <schema>
-        <key>/schemas/apps/firefox/lockdown/disable_history</key>
-        <applyto>/apps/firefox/lockdown/disable_history</applyto>
-        <owner>firefox</owner>
-        <type>bool</type>
-        <default>false</default>
-        <locale name="C">
-        <short>Disable the browser history</short>
-        <long>Prevent the browser from keeping a history of visited sites</long>
-        </locale>
-      </schema>
-     <schema>
-        <key>/schemas/apps/firefox/lockdown/disable_toolbar_editing</key>
-        <applyto>/apps/firefox/lockdown/disable_toolbar_editing</applyto>
-        <owner>firefox</owner>
-        <type>bool</type>
-        <default>false</default>
-        <locale name="C">
-        <short>Disable toolbar editing</short>
-        <long>Prevent the user from editing the toolbar</long>
-        </locale>
-      </schema>
-       <schema>
-        <key>/schemas/apps/firefox/lockdown/disable_themes</key>
-        <applyto>/apps/firefox/lockdown/disable_themes</applyto>
-        <owner>firefox</owner>
-        <type>bool</type>
-        <default>false</default>
-        <locale name="C">
-        <short>Disable installing themes</short>
-        <long>To prevent the user from installing themes</long>
-        </locale>
-      </schema>
-      <schema>
-        <key>/schemas/apps/firefox/lockdown/disable_extensions</key>
-        <applyto>/apps/firefox/lockdown/disable_extensions</applyto>
-        <owner>firefox</owner>
-        <type>bool</type>
-        <default>false</default>
-        <locale name="C">
-        <short>Disable installing extensions</short>
-        <long>Prevent the user from installing extensions</long>
-        </locale>
-       </schema>
-     <schema>
-        <key>/schemas/apps/firefox/web/disable_popups</key>
-        <applyto>/apps/firefox/web/disable_popups</applyto>
-        <owner>firefox</owner>
-        <type>bool</type>
-        <default>false</default>
-        <locale name="C">
-        <short>Enable popup blocker</short>
-        <long>Enable popup blocker without warning about blocked popups</long>
-        </locale>
-      </schema>
-     <schema>
-        <key>/schemas/apps/firefox/web/java_enabled</key>
-        <applyto>/apps/firefox/web/java_enabled</applyto>
-        <owner>firefox</owner>
-        <type>bool</type>
-        <default>true</default>
-        <locale name="C">
-        <short>Enable java</short>
-        <long>Enable java</long>
-        </locale>
-      </schema>
-     <schema>
-        <key>/schemas/apps/firefox/web/javascript_enabled</key>
-        <applyto>/apps/firefox/web/javascript_enabled</applyto>
-        <owner>firefox</owner>
-        <type>bool</type>
-        <default>true</default>
-        <locale name="C">
-        <short>Enable javascript</short>
-        <long>Enable javascript</long>
-        </locale>
-      </schema>
-     <schema>
-        <key>/schemas/apps/firefox/lockdown/disable_url_bar</key>
-        <applyto>/apps/firefox/lockdown/disable_url_bar</applyto>
-        <owner>firefox</owner>
-        <type>bool</type>
-        <default>false</default>
-        <locale name="C">
-        <short>Disable location bar</short>
-        <long>Prevent the user from entering URLs in the location bar</long>
-        </locale>
-      </schema>
-     <schema>
-        <key>/schemas/apps/firefox/lockdown/disable_searchbar</key>
-        <applyto>/apps/firefox/lockdown/disable_searchbar</applyto>
-        <owner>firefox</owner>
-        <type>bool</type>
-        <default>false</default>
-        <locale name="C">
-        <short>Disable search bar</short>
-        <long>Prevent the user from using the search bar</long>
-        </locale>
-      </schema>
-     <schema>
-        <key>/schemas/apps/firefox/web/disable_cookies</key>
-        <applyto>/apps/firefox/web/disable_cookies</applyto>
-        <owner>firefox</owner>
-        <type>bool</type>
-        <default>false</default>
-        <locale name="C">
-        <short>Disable cookies</short>
-        <long>Prevent the browser from storing cookies</long>
-        </locale>
-      </schema>
-     <schema>
-        <key>/schemas/apps/firefox/web/disable_save_password</key>
-        <applyto>/apps/firefox/web/disable_save_password</applyto>
-        <owner>firefox</owner>
-        <type>bool</type>
-        <default>false</default>
-        <locale name="C">
-        <short>Disable saved passwords</short>
-        <long>Prevent the browser from storing saved passwords</long>
-        </locale>
-      </schema>
-     <schema>
-        <key>/schemas/apps/firefox/web/cache_size</key>
-        <applyto>/apps/firefox/web/cache_size</applyto>
-        <owner>firefox</owner>
-        <type>int</type>
-        <default>50000</default>
-        <locale name="C">
-        <short>Disk cache size in KB</short>
-        <long>Disk cache size in KB</long>
-        </locale>
-      </schema>
-     <schema>
-        <key>/schemas/apps/firefox/general/homepage_url</key>
-        <applyto>/apps/firefox/general/homepage_url</applyto>
-        <owner>firefox</owner>
-        <type>string</type>
-        <default>www.novell.com/linux</default>
-        <locale name="C">
-        <short>Home Page URL</short>
-        <long>Home Page URL</long>
-        </locale>
-      </schema>
-      <schema>
-        <key>/schemas/apps/firefox/web/download_defaultfolder</key>
-        <applyto>/apps/firefox/web/download_defaultfolder</applyto>
-        <owner>firefox</owner>
-        <type>string</type>
-        <default>Desktop</default>
-        <locale name="C">
-        <short>Default download location</short>
-        <long>Default download location.  Possible values include: "Desktop", "My Downloads", and "Home"</long>
-        </locale>
-      </schema>
-     <schema>
-        <key>/schemas/apps/firefox/lockdown/disable_unsafe_protocol</key>
-        <applyto>/apps/firefox/lockdown/disable_unsafe_protocol</applyto>
-        <owner>firefox</owner>
-        <type>bool</type>
-        <default>false</default>
-        <locale name="C">
-        <short>Disable unsafe protocols</short>
-        <long>Disable non-builtin protocols not explicitly enabled</long>
-        </locale>
-      </schema>
-     <schema>
-        <key>/schemas/apps/firefox/lockdown/disable_bookmark_editing</key>
-        <applyto>/apps/firefox/lockdown/disable_bookmark_editing</applyto>
-        <owner>firefox</owner>
-        <type>bool</type>
-        <default>false</default>
-        <locale name="C">
-        <short>Disable editing bookmarks</short>
-        <long>Prevent the user from editing browser bookmarks</long>
-        </locale>
-      </schema>
-     <schema>
-        <key>/schemas/apps/firefox/lockdown/hide_bookmark</key>
-        <applyto>/apps/firefox/lockdown/hide_bookmark</applyto>
-        <owner>firefox</owner>
-        <type>bool</type>
-        <default>false</default>
-        <locale name="C">
-        <short>Disable bookmarks feature</short>
-        <long>Prevent the user from editing or viewing bookmarks</long>
-        </locale>
-      </schema>
-     <schema>
-        <key>/schemas/apps/firefox/lockdown/disable_show_passwords</key>
-        <applyto>/apps/firefox/lockdown/disable_show_passwords</applyto>
-        <owner>firefox</owner>
-        <type>bool</type>
-        <default>false</default>
-        <locale name="C">
-        <short>Disable display of stored web passwords</short>
-        <long>Disable plain text display of stored web passwords in Preferences dialog</long>
-        </locale>
-      </schema>
-     <schema>
-        <key>/schemas/apps/firefox/lockdown/disable_javascript_chrome</key>
-        <applyto>/apps/firefox/lockdown/disable_javascript_chrome</applyto>
-        <owner>firefox</owner>
-        <type>bool</type>
-        <default>false</default>
-        <locale name="C">
-        <short>Prevent javascript windows from hiding chrome</short>
-        <long>Prevent windows opened by javascript from hiding window chrome (location bar, status bar, etc.)</long>
-        </locale>
-      </schema>
-	<schema>
-        <key>/schemas/apps/firefox/web/cookie_accept</key>
-        <applyto>/apps/firefox/web/cookie_accept</applyto>
-        <owner>firefox</owner>
-        <type>int</type>
-        <default>0</default>
-        <locale name="C">
-        <short>Cookie Lifetime Policy</short>
-        <long>Cookie Lifetime Policy: 0 = Accept cookies normally; 1 = Prompt for each cookie; 2 = Accept for current session only; 3 = Accept for N days</long>
-        </locale>
-      </schema>
-        <schema>
-        <key>/schemas/apps/firefox/web/images_load</key>
-        <applyto>/apps/firefox/web/images_load</applyto>
-        <owner>firefox</owner>
-        <type>int</type>
-        <default>0</default>
-        <locale name="C">
-        <short>Image loading policy</short>
-        <long>Image loading policy: 0 = load all images; 1 = exclude third-party image loading; 2 = exclude all image loading</long>
-        </locale>
-      </schema>
-     <schema>
-        <key>/schemas/apps/firefox/lockdown/additional_safe_protocols</key>
-        <applyto>/apps/firefox/lockdown/additional_safe_protocols</applyto>
-        <owner>firefox</owner>
-        <type>string</type>
-        <default></default>
-        <locale name="C">
-        <short>Additional Safe Protocols</short>
-        <long>Additional Safe Protocols</long>
-        </locale>
-      </schema>
-     <schema>
-        <key>/schemas/apps/firefox/general/trusted_URIs</key>
-        <applyto>/apps/firefox/general/trusted_URIs</applyto>
-        <owner>firefox</owner>
-        <type>list</type>
-        <list_type>string</list_type>
-        <default>[]</default>
-        <locale name="C">
-        <short>List of URIs for which Kerberos/NTLM is enabled</short>
-        <long>A comma-separated list of URI keys, of the form
-         [scheme "://"] [host [":" port]], for which login should be allowed
-         via SPNEGO Kerberos or NTLM authentication.
-        </long>
-        </locale>
-      </schema>
-     <schema>
-        <key>/schemas/apps/firefox/general/delegated_URIs</key>
-        <applyto>/apps/firefox/general/delegated_URIs</applyto>
-        <owner>firefox</owner>
-        <type>list</type>
-        <list_type>string</list_type>
-        <default>[]</default>
-        <locale name="C">
-        <short>List of URIs for which Kerberos/NTLM delegation is enabled</short>
-        <long>A comma-separated list of URI keys, of the form
-         [scheme "://"] [host [":" port]], for which delegation should be allowed
-         using SPNEGO Kerberos or NTLM authentication.
-        </long>
-        </locale>
-      </schema>
-      <schema>
-        <key>/schemas/apps/firefox/general/allowed_indirect_gnomevfs_loads</key>
-        <applyto>/apps/firefox/general/allowed_indirect_gnomevfs_loads</applyto>
-        <owner>firefox</owner>
-        <type>string</type>
-        <default>""</default>
-        <locale name="C">
-          <short>A list of protocols, handled by gnome-vfs, that are permitted</short>
-          <long>A comma-separated list of protocols, handled by
-          gnome-vfs and of the form [scheme "://"], whose loads are
-          allowed.</long>
-        </locale>
-      </schema>
-    </schemalist>
-</gconfschemafile>