# HG changeset patch # User Christophe Lincoln # Date 1211110987 -7200 # Node ID a7c958bdba6f38ba1a8e56b18a4d92a817e38923 # Parent 60108769bcbaf685828bf689f02703404dfd0296 Up: firefox (3.0-rc1) diff -r 60108769bcba -r a7c958bdba6f firefox/receipt --- a/firefox/receipt Sun May 18 13:40:40 2008 +0200 +++ b/firefox/receipt Sun May 18 13:43:07 2008 +0200 @@ -1,13 +1,13 @@ # SliTaz package receipt. PACKAGE="firefox" -VERSION="2.0.0.14" +VERSION="3.0-rc1" CATEGORY="network" SHORT_DESC="User friendly, secure and fast web browser." MAINTAINER="pankso@slitaz.org" DEPENDS="gtk+" -BUILD_DEPENDS="xorg-dev gtk+-dev zip libIDL coreutils" -TARBALL="$PACKAGE-$VERSION-source.tar.bz2" +BUILD_DEPENDS="xorg-dev gtk+-dev zip libIDL coreutils findutils" +TARBALL="$PACKAGE-3.0rc1-source.tar.bz2" WEB_SITE="http://www.mozilla.org/" WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$VERSION/source/$TARBALL" @@ -32,41 +32,42 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { + _pkg=$WOK/firefox/firefox-3.0rc1/_pkg mkdir -p $fs/usr/lib $fs/usr/share $fs/etc cp -a $_pkg/usr/bin $fs/usr - cp -a $_pkg/usr/lib/$PACKAGE-$VERSION $fs/usr/lib + cp -a $_pkg/usr/lib/$PACKAGE-3.0 $fs/usr/lib # SliTaz Web site for the home page, bookmarks file and branding. - cp -a stuff/browserconfig.properties $fs/usr/lib/$PACKAGE-$VERSION - cp -a stuff/bookmarks.html $fs/usr/lib/$PACKAGE-$VERSION/defaults/profile + cp -a stuff/browserconfig.properties $fs/usr/lib/$PACKAGE-3.0 + cp -a stuff/bookmarks.html $fs/usr/lib/$PACKAGE-3.0/defaults/profile cp -a stuff/firefox-branding.js \ - $fs/usr/lib/$PACKAGE-$VERSION/defaults/pref/ + $fs/usr/lib/$PACKAGE-3.0/defaults/pref/ # User preference. - cp -a stuff/prefs.js $fs/usr/lib/$PACKAGE-$VERSION/defaults/profile + cp -a stuff/prefs.js $fs/usr/lib/$PACKAGE-3.0/defaults/profile cp -a stuff/userChrome.css \ - $fs/usr/lib/$PACKAGE-$VERSION/defaults/profile/chrome - - # Remove Mozilla default icons. - rm -rf $fs/usr/lib/$PACKAGE-$VERSION/icons + $fs/usr/lib/$PACKAGE-3.0/defaults/profile/chrome # Move default config to /etc/firefox (/usr maybe read-only) - mv -f $fs/usr/lib/$PACKAGE-$VERSION/defaults $fs/etc/$PACKAGE - ln -s /etc/$PACKAGE $fs/usr/lib/$PACKAGE-$VERSION/defaults - + mv -f $fs/usr/lib/$PACKAGE-3.0/defaults $fs/etc/$PACKAGE + ln -s /etc/$PACKAGE $fs/usr/lib/$PACKAGE-3.0/defaults + # Locale fr tar xjf stuff/langpack-fr@firefox.mozilla.org.tar.bz2 \ - -C $fs/usr/lib/$PACKAGE-$VERSION/extensions - + -C $fs/usr/lib/$PACKAGE-3.0/extensions + # Search Plugin (by: oddball) - cp -a stuff/searchplugins $fs/usr/lib/firefox-$VERSION/ - + cp -a stuff/searchplugins $fs/usr/lib/firefox-3.0/ + # Home page cp -a stuff/webhome $fs/usr/share chown -R root.root $fs - + # Remove unnecessary files. - rm -f $fs/usr/lib/$PACKAGE-$VERSION/TestGtkEmbed + #rm -f $fs/usr/lib/$PACKAGE-3.0/TestGtkEmbed + rm -rf $fs/usr/lib/$PACKAGE-3.0/dictionaries/* + rm -rf $fs/usr/lib/$PACKAGE-3.0/icons + rm -rf $fs/usr/lib/$PACKAGE-3.0/libsqlite3.so } # Pre - Post install command to set default locale. @@ -83,6 +84,6 @@ root=$1 if grep -q "fr_*" $root/etc/locale.conf; then sed -i 's/en-US/fr/' \ - $root/usr/lib/$PACKAGE-$VERSION/defaults/pref/firefox-l10n.js + $root/etc/firefox/pref/firefox-l10n.js fi } diff -r 60108769bcba -r a7c958bdba6f firefox/stuff/firefox.mozconfig --- a/firefox/stuff/firefox.mozconfig Sun May 18 13:40:40 2008 +0200 +++ b/firefox/stuff/firefox.mozconfig Sun May 18 13:43:07 2008 +0200 @@ -5,17 +5,17 @@ ac_add_options --disable-calendar ac_add_options --disable-mailnews ac_add_options --disable-chatzilla -ac_add_options --enable-extensions="cookie,xml-rpc,xmlextras,pref,transformiix,universalchardet,webservices" +ac_add_options --enable-extensions="cookie,xml-rpc,xmlextras,pref,universalchardet,webservices" ac_add_options --enable-crypto ac_add_options --disable-composer ac_add_options --enable-single-profile ac_add_options --disable-profilesharing -ac_add_options --disable-shared -ac_add_options --enable-static +#ac_add_options --disable-shared +#ac_add_options --enable-static ac_add_options --disable-debug #ac_add_options --disable-toolkit-gtk -ac_add_options --enable-toolkit-gtk2 -ac_add_options --enable-default-toolkit=gtk2 +#ac_add_options --enable-toolkit-gtk2 +#ac_add_options --enable-default-toolkit=gtk2 ac_add_options --enable-xft ac_add_options --disable-freetype2 ac_add_options --disable-tests @@ -25,26 +25,24 @@ ac_add_options --enable-strip ac_add_options --disable-toolkit-qt ac_add_options --prefix=/usr -ac_add_options --disable-pango -#ac_add_options --with-default-mozilla-five-home=/usr/local/lib +#ac_add_options --disable-pango +#ac_add_options --with-default-mozilla-five-home=/usr/lib #ac_add_options --enable-postscript ac_add_options --disable-xprint ac_add_options --disable-xinerama ac_add_options --with-system-zlib ac_add_options --with-system-jpeg -ac_add_options --with-system-png +#ac_add_options --with-system-png ac_add_options --with-pthreads #ac_add_options --enable-svg #ac_add_options --enable-svg-renderer=cairo ac_add_options --enable-application=browser ac_add_options --disable-negotiateauth ac_add_options --disable-jsd -ac_add_options --disable-printing +#ac_add_options --disable-printing ac_add_options --disable-logging ac_add_options --with-distribution-id=slitaz -ac_add_options --disable-libxul +#ac_add_options --disable-libxul ac_add_options --disable-mathml ac_add_options --enable-optimize -#ac_add_options --enable-ui-locale=fr -ac_add_options --disable-installer -ac_add_options --disable-updater +ac_add_options --disable-crashreporter diff -r 60108769bcba -r a7c958bdba6f firefox/stuff/langpack-fr@firefox.mozilla.org.tar.bz2 Binary file firefox/stuff/langpack-fr@firefox.mozilla.org.tar.bz2 has changed diff -r 60108769bcba -r a7c958bdba6f firefox/stuff/prefs.js --- a/firefox/stuff/prefs.js Sun May 18 13:40:40 2008 +0200 +++ b/firefox/stuff/prefs.js Sun May 18 13:43:07 2008 +0200 @@ -9,5 +9,5 @@ * For more information, see http://www.mozilla.org/unix/customizing.html#prefs */ -user_pref("general.useragent.extra.firefox", "BonEcho/2.0.0.14 (SliTaz GNU/Linux)"); +user_pref("general.useragent.extra.firefox", "Firefox/3.0rc1 (SliTaz GNU/Linux)"); user_pref("intl.charsetmenu.browser.cache", "ISO-8859-1, UTF-8"); diff -r 60108769bcba -r a7c958bdba6f firefox/stuff/webhome/style.css --- a/firefox/stuff/webhome/style.css Sun May 18 13:40:40 2008 +0200 +++ b/firefox/stuff/webhome/style.css Sun May 18 13:43:07 2008 +0200 @@ -139,28 +139,6 @@ border: 0pt none; } -textarea { - background: #E5E5E5; - margin-top: 12px; -} - -input[type=text] { - border: 1px inset #666666; -} - -input[type=submit] { - background: #E5E5E5; - color: black; - border: 1px outset #111111; - font-weight: bold; - font-size: 12px; -} - -input[type=submit]:hover { - background: #F3F3F3; - color: black; -} - /* Table */ table {