diff --git a/exlibs/mozilla.exlib b/exlibs/mozilla.exlib deleted file mode 100644 index 5750daf..0000000 --- a/exlibs/mozilla.exlib +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 2008 Bernd Steinhauser -# Distributed under the terms of the GNU General Public License v2 - -require multilib - -export_exlib_phases src_unpack src_prepare - -mozilla_src_unpack() { - default - mkdir -p "${WORK}" || die "creating ${WORK} failed" -} - -mozilla_src_prepare() { - default - - sed \ - -e "/^installdir/ c installdir = /usr/$(get_libdir)/${PN}" \ - -e "/^includedir/ c includedir = /usr/include/${PN}" \ - -e "/^idldir/ c idldir = /usr/share/idl/${PN}" \ - -e "/^sdkdir/ c sdkdir = /usr/$(get_libdir)/${PN}-devel" \ - -i "${WORKBASE}"/mozilla/config/autoconf.mk.in \ - || die "sed failed." -} - diff --git a/packages/mail-client/thunderbird/files/enigmail-0.95.7-visibility_workaround.patch b/packages/mail-client/thunderbird/files/enigmail-0.95.7-visibility_workaround.patch deleted file mode 100644 index a05b185..0000000 --- a/packages/mail-client/thunderbird/files/enigmail-0.95.7-visibility_workaround.patch +++ /dev/null @@ -1,16 +0,0 @@ -Upstream: Unknown -Source: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=442966 -Reason: linker errors at final stage - ---- ./build-dir/mozilla/mail/extensions/enigmail/build/nsEnigModule.cpp 2006-05-20 23:47:30.000000000 +0200 -+++ ./build-dir/mozilla/mail/extensions/enigmail/build/nsEnigModule.cpp~ 2007-09-30 12:35:16.000000000 +0200 -@@ -34,7 +34,9 @@ - * - * ***** END LICENSE BLOCK ***** */ - -+#pragma GCC visibility push(default) - #include "nsIGenericFactory.h" -+#pragma GCC visibility pop - #include "nsEnigModule.h" - - #include "nsEnigMsgCompose.h" diff --git a/packages/mail-client/thunderbird/files/thunderbird-2.0.0.19-nsAppRunner_empty_elif.patch b/packages/mail-client/thunderbird/files/thunderbird-2.0.0.19-nsAppRunner_empty_elif.patch deleted file mode 100644 index 5a0ebd4..0000000 --- a/packages/mail-client/thunderbird/files/thunderbird-2.0.0.19-nsAppRunner_empty_elif.patch +++ /dev/null @@ -1,15 +0,0 @@ -Upstream: Unknown -Source: Daniel Mierswa -Reason: GCC errors out since #elif is empty - ---- ./toolkit/xre/nsAppRunner.cpp.orig 2009-06-10 05:02:45.000000000 +0200 -+++ ./toolkit/xre/nsAppRunner.cpp 2009-06-10 05:02:50.000000000 +0200 -@@ -1370,7 +1370,7 @@ - if (NS_FAILED(rv)) - return rv; - --#elif -+#else - #error Oops, you need platform-specific code here - #endif - diff --git a/packages/mail-client/thunderbird/thunderbird-2.0.0.19.exheres-0 b/packages/mail-client/thunderbird/thunderbird-2.0.0.19.exheres-0 deleted file mode 100644 index 865ce4d..0000000 --- a/packages/mail-client/thunderbird/thunderbird-2.0.0.19.exheres-0 +++ /dev/null @@ -1,138 +0,0 @@ -# Copyright 2008 Bernd Steinhauser -# Distributed under the terms of the GNU General Public License v2 - -# this is a copy of Bernd Steinhausers exheres in mozilla.git -# with added enigmail support - -require mozilla multilib - -ENIGMAIL_PV=0.95.7 - -SUMMARY="Mozilla's standalone mail client" -DESCRIPTION=" -" -HOMEPAGE="http://www.mozilla.com/en-US/products/thunderbird/" -DOWNLOADS="ftp://ftp.mozilla.org/pub/${PN}/releases/${PV}/source/${PNV}-source.tar.bz2 -enigmail? ( http://www.mozilla-enigmail.org/download/source/enigmail-${ENIGMAIL_PV}.tar.gz )" -UPSTREAM_RELEASE_NOTES="${HOMEPAGE}/${PV}/releasenotes/" - -LICENCES="MPL-1.1" -SLOT="0" -PLATFORMS="~amd64 ~x86" -MYOPTIONS="bindist enigmail ldap svg xinerama" - -# libXIE? -# AC_CHECK_LIB(XIE, XieFloGeometry, [MOZ_XIE_LIBS="-lXIE"],, -# $XLIBS $XEXT_LIBS) -# AC_CHECK_HEADER(X11/extensions/XIElib.h) - -# media-libs/libpng - -DEPENDENCIES=" - build: - dev-util/pkg-config - x11-proto/xextproto - xinerama? ( x11-proto/xineramaproto ) - build+run: - dev-libs/libIDL - dev-libs/nspr - dev-libs/nss - media-libs/freetype - media-libs/jpeg - x11-libs/pango - x11-libs/cairo[svg?] - x11-libs/gtk+:2 - x11-libs/libX11 - x11-libs/libXext - x11-libs/libXt - x11-libs/libICE - x11-libs/libSM - xinerama? ( x11-libs/libXinerama ) -" - -WORK="${WORKBASE}"/build/mail -ECONF_SOURCE="${WORKBASE}"/mozilla -export MOZILLA_OFFICIAL=1 -export BUILD_OFFICIAL=1 - -enigmail_src_prepare() { - mv "${WORKBASE}/enigmail" "${WORKBASE}/mozilla/mailnews/extensions/enigmail/" || die "moving failed" - cd "${WORKBASE}/mozilla/mailnews/extensions/enigmail/" || die "cd failed" - expatch -p6 "${FILES}/enigmail-${ENIGMAIL_PV}-visibility_workaround.patch" -} - -enigmail_src_configure() { - cd "${WORKBASE}/mozilla/mailnews/extensions/enigmail/" || die "cd failed" - ./makemake -r -o "${WORK}" || die "makemake -r failed" -} - -enigmail_src_compile() { - emake -C mailnews/extensions/enigmail/ -} - -enigmail_src_install() { - # taken from enigmail-0.95.7-r2.ebuild - local em_id=$(sed -n '//!d; s/.*\({.*}\).*/\1/; p; q' "${WORKBASE}/mozilla/mailnews/extensions/enigmail/package/install.rdf") - - emake -C mailnews/extensions/enigmail/ xpi - unzip -d "${IMAGE}/usr/$(get_libdir)/${PN}/extensions/${em_id}" "${WORK}/dist/bin"/*xpi || die "unzip failed" -} - -src_prepare() { - mozilla_src_prepare - - sed -e "/^mozappdir/ c mozappdir = /usr/$(get_libdir)/${PN}" \ - -i "${WORKBASE}"/mozilla/config/autoconf.mk.in || die "mozappdir sed failed." - - cd "${ECONF_SOURCE}" || die "cd ${ECONF_SOURCE} failed" - expatch "${FILES}/${PNV}-nsAppRunner_empty_elif.patch" - - option enigmail && enigmail_src_prepare -} - -src_configure() { - export MOZ_OBJDIR=@TOPSRCDIR@/../build - export MOZ_CO_PROJECT=mail - export MOZ_BUILD_PROJECTS=mail - - econf \ - --enable-application=mail \ - --enable-crypto \ - --enable-freetype \ - --enable-system-cairo \ - --disable-mochitest \ - --disable-gnomeui \ - --disable-gnomevfs \ - --disable-javaxpcom \ - --disable-optimize \ - --disable-strip \ - --disable-xprint \ - --with-system-nspr \ - --with-system-nss \ - --with-system-jpeg \ - --with-system-png \ - --with-system-zlib \ - --with-libIDL \ - --with-x \ - $(option_enable ldap) \ - $(option_enable ldap ldap-experimental) \ - $(option_enable !bindist official-branding) \ - $(option_enable svg) \ - --with-default-mozilla-five-home=/usr/$(get_libdir)/${PN} \ - --with-distribution-id=org.exherbo - - option enigmail && enigmail_src_configure -} - -src_compile() { - default - - option enigmail && enigmail_src_compile -} - -src_install() { - default - - option enigmail && enigmail_src_install -} -