Subject: [PATCH] gnu: teckit: Update to 2.5.7.

From: Roel Janssen <[email-masked]>
Date: Fri, 22 Sep 2017 21:22:16 +0200

Dear Guix,

Without using substitutes, I ran into a problem building teckit:
svn: E175002: Unexpected HTTP status 405 'Method Not Allowed' on
'/svn-public/teckit/TRUNK'

svn: E175002: Additional errors:
svn: E175002: OPTIONS request on '/svn-public/teckit/TRUNK' failed: 405
Method Not Allowed

So I reported the issue and I was told that the repository had moved to
Github.  Looking at the homepage confirms this:
http://scripts.sil.org/cms/scripts/page.php?item_id=TECkitDownloads

This patch updates teckit to the latest version and moves to the Github
repository.

Thanks for your time.

Kind regards,
Roel Janssen

>From dc84c4ac017031c45b630bb7787dd8b097838200 Mon Sep 17 00:00:00 2001
From: Roel Janssen <[email-masked]>
Date: Fri, 22 Sep 2017 21:16:42 +0200
Subject: [PATCH] gnu: teckit: Update to 2.5.7.

* gnu/packages/fontutils.scm (teckit): Update to 2.5.7.
---
 gnu/packages/fontutils.scm | 27 +++++++++------------------
 1 file changed, 9 insertions(+), 18 deletions(-)

diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index bd74c4d6a..de75bd8be 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -325,33 +325,24 @@ X11-system or any other graphical user interface.")
 (define-public teckit
   (package
    (name "teckit")
-   (version "2.5.4")
+   (version "2.5.7")
    (source (origin
-            ;; Downloaded tarballs vary with each download, so we use an
-            ;; svn snapshot. The 2.5.4 release seems to be made in r128,
-            ;; but r132 updates additional files to contain the correct
-            ;; version number (r129 to r131 do not concern TRUNK).
-            (method svn-fetch)
-            (uri (svn-reference
-                   (url "https://scripts.sil.org/svn-public/teckit/TRUNK")
-                   (revision 132)))
-            (file-name (string-append name "-" version))
+            (method url-fetch)
+            (uri (string-append
+                  "https://github.com/silnrsi/teckit/releases/download/v"
+                  version "/teckit-" version ".tar.gz"))
             (sha256
               (base32
-                "1xqkqgw30pb24snh46srmjs2j4zhz2dfi5pf7znia0k34mrpwivz"))))
+                "1pbp97vcpj6x4yixx6ww0vsi1rrr99fksxdjafs6gdargzd24cj4"))))
    (build-system gnu-build-system)
-   (inputs `(("zlib" ,zlib)))
+   (inputs
+    `(("zlib" ,zlib)
+      ("expat" ,expat)))
    (native-inputs
     `(("autoconf" ,autoconf)
       ("automake" ,automake)
       ("libtool" ,libtool)
       ("perl" ,perl))) ; for the tests
-   (arguments
-    `(#:phases
-      (modify-phases %standard-phases
-        (add-after 'unpack 'autogen
-          (lambda _
-            (zero? (system* "sh" "autogen.sh")))))))
    (synopsis "Toolkit for encoding conversions")
    (description
     "TECkit is a low-level toolkit intended to be used by other applications
-- 
2.14.1