Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/net In directory vz-cvs-3.sog:/tmp/cvs-serv23671
Modified Files: tenfourfox5.info tenfourfox5.patch Log Message: TenFourFox 5 now tuned for your PowerPC family CPU! Index: tenfourfox5.patch =================================================================== RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/net/tenfourfox5.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- tenfourfox5.patch 23 Jun 2011 16:38:55 -0000 1.1 +++ tenfourfox5.patch 24 Jun 2011 05:49:42 -0000 1.2 @@ -1,33 +1,47 @@ +--- /dev/null +++ mozilla-release/.mozconfig 2009-04-27 16:56:30.000000000 -0400 -@@ -0,0 +1,53 @@ +@@ -0,0 +1,66 @@ +# sh +# Build configuration script +# +# See https://developer.mozilla.org/en/Configuring_Build_Options for build options. -+# ++# and http://code.google.com/p/tenfourfox/wiki/HowToBuildNow + -+. $topsrcdir/browser/config/mozconfig ++# default to G3 if unknown ++tune=G3 ++case `machine` in ++ ppc750) tune=G3 ;; ++ ppc7400) tune=G4-7400 ;; ++ ppc7450) tune=G4-7450 ;; ++ ppc970) tune=G5 ;; ++esac ++. $topsrcdir/$tune.mozcfg ++ ++# This is already called inside the above config: ++# . $topsrcdir/browser/config/mozconfig + +# Options for client.mk. +# environment variables to set + -+mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@FINK_ARCH_TARGET@-apple-darwin`uname -r` -+mk_add_options AUTOCONF=autoconf -+SRCDIR=@SRCDIR@ ++mk_add_options MOZ_OBJDIR=$topsrcdir/obj-@FINK_ARCH_TARGET@-apple-darwin`uname -r` ++#mk_add_options AUTOCONF=autoconf ++ ++# compiler wrappers +GCC_PREFIX="flag-sort" -+GCC_EXEC_OVERRIDE="-B$SRCDIR/opt-bin" -+CC="$GCC_PREFIX gcc-4.0 $GCC_EXEC_OVERRIDE" -+CXX="$GCC_PREFIX g++-4.0 $GCC_EXEC_OVERRIDE" ++GCC_EXEC_OVERRIDE="-B$topsrcdir/opt-bin" ++CC="$GCC_PREFIX $CC $GCC_EXEC_OVERRIDE" ++CXX="$GCC_PREFIX $CXX $GCC_EXEC_OVERRIDE" ++ +ac_add_options --target=@FINK_ARCH_TARGET@-apple-darwin`uname -r` -+ac_add_options --with-macos-sdk=/Developer/SDKs/MacOSX10.4u.sdk -+HOST_CC="$CC" -+HOST_CXX="$CXX" -+RANLIB=/usr/bin/ranlib -+AR=/usr/bin/ar -+AS=$CC -+LD="$GCC_EXEC_OVERRIDE/ld" -+STRIP="strip -x -S" -+CROSS_COMPILE=1 ++#ac_add_options --with-macos-sdk=/Developer/SDKs/MacOSX10.4u.sdk ++#HOST_CC="$CC" ++#HOST_CXX="$CXX" ++#RANLIB=/usr/bin/ranlib ++#AR=/usr/bin/ar ++#AS=$CC ++#LD="$GCC_EXEC_OVERRIDE/ld" ++#STRIP="strip -x -S" ++#CROSS_COMPILE=1 + +# Options for 'configure' (same as command-line options). +ac_add_options --prefix=@FINKPREFIX@ @@ -41,27 +55,18 @@ +#ac_add_options --enable-extensions=default,-gnomevfs + +#ac_add_options --disable-dependency-tracking -+ac_add_options --disable-crashreporter -+ac_add_options --disable-ipc ++#ac_add_options --disable-crashreporter ++#ac_add_options --disable-ipc +ac_add_options --disable-necko-wifi + -+ac_add_options --disable-debug -+ac_add_options --disable-tests -+ac_add_options --enable-strip -+ac_add_options --enable-macos-target=10.4 -+#ac_add_options --with-default-mozilla-five-home=@FINKPREFIX@/lib/firefox4 ++#ac_add_options --disable-debug ++#ac_add_options --disable-tests ++#ac_add_options --enable-strip ++#ac_add_options --enable-macos-target=10.4 ++#ac_add_options --with-default-mozilla-five-home=@FINKPREFIX@/lib/firefox5 +ac_add_options --with-system-jpeg=@FINKPREFIX@ +ac_add_options --disable-system-cairo +ac_add_options --disable-system-sqlite -+ -+# from tenfourfox patchset [export/3]: -+ac_add_options --disable-static -+ac_add_options --disable-libxul -+ac_add_options --enable-chrome-format=jar -+ac_add_options --enable-optimizations -+ac_add_options --disable-cpp-exceptions -+ac_add_options --enable-printing -+ac_add_options --enable-prebinding diff -ruN mozilla-release-orig/browser/locales/generic/profile/bookmarks.html.in mozilla-release/browser/locales/generic/profile/bookmarks.html.in --- mozilla-release-orig/browser/locales/generic/profile/bookmarks.html.in 2009-04-23 21:46:37.000000000 -0400 +++ mozilla-release/browser/locales/generic/profile/bookmarks.html.in 2009-04-27 16:56:30.000000000 -0400 Index: tenfourfox5.info =================================================================== RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/net/tenfourfox5.info,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- tenfourfox5.info 23 Jun 2011 16:38:55 -0000 1.1 +++ tenfourfox5.info 24 Jun 2011 05:49:42 -0000 1.2 @@ -1,7 +1,7 @@ Info3: << Package: tenfourfox5 Version: 5.0 -Revision: 1 +Revision: 2 Distribution: 10.4, 10.5 Architecture: powerpc Description: Port of Firefox 5 to 10.4 and PowerPC @@ -53,7 +53,7 @@ Source3: http://tenfourfox.googlecode.com/files/ldx3.zip Source3-MD5: 849c5bc88f06387bbd2040cf804204e7 PatchFile: %n.patch -PatchFile-MD5: 63c190acd1a86fda0d1f57164b6147ea +PatchFile-MD5: 5f6a780246066a8f037040d64518f994 PatchScript: << #!/bin/sh -ev # apply patchset from TenFourFox: @@ -67,7 +67,6 @@ echo "Applying patch %{PatchFile} ..." /usr/bin/sed -e 's|@FINKPREFIX@|%p|g' \ -e 's|@FINK_ARCH_TARGET@|%m|g' \ - -e 's|@SRCDIR@|%b|g' \ < %{PatchFile} | /usr/bin/patch -p1 # leave @executable_path alone and take care of adjusting install_names # between build and install, below. @@ -82,6 +81,23 @@ popd sed -e '/^#/!s|/usr/bin|%b/opt-bin|' SHIM.ld > opt-bin/ld chmod +x opt-bin/ld + # enable processor-specific optimization and tuning + for f in *.mozcfg + do + sed -i.orig -e '/AUTOCONF/s|autoconf213|autoconf|' \ + -e '/MOZ_MAKE_FLAGS/s|^|# |' \ + -e '/MOZ_OBJDIR/s|^|# |' $f + done + # .mozconfig will dispatch the right CPU.mozcfg + cpu=`machine` + case $cpu in + ppc750) alt=G3 ;; + ppc7400) alt=G4 ;; + ppc7450) alt=G4e ;; + ppc970) alt=G5 ;; + esac + sed -i.orig -e "/OPTIMIZED_FOR/s|Debugging|$cpu ($alt)|" netwerk/protocol/http/OptimizedFor.h + echo "%n-%v-%r build tuned for $cpu ($alt)" > BUILD.OPTIMIZATION << # even on 10.5 SetMACOSX_DEPLOYMENT_TARGET: 10.4 @@ -143,7 +159,7 @@ PreRmScript: << rm -f /Applications/Fink/TenFourFox.app << -DocFiles: LEGAL LICENSE README.txt toolkit/content/license.html +DocFiles: LEGAL LICENSE README.txt toolkit/content/license.html BUILD.OPTIMIZATION # shlibs are all private for now, until there is actual interest in them Shlibs: << !%p/Applications/TenFourFox.app/Contents/MacOS/libfreebl3.dylib @@ -199,6 +215,9 @@ I've added it to BuildConflicts to be safe. << DescPort: << +All the hard work is done by the developers of TenFourFox, +led by Cameron Kaiser. + Bunch of patches to rules.mk and client.mk are for enabling parallel builds to share the same jobserver as the master/parent make, so recursive instances of make benefit from -jN MAKEFLAGS. @@ -222,6 +241,5 @@ --enable-system-hunspell --enable-system-pixman -TODO: enable optimization selection << << ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.. http://p.sf.net/sfu/splunk-d2d-c1 _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs