You are not logged in.
I'd really love to try out the emacs RC1 but the emacs-git package from yaourt wants to build the HEAD. I'd like to tell it to build the hash (or tag) corresponding to the RC1. Obviously I could just ./configure ; make manually, but not having to do that anymore is one of the reasons why I moved to ArchLinux from Debian in the first place.
While I'm at it... is there a way to store yaourt git repositories in a persistent location? /tmp is nuked all the time (and eats precious RAM!)
Offline
emacs-git package from yaourt
There's your problem; there's no such thing as a "package from yaourt". If you'd read the wiki, you'd know how to modify the PKGBUILD yourself.
https://wiki.archlinux.org/index.php/Ar … Repository
https://wiki.archlinux.org/index.php/PKGBUILD
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
Moving to AUR Issues...
Offline
well, yes, yaourt is just a front end for AUR, of course. But to be clearer, I mean if there is a way to do this without a manual edit of the pkgfile... like a command line override or a preference for this package. It seems to reset itself on every sync.
Offline
it's also not entirely clear where to specify the git commit. It is possible to modify the pkgver=25.1.50.r126330 line but that's not referencing a git commit hash, or a tag such as https://github.com/emacs-mirror/emacs/t … s-25.1-rc1
Offline
I doubt there's a flag for yaourt, but the correct way to do this is described in the PKGBUILD man page.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I doubt there's a flag for yaourt, but the correct way to do this is described in the PKGBUILD man page.
Thanks! It was indeed in the man page, but not the wiki. But it doesn't work. I changed this line
source=("$pkgname::git://git.savannah.gnu.org/emacs.git")
to
source=("$pkgname::git://git.savannah.gnu.org/emacs.git#emacs-25.1-rc1")
and I got
ERROR: Unrecognised reference: emacs-25.1-rc1
but I can confirm that this tag does exist.
Offline
You forgot an important part after the hash.
source=("$pkgname::git://git.savannah.gnu.org/emacs.git#tag=emacs-25.1-rc1")
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
You forgot an important part after the hash.
source=("$pkgname::git://git.savannah.gnu.org/emacs.git#tag=emacs-25.1-rc1")
ERROR: pkgver is not allowed to contain colons, hyphens or whitespace.
ARGH!
Offline
You could comment/remove the pkgver() function and set pkgver to pkgver=25.1.rc1
.. or modify the pkgver() function so that it generates a valid string.
Offline
huzzah!
editing these lines
source=("$pkgname::git://git.savannah.gnu.org/emacs.git#tag=emacs-25.1-rc1")
pkgver() {
echo "25.1.rc1"
}
(which will bring up a second PKGBUILD editing session in `yaourt -S emacs-git`) seems to have done the trick, thank you!
Offline
Please remember to mark your thread as solved by editing the first post and amending the title with "[solved]".
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Turns out it's much easier than this:
yaourt -S emacs-pretest
you might need to add Nic's gpg key with
gpg --recv-keys 233587A47C207910 28D3BED851FDF3AB57FEF93C233587A47C207910
gpg --edit-key 233587A47C207910
gpg --edit-key 28D3BED851FDF3AB57FEF93C233587A47C207910
and setting trust to ultimate.
Last edited by fommil (2016-07-31 21:14:48)
Offline