[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs package
From: |
Ludovic Courtès |
Subject: |
Re: emacs package |
Date: |
Thu, 18 Sep 2014 14:01:15 +0200 |
User-agent: |
Gnus/5.130011 (Ma Gnus v0.11) Emacs/24.3 (gnu/linux) |
Federico Beffa <address@hidden> skribis:
> 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")))))
No need for ‘search-path’ here. since the absolute file name is given.
> (inputs
> (alist-cons "gtk+" (list gtk+)
> (alist-delete "gtk+"
> (alist-cons "libcanberra" (list libcanberra)
> (package-inputs emacs)))))))
I put it in the REPL, and then used ‘package-transitive-inputs’ to see
if there was any GTK+ left:
--8<---------------cut here---------------start------------->8---
scheme@(guile-user)> (let ((emacs (car (find-packages-by-name "emacs")))
(libcanberra (car (find-packages-by-name "libcanberra")))
(gtk+ (car (find-packages-by-name "gtk+"))))
(package
[...]
$7 = #<package emacs-canberra-24.3 gnu/packages/emacs.scm:52 43d6210>
scheme@(guile-user)> (filter (match-lambda
((label (? package? p) . _)
(string=? "gtk+" (package-name p))))
(package-transitive-inputs $7))
$8 = (("gtk+" #<package gtk+-2.24.21 gnu/packages/gtk.scm:342 32a8e70>))
--8<---------------cut here---------------end--------------->8---
There’s only one GTK+ here.
Could you try ‘ldd emacs’ on this Emacs, and see what it returns?
Thanks,
Ludo’.
- 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, 2014/09/17
- Re: emacs package,
Ludovic Courtès <=
- 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
- GSettings schemas, Ludovic Courtès, 2014/09/22