pkgsrc/www/seamonkey/options.mk
ryoon 51597b71c5 seamonkey: Update to 2.53.6
CHangelog:
What's New in SeaMonkey 2.53.6

SeaMonkey 2.53.6 contains (among other changes) the following major changes
relative to SeaMonkey 2.53.5.1:

  * Improve usability of multiple mailboxes/folders selectionbug 1600103.
  * Add Greek localisation (el).
  * Remove more RDF from mailnews code.
  * Switch to mozilla as topsrcdir and component for building is comm/suite
    now.
  * Rust support is now up to 1.48 and official build is now using 1.47.0
  * Various security and general platform fixes.

SeaMonkey 2.53.6 contains (among other changes) the following major changes
relative to SeaMonkey 2.49.5:

  * The Bookmarks Manager has switched its name to Library, and now also
    includes the History list. When invoking History, the Library will be shown
    with the History list selected. The extensive modifications were needed
    because of Mozilla Gecko platform API changes.
  * Download Manager has been migrated to a new API. Although it looks pretty
    much the same as before, the search option is missing and some other minor
    details work differently. The previous downloads history is removed during
    the upgrade.
  * The layout panel was added to the CSS Grid tools.
  * TLS 1.3 is the default SSL version now.
  * The only NPAPI plugin which will work with SeaMonkey 2.53.6 is Flash.
    Support for other NPAPI plugins like Java and Silverlight has been removed.
    For displaying pdf files in the browser you can use pdf.js-seamonkey from
    Isaac Schemm.
  * SeaMonkey now uses a new api for formatting regional data like time and
    date. Default is to use the application locale of the current SeaMonkey
    build. If you use a language pack or a different OS formatting this is
    usually not desired. You can change the formatting from the application
    locale to the regional settings locale (OS) in the preferences dialog under
    "Appearance".

SeaMonkey 2.53.6 uses the same backend as Firefox and contains the relevant
Firefox 60.8 security fixes.

SeaMonkey 2.53.6 shares most parts of the mail and news code with Thunderbird.
Please read the Thunderbird 60.0 release notes for specific changes and
security fixes in this release.

Additional important security fixes up to Current Firefox 78.6 ESR and a few
enhancements have been backported. We will continue to enhance SeaMonkey
security in subsequent 2.53.x beta and release versions as fast as we are able
to.

SeaMonkey-specific changes

  * SeaMonkey now uses gtk3 on Linux. If you experience a problem because of
    this please file a bug and link it to bug 1367257. Please try another OS
    theme first. Some of them are buggy and cause problems with SeaMonkey,
    Thunderbird and Firefox.
2021-02-08 12:26:20 +00:00

97 lines
2.5 KiB
Makefile

# $NetBSD: options.mk,v 1.46 2021/02/08 12:26:20 ryoon Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.seamonkey
PKG_SUPPORTED_OPTIONS= official-mozilla-branding
PKG_SUPPORTED_OPTIONS+= debug debug-info mozilla-jemalloc webrtc
PKG_SUPPORTED_OPTIONS+= alsa pulseaudio dbus
PLIST_VARS+= jemalloc debug
.if ${OPSYS} == "Linux"
PKG_SUGGESTED_OPTIONS+= alsa pulseaudio mozilla-jemalloc dbus
.else
PKG_SUGGESTED_OPTIONS+= dbus
.endif
PKG_SUGGESTED_OPTIONS.Linux+= webrtc
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Malsa)
CONFIGURE_ARGS+= --enable-alsa
.include "../../audio/alsa-lib/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-alsa
.endif
.if !empty(PKG_OPTIONS:Mmozilla-jemalloc)
PLIST.jemalloc= yes
CONFIGURE_ARGS+= --enable-jemalloc
CONFIGURE_ARGS+= --enable-replace-malloc
.else
CONFIGURE_ARGS+= --disable-jemalloc
.endif
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mgcc)
. if ${CC_VERSION:S/gcc-//:S/.//g} >= 480
# Modern gcc does not run any "tracking" passes when compiling with -O0,
# which makes the generated debug info mostly useless. So explicitly
# request them.
O0TRACKING=-fvar-tracking-assignments -fvar-tracking
. endif
.endif
.if !empty(PKG_OPTIONS:Mdebug)
CONFIGURE_ARGS+= --enable-debug="-g -O0 ${O0TRACKING}"
CONFIGURE_ARGS+= --disable-optimize
CONFIGURE_ARGS+= --enable-debug-js-modules
CONFIGURE_ARGS+= --disable-install-strip
PLIST.debug= yes
.else
. if !empty(PKG_OPTIONS:Mdebug-info)
CONFIGURE_ARGS+= --enable-debug-symbols
CONFIGURE_ARGS+= --enable-optimize=-O0
. else
CONFIGURE_ARGS+= --disable-debug-symbols
. endif
CONFIGURE_ARGS+= --disable-debug
CONFIGURE_ARGS+= --enable-optimize=-O2
CONFIGURE_ARGS+= --enable-install-strip
.endif
.if !empty(PKG_OPTIONS:Mpulseaudio)
.include "../../audio/pulseaudio/buildlink3.mk"
CONFIGURE_ARGS+= --enable-pulseaudio
.else
CONFIGURE_ARGS+= --disable-pulseaudio
.endif
.if !empty(PKG_OPTIONS:Mdbus)
.include "../../sysutils/dbus-glib/buildlink3.mk"
CONFIGURE_ARGS+= --enable-dbus
.else
CONFIGURE_ARGS+= --disable-dbus
.endif
PLIST_VARS+= branding nobranding
.if !empty(PKG_OPTIONS:Mofficial-mozilla-branding)
CONFIGURE_ARGS+= --enable-official-branding
LICENSE= mozilla-trademark-license
RESTRICTED= Trademark holder prohibits distribution of modified versions.
NO_BIN_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
PLIST.branding= yes
.else
PLIST.nobranding= yes
.endif
PLIST_VARS+= webrtc
.if !empty(PKG_OPTIONS:Mwebrtc)
.include "../../graphics/libv4l/buildlink3.mk"
CONFIGURE_ARGS+= --enable-webrtc
PLIST.webrtc= yes
.else
CONFIGURE_ARGS+= --disable-webrtc
.endif