From f9eab0be73e827c21ae59336adfd514c97943a70 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 20 Jan 2019 20:02:33 +0200 Subject: gnu: freedink-engine: Add upstream refresh information. * gnu/packages/games.scm (freedink-engine)[properties]: New field. --- gnu/packages/games.scm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 0c70325966..aad5c0f380 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -1416,6 +1416,8 @@ (define freedink-engine ("sdl-gfx" ,sdl-gfx) ("fontconfig" ,fontconfig) ("check" ,check))) + (properties '((ftp-directory . "/freedink") + (upstream-name . "freedink"))) (home-page "https://www.gnu.org/software/freedink/") (synopsis "Twisted adventures of young pig farmer Dink Smallwood") (description -- cgit v1.2.3 From 151fa92672ac9a6c5ee7ed4f0f205edcda5d858a Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 20 Jan 2019 20:03:14 +0200 Subject: gnu: fredink-data: Add upstream refresh information. * gnu/packages/games.scm (freedink-data)[properties]: New field. --- gnu/packages/games.scm | 1 + 1 file changed, 1 insertion(+) (limited to 'gnu') diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index aad5c0f380..a97c88c9f3 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -1445,6 +1445,7 @@ (define freedink-data (delete 'configure) ; no configure script (delete 'check)) ; no tests #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))))) + (properties '((ftp-directory . "/freedink"))) (home-page "https://www.gnu.org/software/freedink/") (synopsis "Game data for GNU Freedink") (description -- cgit v1.2.3 From 8ca06df5c2312593b0919582f5b040d8f4156a10 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 20 Jan 2019 20:03:50 +0200 Subject: gnu: freedink-dfarc: Add upstream refresh information. * gnu/packages/games.scm (freedink-dfarc)[properties]: New field. --- gnu/packages/games.scm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index a97c88c9f3..7b73ae42ea 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -1469,6 +1469,8 @@ (define-public freedink-dfarc (inputs `(("bzip2" ,bzip2) ("wxwidgets" ,wxwidgets))) + (properties '((ftp-directory . "/freedink") + (upstream-name . "dfarc"))) (home-page "https://www.gnu.org/software/freedink/") (synopsis "Front-end for managing and playing Dink Modules") (description "DFArc makes it easy to play and manage the GNU FreeDink game -- cgit v1.2.3 From 32d92d2cde076e11e7b9f7e88ccf808caf997944 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 20 Jan 2019 20:11:12 +0200 Subject: gnu: freedink-data: Update to 1.08.20190120. * gnu/packages/games.scm (freedink-data): Update to 1.08.20190120. --- gnu/packages/games.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 7b73ae42ea..a09eb5ea16 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -1430,14 +1430,14 @@ (define freedink-engine (define freedink-data (package (name "freedink-data") - (version "1.08.20170401") + (version "1.08.20190120") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/freedink/freedink-data-" - version ".tar.xz")) + version ".tar.gz")) (sha256 (base32 - "1zx7qywibhznj7bnz217404scr8dfh0xj24xjihnda5iapzz7lz8")))) + "17gvryadlxk172mblbsil7hina1z5wahwaxnr6g3mdq57dvl8pvi")))) (build-system gnu-build-system) (arguments `(#:phases -- cgit v1.2.3 From 8e3e51df1136a3da5f331f340dd2c13197e7b499 Mon Sep 17 00:00:00 2001 From: Andreas Enge Date: Sun, 20 Jan 2019 23:32:18 +0100 Subject: python-cysignals: Update to 1.9.0. * gnu/packages/python-xyz.scm (python-cysignals, python2-cysignals): Update to 1.9.0. --- gnu/packages/python-xyz.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 770f5abc63..a6e6982f6b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -8705,14 +8705,14 @@ (define-public python2-future (define-public python-cysignals (package (name "python-cysignals") - (version "1.1.0") + (version "1.9.0") (source (origin (method url-fetch) - (uri (pypi-uri "cysignals" version ".tar.bz2")) + (uri (pypi-uri "cysignals" version)) (sha256 (base32 - "14cbyd9znlz6cxy1s3g6v6dv5jj45hn27pywkidd9b1zanaysqc6")))) + "15ix8crpad26cfl1skyg7qajqqfdrm8q5ahhmlfmqi1aw0jqj2g2")))) (build-system python-build-system) (native-inputs `(("python-cython" ,python-cython) -- cgit v1.2.3 From 17634f0b2ad1f2e3f1a0c49a159ab82f423b2288 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 20 Jan 2019 17:47:47 +0100 Subject: gnu: perl-xml-compile: Update to 1.61. * gnu/packages/xml.scm (perl-xml-compile): Update to 1.61. --- gnu/packages/xml.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index fd4c3fea2c..05bc8aa13e 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -12,7 +12,7 @@ ;;; Copyright © 2016 Ben Woodcroft ;;; Copyright © 2016 Jan Nieuwenhuizen ;;; Copyright © 2016, 2017 Nils Gillmann -;;; Copyright © 2016, 2017, 2018 Tobias Geerinckx-Rice +;;; Copyright © 2016, 2017, 2018, 2019 Tobias Geerinckx-Rice ;;; Copyright © 2016, 2017, 2018 Marius Bakke ;;; Copyright © 2017 Adriano Peluso ;;; Copyright © 2017 Gregor Giesen @@ -686,14 +686,14 @@ (define-public perl-xml-compile-tester (define-public perl-xml-compile (package (name "perl-xml-compile") - (version "1.60") + (version "1.61") (source (origin (method url-fetch) (uri (string-append "mirror://cpan/authors/id/M/MA/MARKOV/" "XML-Compile-" version ".tar.gz")) (sha256 (base32 - "04vv7wy5v1l38xsfdbacvyd90qircvnrs2f3ysljm1nhq8mycmwm")))) + "13dvsaj8simivj867rkjlf7hhvvcwlahnhk70zf8cq2xbg8wmf7x")))) (build-system perl-build-system) (propagated-inputs `(("perl-carp" ,perl-carp) -- cgit v1.2.3 From dba326def16de29fd09adf65ba9794aa99197891 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 20 Jan 2019 17:00:17 +0100 Subject: gnu: vlc: Update to 3.0.6. * gnu/packages/video.scm (vlc): Update to 3.0.6. --- gnu/packages/video.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 7d2a9d3031..4dbc33536f 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -15,7 +15,7 @@ ;;; Copyright © 2016, 2018, 2019 Eric Bavier ;;; Copyright © 2016 Jan Nieuwenhuizen ;;; Copyright © 2017 Feng Shu -;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice +;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice ;;; Copyright © 2017 Chris Marusich ;;; Copyright © 2017 Thomas Danckaert ;;; Copyright © 2017 Ethan R. Jones @@ -905,7 +905,7 @@ (define-public ffmpegthumbnailer (define-public vlc (package (name "vlc") - (version "3.0.5") + (version "3.0.6") (source (origin (method url-fetch) (uri (string-append @@ -914,7 +914,7 @@ (define-public vlc "/vlc-" version ".tar.xz")) (sha256 (base32 - "1nvj00khy08sing0mdnw6virmiq579mrk5rvpx9710nlxggqgh7m")))) + "1lvyyahv6g9zv7m5g5qinyrwmw47zdsd5ysimb862j7kw15nvh8q")))) (build-system gnu-build-system) (native-inputs `(("flex" ,flex) -- cgit v1.2.3 From 969bbf8bd6dc2ffac35640846b19319bf8540aba Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 20 Jan 2019 16:58:03 +0100 Subject: gnu: umoci: Update to 0.4.3. * gnu/packages/virtualization.scm (umoci): Update to 0.4.3. --- gnu/packages/virtualization.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index 82bde36222..c4c69c31be 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -6,7 +6,7 @@ ;;; Copyright © 2017 Alex Vong ;;; Copyright © 2017 Andy Patterson ;;; Copyright © 2017, 2018 Rutger Helling -;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice +;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice ;;; Copyright © 2018 Danny Milosavljevic ;;; Copyright © 2018 Sou Bunnbu ;;; Copyright © 2018 Julien Lepiller @@ -896,7 +896,7 @@ (define-public runc (define-public umoci (package (name "umoci") - (version "0.4.2") + (version "0.4.3") (source (origin (method url-fetch) (uri (string-append @@ -905,7 +905,7 @@ (define-public umoci (file-name (string-append "umoci-" version ".tar.xz")) (sha256 (base32 - "1rq5jxcss9cmy05x9b2kh9ld57ribi8hgnx2w67jpmf343b83m4q")))) + "1hy3gcs8z25153qpw4rk2lispfaf2c90hv1q64xwyjxn22j9ayy9")))) (build-system go-build-system) (arguments '(#:import-path "github.com/openSUSE/umoci" -- cgit v1.2.3 From 7469b98db347cd6189eacb2ccacb02225142e3d6 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 20 Jan 2019 17:02:43 +0100 Subject: gnu: xcursorgen: Update to 1.0.7. * gnu/packages/xorg.scm (xcursorgen): Update to 1.0.7. --- gnu/packages/xorg.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm index 364a37e34d..7e3c1aad1c 100644 --- a/gnu/packages/xorg.scm +++ b/gnu/packages/xorg.scm @@ -14,7 +14,7 @@ ;;; Copyright © 2017, 2018 Marius Bakke ;;; Copyright © 2017, 2018, 2019 Rutger Helling ;;; Copyright © 2017 Arun Isaac -;;; Copyright © 2018 Tobias Geerinckx-Rice +;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice ;;; Copyright © 2018 Kei Kebreau ;;; Copyright © 2018 Oleg Pykhalov ;;; Copyright © 2018 Benjamin Slade @@ -2236,7 +2236,7 @@ (define-public xcursor-themes (define-public xcursorgen (package (name "xcursorgen") - (version "1.0.6") + (version "1.0.7") (source (origin (method url-fetch) @@ -2246,7 +2246,7 @@ (define-public xcursorgen ".tar.bz2")) (sha256 (base32 - "0v7nncj3kaa8c0524j7ricdf4rvld5i7c3m6fj55l5zbah7r3j1i")))) + "0ggbv084cavp52hjgcz3vdj0g018axs0m23c03lpc5sgn92gidim")))) (build-system gnu-build-system) (inputs `(("libxcursor" ,libxcursor) -- cgit v1.2.3 From 37ce9d957b42f6f1b59cd78ad273f5bd75a71eb0 Mon Sep 17 00:00:00 2001 From: Clément Lassieur Date: Mon, 21 Jan 2019 09:21:16 +0100 Subject: gnu: python-nbxmpp: Update to 0.6.9. * gnu/packages/messaging.scm (python-nbxmpp): Update to 0.6.9. --- gnu/packages/messaging.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 36a181446a..d5ff2fdaa2 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -553,14 +553,14 @@ (define-public znc (define-public python-nbxmpp (package (name "python-nbxmpp") - (version "0.6.8") + (version "0.6.9") (source (origin (method url-fetch) (uri (pypi-uri "nbxmpp" version)) (sha256 (base32 - "1iip8ijxp86fx4bl1h67p2lp02p2zm1ga2p3q43nv30smj54nawc")))) + "03f8dk4kb7ya0pg7v0a0kqms4c7f2bqan5wl4ig0mcwpdmppj3b6")))) (build-system python-build-system) (arguments `(#:tests? #f)) ; no tests -- cgit v1.2.3 From 0d928d223b2a8686615abcec7e61f1946bf6f854 Mon Sep 17 00:00:00 2001 From: Clément Lassieur Date: Mon, 21 Jan 2019 09:19:32 +0100 Subject: gnu: gajim: Update to 1.1.2. * gnu/packages/messaging.scm (gajim): Update to 1.1.2. --- gnu/packages/messaging.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index d5ff2fdaa2..be39d14b53 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -578,7 +578,7 @@ (define-public python2-nbxmpp (define-public gajim (package (name "gajim") - (version "1.1.1") + (version "1.1.2") (source (origin (method url-fetch) (uri (string-append "https://gajim.org/downloads/" @@ -586,7 +586,7 @@ (define-public gajim "/gajim-" version ".tar.bz2")) (sha256 (base32 - "09n4445hclqwfnk2h9cxvsxaixza4cpgb5rp4najdfc2jgg2msb3")))) + "1lx03cgi58z54xb7mhs6bc715lc00w5mpysf9n3q8zgn759fm0rj")))) (build-system python-build-system) (arguments `(#:phases -- cgit v1.2.3 From 35e8900da092d027528a467d9e1b98c6fab22335 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Mon, 21 Jan 2019 10:13:38 +0100 Subject: gnu: Add xen. * gnu/packages/virtualization.scm (xen): New variable. --- gnu/packages/virtualization.scm | 214 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 214 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index c4c69c31be..f883e8d353 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -30,17 +30,22 @@ (define-module (gnu packages virtualization) #:use-module (gnu packages) #:use-module (gnu packages admin) + #:use-module (gnu packages assembly) #:use-module (gnu packages attr) #:use-module (gnu packages autotools) #:use-module (gnu packages bison) #:use-module (gnu packages check) + #:use-module (gnu packages cmake) #:use-module (gnu packages compression) + #:use-module (gnu packages cross-base) #:use-module (gnu packages curl) #:use-module (gnu packages cyrus-sasl) #:use-module (gnu packages disk) #:use-module (gnu packages dns) #:use-module (gnu packages docbook) #:use-module (gnu packages documentation) + #:use-module (gnu packages figlet) + #:use-module (gnu packages firmware) #:use-module (gnu packages flex) #:use-module (gnu packages fontutils) #:use-module (gnu packages gettext) @@ -72,6 +77,7 @@ (define-module (gnu packages virtualization) #:use-module (gnu packages textutils) #:use-module (gnu packages tls) #:use-module (gnu packages web) + #:use-module (gnu packages wget) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) @@ -1103,3 +1109,211 @@ (define-public bochs Bochs can run most Operating Systems inside the emulation including Linux, DOS or Microsoft Windows.") (license license:lgpl2.0+))) + +;; TODO: "make world" +(define-public xen + (package + (name "xen") + (version "4.11.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "git://xenbits.xenproject.org/xen.git") + (commit (string-append "RELEASE-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1wv1hyfii14vi9lfjmnv07h2gpm3b7kvh2p55f4yy2b40simksgk")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags + (list "--enable-rpath" + "--disable-qemu-traditional" ; It tries to do "git clone" + "--disable-rombios" ; would try to "git clone" via etherboot. + ;"--disable-seabios" ; It tries to do "git clone" + ;; TODO: Re-enable stubdom (it's "more secure" to use it). + "--disable-stubdom" ; tries to "git clone" old patched newlib. + (string-append "--with-initddir=" + (assoc-ref %outputs "out") + "/etc/init.d") + (string-append "--with-system-qemu=" + (assoc-ref %build-inputs "qemu") + "/bin/qemu-system-i386") + (string-append "--with-system-seabios=" + (assoc-ref %build-inputs "seabios") + "/share/firmware/bios.bin") + (string-append "--with-system-ovmf=" + (assoc-ref %build-inputs "ovmf") + "/share/firmware/ovmf_ia32.bin")) + #:make-flags (list "-j" "1" + "XEN_BUILD_DATE=Thu Jan 1 01:00:01 CET 1970" + "XEN_BUILD_TIME=01:00:01" + "XEN_BUILD_HOST=" + "ETHERBOOT_NICS=" + "SMBIOS_REL_DATE=01/01/1970" + "VGABIOS_REL_DATE=01 Jan 1970" + ; QEMU_TRADITIONAL_LOC + ; QEMU_UPSTREAM_LOC + "SYSCONFIG_DIR=/tmp/etc/default" + (string-append "BASH_COMPLETION_DIR=" + (assoc-ref %outputs "out") + "/etc/bash_completion.d") + (string-append "BOOT_DIR=" + (assoc-ref %outputs "out") + "/boot") + (string-append "DEBUG_DIR=" + (assoc-ref %outputs "out") + "/lib/debug") + (string-append "EFI_DIR=" + (assoc-ref %outputs "out") + "/lib/efi") ; TODO lib64 ? + "MINIOS_UPSTREAM_URL=" + ;(string-append "DISTDIR=" + ; (assoc-ref %outputs "out")) +) + #:test-target "test" + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'unpack-mini-os + (lambda* (#:key inputs #:allow-other-keys) + (copy-recursively (assoc-ref inputs "mini-os") "extras/mini-os") + #t)) + (add-after 'unpack-mini-os 'patch + (lambda* (#:key inputs outputs #:allow-other-keys) + (substitute* "tools/firmware/Rules.mk" + (("override XEN_TARGET_ARCH = x86_32") + (string-append "override XEN_TARGET_ARCH = x86_32 +override CC = " (assoc-ref inputs "cross-gcc") "/bin/i686-linux-gnu-gcc")) + (("^CFLAGS =$") + (string-append "CFLAGS=-I" (assoc-ref inputs "cross-libc") + "/include\n"))) + (substitute* "config/x86_32.mk" + (("CFLAGS += -m32 -march=i686") + (string-append "CFLAGS += -march=i686 -I" + (assoc-ref inputs "cross-libc") + "/include"))) + ;; Tries to use "git clone". + (substitute* "tools/firmware/Makefile" + (("\\+= etherboot") "+=")) + ;; /var is not in /gnu/store , so don't try to create it. + (substitute* '("tools/Makefile" + "tools/xenstore/Makefile" + "tools/xenpaging/Makefile") + (("\\$\\(INSTALL_DIR\\) .*XEN_(DUMP|LOG|RUN|LIB|PAGING)_DIR.*") + "\n") + (("\\$\\(INSTALL_DIR\\) .*XEN_(RUN|LIB)_STORED.*") + "\n")) + ;; Prevent xen from creating /etc . + (substitute* "tools/examples/Makefile" + ((" install-readmes") "") + ((" install-configs") "")) + ;; Set rpath. + (substitute* "tools/pygrub/setup.py" + (("library_dirs =") + ; TODO: extra_link_args = ['-Wl,-rpath=/opt/foo'], + (string-append "runtime_library_dirs = ['" + (assoc-ref outputs "out") + "/lib'],\nlibrary_dirs ="))) + #t)) + (add-before 'configure 'patch-xen-script-directory + (lambda* (#:key outputs #:allow-other-keys) + (substitute* '("configure" + "tools/configure" + "docs/configure") + (("XEN_SCRIPT_DIR=.*") + (string-append "XEN_SCRIPT_DIR=" + (assoc-ref outputs "out") + "/etc/xen/scripts"))) + #t)) + (add-before 'configure 'set-environment-up + (lambda* (#:key make-flags #:allow-other-keys) + (define (cross? x) + (string-contains x "cross-i686-linux")) + (define (filter-environment! filter-predicate + environment-variable-names) + (for-each + (lambda (env-name) + (let* ((env-value (getenv env-name)) + (search-path (search-path-as-string->list env-value)) + (new-search-path (filter filter-predicate + search-path)) + (new-env-value (list->search-path-as-string + new-search-path ":"))) + (setenv env-name new-env-value))) + environment-variable-names)) + (setenv "CROSS_C_INCLUDE_PATH" (getenv "C_INCLUDE_PATH")) + (setenv "CROSS_CPLUS_INCLUDE_PATH" (getenv "CPLUS_INCLUDE_PATH")) + (setenv "CROSS_LIBRARY_PATH" (getenv "LIBRARY_PATH")) + (filter-environment! cross? + '("CROSS_C_INCLUDE_PATH" "CROSS_CPLUS_INCLUDE_PATH" + "CROSS_LIBRARY_PATH")) + (filter-environment! (lambda (e) (not (cross? e))) + '("C_INCLUDE_PATH" "CPLUS_INCLUDE_PATH" + "LIBRARY_PATH")) + ;; Guix tries to be helpful and automatically adds + ;; mini-os-git-checkout/include to the include path, + ;; but actually we don't want it to be there (yet). + (filter-environment! (lambda (e) + (not + (string-contains e + "mini-os-git-checkout"))) + '("C_INCLUDE_PATH" "CPLUS_INCLUDE_PATH" + "LIBRARY_PATH")) + (setenv "EFI_VENDOR" "guix") + #t)) + (replace 'build + (lambda* (#:key make-flags #:allow-other-keys) + (apply invoke "make" "world" make-flags)))))) + (inputs + `(("acpica" ,acpica) ; TODO: patch iasl invocation. + ("bridge-utils" ,bridge-utils) ; TODO: patch invocations. + ("glib" ,glib) + ("iproute" ,iproute) ; TODO: patch invocations. + ("libaio" ,libaio) + ("libx11" ,libx11) + ("libyajl" ,libyajl) + ("ncurses" ,ncurses) + ("openssl" ,openssl) + ("ovmf" ,ovmf) + ("pixman" ,pixman) + ("qemu" ,qemu-minimal) + ("seabios" ,seabios) + ("util-linux" ,util-linux) ; uuid + ; TODO: ocaml-findlib, ocaml-nox. + ("xz" ,xz) ; for liblzma + ("zlib" ,zlib))) + (native-inputs + `(("dev86" ,dev86) + ("bison" ,bison) + ("cmake" ,cmake) + ("figlet" ,figlet) + ("flex" ,flex) + ("gettext" ,gettext-minimal) + ("libnl" ,libnl) + ("mini-os" + ,(origin + (method git-fetch) + (uri (git-reference + (url "http://xenbits.xen.org/git-http/mini-os.git") + (commit (string-append "xen-RELEASE-" version)))) + (sha256 + (base32 + "1i8pcl19n60i2m9vlg79q3nknpj209c9ic5x10wxaicx45kc107f")) + (file-name "mini-os-git-checkout"))) + ("perl" ,perl) + ; TODO: markdown + ("pkg-config" ,pkg-config) + ("python" ,python-2) + ("wget" ,wget) + ("cross-gcc" ,(cross-gcc "i686-linux-gnu" + #:xbinutils (cross-binutils "i686-linux-gnu") + #:libc (cross-libc "i686-linux-gnu"))) + ("cross-libc" ,(cross-libc "i686-linux-gnu")) ; header files + ("cross-libc-static" ,(cross-libc "i686-linux-gnu") "static"))) + (home-page "https://xenproject.org/") + (synopsis "Xen Virtual Machine Monitor") + (description "This package provides the Xen Virtual Machine Monitor +which is a hypervisor.") + ;; TODO: Some files are licensed differently. List those. + (license license:gpl2) + (supported-systems '("i686-linux" "x86_64-linux" "armhf-linux")))) -- cgit v1.2.3 From 7aae5d6154d2aedbcca1dcbe6409ce6eb9c65865 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Mon, 21 Jan 2019 10:15:53 +0100 Subject: gnu: xen: Update comment. Follow-up to 35e8900da092d027528a467d9e1b98c6fab22335. * gnu/packages/virtualization.scm (xen): Update comment. --- gnu/packages/virtualization.scm | 1 - 1 file changed, 1 deletion(-) (limited to 'gnu') diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index f883e8d353..8c443ce139 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -1110,7 +1110,6 @@ (define-public bochs DOS or Microsoft Windows.") (license license:lgpl2.0+))) -;; TODO: "make world" (define-public xen (package (name "xen") -- cgit v1.2.3 From c680a7daa5e143dd37d1d045805e073497c591be Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 21 Jan 2019 09:59:36 +0100 Subject: ci: Skip system tests on armhf-linux. * gnu/ci.scm (system-test-jobs): Return the empty list when SYSTEM is "armhf-linux". --- gnu/ci.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/ci.scm b/gnu/ci.scm index 943fbb6af6..2c04b7189d 100644 --- a/gnu/ci.scm +++ b/gnu/ci.scm @@ -250,7 +250,11 @@ (define (->job test) "." system)))) (cons name (test->thunk test)))) - (if (member system %guixsd-supported-systems) + (if (and (member system %guixsd-supported-systems) + + ;; XXX: Our build farm has too few ARMv7 machines and they are very + ;; slow, so skip system tests there. + (not (string=? system "armhf-linux"))) ;; Override the value of 'current-guix' used by system tests. Using a ;; channel instance makes tests that rely on 'current-guix' less ;; expensive. It also makes sure we get a valid Guix package when this -- cgit v1.2.3 From 26eb9260f9236852263d8720419977afc7bcb6d8 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 21 Jan 2019 10:45:17 +0200 Subject: gnu: Add perl-test-more-utf8. * gnu/packages/perl-check.scm (perl-test-more-utf8): New variable. --- gnu/packages/perl-check.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/perl-check.scm b/gnu/packages/perl-check.scm index ee832ccf94..c1edf48f06 100644 --- a/gnu/packages/perl-check.scm +++ b/gnu/packages/perl-check.scm @@ -788,6 +788,28 @@ (define-public perl-test-mocktime to gmtime,time or localtime.") (license perl-license))) +(define-public perl-test-more-utf8 + (package + (name "perl-test-more-utf8") + (version "0.05") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/M/MO/MONS/Test-More-UTF8-" + version ".tar.gz")) + (sha256 + (base32 + "016fs77lmw8xxrcnapvp6wq4hjwgsdfi3l9ylpxgxkcpdarw9wdr")))) + (build-system perl-build-system) + (home-page "https://metacpan.org/release/Test-More-UTF8") + (synopsis "Enhance Test::More for UTF8-based projects") + (description "@code{Test::More::UTF8} is a simple extension for the widely +used @code{Test::More} module. By default, it will do a @code{binmode ':utf8'} +on all of @code{Test::Builder}'s output handles thus enabling the easy use +flagged strings without warnings like \"Wide character in print @dots{}\"") + (license perl-license))) + (define-public perl-test-most (package (name "perl-test-most") -- cgit v1.2.3 From f860a068f93c052afca958d141aa8285419caffe Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 21 Jan 2019 10:46:00 +0200 Subject: gnu: perl-text-template: Update to 1.54. * gnu/packages/perl.scm (perl-text-template): Update to 1.54. [native-inputs]: Add perl-test-more-utf8, perl-test-warnings. --- gnu/packages/perl.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index c4d9d64de3..65b359536f 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -8389,7 +8389,7 @@ (define-public perl-text-table (define-public perl-text-template (package (name "perl-text-template") - (version "1.47") + (version "1.54") (source (origin (method url-fetch) @@ -8399,8 +8399,11 @@ (define-public perl-text-template ".tar.gz")) (sha256 (base32 - "1z781cgz7wbn80lf3kqr2ad0pg6g1wlnim0822h8liw28k3l5msh")))) + "0s56jgak9ccbbbybf5v8hvvhyplbfhzl6p6v1751inly80rlj1kv")))) (build-system perl-build-system) + (native-inputs + `(("perl-test-more-utf8" ,perl-test-more-utf8) + ("perl-test-warnings" ,perl-test-warnings))) (home-page "https://metacpan.org/release/Text-Template") (synopsis -- cgit v1.2.3 From 6a19aaca50bb18ee4f0a1de8650013f587c161ec Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 21 Jan 2019 10:54:42 +0200 Subject: gnu: perl-file-slurp: Update to 9999.25. * gnu/packages/perl.scm (perl-file-slurp): Update to 9999.25. [source]: Update source uri. --- gnu/packages/perl.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 65b359536f..93468d1785 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -3648,15 +3648,15 @@ (define-public perl-file-sharedir-install (define-public perl-file-slurp (package (name "perl-file-slurp") - (version "9999.19") + (version "9999.25") (source (origin (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/U/UR/URI/" + (uri (string-append "mirror://cpan/authors/id/C/CA/CAPOEIRAB/" "File-Slurp-" version ".tar.gz")) (sha256 (base32 - "0hrn4nipwx40d6ji8ssgr5nw986z9iqq8cn0kdpbszh9jplynaff")))) + "1hg3bhf5m78d77p4174cnldd75ppyrvr5rkc8w289ihvwsx9gsn7")))) (build-system perl-build-system) (home-page "https://metacpan.org/release/File-Slurp") (synopsis "Reading/Writing/Modifying of complete files") -- cgit v1.2.3 From cbe6f6e385095df467194d3ca3248de633a80d2a Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 21 Jan 2019 11:04:03 +0200 Subject: gnu: perl-file-which: Update to 1.23. * gnu/packages/perl.scm (perl-file-which): Update to 1.23. [source]: Update source uri. [home-page]: Update to new home-page. --- gnu/packages/perl.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 93468d1785..c9b2f5efba 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -3732,14 +3732,14 @@ (define-public perl-file-temp (define-public perl-file-which (package (name "perl-file-which") - (version "1.09") + (version "1.23") (source (origin (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/A/AD/ADAMK/" + (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/" "File-Which-" version ".tar.gz")) (sha256 (base32 - "1hxjyh9yrv32f3g8vrnr8iylzprajsac14vjm75kf1qnj1jyqbxp")))) + "0y70qh5kn2hyrrvbsfhg0iws2qggk5vkpz37f7rbd5rd9cjc57dp")))) (build-system perl-build-system) (native-inputs `(("test-script" ,perl-test-script))) (synopsis "Portable implementation of the `which' utility") @@ -3747,7 +3747,7 @@ (define-public perl-file-which "File::Which was created to be able to get the paths to executable programs on systems under which the `which' program wasn't implemented in the shell.") - (home-page "https://metacpan.org/release/ADAMK/File-Which-1.09") + (home-page "https://metacpan.org/release/File-Which") (license (package-license perl)))) (define-public perl-file-zglob -- cgit v1.2.3 From 755fc873058e559e249d2433f5d19fee857b8720 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 21 Jan 2019 11:05:44 +0200 Subject: gnu: perl-file-homedir: Update to 1.004. * gnu/packages/perl.scm (perl-file-homedir): Update to 1.004. --- gnu/packages/perl.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index c9b2f5efba..5067a68c80 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -3431,7 +3431,7 @@ (define-public perl-file-grep (define-public perl-file-homedir (package (name "perl-file-homedir") - (version "1.002") + (version "1.004") (source (origin (method url-fetch) @@ -3439,7 +3439,7 @@ (define-public perl-file-homedir "File-HomeDir-" version ".tar.gz")) (sha256 (base32 - "0x62hn8rc7ninf9nlp69h61yh21g4cbq2g81sh64cf2ify2hqk7b")))) + "1bciyzwv7gwsnaykqz0czj6mlbkkg4hg1s40s1q7j2p6nlmpxxj5")))) (build-system perl-build-system) (propagated-inputs `(("perl-file-which" ,perl-file-which))) -- cgit v1.2.3 From cf867de06124578cd66e1d54b44b7f2906a503d5 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 21 Jan 2019 11:09:36 +0200 Subject: gnu: perl-file-remove: Update to 1.58. * gnu/packages/perl.scm (perl-file-remove): Update to 1.58. [description]: Texify the description. --- gnu/packages/perl.scm | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 5067a68c80..6fc7d49e18 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -3559,7 +3559,7 @@ (define-public perl-file-readbackwards (define-public perl-file-remove (package (name "perl-file-remove") - (version "1.57") + (version "1.58") (source (origin (method url-fetch) @@ -3567,14 +3567,16 @@ (define-public perl-file-remove "File-Remove-" version ".tar.gz")) (sha256 (base32 - "1b814lw181kkqh6c1n4p2zlzzsq6ic5pfpr831nphf2w2rhcvgmk")))) + "1n6h5w3sp2bs4cfrifdx2z15cfpb4r536179mx1a12xbmj1yrxl1")))) (build-system perl-build-system) + (native-inputs + `(("perl-module-build" ,perl-module-build))) (home-page "https://metacpan.org/release/File-Remove") (synopsis "Remove files and directories in Perl") - (description "File::Remove::remove removes files and directories. It acts -like /bin/rm, for the most part. Although \"unlink\" can be given a list of -files, it will not remove directories; this module remedies that. It also -accepts wildcards, * and ?, as arguments for file names.") + (description "@code{File::Remove::remove} removes files and directories. +It acts like @code{/bin/rm}, for the most part. Although @code{unlink} can be +given a list of files, it will not remove directories; this module remedies +that. It also accepts wildcards, * and ?, as arguments for file names.") (license (package-license perl)))) (define-public perl-file-sharedir -- cgit v1.2.3 From 8c396a05761c5600d7ae2ce68469ab599bf13dbe Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 21 Jan 2019 11:12:24 +0200 Subject: gnu: perl-json-xs: Update to 4.0. * gnu/packages/perl.scm (perl-json-xs): Update to 4.0. [native-inputs]: Add perl-canary-stability. --- gnu/packages/perl.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 6fc7d49e18..5ab8a81513 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -4438,7 +4438,7 @@ (define-public perl-json-maybexs (define-public perl-json-xs (package (name "perl-json-xs") - (version "3.01") + (version "4.0") (source (origin (method url-fetch) @@ -4446,8 +4446,10 @@ (define-public perl-json-xs "JSON-XS-" version ".tar.gz")) (sha256 (base32 - "1aviik480m61ykwvyix83grywzbk828wvfz19hqfvaasd8jz73af")))) + "0118yrzagwlcfj5yldn3h23zzqs2rx282jlm068nf7fjlvy4m7s7")))) (build-system perl-build-system) + (native-inputs + `(("perl-canary-stability" ,perl-canary-stability))) (propagated-inputs `(("perl-common-sense" ,perl-common-sense) ("perl-types-serialiser" ,perl-types-serialiser))) -- cgit v1.2.3 From 5b0fe2b8f1eb28f78ab347561729db0b2c012098 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 21 Jan 2019 11:17:10 +0200 Subject: gnu: perl-json: Update to 4.01. * gnu/packages/perl.scm (perl-json): Update to 4.01. [source]: Update source uri. --- gnu/packages/perl.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 5ab8a81513..6e49b0e4a4 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -4363,15 +4363,15 @@ (define-public perl-ipc-system-simple (define-public perl-json (package (name "perl-json") - (version "2.90") + (version "4.01") (source (origin (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/M/MA/MAKAMAKA/" + (uri (string-append "mirror://cpan/authors/id/I/IS/ISHIGAKI/" "JSON-" version ".tar.gz")) (sha256 (base32 - "127yppvr17qik9pkd1vy901hs4l13kg6rhp76jdgcyask35v7nsd")))) + "1vdiw095g5rf51q8d0ipf8020jx371pma0k4sxp0wlfl76lr65b3")))) (build-system perl-build-system) (propagated-inputs `(("perl-json-xs" ,perl-json-xs))) ;recommended -- cgit v1.2.3 From f3359f93f6326b79c6edb6759e68d929b35d2c5c Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 21 Jan 2019 11:18:21 +0200 Subject: gnu: perl-module-scandeps: Update to 1.27. * gnu/packages/perl.scm (perl-module-scandeps): Update to 1.27. --- gnu/packages/perl.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 6e49b0e4a4..073cdbf482 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -5303,7 +5303,7 @@ (define-public perl-module-runtime-conflicts (define-public perl-module-scandeps (package (name "perl-module-scandeps") - (version "1.25") + (version "1.27") (source (origin (method url-fetch) @@ -5311,7 +5311,7 @@ (define-public perl-module-scandeps "Module-ScanDeps-" version ".tar.gz")) (sha256 (base32 - "13280nq0d6zc58mcz3kvs2m85a741czq0fabk69ks1nr4j1w2nl4")))) + "0j6r9r99x5p0i6fv06i44wpsvjxj32amjkiqf6pmqpj80jff2k7f")))) (build-system perl-build-system) (native-inputs `(("perl-test-requires" ,perl-test-requires))) -- cgit v1.2.3 From 26e4203be1044f6aa2004289864f5e1a421d7c88 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 21 Jan 2019 11:30:59 +0200 Subject: gnu: moreutils: Update to 0.63. * gnu/packages/moreutils.scm (moreutils): Update to 0.63. [arguments]: All phases return #t. --- gnu/packages/moreutils.scm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/moreutils.scm b/gnu/packages/moreutils.scm index 34bce23c30..12d93079c0 100644 --- a/gnu/packages/moreutils.scm +++ b/gnu/packages/moreutils.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer -;;; Copyright © 2016, 2017 Efraim Flashner +;;; Copyright © 2016, 2017, 2019 Efraim Flashner ;;; Copyright © 2016, 2017, 2018 Tobias Geerinckx-Rice ;;; ;;; This file is part of GNU Guix. @@ -30,7 +30,7 @@ (define-module (gnu packages moreutils) (define-public moreutils (package (name "moreutils") - (version "0.62") + (version "0.63") (source (origin (method url-fetch) @@ -43,7 +43,7 @@ (define-public moreutils name "-" version ".tar.gz"))) (sha256 (base32 - "1gc3rswr0jl0z42pbrmw2zc4gxsyp60hq8cnvrlsig1vk1s9vpwx")))) + "07c3wqf1sx3nhj4cs71a9ajcfl6arjjvvnhwqz7a0xm2m1b6vj2g")))) (build-system gnu-build-system) ;; For building the manual pages. (native-inputs @@ -63,7 +63,8 @@ (define-public moreutils (let* ((out (assoc-ref outputs "out"))) (wrap-program (string-append out "/bin/ts") - `("PERL5LIB" ":" prefix (,(getenv "PERL5LIB"))))))) + `("PERL5LIB" ":" prefix (,(getenv "PERL5LIB"))))) + #t)) (delete 'configure)) ; no configure script #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")) -- cgit v1.2.3 From b65b78ff386978ea4f29ddf2c913ed0fe3d582d0 Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Mon, 21 Jan 2019 10:52:10 +0100 Subject: gnu: calibre: Fix PDF to EPUB conversion. When trying to convert a PDF to EPUB, the following error occurs: File "/gnu/store/kz6bgqw9z7akj11zh20wkx14cgq0s3n2-calibre-3.35.0/lib/calibre/calibre/ebooks/pdf/pdftohtml.py", line 76, in pdftohtml _('Could not find pdftohtml, check it is in your PATH')) Hardcode pdftohtml binary path by patching pdftohtml.py. * gnu/packages/ebook.scm (calibre)[arguments]: Patch pdftohtml.py in 'configure phase to set hardcode pdftohtml binary path. --- gnu/packages/ebook.scm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm index 285925866c..0ab482c428 100644 --- a/gnu/packages/ebook.scm +++ b/gnu/packages/ebook.scm @@ -177,6 +177,10 @@ (define-public calibre (pyqt (assoc-ref inputs "python2-pyqt"))) (substitute* "setup/build_environment.py" (("sys.prefix") (string-append "'" pyqt "'"))) + (substitute* "src/calibre/ebooks/pdf/pdftohtml.py" + (("PDFTOHTML = 'pdftohtml'") + (string-append "PDFTOHTML = \"" (assoc-ref inputs "poppler") + "/bin/pdftohtml\""))) (setenv "PODOFO_INC_DIR" (string-append podofo "/include/podofo")) (setenv "PODOFO_LIB_DIR" (string-append podofo "/lib")) #t))) -- cgit v1.2.3 From 504f3ac8403981410afcdd8369f35b5a8525108c Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Mon, 21 Jan 2019 12:09:32 +0100 Subject: gnu: xen: Don't patch etherboot Makefile. * gnu/packages/virtualization.scm (xen)[arguments]<#:phases>[patch]: Don't patch etherboot's "Makefile". --- gnu/packages/virtualization.scm | 3 --- 1 file changed, 3 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index 8c443ce139..147fa27e63 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -1191,9 +1191,6 @@ (define-public xen (string-append "CFLAGS += -march=i686 -I" (assoc-ref inputs "cross-libc") "/include"))) - ;; Tries to use "git clone". - (substitute* "tools/firmware/Makefile" - (("\\+= etherboot") "+=")) ;; /var is not in /gnu/store , so don't try to create it. (substitute* '("tools/Makefile" "tools/xenstore/Makefile" -- cgit v1.2.3 From 0233bdde6ca5b2c1cfb95a0b8dfd7ee498a47330 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Mon, 21 Jan 2019 12:23:58 +0100 Subject: gnu: xen: Update comments. * gnu/packages/virtualization.scm (xen): Update comments. --- gnu/packages/virtualization.scm | 1 - 1 file changed, 1 deletion(-) (limited to 'gnu') diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index 147fa27e63..d178a08413 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -1129,7 +1129,6 @@ (define-public xen (list "--enable-rpath" "--disable-qemu-traditional" ; It tries to do "git clone" "--disable-rombios" ; would try to "git clone" via etherboot. - ;"--disable-seabios" ; It tries to do "git clone" ;; TODO: Re-enable stubdom (it's "more secure" to use it). "--disable-stubdom" ; tries to "git clone" old patched newlib. (string-append "--with-initddir=" -- cgit v1.2.3 From c0588f98c5a5074144c1d985a871d336f82c9578 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Mon, 21 Jan 2019 22:40:25 +0100 Subject: gnu: libzen: Fix sha256 and remove manual autogen.sh. * gnu/packages/cpp.scm (libzen)[source]: Fix sha256. [arguments]: Remove manual autogen.sh. --- gnu/packages/cpp.scm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index d591e6a884..f5aa447a79 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -41,12 +41,15 @@ (define-public libzen (version "0.4.37") (source (origin (method url-fetch) + ;; Warning: This source has proved unreliable 1 time at least. + ;; Consider an alternate source or report upstream if this + ;; happens again. (uri (string-append "https://mediaarea.net/download/source/" name "/" version "/" name "_" version ".tar.bz2")) (sha256 (base32 - "1hcsrmn85b0xp0mp33aazk7g071q1v3f163nnhv8b0mv9c4bgsfn")))) + "1dkqbgabzpa6bd7dkqrvd35sdxrhr6qxalb88f3dw0afk65xqb0k")))) (native-inputs `(("autoconf" ,autoconf) ("automake" ,automake) @@ -58,10 +61,8 @@ (define-public libzen (modify-phases %standard-phases (add-after 'unpack 'pre-configure (lambda _ - (chdir "Project/GNU/Library"))) - (add-after 'pre-configure 'autogen - (lambda _ - (zero? (system* "sh" "autogen.sh"))))))) + (chdir "Project/GNU/Library") + #t))))) (home-page "https://github.com/MediaArea/ZenLib") (synopsis "C++ utility library") (description "ZenLib is a C++ utility library. It includes classes for handling -- cgit v1.2.3 From f528588a9f3f82d67613a88556d7578d9a0db2a0 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Mon, 21 Jan 2019 22:42:48 +0100 Subject: gnu: mediainfo: Update to 18.12. * gnu/packages/video.scm (mediainfo): Update to 18.12. [arguments]: Remove manual autogen.sh. --- gnu/packages/video.scm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 4dbc33536f..fb0da6ae6d 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -2667,15 +2667,18 @@ (define-public libmediainfo (define-public mediainfo (package (name "mediainfo") - (version "0.7.95") + (version "18.12") (source (origin (method url-fetch) + ;; Warning: This source has proved unreliable 1 time at least. + ;; Consider an alternate source or report upstream if this + ;; happens again. (uri (string-append "https://mediaarea.net/download/source/" name "/" version "/" name "_" version ".tar.bz2")) (sha256 (base32 - "0dy51a3i79jppmg1gi4f6h7jx4hcgnkmfim4d7d3gmnlbkjh8anv")))) + "1ix95ilcjlawcq6phh25cgplm3riqa2ii7ql82g8yagqs4ldqp6a")))) (native-inputs `(("autoconf" ,autoconf) ("automake" ,automake) @@ -2693,10 +2696,7 @@ (define-public mediainfo (add-after 'unpack 'change-to-build-dir (lambda _ (chdir "Project/GNU/CLI") - #t)) - (add-after 'change-to-build-dir 'autogen - (lambda _ - (invoke "sh" "autogen.sh")))))) + #t))))) (home-page "https://mediaarea.net/en/MediaInfo") (synopsis "Utility for reading media metadata") (description "MediaInfo is a utility used for retrieving technical -- cgit v1.2.3 From 6185732390003ca36a730231bb6280b68c37ee8e Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Mon, 21 Jan 2019 23:06:19 +0100 Subject: gnu: fortune-mod: Skip failing tests. * gnu/packages/games.scm (fortune-mod)[arguments]: Skip failing tests. --- gnu/packages/games.scm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index a09eb5ea16..317962bf68 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -5448,6 +5448,9 @@ (define-public fortune-mod (string-append "fortune-mod/cmake/" (strip-store-file-name cmake-rules))) (chdir "fortune-mod") + ;; TODO: Valgrind tests fail for some reason. + ;; Similar issue: https://github.com/shlomif/fortune-mod/issues/21 (?) + (delete-file "tests/t/valgrind.t") #t))) (add-after 'install 'fix-install-directory (lambda* (#:key outputs #:allow-other-keys) -- cgit v1.2.3 From f896abc71f7ed3de72df1c9af7477ee59737f768 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 21 Jan 2019 23:07:33 +0100 Subject: gnu: emacs-nix-mode: Move to emacs-xyz.scm. This removes emacs-xyz.scm from the closure of (gnu packages base). * gnu/packages/package-management.scm (emacs-nix-mode): Move back to... * gnu/packages/emacs-xyz.scm (emacs-nix-mode): ... here. New variable. --- gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++ gnu/packages/package-management.scm | 26 -------------------------- 2 files changed, 24 insertions(+), 26 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index e90c3b3e29..cb84a87a95 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -12867,3 +12867,27 @@ (define-public emacs-edbi-sqlite (description "This package is a convenience wrapper for @command{edbi} to open SQLite databases.") (license license:gpl3+)))) + +(define-public emacs-nix-mode + (package + (name "emacs-nix-mode") + (version "1.2.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/NixOS/nix-mode/archive/v" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "06aqz0czznsj8835jqnk794sy2p6pa8kxfqwh0nl5d5vxivria6z")))) + (build-system emacs-build-system) + (inputs + `(("emacs-company" ,emacs-company) + ("emacs-mmm-mode" ,emacs-mmm-mode))) + (home-page "https://github.com/NixOS/nix-mode") + (synopsis "Emacs major mode for editing Nix expressions") + (description "@code{nixos-mode} provides an Emacs major mode for editing +Nix expressions. It supports syntax highlighting, indenting and refilling of +comments.") + (license license:lgpl2.1+))) diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index 05da8190b6..66712da08c 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -43,7 +43,6 @@ (define-module (gnu packages package-management) #:use-module (gnu packages curl) #:use-module (gnu packages dbm) #:use-module (gnu packages docbook) - #:use-module (gnu packages emacs-xyz) #:use-module (gnu packages file) #:use-module (gnu packages gettext) #:use-module (gnu packages glib) @@ -76,7 +75,6 @@ (define-module (gnu packages package-management) #:use-module (gnu packages web) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) - #:use-module (guix build-system emacs) #:use-module (guix build-system gnu) #:use-module (guix build-system meson) #:use-module (guix build-system python) @@ -460,30 +458,6 @@ (define-public nix sub-directory.") (license license:lgpl2.1+))) -(define-public emacs-nix-mode - (package - (name "emacs-nix-mode") - (version "1.2.2") - (source - (origin - (method url-fetch) - (uri (string-append "https://github.com/NixOS/nix-mode/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "06aqz0czznsj8835jqnk794sy2p6pa8kxfqwh0nl5d5vxivria6z")))) - (build-system emacs-build-system) - (inputs - `(("emacs-company" ,emacs-company) - ("emacs-mmm-mode" ,emacs-mmm-mode))) - (home-page "https://github.com/NixOS/nix-mode") - (synopsis "Emacs major mode for editing Nix expressions") - (description "@code{nixos-mode} provides an Emacs major mode for editing -Nix expressions. It supports syntax highlighting, indenting and refilling of -comments.") - (license license:lgpl2.1+))) - (define-public stow (package (name "stow") -- cgit v1.2.3 From db58e326e5d7cee9e8e4dec3e2496c82c03adefc Mon Sep 17 00:00:00 2001 From: Taylan Kammer Date: Tue, 22 Jan 2019 02:18:13 +0100 Subject: gnu: guile-bytestructures: Update to 1.0.5. * gnu/packages/guile.scm (guile-bytestructures): Update to 1.0.5. --- gnu/packages/guile.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm index 8d14571895..b1447a1d2e 100644 --- a/gnu/packages/guile.scm +++ b/gnu/packages/guile.scm @@ -1672,7 +1672,7 @@ (define-public guile2.2-commonmark (define-public guile-bytestructures (package (name "guile-bytestructures") - (version "1.0.3") + (version "1.0.5") (source (origin (method url-fetch) (uri (string-append "https://github.com/TaylanUB/scheme-bytestructures" @@ -1680,7 +1680,7 @@ (define-public guile-bytestructures "/bytestructures-" version ".tar.gz")) (sha256 (base32 - "0xf6s8gd3656j8k2ar6y7i62r68azawyzxhsagsk8nvldnrs1r18")))) + "0ibk7fjwpb450lnrva4bx45sgln3pbyb645az4ansvh1spgani43")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config))) -- cgit v1.2.3 From 2782bd51f48e3f5a86c53e440b8698a5960f0323 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 22 Jan 2019 11:19:53 +0200 Subject: gnu: python-virtualenv: Update to 16.1.0. * gnu/packages/python-xyz.scm (python-virtualenv): Update to 16.1.0. [arguments]: Move custom 'check phase to custom 'disable-failing-test phase and re-instate standard 'check phase. --- gnu/packages/python-xyz.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a6e6982f6b..a7b89770c9 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1997,25 +1997,25 @@ (define-public python-vine (define-public python-virtualenv (package (name "python-virtualenv") - (version "15.0.3") + (version "16.1.0") (source (origin (method url-fetch) (uri (pypi-uri "virtualenv" version)) (sha256 (base32 - "07cbajzk8l05k5zhlw0b9wbf2is65bl9v6zrn2a0iyn57w6pd73d")))) + "0242cg3hdq3qdvx5flyrki8lpwlgwf5k45c21ks5049fv7ygm6gq")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases - (replace 'check + (add-before 'check 'disable-failing-test (lambda _ ;; Disable failing test. See upstream bug report ;; https://github.com/pypa/virtualenv/issues/957 (substitute* "tests/test_virtualenv.py" (("skipif.*") "skipif(True, reason=\"Guix\")\n")) - (zero? (system* "py.test"))))))) + #t))))) (native-inputs `(("python-mock" ,python-mock) ("python-pytest" ,python-pytest))) -- cgit v1.2.3 From dddd7a75fa27c7e315a50efebd0111a29acb6734 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 22 Jan 2019 11:23:45 +0200 Subject: gnu: python-wrapt: Update to 1.11.1. * gnu/packages/python-xyz.scm (python-wrapt): Update to 1.11.1. --- gnu/packages/python-xyz.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a7b89770c9..e1bf779e22 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -6052,14 +6052,14 @@ (define-public python2-netaddr (define-public python-wrapt (package (name "python-wrapt") - (version "1.10.11") + (version "1.11.1") (source (origin (method url-fetch) (uri (pypi-uri "wrapt" version)) (sha256 (base32 - "1ip3dwib39xhp79kblskgvz3fjzcwxgx3fs3ahdixhpjg7a61mfl")))) + "0cqmysny1pz01jw26q48q5zasvns6507rwhgm6wcw743f0r01sja")))) (build-system python-build-system) (arguments ;; Tests are not included in the tarball, they are only available in the -- cgit v1.2.3 From e2227b6adae0abdb9aa5b9995ccf89d38b2314d7 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 22 Jan 2019 11:37:51 +0200 Subject: gnu: python-isort: Update to 4.3.4. * gnu/packages/python-xyz.scm (python-isort): Update to 4.3.4. [source]: Use 'git-fetch'. [properties]: New field. (python2-isort)[native-inputs]: Add python2-futures. --- gnu/packages/python-xyz.scm | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e1bf779e22..83753c55f0 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -11396,17 +11396,18 @@ (define-public python2-astroid (define-public python-isort (package (name "python-isort") - (version "4.2.5") + (version "4.3.4") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/timothycrosley/isort/archive/" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + ;; Tests pass only from the Github sources + (url "https://github.com/timothycrosley/isort") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "0zsrgkb0krn5476yncy5dd56k7dk34zqb4bnlvwy44ixgilyjmfh")))) + "1q0mlrpki5vjbgwxag5rghljjcfg7mvb0pbkwid80p0sqrxlm2p6")))) (build-system python-build-system) (native-inputs `(("python-mock" ,python-mock) @@ -11417,10 +11418,16 @@ (define-public python-isort imports alphabetically, and automatically separated into sections. It provides a command line utility, a python library and plugins for various editors.") - (license license:expat))) + (license license:expat) + (properties `((python2-variant . ,(delay python2-isort)))))) (define-public python2-isort - (package-with-python2 python-isort)) + (let ((base (package-with-python2 + (strip-python2-variant python-isort)))) + (package (inherit base) + (native-inputs + `(("python2-futures" ,python2-futures) + ,@(package-native-inputs base)))))) (define-public python2-backports-functools-lru-cache (package -- cgit v1.2.3 From 354d27e5dcf6b946e1ab70d534c8cbde088d3b73 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 22 Jan 2019 12:16:39 +0200 Subject: gnu: python-websocket-client: Update to 0.54.0. * gnu/packages/python-web.scm (python-websocket-client): Update to 0.54.0. [properties]: New field. (python2-websocket-client)[native-inputs]: Add python2-backport-ssl-match-hostname. --- gnu/packages/python-web.scm | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index af0595b36d..cee4973086 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2015 Eric Dvorsak -;;; Copyright © 2015, 2016, 2017, 2018 Efraim Flashner +;;; Copyright © 2015, 2016, 2017, 2018, 2019 Efraim Flashner ;;; Copyright © 2017 Christopher Baines ;;; Copyright © 2016, 2017 Danny Milosavljevic ;;; Copyright © 2013, 2014, 2015, 2016 Andreas Enge @@ -1218,14 +1218,14 @@ (define-public python2-ndg-httpsclient (define-public python-websocket-client (package (name "python-websocket-client") - (version "0.37.0") + (version "0.54.0") (source (origin (method url-fetch) (uri (pypi-uri "websocket_client" version)) (sha256 (base32 - "0h9glp1jll3z76ly3kg08aqgxqk0a68p4zi9yn50353bh5nj92v7")))) + "0j88zmikaypf38lvpkf4aaxrjp9j07dmy5ghj7kli0fv3p4n45g5")))) (build-system python-build-system) (propagated-inputs `(("python-six" ,python-six))) @@ -1233,10 +1233,18 @@ (define-public python-websocket-client (synopsis "WebSocket client for Python") (description "The Websocket-client module provides the low level APIs for WebSocket usage in Python programs.") + (properties `((python2-variant . ,(delay python2-websocket-client)))) (license license:lgpl2.1+))) (define-public python2-websocket-client - (package-with-python2 python-websocket-client)) + (let ((base (package-with-python2 + (strip-python2-variant python-websocket-client)))) + (package + (inherit base) + (native-inputs + `(("python2-backport-ssl-match-hostname" + ,python2-backport-ssl-match-hostname) + ,@(package-native-inputs base)))))) (define-public python-requests (package -- cgit v1.2.3 From 11627ca550612843c30944f5bb8cfb74f77ffa3e Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 22 Jan 2019 15:08:02 +0100 Subject: gnu: paps: Update to 0.7.0-1.37e6ca1. * gnu/packages/pdf.scm (paps): Update to 0.7.0-1.37e6ca1. [source]: Fetch from git. [arguments]: Add phase "do-not-run-configure-script-during-bootstrap". [native-inputs]: Add autoconf, automake, gettext-minimal, glib:bin and intltool. [home-page]: Point to Github. --- gnu/packages/pdf.scm | 61 ++++++++++++++++++++++++++++++++++------------------ 1 file changed, 40 insertions(+), 21 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index b243e6806f..96c0f9e3ad 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -1078,26 +1078,45 @@ (define-public pdfpc (license license:gpl2+))) (define-public paps - (package - (name "paps") - (version "0.6.8") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://sourceforge/paps/paps/" version "/" - "paps-" version ".tar.gz")) - (sha256 - (base32 - "080ahnyvq918m8ahq8bg9qvgzlv4k0jgcsdqhrwjzppclx74q8fv")))) - (build-system gnu-build-system) - (inputs - `(("pango" ,pango))) - (native-inputs - `(("pkg-config" ,pkg-config))) - (home-page "http://paps.sourceforge.net/") - (synopsis "Pango to PostScript converter") - (description - "Paps reads a UTF-8 encoded file and generates a PostScript language + (let ((commit "37e6ca1cd96d751bbbff5539d795c90d657289a5") + (revision "1")) + (package + (name "paps") + ;; The last release was in 2015, but since then there have been security + ;; bug fixes. + (version (git-version "0.7.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dov/paps.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1ilcyjqdynxsd2p8dnn8h4592dwf531x9pbkxa1w09hkcdn7hgwc")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'do-not-run-configure-script-during-bootstrap + (lambda _ + (substitute* "autogen.sh" + (("^./configure") "#")) + #t))))) + (inputs + `(("pango" ,pango))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("gettext" ,gettext-minimal) + ("glib" ,glib "bin") + ("intltool" ,intltool) + ("pkg-config" ,pkg-config))) + (home-page "https://github.com/dov/paps") + (synopsis "Pango to PostScript converter") + (description + "Paps reads a UTF-8 encoded file and generates a PostScript language rendering of the file. The rendering is done by creating outline curves through the Pango @code{ft2} backend.") - (license license:lgpl2.0+))) + (license license:lgpl2.0+)))) -- cgit v1.2.3 From 0845999a5ece26eb382ea21f6d5da5caa649c8c6 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 17 Jan 2019 12:55:53 +0100 Subject: gnu: Add glibc-locales variants for older versions of glibc. * gnu/packages/base.scm (make-glibc-locales, make-glibc-utf8-locales): New procedures. (glibc-locales): Express in terms of make-glibc-locales. (glibc-utf8-locales): Express in terms of make-glibc-utf8-locales. (glibc-locales-2.27, glibc-utf8-locales-2.27): New variables. --- gnu/packages/base.scm | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm index e79d2a987b..cf86f06588 100644 --- a/gnu/packages/base.scm +++ b/gnu/packages/base.scm @@ -13,7 +13,7 @@ ;;; Copyright © 2017, 2018 Marius Bakke ;;; Copyright © 2017 Eric Bavier ;;; Copyright © 2018 Tobias Geerinckx-Rice -;;; Copyright © 2018 Ricardo Wurmus +;;; Copyright © 2018, 2019 Ricardo Wurmus ;;; ;;; This file is part of GNU Guix. ;;; @@ -975,7 +975,7 @@ (define-public glibc-2.22 (("/bin/pwd") "pwd")) #t)))))))) -(define-public glibc-locales +(define-public (make-glibc-locales glibc) (package (inherit glibc) (name "glibc-locales") @@ -1010,7 +1010,7 @@ (define-public glibc-locales ,(version-major+minor (package-version glibc))))))))))) -(define-public glibc-utf8-locales +(define-public (make-glibc-utf8-locales glibc) (package (name "glibc-utf8-locales") (version (package-version glibc)) @@ -1060,6 +1060,18 @@ (define file (home-page (package-home-page glibc)) (license (package-license glibc)))) +(define-public glibc-locales + (make-glibc-locales glibc)) +(define-public glibc-utf8-locales + (make-glibc-utf8-locales glibc)) + +(define-public glibc-locales-2.27 + (package (inherit (make-glibc-locales glibc-2.27)) + (name "glibc-locales-2.27"))) +(define-public glibc-utf8-locales-2.27 + (package (inherit (make-glibc-utf8-locales glibc-2.27)) + (name "glibc-utf8-locales-2.27"))) + (define-public which (package (name "which") -- cgit v1.2.3 From 99629e5a110a9a91151bd0e63a1805446996a3c8 Mon Sep 17 00:00:00 2001 From: Carl Dong Date: Mon, 21 Jan 2019 14:51:57 -0500 Subject: gnu: bitcoin-core: Make bitcoin-qt deterministic. * gnu/packages/finance.scm (bitcoin-core)[arguments]<#:phases> [make-qt-deterministic]: New phase. Signed-off-by: Danny Milosavljevic --- gnu/packages/finance.scm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 4683887979..2be4bcf030 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -115,6 +115,11 @@ (define-public bitcoin-core "/bin/lupdate")) #:phases (modify-phases %standard-phases + (add-before 'configure 'make-qt-deterministic + (lambda _ + ;; Make Qt deterministic. + (setenv "QT_RCC_SOURCE_DATE_OVERRIDE" "1") + #t)) (add-before 'check 'set-home (lambda _ (setenv "HOME" (getenv "TMPDIR"))))))) ; Tests write to $HOME. -- cgit v1.2.3 From 0e9600cbbdac09d19d5b53ec2c985997b0e8eab4 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Tue, 22 Jan 2019 12:59:55 +0100 Subject: gnu: bitcoin-core: End phase in #t. * gnu/packages/finance.scm (bitcoin-core)[arguments]<#:phases>[set-home]: End phase in #t. --- gnu/packages/finance.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 2be4bcf030..8dcaf531d1 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -122,7 +122,8 @@ (define-public bitcoin-core #t)) (add-before 'check 'set-home (lambda _ - (setenv "HOME" (getenv "TMPDIR"))))))) ; Tests write to $HOME. + (setenv "HOME" (getenv "TMPDIR")) ; Tests write to $HOME. + #t))))) (home-page "https://bitcoin.org/en/") (synopsis "Bitcoin peer-to-peer client") (description -- cgit v1.2.3 From 0a59cc6e8590fc6c2c56dc35aca5c4b558d67901 Mon Sep 17 00:00:00 2001 From: Carl Dong Date: Mon, 21 Jan 2019 15:04:14 -0500 Subject: gnu: bitcoin-core: Update to 0.17.1. * gnu/packages/finances.scm (bitcoin-core): Update to 0.17.1. Signed-off-by: Danny Milosavljevic --- gnu/packages/finance.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 8dcaf531d1..250b1db144 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -73,15 +73,15 @@ (define-module (gnu packages finance) (define-public bitcoin-core (package (name "bitcoin-core") - (version "0.16.1") + (version "0.17.1") (source (origin (method url-fetch) (uri - (string-append "https://bitcoin.org/bin/bitcoin-core-" + (string-append "https://bitcoincore.org/bin/bitcoin-core-" version "/bitcoin-" version ".tar.gz")) (sha256 (base32 - "1zkqp93yircd3pbxczxfnibkpq0sgcv5r7wg6d196b9pwgr9zd39")))) + "0am4pnaf2cisv172jqx6jdpzx770agm8777163lkjbw3ryslymiy")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config) -- cgit v1.2.3 From c63d7b7975fd15066c056d8a8715d9ce1b10389e Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Tue, 22 Jan 2019 16:12:08 +0100 Subject: gnu: Add genext2fs. * gnu/packages/linux.scm (genext2fs): New variable. --- gnu/packages/linux.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 961d516858..5f3d4707aa 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -5038,3 +5038,25 @@ (define-public xfsprogs ;; The library "libhandle" and the headers in "xfslibs-dev" are ;; licensed under lgpl2.1. the other stuff is licensed under gpl2. (license (list license:gpl2 license:lgpl2.1)))) + +(define-public genext2fs + (package + (name "genext2fs") + (version "1.4.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jeremie-koenig/genext2fs.git") + (commit (string-append "genext2fs-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1r0n74pyypv63qfqqpvx75dwijcsvcrvqrlv8sldbhv0nwr1gk53")))) + (build-system gnu-build-system) + (home-page "https://github.com/jeremie-koenig/genext2fs") + (synopsis "Generate ext2 filesystem as a normal user") + (description "This package provides a program to general an ext2 +filesystem as a normal (non-root) user. It does not require you to mount +the image file to copy files on it, nor does it require that you become +the superuser to make device nodes.") + (license license:gpl2))) -- cgit v1.2.3 From d1dfcc7c1b38d816dddc2868917ba490db7e7c3b Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Tue, 22 Jan 2019 16:38:19 +0100 Subject: gnu: Add fakeroot. * gnu/packages/linux.scm (fakeroot): New variable. --- gnu/packages/linux.scm | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 5f3d4707aa..6cb59662e2 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -5060,3 +5060,66 @@ (define-public genext2fs the image file to copy files on it, nor does it require that you become the superuser to make device nodes.") (license license:gpl2))) + +(define-public fakeroot + (package + (name "fakeroot") + (version "1.23") + (source (origin + (method url-fetch) + (uri (string-append "http://ftp.debian.org/debian/pool/main/f/" + "fakeroot/fakeroot_" version ".orig.tar.xz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1xpl0s2yjyjwlf832b6kbkaa5921liybaar13k7n45ckd9lxd700")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'configure 'patch-Makefile + (lambda _ + ;; Note: The root of the problem is already in "Makefile.am". + (substitute* "Makefile" + (("/bin/sh") (which "sh"))) + #t)) + (add-after 'unpack 'patch-getopt + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "scripts/fakeroot.in" + (("getopt") + (string-append (assoc-ref inputs "util-linux") + "/bin/getopt"))) + #t)) + (add-before 'check 'prepare-check + (lambda _ + (setenv "SHELL" (which "bash")) + (setenv "VERBOSE" "1") + (substitute* "test/t.touchinstall" + ;; We don't have the name of the root user, so use ID=0. + (("grep root") "grep \"\\<0\\>\"")) + (substitute* "test/tartest" + ;; We don't have the name of the root group, so use ID=0. + (("ROOTGROUP=root") "ROOTGROUP=0") + ;; We don't have the name of the daemon user, so use IDs. + (("daemon:sys") "1:3") + (("daemon:") "1:")) + ;; We don't have an /etc/passwd entry for "root" - use numeric IDs. + (substitute* "test/compare-tar" + (("tar -tvf") "tar --numeric-owner -tvf")) + #t))))) + (native-inputs + `(("sharutils" ,sharutils) ; for the tests + ("xz" ,xz))) ; for the tests + (inputs + `(("libcap" ,libcap) + ("util-linux" ,util-linux))) + (synopsis "Provides a fake root environment") + (description "@command{fakeroot} runs a command in an environment where +it appears to have root privileges for file manipulation. This is useful +for allowing users to create archives (tar, ar, .deb etc.) with files in +them with root permissions/ownership. Without fakeroot one would have to +have root privileges to create the constituent files of the archives with +the correct permissions and ownership, and then pack them up, or one would +have to construct the archives directly, without using the archiver.") + (home-page "http://freshmeat.sourceforge.net/projects/fakeroot") + (license license:gpl3+))) -- cgit v1.2.3 From 323f250da7f74e331688775c1b9a951c4171d607 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 22 Jan 2019 10:22:06 +0100 Subject: vm: Remove unnecessary import. * gnu/system/vm.scm: Remove unnecessary (guix scripts pack) import. --- gnu/system/vm.scm | 1 - 1 file changed, 1 deletion(-) (limited to 'gnu') diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm index 9400e6310d..088b582bcd 100644 --- a/gnu/system/vm.scm +++ b/gnu/system/vm.scm @@ -30,7 +30,6 @@ (define-module (gnu system vm) #:use-module (guix monads) #:use-module (guix records) #:use-module (guix modules) - #:use-module (guix scripts pack) #:use-module (guix utils) #:use-module (gcrypt hash) #:use-module (guix base32) -- cgit v1.2.3 From 2d04076332eedb7fcb292aa64b0dc18a53f58751 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 22 Jan 2019 11:08:43 +0100 Subject: gnu: Remove duplicate record fields. * gnu/packages/haskell.scm (ghc-case-insensitive): Remove duplicate 'inputs' field. * gnu/packages/python-xyz.scm (python2-pysnptools): Remove duplicate 'native-inputs' field. * gnu/tests/install.scm (%separate-home-os): Remove duplicate 'type' field. --- gnu/packages/haskell.scm | 4 +--- gnu/packages/python-xyz.scm | 4 +--- gnu/tests/install.scm | 3 +-- 3 files changed, 3 insertions(+), 8 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index a3ce2a3e4c..9433ae0570 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -3,7 +3,7 @@ ;;; Copyright © 2015 Siniša Biđin ;;; Copyright © 2015 Paul van der Walt ;;; Copyright © 2015 Eric Bavier -;;; Copyright © 2016, 2018 Ludovic Courtès +;;; Copyright © 2016, 2018, 2019 Ludovic Courtès ;;; Copyright © 2016, 2017 Nils Gillmann ;;; Copyright © 2016 Efraim Flashner ;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ricardo Wurmus @@ -3790,8 +3790,6 @@ (define-public ghc-case-insensitive (base32 "1qrpxfirsxckg7jv28f5ah2qc8lh95hp7rnqkbqs1ahcwlbnvkm7")))) (build-system haskell-build-system) - (inputs - `(("ghc-hunit" ,ghc-hunit))) ;; these inputs are necessary to use this library (inputs `(("ghc-text" ,ghc-text) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 83753c55f0..35ac4e69f5 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013 Nikita Karetnikov -;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018 Ludovic Courtès +;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Courtès ;;; Copyright © 2013, 2014, 2015, 2016 Andreas Enge ;;; Copyright © 2014, 2015 Mark H Weaver ;;; Copyright © 2014, 2017 Eric Bavier @@ -3391,8 +3391,6 @@ (define-public python2-pysnptools `(("python2-numpy" ,python2-numpy) ("python2-scipy" ,python2-scipy) ("python2-pandas" ,python2-pandas))) - (native-inputs - `(("python2-cython" ,python2-cython))) (native-inputs `(("unzip" ,unzip))) (home-page "http://research.microsoft.com/en-us/um/redmond/projects/mscompbio/") diff --git a/gnu/tests/install.scm b/gnu/tests/install.scm index 7114e5cc79..ec29064118 100644 --- a/gnu/tests/install.scm +++ b/gnu/tests/install.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2016, 2017, 2018 Ludovic Courtès +;;; Copyright © 2016, 2017, 2018, 2019 Ludovic Courtès ;;; Copyright © 2017 Tobias Geerinckx-Rice ;;; ;;; This file is part of GNU Guix. @@ -430,7 +430,6 @@ (define-os-with-source (%separate-home-os %separate-home-os-source) (type "ext4")) (file-system (device "none") - (type "tmpfs") (mount-point "/home") (type "tmpfs")) %base-file-systems)) -- cgit v1.2.3 From 82328c010524423bb9ffab7ddfeb7291ad678dd3 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Tue, 22 Jan 2019 05:24:03 +0000 Subject: gnu: emacs-ert-runner: Update to latest upstream commit. The latest tag is many years old, and the latest upstream branch includes important fixes such as displaying correctly the backtrace upon encountering errors (see: https://github.com/rejeep/ert-runner.el/commit/4b6e6cb81fb3cb9db60046f70256555a9ae97459). * gnu/packages/emacs-xyz.scm (emacs-ert-runner): Update to the latest upstream commit. [origin]: Use GIT-FETCH instead of URL-FETCH to mitigate against GitHub's dynamically generated tarballs. --- gnu/packages/emacs-xyz.scm | 88 ++++++++++++++++++++++++---------------------- 1 file changed, 46 insertions(+), 42 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index cb84a87a95..2a811e5315 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -31,7 +31,7 @@ ;;; Copyright © 2017 Peter Mikkelsen ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice ;;; Copyright © 2017 Mike Gerwitz -;;; Copyright © 2017, 2018 Maxim Cournoyer +;;; Copyright © 2017, 2018, 2019 Maxim Cournoyer ;;; Copyright © 2018 Sohom Bhattacharjee ;;; Copyright © 2018 Mathieu Lirzin ;;; Copyright © 2018, 2019 Pierre Neidhardt @@ -6906,49 +6906,53 @@ (define-public emacs-commander ;; Tests for ert-runner have a circular dependency with ecukes, and therefore ;; cannot be run (define-public emacs-ert-runner - (package - (name "emacs-ert-runner") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://github.com/rejeep/ert-runner.el/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1657nck9i96a4xgl8crfqq0s8gflzp21pkkzwg6m3z5npjxklgwp")))) - (build-system emacs-build-system) - (inputs - `(("emacs-ansi" ,emacs-ansi) - ("emacs-commander" ,emacs-commander) - ("emacs-dash" ,emacs-dash) - ("emacs-f" ,emacs-f) - ("emacs-s" ,emacs-s) - ("emacs-shut-up" ,emacs-shut-up))) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'install 'install-executable - (lambda* (#:key inputs outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out"))) - (substitute* "bin/ert-runner" - (("ERT_RUNNER=\"\\$\\(dirname \\$\\(dirname \\$0\\)\\)") - (string-append "ERT_RUNNER=\"" out - "/share/emacs/site-lisp/guix.d/ert-runner-" - ,version))) - (install-file "bin/ert-runner" (string-append out "/bin")) - (wrap-program (string-append out "/bin/ert-runner") - (list "EMACSLOADPATH" ":" 'prefix - (string-split (getenv "EMACSLOADPATH") #\:))) - #t)))) - #:include (cons* "^reporters/.*\\.el$" %default-include))) - (home-page "https://github.com/rejeep/ert-runner.el") - (synopsis "Opinionated Ert testing workflow") - (description "@code{ert-runner} is a tool for Emacs projects tested + (let ((version "0.7.0") + (revision "1") + (commit "90b8fdd5970ef76a4649be60003b37f82cdc1a65")) + (package + (name "emacs-ert-runner") + (version (git-version "0.7.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rejeep/ert-runner.el.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "04nxmyzncacj2wmzd84vv9wkkr2dk9lcb10dvygqmg3p1gadnwzz")))) + (build-system emacs-build-system) + (inputs + `(("emacs-ansi" ,emacs-ansi) + ("emacs-commander" ,emacs-commander) + ("emacs-dash" ,emacs-dash) + ("emacs-f" ,emacs-f) + ("emacs-s" ,emacs-s) + ("emacs-shut-up" ,emacs-shut-up))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'install 'install-executable + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (substitute* "bin/ert-runner" + (("ERT_RUNNER=\"\\$\\(dirname \\$\\(dirname \\$0\\)\\)") + (string-append "ERT_RUNNER=\"" out + "/share/emacs/site-lisp/guix.d/ert-runner-" + ,version))) + (install-file "bin/ert-runner" (string-append out "/bin")) + (wrap-program (string-append out "/bin/ert-runner") + (list "EMACSLOADPATH" ":" 'prefix + (string-split (getenv "EMACSLOADPATH") #\:))) + #t)))) + #:include (cons* "^reporters/.*\\.el$" %default-include))) + (home-page "https://github.com/rejeep/ert-runner.el") + (synopsis "Opinionated Ert testing workflow") + (description "@code{ert-runner} is a tool for Emacs projects tested using ERT. It assumes a certain test structure setup and can therefore make running tests easier.") - (license license:gpl3+))) + (license license:gpl3+)))) (define-public ert-runner (deprecated-package "ert-runner" emacs-ert-runner)) -- cgit v1.2.3 From 5123e57fc9e52bb1361f0717e0581e796a94ad1d Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Wed, 23 Jan 2019 01:15:20 -0500 Subject: gnu: linux-libre@4.19: Update to 4.19.17. * gnu/packages/linux.scm (%linux-libre-4.19-version): Update to 4.19.17. (%linux-libre-4.19-hash): Update hash. --- gnu/packages/linux.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 6cb59662e2..704fe49122 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -2,7 +2,7 @@ ;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018 Ludovic Courtès ;;; Copyright © 2013, 2014, 2015, 2016 Andreas Enge ;;; Copyright © 2012 Nikita Karetnikov -;;; Copyright © 2014, 2015, 2016, 2017, 2018 Mark H Weaver +;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019 Mark H Weaver ;;; Copyright © 2015 Federico Beffa ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer ;;; Copyright © 2015, 2016, 2017, 2018 Efraim Flashner @@ -427,8 +427,8 @@ (define-public linux-libre #:patches %linux-libre-4.20-patches #:configuration-file kernel-config)) -(define %linux-libre-4.19-version "4.19.16") -(define %linux-libre-4.19-hash "1dpfllfzksrr6iqhvbh2905gkvycsv5zcmgq6wmwqiry1swzdfyk") +(define %linux-libre-4.19-version "4.19.17") +(define %linux-libre-4.19-hash "0friqd9wyhddjli4m41wd994ygnwng40a95ry14478rkadfv7iwh") (define %linux-libre-4.19-patches (list %boot-logo-patch -- cgit v1.2.3 From 6a6799b27af8646da112d51bedb8e5ff6158e425 Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Wed, 23 Jan 2019 01:16:17 -0500 Subject: gnu: linux-libre: Update to 4.20.4. * gnu/packages/linux.scm (%linux-libre-version): Update to 4.20.4. (%linux-libre-hash): Update hash. --- gnu/packages/linux.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 704fe49122..69b6c921e8 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -413,8 +413,8 @@ (define* (make-linux-libre version hash supported-systems It has been modified to remove all non-free binary blobs.") (license license:gpl2))) -(define %linux-libre-version "4.20.3") -(define %linux-libre-hash "0mk996fb4bd9548xnv2as4lxm3gyj1kvn6ra03xxpb0wf8cqdazz") +(define %linux-libre-version "4.20.4") +(define %linux-libre-hash "1p7ixkqvnr0mzyivyby8hfix44np7w1nvyxghz8wa1h2nhsszvzv") (define %linux-libre-4.20-patches (list %boot-logo-patch -- cgit v1.2.3