guix-devel
[Top][All Lists]
Advanced

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

Re: loudmouth, freetalk


From: Mark H Weaver
Subject: Re: loudmouth, freetalk
Date: Wed, 30 Mar 2016 12:10:29 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux)

Nils Gillmann <address@hidden> writes:

> Jean Louis <address@hidden> writes:
>
>> (define-public loudmouth
>>   (package
>>     (name "loudmouth")
>>     (version "1.4.3")
>>     (source (origin
>>              (method url-fetch)
>>              (uri (string-append
>>                     "http://ftp.gnome.org/pub/GNOME/sources/loudmouth/1.4";
>>                     "/loudmouth-" version ".tar.bz2"))
>
>                (uri (string-append
>                       "http://ftp.gnome.org/pub/GNOME/sources/"; name
>                       "/1.4/" name "-" version ".tar.bz2"))

The "1.4" should also be replaced with (version-major+minor version), so
that this part of the string doesn't have to be manually fixed when the
version changes to 1.5.x or higher.  Using the 'name' variable is less
important, since that's unlikely to change.

>                In addition: there might be an mirror:// thing for
>                gnome ftp

Yes.  So it should be like this:

              (uri (string-append "mirror://gnome/sources/" name "/"
                                  (version-major+minor version) "/"
                                  name "-" version ".tar.bz2"))

      Thanks!
        Mark



reply via email to

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