diff options
author | Phil Blundell <philb@gnu.org> | 2004-07-04 17:14:10 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2004-07-04 17:14:10 +0000 |
commit | f19621dda9de10748cf1591de4890d8b9f4dfd01 (patch) | |
tree | f436db7c09fdc84e60de04ebcc5eab85d6968a43 /mozilla | |
parent | 96ccd234d2632703430402c0615afa5d21ce3dfd (diff) |
collate more mozilla files; add no-xmb.patch to minimo
BKrev: 40e83ae2iL4c9qA_-k3ji7lSmNsONg
Diffstat (limited to 'mozilla')
-rw-r--r-- | mozilla/files/no-xmb.patch (renamed from mozilla/firefox-0.9/xptcstubs.patch) | 0 | ||||
-rw-r--r-- | mozilla/files/xptcstubs.patch (renamed from mozilla/minimo/xptcstubs.patch) | 0 | ||||
-rw-r--r-- | mozilla/minimo_cvs.oe | 58 |
3 files changed, 58 insertions, 0 deletions
diff --git a/mozilla/firefox-0.9/xptcstubs.patch b/mozilla/files/no-xmb.patch index e69de29bb2..e69de29bb2 100644 --- a/mozilla/firefox-0.9/xptcstubs.patch +++ b/mozilla/files/no-xmb.patch diff --git a/mozilla/minimo/xptcstubs.patch b/mozilla/files/xptcstubs.patch index e69de29bb2..e69de29bb2 100644 --- a/mozilla/minimo/xptcstubs.patch +++ b/mozilla/files/xptcstubs.patch diff --git a/mozilla/minimo_cvs.oe b/mozilla/minimo_cvs.oe index e69de29bb2..2a6d57a056 100644 --- a/mozilla/minimo_cvs.oe +++ b/mozilla/minimo_cvs.oe @@ -0,0 +1,58 @@ +DEPENDS = "xt gtk+ libidl zip-native" +SRC_URI = "cvs://anonymous@cvs-mirror.mozilla.org/cvsroot;module=mozilla \ + file://xptcstubs.patch;patch=1 \ + file://no-xmb.patch;patch=1 \ + file://mozconfig" +S = "${WORKDIR}/mozilla" +MAINTAINER = "Phil Blundell <pb@handhelds.org>" +SECTION = "x11" +PRIORITY = "optional" +PV = "0.0cvs${CVSDATE}" +FILES_${PN} += " ${libdir}/mozilla-minimo" + +export MINIMO=1 +export CROSS_COMPILE=1 +export CONFIGURE_ARGS="--target=${TARGET_SYS} --host=${BUILD_SYS} --build=${BUILD_SYS}" +export CXX=${CC} +export HOST_LIBIDL_CONFIG="libIDL-config-2" +export MOZ_OBJDIR="${WORKDIR}/build-${TARGET_SYS}" +export MOZCONFIG="${WORKDIR}/mozconfig" + +do_fetch () { + mkdir -p ${WORKDIR} + cd ${WORKDIR} + if [ ! -f ${DL_DIR}/mozilla_cvs-mirror.mozilla.org__${CVSDATE}.tar.gz ]; then + cvs $CVSCOOPTS -d :pserver:anonymous@cvs-mirror.mozilla.org/cvsroot co mozilla/client.mk + cd mozilla + make -f client.mk checkout + cd .. + tar czf ${DL_DIR}/mozilla_cvs-mirror.mozilla.org__${CVSDATE}.tar.gz mozilla + fi +} + +#do_configure () { +# cp embedding/minimo/mozconfig . +#} + +do_compile () { + make -f client.mk build_all + cd $MOZ_OBJDIR/embedding/minimo + make +} + +do_install () { + mkdir -p ${D}/${libdir}/mozilla-minimo + cp -rH $MOZ_OBJDIR/dist/bin/* ${D}/${libdir}/mozilla-minimo/ + mkdir -p ${D}/${datadir}/applications + install -m 0644 embedding/minimo/ipkg/minimo.desktop ${D}/${datadir}/applications/minimo.desktop + mkdir -p ${D}/${datadir}/pixmaps + install -m 0644 embedding/minimo/ipkg/minimo.png ${D}/${datadir}/applications/minimo.png + mkdir -p ${D}/${bindir} + echo "#!/bin/sh" > ${D}/${bindir}/minimo + cat >>${D}/${bindir}/minimo << EOF +cd ${libdir}/mozilla-minimo +export LD_LIBRARY_PATH=${libdir}/mozilla-minimo +exec ./Minimo http://www.mozilla.org/projects/minimo/home.html +EOF + chmod 755 ${D}/${bindir}/minimo +} |