Package Details: emacs-git 27.0.50.133470-1

Git Clone URL: https://aur.archlinux.org/emacs-git.git (read-only)
Package Base: emacs-git
Description: GNU Emacs. Development.
Upstream URL: http://www.gnu.org/software/emacs/
Keywords: development editor IDE text
Licenses: GPL3
Conflicts: emacs
Provides: emacs
Submitter: vorbote
Maintainer: vorbote
Last Packager: vorbote
Votes: 67
Popularity: 1.542259
First Submitted: 2014-01-05 02:05
Last Updated: 2018-06-23 14:58

Required by (277)

Sources (1)

Pinned Comments

vorbote commented on 2017-06-30 19:14

This new PKGBUILD is a work in progress. If you find bugs, please let me know ASAP.

Latest Comments

albert748 commented on 2018-06-23 02:13

please change the line: if [[ BRANCH = "emacs-26" ]]; then

to: if [[ $BRANCH = "emacs-26" ]]; then

d125q commented on 2018-06-14 08:13

In _conf+=( '--with-x-toolkit=no' 'without-toolkit-scrollbars' '--with-xft' '--without-xaw3d' );, without-toolkit-scrollbars should be changed to --without-toolkit-scroll-bars. It can also be removed altogether, as it should have no effect (as there is no toolkit in the first place).

Also, [[ $LTO = "yes" ]] should be changed to [[ $LTO = "YES" ]] in

if [[ $LTO = "yes" ]]; then
  export CFLAGS+=" -flto"
  export tXXFLAGS+=" -flto"
fi

aminb commented on 2018-06-11 23:11

Thanks for the updates, but the quotes between the two packages in 'dbus hicolor-icon-theme' are still missing for the $LUCID case.

aminb commented on 2018-06-11 15:20

Indeed, 'high-color-icon-theme' should be 'hicolor-icon-theme', and 'libfixes' should be 'libxfixes'.

rompy commented on 2018-06-11 07:06

The depends lines where it contains 'dbus high-color-icon-theme' should be 'dbus' 'hicolor-icon-themes' (for LUCID and NOKIT options).

Else, an error occurs:

==> ERROR: depends contains invalid characters: ' '

Also, libfixes is no longer available in repository.

vorbote commented on 2018-06-04 00:37

blaenk, works for me. Make sure you have the latest version of the PKGBUILD and then uninstall completely (pacman -Rscn) and install again.

blaenk commented on 2018-06-02 17:26

Not sure if it's a bug, but I'm getting this:

==> WARNING: Package contains reference to $srcdir                                                                                                            
usr/bin/emacs-27.0.50                                                                                                                                         
usr/share/emacs/27.0.50/lisp/org/ox-odt.elc
usr/share/emacs/27.0.50/lisp/net/tramp.elc
usr/share/emacs/27.0.50/lisp/net/newst-treeview.elc

VanLaser commented on 2018-05-14 19:27

pkgver() also failed here with error:

ERROR: pkgver is not allowed to contain colons, hyphens or whitespace.

I used the following instead (thanks @CjK for the link):

pkgver() {
  cd "$pkgname"
  ( set -o pipefail
    git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
  )
}

CjK commented on 2018-04-19 13:50

Thanks @vorbote for your work on this. I was able to build the latest emacs-26 with this pkgbuild.

However, the pkgver() function didn't work for me. I replaced it with something sane from https://wiki.archlinux.org/index.php/VCS_package_guidelines#Git and then it worked flawlessly.

vorbote commented on 2018-02-13 16:55

OK. It seems there is some corruption in config files after adjusting the detection of libpng in autoconf. Quick fix: Run "make distclean" on the cached sources. Real fix: Delete the src directory.

All comments