# HG changeset patch # User Dominique Corbex # Date 1363465686 -3600 # Node ID dbd41e6636de12eb9214b4ddf46cbfe382fbf15e # Parent 556064456fb80c0bb44da3f74f8978aed71c7d24 Up: firefox (17.0.4esr) diff -r 556064456fb8 -r dbd41e6636de firefox/receipt --- a/firefox/receipt Sat Mar 16 12:23:09 2013 +0000 +++ b/firefox/receipt Sat Mar 16 21:28:06 2013 +0100 @@ -1,124 +1,137 @@ # SliTaz package receipt. PACKAGE="firefox" -VERSION="10.0.2" +VERSION="17.0.4esr" CATEGORY="network" SHORT_DESC="User friendly, secure and fast web browser." MAINTAINER="pankso@slitaz.org" TARBALL="$PACKAGE-$VERSION.source.tar.bz2" -WEB_SITE="http://www.mozilla.org/" -#WGET_URL="http://releases.mozilla.org/pub/mozilla.org/firefox/releases/$VERSION/source/$TARBALL" +WEB_SITE="http://www.mozilla.org/firefox" WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$VERSION/source/$TARBALL" -CONFIG_FILES="/etc/firefox" TAGS="browser" DEPENDS="gtk+ sqlite dbus dbus-glib glib jpeg xorg-libX11 xorg-libXdamage \ -alsa-lib xorg-libXt libfirefox libevent libvpx" +alsa-lib xorg-libXt libevent libvpx pango nss sqlite libfirefox \ +gstreamer gst-plugins-base" BUILD_DEPENDS="zip libIDL coreutils findutils wireless_tools-dev \ perl python yasm alsa-lib-dev mesa-dev libevent-dev libvpx-dev dbus-dev \ -dbus-glib-dev gtk+-dev glib-dev" +dbus-glib-dev gtk+-dev glib-dev pango-dev nss-dev sqlite-dev tar gzip \ +gstreamer-dev gst-plugins-base-dev" # Rules to configure and make the package. # # A long compile time... dont forget to build libidl before and check the # .mozconfig file from the stuff and the stuff/README document. # +# WARNING: 1GB RAM minimum. Additional RAM will significantly decrease +# build time. +# At least 2.5 GB free disk space + compile_rules() { - cp -a $stuff/firefox.mozconfig $src/.mozconfig cd $src - patch -Np1 -i $stuff/mozilla-firefox-1.0-lang.patch - patch -Np1 -i $stuff/firefox-install-dir.patch + # load mozconfig + cp -a $stuff/mozconfig $src - # Fix PRE_RELEASE_SUFFIX - sed -i '/^PRE_RELEASE_SUFFIX := ""/s/ ""//' \ - browser/base/Makefile.in + # build firefox and create a firefox tarball + # reducing log size: hide c++, nsinstall, python msgs + # Exception... Component returned failure code: known bug #696763 + make -f client.mk | egrep -v "c++|nsinstall|python" && + make -C obj-firefox/browser/installer - # Don't generate startup cache. Unbreaks build - sed -i 's/^GENERATE_CACHE ?=.*/GENERATE_CACHE = true/' \ - toolkit/mozapps/installer/packager.mk - ./configure $CONFIGURE_ARGS && - make $MAKEFLAGS && - make DESTDIR=$DESTDIR install && - cp -a xpcom/typelib $DESTDIR + # install + # locate tarball + local tarball tarpath fn1 fn2 + tarpath=$src/obj-firefox/dist + fn1="$tarpath/firefox-${VERSION%esr}.en-US.linux-$ARCH.tar.bz2" + fn2="$tarpath/firefox-${VERSION%esr}.en-US.linux-$(uname -m).tar.bz2" + [ -e "$fn1" ] && tarball="$fn1" && echo "$ARCH tarball found" + [ -e "$fn2" ] && tarball="$fn2" && echo "$(uname -m) tarball found" + [ -z "$tarball" ] && echo "ERROR: tarball not found" && exit 1 + # extract tarball + mkdir -p $install/usr/lib/firefox-$VERSION && + tar -xvf $tarball -C $install/usr/lib/firefox-$VERSION \ + --strip-components=1 && + chown -R -v root:root $install/usr/lib/firefox-$VERSION && + chmod -v 755 $install/usr/lib/firefox-$VERSION/libxpcom.so && + # install symlink in /usr/bin + mkdir -p $install/usr/bin && + ln -sf ../lib/firefox-$VERSION/firefox $install/usr/bin && + # install symlink for plugins + mkdir -p $install/usr/lib/mozilla/plugins && + ln -sf ../mozilla/plugins $install/usr/lib/firefox-$VERSION } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib/$PACKAGE \ - $fs/usr/share $fs/etc/$PACKAGE/profile/chrome + # program + printf "Installing program.." + mkdir -p $fs/usr/lib && + cp -a $install/usr/lib/$PACKAGE-$VERSION $fs/usr/lib && + cp -a $install/usr/lib/mozilla $fs/usr/lib && cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/$PACKAGE $fs/usr/lib + status - # Home page, bookmarks file and branding. - cp -a $stuff/browserconfig.properties $fs/etc/$PACKAGE - cp -a $stuff/bookmarks.html \ - $fs/etc/$PACKAGE/profile - mkdir -p $fs/etc/$PACKAGE/pref - cp -a $stuff/firefox-branding.js \ - $fs/etc/$PACKAGE/pref/firefox.js + # search Plugin (by: oddball) + printf "Installing SliTaz search plugins.." + cp -a $stuff/searchplugins $fs/usr/lib/$PACKAGE-$VERSION + status - # User preference. - cp -a $stuff/prefs.js $fs/etc/$PACKAGE/profile - cp -a $stuff/userChrome.css \ - $fs/etc/$PACKAGE/profile/chrome + # prefs + printf "Installing SliTaz preferences.." + mkdir -p $fs/usr/lib/$PACKAGE-$VERSION/distribution && + cp -a $stuff/distribution.ini $fs/usr/lib/$PACKAGE-$VERSION/distribution + status - # added firefox-l10n.js to stuff to make sure its copyed for langpacks - cp -a $stuff/firefox-l10n.js \ - $fs/etc/$PACKAGE/pref/firefox-l10n.js + # mozilla-common files + # dictionaries + printf "Installing common dictionnaries.." + rm -rf $fs/usr/lib/$PACKAGE-$VERSION/dictionaries && + ln -sf ../mozilla-common-$VERSION/dictionaries \ + $fs/usr/lib/$PACKAGE-$VERSION/dictionaries + status + # plugin-container + printf "Installing common plugin-container" + rm -f $fs/usr/lib/$PACKAGE-$VERSION/plugin-container && + ln -sf ../mozilla-common-$VERSION/plugin-container \ + $fs/usr/lib/$PACKAGE-$VERSION/plugin-container + status + # mozilla-xremote-client + printf "Installing common mozilla-xremote-client" + rm -f $fs/usr/lib/$PACKAGE-$VERSION/mozilla-xremote-client && + ln -sf ../mozilla-common-$VERSION/mozilla-xremote-client \ + $fs/usr/lib/$PACKAGE-$VERSION/mozilla-xremote-client + status + # components/libdbusservice.so + # components/libmozgnome.so + for file in libdbusservice.so libmozgnome.so; do + printf "Installing common components/$file" + rm -f $fs/usr/lib/$PACKAGE-$VERSION/components/$file && + ln -sf ../../mozilla-common-$VERSION/components/$file \ + $fs/usr/lib/$PACKAGE-$VERSION/components/$file + status + done + # chrome.manifest + printf "Installing common chrome.manifest" + rm -f $fs/usr/lib/$PACKAGE-$VERSION/chrome.manifest && + ln -sf ../mozilla-common-$VERSION/chrome.manifest \ + $fs/usr/lib/$PACKAGE-$VERSION/chrome.manifest + status - rm -rf $fs/usr/lib/$PACKAGE/defaults + # run-mozilla.sh + printf "Installing common run-mozilla.sh" + rm -f $fs/usr/lib/$PACKAGE-$VERSION/run-mozilla.sh && + ln -sf ../mozilla-common-$VERSION/run-mozilla.sh \ + $fs/usr/lib/$PACKAGE-$VERSION/run-mozilla.sh + status - ln -sf /etc/$PACKAGE/browserconfig.properties $fs/usr/lib/$PACKAGE - ln -sf /etc/$PACKAGE $fs/usr/lib/$PACKAGE/defaults + # libmozalloc.so + printf "Installing common libmozalloc.so" + rm -f $fs/usr/lib/$PACKAGE-$VERSION/libmozalloc.so && + ln -sf ../mozilla-common-$VERSION/libmozalloc.so \ + $fs/usr/lib/$PACKAGE-$VERSION/libmozalloc.so + status - # EULA is accepted by SliTaz project. - sed -i s:'pref("browser.EULA.3.accepted", false);':'pref("browser.EULA.3.accepted", true);': \ - $fs/etc/firefox/pref/firefox.js - - # Search Plugin (by: oddball) - cp -a $stuff/searchplugins $fs/usr/lib/firefox/ chown -R root.root $fs - - # Remove unnecessary files. - rm -rf $fs/usr/lib/$PACKAGE/dictionaries/* - rm -rf $fs/usr/lib/$PACKAGE/icons - # split firefox libs - rm -rf $fs/usr/lib/$PACKAGE/*.so - #retain big firefox libs - cp -a $install/usr/lib/$PACKAGE/libxul.so \ - $fs/usr/lib/$PACKAGE - #workaround for now - #https://bugzilla.mozilla.org/show_bug.cgi?id=658850 - ln -sf firefox $fs/usr/lib/$PACKAGE/firefox-bin } - -# Pre - Post install command to set default locale. -pre_install() -{ - local root - root=$1 - # Get old plugins - mkdir /tmp/firefox-plugins-$$ - cp -a $root/usr/lib/firefox/plugins/* /tmp/firefox-plugins-$$ 2> /dev/null - # Remove old libs and configs - rm -rf $root/usr/lib/firefox/plugins - rm -rf $root/usr/lib/firefox/dictionaries - rm -rf $root/etc/firefox -} -post_install() -{ - local root - root=$1 - if grep -q "fr_*" $root/etc/locale.conf 2>/dev/null; then - sed -i 's/en-US/fr/' \ - $root/etc/firefox/pref/firefox-l10n.js - fi - for i in /tmp/firefox-plugins-$$/* ; do - [ -e $i ] || continue - [ -e /usr/lib/firefox/plugins/$(basename $i) ] && continue - cp -a $i /usr/lib/firefox/plugins/ - done - rm -rf /tmp/firefox-plugins-$$ -} diff -r 556064456fb8 -r dbd41e6636de firefox/stuff/README --- a/firefox/stuff/README Sat Mar 16 12:23:09 2013 +0000 +++ b/firefox/stuff/README Sat Mar 16 21:28:06 2013 +0100 @@ -1,17 +1,13 @@ - -We build Firefox from the official Mozila source code, we use a .mozconfig -file to set all configure options. SliTaz firefox.mozconfig is copied in the +We build Firefox from the official Mozila source code, we use a mozconfig +file to set all configure options. SliTaz firefox mozconfig is copied in the mozilla source code with the command 'tazwok cook'. So if you want to make -some changes, edit firefox.mozconfig. +some changes, edit stuff/mozconfig. On SliTaz the Mozilla default icons are removed (65 Ko) and a resized (48x48) mozicon is put in /usr/share/pixmaps. -browserconfig.properties is used to set www.slitaz.org for the default home -page, this file goes in /usr/lib/firefox-$VERSION with the bookmarks file. - -We dont use --enable-official-branding since we dont have any authorization -to use trademarks per http://www.mozilla.org/foundation/trademarks/ +distribution.ini is used to set bookmarks and www.slitaz.org for the default +home page, this file goes in /usr/lib/firefox-$VERSION/distribution/ - Pankso diff -r 556064456fb8 -r dbd41e6636de firefox/stuff/browserconfig.properties --- a/firefox/stuff/browserconfig.properties Sat Mar 16 12:23:09 2013 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -browser.startup.homepage=file:///usr/share/webhome/index.html -browser.startup.homepage_reset=file:///usr/share/webhome/index.html diff -r 556064456fb8 -r dbd41e6636de firefox/stuff/distribution.ini --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/firefox/stuff/distribution.ini Sat Mar 16 21:28:06 2013 +0100 @@ -0,0 +1,77 @@ +# Partner Distribution Configuration File + +# id: short string unique to this distribution +# about: a short descriptive (ui-visible) string for this +# distribution +# version: version of the extra distribution pieces (not the version +# of Firefox) + +[Global] +id=SliTaz GNU/Linux +version=5.0 +about=Distribution Edition +about.fr=Édition pour la distribution + +# This section contains the global js prefs. You do should not list +# the localized preferences here (see below) + +# Boolean preferences should be 'true' or 'false', w/o quotes. e.g.: +# my.bool.preference=true +# +# Integer preferences should be unquoted numbers. e.g.: +# my.int.preference=123 +# +# String preferences should be in quotes. e.g.: +# my.string.preference="foo" + +[Preferences] +# Use LANG environment variable to choose locale +intl.locale.matchOS=true +# disable default browser check +browser.shell.checkDefaultBrowser=false +browser.startup.homepage_override.mstone="ignore" +# disable application updates +app.update.enabled=false +# disables the request to send performance data from displaying +toolkit.telemetry.prompted=2 +toolkit.telemetry.rejected=true + +# This section is used as a template for locale-specific properties +# files. They work similarly to the GlobalPrefs section, except that +# the %LOCALE% string gets substituted with the language string. +# +# This section should only be used for localized string preferences. +# Other preference types will not work. + +[LocalizablePreferences] +browser.startup.homepage="file:///usr/share/webhome/index.html" + + +# Bookmarks + +# There are two "toplevel" sections, BookmarksToolbar and BookmarksMenu. +# These can reference other sections via the "folder" type item. These +# folder sections must be named "BookmarksFolder-". + +# Each section contains a list of numbered item settings, where each +# item represents a bookmark, livemark, separator, folder, or the default +# bookmarks in that container (if any). The default type is bookmark. + +[BookmarksToolbar] + +[BookmarksMenu] +item.1.type=folder +item.1.title=SliTaz GNU/Linux +item.1.folderId=1 + +[BookmarksFolder-1] +item.1.title=SliTaz Website +item.1.link=http://www.slitaz.org/ +item.2.type=separator +item.3.title=SliTaz Community Forum +item.3.link=http://forum.slitaz.org/ +item.4.type=separator +item.5.title=SliTaz on Twitter +item.5.link=http://twitter.com/slitaz +item.6.title=SliTaz on DistroWatch +item.6.link=http://distrowatch.com/table.php?distribution=slitaz diff -r 556064456fb8 -r dbd41e6636de firefox/stuff/firefox-branding.js --- a/firefox/stuff/firefox-branding.js Sat Mar 16 12:23:09 2013 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,16 +0,0 @@ -pref("startup.homepage_override_url","http://www.mozilla.com/%APP%/%VERSION%/whatsnew/"); -pref("startup.homepage_welcome_url","http://www.mozilla.com/%APP%/%VERSION%/firstrun/"); -// URL user can browse to manually if for some reason all update installation -// attempts fail. -pref("app.update.url.manual", "http://www.mozilla.org/products/%APP%/"); -// A default value for the "More information about this update" link -// supplied in the "An update is available" page of the update wizard. -pref("app.update.url.details", "http://www.mozilla.org/projects/%APP%/"); - -// Release notes URL -pref("app.releaseNotesURL", "http://www.mozilla.org/%APP%/%VERSION%/releasenotes/"); - -// Search codes belong only in builds with official branding -pref("browser.search.param.yahoo-fr", ""); -pref("browser.search.param.yahoo-fr-cjkt", ""); -pref("browser.search.param.yahoo-f-CN", ""); diff -r 556064456fb8 -r dbd41e6636de firefox/stuff/firefox-install-dir.patch --- a/firefox/stuff/firefox-install-dir.patch Sat Mar 16 12:23:09 2013 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,28 +0,0 @@ -diff -Nur mozilla-release.orig/config/autoconf.mk.in mozilla-release/config/autoconf.mk.in ---- mozilla-release.orig/config/autoconf.mk.in 2011-11-06 14:06:44.462920048 +0000 -+++ mozilla-release/config/autoconf.mk.in 2011-11-06 14:20:45.124169469 +0000 -@@ -68,8 +68,8 @@ - mandir = @mandir@ - idldir = $(datadir)/idl/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION) - --installdir = $(libdir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION) --sdkdir = $(libdir)/$(MOZ_APP_NAME)-devel-$(MOZ_APP_VERSION) -+installdir = $(libdir)/$(MOZ_APP_NAME) -+sdkdir = $(libdir)/$(MOZ_APP_NAME)-devel - - DIST = $(DEPTH)/dist - LIBXUL_SDK = @LIBXUL_SDK@ -diff -Nur mozilla-release.orig/js/src/config/autoconf.mk.in mozilla-release/js/src/config/autoconf.mk.in ---- mozilla-release.orig/js/src/config/autoconf.mk.in 2011-11-06 14:06:45.586263727 +0000 -+++ mozilla-release/js/src/config/autoconf.mk.in 2011-11-06 14:21:01.770993669 +0000 -@@ -61,8 +61,8 @@ - datadir = @datadir@ - mandir = @mandir@ - --installdir = $(libdir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION) --sdkdir = $(libdir)/$(MOZ_APP_NAME)-devel-$(MOZ_APP_VERSION) -+installdir = $(libdir)/$(MOZ_APP_NAME) -+sdkdir = $(libdir)/$(MOZ_APP_NAME)-devel - - TOP_DIST = @TOP_DIST@ - ifneq (,$(filter /%,$(TOP_DIST))) diff -r 556064456fb8 -r dbd41e6636de firefox/stuff/firefox-l10n.js --- a/firefox/stuff/firefox-l10n.js Sat Mar 16 12:23:09 2013 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ -//@line 36 "/home/slitaz/experimental/wok/firefox/firefox-4.0/browser/locales/en-US/firefox-l10n.js" - -//@line 38 "/home/slitaz/experimental/wok/firefox/firefox-4.0/browser/locales/en-US/firefox-l10n.js" - -pref("general.useragent.locale", "en-US"); diff -r 556064456fb8 -r dbd41e6636de firefox/stuff/firefox.mozconfig --- a/firefox/stuff/firefox.mozconfig Sat Mar 16 12:23:09 2013 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,68 +0,0 @@ -export MOZILLA_OFFICIAL="1" -export BUILD_OFFICIAL="1" -export MOZ_PHOENIX=1 -mk_add_options MOZ_PHOENIX=1 - -ac_add_options --prefix=/usr -ac_add_options --enable-application=browser - -ac_add_options --with-pthreads -ac_add_options --with-system-zlib -ac_add_options --with-system-jpeg -#ac_add_options --with-system-png -ac_add_options --with-system-libevent -ac_add_options --with-system-libvpx - -ac_add_options --enable-crypto -ac_add_options --enable-jemalloc -ac_add_options --enable-mobile-optimize -ac_add_options --enable-elf-dynstr-gc -ac_add_options --enable-single-profile -ac_add_options --enable-xft -ac_add_options --enable-strip -ac_add_options --enable-optimize=-Os -ac_add_options --enable-system-cairo -ac_add_options --enable-jsd -ac_add_options --enable-shared-js -ac_add_options --enable-faststart -#ac_add_options --enable-svg -#ac_add_options --enable-svg-renderer=cairo -#ac_add_options --enable-postscript -#ac_add_options --enable-official-branding -#ac_add_options --enable-splashscreen - -ac_add_options --disable-toolkit-qt -ac_add_options --disable-xinerama -ac_add_options --disable-logging -ac_add_options --disable-profilesharing -ac_add_options --disable-mathml -ac_add_options --disable-crashreporter -ac_add_options --disable-ldap -ac_add_options --disable-negotiateauth -ac_add_options --disable-debug -ac_add_options --disable-freetype2 -ac_add_options --disable-tests -ac_add_options --disable-accessibility -ac_add_options --disable-installer -ac_add_options --disable-updater -ac_add_options --disable-gconf -ac_add_options --disable-webm -ac_add_options --disable-angle -ac_add_options --disable-smil -ac_add_options --disable-libnotify -#ac_add_options --disable-jsd -#ac_add_options --disable-printing -#ac_add_options --disable-xprint -#ac_add_options --disable-extensions -#ac_add_options --disable-xpfe-components -#ac_add_options --disable-view-source -#ac_add_options --disable-oji -#ac_add_options --disable-dbm -#ac_add_options --disable-plugins -#ac_add_options --disable-zipwriter -#ac_add_options --disable-inspector-apis -#ac_add_options --disable-xtf -#ac_add_options --disable-ogg -#ac_add_options --disable-wave - -ac_add_options --with-distribution-id=slitaz diff -r 556064456fb8 -r dbd41e6636de firefox/stuff/mozconfig --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/firefox/stuff/mozconfig Sat Mar 16 21:28:06 2013 +0100 @@ -0,0 +1,103 @@ +# mozconfig file for building Firefox (17.0.0esr) on SliTaz + +# This file contains the options used in the Firefox build. You may +# need to specify additional options for your specific build needs. +# Use the information provided by running './configure --help' to +# help you determine if you need to add any additional options. +# Some additional options can be added by uncommenting the examples +# in this file or adding options by inserting a line containing +# 'ac_add_options --some-option-you-need'. Be aware that some accepted +# options, such as '--with-system-bz2', do not affect the build. + +# ff for slitaz +ac_add_options --with-distribution-id=slitaz + +# we want to build firefox +ac_add_options --enable-application=browser + +# Create an object directory and specify to build the package in that +# directory. If desired, modify the location of the object directory +# to a directory inside the source tree by removing '../' from the +# line below: +mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-firefox + +# Specify arch option and level of optimization: +ac_add_options --enable-optimize="$CFLAGS -Wno-all -Wno-extra -Wno-empty-body \ +-Wno-type-limits -Wno-unused-result -Wno-attributes -Wno-enum-compare \ +-Wno-multichar" + +# Issue all warnings demanded by strict ANSI C +ac_add_options --disable-pedantic + +# If you have a multicore machine you can speed up the build by running +# several jobs at once by uncommenting the following line and setting the +# value to number of CPU cores: +mk_add_options MOZ_MAKE_FLAGS="-j$(grep processor /proc/cpuinfo | wc -l)" + +# Reduce the log size: +ac_add_options --silent + +# Recommended dependencies: +ac_add_options --enable-system-sqlite +ac_add_options --with-system-libevent +ac_add_options --with-system-libvpx +ac_add_options --with-system-nspr +ac_add_options --with-system-nss + +# Uncomment these lines if you have installed optional dependencies: +#ac_add_options --enable-system-hunspell +#ac_add_options --enable-startup-notification + +# If you have installed DBus-Glib comment out this line: +# ac_add_options --disable-dbus + +# If you have installed wireless-tools comment out this line: +ac_add_options --disable-necko-wifi + +# If you have installed libnotify comment out this line: +ac_add_options --disable-libnotify + +# If you have not installed Yasm then uncomment this line: +#ac_add_options --disable-webm + +# If you do not want to play h264 videos then uncomment this line: +ac_add_options --enable-gstreamer + +# If you have installed xulrunner uncomment following two lines: +#ac_add_options --with-system-libxul +#ac_add_options --with-libxul-sdk=$(pkg-config --variable=sdkdir libxul) + +# We dont use --enable-official-branding since we dont have any authorization +# to use trademarks per http://www.mozilla.org/foundation/trademarks/ +ac_add_options --enable-official-branding + +# It is recommended not to touch anything below this line +ac_add_options --prefix=/usr + +ac_add_options --disable-crashreporter +ac_add_options --disable-installer +ac_add_options --disable-updater +ac_add_options --disable-debug +ac_add_options --disable-tests + +ac_add_options --enable-strip +ac_add_options --enable-install-strip + +ac_add_options --enable-gio +ac_add_options --enable-safe-browsing +ac_add_options --enable-url-classifier + +ac_add_options --enable-system-ffi +ac_add_options --enable-system-pixman + +ac_add_options --enable-shared-js +ac_add_options --with-pthreads + +ac_add_options --with-system-bz2 +ac_add_options --with-system-jpeg +#ac_add_options --with-system-png # features missing +ac_add_options --with-system-zlib + +ac_add_options --disable-gconf +#ac_add_options --enable-system-cairo # crash +ac_add_options --disable-logging diff -r 556064456fb8 -r dbd41e6636de firefox/stuff/mozilla-firefox-1.0-lang.patch --- a/firefox/stuff/mozilla-firefox-1.0-lang.patch Sat Mar 16 12:23:09 2013 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,12 +0,0 @@ ---- mozilla/browser/app/profile/firefox.js.lang 2005-01-13 15:32:03.509282726 +0100 -+++ mozilla/browser/app/profile/firefox.js 2005-01-13 15:33:40.220914789 +0100 -@@ -253,6 +253,9 @@ - pref("font.language.group", "chrome://global/locale/intl.properties"); - pref("intl.menuitems.alwaysappendaccesskeys","chrome://global/locale/intl.properties"); - -+// Use LANG environment variable to choose locale -+pref("intl.locale.matchOS", true); -+ - // 0=lines, 1=pages, 2=history , 3=text size - pref("mousewheel.withcontrolkey.action",3); - pref("mousewheel.withshiftkey.action",2); diff -r 556064456fb8 -r dbd41e6636de firefox/stuff/prefs.js --- a/firefox/stuff/prefs.js Sat Mar 16 12:23:09 2013 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,15 +0,0 @@ -# Mozilla User Preferences - -/* Do not edit this file. - * - * If you make changes to this file while the application is running, - * the changes will be overwritten when the application exits. - * - * To make a manual change to preferences, you can visit the URL about:config - * For more information, see http://www.mozilla.org/unix/customizing.html#prefs - */ - -user_pref("general.useragent.extra.firefox", "Firefox/8.0.1 (SliTaz GNU/Linux)"); -user_pref("intl.charsetmenu.browser.cache", "ISO-8859-1, UTF-8"); -user_pref("font.name.serif.x-western", "DejaVu Sans"); -user_pref("browser.search.selectedEngine", "DuckDuckGo (SSL)"); diff -r 556064456fb8 -r dbd41e6636de firefox/stuff/userChrome.css --- a/firefox/stuff/userChrome.css Sat Mar 16 12:23:09 2013 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,25 +0,0 @@ -/* - * Default userChrome.css for Firefox on SliTaz GNU/Linux. - * - * This file can be used to customize the look of Mozilla's user interface - * You should consider using !important on rules which you want to - * override default settings. - * - * For more examples see http://www.mozilla.org/unix/customizing.html - * - */ - -/* - * Do not remove the @namespace line -- it's required for correct functioning - */ -@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */ - - -/* - * Make all the default font sizes 9 pt to other GTK+ applications : - * -*/ - -* { - font-size: 9pt !important -}