From 96ccd234d2632703430402c0615afa5d21ce3dfd Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Sun, 4 Jul 2004 16:54:19 +0000 Subject: [PATCH] Merge bk://openembedded@openembedded.bkbits.net/packages into dixie.nexus.co.uk:/home/pb/oe/oe-packages 2004/07/04 17:54:05+01:00 nexus.co.uk!pb collect all mozilla bits in one place BKrev: 40e8363bI0s935zDI4z29guy7Gz_-w --- firefox/firefox-0.9/mozconfig | 53 ----------------- firefox/firefox_0.9.oe | 40 ------------- minimo/minimo_cvs.oe | 57 ------------------- .../minimo => mozilla/firefox-0.9}/mozconfig | 0 .../firefox-0.9/xptcstubs.patch | 0 .../xptcstubs.patch => mozilla/firefox_0.9.oe | 0 mozilla/minimo/mozconfig | 0 mozilla/minimo/xptcstubs.patch | 0 mozilla/minimo_cvs.oe | 0 9 files changed, 150 deletions(-) delete mode 100644 firefox/firefox-0.9/mozconfig delete mode 100644 firefox/firefox_0.9.oe delete mode 100644 minimo/minimo_cvs.oe rename {minimo/minimo => mozilla/firefox-0.9}/mozconfig (100%) rename {firefox => mozilla}/firefox-0.9/xptcstubs.patch (100%) rename minimo/minimo/xptcstubs.patch => mozilla/firefox_0.9.oe (100%) create mode 100644 mozilla/minimo/mozconfig create mode 100644 mozilla/minimo/xptcstubs.patch create mode 100644 mozilla/minimo_cvs.oe diff --git a/firefox/firefox-0.9/mozconfig b/firefox/firefox-0.9/mozconfig deleted file mode 100644 index 2546be9ecf..0000000000 --- a/firefox/firefox-0.9/mozconfig +++ /dev/null @@ -1,53 +0,0 @@ -. $topsrcdir/browser/config/mozconfig - -# use GTK+-2 widget set with XFT font rendering -ac_add_options --enable-default-toolkit=gtk2 -ac_add_options --enable-xft -ac_add_options --disable-freetype2 - -# enable minimal profile support -#ac_add_options --disable-profilesharing -#ac_add_options --disable-profilelocking -#ac_add_options --enable-single-profile - -ac_add_options --with-system-zlib -ac_add_options --with-system-jpeg -ac_add_options --with-system-png - -ac_add_options --disable-accessibility -ac_add_options --disable-composer -#ac_add_options --enable-plaintext-editor-only -ac_add_options --disable-mailnews -ac_add_options --disable-ldap -ac_add_options --disable-postscript -ac_add_options --disable-mathml -ac_add_options --disable-jsd -ac_add_options --disable-installer -ac_add_options --disable-xprint -ac_add_options --disable-necko-disk-cache - -# configure necko to allocate smaller network buffers -ac_add_options --enable-necko-small-buffers - -# disable debug logging and tests -#ac_add_options --disable-dtd-debug -ac_add_options --disable-logging -ac_add_options --disable-debug -ac_add_options --disable-gtktest -ac_add_options --disable-tests - -# build crypto module (PSM + NSS) -ac_add_options --enable-crypto - -# build minimal set of protocol handlers -ac_add_options --enable-necko-protocols=http,file,res,jar - -# build minimal set of image decoders -ac_add_options --enable-image-decoders=png,gif,jpeg - -#ac_add_options --enable-reorder -#ac_add_options --enable-elf-dynstr-gc - -# enable static build -#ac_add_options --disable-shared -#ac_add_options --enable-static diff --git a/firefox/firefox_0.9.oe b/firefox/firefox_0.9.oe deleted file mode 100644 index ad102b74cb..0000000000 --- a/firefox/firefox_0.9.oe +++ /dev/null @@ -1,40 +0,0 @@ -DEPENDS = "xt xi zip-native gtk+ orbit2" -PR = "r2" - -SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/firefox-${PV}-source.tar.bz2 \ - file://mozconfig \ - file://xptcstubs.patch;patch=1 \ - file://no-xmb.patch;patch=1" - -S = "${WORKDIR}/mozilla" - -FILES_${PN} += "${libdir}/firefox-${PV} ${datadir}/idl" - -# gcc-3.4 blows up in gtktext with -frename-registers on arm-linux -CFLAGS := "${@'${CFLAGS}'.replace('-frename-registers', '')} -fsigned-char -fno-strict-aliasing" -CXXFLAGS := "${@'${CXXFLAGS}'.replace('-frename-registers', '')} -fsigned-char -fno-strict-aliasing" - -SELECTED_OPTIMIZATION = "-O" - -export CROSS_COMPILE=1 -export HOST_LIBIDL_CONFIG="libIDL-config-2" -export CONFIGURE_ARGS="--target=${TARGET_SYS} --host=${BUILD_SYS} --build=${BUILD_SYS} --prefix=${prefix}" - -export HOST_CFLAGS="${BUILD_CFLAGS}" -export HOST_CXXFLAGS="${BULID_CXXFLAGS}" -export HOST_LDFLAGS="${BUILD_LDFLAGS}" -export HOST_RANLIB="${BUILD_RANLIB}" -export HOST_AR="${BUILD_AR}" - -do_configure() { - cp ${WORKDIR}/mozconfig .mozconfig -} - -do_compile() { - make -f client.mk build_all -} - -do_install() { - make DESTDIR="${D}" install -} - diff --git a/minimo/minimo_cvs.oe b/minimo/minimo_cvs.oe deleted file mode 100644 index 6e6b29605c..0000000000 --- a/minimo/minimo_cvs.oe +++ /dev/null @@ -1,57 +0,0 @@ -DEPENDS = "xt gtk+ libidl zip-native" -SRC_URI = "cvs://anonymous@cvs-mirror.mozilla.org/cvsroot;module=mozilla \ - file://xptcstubs.patch;patch=1 \ - file://mozconfig" -S = "${WORKDIR}/mozilla" -MAINTAINER = "Phil Blundell " -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 -} diff --git a/minimo/minimo/mozconfig b/mozilla/firefox-0.9/mozconfig similarity index 100% rename from minimo/minimo/mozconfig rename to mozilla/firefox-0.9/mozconfig diff --git a/firefox/firefox-0.9/xptcstubs.patch b/mozilla/firefox-0.9/xptcstubs.patch similarity index 100% rename from firefox/firefox-0.9/xptcstubs.patch rename to mozilla/firefox-0.9/xptcstubs.patch diff --git a/minimo/minimo/xptcstubs.patch b/mozilla/firefox_0.9.oe similarity index 100% rename from minimo/minimo/xptcstubs.patch rename to mozilla/firefox_0.9.oe diff --git a/mozilla/minimo/mozconfig b/mozilla/minimo/mozconfig new file mode 100644 index 0000000000..e69de29bb2 diff --git a/mozilla/minimo/xptcstubs.patch b/mozilla/minimo/xptcstubs.patch new file mode 100644 index 0000000000..e69de29bb2 diff --git a/mozilla/minimo_cvs.oe b/mozilla/minimo_cvs.oe new file mode 100644 index 0000000000..e69de29bb2 -- 2.39.5