Building Emacs with support for compiling elisp to native code is an
interesting idea, but up to now there are no obvious performance
improvements. There are problems though. Background compilation can
eat up CPU, Emacs may fail to build (e.g., bug 2629490), and some
dependent ports may encounter problems. Thus, note that the option is
experimental to give users reasonable expectations.
Discussed with: abbe, yasu
Sponsored by: The FreeBSD Foundation
...rather than guarding the file in pkg-plist. glib-compile-schemas is
run during the build, but use the macro regardless. It could make
certain changes like a major version bump of glib easier to deal with.
Reported by: jbeich
Sponsored by: The FreeBSD Foundation
- Add PGTK to OPTIONS_DEFAULT
- Remove M17N, OTF, XFT, XIM, and XPM from OPTIONS_DEFAULT
- Eliminate X11 dependencies for pure GTK Emacs by
- removing CAIRO_IMPLIES=XFT and OTF_IMPLIES=XFT
- adding CAIRO_PREVENTS=XFT and PGTK_PREVENTS=M17N XFT XPM
- not including USES=xorg.
While here, pull in a new 2022-01-03 revision and incorporate minor
formatting changes suggested by portfmt.
Reported by: jbeich
Reviewed by: jbeich
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D33714
A new USES has been added to depend on ImageMagick.
USES=magick
adds a LIB_DEPENDS on graphics/ImageMagick${IMAGEMAGICK_DEFAULT}.
If a specific version is required, use for example
USES=magick:6 resp. USES=magick:7
If only a build, run or test is required, use for example
USES=magick:build resp. USES=magick:6,build,test
If a dependency on the nox11 flavor is required, use for example
USES=magick:nox11 resp. USES=magick:7,nox11,run,test
See magick.mk for more details on the available flags.
The tree has been completely converted to make use of this.
Approved by: bapt
Differential Revision: https://reviews.freebsd.org/D32754
While here, make sure gtk-update-icon-cache is only on run dependency
where added as a dependency
Enforce gtk3 to depend on gtk-update-icon-cache (previously it was
inheriting the dependency)
* The major version was bumped from 28 to 29 since the last update.
Approved by: portmgr (implicit)
Differential Revision: https://reviews.freebsd.org/D32258
Native Compilation adds support for compiling EmacsLisp to native code using
libgccjit. For more information see https://www.emacswiki.org/emacs/GccEmacs.
The option is off by default until it receives wider testing.
Co-authored-by: Ashish SHUKLA <ashish@FreeBSD.org>
Co-authored-by: Joseph Mingrone <jrm@FreeBSD.org>