Please refer to the 20200811 UPDATING entry when upgrading
dependent (*-emacs26-*) ports.
Port changes:
- depend on math/gmp
- match upstream by turning CAIRO, HARFBUZZ, and JSON options and on and
turning MAGICK off by default
- remove OPENMP check for graphics/ImageMagick as the openmp is now
included in base
- update EMACS_VER in Mk/Uses/emacs.mk
- bump USES=emacs ports or remove BROKEN for net-im/jabber.el and
deskutils/howm, which now build
Submitted by: HIROSE Yuuji <yuuji@gentei.org> (canna patch)
Reviewed by: ashish
Differential Revision: https://reviews.freebsd.org/D23966
and 13-CURRENT remote hosts
PR: 243807
Submitted by: Yuichiro NAITO <nairo dot yuichiro at gmail dot com>
Reported by: John F. Carr <jfc at mit dot edu>
libncurses in base system only supports termcap(5). RGB has 3 colors
but termcap(5) supports at most 2 arguments e.g.,
$ export TERMCAP="${TERM}:Co#0x1000000:AF=\E[38;2;%d;%d;%dm:AB=\E[48;2;%d;%d;%dm:tc=${TERM}:"
$ tput AB 1 1 1
tput: too many arguments (3) for capability `AB'
To work around the limitation make Emacs check if environ(7) has
COLORTERM=truecolor some terminal emulators define by default e.g.,
- x11-toolkits/vte3 (gnome-terminal, sakura, ...)
- x11/alacritty
- x11/aminal
- x11/kitty (bug 233010)
- x11/konsole
- x11/qterminal
while others require defining COLORTERM=truecolor manually e.g.,
- x11/cool-retro-term
- x11/sterm
- x11/xterm
PR: 247248
Approved by: jrm
Obtained from: upstream
Clang currently miscompiles emacs, resulting in broken builds for dependencies:
===> Building for treepy.el-emacs26-0.1.1_3
(cd /wrkdirs/usr/ports/devel/treepy.el/work-full/treepy.el-0.1.1 ; /usr/local/bin/emacs-26.3 -batch -q -f batch-byte-compile treepy.el)
*** Signal 6
Use GCC to workaround it.
PR: 243484
Approved by: jrm (maintainer)
Remove the optional dependency on libXp from editors/emacs and
editors/emacs-devel. The dependency on libXp is added if the MOTIF option
is selected, but libXp isn't needed in this case. The MOTIF option is not
the default.
libXp has been deprecated and is going away.
Port changes:
- Remove JSON knob, because Emacs has no configurable json option in
versions prior to and including 26.3. The knob should not have been
added in r472261.
- Add USES+=gnome unless flavor is nox. Do this because defining
INSTALLS_ICONS adds USE_GNOME+=gtk-update-icon-cache.
Upstream changes:
https://www.gnu.org/software/emacs/news/NEWS.26.3
Submitted by: HIROSE Yuuji <yuuji@gentei.org> [canna patch updates]
Differential Revision: https://reviews.freebsd.org/D21193
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
* Add PKGNAMESUFFIX and rename the directory. This was done to show
that IM6 is not the "main" version. But still fully supported by upstream.
* Convert a number of options to optionhelpers.
* Add option for ISO/IEC 23008-12:2017 HEIF suport
* Add comment to pkg-descr explaining IM6's "legacy" tag.
* Add comment to the patch-config_policy.xml file why it still needed.
Please note that IM7 is not a drop in replacement due to library API and
command arguments changes. And as a result ports need to decide for themself
which version to use.
Chase these changes in all the ports that using IM6.
PR: 225102 (based on, only the version update) [1]
Submitted by: Pascal Christen <pascal.christen@hostpoint.ch>
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.
This includes ports
- featuring USE_GCC=yes or USE_GCC=any,
- featuring USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and those
- with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.
PR: 222542
- [1] Do not link liblockfile when MAILUTILS option is off. Users who want
mail functionality should turn on the MAILUTILS option. See PR 227799.
- [2] Create a link under exec_directory pointing to
${PREFIX}/bin/movemail. See upstream bug https://bugs.gnu.org/31737 and
PR 228833.
- Based on user feedback, change the package name for the nox flavor of
editors/emacs-devel from emacs-devel_nox to emacs-devel-nox. The
original motivation for naming the package emacs-devel_nox was so that
PKGNAMESUFFIX would match the flavor names for USES=emacs ports and
flavor names cannot contain '-'.
- Remove patches that are no longer necessary. The patch
emacs-devel/files/patch-configure.ac is no longer necessary because 10.3,
which included an old version of texinfo in base, is EOL. The lldb-gud
patch is no longer necessary because the LLDB option has been removed.
- Update editors/emacs-devel to a newer commit on the upstream master
branch.
- Customize COMMENT for nox flavor of editors/emacs-devel.
PR: 227799 [1], 228833 [2]
Submitted by: yasu@utahime.org [1], bengta@sics.se [2]
Approved by: ashish
Differential Revision: https://reviews.freebsd.org/D15728
NEWS: https://www.gnu.org/software/emacs/news/NEWS.26.1
Port changes
- Incorporate latest canna patches submitted by
TAKANO Yuji <takachan@running-dog.net>.
- Remove workarounds for Bug 227799.
- Configure succeeds whether devel/liblockfile is installed or not.
- Customize COMMENT for canna and nox flavors (reported by tobik).
- Remove legacy lldb for gud patch.
- The patch added very little over running lldb on the command line.
Moreover, gud is deprecated. Hopefully a lldb-mi will arrive soon.
Reviewed by: ashish (maintainer)
Differential Revision: https://reviews.freebsd.org/D15044
The build fails when devel/libsysinfo is pulled in. This can happen when
graphics/ImageMagick is built with the OPENMP knob on.
Reported by: Richard M. Timoney <richardt@maths.tcd.ie>
editors/emacs: The CANNA option was replaced by a flavor, so remove
CANNA_DESC.
editors/emacs and editors/emacs-devel: The X11 option was replaced by the
nox flavor, so remove WITHOUT_X11.
Reported by: ashish
- Convert USE_EMACS to USES=emacs
- Remove editors/emacs-nox11 (refer to nox flavors of editors/emacs and
editors/emacs-devel)
- Permit default Emacs flavor to be specified in make.conf
- Rename japanese/migemo-emacs23 to japanese/migemo-emacs
- Update and simplify audio/emms and fix build on FreeBSD 10 [1]
- Update databases/bbdd and fix build on FreeBSD 10 [1]
- Update editors/emacs-devel
- Ensure Makefile shell commands that change directory are executed in a
subshell
- Silence some portlint warnings
[1] By not depending on base texinfo
PR: 225404
Reviewed by: antoine
Approved by: portmgr (mat) ashish (maintainer)
Differential Revision: https://reviews.freebsd.org/D13506
* Disable FPX (FlashPix) support by default. This image format is really
rare these days coupled with that there are known CVE's in libfpx and
it doesn't seem to be maintained these days. It doesn't make sense to
keep it enabled by default anymore. [1]
* Add new option for RAW support
* Fix portscout macro to only show 6.9.x versions
Bump other ports for the shared library bumps in IM 6.
PR: 222309 [1]
Submitted by: Anton Yuzhaninov <citrin+pr@citrin.ru> [1]
- Make gtk3 the default X11 toolkit since the configure script will search
for that version first and upstream describes gtk2 as deprecated.
- Release notes: https://www.gnu.org/software/emacs/news/NEWS.25.2
Approved by: ashish (maintainer), swills (mentor, implicit)
locale set by the user. Add LANG=C and LC_ALL=C at the beginning of
bsd.port.mk and export them so all commands are executed with the C locale.
LC_ALL=C overrides all other LC_* variables. LANG is used by setlocale(3)
as default value for LC_* variables, so normally it isn't used when LC_ALL
is set, but there's code out there that looks at LANG directly so it's safer
to set it as well. The only commands not captured by this are !=
assignments before any inclusion of bsd.port.*mk.
Introduce USE_LOCALE=<locale> that adds LANG=<locale> and LC_ALL=<locale> to
CONFIGURE_ENV and MAKE_ENV so upstream build systems can be executed with a
different locale (e.g. USE_LOCALE=en_US.UTF-8).
PR: 215882
Exp-run by: antoine
Approved by: portmgr (antoine)