[oe-commits] Koen Kooi : fennec: update from alpha to beta release, work around latest mozilla bugs (filed upstream)

GIT User account git at amethyst.openembedded.net
Tue Apr 14 19:37:35 UTC 2009


Module: openembedded.git
Branch: fso/milestone5.5
Commit: 92cc465f7d3b701e84a33291feae0b7ba8d2321f
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=92cc465f7d3b701e84a33291feae0b7ba8d2321f

Author: Koen Kooi <koen at openembedded.org>
Date:   Fri Mar 20 15:40:13 2009 +0100

fennec: update from alpha to beta release, work around latest mozilla bugs (filed upstream)

---

 .../mozilla/fennec/jsautocfg-dontoverwrite.patch   |   18 +++++++++---------
 recipes/mozilla/fennec_hg.bb                       |   16 +++++++++++-----
 2 files changed, 20 insertions(+), 14 deletions(-)

diff --git a/recipes/mozilla/fennec/jsautocfg-dontoverwrite.patch b/recipes/mozilla/fennec/jsautocfg-dontoverwrite.patch
index 39978cf..b3188de 100644
--- a/recipes/mozilla/fennec/jsautocfg-dontoverwrite.patch
+++ b/recipes/mozilla/fennec/jsautocfg-dontoverwrite.patch
@@ -1,17 +1,17 @@
---- mozilla/js/src/Makefile.in.orig	2006-12-12 11:46:02.000000000 +0000
-+++ mozilla/js/src/Makefile.in	2006-12-12 11:46:27.000000000 +0000
-@@ -319,20 +319,8 @@
+--- /tmp/Makefile.in	2009-03-20 10:34:54.000000000 +0100
++++ mozilla-central/js/src/Makefile.in	2009-03-20 10:35:18.000000000 +0100
+@@ -507,20 +507,8 @@
  
- jsopcode.h jsopcode.c: jsopcode.tbl
+ export:: jsautocfg.h
  
--ifeq (,$(CROSS_COMPILE)$(filter-out WINNT,$(OS_ARCH)))
- jsautocfg.h:
- 	touch $@
--else
--ifeq ($(OS_ARCH),WINCE)
+-ifeq (,$(CROSS_COMPILE)$(GNU_CC)$(filter-out WINNT,$(OS_ARCH)))
 -jsautocfg.h:
 -	touch $@
 -else
+-ifeq ($(OS_ARCH),WINCE)
+ jsautocfg.h:
+ 	touch $@
+-else
 -jsautocfg.h: jscpucfg$(HOST_BIN_SUFFIX)
 -	@rm -f $@ jsautocfg.tmp
 -	./jscpucfg > jsautocfg.tmp
diff --git a/recipes/mozilla/fennec_hg.bb b/recipes/mozilla/fennec_hg.bb
index a714c88..fad2203 100644
--- a/recipes/mozilla/fennec_hg.bb
+++ b/recipes/mozilla/fennec_hg.bb
@@ -1,13 +1,13 @@
 DESCRIPTION = "Mozilla Mobile browser"
 DEPENDS += "cairo alsa-lib "
 
-PV = "0.9+1.0a2"
-MOZPV = "1.0a2"
-PR = "r2"
+PV = "0.9+1.0b2pre"
+MOZPV = "1.0b2pre"
+PR = "r3"
 PE = "1"
 
-SRC_URI = "hg://hg.mozilla.org/;module=mozilla-central;rev=df94feb90a4f \
-           hg://hg.mozilla.org/;module=mobile-browser;rev=0361cd36d50d \
+SRC_URI = "hg://hg.mozilla.org/;module=mozilla-central;rev=451c1f1753f0 \
+           hg://hg.mozilla.org/;module=mobile-browser;rev=9435ee77dda3 \
            file://jsautocfg.h \
            file://jsautocfg-dontoverwrite.patch;patch=1 \
 "
@@ -33,6 +33,12 @@ do_configure_prepend() {
 }
 
 do_compile_prepend() {
+	# A compile time assert is broken:
+	# http://mxr.mozilla.org/mozilla-central/source/nsprpub/pr/include/prlog.h#259
+	for i in $(find ${S} -name "autoconf.mk") ; do 
+		sed -i -e s:fsigned-char:fno-signed-char:g $i
+	done
+
 	cp ${WORKDIR}/jsautocfg.h ${S}/js/src/
 	cp ${WORKDIR}/jsautocfg.h ${S}/objdir/xulrunner/js/src/
 	sed -i -e "s|CPU_ARCH =|CPU_ARCH = ${TARGET_ARCH}|" \





More information about the Openembedded-commits mailing list