gnu: libpsl: Update to 0.7.1.

Removing the 'snippet' allows us to avoid 'patch-and-repack', which resets all
the mtimes, thereby breaking the expectation tested in
'test-is-public-builtin.c' that the mtime returned by 'psl_builtin_file_time'
is non-zero.

* gnu/packages/web.scm (libpsl): Update to 0.7.1.
  [source]: Remove 'modules' and 'snippet'.
  [native-inputs]: Add PKG-CONFIG.
This commit is contained in:
Ludovic Courtès 2015-07-17 00:01:38 +02:00
parent 81e558fdb1
commit e4d801623e
1 changed files with 5 additions and 9 deletions

View File

@ -320,20 +320,15 @@ for efficient socket-like bidirectional reliable communication channels.")
(define-public libpsl (define-public libpsl
(package (package
(name "libpsl") (name "libpsl")
(version "0.6.0") (version "0.7.1")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/rockdaboot/libpsl/" (uri (string-append "https://github.com/rockdaboot/libpsl/"
"archive/" version ".tar.gz")) "archive/" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"10s7xxxx6pp4ydp3san69sa6q379ih3pv92fyi565ggmlw8igv7a")) "1k0klj668c9v0r4993vfs3kq773mzdz61vsigqw6v1mjcwnf1si3"))
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))))
(modules '((guix build utils)))
(snippet
;; Believe it or not, the .pc is invalid. Fix it.
'(substitute* "libpsl.pc.in"
(("-llibpsl") "-lpsl")))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs `(("icu4c" ,icu4c))) (inputs `(("icu4c" ,icu4c)))
;; The release tarball lacks the generated files. ;; The release tarball lacks the generated files.
@ -341,7 +336,8 @@ for efficient socket-like bidirectional reliable communication channels.")
("automake" ,automake) ("automake" ,automake)
("gettext" ,gnu-gettext) ("gettext" ,gnu-gettext)
("which" ,which) ("which" ,which)
("libtool" ,libtool))) ("libtool" ,libtool)
("pkg-config" ,pkg-config)))
(arguments (arguments
`(#:phases (alist-cons-after `(#:phases (alist-cons-after
'unpack 'bootstrap 'unpack 'bootstrap