wok rev 840

Up: firefox (3.0-rc1)
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 18 13:43:07 2008 +0200 (2008-05-18)
parents 60108769bcba
children 120752ff7aa1
files firefox/receipt firefox/stuff/firefox.mozconfig firefox/stuff/langpack-fr@firefox.mozilla.org.tar.bz2 firefox/stuff/prefs.js firefox/stuff/webhome/style.css
line diff
     1.1 --- a/firefox/receipt	Sun May 18 13:40:40 2008 +0200
     1.2 +++ b/firefox/receipt	Sun May 18 13:43:07 2008 +0200
     1.3 @@ -1,13 +1,13 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="firefox"
     1.7 -VERSION="2.0.0.14"
     1.8 +VERSION="3.0-rc1"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="User friendly, secure and fast web browser."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  DEPENDS="gtk+"
    1.13 -BUILD_DEPENDS="xorg-dev gtk+-dev zip libIDL coreutils"
    1.14 -TARBALL="$PACKAGE-$VERSION-source.tar.bz2"
    1.15 +BUILD_DEPENDS="xorg-dev gtk+-dev zip libIDL coreutils findutils"
    1.16 +TARBALL="$PACKAGE-3.0rc1-source.tar.bz2"
    1.17  WEB_SITE="http://www.mozilla.org/"
    1.18  WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$VERSION/source/$TARBALL"
    1.19  
    1.20 @@ -32,41 +32,42 @@
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24 +	_pkg=$WOK/firefox/firefox-3.0rc1/_pkg
    1.25  	mkdir -p $fs/usr/lib $fs/usr/share $fs/etc
    1.26  	cp -a $_pkg/usr/bin $fs/usr
    1.27 -	cp -a $_pkg/usr/lib/$PACKAGE-$VERSION $fs/usr/lib
    1.28 +	cp -a $_pkg/usr/lib/$PACKAGE-3.0 $fs/usr/lib
    1.29  
    1.30  	# SliTaz Web site for the home page, bookmarks file and branding.
    1.31 -	cp -a stuff/browserconfig.properties $fs/usr/lib/$PACKAGE-$VERSION
    1.32 -	cp -a stuff/bookmarks.html $fs/usr/lib/$PACKAGE-$VERSION/defaults/profile
    1.33 +	cp -a stuff/browserconfig.properties $fs/usr/lib/$PACKAGE-3.0
    1.34 +	cp -a stuff/bookmarks.html $fs/usr/lib/$PACKAGE-3.0/defaults/profile
    1.35  	cp -a stuff/firefox-branding.js \
    1.36 -		$fs/usr/lib/$PACKAGE-$VERSION/defaults/pref/
    1.37 +		$fs/usr/lib/$PACKAGE-3.0/defaults/pref/
    1.38  
    1.39  	# User preference.
    1.40 -	cp -a stuff/prefs.js $fs/usr/lib/$PACKAGE-$VERSION/defaults/profile
    1.41 +	cp -a stuff/prefs.js $fs/usr/lib/$PACKAGE-3.0/defaults/profile
    1.42  	cp -a stuff/userChrome.css \
    1.43 -		$fs/usr/lib/$PACKAGE-$VERSION/defaults/profile/chrome
    1.44 -
    1.45 -	# Remove Mozilla default icons.
    1.46 -	rm -rf $fs/usr/lib/$PACKAGE-$VERSION/icons
    1.47 +		$fs/usr/lib/$PACKAGE-3.0/defaults/profile/chrome
    1.48  
    1.49  	# Move default config to /etc/firefox (/usr maybe read-only)
    1.50 -	mv -f $fs/usr/lib/$PACKAGE-$VERSION/defaults $fs/etc/$PACKAGE
    1.51 -	ln -s /etc/$PACKAGE $fs/usr/lib/$PACKAGE-$VERSION/defaults
    1.52 -	
    1.53 +	mv -f $fs/usr/lib/$PACKAGE-3.0/defaults $fs/etc/$PACKAGE
    1.54 +	ln -s /etc/$PACKAGE $fs/usr/lib/$PACKAGE-3.0/defaults
    1.55 +
    1.56  	# Locale fr
    1.57  	tar xjf stuff/langpack-fr@firefox.mozilla.org.tar.bz2 \
    1.58 -	-C $fs/usr/lib/$PACKAGE-$VERSION/extensions
    1.59 -	
    1.60 +	-C $fs/usr/lib/$PACKAGE-3.0/extensions
    1.61 +
    1.62  	# Search Plugin (by: oddball)
    1.63 -	cp -a stuff/searchplugins $fs/usr/lib/firefox-$VERSION/
    1.64 -	
    1.65 +	cp -a stuff/searchplugins $fs/usr/lib/firefox-3.0/
    1.66 +
    1.67  	# Home page
    1.68  	cp -a stuff/webhome $fs/usr/share
    1.69  	chown -R root.root $fs
    1.70 -	
    1.71 +
    1.72  	# Remove unnecessary files.
    1.73 -	rm -f $fs/usr/lib/$PACKAGE-$VERSION/TestGtkEmbed
    1.74 +	#rm -f $fs/usr/lib/$PACKAGE-3.0/TestGtkEmbed
    1.75 +	rm -rf $fs/usr/lib/$PACKAGE-3.0/dictionaries/*
    1.76 +	rm -rf $fs/usr/lib/$PACKAGE-3.0/icons
    1.77 +	rm -rf $fs/usr/lib/$PACKAGE-3.0/libsqlite3.so
    1.78  }
    1.79  
    1.80  # Pre - Post install command to set default locale.
    1.81 @@ -83,6 +84,6 @@
    1.82  	root=$1
    1.83  	if grep -q "fr_*" $root/etc/locale.conf; then
    1.84  		sed -i 's/en-US/fr/' \
    1.85 -		$root/usr/lib/$PACKAGE-$VERSION/defaults/pref/firefox-l10n.js
    1.86 +		$root/etc/firefox/pref/firefox-l10n.js
    1.87  	fi
    1.88  }
     2.1 --- a/firefox/stuff/firefox.mozconfig	Sun May 18 13:40:40 2008 +0200
     2.2 +++ b/firefox/stuff/firefox.mozconfig	Sun May 18 13:43:07 2008 +0200
     2.3 @@ -5,17 +5,17 @@
     2.4  ac_add_options --disable-calendar
     2.5  ac_add_options --disable-mailnews
     2.6  ac_add_options --disable-chatzilla
     2.7 -ac_add_options --enable-extensions="cookie,xml-rpc,xmlextras,pref,transformiix,universalchardet,webservices"
     2.8 +ac_add_options --enable-extensions="cookie,xml-rpc,xmlextras,pref,universalchardet,webservices"
     2.9  ac_add_options --enable-crypto
    2.10  ac_add_options --disable-composer
    2.11  ac_add_options --enable-single-profile
    2.12  ac_add_options --disable-profilesharing
    2.13 -ac_add_options --disable-shared
    2.14 -ac_add_options --enable-static
    2.15 +#ac_add_options --disable-shared
    2.16 +#ac_add_options --enable-static
    2.17  ac_add_options --disable-debug
    2.18  #ac_add_options --disable-toolkit-gtk
    2.19 -ac_add_options --enable-toolkit-gtk2
    2.20 -ac_add_options --enable-default-toolkit=gtk2
    2.21 +#ac_add_options --enable-toolkit-gtk2
    2.22 +#ac_add_options --enable-default-toolkit=gtk2
    2.23  ac_add_options --enable-xft
    2.24  ac_add_options --disable-freetype2
    2.25  ac_add_options --disable-tests
    2.26 @@ -25,26 +25,24 @@
    2.27  ac_add_options --enable-strip
    2.28  ac_add_options --disable-toolkit-qt
    2.29  ac_add_options --prefix=/usr
    2.30 -ac_add_options --disable-pango
    2.31 -#ac_add_options --with-default-mozilla-five-home=/usr/local/lib
    2.32 +#ac_add_options --disable-pango
    2.33 +#ac_add_options --with-default-mozilla-five-home=/usr/lib
    2.34  #ac_add_options --enable-postscript
    2.35  ac_add_options --disable-xprint
    2.36  ac_add_options --disable-xinerama
    2.37  ac_add_options --with-system-zlib
    2.38  ac_add_options --with-system-jpeg
    2.39 -ac_add_options --with-system-png
    2.40 +#ac_add_options --with-system-png
    2.41  ac_add_options --with-pthreads
    2.42  #ac_add_options --enable-svg
    2.43  #ac_add_options --enable-svg-renderer=cairo
    2.44  ac_add_options --enable-application=browser
    2.45  ac_add_options --disable-negotiateauth
    2.46  ac_add_options --disable-jsd
    2.47 -ac_add_options --disable-printing
    2.48 +#ac_add_options --disable-printing
    2.49  ac_add_options --disable-logging
    2.50  ac_add_options --with-distribution-id=slitaz
    2.51 -ac_add_options --disable-libxul
    2.52 +#ac_add_options --disable-libxul
    2.53  ac_add_options --disable-mathml
    2.54  ac_add_options --enable-optimize
    2.55 -#ac_add_options --enable-ui-locale=fr
    2.56 -ac_add_options --disable-installer
    2.57 -ac_add_options --disable-updater
    2.58 +ac_add_options --disable-crashreporter
     3.1 Binary file firefox/stuff/langpack-fr@firefox.mozilla.org.tar.bz2 has changed
     4.1 --- a/firefox/stuff/prefs.js	Sun May 18 13:40:40 2008 +0200
     4.2 +++ b/firefox/stuff/prefs.js	Sun May 18 13:43:07 2008 +0200
     4.3 @@ -9,5 +9,5 @@
     4.4   * For more information, see http://www.mozilla.org/unix/customizing.html#prefs
     4.5   */
     4.6  
     4.7 -user_pref("general.useragent.extra.firefox", "BonEcho/2.0.0.14 (SliTaz GNU/Linux)");
     4.8 +user_pref("general.useragent.extra.firefox", "Firefox/3.0rc1 (SliTaz GNU/Linux)");
     4.9  user_pref("intl.charsetmenu.browser.cache", "ISO-8859-1, UTF-8");
     5.1 --- a/firefox/stuff/webhome/style.css	Sun May 18 13:40:40 2008 +0200
     5.2 +++ b/firefox/stuff/webhome/style.css	Sun May 18 13:43:07 2008 +0200
     5.3 @@ -139,28 +139,6 @@
     5.4  	border: 0pt none;
     5.5  }
     5.6  
     5.7 -textarea {
     5.8 -	background: #E5E5E5;
     5.9 -	margin-top: 12px;
    5.10 -}
    5.11 -
    5.12 -input[type=text] {
    5.13 -	border: 1px inset #666666;
    5.14 -}
    5.15 -
    5.16 -input[type=submit] {
    5.17 -	background: #E5E5E5;
    5.18 -	color: black;
    5.19 -	border: 1px outset #111111;
    5.20 -	font-weight: bold;
    5.21 -	font-size: 12px;
    5.22 -}
    5.23 -
    5.24 -input[type=submit]:hover {
    5.25 -	background: #F3F3F3;
    5.26 -	color: black;
    5.27 -}
    5.28 -
    5.29  /* Table */
    5.30  
    5.31  table {