[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs package
From: |
Federico Beffa |
Subject: |
Re: emacs package |
Date: |
Wed, 17 Sep 2014 18:57:35 +0200 |
On Wed, Sep 17, 2014 at 11:11 AM, Ludovic Courtès <address@hidden> wrote:
> Federico Beffa <address@hidden> skribis:
>
>> Currently the libcanberra package does not build. It can't find the source:
>>
>> starting download of
>> `/gnu/store/n9g0vd6hdka11s7zp3lbqkvyiw99hwzb-libcanberra-0.30.tar.xz'
>> from
>> `http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.30.tar.xz'...
>> ERROR: download failed
>> "http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.30.tar.xz"
>> 404 "Not Found"
>
> Should be fixed now.
>
> Note that enabling substitutes hides the problem, because hydra.gnu.org
> has a cached copy.
>
Actually I have the hydra.gnu.org substitute active, but for some
reason guix didn't want to download from there.
It's now working. Thanks!
Regarding the libcanberra message. I've added it as input to emacs,
but got the same message. Then I noticed that the emacs recipe
specifies gtk+-2, but the libcanberra one specifies gtk+ which
defaults to v3 (I think). So I've changed the version in the emacs
recipe to v3, but I still get the message.
This is the test recipe that I built:
(use-modules (guix) (gnu) (srfi srfi-1)
(guix packages)
(guix download))
(let ((emacs (car (find-packages-by-name "emacs")))
(libcanberra (car (find-packages-by-name "libcanberra")))
(gtk+ (car (find-packages-by-name "gtk+"))))
(package
(inherit emacs)
(name "emacs-canberra")
(version "24.3")
(source (origin
(method url-fetch)
(uri "mirror://gnu/emacs/emacs-24.3.tar.xz")
(sha256
(base32
"1385qzs3bsa52s5rcncbrkxlydkw0ajzrvfxgv8rws5fx512kakh"))
(patches (list (search-patch
"/home/beffa/src/guix/git/guix/gnu/packages/patches/emacs-configure-sh.patch")))))
(inputs
(alist-cons "gtk+" (list gtk+)
(alist-delete "gtk+"
(alist-cons "libcanberra" (list libcanberra)
(package-inputs emacs)))))))
Then I built it with
guix build -e '(load "emacs-canberra.scm")'
Using strace I have the impression that emacs is still looking for
gtk-2, but currently I do not see where this could be coming from.
Regards,
Fede
- emacs package, Federico Beffa, 2014/09/13
- Re: emacs package, Ludovic Courtès, 2014/09/15
- Re: emacs package, Federico Beffa, 2014/09/16
- Re: emacs package, Federico Beffa, 2014/09/16
- Re: emacs package, Ludovic Courtès, 2014/09/17
- Re: emacs package,
Federico Beffa <=
- Re: emacs package, Ludovic Courtès, 2014/09/18
- Re: emacs package, Federico Beffa, 2014/09/18
- Re: emacs package, Ludovic Courtès, 2014/09/19
- Re: emacs package, Andreas Enge, 2014/09/19
- Re: emacs package, Federico Beffa, 2014/09/19
- Re: emacs package, Andreas Enge, 2014/09/19
- Re: emacs package, Ludovic Courtès, 2014/09/20
- Re: emacs package, Federico Beffa, 2014/09/20
- Re: emacs package, Ludovic Courtès, 2014/09/20
- Re: emacs package, Federico Beffa, 2014/09/20