[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to install prerelease package versions (particularly Emacs)

From: Ricardo Wurmus
Subject: Re: How to install prerelease package versions (particularly Emacs)
Date: Thu, 12 Apr 2018 14:57:14 +0200
User-agent: mu4e 1.0; emacs 25.3.1

Hi Pierre,

> Chris Marusich <address@hidden> writes:
>> Can you share the package definition?
> Let's start from the most straight-forward:
> (define-public emacs-dev
>   (package
>    (inherit emacs)
>    (name "emacs-dev")
>    (version "26.0.91")
>    (source
>      (local-file "/home/ambrevar/projects/emacs-build" #:recursive? #t))))

Here’s mine:

--8<---------------cut here---------------start------------->8---
(define-public my/emacs
  (package (inherit emacs)
    (name "my-emacs")
    (version "26.0.91")
    (source (origin
              (method url-fetch)
              (uri (string-append "";
                                  "pretest/emacs-" version ".tar.xz"))
         ;; NOTE: I don’t know if the tests pass in this version; this
         ;; is for a much older version.
         (append '(#:tests? #f ; tests fail in this development version
                   #:configure-flags '("--with-xwidgets=yes"))
                 (package-arguments emacs))))
     `(("libxcomposite" ,libxcomposite)
       ("webkitgtk+" ,webkitgtk)
       ;; These two are needed to get HTTPS support in Webkit.
       ("glib-networking" ,glib-networking)
       ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
       ,@(package-inputs emacs)))
    ;; This is only needed when building from a git checkout.
     `(("autoconf" ,autoconf)
       ("automake" ,automake)
       ,@(package-native-inputs emacs)))))
--8<---------------cut here---------------end--------------->8---

Since I don’t know what the source code looks like, I can only guess
that maybe you need to bootstrap the build system first.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]