diff options
author | Graeme Gregory <dp@xora.org.uk> | 2005-11-15 12:05:05 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-11-15 12:05:05 +0000 |
commit | 1de2063ead1a6bbbad15067d7469f39d5937bbd9 (patch) | |
tree | dca5f9e8227fd6ad72f8392f276275a9a34da003 /packages/mozilla | |
parent | ee76c67e588ec0b86ec4f4b729bf7ca5a3728ab1 (diff) |
firefox-1.0.7: New version
thunderbird-1.0.7: New version
Version bumps of both of these packages to the latest stable version.
Diffstat (limited to 'packages/mozilla')
-rw-r--r-- | packages/mozilla/firefox_1.0.7.bb | 18 | ||||
-rw-r--r-- | packages/mozilla/thunderbird_1.0.7.bb | 63 |
2 files changed, 81 insertions, 0 deletions
diff --git a/packages/mozilla/firefox_1.0.7.bb b/packages/mozilla/firefox_1.0.7.bb new file mode 100644 index 0000000000..b3eeedcf64 --- /dev/null +++ b/packages/mozilla/firefox_1.0.7.bb @@ -0,0 +1,18 @@ +PR = "r0" +SRC_URI = "http://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 \ + file://jsautocfg.h \ + file://extensions-hack.patch;patch=1" + +S = "${WORKDIR}/mozilla" + +inherit mozilla + +include firefox.inc + +do_compile_prepend() { + cp ${WORKDIR}/jsautocfg.h ${S}/js/src/ +} + diff --git a/packages/mozilla/thunderbird_1.0.7.bb b/packages/mozilla/thunderbird_1.0.7.bb new file mode 100644 index 0000000000..52d68ef481 --- /dev/null +++ b/packages/mozilla/thunderbird_1.0.7.bb @@ -0,0 +1,63 @@ +SECTION = "x11/utils" +DEPENDS += "gnupg" +RRECOMMENDS += "gnupg" +PR = "r0" + +EMVER="0.92.0" +IPCVER="1.1.3" +SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/${PV}/source/thunderbird-${PV}-source.tar.bz2 \ + http://downloads.mozdev.org/enigmail/src/enigmail-${EMVER}.tar.gz \ +http://downloads.mozdev.org/enigmail/src/ipc-${IPCVER}.tar.gz \ + file://xptcstubs.patch;patch=1 \ + file://no-xmb.patch;patch=1 \ + file://extensions-hack.patch;patch=1 \ + file://mozilla-thunderbird.png file://mozilla-thunderbird.desktop" +S = "${WORKDIR}/mozilla" + +FILES_${PN} += "${libdir}/thunderbird-${PV} ${datadir}/idl" + +inherit mozilla + +export MOZ_THUNDERBIRD=1 + +do_configure() { + for x in ipc enigmail; do + if [ ! -e ${WORKDIR}/mozilla/extensions/$x ]; then + mv ${WORKDIR}/$x ${WORKDIR}/mozilla/extensions/ + cd ${WORKDIR}/mozilla/extensions/$x + makemake + fi + done + cd ${S} + mozilla_do_configure +} + +do_compile() { + mozilla_do_compile + oe_runmake -C ${WORKDIR}/mozilla/extensions/ipc + oe_runmake -C ${WORKDIR}/mozilla/extensions/enigmail +} + +do_install() { + mozilla_do_install + oe_runmake -C ${WORKDIR}/mozilla/extensions/ipc DESTDIR="${D}" install + oe_runmake -C ${WORKDIR}/mozilla/extensions/enigmail DESTDIR="${D}" install + install -d ${D}${datadir}/applications + install -d ${D}${datadir}/pixmaps + install -m 0644 ${WORKDIR}/mozilla-thunderbird.desktop ${D}${datadir}/applications/ + install -m 0644 ${WORKDIR}/mozilla-thunderbird.png ${D}${datadir}/pixmaps/ +} + +pkg_postinst_thunderbird() { + chmod -R a+w ${libdir}/thunderbird* +} + +# Simulate the silly csh makemake script +makemake() { + typeset m topdir + for m in $(find . -name Makefile.in); do + topdir=$(echo "$m" | sed -r 's:[^/]+:..:g') + sed -e "s:@srcdir@:.:g" -e "s:@top_srcdir@:${topdir}:g" \ + < ${m} > ${m%.in} || die "sed ${m} failed" + done +} |