* [bug#38582] [PATCH] gnu: criu: Update to 3.13.
@ 2019-12-11 12:31 nixo
2019-12-12 20:27 ` Nicolò Balzarotti
0 siblings, 1 reply; 3+ messages in thread
From: nixo @ 2019-12-11 12:31 UTC (permalink / raw)
To: 38582
[-- Attachment #1: Type: text/plain, Size: 290 bytes --]
Hello Guix!
Here's an updated version of criu!
It's still one of those packages needing python2 :( Guix lint complains
about the homepage (redirecting to https://criu.org/Main_Page) but I'd
keep the current one (they might change the wiki software, who knows)
Thanks! Nicolò
[-- Attachment #2: /home/nixo/git/guix/0001-gnu-criu-Update-to-3.13.patch --]
[-- Type: message/external-body, Size: 146 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* [bug#38582] [PATCH] gnu: criu: Update to 3.13.
2019-12-11 12:31 [bug#38582] [PATCH] gnu: criu: Update to 3.13 nixo
@ 2019-12-12 20:27 ` Nicolò Balzarotti
2019-12-15 21:48 ` bug#38582: " Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Nicolò Balzarotti @ 2019-12-12 20:27 UTC (permalink / raw)
To: 38582
[-- Attachment #1: Type: text/plain, Size: 76 bytes --]
nixo <anothersms@gmail.com> writes:
Attaching the patch that notmuch lost
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-criu-Update-to-3.13.patch --]
[-- Type: text/x-patch, Size: 4144 bytes --]
From 74ace32fa4f071494a234399dce707a0f06b6ada Mon Sep 17 00:00:00 2001
From: nixo <nicolo@nixo.xyz>
Date: Wed, 11 Dec 2019 13:31:09 +0100
Subject: [PATCH] gnu: criu: Update to 3.13.
* gnu/packages/virtualization.scm (criu): Update to 3.13.
---
gnu/packages/virtualization.scm | 38 +++++++++++++++++----------------
1 file changed, 20 insertions(+), 18 deletions(-)
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index dd0222730f..2cd1c9cf02 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -57,6 +57,7 @@
#:use-module (gnu packages golang)
#:use-module (gnu packages gtk)
#:use-module (gnu packages image)
+ #:use-module (gnu packages libbsd)
#:use-module (gnu packages libusb)
#:use-module (gnu packages linux)
#:use-module (gnu packages ncurses)
@@ -690,14 +691,14 @@ domains, their live performance and resource utilization statistics.")
(define-public criu
(package
(name "criu")
- (version "3.11")
+ (version "3.13")
(source (origin
(method url-fetch)
(uri (string-append "http://download.openvz.org/criu/criu-"
version ".tar.bz2"))
(sha256
(base32
- "03nimyn3wy5mlw30gq7bvlzvvprqjv8f25240yj5arzlld8mhsw8"))))
+ "1yn9ix9lqvqvjrs3a3g6g1wqfniyf9n7giy0mr3jvijmrcm7y0pa"))))
(build-system gnu-build-system)
(arguments
`(#:test-target "test"
@@ -705,7 +706,11 @@ domains, their live performance and resource utilization statistics.")
#:make-flags
(list (string-append "PREFIX=" (assoc-ref %outputs "out"))
(string-append "LIBDIR=" (assoc-ref %outputs "out")
- "/lib"))
+ "/lib")
+ (string-append "ASCIIDOC=" (assoc-ref %build-inputs "asciidoc")
+ "/bin/asciidoc")
+ (string-append "XMLTO=" (assoc-ref %build-inputs "xmlto")
+ "/bin/xmlto"))
#:phases
(modify-phases %standard-phases
(replace 'configure
@@ -721,21 +726,17 @@ domains, their live performance and resource utilization statistics.")
;; which define some of the same constants.
(assoc-ref inputs "kernel-headers")
"/include"))
- ;; Prevent xmlto from failing the install phase.
+ #t))
+ (add-after 'configure 'fix-documentation
+ (lambda* (#:key inputs outputs #:allow-other-keys)
(substitute* "Documentation/Makefile"
- (("XMLTO.*:=.*")
- (string-append "XMLTO:="
- (assoc-ref inputs "xmlto")
- "/bin/xmlto"
- " --skip-validation "
- " -x "
- (assoc-ref inputs "docbook-xsl")
- "/xml/xsl/docbook-xsl-"
- ,(package-version docbook-xsl)
- "/manpages/docbook.xsl"))
- (("\\$\\(XMLTO\\);")
- (string-append (assoc-ref inputs "xmlto")
- "/bin/xmlto;")))
+ (("-m custom.xsl")
+ (string-append
+ "-m custom.xsl --skip-validation -x "
+ (assoc-ref inputs "docbook-xsl") "/xml/xsl/"
+ ,(package-name docbook-xsl) "-"
+ ,(package-version docbook-xsl)
+ "/manpages/docbook.xsl")))
#t))
(add-after 'unpack 'hardcode-variables
(lambda* (#:key inputs #:allow-other-keys)
@@ -783,7 +784,8 @@ domains, their live performance and resource utilization statistics.")
("libaio" ,libaio)
("libcap" ,libcap)
("libnet" ,libnet)
- ("libnl" ,libnl)))
+ ("libnl" ,libnl)
+ ("libbsd" ,libbsd)))
(native-inputs
`(("pkg-config" ,pkg-config)
("perl" ,perl)
--
2.24.0
[-- Attachment #3: Type: text/plain, Size: 413 bytes --]
> Hello Guix!
> Here's an updated version of criu!
>
> It's still one of those packages needing python2 :( Guix lint complains
> about the homepage (redirecting to https://criu.org/Main_Page) but I'd
> keep the current one (they might change the wiki software, who knows)
>
> Thanks! Nicolò
>
> !!! Bodypart handler `notmuch-show-insert-part-*/*' threw an error:
> !!! Couldn’t find access type
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#38582: [PATCH] gnu: criu: Update to 3.13.
2019-12-12 20:27 ` Nicolò Balzarotti
@ 2019-12-15 21:48 ` Ludovic Courtès
0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2019-12-15 21:48 UTC (permalink / raw)
To: Nicolò Balzarotti; +Cc: 38582-done
Nicolò Balzarotti <anothersms@gmail.com> skribis:
>>From 74ace32fa4f071494a234399dce707a0f06b6ada Mon Sep 17 00:00:00 2001
> From: nixo <nicolo@nixo.xyz>
> Date: Wed, 11 Dec 2019 13:31:09 +0100
> Subject: [PATCH] gnu: criu: Update to 3.13.
>
> * gnu/packages/virtualization.scm (criu): Update to 3.13.
Applied, thanks!
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-12-15 21:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-11 12:31 [bug#38582] [PATCH] gnu: criu: Update to 3.13 nixo
2019-12-12 20:27 ` Nicolò Balzarotti
2019-12-15 21:48 ` bug#38582: " Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).