wok-6.x rev 14210

Up: firefox (17.0.4esr)
author Dominique Corbex <domcox@slitaz.org>
date Sat Mar 16 21:28:06 2013 +0100 (2013-03-16)
parents 556064456fb8
children ae7d609d0002
files firefox/receipt firefox/stuff/README firefox/stuff/browserconfig.properties firefox/stuff/distribution.ini firefox/stuff/firefox-branding.js firefox/stuff/firefox-install-dir.patch firefox/stuff/firefox-l10n.js firefox/stuff/firefox.mozconfig firefox/stuff/mozconfig firefox/stuff/mozilla-firefox-1.0-lang.patch firefox/stuff/prefs.js firefox/stuff/userChrome.css
line diff
     1.1 --- a/firefox/receipt	Sat Mar 16 12:23:09 2013 +0000
     1.2 +++ b/firefox/receipt	Sat Mar 16 21:28:06 2013 +0100
     1.3 @@ -1,124 +1,137 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="firefox"
     1.7 -VERSION="10.0.2"
     1.8 +VERSION="17.0.4esr"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="User friendly, secure and fast web browser."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  TARBALL="$PACKAGE-$VERSION.source.tar.bz2"
    1.13 -WEB_SITE="http://www.mozilla.org/"
    1.14 -#WGET_URL="http://releases.mozilla.org/pub/mozilla.org/firefox/releases/$VERSION/source/$TARBALL"
    1.15 +WEB_SITE="http://www.mozilla.org/firefox"
    1.16  WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$VERSION/source/$TARBALL"
    1.17 -CONFIG_FILES="/etc/firefox"
    1.18  TAGS="browser"
    1.19  
    1.20  DEPENDS="gtk+ sqlite dbus dbus-glib glib jpeg xorg-libX11 xorg-libXdamage \
    1.21 -alsa-lib xorg-libXt libfirefox libevent libvpx"
    1.22 +alsa-lib xorg-libXt libevent libvpx pango nss sqlite libfirefox \
    1.23 +gstreamer gst-plugins-base"
    1.24  BUILD_DEPENDS="zip libIDL coreutils findutils wireless_tools-dev \
    1.25  perl python yasm alsa-lib-dev mesa-dev libevent-dev libvpx-dev dbus-dev \
    1.26 -dbus-glib-dev gtk+-dev glib-dev"
    1.27 +dbus-glib-dev gtk+-dev glib-dev pango-dev nss-dev sqlite-dev tar gzip \
    1.28 +gstreamer-dev gst-plugins-base-dev"
    1.29  
    1.30  # Rules to configure and make the package.
    1.31  #
    1.32  # A long compile time... dont forget to build libidl before and check the
    1.33  # .mozconfig file from the stuff and the stuff/README document.
    1.34  #
    1.35 +# WARNING: 1GB RAM minimum. Additional RAM will significantly decrease
    1.36 +# build time.
    1.37 +# At least 2.5 GB free disk space
    1.38 +
    1.39  compile_rules()
    1.40  {
    1.41 -	cp -a $stuff/firefox.mozconfig $src/.mozconfig
    1.42  	cd $src
    1.43 -	patch -Np1 -i $stuff/mozilla-firefox-1.0-lang.patch
    1.44 -	patch -Np1 -i $stuff/firefox-install-dir.patch
    1.45 +	# load mozconfig
    1.46 +	cp -a $stuff/mozconfig $src
    1.47  
    1.48 -	# Fix PRE_RELEASE_SUFFIX
    1.49 -	sed -i '/^PRE_RELEASE_SUFFIX := ""/s/ ""//' \
    1.50 -		browser/base/Makefile.in
    1.51 +	# build firefox and create a firefox tarball
    1.52 +	# reducing log size: hide c++, nsinstall, python msgs
    1.53 +	# Exception... Component returned failure code: known bug #696763
    1.54 +	make -f client.mk | egrep -v "c++|nsinstall|python" &&
    1.55 +	make -C obj-firefox/browser/installer
    1.56  
    1.57 -	# Don't generate startup cache. Unbreaks build
    1.58 -	sed -i 's/^GENERATE_CACHE ?=.*/GENERATE_CACHE = true/' \
    1.59 -		toolkit/mozapps/installer/packager.mk
    1.60 -	./configure $CONFIGURE_ARGS &&
    1.61 -	make $MAKEFLAGS &&
    1.62 -	make DESTDIR=$DESTDIR install &&
    1.63 -	cp -a xpcom/typelib $DESTDIR
    1.64 +	# install
    1.65 +	# locate tarball
    1.66 +	local tarball tarpath fn1 fn2
    1.67 +	tarpath=$src/obj-firefox/dist
    1.68 +	fn1="$tarpath/firefox-${VERSION%esr}.en-US.linux-$ARCH.tar.bz2"
    1.69 +	fn2="$tarpath/firefox-${VERSION%esr}.en-US.linux-$(uname -m).tar.bz2"
    1.70 +	[ -e "$fn1" ] && tarball="$fn1" && echo "$ARCH tarball found"
    1.71 +	[ -e "$fn2" ] && tarball="$fn2" && echo "$(uname -m) tarball found"
    1.72 +	[ -z "$tarball" ] && echo "ERROR: tarball not found" && exit 1
    1.73 +	# extract tarball
    1.74 +	mkdir -p $install/usr/lib/firefox-$VERSION &&
    1.75 +	tar -xvf $tarball -C $install/usr/lib/firefox-$VERSION \
    1.76 +		--strip-components=1 &&
    1.77 +	chown -R -v root:root $install/usr/lib/firefox-$VERSION &&
    1.78 +	chmod -v 755 $install/usr/lib/firefox-$VERSION/libxpcom.so &&
    1.79 +	# install symlink in /usr/bin
    1.80 +	mkdir -p $install/usr/bin &&
    1.81 +	ln -sf ../lib/firefox-$VERSION/firefox $install/usr/bin &&
    1.82 +	# install symlink for plugins
    1.83 +	mkdir -p $install/usr/lib/mozilla/plugins &&
    1.84 +	ln -sf ../mozilla/plugins $install/usr/lib/firefox-$VERSION
    1.85  }
    1.86  
    1.87  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.88  genpkg_rules()
    1.89  {
    1.90 -	mkdir -p $fs/usr/lib/$PACKAGE \
    1.91 -		$fs/usr/share $fs/etc/$PACKAGE/profile/chrome
    1.92 +	# program
    1.93 +	printf "Installing program.."
    1.94 +	mkdir -p $fs/usr/lib &&
    1.95 +	cp -a $install/usr/lib/$PACKAGE-$VERSION $fs/usr/lib &&
    1.96 +	cp -a $install/usr/lib/mozilla $fs/usr/lib &&
    1.97  	cp -a $install/usr/bin $fs/usr
    1.98 -	cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
    1.99 +	status
   1.100  
   1.101 -	# Home page, bookmarks file and branding.
   1.102 -	cp -a $stuff/browserconfig.properties $fs/etc/$PACKAGE
   1.103 -	cp -a $stuff/bookmarks.html \
   1.104 -		$fs/etc/$PACKAGE/profile
   1.105 -	mkdir -p $fs/etc/$PACKAGE/pref
   1.106 -	cp -a $stuff/firefox-branding.js \
   1.107 -		$fs/etc/$PACKAGE/pref/firefox.js
   1.108 +	# search Plugin (by: oddball)
   1.109 +	printf "Installing SliTaz search plugins.."
   1.110 +	cp -a $stuff/searchplugins $fs/usr/lib/$PACKAGE-$VERSION
   1.111 +	status
   1.112  
   1.113 -	# User preference.
   1.114 -	cp -a $stuff/prefs.js $fs/etc/$PACKAGE/profile
   1.115 -	cp -a $stuff/userChrome.css \
   1.116 -		$fs/etc/$PACKAGE/profile/chrome
   1.117 +	# prefs
   1.118 +	printf "Installing SliTaz preferences.."
   1.119 +	mkdir -p $fs/usr/lib/$PACKAGE-$VERSION/distribution &&
   1.120 +	cp -a $stuff/distribution.ini $fs/usr/lib/$PACKAGE-$VERSION/distribution
   1.121 +	status
   1.122  
   1.123 -	# added firefox-l10n.js to stuff to make sure its copyed for langpacks
   1.124 -	cp -a $stuff/firefox-l10n.js \
   1.125 -		$fs/etc/$PACKAGE/pref/firefox-l10n.js
   1.126 +	# mozilla-common files
   1.127 +	# dictionaries
   1.128 +	printf "Installing common dictionnaries.."
   1.129 +	rm -rf $fs/usr/lib/$PACKAGE-$VERSION/dictionaries &&
   1.130 +	ln -sf ../mozilla-common-$VERSION/dictionaries \
   1.131 +		$fs/usr/lib/$PACKAGE-$VERSION/dictionaries
   1.132 +	status
   1.133 +	# plugin-container
   1.134 +	printf "Installing common plugin-container"
   1.135 +	rm -f $fs/usr/lib/$PACKAGE-$VERSION/plugin-container &&
   1.136 +	ln -sf ../mozilla-common-$VERSION/plugin-container \
   1.137 +		$fs/usr/lib/$PACKAGE-$VERSION/plugin-container
   1.138 +	status
   1.139 +	# mozilla-xremote-client
   1.140 +	printf "Installing common mozilla-xremote-client"
   1.141 +	rm -f $fs/usr/lib/$PACKAGE-$VERSION/mozilla-xremote-client &&
   1.142 +	ln -sf ../mozilla-common-$VERSION/mozilla-xremote-client \
   1.143 +		$fs/usr/lib/$PACKAGE-$VERSION/mozilla-xremote-client
   1.144 +	status
   1.145 +	# components/libdbusservice.so
   1.146 +	# components/libmozgnome.so
   1.147 +	for file in libdbusservice.so libmozgnome.so; do
   1.148 +		printf "Installing common components/$file"
   1.149 +		rm -f $fs/usr/lib/$PACKAGE-$VERSION/components/$file &&
   1.150 +		ln -sf ../../mozilla-common-$VERSION/components/$file \
   1.151 +			$fs/usr/lib/$PACKAGE-$VERSION/components/$file
   1.152 +		status
   1.153 +	done
   1.154 +	# chrome.manifest
   1.155 +	printf "Installing common chrome.manifest"
   1.156 +	rm -f $fs/usr/lib/$PACKAGE-$VERSION/chrome.manifest &&
   1.157 +	ln -sf ../mozilla-common-$VERSION/chrome.manifest \
   1.158 +		$fs/usr/lib/$PACKAGE-$VERSION/chrome.manifest
   1.159 +	status
   1.160  
   1.161 -	rm -rf $fs/usr/lib/$PACKAGE/defaults
   1.162 +	# run-mozilla.sh
   1.163 +	printf "Installing common run-mozilla.sh"
   1.164 +	rm -f $fs/usr/lib/$PACKAGE-$VERSION/run-mozilla.sh &&
   1.165 +	ln -sf ../mozilla-common-$VERSION/run-mozilla.sh \
   1.166 +		$fs/usr/lib/$PACKAGE-$VERSION/run-mozilla.sh
   1.167 +	status
   1.168  
   1.169 -	ln -sf /etc/$PACKAGE/browserconfig.properties $fs/usr/lib/$PACKAGE
   1.170 -	ln -sf /etc/$PACKAGE $fs/usr/lib/$PACKAGE/defaults
   1.171 +	# libmozalloc.so
   1.172 +	printf "Installing common libmozalloc.so"
   1.173 +	rm -f $fs/usr/lib/$PACKAGE-$VERSION/libmozalloc.so &&
   1.174 +	ln -sf ../mozilla-common-$VERSION/libmozalloc.so \
   1.175 +		$fs/usr/lib/$PACKAGE-$VERSION/libmozalloc.so
   1.176 +	status
   1.177  
   1.178 -	# EULA is accepted by SliTaz project.
   1.179 -	sed -i s:'pref("browser.EULA.3.accepted", false);':'pref("browser.EULA.3.accepted", true);': \
   1.180 -		$fs/etc/firefox/pref/firefox.js
   1.181 -
   1.182 -	# Search Plugin (by: oddball)
   1.183 -	cp -a $stuff/searchplugins $fs/usr/lib/firefox/
   1.184  	chown -R root.root $fs
   1.185 -
   1.186 -	# Remove unnecessary files.
   1.187 -	rm -rf $fs/usr/lib/$PACKAGE/dictionaries/*
   1.188 -	rm -rf $fs/usr/lib/$PACKAGE/icons
   1.189 -	# split firefox libs
   1.190 -	rm -rf $fs/usr/lib/$PACKAGE/*.so
   1.191 -	#retain big firefox libs
   1.192 -	cp -a $install/usr/lib/$PACKAGE/libxul.so \
   1.193 -		$fs/usr/lib/$PACKAGE
   1.194 -	#workaround for now
   1.195 -	#https://bugzilla.mozilla.org/show_bug.cgi?id=658850
   1.196 -	ln -sf firefox $fs/usr/lib/$PACKAGE/firefox-bin
   1.197  }
   1.198 -
   1.199 -# Pre - Post install command to set default locale.
   1.200 -pre_install()
   1.201 -{
   1.202 -	local root
   1.203 -	root=$1
   1.204 -	# Get old plugins
   1.205 -	mkdir /tmp/firefox-plugins-$$
   1.206 -	cp -a $root/usr/lib/firefox/plugins/* /tmp/firefox-plugins-$$ 2> /dev/null
   1.207 -	# Remove old libs and configs
   1.208 -	rm -rf $root/usr/lib/firefox/plugins
   1.209 -	rm -rf $root/usr/lib/firefox/dictionaries
   1.210 -	rm -rf $root/etc/firefox
   1.211 -}
   1.212 -post_install()
   1.213 -{
   1.214 -	local root
   1.215 -	root=$1
   1.216 -	if grep -q "fr_*" $root/etc/locale.conf 2>/dev/null; then
   1.217 -		sed -i 's/en-US/fr/' \
   1.218 -		$root/etc/firefox/pref/firefox-l10n.js
   1.219 -	fi
   1.220 -	for i in /tmp/firefox-plugins-$$/* ; do
   1.221 -		[ -e $i ] || continue
   1.222 -		[ -e /usr/lib/firefox/plugins/$(basename $i) ] && continue
   1.223 -		cp -a $i /usr/lib/firefox/plugins/
   1.224 -	done
   1.225 -	rm -rf /tmp/firefox-plugins-$$
   1.226 -}
     2.1 --- a/firefox/stuff/README	Sat Mar 16 12:23:09 2013 +0000
     2.2 +++ b/firefox/stuff/README	Sat Mar 16 21:28:06 2013 +0100
     2.3 @@ -1,17 +1,13 @@
     2.4  
     2.5 -
     2.6 -We build Firefox from the official Mozila source code, we use a .mozconfig
     2.7 -file to set all configure options. SliTaz firefox.mozconfig is copied in the
     2.8 +We build Firefox from the official Mozila source code, we use a mozconfig
     2.9 +file to set all configure options. SliTaz firefox mozconfig is copied in the
    2.10  mozilla source code with the command 'tazwok cook'. So if you want to make
    2.11 -some changes, edit firefox.mozconfig.
    2.12 +some changes, edit stuff/mozconfig.
    2.13  
    2.14  On SliTaz the Mozilla default icons are removed (65 Ko) and a resized (48x48)
    2.15  mozicon is put in /usr/share/pixmaps.
    2.16  
    2.17 -browserconfig.properties is used to set www.slitaz.org for the default home
    2.18 -page, this file goes in /usr/lib/firefox-$VERSION with the bookmarks file.
    2.19 -
    2.20 -We dont use --enable-official-branding since we dont have any authorization
    2.21 -to use trademarks per http://www.mozilla.org/foundation/trademarks/
    2.22 +distribution.ini is used to set bookmarks and www.slitaz.org for the default
    2.23 +home page, this file goes in /usr/lib/firefox-$VERSION/distribution/
    2.24  
    2.25  - Pankso
     3.1 --- a/firefox/stuff/browserconfig.properties	Sat Mar 16 12:23:09 2013 +0000
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,2 +0,0 @@
     3.4 -browser.startup.homepage=file:///usr/share/webhome/index.html
     3.5 -browser.startup.homepage_reset=file:///usr/share/webhome/index.html
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/firefox/stuff/distribution.ini	Sat Mar 16 21:28:06 2013 +0100
     4.3 @@ -0,0 +1,77 @@
     4.4 +# Partner Distribution Configuration File
     4.5 +
     4.6 +# id: short string unique to this distribution
     4.7 +# about: a short descriptive (ui-visible) string for this
     4.8 +# distribution
     4.9 +# version: version of the extra distribution pieces (not the version
    4.10 +# of Firefox)
    4.11 +
    4.12 +[Global]
    4.13 +id=SliTaz GNU/Linux
    4.14 +version=5.0
    4.15 +about=Distribution Edition
    4.16 +about.fr=Édition pour la distribution
    4.17 +
    4.18 +# This section contains the global js prefs.  You do should not list
    4.19 +# the localized preferences here (see below)
    4.20 +
    4.21 +# Boolean preferences should be 'true' or 'false', w/o quotes.  e.g.:
    4.22 +# my.bool.preference=true
    4.23 +#
    4.24 +# Integer preferences should be unquoted numbers.  e.g.:
    4.25 +# my.int.preference=123
    4.26 +#
    4.27 +# String preferences should be in quotes.  e.g.:
    4.28 +# my.string.preference="foo"
    4.29 +
    4.30 +[Preferences]
    4.31 +# Use LANG environment variable to choose locale
    4.32 +intl.locale.matchOS=true
    4.33 +# disable default browser check
    4.34 +browser.shell.checkDefaultBrowser=false
    4.35 +browser.startup.homepage_override.mstone="ignore"
    4.36 +# disable application updates
    4.37 +app.update.enabled=false
    4.38 +# disables the request to send performance data from displaying
    4.39 +toolkit.telemetry.prompted=2
    4.40 +toolkit.telemetry.rejected=true
    4.41 +
    4.42 +# This section is used as a template for locale-specific properties
    4.43 +# files.  They work similarly to the GlobalPrefs section, except that
    4.44 +# the %LOCALE% string gets substituted with the language string.
    4.45 +#
    4.46 +# This section should only be used for localized string preferences.
    4.47 +# Other preference types will not work.
    4.48 +
    4.49 +[LocalizablePreferences]
    4.50 +browser.startup.homepage="file:///usr/share/webhome/index.html"
    4.51 +
    4.52 +
    4.53 +# Bookmarks
    4.54 +
    4.55 +# There are two "toplevel" sections, BookmarksToolbar and BookmarksMenu.
    4.56 +# These can reference other sections via the "folder" type item.  These
    4.57 +# folder sections must be named "BookmarksFolder-<id>".
    4.58 +
    4.59 +# Each section contains a list of numbered item settings, where each
    4.60 +# item represents a bookmark, livemark, separator, folder, or the default
    4.61 +# bookmarks in that container (if any).  The default type is bookmark.
    4.62 +
    4.63 +[BookmarksToolbar]
    4.64 +
    4.65 +[BookmarksMenu]
    4.66 +item.1.type=folder
    4.67 +item.1.title=SliTaz GNU/Linux
    4.68 +item.1.folderId=1
    4.69 +
    4.70 +[BookmarksFolder-1]
    4.71 +item.1.title=SliTaz Website
    4.72 +item.1.link=http://www.slitaz.org/
    4.73 +item.2.type=separator
    4.74 +item.3.title=SliTaz Community Forum
    4.75 +item.3.link=http://forum.slitaz.org/
    4.76 +item.4.type=separator
    4.77 +item.5.title=SliTaz on Twitter
    4.78 +item.5.link=http://twitter.com/slitaz
    4.79 +item.6.title=SliTaz on DistroWatch
    4.80 +item.6.link=http://distrowatch.com/table.php?distribution=slitaz
     5.1 --- a/firefox/stuff/firefox-branding.js	Sat Mar 16 12:23:09 2013 +0000
     5.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.3 @@ -1,16 +0,0 @@
     5.4 -pref("startup.homepage_override_url","http://www.mozilla.com/%APP%/%VERSION%/whatsnew/");
     5.5 -pref("startup.homepage_welcome_url","http://www.mozilla.com/%APP%/%VERSION%/firstrun/");
     5.6 -// URL user can browse to manually if for some reason all update installation
     5.7 -// attempts fail.
     5.8 -pref("app.update.url.manual", "http://www.mozilla.org/products/%APP%/");
     5.9 -// A default value for the "More information about this update" link
    5.10 -// supplied in the "An update is available" page of the update wizard. 
    5.11 -pref("app.update.url.details", "http://www.mozilla.org/projects/%APP%/");
    5.12 -
    5.13 -// Release notes URL
    5.14 -pref("app.releaseNotesURL", "http://www.mozilla.org/%APP%/%VERSION%/releasenotes/");
    5.15 -
    5.16 -// Search codes belong only in builds with official branding
    5.17 -pref("browser.search.param.yahoo-fr", "");
    5.18 -pref("browser.search.param.yahoo-fr-cjkt", "");
    5.19 -pref("browser.search.param.yahoo-f-CN", "");
     6.1 --- a/firefox/stuff/firefox-install-dir.patch	Sat Mar 16 12:23:09 2013 +0000
     6.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.3 @@ -1,28 +0,0 @@
     6.4 -diff -Nur mozilla-release.orig/config/autoconf.mk.in mozilla-release/config/autoconf.mk.in
     6.5 ---- mozilla-release.orig/config/autoconf.mk.in	2011-11-06 14:06:44.462920048 +0000
     6.6 -+++ mozilla-release/config/autoconf.mk.in	2011-11-06 14:20:45.124169469 +0000
     6.7 -@@ -68,8 +68,8 @@
     6.8 - mandir		= @mandir@
     6.9 - idldir		= $(datadir)/idl/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
    6.10 -
    6.11 --installdir	= $(libdir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
    6.12 --sdkdir		= $(libdir)/$(MOZ_APP_NAME)-devel-$(MOZ_APP_VERSION)
    6.13 -+installdir	= $(libdir)/$(MOZ_APP_NAME)
    6.14 -+sdkdir		= $(libdir)/$(MOZ_APP_NAME)-devel
    6.15 -
    6.16 - DIST		= $(DEPTH)/dist
    6.17 - LIBXUL_SDK      = @LIBXUL_SDK@
    6.18 -diff -Nur mozilla-release.orig/js/src/config/autoconf.mk.in mozilla-release/js/src/config/autoconf.mk.in
    6.19 ---- mozilla-release.orig/js/src/config/autoconf.mk.in	2011-11-06 14:06:45.586263727 +0000
    6.20 -+++ mozilla-release/js/src/config/autoconf.mk.in	2011-11-06 14:21:01.770993669 +0000
    6.21 -@@ -61,8 +61,8 @@
    6.22 - datadir		= @datadir@
    6.23 - mandir		= @mandir@
    6.24 -
    6.25 --installdir	= $(libdir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
    6.26 --sdkdir		= $(libdir)/$(MOZ_APP_NAME)-devel-$(MOZ_APP_VERSION)
    6.27 -+installdir	= $(libdir)/$(MOZ_APP_NAME)
    6.28 -+sdkdir		= $(libdir)/$(MOZ_APP_NAME)-devel
    6.29 -
    6.30 - TOP_DIST	= @TOP_DIST@
    6.31 - ifneq (,$(filter /%,$(TOP_DIST)))
     7.1 --- a/firefox/stuff/firefox-l10n.js	Sat Mar 16 12:23:09 2013 +0000
     7.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.3 @@ -1,5 +0,0 @@
     7.4 -//@line 36 "/home/slitaz/experimental/wok/firefox/firefox-4.0/browser/locales/en-US/firefox-l10n.js"
     7.5 -
     7.6 -//@line 38 "/home/slitaz/experimental/wok/firefox/firefox-4.0/browser/locales/en-US/firefox-l10n.js"
     7.7 -
     7.8 -pref("general.useragent.locale", "en-US");
     8.1 --- a/firefox/stuff/firefox.mozconfig	Sat Mar 16 12:23:09 2013 +0000
     8.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.3 @@ -1,68 +0,0 @@
     8.4 -export MOZILLA_OFFICIAL="1"
     8.5 -export BUILD_OFFICIAL="1"
     8.6 -export MOZ_PHOENIX=1
     8.7 -mk_add_options MOZ_PHOENIX=1
     8.8 -
     8.9 -ac_add_options --prefix=/usr
    8.10 -ac_add_options --enable-application=browser
    8.11 -
    8.12 -ac_add_options --with-pthreads
    8.13 -ac_add_options --with-system-zlib
    8.14 -ac_add_options --with-system-jpeg
    8.15 -#ac_add_options --with-system-png
    8.16 -ac_add_options --with-system-libevent
    8.17 -ac_add_options --with-system-libvpx
    8.18 -
    8.19 -ac_add_options --enable-crypto
    8.20 -ac_add_options --enable-jemalloc
    8.21 -ac_add_options --enable-mobile-optimize
    8.22 -ac_add_options --enable-elf-dynstr-gc
    8.23 -ac_add_options --enable-single-profile
    8.24 -ac_add_options --enable-xft
    8.25 -ac_add_options --enable-strip
    8.26 -ac_add_options --enable-optimize=-Os
    8.27 -ac_add_options --enable-system-cairo
    8.28 -ac_add_options --enable-jsd
    8.29 -ac_add_options --enable-shared-js
    8.30 -ac_add_options --enable-faststart
    8.31 -#ac_add_options --enable-svg
    8.32 -#ac_add_options --enable-svg-renderer=cairo
    8.33 -#ac_add_options --enable-postscript
    8.34 -#ac_add_options --enable-official-branding
    8.35 -#ac_add_options --enable-splashscreen
    8.36 -
    8.37 -ac_add_options --disable-toolkit-qt
    8.38 -ac_add_options --disable-xinerama
    8.39 -ac_add_options --disable-logging
    8.40 -ac_add_options --disable-profilesharing
    8.41 -ac_add_options --disable-mathml
    8.42 -ac_add_options --disable-crashreporter
    8.43 -ac_add_options --disable-ldap
    8.44 -ac_add_options --disable-negotiateauth
    8.45 -ac_add_options --disable-debug
    8.46 -ac_add_options --disable-freetype2
    8.47 -ac_add_options --disable-tests
    8.48 -ac_add_options --disable-accessibility
    8.49 -ac_add_options --disable-installer
    8.50 -ac_add_options --disable-updater
    8.51 -ac_add_options --disable-gconf
    8.52 -ac_add_options --disable-webm
    8.53 -ac_add_options --disable-angle
    8.54 -ac_add_options --disable-smil
    8.55 -ac_add_options --disable-libnotify
    8.56 -#ac_add_options --disable-jsd
    8.57 -#ac_add_options --disable-printing
    8.58 -#ac_add_options --disable-xprint
    8.59 -#ac_add_options --disable-extensions
    8.60 -#ac_add_options --disable-xpfe-components
    8.61 -#ac_add_options --disable-view-source
    8.62 -#ac_add_options --disable-oji
    8.63 -#ac_add_options --disable-dbm
    8.64 -#ac_add_options --disable-plugins
    8.65 -#ac_add_options --disable-zipwriter
    8.66 -#ac_add_options --disable-inspector-apis
    8.67 -#ac_add_options --disable-xtf
    8.68 -#ac_add_options --disable-ogg
    8.69 -#ac_add_options --disable-wave
    8.70 -
    8.71 -ac_add_options --with-distribution-id=slitaz
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/firefox/stuff/mozconfig	Sat Mar 16 21:28:06 2013 +0100
     9.3 @@ -0,0 +1,103 @@
     9.4 +# mozconfig file for building Firefox (17.0.0esr) on SliTaz
     9.5 +
     9.6 +# This file contains the options used in the Firefox build. You may
     9.7 +# need to specify additional options for your specific build needs.
     9.8 +# Use the information provided by running './configure --help' to
     9.9 +# help you determine if you need to add any additional options.
    9.10 +# Some additional options can be added by uncommenting the examples
    9.11 +# in this file or adding options by inserting a line containing
    9.12 +# 'ac_add_options --some-option-you-need'. Be aware that some accepted
    9.13 +# options, such as '--with-system-bz2', do not affect the build.
    9.14 +
    9.15 +# ff for slitaz
    9.16 +ac_add_options --with-distribution-id=slitaz
    9.17 +
    9.18 +# we want to build firefox
    9.19 +ac_add_options --enable-application=browser
    9.20 +
    9.21 +# Create an object directory and specify to build the package in that
    9.22 +# directory. If desired, modify the location of the object directory
    9.23 +# to a directory inside the source tree by removing '../' from the
    9.24 +# line below:
    9.25 +mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-firefox
    9.26 +
    9.27 +# Specify arch option and level of optimization:
    9.28 +ac_add_options --enable-optimize="$CFLAGS -Wno-all -Wno-extra -Wno-empty-body \
    9.29 +-Wno-type-limits -Wno-unused-result -Wno-attributes -Wno-enum-compare \
    9.30 +-Wno-multichar"
    9.31 +
    9.32 +# Issue all warnings demanded by strict ANSI C
    9.33 +ac_add_options --disable-pedantic
    9.34 +
    9.35 +# If you have a multicore machine you can speed up the build by running
    9.36 +# several jobs at once by uncommenting the following line and setting the
    9.37 +# value to number of CPU cores:
    9.38 +mk_add_options MOZ_MAKE_FLAGS="-j$(grep processor /proc/cpuinfo | wc -l)"
    9.39 +
    9.40 +# Reduce the log size:
    9.41 +ac_add_options --silent
    9.42 +
    9.43 +# Recommended dependencies:
    9.44 +ac_add_options --enable-system-sqlite
    9.45 +ac_add_options --with-system-libevent
    9.46 +ac_add_options --with-system-libvpx
    9.47 +ac_add_options --with-system-nspr
    9.48 +ac_add_options --with-system-nss
    9.49 +
    9.50 +# Uncomment these lines if you have installed optional dependencies:
    9.51 +#ac_add_options --enable-system-hunspell
    9.52 +#ac_add_options --enable-startup-notification
    9.53 +
    9.54 +# If you have installed DBus-Glib comment out this line:
    9.55 +# ac_add_options --disable-dbus
    9.56 +
    9.57 +# If you have installed wireless-tools comment out this line:
    9.58 +ac_add_options --disable-necko-wifi
    9.59 +
    9.60 +# If you have installed libnotify comment out this line:
    9.61 +ac_add_options --disable-libnotify
    9.62 +
    9.63 +# If you have not installed Yasm then uncomment this line:
    9.64 +#ac_add_options --disable-webm
    9.65 +
    9.66 +# If you do not want to play h264 videos then uncomment this line:
    9.67 +ac_add_options --enable-gstreamer
    9.68 +
    9.69 +# If you have installed xulrunner uncomment following two lines:
    9.70 +#ac_add_options --with-system-libxul
    9.71 +#ac_add_options --with-libxul-sdk=$(pkg-config --variable=sdkdir libxul)
    9.72 +
    9.73 +# We dont use --enable-official-branding since we dont have any authorization
    9.74 +# to use trademarks per http://www.mozilla.org/foundation/trademarks/
    9.75 +ac_add_options --enable-official-branding
    9.76 +
    9.77 +# It is recommended not to touch anything below this line
    9.78 +ac_add_options --prefix=/usr
    9.79 +
    9.80 +ac_add_options --disable-crashreporter
    9.81 +ac_add_options --disable-installer
    9.82 +ac_add_options --disable-updater
    9.83 +ac_add_options --disable-debug
    9.84 +ac_add_options --disable-tests
    9.85 +
    9.86 +ac_add_options --enable-strip
    9.87 +ac_add_options --enable-install-strip
    9.88 +
    9.89 +ac_add_options --enable-gio
    9.90 +ac_add_options --enable-safe-browsing
    9.91 +ac_add_options --enable-url-classifier
    9.92 +
    9.93 +ac_add_options --enable-system-ffi
    9.94 +ac_add_options --enable-system-pixman
    9.95 +
    9.96 +ac_add_options --enable-shared-js
    9.97 +ac_add_options --with-pthreads
    9.98 +
    9.99 +ac_add_options --with-system-bz2
   9.100 +ac_add_options --with-system-jpeg
   9.101 +#ac_add_options --with-system-png # features missing
   9.102 +ac_add_options --with-system-zlib
   9.103 +
   9.104 +ac_add_options --disable-gconf
   9.105 +#ac_add_options --enable-system-cairo # crash
   9.106 +ac_add_options --disable-logging
    10.1 --- a/firefox/stuff/mozilla-firefox-1.0-lang.patch	Sat Mar 16 12:23:09 2013 +0000
    10.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.3 @@ -1,12 +0,0 @@
    10.4 ---- mozilla/browser/app/profile/firefox.js.lang	2005-01-13 15:32:03.509282726 +0100
    10.5 -+++ mozilla/browser/app/profile/firefox.js	2005-01-13 15:33:40.220914789 +0100
    10.6 -@@ -253,6 +253,9 @@
    10.7 - pref("font.language.group", "chrome://global/locale/intl.properties");
    10.8 - pref("intl.menuitems.alwaysappendaccesskeys","chrome://global/locale/intl.properties");
    10.9 - 
   10.10 -+// Use LANG environment variable to choose locale
   10.11 -+pref("intl.locale.matchOS", true);
   10.12 -+
   10.13 - // 0=lines, 1=pages, 2=history , 3=text size
   10.14 - pref("mousewheel.withcontrolkey.action",3);
   10.15 - pref("mousewheel.withshiftkey.action",2);
    11.1 --- a/firefox/stuff/prefs.js	Sat Mar 16 12:23:09 2013 +0000
    11.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.3 @@ -1,15 +0,0 @@
    11.4 -# Mozilla User Preferences
    11.5 -
    11.6 -/* Do not edit this file.
    11.7 - *
    11.8 - * If you make changes to this file while the application is running,
    11.9 - * the changes will be overwritten when the application exits.
   11.10 - *
   11.11 - * To make a manual change to preferences, you can visit the URL about:config
   11.12 - * For more information, see http://www.mozilla.org/unix/customizing.html#prefs
   11.13 - */
   11.14 -
   11.15 -user_pref("general.useragent.extra.firefox", "Firefox/8.0.1 (SliTaz GNU/Linux)");
   11.16 -user_pref("intl.charsetmenu.browser.cache", "ISO-8859-1, UTF-8");
   11.17 -user_pref("font.name.serif.x-western", "DejaVu Sans");
   11.18 -user_pref("browser.search.selectedEngine", "DuckDuckGo (SSL)");
    12.1 --- a/firefox/stuff/userChrome.css	Sat Mar 16 12:23:09 2013 +0000
    12.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.3 @@ -1,25 +0,0 @@
    12.4 -/*
    12.5 - * Default userChrome.css for Firefox on SliTaz GNU/Linux.
    12.6 - *
    12.7 - * This file can be used to customize the look of Mozilla's user interface
    12.8 - * You should consider using !important on rules which you want to
    12.9 - * override default settings.
   12.10 - *
   12.11 - * For more examples see http://www.mozilla.org/unix/customizing.html
   12.12 - *
   12.13 - */
   12.14 -
   12.15 -/*
   12.16 - * Do not remove the @namespace line -- it's required for correct functioning
   12.17 - */
   12.18 -@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */
   12.19 -
   12.20 -
   12.21 -/*
   12.22 - * Make all the default font sizes 9 pt to other GTK+ applications :
   12.23 - *
   12.24 -*/
   12.25 -
   12.26 -* {
   12.27 -   font-size: 9pt !important
   12.28 -}