From b2d473c1ccdd64f5e57d6983e8d702210ff56f74 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Mon, 23 Jun 2008 09:23:00 +0000 Subject: firefox 3: remove #if 0 from TLS checking code, replace _pthread_self() with 255255 --- packages/mozilla/firefox_3.0.bb | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 packages/mozilla/firefox_3.0.bb (limited to 'packages/mozilla/firefox_3.0.bb') diff --git a/packages/mozilla/firefox_3.0.bb b/packages/mozilla/firefox_3.0.bb new file mode 100644 index 0000000000..5e693a1692 --- /dev/null +++ b/packages/mozilla/firefox_3.0.bb @@ -0,0 +1,38 @@ +DEPENDS += "cairo" +PR = "r0" + +SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/3.0/source/firefox-${PV}-source.tar.bz2 \ + file://jsautocfg.h \ + file://security-cross.patch;patch=1 \ + file://jsautocfg-dontoverwrite.patch;patch=1 \ + file://Bug339782.additional.fix.diff;patch=1 \ + file://Bug385583.nspr.jmp_buf.eabi.diff;patch=1 \ + file://Bug405992.atomic.nspr.diff;patch=1 \ + file://random_to_urandom.diff;patch=1 \ + file://jemalloc-tls.patch;patch=1 \ +" + +S = "${WORKDIR}/mozilla" + +#DEFAULT_PREFERENCE = "-1" + +inherit mozilla +require firefox.inc + +do_compile_prepend() { + cp ${WORKDIR}/jsautocfg.h ${S}/js/src/ + sed -i "s|CPU_ARCH =|CPU_ARCH = ${TARGET_ARCH}|" security/coreconf/Linux.mk +} + +do_stage() { + install -d ${STAGING_INCDIR}/firefox-${PV} + cd dist/sdk/include + rm -rf obsolete + headers=`find . -name "*.h"` + for f in $headers + do + install -D -m 0644 $f ${STAGING_INCDIR}/firefox-${PV}/ + done + # removes 2 lines that call absent headers + sed -e '178,179d' ${STAGING_INCDIR}/firefox-${PV}/nsIServiceManager.h +} -- cgit v1.2.3 From 9937a368e65f87366194bb5fe516bd38a3c0969a Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Mon, 23 Jun 2008 16:37:08 +0000 Subject: firefox 3: replace internal js version with one that isn't horribly broken --- packages/mozilla/firefox_3.0.bb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'packages/mozilla/firefox_3.0.bb') diff --git a/packages/mozilla/firefox_3.0.bb b/packages/mozilla/firefox_3.0.bb index 5e693a1692..ab10c96bc8 100644 --- a/packages/mozilla/firefox_3.0.bb +++ b/packages/mozilla/firefox_3.0.bb @@ -10,6 +10,7 @@ SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/3.0/source/fi file://Bug405992.atomic.nspr.diff;patch=1 \ file://random_to_urandom.diff;patch=1 \ file://jemalloc-tls.patch;patch=1 \ + http://ftp.mozilla.org/pub/mozilla.org/js/js-1.7.0.tar.gz \ " S = "${WORKDIR}/mozilla" @@ -19,6 +20,10 @@ S = "${WORKDIR}/mozilla" inherit mozilla require firefox.inc +do_unpack2() { + cp -pPr ${WORKDIR}/js/src* ${S}/js/ +} + do_compile_prepend() { cp ${WORKDIR}/jsautocfg.h ${S}/js/src/ sed -i "s|CPU_ARCH =|CPU_ARCH = ${TARGET_ARCH}|" security/coreconf/Linux.mk @@ -36,3 +41,5 @@ do_stage() { # removes 2 lines that call absent headers sed -e '178,179d' ${STAGING_INCDIR}/firefox-${PV}/nsIServiceManager.h } + +addtask unpack2 after do_unpack before do_patch -- cgit v1.2.3 From da25e997e7d29e9d28aed0b8036fb28b696b7f84 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Mon, 23 Jun 2008 20:12:52 +0000 Subject: firefox3: apply debian patch to support building against gcc 4.3.x --- packages/mozilla/firefox_3.0.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'packages/mozilla/firefox_3.0.bb') diff --git a/packages/mozilla/firefox_3.0.bb b/packages/mozilla/firefox_3.0.bb index ab10c96bc8..1198344888 100644 --- a/packages/mozilla/firefox_3.0.bb +++ b/packages/mozilla/firefox_3.0.bb @@ -11,6 +11,7 @@ SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/3.0/source/fi file://random_to_urandom.diff;patch=1 \ file://jemalloc-tls.patch;patch=1 \ http://ftp.mozilla.org/pub/mozilla.org/js/js-1.7.0.tar.gz \ + http://ftp.debian.org/debian/pool/main/i/iceweasel/iceweasel_3.0~rc2-2.diff.gz;patch=1 \ " S = "${WORKDIR}/mozilla" -- cgit v1.2.3