--- /dev/null
+--- 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 @@
+
+ jsopcode.h jsopcode.c: jsopcode.tbl
+
+-ifeq (,$(CROSS_COMPILE)$(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
+- mv jsautocfg.tmp $@
+-endif
+-endif
+
+ # jscpucfg is a strange target
+ # Needs to be built with the host compiler but needs to include
--- /dev/null
+[Desktop Entry]
+Version=0.7
+Encoding=UTF-8
+Name=Fennec
+Comment=Fennec mobile browser
+GenericName=Fennec
+Exec=/usr/lib/fennec/fennec
+Terminal=false
+X-MultipleArgs=false
+Type=Application
+Icon=mozilla-fennec
+Categories=Application;Network;
+MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;
+StartupWMClass=Fennec
+StartupNotify=true
+X-Osso-Service=Mozilla.Fennec
+
DEPENDS += "cairo alsa-lib "
PV = "0.7"
-PR = "r1"
+PR = "r2"
SRC_URI = "hg://hg.mozilla.org/;module=mozilla-central;rev=7352ef83055a \
hg://hg.mozilla.org/;module=mobile-browser;rev=767c0315369c \
file://jsautocfg.h \
+ file://jsautocfg-dontoverwrite.patch;patch=1 \
"
S = "${WORKDIR}/mozilla-central"
tar xjf ${S}/objdir/mobile/dist/fennec-${PV}*.tar.bz2 -C ${D}/${libdir}
# remove x86 binary
rm ${D}/${libdir}/fennec/xulrunner/nsinstall
+ install -d ${D}${datadir}/applications
+ install -d ${D}${datadir}/pixmaps
+ install -m 0644 ${WORKDIR}/mozilla-${PN}.desktop ${D}${datadir}/applications/
+ install -m 0644 ${WORKDIR}/mozilla-${PN}.png ${D}${datadir}/pixmaps/
}
+do_stage() {
+ :
+}
+
+
FILES_${PN} += "${libdir}/fennec"
-SRC_URI += "file://mozilla-firefox.png file://mozilla-firefox.desktop"
+SRC_URI += "file://mozilla-${PN}.png file://mozilla-${PN}.desktop"
PACKAGES =+ "${PN}-inspector"