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

From: Leo Famulari <[email-masked]>
Date: Wed, 20 Jul 2016 02:26:14 -0400

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.
>From bac851145afdf5e76ccf2e246d0ee745901e5e8f Mon Sep 17 00:00:00 2001
From: Leo Famulari <[email-masked]>
Date: Wed, 20 Jul 2016 02:17:30 -0400
Subject: [PATCH] gnu: muparser: Update source URL.

* gnu/packages/maths.scm (muparser)[source]: Update source URL to new location.
Use URL-FETCH instead of SVN-FETCH. Update hash.
---
 gnu/packages/maths.scm | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index b8ec213..c55354a 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -13,6 +13,7 @@
 ;;; Copyright © 2016 Roel Janssen <[email-masked]>
 ;;; Copyright © 2016 Kei Kebreau <[email-masked]>
 ;;; Copyright © 2016 Ludovic Courtès <[email-masked]>
+;;; Copyright © 2016 Leo Famulari <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -35,7 +36,6 @@
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
   #:use-module (guix download)
-  #:use-module (guix svn-download)
   #:use-module (guix utils)
   #:use-module (guix build utils)
   #:use-module (guix build-system cmake)
@@ -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"))
        (sha256
         (base32
-         "1d6bdbhx9zj3srwj3m7c9hvr18gnx1fx43h6d25my7q85gicpcwn"))))
+         "0277qsi5l23jsck1vhn383bmvc2n9l4a1dl5r9bf7hvjv9ayyrh6"))))
     (build-system gnu-build-system)
     (arguments
      `(#:configure-flags '("--enable-samples=no")
-- 
2.9.1