Package Details: emacs-pgtk-native-comp-git 28.0.50.143840-1

Git Clone URL: https://aur.archlinux.org/emacs-pgtk-native-comp-git.git (read-only, click to copy)
Package Base: emacs-pgtk-native-comp-git
Description: GNU Emacs. Unofficial pgtk-nativecomp branch.
Upstream URL: http://www.gnu.org/software/emacs/
Licenses: GPL3
Conflicts: emacs, emacs-27-git, emacs-git, emacs-seq, emacs26-git
Provides: emacs, emacs-seq
Replaces: emacs-git, emacs-seq, emacs26-git, emacs27-git
Submitter: flatwhatson
Maintainer: flatwhatson
Last Packager: flatwhatson
Votes: 3
Popularity: 1.77
First Submitted: 2020-08-21 14:09
Last Updated: 2020-09-11 12:23

Required by (415)

Sources (1)

Pinned Comments

flatwhatson commented on 2020-09-22 00:05

Native-comp emacs can take a while to compile, especially if you're only using 1 core. Make sure you have customized MAKEFLAGS in /etc/makepkg.conf to use all your cores: https://wiki.archlinux.org/index.php/Makepkg#Parallel_compilation

This package builds with make NATIVE_FULL_AOT=1 by default, which native-compiles all the built-in Elisp. Edit the PKGBUILD, search for FAST_BOOT= and make it FAST_BOOT="YES" to get a shorter build time, at the cost of lazily native-compiling core Elisp at runtime.

Latest Comments

flatwhatson commented on 2020-10-17 04:04

@titaniumbones Done, thanks for the heads-up!

titaniumbones commented on 2020-10-16 19:14

@flahtwatson, are you able to pull in recent changes to xwidget.c, which fix https://github.com/masm11/emacs/issues/69 ? Would be really great to have them! Thanks.

johnhamelink commented on 2020-10-03 17:48

Hi! The systemd unit file (mentioned here in the wiki) at /usr/lib/systemd/user/emacs.service is incorrect or otherwise does not work for me:

ExecStart=@/usr/bin/emacs emacsd --fg-daemon

Removing the @ symbol fixes things:

ExecStart=/usr/bin/emacs emacsd --fg-daemon

Crandel commented on 2020-09-24 11:04

I got this error during compilation

 ELC+ELN   progmodes/inf-lisp.elc
 ELC+ELN   progmodes/js.elc
Symbol’s function definition is void: cc-bytecomp-is-compiling
make[2]: *** [Makefile:314: progmodes/js.elc] Error 255
make[2]: Leaving directory '/data/linux/bb/emacs-pgtk-native-comp-git/src/emacs-git/lisp'
make[1]: *** [Makefile:348: compile-main] Error 2
make[1]: Leaving directory '/data/linux/bb/emacs-pgtk-native-comp-git/src/emacs-git/lisp'
make: *** [Makefile:422: lisp] Error 2
==> ERROR: A failure occurred in build().

P.S. Was fixed by editing PKGBUILD

LTO="YES"
FAST_BOOT="YES"

flatwhatson commented on 2020-09-22 00:05

Native-comp emacs can take a while to compile, especially if you're only using 1 core. Make sure you have customized MAKEFLAGS in /etc/makepkg.conf to use all your cores: https://wiki.archlinux.org/index.php/Makepkg#Parallel_compilation

This package builds with make NATIVE_FULL_AOT=1 by default, which native-compiles all the built-in Elisp. Edit the PKGBUILD, search for FAST_BOOT= and make it FAST_BOOT="YES" to get a shorter build time, at the cost of lazily native-compiling core Elisp at runtime.