diff options
| author | Andreas Enge <andreas@enge.fr> | 2015-07-19 12:39:57 +0200 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2015-07-22 19:29:17 +0200 |
| commit | 1436c5c7e8a4a1f49e1d041646ba3b10a1302487 (patch) | |
| tree | f62e0329575fec545ba92c98eaa923044a0735d8 /gnu | |
| parent | 8fd3c1ff6e9ca0084d4ac6c2c515da093b2a7664 (diff) | |
gnu: teckit: Update to 2.5.4.
* gnu/packages/fontutils.scm (teckit): Update to 2.5.4. Drop patch.
Use svn-fetch for download.
[arguments]: Add phase to call autogen.
[native-inputs]: New field.
* gnu/packages/patches/teckit-cstdio.patch: Delete file.
* gnu-system.am (dist_patch_DATA): Unregister patch.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/fontutils.scm | 43 | ||||
| -rw-r--r-- | gnu/packages/patches/teckit-cstdio.patch | 10 |
2 files changed, 25 insertions, 28 deletions
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm index 5953caa87a6..8b5346a17f0 100644 --- a/gnu/packages/fontutils.scm +++ b/gnu/packages/fontutils.scm | |||
| @@ -34,6 +34,7 @@ | |||
| 34 | #:use-module ((guix licenses) #:prefix license:) | 34 | #:use-module ((guix licenses) #:prefix license:) |
| 35 | #:use-module (guix packages) | 35 | #:use-module (guix packages) |
| 36 | #:use-module (guix download) | 36 | #:use-module (guix download) |
| 37 | #:use-module (guix svn-download) | ||
| 37 | #:use-module (guix build-system cmake) | 38 | #:use-module (guix build-system cmake) |
| 38 | #:use-module (guix build-system gnu)) | 39 | #:use-module (guix build-system gnu)) |
| 39 | 40 | ||
| @@ -139,27 +140,33 @@ X11-system or any other graphical user interface.") | |||
| 139 | (define-public teckit | 140 | (define-public teckit |
| 140 | (package | 141 | (package |
| 141 | (name "teckit") | 142 | (name "teckit") |
| 142 | (version "2.5.1") | 143 | (version "2.5.4") |
| 143 | (source (origin | 144 | (source (origin |
| 144 | (method url-fetch) | 145 | ;; Downloaded tarballs vary with each download, so we use an |
| 145 | (uri (list | 146 | ;; svn snapshot. The 2.5.4 release seems to be made in r128, |
| 146 | (string-append | 147 | ;; but r132 updates additional files to contain the correct |
| 147 | "http://scripts.sil.org/svn-view/teckit/TAGS/TECkit_" | 148 | ;; version number (r129 to r131 do not concern TRUNK). |
| 148 | (string-map (lambda (x) (if (char=? x #\.) #\_ x)) version) | 149 | (method svn-fetch) |
| 149 | ".tar.gz") | 150 | (uri (svn-reference |
| 150 | "http://pkgs.fedoraproject.org/repo/pkgs/teckit/TECkit_2_5_1.tar.gz/4913f71f0f42bfd9cf8f161688b35dea/TECkit_2_5_1.tar.gz" | 151 | (url "https://scripts.sil.org/svn-public/teckit/TRUNK") |
| 151 | ;; This used to be the canonical URL but it vanished. | 152 | (revision 132))) |
| 152 | ;; See <http://bugs.gnu.org/19600>. | 153 | (file-name (string-append name "-" version)) |
| 153 | ;; (string-append | 154 | (sha256 |
| 154 | ;; "http://scripts.sil.org/svn-view/teckit/TAGS/TECkit_" | 155 | (base32 |
| 155 | ;; (string-map (lambda (x) (if (char=? x #\.) #\_ x)) version) | 156 | "1xqkqgw30pb24snh46srmjs2j4zhz2dfi5pf7znia0k34mrpwivz")))) |
| 156 | ;; ".tar.gz") | ||
| 157 | )) | ||
| 158 | (sha256 (base32 | ||
| 159 | "0fjiwvic8mdxpkyccfp7zh26y9xnvkp0skqbyfkrjiacd191k82r")) | ||
| 160 | (patches (list (search-patch "teckit-cstdio.patch"))))) | ||
| 161 | (build-system gnu-build-system) | 157 | (build-system gnu-build-system) |
| 162 | (inputs `(("zlib" ,zlib))) | 158 | (inputs `(("zlib" ,zlib))) |
| 159 | (native-inputs | ||
| 160 | `(("autoconf" ,autoconf) | ||
| 161 | ("automake" ,automake) | ||
| 162 | ("libtool" ,libtool) | ||
| 163 | ("perl" ,perl))) ; for the tests | ||
| 164 | (arguments | ||
| 165 | `(#:phases | ||
| 166 | (modify-phases %standard-phases | ||
| 167 | (add-after 'unpack 'autogen | ||
| 168 | (lambda _ | ||
| 169 | (zero? (system* "sh" "autogen.sh"))))))) | ||
| 163 | (synopsis "Toolkit for encoding conversions") | 170 | (synopsis "Toolkit for encoding conversions") |
| 164 | (description | 171 | (description |
| 165 | "TECkit is a low-level toolkit intended to be used by other applications | 172 | "TECkit is a low-level toolkit intended to be used by other applications |
diff --git a/gnu/packages/patches/teckit-cstdio.patch b/gnu/packages/patches/teckit-cstdio.patch deleted file mode 100644 index d79595ed443..00000000000 --- a/gnu/packages/patches/teckit-cstdio.patch +++ /dev/null | |||
| @@ -1,10 +0,0 @@ | |||
| 1 | --- TECkit_2_5_1/source/Compiler.cpp 2008-04-07 16:21:12.000000000 +0200 | ||
| 2 | +++ TECkit_2_5_1/source/Compiler.cpp 2013-01-26 00:33:18.000000000 +0100 | ||
| 3 | @@ -29,6 +29,7 @@ | ||
| 4 | |||
| 5 | #include "Compiler.h" | ||
| 6 | |||
| 7 | +#include <cstdio> | ||
| 8 | #include <iostream> | ||
| 9 | #include <iomanip> | ||
| 10 | #include <algorithm> | ||
