summaryrefslogtreecommitdiffstats
path: root/firefox
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-06-10 13:37:41 +0200
committerpiernov <piernov@piernov.org>2012-06-17 18:18:37 +0200
commit2ba7f76346bbb5c5315e4bc20d2f250c7aab48a4 (patch)
treeaca57d099604ca7d1d2f8bfb1127170e80d13a21 /firefox
parentf23811e0d3fc8980ab4b8e15fe2dcb2df4dc0df1 (diff)
downloadnutyx-extra-2ba7f76346bbb5c5315e4bc20d2f250c7aab48a4.tar.gz
nutyx-extra-2ba7f76346bbb5c5315e4bc20d2f250c7aab48a4.tar.bz2
nutyx-extra-2ba7f76346bbb5c5315e4bc20d2f250c7aab48a4.tar.xz
nutyx-extra-2ba7f76346bbb5c5315e4bc20d2f250c7aab48a4.zip
firefox, correction Pkgfile, ajout mozconfig
(cherry picked from commit bf27f3372725912ccc5ef187de82d5575ff0f55e)
Diffstat (limited to 'firefox')
-rw-r--r--firefox/Pkgfile54
1 files changed, 48 insertions, 6 deletions
diff --git a/firefox/Pkgfile b/firefox/Pkgfile
index cc329c621..f4b554a2a 100644
--- a/firefox/Pkgfile
+++ b/firefox/Pkgfile
@@ -2,13 +2,13 @@
# URL: http://www.mozilla.com/firefox/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends on: yasm, desktop-file-utils, startup-notification, alsa-lib, mesa3d, gtk, libidl, pango, curl, nss, libnotify, dbus-glib, libevent, wireless_tools
-# Run on: desktop-file-utils,alsa-lib,mesa3d,gtk,libidl,pango,curl,nss,libnotify,dbus-glib
+# Depends on: libevent,yasm, desktop-file-utils, startup-notification, alsa-lib, mesa3d, gtk, libidl, pango, curl, nss, libnotify, dbus-glib, hunspell
+# Run on: libevent,desktop-file-utils,startup-notification,alsa-lib,mesa3d,gtk,libidl,pango,curl,nss,libnotify,dbus-glib,hunspell
name=firefox
version=13.0
-release=1
+release=2
branch=test
@@ -16,9 +16,7 @@ branch=test
[ "`uname -m`" == "x86_64" ] && _ARCH=x86_64
source=(ftp://ftp.mozilla.org/pub/mozilla.org/$name/releases/$version/source/$name-$version.source.tar.bz2
- firefox.desktop
- firefox-install-dir.patch
- vendor.js)
+ firefox.desktop firefox-install-dir.patch vendor.js)
build() {
@@ -27,6 +25,50 @@ build() {
cd "mozilla-release"
patch -Np1 -i $SRC/firefox-install-dir.patch
+ # Création du mozconfig
+
+ cat > mozconfig << EOF
+# for multicore machine you can speed up the build by running
+# mk_add_options MOZ_MAKE_FLAGS="-j4"
+
+
+# If you have installed wireless-tools delete this option:
+ac_add_options --disable-necko-wifi
+
+
+# If you have installed xulrunner uncomment these two lines:
+# ac_add_options --with-system-libxul
+# ac_add_options --with-libxul-sdk=$(pkg-config --variable=sdkdir libxul)
+
+# Uncomment these if you have installed them:
+ac_add_options --enable-startup-notification
+# ac_add_options --with-system-libvpx
+
+mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/firefox-build-dir
+ac_add_options --enable-official-branding
+ac_add_options --prefix=/usr
+
+# The rest of these options have no effect if you're
+# building against an already installed xulrunner:
+ac_add_options --disable-crashreporter
+ac_add_options --disable-debug
+ac_add_options --disable-installer
+ac_add_options --disable-static
+ac_add_options --disable-tests
+ac_add_options --disable-updater
+ac_add_options --enable-shared
+ac_add_options --enable-system-cairo
+ac_add_options --enable-system-ffi
+ac_add_options --with-pthreads
+ac_add_options --with-system-jpeg
+ac_add_options --with-system-png
+ac_add_options --with-system-zlib
+ac_add_options --with-system-nspr
+ac_add_options --with-system-nss
+ac_add_options --enable-system-hunspell
+ac_add_options --enable-system-sqlite
+EOF
+
# Fix PRE_RELEASE_SUFFIX
sed -i '/^PRE_RELEASE_SUFFIX := ""/s/ ""//' browser/base/Makefile.in