firefox: Update to 2.0.0.13, change build options to improve firefox.
This commit is contained in:
parent
549271a655
commit
67f19e04de
1272
firefox/.footprint
1272
firefox/.footprint
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,5 @@
|
||||
25f355113cdee6800380c6e1a4cd38f0 firefox-2.0-add-ldflags.patch
|
||||
361eadc4f2132287f5812762978f43ee firefox-2.0.0.12-source.tar.bz2
|
||||
2c778aa46525e0f63efbedad0654ed47 firefox-2.0.0.13-source.tar.bz2
|
||||
0eceebd5fbc394248c8c94d66fc95d66 firefox.desktop
|
||||
19ec3915f76e7eb820ad2c59730ee2be firefox.png
|
||||
257815dfc262c902b5ea6b701122e500 mozconfig
|
||||
43f319dd0abdb2ebf0aa9dec95eaf6c8 mozconfig
|
||||
|
@ -1,33 +1,30 @@
|
||||
# Description: Mozilla Web Browser Component
|
||||
# URL: http://www.mozilla.com/firefox/
|
||||
# Packager: Matt Housh, jaeger at crux dot nu
|
||||
# Maintainer: Brett Goulder, predatorfreak at dcaf-security dot org
|
||||
# Depends on: libidl, gtk
|
||||
# Maintainer: Brett Goulder, predatorfreak at dcaf-security dot org.
|
||||
# Depends on: libidl, gtk, libpng, libjpeg, zlib, nss
|
||||
|
||||
name=firefox
|
||||
version=2.0.0.12
|
||||
version=2.0.0.13
|
||||
release=1
|
||||
source=(ftp://ftp.mozilla.org/pub/mozilla.org/$name/releases/$version/source/$name-$version-source.tar.bz2 \
|
||||
$name-2.0-add-ldflags.patch \
|
||||
http://crux.nu/files/$name/$name.desktop \
|
||||
http://crux.nu/files/$name/$name.png \
|
||||
firefox-2.0-add-ldflags.patch \
|
||||
mozconfig)
|
||||
|
||||
build() {
|
||||
export MOZ_CO_PROJECT=browser
|
||||
export BUILD_OFFICIAL=1
|
||||
export MOZILLA_OFFICIAL=1
|
||||
export MOZILLA_FIVE_HOME=/usr/lib/firefox
|
||||
|
||||
cd mozilla
|
||||
patch -p0 -i $SRC/$name-2.0-add-ldflags.patch
|
||||
sed -e "s/#CFLAGS#/$CFLAGS/" $SRC/mozconfig > .mozconfig
|
||||
patch -p0 -i $SRC/ldflags.patch
|
||||
sed -e "s/#CFLAGS#/$CFLAGS/" -e "s/#MAKEFLAGS/$MAKEFLAGS/g" $SRC/mozconfig > .mozconfig
|
||||
./configure
|
||||
make
|
||||
|
||||
mkdir -p $PKG$MOZILLA_FIVE_HOME
|
||||
install -d $PKG$MOZILLA_FIVE_HOME
|
||||
cp -rL dist/bin/* $PKG$MOZILLA_FIVE_HOME
|
||||
mkdir -p $PKG/usr/bin
|
||||
install -d $PKG/usr/bin
|
||||
ln -s /usr/lib/$name/$name $PKG/usr/bin/$name
|
||||
|
||||
# devel stuff
|
||||
@ -47,14 +44,16 @@ build() {
|
||||
chmod 644 $PKG/usr/lib/pkgconfig/$name-*.pc
|
||||
|
||||
# cleanup junk
|
||||
rm -f $PKG/usr/lib/$name/README.txt $PKG/usr/lib/$name/init.d/README
|
||||
rm -f $PKG/usr/lib/$name/{LICENSE,TestGtkEmbed,bloaturls.txt,dependentlibs.list}
|
||||
rm -rfv $PKG/usr/lib/$name/README.txt $PKG/usr/lib/$name/init.d/
|
||||
rm -rf $PKG/usr/lib/$name/{LICENSE,TestGtkEmbed,bloaturls.txt,dependentlibs.list}
|
||||
rm -rf $PKG/usr/lib/$name/res/samples $PKG/usr/lib/$name/res/throbber
|
||||
rm -rf $PKG/usr/include/$name/system_wrappers
|
||||
|
||||
# desktop entry/icon
|
||||
install -D -m 0644 $SRC/$name.desktop \
|
||||
$PKG/usr/share/applications/$name.desktop
|
||||
install -D -m 0644 $SRC/$name.png $PKG/usr/share/pixmaps/$name.png
|
||||
|
||||
|
||||
# fix file permissions since version 2.0.0.8
|
||||
find $PKG/usr/include/firefox -type f -exec chmod g+r,a+r {} \;
|
||||
find $PKG/usr/include/firefox -type f -perm -u=x -exec chmod g+x,a+x {} \; # no code in headerfiles!
|
||||
|
@ -1,30 +1,33 @@
|
||||
# use an OBJDIR
|
||||
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/firefox-shared
|
||||
|
||||
# parallel build
|
||||
mk_add_options MOZ_MAKE_FLAGS=-j2
|
||||
|
||||
# grab the defaults from the firefox tarball
|
||||
. $topsrcdir/browser/config/mozconfig
|
||||
|
||||
# crux options
|
||||
mk_add_options MOZ_MAKE_FLAGS="#MAKEFLAGS#"
|
||||
|
||||
ac_add_options --prefix=/usr
|
||||
ac_add_options --with-system-nss
|
||||
ac_add_options --with-system-nspr
|
||||
ac_add_options --with-system-jpeg
|
||||
ac_add_options --with-system-png
|
||||
ac_add_options --with-system-zlib
|
||||
ac_add_options --disable-debug
|
||||
ac_add_options --disable-gnomevfs
|
||||
ac_add_options --disable-gnomeui
|
||||
ac_add_options --with-system-png
|
||||
ac_add_options --with-system-mng
|
||||
ac_add_options --with-pthreads
|
||||
ac_add_options --disable-tests
|
||||
ac_add_options --disable-debug
|
||||
ac_add_options --disable-installer
|
||||
ac_add_options --disable-updater
|
||||
ac_add_options --disable-static
|
||||
ac_add_options --disable-xprint
|
||||
ac_add_options --disable-profilesharing
|
||||
ac_add_options --disable-gnomevfs
|
||||
ac_add_options --disable-shared
|
||||
ac_add_options --disable-xpctools
|
||||
ac_add_options --enable-optimize="#CFLAGS#"
|
||||
ac_add_options --enable-official-branding
|
||||
ac_add_options --enable-application=browser
|
||||
ac_add_options --enable-default-toolkit=gtk2
|
||||
ac_add_options --enable-xft
|
||||
ac_add_options --enable-shared
|
||||
ac_add_options --enable-extensions=default,-gnomevfs
|
||||
ac_add_options --enable-crypto
|
||||
ac_add_options --enable-svg
|
||||
ac_add_options --enable-xft
|
||||
ac_add_options --enable-pango
|
||||
ac_add_options --enable-system-cairo
|
||||
ac_add_options --enable-svg
|
||||
ac_add_options --enable-canvas
|
||||
ac_add_options --enable-crypto
|
||||
ac_add_options --enable-single-profile
|
||||
ac_add_options --enable-static
|
||||
|
Loading…
x
Reference in New Issue
Block a user