1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

Oops, restore Lightning build after r428672

addons.mozilla.org version still cannot be used due to binary components
that aren't provided for any Tier3 platform.
This commit is contained in:
Jan Beich 2016-12-16 13:18:09 +00:00
parent 6cf4fdab83
commit 9a7ba1b688
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=428676
5 changed files with 35 additions and 9 deletions

View File

@ -13,9 +13,6 @@ you update your ports collection, before attempting any port upgrades.
dropped binary components in 1.9. Go to Tools -> Add-ons Manager
then type "enigmail" in the search box to install.
LIGHTNING is now only built as a system addon (disabled by default)
using upstream build glue. Go to Tools -> Add-ons Manager to enable.
20161213:
AFFECTS: users of devel/skalibs, lang/execline, sysutils/s6
AUTHOR: Colin Booth <colin-ports@heliocat.net>

View File

@ -3,7 +3,7 @@
PORTNAME= thunderbird
DISTVERSION= 45.5.1
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= mail news net-im ipv6
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \
MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build1/source
@ -53,10 +53,10 @@ PORTNAME_ICON_SRC= ${PREFIX}/lib/${MOZILLA}/chrome/icons/default/default48.png
SYSTEM_PREFS= ${FAKEDIR}/lib/${PORTNAME}/defaults/pref/${PORTNAME}.js
MOZ_PIS_SCRIPTS=moz_pis_S50cleanhome
OPTIONS_DEFINE= RUST
OPTIONS_DEFINE= LIGHTNING RUST
OPTIONS_SINGLE= TOOLKIT
OPTIONS_SINGLE_TOOLKIT= GTK2 GTK3
OPTIONS_DEFAULT=BUNDLED_CAIRO CANBERRA GTK2
OPTIONS_DEFAULT=BUNDLED_CAIRO CANBERRA GTK2 LIGHTNING
.include "${.CURDIR}/../../www/firefox/Makefile.options"
.include <bsd.port.pre.mk>
@ -66,9 +66,16 @@ MOZSRC:= ${WRKSRC}/mozilla
XPI_LIBDIR= ${PREFIX}/lib/xpi
.if ${PORT_OPTIONS:MLIGHTNING}
MOZ_OPTIONS+= --enable-calendar
.else
MOZ_OPTIONS+= --disable-calendar
.endif
post-extract:
@${SED} -e 's|@PORTNAME_ICON@|${PORTNAME_ICON}|;s|@MOZILLA@|${MOZILLA}|' \
<${FILESDIR}/thunderbird.desktop.in >${WRKDIR}/${MOZILLA_EXEC_NAME}.desktop
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/mail/app/nsMailApp.cpp

View File

@ -25,4 +25,5 @@ CANBERRA_DESC?= Sound theme alerts
GNOMEUI_DESC?= libgnomeui support module
INTEGER_SAMPLES_DESC?= Integer audio sample format
LIBPROXY_DESC?= Proxy support via libproxy
LIGHTNING_DESC?= Calendar extension
RUST_DESC?= Build with components written in Rust language

View File

@ -4,7 +4,7 @@
PORTNAME= seamonkey
DISTVERSION= 2.46
MOZILLA_VER= 49 # above + 3
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES?= www mail news editors irc ipv6
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \
MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build9/source
@ -46,10 +46,10 @@ MOZ_PKGCONFIG_FILES=
BROKEN_aarch64= Fails to link: error adding symbols: File in wrong format
OPTIONS_DEFINE= LDAP RUST
OPTIONS_DEFINE= LDAP LIGHTNING RUST
OPTIONS_SINGLE= TOOLKIT
OPTIONS_SINGLE_TOOLKIT= GTK2 GTK3
OPTIONS_DEFAULT=CANBERRA GTK2 LDAP
OPTIONS_DEFAULT=CANBERRA GTK2 LDAP LIGHTNING
LDAP_DESC?= LDAP support for Mailnews
@ -66,6 +66,11 @@ MOZ_OPTIONS+= --disable-ldap
.else
MOZ_OPTIONS+= --enable-ldap
.endif
.if ${PORT_OPTIONS:MLIGHTNING}
MOZ_OPTIONS+= --enable-calendar
.else
MOZ_OPTIONS+= --disable-calendar
.endif
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \

View File

@ -0,0 +1,16 @@
diff --git a/suite/installer/package-manifest.in b/suite/installer/package-manifest.in
--- suite/installer/package-manifest.in
+++ suite/installer/package-manifest.in
@@ -911,3 +956,12 @@
@RESPATH@/extensions/debugQA@mozilla.org/chrome/debugqa@JAREXT@
#endif
#endif
+
+#ifdef MOZ_CALENDAR
+[calendar]
+#ifdef NIGHTLY_BUILD
+@RESPATH@/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/
+#else
+@RESPATH@/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/
+#endif
+#endif