Mozilla Thunderbird is a redesign of the Mozilla mail component with the goal
of becoming a cross-platform stand alone mail application using the XUL
user interface language. See the Mozilla Thunderbird project page for
more details.
WWW: http://www.mozilla.com/thunderbird/

* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options

===> The following configuration options are available for thunderbird-45.5.1_1:
BUNDLED_CAIRO=on: Use bundled fork of cairo-1.9.5
CANBERRA=on: Sound theme alerts
DBUS=on: D-Bus IPC system support
DEBUG=off: Build with debugging support
DTRACE=on: Build with DTrace probes
ENIGMAIL=on: Enigmail extension
FFMPEG=on: FFmpeg support (WMA, AIFF, AC3, APE...)
GCONF=off: GConf configuration backend support
GNOMEUI=off: libgnomeui support module
INTEGER_SAMPLES=off: Integer audio sample format
LIBPROXY=off: Proxy support via libproxy
LIGHTNING=on: Calendar extension
OPTIMIZED_CFLAGS=on: Use extra compiler optimizations
PGO=off: Use Profile-Guided Optimization
PROFILE=off: Build with profiling support
RUST=off: Build with components written in Rust language
TEST=off: Build and/or run tests
====> Options available for the multi AUDIO: you have to choose at least one of them
ALSA=on: ALSA audio architecture support
PULSEAUDIO=on: PulseAudio sound server support
====> Options available for the single TOOLKIT: you have to select exactly one of them
GTK2=on: GTK+ 2 GUI toolkit support
GTK3=off: GTK+ 3 GUI toolkit support
===> Use 'make config' to modify these settings

