Subject: Re: bug#24026: librecad and dealii depend on relocated muparser source code repo

From: Mark H Weaver <[email-masked]>
Date: Wed, 20 Jul 2016 07:07:25 -0400

Leo Famulari <[email-masked]> writes:

> On Tue, Jul 19, 2016 at 12:42:57PM -0400, Mark H Weaver wrote:
>> The dealii, dealii-openmpi, and librecad packages are now failing
>> due to a missing dependency:
>> 
>>   svn: E160013: Unable to connect to a repository at URL 'http://muparser.googlecode.com/svn/trunk'
>>   svn: E160013: '/svn/trunk' path not found
>> 
>> It seems that the muparser developers have switched to github.
>
> Dealii, dealii-openmpi, and librecad build successfully using the 2.2.5
> tarball from the new github repo.
>
> The hash of the source has changed, but the version has not. Do you
> think this will be a problem? I think that `guix package -u` won't work
> correctly.

Hmm.  It would be good to see the diff between the two "versions" of
2.2.5.  If there's anything substantive in there, then we might want to
bump the version on our behalf.  Otherwise it probably doesn't matter.

What do you think?

> @@ -1796,13 +1796,12 @@ associated functions (eg. contiguous and non-contiguous submatrix views).")
>      (version "2.2.5")
>      (source
>       (origin
> -       (method svn-fetch)
> -       (uri (svn-reference
> -             (url "http://muparser.googlecode.com/svn/trunk/")
> -             (revision 34)))
> +       (method url-fetch)
> +       (uri (string-append "https://github.com/beltoforion/muparser/archive/v"
> +                           version ".tar.gz"))

This 'origin' needs a 'file-name' field.  Otherwise it looks good to me.

    Thanks!
      Mark