summaryrefslogtreecommitdiff
path: root/packages/mozilla
diff options
context:
space:
mode:
authornslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2004-12-31 22:27:41 +0000
committernslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2004-12-31 22:27:41 +0000
commit9c9c7139952b06112d99b5b11bfa3d36435a6459 (patch)
treefd0778f2b3d3d14f05cd4ff4b4cb341573e92d82 /packages/mozilla
parentf73398ac656a31e2bbd214a3b2c3dc92eddaaecf (diff)
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded 2004/12/31 14:27:40-08:00 (none)!ggilbert Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into olddog.(none):/home/ggilbert/oe/openembedded 2004/12/31 14:27:30-08:00 (none)!ggilbert Add many licenses 2004/12/31 21:28:22+00:00 nexus.co.uk!pb fix typo introduced with recent LICENSE patches 2004/12/31 21:12:38+00:00 nexus.co.uk!pb gpe-soundbite is GPL 2004/12/31 21:11:57+00:00 nexus.co.uk!pb gpe-question is GPL 2004/12/31 21:11:12+00:00 nexus.co.uk!pb gpe-nmf is GPL 2004/12/31 21:10:28+00:00 nexus.co.uk!pb gpe-gallery is GPL 2004/12/31 21:09:42+00:00 nexus.co.uk!pb gpe-edit is GPL 2004/12/31 21:07:12+00:00 nexus.co.uk!pb gpe-ownerinfo is GPL 2004/12/31 21:03:44+00:00 nexus.co.uk!pb delete old gpe-bootsplash with no LICENSE 2004/12/31 21:02:29+00:00 nexus.co.uk!pb delete some old gpe-clock versions with no LICENSE 2004/12/31 21:00:16+00:00 nexus.co.uk!pb delete old hotplug-dbus versions with no LICENSE 2004/12/31 20:59:20+00:00 nexus.co.uk!pb Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into stealth.nexus.co.uk:/home/pb/oe/oe 2004/12/31 13:35:00-08:00 (none)!ggilbert Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into olddog.(none):/home/ggilbert/oe/openembedded 2004/12/31 13:34:19-08:00 (none)!ggilbert More licenses 2004/12/31 20:59:03+00:00 nexus.co.uk!pb add LICENSE for gpe-confd, and blow away some old versions BKrev: 41d5d25dQOnhk1FZOyFZXNL3fxoihA
Diffstat (limited to 'packages/mozilla')
-rw-r--r--packages/mozilla/firefox_0.10.1.bb52
-rw-r--r--packages/mozilla/firefox_0.9.2.bb47
-rw-r--r--packages/mozilla/firefox_0.9.3.bb52
-rw-r--r--packages/mozilla/firefox_0.9.bb40
-rw-r--r--packages/mozilla/firefox_1.0.bb52
-rw-r--r--packages/mozilla/thunderbird_0.7.3.bb79
6 files changed, 322 insertions, 0 deletions
diff --git a/packages/mozilla/firefox_0.10.1.bb b/packages/mozilla/firefox_0.10.1.bb
index e69de29bb2..1ba7050f9f 100644
--- a/packages/mozilla/firefox_0.10.1.bb
+++ b/packages/mozilla/firefox_0.10.1.bb
@@ -0,0 +1,52 @@
+SECTION = "x11/utils"
+DEPENDS = "xt libxi zip-native gtk+ orbit2"
+PR = "r0"
+LICENSE = "MPL NPL"
+SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/firefox-1.0PR-source.tar.bz2 \
+ file://mozconfig \
+ file://xptcstubs.patch;patch=1 \
+ file://no-xmb.patch;patch=1 \
+ file://extensions-hack.patch;patch=1 \
+ file://mozilla-firefox.png file://mozilla-firefox.desktop"
+
+S = "${WORKDIR}/mozilla"
+
+PACKAGES =+ "firefox-inspector"
+
+FILES_firefox-inspector = "${libdir}/firefox-${PV}/chrome/inspector"
+FILES_${PN} = "${bindir}/firefox ${datadir}/applications ${datadir}/pixmaps ${libdir}/firefox-${PV} ${bindir}/defaults"
+FILES_${PN}-dev += "${datadir}/idl ${bindir}/firefox-config"
+
+SELECTED_OPTIMIZATION = "-Os -fsigned-char -fno-strict-aliasing"
+
+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}" destdir="${D}" install
+ install -d ${D}${datadir}/applications
+ install -d ${D}${datadir}/pixmaps
+ install -m 0644 ${WORKDIR}/mozilla-firefox.desktop ${D}${datadir}/applications/
+ install -m 0644 ${WORKDIR}/mozilla-firefox.png ${D}${datadir}/pixmaps/
+ rm -f ${D}${libdir}/firefox-${PV}/TestGtkEmbed
+}
+
+pkg_postinst_firefox() {
+ # work around requirement for root access on first startup
+ chmod -R a+w ${libdir}/firefox*
+}
diff --git a/packages/mozilla/firefox_0.9.2.bb b/packages/mozilla/firefox_0.9.2.bb
index e69de29bb2..49f3b493fc 100644
--- a/packages/mozilla/firefox_0.9.2.bb
+++ b/packages/mozilla/firefox_0.9.2.bb
@@ -0,0 +1,47 @@
+SECTION = "x11/utils"
+DEPENDS = "xt libxi zip-native gtk+ orbit2"
+PR = "r10"
+LICENSE = "MPL NPL"
+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 \
+ file://extensions-hack.patch;patch=1 \
+ file://mozilla-firefox.png file://mozilla-firefox.desktop"
+
+S = "${WORKDIR}/mozilla"
+
+FILES_${PN} += "${libdir}/firefox-${PV} ${datadir}/idl"
+
+SELECTED_OPTIMIZATION = "-Os -fsigned-char -fno-strict-aliasing"
+
+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
+ install -d ${D}${datadir}/applications
+ install -d ${D}${datadir}/pixmaps
+ install -m 0644 ${WORKDIR}/mozilla-firefox.desktop ${D}${datadir}/applications/
+ install -m 0644 ${WORKDIR}/mozilla-firefox.png ${D}${datadir}/pixmaps/
+ # work around requirement for root access on first startup
+}
+
+pkg_postinst_firefox() {
+ chmod -R a+w ${libdir}/firefox*
+}
diff --git a/packages/mozilla/firefox_0.9.3.bb b/packages/mozilla/firefox_0.9.3.bb
index e69de29bb2..74e624f323 100644
--- a/packages/mozilla/firefox_0.9.3.bb
+++ b/packages/mozilla/firefox_0.9.3.bb
@@ -0,0 +1,52 @@
+SECTION = "x11/utils"
+DEPENDS = "xt libxi zip-native gtk+ orbit2"
+PR = "r2"
+LICENSE = "MPL NPL"
+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 \
+ file://extensions-hack.patch;patch=1 \
+ file://mozilla-firefox.png file://mozilla-firefox.desktop"
+
+S = "${WORKDIR}/mozilla"
+
+PACKAGES =+ "firefox-inspector"
+
+FILES_firefox-inspector = "${libdir}/firefox-${PV}/chrome/inspector"
+FILES_${PN} = "${bindir}/firefox ${datadir}/applications ${datadir}/pixmaps ${libdir}/firefox-${PV}"
+FILES_${PN}-dev += "${datadir}/idl ${bindir}/firefox-config"
+
+SELECTED_OPTIMIZATION = "-Os -fsigned-char -fno-strict-aliasing"
+
+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
+ install -d ${D}${datadir}/applications
+ install -d ${D}${datadir}/pixmaps
+ install -m 0644 ${WORKDIR}/mozilla-firefox.desktop ${D}${datadir}/applications/
+ install -m 0644 ${WORKDIR}/mozilla-firefox.png ${D}${datadir}/pixmaps/
+ rm -f ${D}${libdir}/firefox-${PV}/TestGtkEmbed
+}
+
+pkg_postinst_firefox() {
+ # work around requirement for root access on first startup
+ chmod -R a+w ${libdir}/firefox*
+}
diff --git a/packages/mozilla/firefox_0.9.bb b/packages/mozilla/firefox_0.9.bb
index e69de29bb2..102d35e908 100644
--- a/packages/mozilla/firefox_0.9.bb
+++ b/packages/mozilla/firefox_0.9.bb
@@ -0,0 +1,40 @@
+SECTION = "x11/utils"
+DEPENDS = "xt libxi zip-native gtk+ orbit2"
+PR = "r3"
+LICENSE = "MPL NPL"
+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 = "-Os"
+
+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/packages/mozilla/firefox_1.0.bb b/packages/mozilla/firefox_1.0.bb
index e69de29bb2..e56631909a 100644
--- a/packages/mozilla/firefox_1.0.bb
+++ b/packages/mozilla/firefox_1.0.bb
@@ -0,0 +1,52 @@
+SECTION = "x11/utils"
+DEPENDS = "xt libxi zip-native gtk+ orbit2"
+PR = "r0"
+LICENSE ="MPL NPL"
+SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/source/firefox-${PV}-source.tar.bz2 \
+ file://mozconfig \
+ file://xptcstubs.patch;patch=1 \
+ file://no-xmb.patch;patch=1 \
+ file://extensions-hack.patch;patch=1 \
+ file://mozilla-firefox.png file://mozilla-firefox.desktop"
+
+S = "${WORKDIR}/mozilla"
+
+PACKAGES =+ "firefox-inspector"
+
+FILES_firefox-inspector = "${libdir}/firefox-${PV}/chrome/inspector"
+FILES_${PN} = "${bindir}/firefox ${datadir}/applications ${datadir}/pixmaps ${libdir}/firefox-${PV} ${bindir}/defaults"
+FILES_${PN}-dev += "${datadir}/idl ${bindir}/firefox-config"
+
+SELECTED_OPTIMIZATION = "-Os -fsigned-char -fno-strict-aliasing"
+
+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}" destdir="${D}" install
+ install -d ${D}${datadir}/applications
+ install -d ${D}${datadir}/pixmaps
+ install -m 0644 ${WORKDIR}/mozilla-firefox.desktop ${D}${datadir}/applications/
+ install -m 0644 ${WORKDIR}/mozilla-firefox.png ${D}${datadir}/pixmaps/
+ rm -f ${D}${libdir}/firefox-${PV}/TestGtkEmbed
+}
+
+pkg_postinst_firefox() {
+ # work around requirement for root access on first startup
+ chmod -R a+w ${libdir}/firefox*
+}
diff --git a/packages/mozilla/thunderbird_0.7.3.bb b/packages/mozilla/thunderbird_0.7.3.bb
index e69de29bb2..ab486c2d2f 100644
--- a/packages/mozilla/thunderbird_0.7.3.bb
+++ b/packages/mozilla/thunderbird_0.7.3.bb
@@ -0,0 +1,79 @@
+SECTION = "x11/utils"
+DEPENDS = "xt libxi zip-native gtk+ orbit2 gnupg"
+RRECOMMENDS = "gnupg"
+PR = "r1"
+
+EMVER="0.85.0"
+IPCVER="1.0.7"
+LICENSE = "MPL NPL"
+SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/${PV}/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://mozconfig \
+ 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"
+
+SELECTED_OPTIMIZATION = "-Os -fsigned-char -fno-strict-aliasing"
+
+export MOZ_THUNDERBIRD=1
+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
+ for x in ipc enigmail; do
+ mv ${WORKDIR}/${x} ${WORKDIR}/mozilla/extensions
+ cd ${WORKDIR}/mozilla/extensions/${x}
+ makemake
+ done
+ cd ${WORKDIR}/mozilla
+}
+
+do_compile() {
+ make -f client.mk build_all
+ cd ${WORKDIR}/mozilla/extensions/ipc
+ make
+ cd ${WORKDIR}/mozilla/extensions/enigmail
+ make
+}
+
+do_install() {
+ make DESTDIR="${D}" install
+ cd ${WORKDIR}/mozilla/extensions/ipc
+ make DESTDIR="${D}" install
+ cd ${WORKDIR}/mozilla/extensions/enigmail
+ make DESTDIR="${D}" install
+ cd ${WORKDIR}/mozilla
+ 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/
+ # work around requirement for root access on first startup
+}
+
+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
+}