[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/16: gnu: utfcpp: Update to 2.3.5.
From: |
Tobias Geerinckx-Rice |
Subject: |
01/16: gnu: utfcpp: Update to 2.3.5. |
Date: |
Wed, 10 Jan 2018 10:25:59 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit f9c84cd4958edbe8e4f22e8e3660ed957c0453b1
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Wed Jan 10 02:50:54 2018 +0100
gnu: utfcpp: Update to 2.3.5.
* gnu/packages/textutils.scm (utfcpp): Update to 2.3.5.
[source]: Download tarball from new location.
[build-system]: Switch to cmake-build-system.
[arguments]: Use it, with custom ‘install’ phase.
[native-inputs]: Remove unzip.
---
gnu/packages/textutils.scm | 43 ++++++++++++++++++-------------------------
1 file changed, 18 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index 2fb1d14..1f5fe6a 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -13,6 +13,7 @@
;;; Copyright © 2017 Hartmut Goebel <address@hidden>
;;; Copyright © 2017 Kei Kebreau <address@hidden>
;;; Copyright © 2017 Alex Vong <address@hidden>
+;;; Copyright © 2018 Tobias Geerinckx-Rice <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -37,7 +38,6 @@
#:use-module (guix build-system ant)
#:use-module (guix build-system gnu)
#:use-module (guix build-system cmake)
- #:use-module (guix build-system trivial)
#:use-module (guix build-system python)
#:use-module (gnu packages)
#:use-module (gnu packages autotools)
@@ -452,36 +452,29 @@ spreadsheets and outputs it in comma-separated-value
format, and
(define-public utfcpp
(package
(name "utfcpp")
- (version "2.3.4")
+ (version "2.3.5")
(source (origin
(method url-fetch)
(uri
- (string-append
- "mirror://sourceforge/utfcpp/utf8cpp_2x/Release%20"
- version "/utf8_v"
- (string-map (lambda (x) (if (eq? x #\.) #\_ x)) version)
- ".zip"))
- (file-name (string-append name "-" version ".zip"))
+ (string-append "https://github.com/nemtrif/utfcpp/archive/v"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1vqhs0aipcvvdrwcs7h3jsryg6mgbmc4s34n5cm6d36q4nxwwwrk"))))
- (build-system trivial-build-system)
+ "0gcqcfw19kfim8xw29xdp91l310yfjyrqdj2zsx8xx02dkpy1zzk"))))
+ (build-system cmake-build-system)
(arguments
- `(#:modules ((guix build utils))
- #:builder
- (begin
- (use-modules (guix build utils))
- (let ((source (assoc-ref %build-inputs "source"))
- (out (assoc-ref %outputs "out"))
- (unzip (string-append (assoc-ref %build-inputs "unzip")
- "/bin/unzip")))
- (mkdir-p out)
- (with-directory-excursion out
- (system* unzip source)
- (mkdir-p "share/doc")
- (rename-file "doc" "share/doc/utfcpp")
- (rename-file "source" "include"))))))
- (native-inputs `(("unzip" ,unzip)))
+ `(#:out-of-source? #f
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'install ; no install target
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (include (string-append out "/include"))
+ (doc (string-append out "/share/doc/" ,name)))
+ (copy-recursively "source" include)
+ (install-file "README.md" doc)
+ #t))))))
(home-page "https://github.com/nemtrif/utfcpp")
(synopsis "Portable C++ library for handling UTF-8")
(description "UTF8-CPP is a C++ library for handling UTF-8 encoded text
- branch master updated (f6e2d86 -> 871d107), Tobias Geerinckx-Rice, 2018/01/10
- 03/16: gnu: libsvm: Update to 3.22., Tobias Geerinckx-Rice, 2018/01/10
- 05/16: gnu: ghc-quickcheck-unicode: Update to 1.0.1.0., Tobias Geerinckx-Rice, 2018/01/10
- 09/16: gnu: lsyncd: Update to 2.2.2., Tobias Geerinckx-Rice, 2018/01/10
- 04/16: gnu: python-ply, python2-ply: Update to 3.10., Tobias Geerinckx-Rice, 2018/01/10
- 01/16: gnu: utfcpp: Update to 2.3.5.,
Tobias Geerinckx-Rice <=
- 06/16: gnu: ghc-chell-quickcheck: Update to 0.2.5.1., Tobias Geerinckx-Rice, 2018/01/10
- 16/16: gnu: whois: Remove misleading comment., Tobias Geerinckx-Rice, 2018/01/10
- 07/16: gnu: iso-codes: Update to 3.77., Tobias Geerinckx-Rice, 2018/01/10
- 14/16: gnu: wcslib: Update to 5.18., Tobias Geerinckx-Rice, 2018/01/10
- 15/16: gnu: wcslib: Mark up description., Tobias Geerinckx-Rice, 2018/01/10
- 02/16: gnu: xterm: Download over HTTP by default., Tobias Geerinckx-Rice, 2018/01/10
- 08/16: gnu: libzen: Update to 0.4.37., Tobias Geerinckx-Rice, 2018/01/10
- 10/16: gnu: ding: Update to 1.8.1., Tobias Geerinckx-Rice, 2018/01/10
- 11/16: gnu: xbattmon: Update to 1.1., Tobias Geerinckx-Rice, 2018/01/10
- 13/16: gnu: xdg-utils: Update to 1.1.2., Tobias Geerinckx-Rice, 2018/01/10