Reason:
Gecko ports were switched to use more system libraries. Some of them
must be built with certain options unset (default). `audio/soundtouch'
has to be installed with INTEGER_SAMPLES option disabled.

Reason:
Gecko ports were switched to use system libraries. Some of them
must be built with certain options set (default).
- graphics/png has to be installed with APNG option
- databases/sqlite3 has to be installed with SECURE_DELETE, THREADSAFE,
FTS3, UNLOCK_NOTIFY options

Affects: users of mail/thunderbird or www/seamonkey with lightning
plugin installed.

Author: gecko@FreeBSD.org

Reason:
To get an up to date version of lightning you should use the new
LIGHTNING option in mail/thunderbird or www/seamonkey. This option
is not enabled by default so you have to run "make config" prior
to the build. The old deskutils/lightning-thunderbird and
deskutils/lightning ports should no longer be used and will be
removed very soon.
Like other XPIs ports, lightning now registers itself as a global
extension and doesn't create the XPI to be installed manually.
Upgrading users should remove lightning from their profile before
installing Thunderbird or SeaMonkey the first time with the new
LIGHTNING option enabled.

2011-06-30

Affects: users of mail/thunderbird

Author: gecko@FreeBSD.org

Reason:
The mail/thunderbird port has been updated to 5.0. If you want to stay with
Thunderbird 3.1 please run:
# portupgrade -o mail/thunderbird3 mail/thunderbird
# portupgrade -o mail/thunderbird3-i18n mail/thunderbird-i18n (if installed)
or
# portmaster -o mail/thunderbird3 mail/thunderbird
# portmaster -o mail/thunderbird3-i18n mail/thunderbird-i18n (if installed)
Do not select the OPTIMIZED_CFLAGS option on a system with less then
2 GB of RAM otherwise you will run out of memory during the build.
Please make sure all your addons are compatible with Thunderbird 5.0 and
backup your ~/.thunderbird directory prior to the first launch of Thunderbird
5.0.

Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).
PR: ports/124340
Submitted by: edwin@
Approved by: portmgr (pav)

Mask FP_X_DNML not only on i386, but also on amd64. This fixes mysterious
crashes of thunderbird with SIGFPE, one of symptom of it is that this
prevents enigmail-thunderbird from being able to be used on recent FreeBSD
versions with thunderbird.
PR: ports/122975
Approved by: maintainer (marcus as gnome@)

- Add "--with-default-mozilla-five-home=${PREFIX}/lib/${MOZILLA}" to fix other
applications in the runtime. Some applications required to have set
MOZILLA_FIVE_HOME or/and LD_LIBRARY_PATH to make it works in the runtime. Now,
it's no longer need to set these variables, which this flag takes care of it.
The MOZILLA_FIVE_HOME still works with this flag if someone need to use
different one. I have learned about this flag from RPM, Debian, Gentoo ebuild
and other packages.
- Add two extensions, auth[1] and transformiix[2].
Have been tested in MC CVS since Dec.
PR: ports/117734 [1]
Submitted by: Nathan Whitehorn <nathanw@uchicago.edu> [1]
Reported by: Juan Pablo Roig <juan.roig@globant.com> [2]

Work around the miscompilation/mislinkage problem of the sCanonicalVTable
hacks in the XPCOM string code on sparc64 by omitting the code in question
and bump PORTREVISIONs accordingly.
Approved by: marcus

Set USE_PERL5/WANT_PERL as appropriate, for ports that either depend on
perl unconditonally, or conditionally. To be able to conditionalize the
inclusion of bsd.perl.mk, they now need to be defined before the inclusion
of bsd.port.pre.mk.
Hat: portmgr

Fix the gtk2 dnd implementation broken, see more details in the bugzilla. This
patch[1] was created by Matthias Clasen <mclasen@redhat.com>. This bug was
started to reproduce with least 2.10.7 version of gtk2.
PR: ports/107689
Reported by: a few users
Bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=355248
https://bugzilla.mozilla.org/show_bug.cgi?id=367203 [1]
http://bugzilla.gnome.org/show_bug.cgi?id=394525

Fix all those ports to find libnssckbi.so in the correct place to allow those
SSL certificates work again. Somehow, this patch was lost in the big change,
so bring it back. Bump PORTREVISION on all of those ports.
PR: ports/89796
Reported by: Christoph Moench-Tegeder <cmt@burggraben.net>

- Update firefox to 1.5
- Add Makefile.common
o A new build/install system for gecko ports, Makefile.common
includes many generic routines and common tasks.
o Fix ld-run-path in all gecko's by using -Wl,-rpath,${moz_libdir}
thus removing the need to have a startup script for ports that
depend on gecko. [2]
o Use system libm, nss, nspr in all gecko ports
- Add bsd.gecko.mk
o This is the predecessor to WITH_MOZILLA=[mozilla|firefox|...]
with a more robust way of detecting a gecko a end user wishs to
use.
o bsd.gecko.mk abstracts the selection of gecko-based backends. It
allows users and porters to support any available gecko backend

- Repo copy a lot of changes from www/firefox/Makefile. The best part is that
before it would install in the strange place like this.
${X11BASE}/lib/thunderbird/include/thunderbird-1.0.6
Now it will install in the correct place like firefox:
${X11BASE}/include/thunderbird
Also, get *.pc and idl files install.
- Didn't copy following from www/firefox/Makefile:
* plugins stuff, because it's known cause the stability problem like
crash.
* EXTRA_SCRIPTS=${PORTNAME}.rb, thunderbird doesn't need it.
- Make portlint happier.

Correct the GNOME menu icon location. I'm not bumping PORTREVISION as this
only affects GNOME users, and is a small change for such a long compilation.
PR: 80937
Submitted by: NIIMI Satoshi <sa2c@sa2c.net>

- Install .desktop file in share/applications instead of
share/gnome/applications so we can remove the gnomehier
dependency so non-gnome users don't have to install a bunch
of un-needed gnome directories.
- Remove WITH_MENU option from mozilla[-devel], .desktop file
will always be installed now.

* Instead of using Xvfb, and evil black magic to create the extensions
repository, use the hidden "-register" option instead. This has the
advantage of not requiring an X DISPLAY and not modifying any
preferences.
* Add i18n support to the Thunderbird startup script [1]
* Link nss with -Bsymbolic to avoid symbol conflicts with OpenSSL. This
should help alleviate the CUPS printing problem
PR: 73839 [1]
Submitted by: Jose M Rodriguez <josemi@freebsd.jazztel.es> [1]

* Update to 0.8
* Now that the fake installation code from Firefox has stabilized, adapt it
here to eliminate the need for a static plist
See http://www.mozilla.org/products/thunderbird/releases/ for all the juicy
goodies in 0.8.

Patch the various recently reported security vulnerabilities in Mozilla.
This is being done instead of the update to 0.8 since we're in a ports
freeze, and too many big changes is not a good idea.
This update covers the following Mozilla bugs:
245066
226669
250862
255067
256316
257317
258005
Thanks to nectar for scraping all of these patches together.
Obtained from: Mozilla CVS
Approved by: portmgr (implicit)

Fix global extension and theme installation by making sure the path to the
XPI file does no contain a leading "file://" when passed to the extension
manager.
See http://bugzilla.mozilla.org/show_bug.cgi?id=250847 for more details.
Reported by: ale

Update to 0.7. A list of what's new can be found at
http://www.mozilla.org/products/thunderbird/releases.
This has the same limitation that Firefox 0.9 had where it needs to be run as
root first. I applied the same hacks to workaround that; however, some users
may need to run thunderbird twice before it starts correctly.

Forced commit to note why we don't build with a bind port that has
overridden the base. To quote from eik:
[Bind] overwrites /usr/include/netdb.h and give a wrong definition for
`h_errno' when _REENTRANT is defined. This causes link errors where
`__h_errno' is undefined.
Requested by: linimon

* Update to 0.5
* Fix a potential hang with esound
* Fix some potential pthread issues
* Add more platform compatibility patches
* Fix libiconv support
* Pull in some patches from firefox to shorten the plist some
Special thanks to ale for getting a clean source tarball and hosting it. For
the details on what's new in the release, please see:
http://www.mozilla.org/projects/thunderbird/release-notes.html

Repo-copy mozilla-thunderbird to thunderbird to be consistent not only with
the Mozilla.org naming convention, but also with our own. We do not need
the mozilla- prefix since there are no other thunderbird ports in the tree.
Note: I am not updating to 0.5 at this time since the 0.5 source tarball was
released with all files in DOS text format, and even with the best conversion,
leaves the toolbars broken. I have notified the Thunderbird authors, but
they have not re-rolled the distfile at this time.