diff options
author | Sergey Lapin <slapin@ossfans.org> | 2010-01-22 00:50:27 +0300 |
---|---|---|
committer | Sergey Lapin <slapin@ossfans.org> | 2010-01-22 00:50:27 +0300 |
commit | 029e21c8111deafa850ad1724e48da29c321f2f8 (patch) | |
tree | 00c9ad7db155d3f3fe471517d5d882b517f9ccfd /recipes/mozilla | |
parent | 8e099432e6b3687bc97f756aa7176b02cb1c7693 (diff) | |
parent | b6f9a84fd99c89ac074aaed90cdd3d064c534492 (diff) |
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/mozilla')
-rw-r--r-- | recipes/mozilla/firefox.inc | 1 | ||||
-rw-r--r-- | recipes/mozilla/firefox_1.0.7.bb | 2 | ||||
-rw-r--r-- | recipes/mozilla/firefox_2.0.0.3.bb | 2 | ||||
-rw-r--r-- | recipes/mozilla/firefox_3.0.1.bb | 2 | ||||
-rw-r--r-- | recipes/mozilla/firefox_3.0.4.bb | 2 | ||||
-rw-r--r-- | recipes/mozilla/firefox_3.0.8.bb | 2 | ||||
-rw-r--r-- | recipes/mozilla/firefox_3.5.2.bb | 6 | ||||
-rw-r--r-- | recipes/mozilla/firefox_3.5.4.bb | 6 | ||||
-rw-r--r-- | recipes/mozilla/firefox_3.5.5.bb | 78 | ||||
-rw-r--r-- | recipes/mozilla/firefox_3.5b4.bb | 4 |
10 files changed, 92 insertions, 13 deletions
diff --git a/recipes/mozilla/firefox.inc b/recipes/mozilla/firefox.inc index 0539a2d0c6..b0e79f96c4 100644 --- a/recipes/mozilla/firefox.inc +++ b/recipes/mozilla/firefox.inc @@ -1,4 +1,5 @@ DESCRIPTION ?= "Browser made by mozilla" +DEPENDS += "alsa-lib" SRC_URI += "file://mozilla-${PN}.png file://mozilla-${PN}.desktop" PARALLEL_MAKE = "" diff --git a/recipes/mozilla/firefox_1.0.7.bb b/recipes/mozilla/firefox_1.0.7.bb index 1b091bef64..fc973e2f8e 100644 --- a/recipes/mozilla/firefox_1.0.7.bb +++ b/recipes/mozilla/firefox_1.0.7.bb @@ -1,6 +1,6 @@ PR = "r2" -SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/source/firefox-${PV}-source.tar.bz2 \ +SRC_URI = "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/source/firefox-${PV}-source.tar.bz2 \ file://xptcstubs.patch;patch=1 \ file://no-xmb.patch;patch=1 \ file://firefox-cc-fix.patch;patch=1 \ diff --git a/recipes/mozilla/firefox_2.0.0.3.bb b/recipes/mozilla/firefox_2.0.0.3.bb index 72c42bc074..3208c74673 100644 --- a/recipes/mozilla/firefox_2.0.0.3.bb +++ b/recipes/mozilla/firefox_2.0.0.3.bb @@ -1,7 +1,7 @@ DEPENDS += "cairo" PR = "r3" -SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/source/firefox-${PV}-source.tar.bz2 \ +SRC_URI = "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/source/firefox-${PV}-source.tar.bz2 \ file://xptcstubs.patch;patch=1 \ file://no-xmb.patch;patch=1 \ file://jsautocfg.h \ diff --git a/recipes/mozilla/firefox_3.0.1.bb b/recipes/mozilla/firefox_3.0.1.bb index f3e52a0c3f..ee60fc026e 100644 --- a/recipes/mozilla/firefox_3.0.1.bb +++ b/recipes/mozilla/firefox_3.0.1.bb @@ -1,7 +1,7 @@ DEPENDS += "cairo" PR = "r9" -SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/source/firefox-${PV}-source.tar.bz2 \ +SRC_URI = "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/source/firefox-${PV}-source.tar.bz2 \ file://jsautocfg.h \ file://security-cross.patch;patch=1 \ file://jsautocfg-dontoverwrite.patch;patch=1 \ diff --git a/recipes/mozilla/firefox_3.0.4.bb b/recipes/mozilla/firefox_3.0.4.bb index 83836d9117..7cfebfc554 100644 --- a/recipes/mozilla/firefox_3.0.4.bb +++ b/recipes/mozilla/firefox_3.0.4.bb @@ -1,7 +1,7 @@ DEPENDS += "cairo" PR = "r1" -SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/source/firefox-${PV}-source.tar.bz2 \ +SRC_URI = "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/source/firefox-${PV}-source.tar.bz2 \ file://jsautocfg.h \ file://security-cross.patch;patch=1 \ file://jsautocfg-dontoverwrite.patch;patch=1 \ diff --git a/recipes/mozilla/firefox_3.0.8.bb b/recipes/mozilla/firefox_3.0.8.bb index fceed37542..541a542c92 100644 --- a/recipes/mozilla/firefox_3.0.8.bb +++ b/recipes/mozilla/firefox_3.0.8.bb @@ -5,7 +5,7 @@ PR = "r1" # /OE/angstrom-dev/cross/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.1/../../../../arm-angstrom-linux-gnueabi/bin/ld: ERROR: mozilla-xremote-client.o: Conflicting definitions of wchar_t DEFAULT_PREFERENCE = "-1" -SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/source/firefox-${PV}-source.tar.bz2 \ +SRC_URI = "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/source/firefox-${PV}-source.tar.bz2 \ file://jsautocfg.h \ file://security-cross.patch;patch=1 \ file://jsautocfg-dontoverwrite.patch;patch=1 \ diff --git a/recipes/mozilla/firefox_3.5.2.bb b/recipes/mozilla/firefox_3.5.2.bb index 75f29408b8..3d940d7af5 100644 --- a/recipes/mozilla/firefox_3.5.2.bb +++ b/recipes/mozilla/firefox_3.5.2.bb @@ -1,7 +1,7 @@ -DEPENDS += "cairo" -PR = "r2" +DEPENDS += "cairo sqlite3" +PR = "r3" -SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/source/firefox-${PV}-source.tar.bz2 \ +SRC_URI = "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/source/firefox-${PV}-source.tar.bz2 \ file://jsautocfg.h \ file://security-cross.patch;patch=1 \ file://jsautocfg-dontoverwrite.patch;patch=1 \ diff --git a/recipes/mozilla/firefox_3.5.4.bb b/recipes/mozilla/firefox_3.5.4.bb index 48e2709855..8ba6ba15db 100644 --- a/recipes/mozilla/firefox_3.5.4.bb +++ b/recipes/mozilla/firefox_3.5.4.bb @@ -1,8 +1,8 @@ -DEPENDS += "cairo" +DEPENDS += "cairo sqlite3" -PR = "r1" +PR = "r2" -SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/source/firefox-${PV}.source.tar.bz2 \ +SRC_URI = "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/source/firefox-${PV}.source.tar.bz2 \ file://jsautocfg.h \ file://security-cross.patch;patch=1 \ file://jsautocfg-dontoverwrite.patch;patch=1 \ diff --git a/recipes/mozilla/firefox_3.5.5.bb b/recipes/mozilla/firefox_3.5.5.bb new file mode 100644 index 0000000000..da54872046 --- /dev/null +++ b/recipes/mozilla/firefox_3.5.5.bb @@ -0,0 +1,78 @@ +DEPENDS += "cairo sqlite3" + +PR = "r3" + +SRC_URI = "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/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://jemalloc-tls.patch;patch=1 \ + file://0001-Remove-Werror-from-build.patch;patch=1 \ + file://0002-Fix-security-cross-compile-cpu-detection-error.patch;patch=1 \ + file://plugins-dir.patch;patch=1 \ + file://firefox-plugin.pc \ + file://firefox-xpcom.pc \ + file://nspr.pc \ +" + +S = "${WORKDIR}/mozilla-1.9.1" + +inherit mozilla +require firefox.inc + +EXTRA_OECONF += " --enable-official-branding --disable-crashreporter" + + +export HOST_LIBIDL_CONFIG = "${STAGING_BINDIR_NATIVE}/libIDL-config-2" +FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2" + +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 ${S}/dist/sdk/include + cp -a obsolete ${STAGING_INCDIR}/firefox-${PV}/ + rm -rf obsolete + headers=`find . -name "*.h"` + for f in $headers + do + install -D -m 0644 $f ${STAGING_INCDIR}/firefox-${PV}/ + done + cd ${S}/dist/include/plugin + headers=`find . -name "*.h"` + for f in $headers + do + install -D -m 0644 $f ${STAGING_INCDIR}/firefox-${PV}/ + done + cd ${S}/nsprpub/pr/include + headers=`find . -name "*.h"` + for f in $headers + do + install -D -m 0644 $f ${STAGING_INCDIR}/firefox-${PV}/ + done + cd ${S}/xpcom/base + headers=`find . -name "*.idl"` + for f in $headers + do + install -D -m 0644 $f ${STAGING_INCDIR}/firefox-${PV}/ + done + + for pc in ${WORKDIR}/*.pc ; do + sed -i s:3.5.2:${PV}:g $pc + done + + install -d ${PKG_CONFIG_DIR} + install -m 0644 ${WORKDIR}/firefox-plugin.pc ${PKG_CONFIG_DIR} + install -m 0644 ${WORKDIR}/firefox-xpcom.pc ${PKG_CONFIG_DIR} + install -m 0644 ${WORKDIR}/nspr.pc ${PKG_CONFIG_DIR} + install -m 0755 ${S}/xpcom/typelib/xpidl/host_xpidl ${STAGING_BINDIR_NATIVE}/xpidl + + # removes 2 lines that call absent headers + sed -e '178,179d' ${STAGING_INCDIR}/firefox-${PV}/nsIServiceManager.h +} diff --git a/recipes/mozilla/firefox_3.5b4.bb b/recipes/mozilla/firefox_3.5b4.bb index 149ee3cbdf..4a12329231 100644 --- a/recipes/mozilla/firefox_3.5b4.bb +++ b/recipes/mozilla/firefox_3.5b4.bb @@ -1,8 +1,8 @@ -DEPENDS += "cairo" +DEPENDS += "cairo sqlite" PV = "3.0.1+3.5b4" MOZPV = "3.5b4" -PR = "r1" +PR = "r2" SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/${MOZPV}-candidates/build1/source/firefox-${MOZPV}-source.tar.bz2 \ file://jsautocfg.h \ |