summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/local.mk2
-rw-r--r--gnu/packages/audio.scm52
-rw-r--r--gnu/packages/avahi.scm36
-rw-r--r--gnu/packages/bioinformatics.scm8
-rw-r--r--gnu/packages/cobol.scm24
-rw-r--r--gnu/packages/conky.scm19
-rw-r--r--gnu/packages/databases.scm4
-rw-r--r--gnu/packages/datastructures.scm4
-rw-r--r--gnu/packages/dc.scm7
-rw-r--r--gnu/packages/dns.scm4
-rw-r--r--gnu/packages/elf.scm9
-rw-r--r--gnu/packages/emacs.scm137
-rw-r--r--gnu/packages/gcc.scm6
-rw-r--r--gnu/packages/glib.scm30
-rw-r--r--gnu/packages/iso-codes.scm43
-rw-r--r--gnu/packages/linux.scm20
-rw-r--r--gnu/packages/mail.scm1
-rw-r--r--gnu/packages/music.scm2
-rw-r--r--gnu/packages/package-management.scm67
-rw-r--r--gnu/packages/patches/dovecot-CVE-2017-15132.patch36
-rw-r--r--gnu/packages/patches/reposurgeon-add-missing-docbook-files.patch22
-rw-r--r--gnu/packages/perl.scm4
-rw-r--r--gnu/packages/python-crypto.scm43
-rw-r--r--gnu/packages/qt.scm141
-rw-r--r--gnu/packages/version-control.scm50
-rw-r--r--gnu/packages/video.scm31
-rw-r--r--gnu/packages/webkit.scm4
-rw-r--r--gnu/packages/wm.scm6
-rw-r--r--gnu/services/databases.scm40
-rw-r--r--guix/build/dub-build-system.scm9
30 files changed, 676 insertions, 185 deletions
diff --git a/gnu/local.mk b/gnu/local.mk
index 0d18cec7032..9df027a8d72 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -613,6 +613,7 @@ dist_patch_DATA = \
613 %D%/packages/patches/docbook-xsl-nonrecursive-string-subst.patch \ 613 %D%/packages/patches/docbook-xsl-nonrecursive-string-subst.patch \
614 %D%/packages/patches/doc++-include-directives.patch \ 614 %D%/packages/patches/doc++-include-directives.patch \
615 %D%/packages/patches/doc++-segfault-fix.patch \ 615 %D%/packages/patches/doc++-segfault-fix.patch \
616 %D%/packages/patches/dovecot-CVE-2017-15132.patch \
616 %D%/packages/patches/doxygen-test.patch \ 617 %D%/packages/patches/doxygen-test.patch \
617 %D%/packages/patches/dvd+rw-tools-add-include.patch \ 618 %D%/packages/patches/dvd+rw-tools-add-include.patch \
618 %D%/packages/patches/eigen-arm-neon-fixes.patch \ 619 %D%/packages/patches/eigen-arm-neon-fixes.patch \
@@ -1039,6 +1040,7 @@ dist_patch_DATA = \
1039 %D%/packages/patches/readline-link-ncurses.patch \ 1040 %D%/packages/patches/readline-link-ncurses.patch \
1040 %D%/packages/patches/readline-6.2-CVE-2014-2524.patch \ 1041 %D%/packages/patches/readline-6.2-CVE-2014-2524.patch \
1041 %D%/packages/patches/readline-7.0-mingw.patch \ 1042 %D%/packages/patches/readline-7.0-mingw.patch \
1043 %D%/packages/patches/reposurgeon-add-missing-docbook-files.patch \
1042 %D%/packages/patches/reptyr-fix-gcc-7.patch \ 1044 %D%/packages/patches/reptyr-fix-gcc-7.patch \
1043 %D%/packages/patches/ripperx-missing-file.patch \ 1045 %D%/packages/patches/ripperx-missing-file.patch \
1044 %D%/packages/patches/rpcbind-CVE-2017-8779.patch \ 1046 %D%/packages/patches/rpcbind-CVE-2017-8779.patch \
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 0046f9a73da..bd3d139efe0 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -9,6 +9,7 @@
9;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is> 9;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
10;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org> 10;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org>
11;;; Copyright © 2016, 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr> 11;;; Copyright © 2016, 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
12;;; Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com>
12;;; 13;;;
13;;; This file is part of GNU Guix. 14;;; This file is part of GNU Guix.
14;;; 15;;;
@@ -3264,3 +3265,54 @@ the following features:
3264transforms (FFTs) of the sound being played, as well as other graphical 3265transforms (FFTs) of the sound being played, as well as other graphical
3265representations.") 3266representations.")
3266 (license license:expat))) 3267 (license license:expat)))
3268
3269(define-public cava
3270 (package
3271 (name "cava")
3272 (version "0.6.0")
3273 (source (origin
3274 (method url-fetch)
3275 (uri (string-append
3276 "https://github.com/karlstav/cava/archive/"
3277 version ".tar.gz"))
3278 (file-name (string-append name "-" version ".tar.gz"))
3279 (sha256
3280 (base32
3281 "1p24lz3h4d0h82ffylqr7mq8a8x1c66flm2r2bsv1liw51n1rma2"))))
3282 (build-system gnu-build-system)
3283 (native-inputs
3284 `(("autoconf" ,autoconf)
3285 ("automake" ,automake)
3286 ("libtool" ,libtool)))
3287 (inputs
3288 `(("fftw" ,fftw)
3289 ("ncurses" ,ncurses)
3290 ("pulseaudio" ,pulseaudio)))
3291 (arguments
3292 `(#:configure-flags
3293 (list (string-append "PREFIX=" %output)
3294 (string-append "FONT_DIR=" %output "/usr/share/consolefonts"))
3295 #:make-flags
3296 (let ((lib (string-append %output "/lib")))
3297 (list (string-append "cava_LDFLAGS = -L" lib " -Wl,-rpath " lib)))
3298 #:phases
3299 (modify-phases %standard-phases
3300 (add-after 'unpack 'bootstrap
3301 (lambda* (#:key outputs #:allow-other-keys)
3302 (setenv "HOME" (getcwd))
3303 (invoke "sh" "autogen.sh")))
3304 (add-before 'build 'make-cava-ldflags
3305 (lambda* (#:key outputs #:allow-other-keys)
3306 (mkdir-p (string-append (assoc-ref outputs "out") "/lib"))))
3307 (add-after 'install 'data
3308 (lambda* (#:key outputs #:allow-other-keys)
3309 (for-each (lambda (file)
3310 (install-file file
3311 (string-append (assoc-ref outputs "out")
3312 "/share/doc/examples")))
3313 (find-files "example_files")))))))
3314 (home-page "https://karlstav.github.io/cava/")
3315 (synopsis "Console audio visualizer for ALSA, MPD, and PulseAudio")
3316 (description "C.A.V.A. is a bar audio spectrum visualizer for the terminal
3317using ALSA, MPD, PulseAudio, or a FIFO buffer as its input.")
3318 (license license:expat)))
diff --git a/gnu/packages/avahi.scm b/gnu/packages/avahi.scm
index 94af0a1be33..661214e23ab 100644
--- a/gnu/packages/avahi.scm
+++ b/gnu/packages/avahi.scm
@@ -1,6 +1,7 @@
1;;; GNU Guix --- Functional package management for GNU 1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2013, 2014, 2015, 2017 Ludovic Courtès <ludo@gnu.org> 2;;; Copyright © 2013, 2014, 2015, 2017 Ludovic Courtès <ludo@gnu.org>
3;;; Copyright © 2014 Mark H Weaver <mhw@netris.org> 3;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
4;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
4;;; 5;;;
5;;; This file is part of GNU Guix. 6;;; This file is part of GNU Guix.
6;;; 7;;;
@@ -76,39 +77,26 @@ DNS-SD (for \"DNS-Based Service Discovery\") protocols.")
76(define-public nss-mdns 77(define-public nss-mdns
77 (package 78 (package
78 (name "nss-mdns") 79 (name "nss-mdns")
79 (version "0.10") 80 (version "0.11")
80 (source (origin 81 (source (origin
81 (method url-fetch) 82 (method url-fetch)
82 (uri (list 83 (uri (string-append "https://github.com/lathiat/nss-mdns"
83 (string-append 84 "/releases/download/v" version "/"
84 "mirror://debian/pool/main/n/nss-mdns/nss-mdns_" 85 name "-" version ".tar.gz"))
85 version ".orig.tar.gz")
86 "http://pkgs.fedoraproject.org/repo/pkgs/nss-mdns/nss-mdns-0.10.tar.gz/03938f17646efbb50aa70ba5f99f51d7/nss-mdns-0.10.tar.gz"
87
88 ;; This used to be the canonical URL but it vanished.
89 ;; See <http://bugs.gnu.org/18704>.
90 ;; (string-append
91 ;; "http://0pointer.de/lennart/projects/nss-mdns/nss-mdns-"
92 ;; version ".tar.gz")
93 ))
94 (sha256 86 (sha256
95 (base32 87 (base32
96 "0vgs6j0qsl0mwzh5a0m0bykr7x6bx79vnbyn0r3q289rghp3qs0y")) 88 "14jwy6mklzgjz3mfmw67mxhszrw9d3d3yjjhg87j4crci6m19i39"))))
97 (file-name (string-append name "-" version ".tar.gz"))))
98 (build-system gnu-build-system) 89 (build-system gnu-build-system)
99 (arguments 90 (arguments
100 ;; The Avahi daemon socket is expected by src/Makefile.am to be at 91 ;; The Avahi daemon socket is expected by src/Makefile.am to be at
101 ;; "$(localstatedir)/run/avahi-daemon/socket", so set $(localstatedir) 92 ;; "$(localstatedir)/run/avahi-daemon/socket", so set $(localstatedir)
102 ;; appropriately. 93 ;; appropriately.
103 '(#:configure-flags '("--localstatedir=/var"))) 94 '(#:configure-flags '("--localstatedir=/var")))
104 95 (home-page "https://github.com/lathiat/nss-mdns")
105 ;; XXX: Stale URL, missing replacement. See <http://bugs.gnu.org/18704>. 96 (synopsis "Multicast DNS Name Service Switch (@dfn{NSS}) plug-in")
106 (home-page "http://0pointer.de/lennart/projects/nss-mdns/")
107
108 (synopsis "The mDNS Name Service Switch (NSS) plug-in")
109 (description 97 (description
110 "Nss-mdns is a plug-in for the Name Service Switch (NSS) functionality 98 "Nss-mdns is a plug-in for the GNU C Library's Name Service Switch
111of the GNU C Library, providing host name resolution via Multicast DNS (mDNS). 99(@dfn{NSS}) that resolves host names via multicast DNS (@dfn{mDNS}). It is
112It allows for name resolution by programs in the ad-hoc mDNS domain 100most often used in home and other small networks without a local name server,
113'.local'.") 101to resolve host names in the @samp{.local} top-level domain.")
114 (license lgpl2.1+))) 102 (license lgpl2.1+)))
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 12cfed68ad6..cea7728dea4 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -2039,7 +2039,7 @@ with Python.")
2039 (version "2.5.1") 2039 (version "2.5.1")
2040 (source (origin 2040 (source (origin
2041 (method url-fetch) 2041 (method url-fetch)
2042 (uri (string-append "https://github.com/fidelram/deepTools/" 2042 (uri (string-append "https://github.com/deeptools/deepTools/"
2043 "archive/" version ".tar.gz")) 2043 "archive/" version ".tar.gz"))
2044 (file-name (string-append name "-" version ".tar.gz")) 2044 (file-name (string-append name "-" version ".tar.gz"))
2045 (sha256 2045 (sha256
@@ -2058,7 +2058,7 @@ with Python.")
2058 `(("python-mock" ,python-mock) ;for tests 2058 `(("python-mock" ,python-mock) ;for tests
2059 ("python-nose" ,python-nose) ;for tests 2059 ("python-nose" ,python-nose) ;for tests
2060 ("python-pytz" ,python-pytz))) ;for tests 2060 ("python-pytz" ,python-pytz))) ;for tests
2061 (home-page "https://github.com/fidelram/deepTools") 2061 (home-page "https://github.com/deeptools/deepTools")
2062 (synopsis "Tools for normalizing and visualizing deep-sequencing data") 2062 (synopsis "Tools for normalizing and visualizing deep-sequencing data")
2063 (description 2063 (description
2064 "DeepTools addresses the challenge of handling the large amounts of data 2064 "DeepTools addresses the challenge of handling the large amounts of data
@@ -2074,7 +2074,7 @@ identify enrichments with functional annotations of the genome.")
2074(define-public diamond 2074(define-public diamond
2075 (package 2075 (package
2076 (name "diamond") 2076 (name "diamond")
2077 (version "0.9.14") 2077 (version "0.9.15")
2078 (source (origin 2078 (source (origin
2079 (method url-fetch) 2079 (method url-fetch)
2080 (uri (string-append 2080 (uri (string-append
@@ -2083,7 +2083,7 @@ identify enrichments with functional annotations of the genome.")
2083 (file-name (string-append name "-" version ".tar.gz")) 2083 (file-name (string-append name "-" version ".tar.gz"))
2084 (sha256 2084 (sha256
2085 (base32 2085 (base32
2086 "07li3chjdna0wjyh680j3bhwiqh1fbfq9dy9jxxs82mc0rw0m1yy")))) 2086 "0c9v0lddz8df5pnra464832cgn1igzpawgsknly7s1mq0qk9aiqj"))))
2087 (build-system cmake-build-system) 2087 (build-system cmake-build-system)
2088 (arguments 2088 (arguments
2089 '(#:tests? #f ; no "check" target 2089 '(#:tests? #f ; no "check" target
diff --git a/gnu/packages/cobol.scm b/gnu/packages/cobol.scm
index f8f35928a73..752e0283746 100644
--- a/gnu/packages/cobol.scm
+++ b/gnu/packages/cobol.scm
@@ -1,5 +1,5 @@
1;;; GNU Guix --- Functional package management for GNU 1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il> 2;;; Copyright © 2017, 2018 Efraim Flashner <efraim@flashner.co.il>
3;;; 3;;;
4;;; This file is part of GNU Guix. 4;;; This file is part of GNU Guix.
5;;; 5;;;
@@ -24,7 +24,8 @@
24 #:use-module (guix download) 24 #:use-module (guix download)
25 #:use-module (gnu packages databases) 25 #:use-module (gnu packages databases)
26 #:use-module (gnu packages multiprecision) 26 #:use-module (gnu packages multiprecision)
27 #:use-module (gnu packages ncurses)) 27 #:use-module (gnu packages ncurses)
28 #:use-module (gnu packages perl))
28 29
29(define-public gnucobol 30(define-public gnucobol
30 (package 31 (package
@@ -42,11 +43,26 @@
42 (arguments 43 (arguments
43 '(#:configure-flags (list (string-append "LDFLAGS=-Wl,-rpath=" 44 '(#:configure-flags (list (string-append "LDFLAGS=-Wl,-rpath="
44 (assoc-ref %outputs "out") 45 (assoc-ref %outputs "out")
45 "/lib")))) 46 "/lib"))
47 #:phases
48 (modify-phases %standard-phases
49 (add-after 'unpack 'place-cobol85-test-suite
50 (lambda* (#:key inputs #:allow-other-keys)
51 (let ((newcob (assoc-ref inputs "newcob")))
52 (copy-file newcob "tests/cobol85/newcob.val.Z")))))
53 #:test-target "checkall"))
54 (native-inputs
55 `(("perl" ,perl)))
46 (inputs 56 (inputs
47 `(("bdb" ,bdb) 57 `(("bdb" ,bdb)
48 ("gmp" ,gmp) 58 ("gmp" ,gmp)
49 ("ncurses" ,ncurses))) 59 ("ncurses" ,ncurses)
60 ("newcob" ,(origin
61 (method url-fetch)
62 (uri "http://www.itl.nist.gov/div897/ctg/suites/newcob.val.Z")
63 (sha256
64 (base32
65 "1yb1plmv4firfnbb119r2vh1hay221w1ya34nyz0qwsxppfr56hy"))))))
50 (build-system gnu-build-system) 66 (build-system gnu-build-system)
51 (home-page "https://savannah.gnu.org/projects/gnucobol/") 67 (home-page "https://savannah.gnu.org/projects/gnucobol/")
52 (synopsis "A modern COBOL compiler") 68 (synopsis "A modern COBOL compiler")
diff --git a/gnu/packages/conky.scm b/gnu/packages/conky.scm
index f0f19c5a0e4..2301bfbdf12 100644
--- a/gnu/packages/conky.scm
+++ b/gnu/packages/conky.scm
@@ -1,5 +1,6 @@
1;;; GNU Guix --- Functional package management for GNU 1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2015 Siniša Biđin <sinisa@bidin.eu> 2;;; Copyright © 2015 Siniša Biđin <sinisa@bidin.eu>
3;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
3;;; 4;;;
4;;; This file is part of GNU Guix. 5;;; This file is part of GNU Guix.
5;;; 6;;;
@@ -24,15 +25,16 @@
24 #:use-module (guix build-system cmake) 25 #:use-module (guix build-system cmake)
25 #:use-module ((guix licenses) #:prefix license:) 26 #:use-module ((guix licenses) #:prefix license:)
26 #:use-module (gnu packages fontutils) 27 #:use-module (gnu packages fontutils)
27 #:use-module (gnu packages ncurses) 28 #:use-module (gnu packages image)
28 #:use-module (gnu packages lua) 29 #:use-module (gnu packages lua)
30 #:use-module (gnu packages ncurses)
29 #:use-module (gnu packages pkg-config) 31 #:use-module (gnu packages pkg-config)
30 #:use-module (gnu packages xorg)) 32 #:use-module (gnu packages xorg))
31 33
32(define-public conky 34(define-public conky
33 (package 35 (package
34 (name "conky") 36 (name "conky")
35 (version "1.10.6") 37 (version "1.10.7")
36 (source 38 (source
37 (origin 39 (origin
38 (method url-fetch) 40 (method url-fetch)
@@ -40,15 +42,12 @@
40 version ".tar.gz")) 42 version ".tar.gz"))
41 (file-name (string-append name "-" version ".tar.gz")) 43 (file-name (string-append name "-" version ".tar.gz"))
42 (sha256 44 (sha256
43 (base32 "1jk0my7z45vz9vd8958d27nkk4kvr53k7wyf6cz2x9xjc0lri02c")))) 45 (base32 "1b06rigfjxnaidkabkyf8mdh9k3jm11nj547lb5liwi2ql4rdfr3"))))
44 (build-system cmake-build-system) 46 (build-system cmake-build-system)
45 (arguments 47 (arguments
46 `(#:tests? #f ; there are no tests 48 `(#:tests? #f ; there are no tests
47 #:configure-flags 49 #:configure-flags
48 '("-DRELEASE=true" 50 (list "-DRELEASE=true")
49 ;; XXX: it checks ncurses with pkg-config.
50 ;; TODO: add 'ncurses.pc' to the ncurses package.
51 "-DBUILD_NCURSES=false")
52 #:phases 51 #:phases
53 (modify-phases %standard-phases 52 (modify-phases %standard-phases
54 (add-after 'unpack 'add-freetype-to-search-path 53 (add-after 'unpack 'add-freetype-to-search-path
@@ -67,12 +66,14 @@
67 #t))))) 66 #t)))))
68 (inputs 67 (inputs
69 `(("freetype" ,freetype) 68 `(("freetype" ,freetype)
70 ("ncurses" ,ncurses) 69 ("imlib2" ,imlib2)
71 ("libx11" ,libx11) 70 ("libx11" ,libx11)
72 ("libxdamage" ,libxdamage) 71 ("libxdamage" ,libxdamage)
72 ("libxext" ,libxext)
73 ("libxft" ,libxft) 73 ("libxft" ,libxft)
74 ("libxinerama" ,libxinerama) 74 ("libxinerama" ,libxinerama)
75 ("lua" ,lua))) 75 ("lua" ,lua)
76 ("ncurses" ,ncurses)))
76 (native-inputs 77 (native-inputs
77 `(("pkg-config" ,pkg-config))) 78 `(("pkg-config" ,pkg-config)))
78 (home-page "https://github.com/brndnmtthws/conky") 79 (home-page "https://github.com/brndnmtthws/conky")
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 34b77e6651f..7e1caae3b95 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -112,7 +112,7 @@
112 (version "1.1.6") 112 (version "1.1.6")
113 (source (origin 113 (source (origin
114 (method url-fetch) 114 (method url-fetch)
115 (uri (string-append "https://github.com/garlik/4store/archive/v" 115 (uri (string-append "https://github.com/4store/4store/archive/v"
116 version ".tar.gz")) 116 version ".tar.gz"))
117 (file-name (string-append name "-" version ".tar.gz")) 117 (file-name (string-append name "-" version ".tar.gz"))
118 (sha256 118 (sha256
@@ -145,7 +145,7 @@
145 (lambda _ 145 (lambda _
146 (zero? (system* "sh" "autogen.sh"))))))) 146 (zero? (system* "sh" "autogen.sh")))))))
147 ;; http://www.4store.org has been down for a while now. 147 ;; http://www.4store.org has been down for a while now.
148 (home-page "https://github.com/garlik/4store") 148 (home-page "https://github.com/4store/4store")
149 (synopsis "Clustered RDF storage and query engine") 149 (synopsis "Clustered RDF storage and query engine")
150 (description "4store is a RDF/SPARQL store written in C, supporting 150 (description "4store is a RDF/SPARQL store written in C, supporting
151either single machines or networked clusters.") 151either single machines or networked clusters.")
diff --git a/gnu/packages/datastructures.scm b/gnu/packages/datastructures.scm
index 0c751f49706..8517654def7 100644
--- a/gnu/packages/datastructures.scm
+++ b/gnu/packages/datastructures.scm
@@ -97,14 +97,14 @@ in between these sequences may be different in both content and length.")
97(define-public liburcu 97(define-public liburcu
98 (package 98 (package
99 (name "liburcu") 99 (name "liburcu")
100 (version "0.10.0") 100 (version "0.10.1")
101 (source (origin 101 (source (origin
102 (method url-fetch) 102 (method url-fetch)
103 (uri (string-append "https://www.lttng.org/files/urcu/" 103 (uri (string-append "https://www.lttng.org/files/urcu/"
104 "userspace-rcu-" version ".tar.bz2")) 104 "userspace-rcu-" version ".tar.bz2"))
105 (sha256 105 (sha256
106 (base32 106 (base32
107 "141imnd1s4bcd4wz0wk7sp3fj649kp8whp82gw49h48mlmxqmdbw")))) 107 "01pbg67qy5hcssy2yi0ckqapzfclgdq93li2rmzw4pa3wh5j42cw"))))
108 (build-system gnu-build-system) 108 (build-system gnu-build-system)
109 (native-inputs 109 (native-inputs
110 `(("perl" ,perl))) ; for tests 110 `(("perl" ,perl))) ; for tests
diff --git a/gnu/packages/dc.scm b/gnu/packages/dc.scm
index de4cda1fad0..ae019da6e82 100644
--- a/gnu/packages/dc.scm
+++ b/gnu/packages/dc.scm
@@ -1,5 +1,6 @@
1;;; GNU Guix --- Functional package management for GNU 1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2014 Sree Harsha Totakura <sreeharsha@totakura.in> 2;;; Copyright © 2014 Sree Harsha Totakura <sreeharsha@totakura.in>
3;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
3;;; 4;;;
4;;; This file is part of GNU Guix. 5;;; This file is part of GNU Guix.
5;;; 6;;;
@@ -32,14 +33,14 @@
32(define-public ncdc 33(define-public ncdc
33 (package 34 (package
34 (name "ncdc") 35 (name "ncdc")
35 (version "1.19") 36 (version "1.20")
36 (source 37 (source
37 (origin 38 (origin
38 (method url-fetch) 39 (method url-fetch)
39 (uri (string-append "http://dev.yorhel.nl/download/ncdc-" version 40 (uri (string-append "http://dev.yorhel.nl/download/ncdc-" version
40 ".tar.gz")) 41 ".tar.gz"))
41 (sha256 (base32 42 (sha256 (base32
42 "1wgvqwfxq9kc729h2r528n55821w87sfbm4h21mr6pvkpfw30hf2")))) 43 "0ccn7dqbqpqsbglqyalz32c20rjvf1pw0zr88jyvd2b2vxbqi6ca"))))
43 (build-system gnu-build-system) 44 (build-system gnu-build-system)
44 (inputs 45 (inputs
45 `(("bzip2" ,bzip2) 46 `(("bzip2" ,bzip2)
@@ -50,7 +51,7 @@
50 ("zlib" ,zlib))) 51 ("zlib" ,zlib)))
51 (native-inputs 52 (native-inputs
52 `(("pkg-config" ,pkg-config))) 53 `(("pkg-config" ,pkg-config)))
53 (home-page "http://dev.yorhel.nl/ncdc") 54 (home-page "https://dev.yorhel.nl/ncdc")
54 (synopsis 55 (synopsis
55 "Lightweight direct connect client with a friendly ncurses interface") 56 "Lightweight direct connect client with a friendly ncurses interface")
56 (description 57 (description
diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm
index e7b9b2250b1..b9e75f349cf 100644
--- a/gnu/packages/dns.scm
+++ b/gnu/packages/dns.scm
@@ -99,7 +99,7 @@ and BOOTP/TFTP for network booting of diskless machines.")
99(define-public isc-bind 99(define-public isc-bind
100 (package 100 (package
101 (name "bind") 101 (name "bind")
102 (version "9.11.2-P1") 102 (version "9.12.0")
103 (source (origin 103 (source (origin
104 (method url-fetch) 104 (method url-fetch)
105 (uri (string-append 105 (uri (string-append
@@ -107,7 +107,7 @@ and BOOTP/TFTP for network booting of diskless machines.")
107 version ".tar.gz")) 107 version ".tar.gz"))
108 (sha256 108 (sha256
109 (base32 109 (base32
110 "04hjvwvs7ssgj69lqparx0wj0w3xkc0x8y2iv62kzjighd41bhyf")))) 110 "10iwkghl5g50b7wc17bsb9wa0dh2gd57bjlk6ynixhywz6dhx1r9"))))
111 (build-system gnu-build-system) 111 (build-system gnu-build-system)
112 (outputs `("out" "utils")) 112 (outputs `("out" "utils"))
113 (inputs 113 (inputs
diff --git a/gnu/packages/elf.scm b/gnu/packages/elf.scm
index c81976a4799..876014a8505 100644
--- a/gnu/packages/elf.scm
+++ b/gnu/packages/elf.scm
@@ -4,6 +4,7 @@
4;;; Copyright © 2015 Andreas Enge <andreas@enge.fr> 4;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
5;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il> 5;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il>
6;;; Copyright © 2017 Leo Famulari <leo@famulari.name> 6;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
7;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
7;;; 8;;;
8;;; This file is part of GNU Guix. 9;;; This file is part of GNU Guix.
9;;; 10;;;
@@ -32,14 +33,14 @@
32(define-public elfutils 33(define-public elfutils
33 (package 34 (package
34 (name "elfutils") 35 (name "elfutils")
35 (version "0.169") 36 (version "0.170")
36 (source (origin 37 (source (origin
37 (method url-fetch) 38 (method url-fetch)
38 (uri (string-append "https://sourceware.org/elfutils/ftp/" 39 (uri (string-append "https://sourceware.org/elfutils/ftp/"
39 version "/elfutils-" version ".tar.bz2")) 40 version "/elfutils-" version ".tar.bz2"))
40 (sha256 41 (sha256
41 (base32 42 (base32
42 "1hiv1yqig3292dwqhrwsxwk3qjalxp5fpl8yphwbfwh8ng3zl4ll")) 43 "0rp0r54z44is49c594qy7hr211nhb00aa5y7z74vsybbaxslg10z"))
43 (patches (search-patches "elfutils-tests-ptrace.patch")))) 44 (patches (search-patches "elfutils-tests-ptrace.patch"))))
44 (build-system gnu-build-system) 45 (build-system gnu-build-system)
45 46
@@ -61,8 +62,8 @@
61 (synopsis "Linker and ELF manipulation tools") 62 (synopsis "Linker and ELF manipulation tools")
62 (description 63 (description
63 "This package provides command-line tools to manipulate binaries in the 64 "This package provides command-line tools to manipulate binaries in the
64Executable and Linkable Format (ELF). This includes ld, ar, objdump, 65Executable and Linkable Format (@dfn{ELF}). This includes @command{ld},
65addr2line, and more.") 66@command{ar}, @command{objdump}, @command{addr2line}, and more.")
66 67
67 ;; Libraries are dual-licensed LGPLv3.0+ | GPLv2, and programs are GPLv3+. 68 ;; Libraries are dual-licensed LGPLv3.0+ | GPLv2, and programs are GPLv3+.
68 (license lgpl3+))) 69 (license lgpl3+)))
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 4464376a1f9..e2d98e5fc26 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -6466,6 +6466,143 @@ proficiency is an advantage, since you can transform your numeric range with
6466an elisp expression.") 6466an elisp expression.")
6467 (license license:gpl3+))) 6467 (license license:gpl3+)))
6468 6468
6469(define-public emacs-emojify
6470 (package
6471 (name "emacs-emojify")
6472 (version "0.4")
6473 (source
6474 (origin
6475 (method url-fetch)
6476 (uri (string-append "https://github.com/iqbalansari/emacs-emojify/"
6477 "releases/download/v" version "/emojify-"
6478 version ".tar"))
6479 (sha256
6480 (base32
6481 "0k84v2d2bkiwcky9fi1yyprgkj46g7wh6pyl9gzmcd7sqv051d5n"))))
6482 (build-system emacs-build-system)
6483 (arguments
6484 `(#:phases
6485 (modify-phases %standard-phases
6486 (add-after 'install 'install-data
6487 (lambda* (#:key outputs #:allow-other-keys)
6488 (copy-recursively "data"
6489 (string-append (assoc-ref outputs "out")
6490 "/share/emacs/site-lisp/guix.d/"
6491 "emojify-" ,version "/data"))
6492 #t)))))
6493 (propagated-inputs
6494 `(("emacs-ht" ,emacs-ht)))
6495 (home-page "https://github.com/iqbalansari/emacs-emojify")
6496 (synopsis "Display emojis in Emacs")
6497 (description "This package displays emojis in Emacs similar to how Github,
6498Slack, and other websites do. It can display plain ASCII like @code{:)} as
6499well as Github-style emojis like @code{:smile:}. It provides a minor mode
6500@code{emojify-mode} to enable the display of emojis in a buffer.")
6501 (license license:gpl3+)))
6502
6503(define-public emacs-websocket
6504 (package
6505 (name "emacs-websocket")
6506 (version "1.8")
6507 (source
6508 (origin
6509 (method url-fetch)
6510 (uri (string-append "https://elpa.gnu.org/packages/websocket-"
6511 version ".tar"))
6512 (sha256
6513 (base32
6514 "0dcxmnnm8z7cvsc7nkb822a1g6w03klp7cijjnfq0pz84p3w9cd9"))))
6515 (build-system emacs-build-system)
6516 (home-page "http://elpa.gnu.org/packages/websocket.html")
6517 (synopsis "Emacs WebSocket client and server")
6518 (description "This is an Elisp library for WebSocket clients to talk to
6519WebSocket servers, and for WebSocket servers to accept connections from
6520WebSocket clients. This library is designed to be used by other library
6521writers, to write applications that use WebSockets, and is not useful by
6522itself.")
6523 (license license:gpl3+)))
6524
6525(define-public emacs-oauth2
6526 (package
6527 (name "emacs-oauth2")
6528 (version "0.11")
6529 (source
6530 (origin
6531 (method url-fetch)
6532 (uri (string-append "https://elpa.gnu.org/packages/oauth2-"
6533 version ".el"))
6534 (sha256
6535 (base32
6536 "0ydkc9jazsnbbvfhd47mql52y7k06n3z7r0naqxkwb99j9blqsmp"))))
6537 (build-system emacs-build-system)
6538 (home-page "http://elpa.gnu.org/packages/oauth2.html")
6539 (synopsis "OAuth 2.0 authorization protocol implementation")
6540 (description
6541 "This package provides an Elisp implementation of the OAuth 2.0 draft.
6542The main entry point is @code{oauth2-auth-and-store} which will return a token
6543structure. This token structure can be then used with
6544@code{oauth2-url-retrieve-synchronously} or @code{oauth2-url-retrieve} to
6545retrieve any data that need OAuth authentication to be accessed. If the token
6546needs to be refreshed, the code handles it automatically and stores the new
6547value of the access token.")
6548 (license license:gpl3+)))
6549
6550(define-public emacs-circe
6551 (package
6552 (name "emacs-circe")
6553 (version "2.6")
6554 (source
6555 (origin
6556 (method git-fetch)
6557 (uri (git-reference
6558 (url "https://github.com/jorgenschaefer/circe.git")
6559 (commit (string-append "v" version))))
6560 (file-name (string-append name "-" version "-checkout"))
6561 (sha256
6562 (base32
6563 "19h3983zy3f15cgs86irvbdzz55qyjm48qd7gjlzcxplr7vnnh0j"))))
6564 (build-system emacs-build-system)
6565 ;; In order to securely connect to an IRC server using TLS, Circe requires
6566 ;; the GnuTLS binary.
6567 (propagated-inputs
6568 `(("gnutls" ,gnutls)))
6569 (home-page "https://github.com/jorgenschaefer/circe")
6570 (synopsis "Client for IRC in Emacs")
6571 (description "Circe is a Client for IRC in Emacs. It integrates well with
6572the rest of the editor, using standard Emacs key bindings and indicating
6573activity in channels in the status bar so it stays out of your way unless you
6574want to use it.")
6575 (license license:gpl3+)))
6576
6577(define-public emacs-slack
6578 (let ((commit "58b1309255563819ee8f83f625af49ac0353bed1")
6579 (revision "1"))
6580 (package
6581 (name "emacs-slack")
6582 (version (string-append "0-" revision "." (string-take commit 7)))
6583 (source (origin
6584 (method git-fetch)
6585 (uri (git-reference
6586 (url "https://github.com/yuya373/emacs-slack.git")
6587 (commit commit)))
6588 (file-name (string-append name "-" version "-checkout"))
6589 (sha256
6590 (base32
6591 "1bj43ircd9djk4i58qwxvmcbhzybxb954k52l80pk441ffk8v4vx"))))
6592 (build-system emacs-build-system)
6593 (propagated-inputs
6594 `(("emacs-alert" ,emacs-alert)
6595 ("emacs-emojify" ,emacs-emojify)
6596 ("emacs-request" ,emacs-request)
6597 ("emacs-websocket" ,emacs-websocket)
6598 ("emacs-oauth2" ,emacs-oauth2)
6599 ("emacs-circe" ,emacs-circe)))
6600 (home-page "https://github.com/yuya373/emacs-slack")
6601 (synopsis "Slack client for Emacs")
6602 (description "This package provides an Emacs client for the Slack
6603messaging service.")
6604 (license license:gpl3+))))
6605
6469(define-public emacs-bash-completion 6606(define-public emacs-bash-completion
6470 (package 6607 (package
6471 (name "emacs-bash-completion") 6608 (name "emacs-bash-completion")
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index b1fc32b0280..2c7650d3f19 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -1,6 +1,6 @@
1;;; GNU Guix --- Functional package management for GNU 1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org> 2;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org>
3;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org> 3;;; Copyright © 2014, 2015, 2018 Mark H Weaver <mhw@netris.org>
4;;; Copyright © 2014, 2015, 2016, 2017 Ricardo Wurmus <rekado@elephly.net> 4;;; Copyright © 2014, 2015, 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
5;;; Copyright © 2015 Andreas Enge <andreas@enge.fr> 5;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
6;;; Copyright © 2015, 2016, 2017, 2018 Efraim Flashner <efraim@flashner.co.il> 6;;; Copyright © 2015, 2016, 2017, 2018 Efraim Flashner <efraim@flashner.co.il>
@@ -480,14 +480,14 @@ Go. It also includes runtime support libraries for these languages.")
480(define-public gcc-7 480(define-public gcc-7
481 (package 481 (package
482 (inherit gcc-6) 482 (inherit gcc-6)
483 (version "7.2.0") 483 (version "7.3.0")
484 (source (origin 484 (source (origin
485 (method url-fetch) 485 (method url-fetch)
486 (uri (string-append "mirror://gnu/gcc/gcc-" 486 (uri (string-append "mirror://gnu/gcc/gcc-"
487 version "/gcc-" version ".tar.xz")) 487 version "/gcc-" version ".tar.xz"))
488 (sha256 488 (sha256
489 (base32 489 (base32
490 "16j7i0888j2f1yp9l0nhji6cq65dy6y4nwy8868a8njbzzwavxqw")) 490 "0p71bij6bfhzyrs8676a8jmpjsfz392s2rg862sdnsk30jpacb43"))
491 (patches (search-patches "gcc-strmov-store-file-names.patch" 491 (patches (search-patches "gcc-strmov-store-file-names.patch"
492 "gcc-5.0-libvtv-runpath.patch")))) 492 "gcc-5.0-libvtv-runpath.patch"))))
493 (description 493 (description
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index 5603e403792..77b8bdbb676 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -7,6 +7,7 @@
7;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org> 7;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org>
8;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net> 8;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
9;;; Copyright © 2017 Petter <petter@mykolab.ch> 9;;; Copyright © 2017 Petter <petter@mykolab.ch>
10;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
10;;; 11;;;
11;;; This file is part of GNU Guix. 12;;; This file is part of GNU Guix.
12;;; 13;;;
@@ -35,19 +36,23 @@
35 #:use-module (gnu packages flex) 36 #:use-module (gnu packages flex)
36 #:use-module (gnu packages gettext) 37 #:use-module (gnu packages gettext)
37 #:use-module (gnu packages gnome) 38 #:use-module (gnu packages gnome)
39 #:use-module (gnu packages gperf)
38 #:use-module (gnu packages gtk) 40 #:use-module (gnu packages gtk)
39 #:use-module (gnu packages libffi) 41 #:use-module (gnu packages libffi)
40 #:use-module (gnu packages linux) 42 #:use-module (gnu packages linux)
41 #:use-module (gnu packages m4) 43 #:use-module (gnu packages m4)
42 #:use-module (gnu packages nettle) 44 #:use-module (gnu packages nettle)
43 #:use-module (gnu packages pcre) 45 #:use-module (gnu packages pcre)
46 #:use-module (gnu packages package-management)
44 #:use-module (gnu packages perl) 47 #:use-module (gnu packages perl)
45 #:use-module (gnu packages perl-check) 48 #:use-module (gnu packages perl-check)
46 #:use-module (gnu packages pkg-config) 49 #:use-module (gnu packages pkg-config)
47 #:use-module (gnu packages python) 50 #:use-module (gnu packages python)
51 #:use-module (gnu packages web)
48 #:use-module (gnu packages xml) 52 #:use-module (gnu packages xml)
49 #:use-module (gnu packages xorg) 53 #:use-module (gnu packages xorg)
50 #:use-module (guix build-system gnu) 54 #:use-module (guix build-system gnu)
55 #:use-module (guix build-system meson)
51 #:use-module (guix build-system perl) 56 #:use-module (guix build-system perl)
52 #:use-module (guix build-system python) 57 #:use-module (guix build-system python)
53 #:use-module (guix download) 58 #:use-module (guix download)
@@ -710,7 +715,7 @@ programming langauage. It also contains the utility
710(define-public appstream-glib 715(define-public appstream-glib
711 (package 716 (package
712 (name "appstream-glib") 717 (name "appstream-glib")
713 (version "0.6.7") 718 (version "0.7.5")
714 (source (origin 719 (source (origin
715 (method url-fetch) 720 (method url-fetch)
716 (uri (string-append "https://people.freedesktop.org/~hughsient/" 721 (uri (string-append "https://people.freedesktop.org/~hughsient/"
@@ -718,30 +723,35 @@ programming langauage. It also contains the utility
718 "appstream-glib-" version ".tar.xz")) 723 "appstream-glib-" version ".tar.xz"))
719 (sha256 724 (sha256
720 (base32 725 (base32
721 "08mrf4k0jhnpdd4fig2grmi2vbxkgdhrwk0d0zq0j1wp5ip7arwp")))) 726 "0ps80cbqnf3q86rvz3ajqjssdgkjc9kmynqf0wxqfir7ayc9y9ag"))))
722 (build-system gnu-build-system) 727 (build-system meson-build-system)
723 (native-inputs 728 (native-inputs
724 `(("pkg-config" ,pkg-config))) 729 `(("gettext" ,gettext-minimal)
730 ("glib:bin" ,glib "bin") ; for glib-compile-resources
731 ("pkg-config" ,pkg-config)))
725 (inputs 732 (inputs
726 `(("gdk-pixbuf" ,gdk-pixbuf) 733 `(("gdk-pixbuf" ,gdk-pixbuf)
734 ("gcab" ,gcab)
727 ("glib" ,glib) 735 ("glib" ,glib)
736 ("gperf" ,gperf)
728 ("gtk+" ,gtk+) 737 ("gtk+" ,gtk+)
729 ("json-glib" ,json-glib) 738 ("json-glib" ,json-glib)
730 ("libarchive" ,libarchive) 739 ("libarchive" ,libarchive)
731 ("libsoup" ,libsoup) 740 ("libsoup" ,libsoup)
732 ("nettle" ,nettle) 741 ("libyaml" ,libyaml)
733 ("util-linux" ,util-linux))) 742 ("util-linux" ,util-linux))) ; for libuuid
734 (arguments 743 (arguments
735 `(#:configure-flags 744 `(#:configure-flags
736 '("--disable-firmware" "--disable-dep11") 745 (list "-Ddep11=false"
746 "-Dintrospection=false" ; avoid g-ir-scanner dependency
747 "-Drpm=false"
748 "-Dstemmer=false")
737 #:phases 749 #:phases
738 (modify-phases %standard-phases 750 (modify-phases %standard-phases
739 (add-after 'unpack 'patch-tests 751 (add-after 'unpack 'patch-tests
740 (lambda _ 752 (lambda _
741 (substitute* "libappstream-glib/as-self-test.c" 753 (substitute* "libappstream-glib/as-self-test.c"
742 (("g_test_add_func.*as_test_store_local_appdata_func);") "") 754 (("g_test_add_func.*as_test_store_local_appdata_func);") ""))
743 (("g_test_add_func.*as_test_store_speed_appdata_func);") "")
744 (("g_test_add_func.*as_test_store_speed_desktop_func);") ""))
745 #t))))) 755 #t)))))
746 (home-page "https://github.com/hughsie/appstream-glib") 756 (home-page "https://github.com/hughsie/appstream-glib")
747 (synopsis "Library for reading and writing AppStream metadata") 757 (synopsis "Library for reading and writing AppStream metadata")
diff --git a/gnu/packages/iso-codes.scm b/gnu/packages/iso-codes.scm
index ccd07706c59..9f67cf28680 100644
--- a/gnu/packages/iso-codes.scm
+++ b/gnu/packages/iso-codes.scm
@@ -23,6 +23,7 @@
23 #:use-module (guix packages) 23 #:use-module (guix packages)
24 #:use-module (guix download) 24 #:use-module (guix download)
25 #:use-module (guix build-system gnu) 25 #:use-module (guix build-system gnu)
26 #:use-module (guix build-system python)
26 #:use-module (gnu packages gettext) 27 #:use-module (gnu packages gettext)
27 #:use-module (gnu packages perl) 28 #:use-module (gnu packages perl)
28 #:use-module (gnu packages python)) 29 #:use-module (gnu packages python))
@@ -64,3 +65,45 @@ infrastructure. Moreover, the programmer does not need to follow
64changes in the ISO standard and will not work with outdated 65changes in the ISO standard and will not work with outdated
65information.") 66information.")
66 (license license:gpl2+))) ; some bits use the lgpl2 67 (license license:gpl2+))) ; some bits use the lgpl2
68
69(define-public python-iso639
70 (package
71 (name "python-iso639")
72 (version "0.4.5")
73 (source
74 (origin
75 (method url-fetch)
76 (uri (pypi-uri "iso-639" version))
77 (sha256
78 (base32
79 "0jffmh4m20q8j27xb2fqbnlghjj0cx8pgsbzqisdg65qh2wd976w"))))
80 (build-system python-build-system)
81 (home-page "https://github.com/noumar/iso639")
82 (synopsis "Python library for ISO 639 standard")
83 (description "This package provides a Python library for ISO 639 standard
84that is concerned with representation of names for languages and language
85groups.")
86 (license license:agpl3+)))
87
88(define-public python2-iso639
89 (package-with-python2 python-iso639))
90
91(define-public python-iso3166
92 (package
93 (name "python-iso3166")
94 (version "0.8")
95 (source
96 (origin
97 (method url-fetch)
98 (uri (pypi-uri "iso3166" version))
99 (sha256
100 (base32
101 "0cs9w507dj93jj9z9di93lx2fplf8pma4jkrsvvb258dv6z1gszv"))))
102 (build-system python-build-system)
103 (home-page "https://github.com/deactivated/python-iso3166")
104 (synopsis "Self-contained ISO 3166-1 country definitions")
105 (description "This package provides the ISO 3166-1 country definitions.")
106 (license license:expat)))
107
108(define-public python2-iso3166
109 (package-with-python2 python-iso3166))
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index a7df28b49df..64749fa68d7 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -283,6 +283,14 @@ for ARCH and optionally VARIANT, or #f if there is no such configuration."
283 ("bc" ,bc) 283 ("bc" ,bc)
284 ("openssl" ,openssl) 284 ("openssl" ,openssl)
285 ("kmod" ,kmod) 285 ("kmod" ,kmod)
286 ;; On x86, build with GCC-7 for full retpoline support.
287 ;; FIXME: Remove this when our default compiler has retpoline support.
288 ,@(match (system->linux-architecture
289 (or (%current-target-system) (%current-system)))
290 ((or "x86_64" "i386")
291 `(("gcc" ,gcc-7)))
292 (_
293 '()))
286 ,@(match (and configuration-file 294 ,@(match (and configuration-file
287 (configuration-file 295 (configuration-file
288 (system->linux-architecture 296 (system->linux-architecture
@@ -396,8 +404,8 @@ It has been modified to remove all non-free binary blobs.")
396 #:configuration-file kernel-config)) 404 #:configuration-file kernel-config))
397 405
398(define-public linux-libre-4.1 406(define-public linux-libre-4.1
399 (make-linux-libre "4.1.48" 407 (make-linux-libre "4.1.49"
400 "13ii6ixcm46hzk1ns6n4hrrv4dyc0n3wvj2qhmxi178akdcgbn8a" 408 "0dklmqj6ayjlkz97b811zdvpgb3yppahinji9l9jmkz4ssi7a1gs"
401 %intel-compatible-systems 409 %intel-compatible-systems
402 #:configuration-file kernel-config)) 410 #:configuration-file kernel-config))
403 411
@@ -4062,7 +4070,7 @@ re-use code and to avoid re-inventing the wheel.")
4062(define-public libnftnl 4070(define-public libnftnl
4063 (package 4071 (package
4064 (name "libnftnl") 4072 (name "libnftnl")
4065 (version "1.0.8") 4073 (version "1.0.9")
4066 (source 4074 (source
4067 (origin 4075 (origin
4068 (method url-fetch) 4076 (method url-fetch)
@@ -4070,7 +4078,7 @@ re-use code and to avoid re-inventing the wheel.")
4070 "libnftnl-" version ".tar.bz2")) 4078 "libnftnl-" version ".tar.bz2"))
4071 (sha256 4079 (sha256
4072 (base32 4080 (base32
4073 "0f10cfiyl4c0f8k3brxfrw28x7a6qvrakaslg4jgqncwxycxggg6")))) 4081 "0d9nkdbdck8sg6msysqyv3m9kjr9sjif5amf26dfa0g3mqjdihgy"))))
4074 (build-system gnu-build-system) 4082 (build-system gnu-build-system)
4075 (native-inputs 4083 (native-inputs
4076 `(("pkg-config" ,pkg-config))) 4084 `(("pkg-config" ,pkg-config)))
@@ -4087,7 +4095,7 @@ used by nftables.")
4087(define-public nftables 4095(define-public nftables
4088 (package 4096 (package
4089 (name "nftables") 4097 (name "nftables")
4090 (version "0.8") 4098 (version "0.8.1")
4091 (source 4099 (source
4092 (origin 4100 (origin
4093 (method url-fetch) 4101 (method url-fetch)
@@ -4095,7 +4103,7 @@ used by nftables.")
4095 "/files/nftables-" version ".tar.bz2")) 4103 "/files/nftables-" version ".tar.bz2"))
4096 (sha256 4104 (sha256
4097 (base32 4105 (base32
4098 "16iq9x0qxikdhp1nan500rk33ycqddl1k57876m4dfv3n7kqhnrz")))) 4106 "1i1gfy8l7qyhc5vlrpp63s0n5kybmc9pi4dywiq8rmkhrrnddsla"))))
4099 (build-system gnu-build-system) 4107 (build-system gnu-build-system)
4100 (inputs `(("bison", bison) 4108 (inputs `(("bison", bison)
4101 ("flex", flex) 4109 ("flex", flex)
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 24dee8a590b..9a398c18311 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -1144,6 +1144,7 @@ facilities for checking incoming mail.")
1144 (uri (string-append "https://www.dovecot.org/releases/" 1144 (uri (string-append "https://www.dovecot.org/releases/"
1145 (version-major+minor version) "/" 1145 (version-major+minor version) "/"
1146 name "-" version ".tar.gz")) 1146 name "-" version ".tar.gz"))
1147 (patches (search-patches "dovecot-CVE-2017-15132.patch"))
1147 (sha256 (base32 1148 (sha256 (base32
1148 "10c5myzgys866c3x6jdr1s9x9pqnjd5vpyz8z384sph21m3wnq6y")))) 1149 "10c5myzgys866c3x6jdr1s9x9pqnjd5vpyz8z384sph21m3wnq6y"))))
1149 (build-system gnu-build-system) 1150 (build-system gnu-build-system)
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index e399c0293d1..f3b5dd451cf 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -3875,7 +3875,7 @@ ISRCs and the MCN (=UPC/EAN) from disc.")
3875 version "/libmusicbrainz-" version ".tar.gz")) 3875 version "/libmusicbrainz-" version ".tar.gz"))
3876 (sha256 3876 (sha256
3877 (base32 3877 (base32
3878 "0ikb9igyyk28jm34raxfzkw2qyn4nzzwsymdyprp7cmvi6g2ajb7")) )) 3878 "0ikb9igyyk28jm34raxfzkw2qyn4nzzwsymdyprp7cmvi6g2ajb7"))))
3879 (build-system cmake-build-system) 3879 (build-system cmake-build-system)
3880 (arguments `(#:phases 3880 (arguments `(#:phases
3881 (modify-phases %standard-phases 3881 (modify-phases %standard-phases
diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm
index 77fefe5e0f4..b42f1c1e349 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -35,10 +35,13 @@
35 #:use-module (gnu packages databases) 35 #:use-module (gnu packages databases)
36 #:use-module (gnu packages file) 36 #:use-module (gnu packages file)
37 #:use-module (gnu packages gettext) 37 #:use-module (gnu packages gettext)
38 #:use-module (gnu packages glib)
39 #:use-module (gnu packages gnome)
38 #:use-module (gnu packages gnupg) 40 #:use-module (gnu packages gnupg)
39 #:use-module (gnu packages gnuzilla) 41 #:use-module (gnu packages gnuzilla)
40 #:use-module (gnu packages graphviz) 42 #:use-module (gnu packages graphviz)
41 #:use-module (gnu packages guile) 43 #:use-module (gnu packages guile)
44 #:use-module (gnu packages linux)
42 #:use-module (gnu packages lisp) 45 #:use-module (gnu packages lisp)
43 #:use-module (gnu packages man) 46 #:use-module (gnu packages man)
44 #:use-module (gnu packages nettle) 47 #:use-module (gnu packages nettle)
@@ -56,8 +59,10 @@
56 #:use-module (gnu packages tls) 59 #:use-module (gnu packages tls)
57 #:use-module (gnu packages vim) 60 #:use-module (gnu packages vim)
58 #:use-module (gnu packages web) 61 #:use-module (gnu packages web)
62 #:use-module (gnu packages xml)
59 #:use-module (guix build-system emacs) 63 #:use-module (guix build-system emacs)
60 #:use-module (guix build-system gnu) 64 #:use-module (guix build-system gnu)
65 #:use-module (guix build-system meson)
61 #:use-module (guix build-system python) 66 #:use-module (guix build-system python)
62 #:use-module (guix download) 67 #:use-module (guix download)
63 #:use-module (guix gexp) 68 #:use-module (guix gexp)
@@ -784,3 +789,65 @@ on top of GNU Guix.")
784 ;; the web interface modules in gwl/ are licensed AGPL3+, 789 ;; the web interface modules in gwl/ are licensed AGPL3+,
785 ;; and the fonts included in this package are licensed OFL1.1. 790 ;; and the fonts included in this package are licensed OFL1.1.
786 (license (list license:gpl3+ license:agpl3+ license:silofl1.1)))) 791 (license (list license:gpl3+ license:agpl3+ license:silofl1.1))))
792
793(define-public gcab
794 (package
795 (name "gcab")
796 (version "1.0")
797 (source (origin
798 (method url-fetch)
799 (uri (string-append "mirror://gnome/sources/" name "/"
800 version "/" name "-" version ".tar.xz"))
801 (sha256
802 (base32
803 "1ji8j8pnxqaycbp9ydi2zq7gcr02c2vw4qnc198i6jwy9zkh2x19"))))
804 (build-system meson-build-system)
805 (native-inputs
806 `(("glib:bin" ,glib "bin") ; for glib-mkenums
807 ("intltool" ,intltool)
808 ("pkg-config" ,pkg-config)
809 ("vala" ,vala)))
810 (inputs
811 `(("glib" ,glib)
812 ("zlib" ,zlib)))
813 (arguments
814 `(#:configure-flags
815 ;; XXX This ‘documentation’ is for developers, and fails informatively:
816 ;; Error in gtkdoc helper script: 'gtkdoc-mkhtml' failed with status 5
817 (list "-Ddocs=false"
818 "-Dintrospection=false")))
819 (home-page "https://wiki.gnome.org/msitools") ; no dedicated home page
820 (synopsis "Microsoft Cabinet file manipulation library")
821 (description
822 "The libgcab library provides GObject functions to read, write, and modify
823Microsoft cabinet (.@dfn{CAB}) files.")
824 (license (list license:gpl2+ ; tests/testsuite.at
825 license:lgpl2.1+)))) ; the rest
826
827(define-public msitools
828 (package
829 (name "msitools")
830 (version "0.97")
831 (source (origin
832 (method url-fetch)
833 (uri (string-append "mirror://gnome/sources/" name "/"
834 version "/" name "-" version ".tar.xz"))
835 (sha256
836 (base32
837 "0pn6izlgwi4ngpk9jk2n38gcjjpk29nm15aad89bg9z3k9n2hnrs"))))
838 (build-system gnu-build-system)
839 (native-inputs
840 `(("pkg-config" ,pkg-config)))
841 (inputs
842 `(("gcab" ,gcab)
843 ("glib" ,glib)
844 ("libgsf" ,libgsf)
845 ("libxml2" ,libxml2)
846 ("uuid" ,util-linux)))
847 (home-page "https://wiki.gnome.org/msitools")
848 (synopsis "Windows Installer file manipulation tool")
849 (description
850 "msitools is a collection of command-line tools to inspect, extract, build,
851and sign Windows@tie{}Installer (.@dfn{MSI}) files. It aims to be a solution
852for packaging and deployment of cross-compiled Windows applications.")
853 (license license:lgpl2.1+)))
diff --git a/gnu/packages/patches/dovecot-CVE-2017-15132.patch b/gnu/packages/patches/dovecot-CVE-2017-15132.patch
new file mode 100644
index 00000000000..32666b8557c
--- /dev/null
+++ b/gnu/packages/patches/dovecot-CVE-2017-15132.patch
@@ -0,0 +1,36 @@
1Fix CVE-2017-15132:
2
3https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-15132
4
5Patch copied from upstream source repository:
6
7https://github.com/dovecot/core/commit/1a29ed2f96da1be22fa5a4d96c7583aa81b8b060
8
9From 1a29ed2f96da1be22fa5a4d96c7583aa81b8b060 Mon Sep 17 00:00:00 2001
10From: Timo Sirainen <timo.sirainen@dovecot.fi>
11Date: Mon, 18 Dec 2017 16:50:51 +0200
12Subject: [PATCH] lib-auth: Fix memory leak in auth_client_request_abort()
13
14This caused memory leaks when authentication was aborted. For example
15with IMAP:
16
17a AUTHENTICATE PLAIN
18*
19
20Broken by 9137c55411aa39d41c1e705ddc34d5bd26c65021
21---
22 src/lib-auth/auth-client-request.c | 1 +
23 1 file changed, 1 insertion(+)
24
25diff --git a/src/lib-auth/auth-client-request.c b/src/lib-auth/auth-client-request.c
26index 480fb42b30..046f7c307d 100644
27--- a/src/lib-auth/auth-client-request.c
28+++ b/src/lib-auth/auth-client-request.c
29@@ -186,6 +186,7 @@ void auth_client_request_abort(struct auth_client_request **_request)
30
31 auth_client_send_cancel(request->conn->client, request->id);
32 call_callback(request, AUTH_REQUEST_STATUS_ABORT, NULL, NULL);
33+ pool_unref(&request->pool);
34 }
35
36 unsigned int auth_client_request_get_id(struct auth_client_request *request)
diff --git a/gnu/packages/patches/reposurgeon-add-missing-docbook-files.patch b/gnu/packages/patches/reposurgeon-add-missing-docbook-files.patch
new file mode 100644
index 00000000000..707d0327444
--- /dev/null
+++ b/gnu/packages/patches/reposurgeon-add-missing-docbook-files.patch
@@ -0,0 +1,22 @@
1Author: Tobias Geerinckx-Rice <me@tobias.gr>
2Upstream issue: <https://gitlab.com/esr/reposurgeon/merge_requests/101>
3
4Two files required to build the documentation (including man pages) are
5not included in the latest reposurgeon release, breaking ‘make all’.
6
7Luckily, they are tiny:
8
9--- a/docbook-extra.xml 1970-01-01 01:00:00.000000000 +0100
10+++ b/docbook-extra.xml 2018-01-25 00:17:18.236727017 +0100
11@@ -0,0 +1,5 @@
12+<?xml version='1.0'?>
13+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
14+<xsl:param name="variablelist.term.separator"></xsl:param>
15+<xsl:param name="variablelist.term.break.after">1</xsl:param>
16+</xsl:stylesheet>
17diff -Naur reposurgeon-3.43/nofooter.conf reposurgeon-3.43-b/nofooter.conf
18--- a/nofooter.conf 1970-01-01 01:00:00.000000000 +0100
19+++ b/nofooter.conf 2018-01-25 00:23:15.384498847 +0100
20@@ -0,0 +1,2 @@
21+[footer-text]
22+
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 1e19e8807d0..ac9d229f31c 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -4610,7 +4610,7 @@ messages.")
4610(define-public perl-mime-types 4610(define-public perl-mime-types
4611 (package 4611 (package
4612 (name "perl-mime-types") 4612 (name "perl-mime-types")
4613 (version "2.14") 4613 (version "2.16")
4614 (source 4614 (source
4615 (origin 4615 (origin
4616 (method url-fetch) 4616 (method url-fetch)
@@ -4618,7 +4618,7 @@ messages.")
4618 "MIME-Types-" version ".tar.gz")) 4618 "MIME-Types-" version ".tar.gz"))
4619 (sha256 4619 (sha256
4620 (base32 4620 (base32
4621 "0w00fdci07cc6k1v4zaib4icggqjmg8hggpx4lzqj1ajq07wyja0")))) 4621 "0nkv99yd8bxa6h8c52nd07142f0mdzjnhcdw66s3wljmzsi9z8hk"))))
4622 (build-system perl-build-system) 4622 (build-system perl-build-system)
4623 (home-page "http://search.cpan.org/dist/MIME-Types/") 4623 (home-page "http://search.cpan.org/dist/MIME-Types/")
4624 (synopsis "Definition of MIME types") 4624 (synopsis "Definition of MIME types")
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index eacd085e55b..d1615f0de50 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -715,3 +715,46 @@ protocol (Javascript Object Signing and Encryption).")
715 715
716(define-public python2-josepy 716(define-public python2-josepy
717 (package-with-python2 python-josepy)) 717 (package-with-python2 python-josepy))
718
719(define-public python-pycryptodome
720 (package
721 (name "python-pycryptodome")
722 (version "3.4.7")
723 (source
724 (origin
725 (method url-fetch)
726 (uri (pypi-uri "pycryptodome" version))
727 (sha256
728 (base32
729 "1xrsd6ql4w0ypkxnsg3fivs3r3z6dd93x44lhvam7jzh3gixzn0q"))))
730 (build-system python-build-system)
731 (home-page "https://www.pycryptodome.org")
732 (synopsis "Cryptographic library for Python")
733 (description "This package provides a cryptographic library for Python.
734
735It brings the following enhancements with respect to the last official version
736of PyCrypto:
737
738@itemize
739@item Authenticated encryption modes (GCM, CCM, EAX, SIV, OCB)
740@item Accelerated AES on Intel platforms via AES-NI
741@item First class support for PyPy
742@item Elliptic curves cryptography (NIST P-256 curve only)
743@item Better and more compact API (nonce and iv attributes for ciphers,
744automatic generation of random nonces and IVs, simplified CTR cipher mode, and
745more)
746@item SHA-3 (including SHAKE XOFs) and BLAKE2 hash algorithms
747@item Salsa20 and ChaCha20 stream ciphers
748@item scrypt and HKDF
749@item Deterministic (EC)DSA
750@item Password-protected PKCS#8 key containers
751@item Shamir’s Secret Sharing scheme
752@item Random numbers get sourced directly from the OS (and not from a CSPRNG
753in userspace)
754@item Cleaner RSA and DSA key generation (largely based on FIPS 186-4)
755@item Major clean ups and simplification of the code base
756@end itemize\n")
757 (license license:bsd-2)))
758
759(define-public python2-pycryptodome
760 (package-with-python2 python-pycryptodome))
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 596006080a7..8bd51ae663a 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -2,7 +2,7 @@
2;;; Copyright © 2013, 2014, 2015 Andreas Enge <andreas@enge.fr> 2;;; Copyright © 2013, 2014, 2015 Andreas Enge <andreas@enge.fr>
3;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com> 3;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
4;;; Copyright © 2015 Ludovic Courtès <ludo@gnu.org> 4;;; Copyright © 2015 Ludovic Courtès <ludo@gnu.org>
5;;; Copyright © 2015, 2016, 2017 Efraim Flashner <efraim@flashner.co.il> 5;;; Copyright © 2015, 2016, 2017, 2018 Efraim Flashner <efraim@flashner.co.il>
6;;; Copyright © 2016, 2017 ng0 <ng0@infotropique.org> 6;;; Copyright © 2016, 2017 ng0 <ng0@infotropique.org>
7;;; Copyright © 2016 Thomas Danckaert <post@thomasdanckaert.be> 7;;; Copyright © 2016 Thomas Danckaert <post@thomasdanckaert.be>
8;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net> 8;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
@@ -103,7 +103,7 @@ system, and the core design of Django is reused in Grantlee.")
103(define-public qt 103(define-public qt
104 (package 104 (package
105 (name "qt") 105 (name "qt")
106 (version "5.9.3") 106 (version "5.9.4")
107 (outputs '("out" "examples")) 107 (outputs '("out" "examples"))
108 (source (origin 108 (source (origin
109 (method url-fetch) 109 (method url-fetch)
@@ -115,8 +115,8 @@ system, and the core design of Django is reused in Grantlee.")
115 "/single/qt-everywhere-opensource-src-" 115 "/single/qt-everywhere-opensource-src-"
116 version ".tar.xz")) 116 version ".tar.xz"))
117 (sha256 117 (sha256
118 (base32 118 (base32
119 "0ik0ikwa0qb7dqcr9knxpnwv50b7m6m2iglzq9yjs3437zqdib2p")) 119 "1mblh8k04l13nk9fhhrr43h5bcph1gbz94j5y7csx8zvxb5xkb73"))
120 (modules '((guix build utils))) 120 (modules '((guix build utils)))
121 (snippet 121 (snippet
122 '(begin 122 '(begin
@@ -369,7 +369,7 @@ developers using C++ or QML, a CSS & JavaScript like language.")
369(define-public qtbase 369(define-public qtbase
370 (package 370 (package
371 (name "qtbase") 371 (name "qtbase")
372 (version "5.9.3") 372 (version "5.9.4")
373 (source (origin 373 (source (origin
374 (method url-fetch) 374 (method url-fetch)
375 (uri (string-append "https://download.qt.io/official_releases/qt/" 375 (uri (string-append "https://download.qt.io/official_releases/qt/"
@@ -378,7 +378,7 @@ developers using C++ or QML, a CSS & JavaScript like language.")
378 version ".tar.xz")) 378 version ".tar.xz"))
379 (sha256 379 (sha256
380 (base32 380 (base32
381 "10lrkarvs7dpx9rlj7sjcc0pzi42098x8nqnhmydr4bnbq048z4y")) 381 "1kq422vb2zaic099pgzwk7c0qzgc3xap6qahw5vklrq0mgivvrk9"))
382 (modules '((guix build utils))) 382 (modules '((guix build utils)))
383 (snippet 383 (snippet
384 ;; corelib uses bundled harfbuzz, md4, md5, sha3 384 ;; corelib uses bundled harfbuzz, md4, md5, sha3
@@ -566,7 +566,7 @@ developers using C++ or QML, a CSS & JavaScript like language.")
566(define-public qtsvg 566(define-public qtsvg
567 (package (inherit qtbase) 567 (package (inherit qtbase)
568 (name "qtsvg") 568 (name "qtsvg")
569 (version "5.9.3") 569 (version "5.9.4")
570 (source (origin 570 (source (origin
571 (method url-fetch) 571 (method url-fetch)
572 (uri (string-append "https://download.qt.io/official_releases/qt/" 572 (uri (string-append "https://download.qt.io/official_releases/qt/"
@@ -575,7 +575,7 @@ developers using C++ or QML, a CSS & JavaScript like language.")
575 version ".tar.xz")) 575 version ".tar.xz"))
576 (sha256 576 (sha256
577 (base32 577 (base32
578 "1wjx9ymk2h19l9kk76jh87bnhhj955f9a93akvwwzfwg1jk2hrnz")))) 578 "0yh3an9rc7fh013cw3bm318ap6428icsmnj38hhg1w6lpwr2gwm2"))))
579 (propagated-inputs `()) 579 (propagated-inputs `())
580 (native-inputs `(("perl" ,perl))) 580 (native-inputs `(("perl" ,perl)))
581 (inputs 581 (inputs
@@ -641,7 +641,7 @@ HostData=lib/qt5
641(define-public qtimageformats 641(define-public qtimageformats
642 (package (inherit qtsvg) 642 (package (inherit qtsvg)
643 (name "qtimageformats") 643 (name "qtimageformats")
644 (version "5.9.3") 644 (version "5.9.4")
645 (source (origin 645 (source (origin
646 (method url-fetch) 646 (method url-fetch)
647 (uri (string-append "https://download.qt.io/official_releases/qt/" 647 (uri (string-append "https://download.qt.io/official_releases/qt/"
@@ -650,7 +650,7 @@ HostData=lib/qt5
650 version ".tar.xz")) 650 version ".tar.xz"))
651 (sha256 651 (sha256
652 (base32 652 (base32
653 "1p95wzm46j49c5br45g0pmlz3n3fl93j1ipzmnpmq9y2pbfhkcyl")) 653 "1nfxvf96wh1smdmcsk4m9f7zg69fgp844f8772qpv6v4m20p1qb9"))
654 (modules '((guix build utils))) 654 (modules '((guix build utils)))
655 (snippet 655 (snippet
656 '(delete-file-recursively "src/3rdparty")))) 656 '(delete-file-recursively "src/3rdparty"))))
@@ -670,7 +670,7 @@ support for MNG, TGA, TIFF and WBMP image formats.")))
670(define-public qtx11extras 670(define-public qtx11extras
671 (package (inherit qtsvg) 671 (package (inherit qtsvg)
672 (name "qtx11extras") 672 (name "qtx11extras")
673 (version "5.9.3") 673 (version "5.9.4")
674 (source (origin 674 (source (origin
675 (method url-fetch) 675 (method url-fetch)
676 (uri (string-append "https://download.qt.io/official_releases/qt/" 676 (uri (string-append "https://download.qt.io/official_releases/qt/"
@@ -679,7 +679,7 @@ support for MNG, TGA, TIFF and WBMP image formats.")))
679 version ".tar.xz")) 679 version ".tar.xz"))
680 (sha256 680 (sha256
681 (base32 681 (base32
682 "1gpjgca4xvyy0r743kh2ys128r14fh6j8bdphnmmi5v2pf6bzq74")))) 682 "1a125fi7lbxfps207i12jammm4cjbiawmp4sqa3bxqah8p21i6w7"))))
683 (arguments 683 (arguments
684 (substitute-keyword-arguments (package-arguments qtsvg) 684 (substitute-keyword-arguments (package-arguments qtsvg)
685 ((#:tests? _ #f) #f))) ; TODO: Enable the tests 685 ((#:tests? _ #f) #f))) ; TODO: Enable the tests
@@ -694,7 +694,7 @@ from within Qt 5.")))
694(define-public qtxmlpatterns 694(define-public qtxmlpatterns
695 (package (inherit qtsvg) 695 (package (inherit qtsvg)
696 (name "qtxmlpatterns") 696 (name "qtxmlpatterns")
697 (version "5.9.3") 697 (version "5.9.4")
698 (source (origin 698 (source (origin
699 (method url-fetch) 699 (method url-fetch)
700 (uri (string-append "https://download.qt.io/official_releases/qt/" 700 (uri (string-append "https://download.qt.io/official_releases/qt/"
@@ -703,7 +703,7 @@ from within Qt 5.")))
703 version ".tar.xz")) 703 version ".tar.xz"))
704 (sha256 704 (sha256
705 (base32 705 (base32
706 "1fphhqr3v3vzjp2vbv16bc1vs879wn7aqlabgcpkhqx92ak6d76g")))) 706 "0ybz0i3wblvrm958s9ykp3a79bakjbb7k74q71mqaaswkv9imxgs"))))
707 (arguments 707 (arguments
708 (substitute-keyword-arguments (package-arguments qtsvg) 708 (substitute-keyword-arguments (package-arguments qtsvg)
709 ((#:phases phases) 709 ((#:phases phases)
@@ -723,7 +723,7 @@ xmlpatternsvalidator.")))
723(define-public qtdeclarative 723(define-public qtdeclarative
724 (package (inherit qtsvg) 724 (package (inherit qtsvg)
725 (name "qtdeclarative") 725 (name "qtdeclarative")
726 (version "5.9.3") 726 (version "5.9.4")
727 (source (origin 727 (source (origin
728 (method url-fetch) 728 (method url-fetch)
729 (uri (string-append "https://download.qt.io/official_releases/qt/" 729 (uri (string-append "https://download.qt.io/official_releases/qt/"
@@ -732,7 +732,7 @@ xmlpatternsvalidator.")))
732 version ".tar.xz")) 732 version ".tar.xz"))
733 (sha256 733 (sha256
734 (base32 734 (base32
735 "01wlk17zf47yzx7cc3cp617gj70yadllj2rsfk78879c0v96cpsh")))) 735 "0r9dhfc6qmxlzn2v9r6z6n2mcq6pv1nmyh91g9hcdlkx40xqlqyw"))))
736 (arguments 736 (arguments
737 (substitute-keyword-arguments (package-arguments qtsvg) 737 (substitute-keyword-arguments (package-arguments qtsvg)
738 ((#:tests? _ #f) #f))) ; TODO: Enable the tests 738 ((#:tests? _ #f) #f))) ; TODO: Enable the tests
@@ -755,7 +755,7 @@ with JavaScript and C++.")))
755(define-public qtconnectivity 755(define-public qtconnectivity
756 (package (inherit qtsvg) 756 (package (inherit qtsvg)
757 (name "qtconnectivity") 757 (name "qtconnectivity")
758 (version "5.9.3") 758 (version "5.9.4")
759 (source (origin 759 (source (origin
760 (method url-fetch) 760 (method url-fetch)
761 (uri (string-append "https://download.qt.io/official_releases/qt/" 761 (uri (string-append "https://download.qt.io/official_releases/qt/"
@@ -764,7 +764,7 @@ with JavaScript and C++.")))
764 version ".tar.xz")) 764 version ".tar.xz"))
765 (sha256 765 (sha256
766 (base32 766 (base32
767 "0j86rspn4xgwq1ddc1mpq1kq0ib2c0ag6rsn9ly2xs4iimp1x2g2")))) 767 "12qckqz6ldvn1czkkigadmgl07yk4gs74hy4ifh4hmpm7cv519yv"))))
768 (arguments 768 (arguments
769 (substitute-keyword-arguments (package-arguments qtsvg) 769 (substitute-keyword-arguments (package-arguments qtsvg)
770 ((#:phases phases) 770 ((#:phases phases)
@@ -790,7 +790,7 @@ with Bluetooth and NFC.")))
790(define-public qtwebsockets 790(define-public qtwebsockets
791 (package (inherit qtsvg) 791 (package (inherit qtsvg)
792 (name "qtwebsockets") 792 (name "qtwebsockets")
793 (version "5.9.3") 793 (version "5.9.4")
794 (source (origin 794 (source (origin
795 (method url-fetch) 795 (method url-fetch)
796 (uri (string-append "https://download.qt.io/official_releases/qt/" 796 (uri (string-append "https://download.qt.io/official_releases/qt/"
@@ -799,7 +799,7 @@ with Bluetooth and NFC.")))
799 version ".tar.xz")) 799 version ".tar.xz"))
800 (sha256 800 (sha256
801 (base32 801 (base32
802 "1phic630ah85ajxp6iqrw9bpg0y8s88y45ygkc1wcasmbgzrs1nf")))) 802 "00786d9m8skj68n5x9d8151zmmskx7ckhgcdd08hs9nly04h55vj"))))
803 (arguments 803 (arguments
804 (substitute-keyword-arguments (package-arguments qtsvg) 804 (substitute-keyword-arguments (package-arguments qtsvg)
805 ((#:tests? _ #f) #f))) ; TODO: Enable the tests 805 ((#:tests? _ #f) #f))) ; TODO: Enable the tests
@@ -817,7 +817,7 @@ consume data received from the server, or both.")))
817(define-public qtsensors 817(define-public qtsensors
818 (package (inherit qtsvg) 818 (package (inherit qtsvg)
819 (name "qtsensors") 819 (name "qtsensors")
820 (version "5.9.3") 820 (version "5.9.4")
821 (source (origin 821 (source (origin
822 (method url-fetch) 822 (method url-fetch)
823 (uri (string-append "https://download.qt.io/official_releases/qt/" 823 (uri (string-append "https://download.qt.io/official_releases/qt/"
@@ -826,7 +826,7 @@ consume data received from the server, or both.")))
826 version ".tar.xz")) 826 version ".tar.xz"))
827 (sha256 827 (sha256
828 (base32 828 (base32
829 "1hfsih5iy4fi6mnpw2shf1lzx9hxcdc1arspad1mark17l5s4pmr")))) 829 "0n6lkkn7c9x8vcplmfvkx7jq6najh2mrwnfb3blrmkmpash3lgvr"))))
830 (arguments 830 (arguments
831 (substitute-keyword-arguments (package-arguments qtsvg) 831 (substitute-keyword-arguments (package-arguments qtsvg)
832 ((#:parallel-tests? _ #f) #f) ; can lead to race condition 832 ((#:parallel-tests? _ #f) #f) ; can lead to race condition
@@ -849,7 +849,7 @@ recognition API for devices.")))
849(define-public qtmultimedia 849(define-public qtmultimedia
850 (package (inherit qtsvg) 850 (package (inherit qtsvg)
851 (name "qtmultimedia") 851 (name "qtmultimedia")
852 (version "5.9.3") 852 (version "5.9.4")
853 (source (origin 853 (source (origin
854 (method url-fetch) 854 (method url-fetch)
855 (uri (string-append "https://download.qt.io/official_releases/qt/" 855 (uri (string-append "https://download.qt.io/official_releases/qt/"
@@ -858,7 +858,7 @@ recognition API for devices.")))
858 version ".tar.xz")) 858 version ".tar.xz"))
859 (sha256 859 (sha256
860 (base32 860 (base32
861 "19iqh8xpspzlmpzh05bx5rchlslbfy2pp00xv52496yf9b95i5g7")) 861 "0x2f3vpax7rq0lxnncbp5b248bxdicrwn8hv4hsas2g2283s0lj9"))
862 (modules '((guix build utils))) 862 (modules '((guix build utils)))
863 (snippet 863 (snippet
864 '(begin 864 '(begin
@@ -899,7 +899,7 @@ set of plugins for interacting with pulseaudio and GStreamer.")))
899(define-public qtwayland 899(define-public qtwayland
900 (package (inherit qtsvg) 900 (package (inherit qtsvg)
901 (name "qtwayland") 901 (name "qtwayland")
902 (version "5.9.3") 902 (version "5.9.4")
903 (source (origin 903 (source (origin
904 (method url-fetch) 904 (method url-fetch)
905 (uri (string-append "https://download.qt.io/official_releases/qt/" 905 (uri (string-append "https://download.qt.io/official_releases/qt/"
@@ -908,7 +908,7 @@ set of plugins for interacting with pulseaudio and GStreamer.")))
908 version ".tar.xz")) 908 version ".tar.xz"))
909 (sha256 909 (sha256
910 (base32 910 (base32
911 "0vazcmpqdka3llmyg7m99lw0ngrydmw74p9nd04544xdn128r3ih")) 911 "0x4q17k23akf14i3pyllr96s8lvprk1x006wp0mi5rhk4199cx1z"))
912 (modules '((guix build utils))) 912 (modules '((guix build utils)))
913 (snippet 913 (snippet
914 ;; The examples try to build and cause the build to fail 914 ;; The examples try to build and cause the build to fail
@@ -949,7 +949,7 @@ compositor libraries.")))
949(define-public qtserialport 949(define-public qtserialport
950 (package (inherit qtsvg) 950 (package (inherit qtsvg)
951 (name "qtserialport") 951 (name "qtserialport")
952 (version "5.9.3") 952 (version "5.9.4")
953 (source (origin 953 (source (origin
954 (method url-fetch) 954 (method url-fetch)
955 (uri (string-append "https://download.qt.io/official_releases/qt/" 955 (uri (string-append "https://download.qt.io/official_releases/qt/"
@@ -958,7 +958,7 @@ compositor libraries.")))
958 version ".tar.xz")) 958 version ".tar.xz"))
959 (sha256 959 (sha256
960 (base32 960 (base32
961 "1pxb679cx77vk39ik7j0k91a57wqa63d4g4riw3r2gpcay8kxpac")))) 961 "172i5cpqnk0c3m0hg08hgj15qvsyd1xvw9yf2dqicg3l10lqwg8c"))))
962 (native-inputs `(("perl" ,perl))) 962 (native-inputs `(("perl" ,perl)))
963 (inputs 963 (inputs
964 `(("qtbase" ,qtbase) 964 `(("qtbase" ,qtbase)
@@ -970,7 +970,7 @@ interacting with serial ports from within Qt.")))
970(define-public qtserialbus 970(define-public qtserialbus
971 (package (inherit qtsvg) 971 (package (inherit qtsvg)
972 (name "qtserialbus") 972 (name "qtserialbus")
973 (version "5.9.3") 973 (version "5.9.4")
974 (source (origin 974 (source (origin
975 (method url-fetch) 975 (method url-fetch)
976 (uri (string-append "https://download.qt.io/official_releases/qt/" 976 (uri (string-append "https://download.qt.io/official_releases/qt/"
@@ -979,7 +979,7 @@ interacting with serial ports from within Qt.")))
979 version ".tar.xz")) 979 version ".tar.xz"))
980 (sha256 980 (sha256
981 (base32 981 (base32
982 "0f39qh05mp54frpn5sy9k5vfw5zb2gg72qaqz81mwlck2xg78qpg")))) 982 "1i6b7w9z30mzzi0dcmrxx1scpzpnnw2fag1igvrnzvw1jwp414ff"))))
983 (inputs 983 (inputs
984 `(("qtbase" ,qtbase) 984 `(("qtbase" ,qtbase)
985 ("qtserialport" ,qtserialport))) 985 ("qtserialport" ,qtserialport)))
@@ -991,7 +991,7 @@ and others.")))
991(define-public qtwebchannel 991(define-public qtwebchannel
992 (package (inherit qtsvg) 992 (package (inherit qtsvg)
993 (name "qtwebchannel") 993 (name "qtwebchannel")
994 (version "5.9.3") 994 (version "5.9.4")
995 (source (origin 995 (source (origin
996 (method url-fetch) 996 (method url-fetch)
997 (uri (string-append "https://download.qt.io/official_releases/qt/" 997 (uri (string-append "https://download.qt.io/official_releases/qt/"
@@ -1000,7 +1000,7 @@ and others.")))
1000 version ".tar.xz")) 1000 version ".tar.xz"))
1001 (sha256 1001 (sha256
1002 (base32 1002 (base32
1003 "0n438mk01sh2bbqakc1m3s65qqmi75m4n4hymad8wcgijfr9a9v3")))) 1003 "1acs0fa5rxm3cir0lydc9a8685qagf1786vkssv51wk3v9r3lc4h"))))
1004 (native-inputs 1004 (native-inputs
1005 `(("perl" ,perl) 1005 `(("perl" ,perl)
1006 ("qtdeclarative" ,qtdeclarative) 1006 ("qtdeclarative" ,qtdeclarative)
@@ -1015,7 +1015,7 @@ popular web engines, Qt WebKit 2 and Qt WebEngine.")))
1015(define-public qtlocation 1015(define-public qtlocation
1016 (package (inherit qtsvg) 1016 (package (inherit qtsvg)
1017 (name "qtlocation") 1017 (name "qtlocation")
1018 (version "5.9.3") 1018 (version "5.9.4")
1019 (source (origin 1019 (source (origin
1020 (method url-fetch) 1020 (method url-fetch)
1021 (uri (string-append "https://download.qt.io/official_releases/qt/" 1021 (uri (string-append "https://download.qt.io/official_releases/qt/"
@@ -1024,7 +1024,7 @@ popular web engines, Qt WebKit 2 and Qt WebEngine.")))
1024 version ".tar.xz")) 1024 version ".tar.xz"))
1025 (sha256 1025 (sha256
1026 (base32 1026 (base32
1027 "1qacqz6l7zljqszblhgzg5y1v4mgki59k45ag7yc2iw7vrf45zc0")))) 1027 "186jzv19v674n8jmm13v5xwv211lygih5657rlvbhc1s4jq6iv9p"))))
1028 (arguments 1028 (arguments
1029 (substitute-keyword-arguments (package-arguments qtsvg) 1029 (substitute-keyword-arguments (package-arguments qtsvg)
1030 ((#:tests? _ #f) #f))) ; TODO: Enable the tests 1030 ((#:tests? _ #f) #f))) ; TODO: Enable the tests
@@ -1045,7 +1045,7 @@ positioning and geolocation plugins.")))
1045(define-public qttools 1045(define-public qttools
1046 (package (inherit qtsvg) 1046 (package (inherit qtsvg)
1047 (name "qttools") 1047 (name "qttools")
1048 (version "5.9.3") 1048 (version "5.9.4")
1049 (source (origin 1049 (source (origin
1050 (method url-fetch) 1050 (method url-fetch)
1051 (uri (string-append "https://download.qt.io/official_releases/qt/" 1051 (uri (string-append "https://download.qt.io/official_releases/qt/"
@@ -1054,7 +1054,7 @@ positioning and geolocation plugins.")))
1054 version ".tar.xz")) 1054 version ".tar.xz"))
1055 (sha256 1055 (sha256
1056 (base32 1056 (base32
1057 "1zw4j8ymwcpn7dx1dlbxpmx5lfp26rag7pysap1xry9m7vg3hb24")))) 1057 "11vfk6c8snsqwqj1xk53c0h2mkqr4gfa9kinp8py56x7sn15galm"))))
1058 (arguments 1058 (arguments
1059 (substitute-keyword-arguments (package-arguments qtsvg) 1059 (substitute-keyword-arguments (package-arguments qtsvg)
1060 ((#:tests? _ #f) #f))) ; TODO: Enable the tests 1060 ((#:tests? _ #f) #f))) ; TODO: Enable the tests
@@ -1072,7 +1072,7 @@ that helps in Qt development.")))
1072(define-public qtscript 1072(define-public qtscript
1073 (package (inherit qtsvg) 1073 (package (inherit qtsvg)
1074 (name "qtscript") 1074 (name "qtscript")
1075 (version "5.9.3") 1075 (version "5.9.4")
1076 (source (origin 1076 (source (origin
1077 (method url-fetch) 1077 (method url-fetch)
1078 (uri (string-append "https://download.qt.io/official_releases/qt/" 1078 (uri (string-append "https://download.qt.io/official_releases/qt/"
@@ -1081,7 +1081,7 @@ that helps in Qt development.")))
1081 version ".tar.xz")) 1081 version ".tar.xz"))
1082 (sha256 1082 (sha256
1083 (base32 1083 (base32
1084 "0rjm6nph1nssfpknp4i682bvk7363y4a2f74060vcm7ib2pzl2xq")) 1084 "0lz0iv1baah7cxrpyiqzqp4fxxf75i21qd06ha7r5d80hq3xlia0"))
1085 (patches (search-patches "qtscript-disable-tests.patch")))) 1085 (patches (search-patches "qtscript-disable-tests.patch"))))
1086 (native-inputs 1086 (native-inputs
1087 `(("perl" ,perl) 1087 `(("perl" ,perl)
@@ -1096,7 +1096,7 @@ ECMAScript and Qt.")))
1096(define-public qtquickcontrols 1096(define-public qtquickcontrols
1097 (package (inherit qtsvg) 1097 (package (inherit qtsvg)
1098 (name "qtquickcontrols") 1098 (name "qtquickcontrols")
1099 (version "5.9.3") 1099 (version "5.9.4")
1100 (source (origin 1100 (source (origin
1101 (method url-fetch) 1101 (method url-fetch)
1102 (uri (string-append "https://download.qt.io/official_releases/qt/" 1102 (uri (string-append "https://download.qt.io/official_releases/qt/"
@@ -1105,7 +1105,7 @@ ECMAScript and Qt.")))
1105 version ".tar.xz")) 1105 version ".tar.xz"))
1106 (sha256 1106 (sha256
1107 (base32 1107 (base32
1108 "09p2q3max4xrlw5svbhn11y9cgrvcjsj88xw4c0kq91cgnyyw3ih")))) 1108 "12yrmv6afjbd1fw3r8zjdrbq5l7cy7k5bxcyiv1m97gykfh0b8hn"))))
1109 (arguments 1109 (arguments
1110 (substitute-keyword-arguments (package-arguments qtsvg) 1110 (substitute-keyword-arguments (package-arguments qtsvg)
1111 ((#:tests? _ #f) #f))) ; TODO: Enable the tests 1111 ((#:tests? _ #f) #f))) ; TODO: Enable the tests
@@ -1120,7 +1120,7 @@ can be used to build complete interfaces in Qt Quick.")))
1120(define-public qtquickcontrols2 1120(define-public qtquickcontrols2
1121 (package (inherit qtsvg) 1121 (package (inherit qtsvg)
1122 (name "qtquickcontrols2") 1122 (name "qtquickcontrols2")
1123 (version "5.9.3") 1123 (version "5.9.4")
1124 (source (origin 1124 (source (origin
1125 (method url-fetch) 1125 (method url-fetch)
1126 (uri (string-append "https://download.qt.io/official_releases/qt/" 1126 (uri (string-append "https://download.qt.io/official_releases/qt/"
@@ -1129,7 +1129,7 @@ can be used to build complete interfaces in Qt Quick.")))
1129 version ".tar.xz")) 1129 version ".tar.xz"))
1130 (sha256 1130 (sha256
1131 (base32 1131 (base32
1132 "0hq888qq8q7dglpyzif64pplqjxfrqjpkvbcx0ycq35darls5ai1")))) 1132 "0334ayansm743kf113rs3k9hi9qb6giscfx9xig3y1z7asisfa0m"))))
1133 (arguments 1133 (arguments
1134 (substitute-keyword-arguments (package-arguments qtsvg) 1134 (substitute-keyword-arguments (package-arguments qtsvg)
1135 ((#:tests? _ #f) #f))) ; TODO: Enable the tests 1135 ((#:tests? _ #f) #f))) ; TODO: Enable the tests
@@ -1145,7 +1145,7 @@ not available.")))
1145(define-public qtgraphicaleffects 1145(define-public qtgraphicaleffects
1146 (package (inherit qtsvg) 1146 (package (inherit qtsvg)
1147 (name "qtgraphicaleffects") 1147 (name "qtgraphicaleffects")
1148 (version "5.9.3") 1148 (version "5.9.4")
1149 (source (origin 1149 (source (origin
1150 (method url-fetch) 1150 (method url-fetch)
1151 (uri (string-append "https://download.qt.io/official_releases/qt/" 1151 (uri (string-append "https://download.qt.io/official_releases/qt/"
@@ -1154,7 +1154,7 @@ not available.")))
1154 version ".tar.xz")) 1154 version ".tar.xz"))
1155 (sha256 1155 (sha256
1156 (base32 1156 (base32
1157 "1nghl39sqsjamjn6pfmxmgga6z9vwzv2zbgc92amrfxxr2dh42vr")))) 1157 "1vxq4j7cb5cya1g234rxhfb361n45gp8c70gj8pc03njswkm7xwp"))))
1158 (arguments 1158 (arguments
1159 (substitute-keyword-arguments (package-arguments qtsvg) 1159 (substitute-keyword-arguments (package-arguments qtsvg)
1160 ((#:tests? _ #f) #f))) ; TODO: Enable the tests 1160 ((#:tests? _ #f) #f))) ; TODO: Enable the tests
@@ -1198,7 +1198,7 @@ backend for QtQuick scene graph.")
1198(define-public qtgamepad 1198(define-public qtgamepad
1199 (package (inherit qtsvg) 1199 (package (inherit qtsvg)
1200 (name "qtgamepad") 1200 (name "qtgamepad")
1201 (version "5.9.3") 1201 (version "5.9.4")
1202 (source (origin 1202 (source (origin
1203 (method url-fetch) 1203 (method url-fetch)
1204 (uri (string-append "https://download.qt.io/official_releases/qt/" 1204 (uri (string-append "https://download.qt.io/official_releases/qt/"
@@ -1207,7 +1207,7 @@ backend for QtQuick scene graph.")
1207 version ".tar.xz")) 1207 version ".tar.xz"))
1208 (sha256 1208 (sha256
1209 (base32 1209 (base32
1210 "14vari5cq10a0z02559l2m1v78g7ygnyqf1ilkmy2f0kr36wm7y6")))) 1210 "1ci6aapq0i8qbzkn9xxvxn1n81z3y28yrlyzw0anqzj9qp97cl6f"))))
1211 (native-inputs 1211 (native-inputs
1212 `(("perl" ,perl) 1212 `(("perl" ,perl)
1213 ("pkg-config" ,pkg-config))) 1213 ("pkg-config" ,pkg-config)))
@@ -1228,7 +1228,7 @@ and mobile applications targeting TV-like form factors.")))
1228(define-public qtscxml 1228(define-public qtscxml
1229 (package (inherit qtsvg) 1229 (package (inherit qtsvg)
1230 (name "qtscxml") 1230 (name "qtscxml")
1231 (version "5.9.3") 1231 (version "5.9.4")
1232 (source (origin 1232 (source (origin
1233 (method url-fetch) 1233 (method url-fetch)
1234 (uri (string-append "https://download.qt.io/official_releases/qt/" 1234 (uri (string-append "https://download.qt.io/official_releases/qt/"
@@ -1237,7 +1237,7 @@ and mobile applications targeting TV-like form factors.")))
1237 version ".tar.xz")) 1237 version ".tar.xz"))
1238 (sha256 1238 (sha256
1239 (base32 1239 (base32
1240 "06x8hs3p7bfgnl6b2fjld4s41acw1rbnxbcgkprgw2fxxnl1zxfq")) 1240 "0x8bjp9jzib4kfn7rbricw4qr259qqsdbrz0dw39453s2m7cbv0x"))
1241 (modules '((guix build utils))) 1241 (modules '((guix build utils)))
1242 (snippet 1242 (snippet
1243 '(begin 1243 '(begin
@@ -1258,7 +1258,7 @@ also contains functionality to support data models and executable content.")))
1258(define-public qtpurchasing 1258(define-public qtpurchasing
1259 (package (inherit qtsvg) 1259 (package (inherit qtsvg)
1260 (name "qtpurchasing") 1260 (name "qtpurchasing")
1261 (version "5.9.3") 1261 (version "5.9.4")
1262 (source (origin 1262 (source (origin
1263 (method url-fetch) 1263 (method url-fetch)
1264 (uri (string-append "https://download.qt.io/official_releases/qt/" 1264 (uri (string-append "https://download.qt.io/official_releases/qt/"
@@ -1267,7 +1267,7 @@ also contains functionality to support data models and executable content.")))
1267 version ".tar.xz")) 1267 version ".tar.xz"))
1268 (sha256 1268 (sha256
1269 (base32 1269 (base32
1270 "00yfdd00frgf7fs9s0vyn1c6c4abxgld5rfgkzms3y6n6lcphs0j")))) 1270 "08sk8vw16pa1qv36rfr9dsbzlwlv6kznfpsq8wfabhkgbfl6awqs"))))
1271 (inputs 1271 (inputs
1272 `(("qtbase" ,qtbase) 1272 `(("qtbase" ,qtbase)
1273 ("qtdeclarative" ,qtdeclarative))) 1273 ("qtdeclarative" ,qtdeclarative)))
@@ -1278,7 +1278,7 @@ purchasing goods and services.")))
1278(define-public qtcanvas3d 1278(define-public qtcanvas3d
1279 (package (inherit qtsvg) 1279 (package (inherit qtsvg)
1280 (name "qtcanvas3d") 1280 (name "qtcanvas3d")
1281 (version "5.9.3") 1281 (version "5.9.4")
1282 (source (origin 1282 (source (origin
1283 (method url-fetch) 1283 (method url-fetch)
1284 (uri (string-append "https://download.qt.io/official_releases/qt/" 1284 (uri (string-append "https://download.qt.io/official_releases/qt/"
@@ -1287,7 +1287,7 @@ purchasing goods and services.")))
1287 version ".tar.xz")) 1287 version ".tar.xz"))
1288 (sha256 1288 (sha256
1289 (base32 1289 (base32
1290 "1g0a606fgal4x17ly0qrj05pb0k8riwh7nj4g3jip05g8iwb2f2y")) 1290 "0agdxgk7knf6zkjdi6316y2k9zq72wcg5zn3cbhw4hzjw81qadgg"))
1291 (modules '((guix build utils))) 1291 (modules '((guix build utils)))
1292 (snippet 1292 (snippet
1293 '(delete-file-recursively "examples/canvas3d/3rdparty")))) 1293 '(delete-file-recursively "examples/canvas3d/3rdparty"))))
@@ -1315,7 +1315,7 @@ drawing calls from Qt Quick JavaScript.")))
1315(define-public qtcharts 1315(define-public qtcharts
1316 (package (inherit qtsvg) 1316 (package (inherit qtsvg)
1317 (name "qtcharts") 1317 (name "qtcharts")
1318 (version "5.9.3") 1318 (version "5.9.4")
1319 (source (origin 1319 (source (origin
1320 (method url-fetch) 1320 (method url-fetch)
1321 (uri (string-append "https://download.qt.io/official_releases/qt/" 1321 (uri (string-append "https://download.qt.io/official_releases/qt/"
@@ -1324,7 +1324,7 @@ drawing calls from Qt Quick JavaScript.")))
1324 version ".tar.xz")) 1324 version ".tar.xz"))
1325 (sha256 1325 (sha256
1326 (base32 1326 (base32
1327 "1sb99ncmh84bz0xzq55chgic7jk61awnfvi7ld4gq5ap3nl865zc")))) 1327 "1rykb72gr95rxd0rvbl846ys8xvyyhrms1jz7l4hlwp6zn1jkxvm"))))
1328 (arguments 1328 (arguments
1329 (substitute-keyword-arguments (package-arguments qtsvg) 1329 (substitute-keyword-arguments (package-arguments qtsvg)
1330 ((#:tests? _ #f) #f))) ; TODO: Enable the tests 1330 ((#:tests? _ #f) #f))) ; TODO: Enable the tests
@@ -1342,7 +1342,7 @@ selecting one of the charts themes.")
1342(define-public qtdatavis3d 1342(define-public qtdatavis3d
1343 (package (inherit qtsvg) 1343 (package (inherit qtsvg)
1344 (name "qtdatavis3d") 1344 (name "qtdatavis3d")
1345 (version "5.9.3") 1345 (version "5.9.4")
1346 (source (origin 1346 (source (origin
1347 (method url-fetch) 1347 (method url-fetch)
1348 (uri (string-append "https://download.qt.io/official_releases/qt/" 1348 (uri (string-append "https://download.qt.io/official_releases/qt/"
@@ -1351,7 +1351,7 @@ selecting one of the charts themes.")
1351 version ".tar.xz")) 1351 version ".tar.xz"))
1352 (sha256 1352 (sha256
1353 (base32 1353 (base32
1354 "0s636ix44akrjx47gv9qj2ac02q8clnwj3acfr28p6pagm46k7vh")))) 1354 "1ggwfnqf17mp5dkfr82q1qrimkb6wv3304vl8mjv1nq0zisckhjv"))))
1355 (arguments 1355 (arguments
1356 (substitute-keyword-arguments (package-arguments qtsvg) 1356 (substitute-keyword-arguments (package-arguments qtsvg)
1357 ((#:tests? _ #f) #f))) ; TODO: Enable the tests 1357 ((#:tests? _ #f) #f))) ; TODO: Enable the tests
@@ -1369,7 +1369,7 @@ customized by using themes or by adding custom items and labels to them.")
1369(define-public qtnetworkauth 1369(define-public qtnetworkauth
1370 (package (inherit qtsvg) 1370 (package (inherit qtsvg)
1371 (name "qtnetworkauth") 1371 (name "qtnetworkauth")
1372 (version "5.9.3") 1372 (version "5.9.4")
1373 (source (origin 1373 (source (origin
1374 (method url-fetch) 1374 (method url-fetch)
1375 (uri (string-append "https://download.qt.io/official_releases/qt/" 1375 (uri (string-append "https://download.qt.io/official_releases/qt/"
@@ -1378,7 +1378,7 @@ customized by using themes or by adding custom items and labels to them.")
1378 version ".tar.xz")) 1378 version ".tar.xz"))
1379 (sha256 1379 (sha256
1380 (base32 1380 (base32
1381 "0fdz5q47xbiij3mi5lzhvxpq4jp9fm929v9kyvcyadz86mp3f8nz")))) 1381 "0mqcqkp9h5bgzb3wfy239wh1c9s9zxd7mww11c0jyp56wk5balcx"))))
1382 (arguments 1382 (arguments
1383 (substitute-keyword-arguments (package-arguments qtsvg) 1383 (substitute-keyword-arguments (package-arguments qtsvg)
1384 ((#:phases phases) 1384 ((#:phases phases)
@@ -1398,7 +1398,7 @@ implementation of OAuth and OAuth2 authenticathon methods for Qt.")))
1398(define-public qtremoteobjects 1398(define-public qtremoteobjects
1399 (package (inherit qtsvg) 1399 (package (inherit qtsvg)
1400 (name "qtremoteobjects") 1400 (name "qtremoteobjects")
1401 (version "5.9.3") 1401 (version "5.9.4")
1402 (source (origin 1402 (source (origin
1403 (method url-fetch) 1403 (method url-fetch)
1404 (uri (string-append "https://download.qt.io/official_releases/qt/" 1404 (uri (string-append "https://download.qt.io/official_releases/qt/"
@@ -1407,7 +1407,7 @@ implementation of OAuth and OAuth2 authenticathon methods for Qt.")))
1407 version ".tar.xz")) 1407 version ".tar.xz"))
1408 (sha256 1408 (sha256
1409 (base32 1409 (base32
1410 "0z6qd381r6a7gdrsknlkkbhq9mmdqi040kfrvgm6mfa69336f4dk")))) 1410 "1wb50dapv0l45c0rfmpiaddvwv9na50lmd5zmm052q9d1xb15f6b"))))
1411 (inputs 1411 (inputs
1412 `(("qtbase" ,qtbase) 1412 `(("qtbase" ,qtbase)
1413 ("qtdeclarative" ,qtdeclarative))) 1413 ("qtdeclarative" ,qtdeclarative)))
@@ -1420,7 +1420,7 @@ processes or computers.")))
1420(define-public qtspeech 1420(define-public qtspeech
1421 (package (inherit qtsvg) 1421 (package (inherit qtsvg)
1422 (name "qtspeech") 1422 (name "qtspeech")
1423 (version "5.9.3") 1423 (version "5.9.4")
1424 (source (origin 1424 (source (origin
1425 (method url-fetch) 1425 (method url-fetch)
1426 (uri (string-append "https://download.qt.io/official_releases/qt/" 1426 (uri (string-append "https://download.qt.io/official_releases/qt/"
@@ -1429,7 +1429,7 @@ processes or computers.")))
1429 version ".tar.xz")) 1429 version ".tar.xz"))
1430 (sha256 1430 (sha256
1431 (base32 1431 (base32
1432 "1c4rpf3by620fx8lrvmc38r60cikqczqh2rfcm7ixz3x8cj60lh1")))) 1432 "17h8hrixxcsn7pd5iipbj2hxpp5m2dhfq3w04wkamambb49qs80x"))))
1433 (inputs 1433 (inputs
1434 `(("qtbase" ,qtbase))) 1434 `(("qtbase" ,qtbase)))
1435 (native-inputs 1435 (native-inputs
@@ -1715,15 +1715,14 @@ indicators, code completion and call tips.")
1715 (replace 'configure 1715 (replace 'configure
1716 (lambda* (#:key outputs configure-flags #:allow-other-keys) 1716 (lambda* (#:key outputs configure-flags #:allow-other-keys)
1717 (chdir "Python") 1717 (chdir "Python")
1718 (and (apply invoke "python3" "configure.py" 1718 (apply invoke "python3" "configure.py"
1719 configure-flags) 1719 configure-flags)
1720 ;; Install to the right directory 1720 ;; Install to the right directory
1721 (begin 1721 (substitute* '("Makefile"
1722 (substitute* '("Makefile" 1722 "Qsci/Makefile")
1723 "Qsci/Makefile") 1723 (("\\$\\(INSTALL_ROOT\\)/gnu/store/[^/]+")
1724 (("\\$\\(INSTALL_ROOT\\)/gnu/store/[^/]+") 1724 (assoc-ref outputs "out")))
1725 (assoc-ref outputs "out"))) 1725 #t)))))
1726 #t)))))))
1727 (inputs 1726 (inputs
1728 `(("qscintilla" ,qscintilla) 1727 `(("qscintilla" ,qscintilla)
1729 ("python" ,python) 1728 ("python" ,python)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 9c214b8cf34..9234fa8c682 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -11,7 +11,7 @@
11;;; Copyright © 2015, 2017 Ricardo Wurmus <rekado@elephly.net> 11;;; Copyright © 2015, 2017 Ricardo Wurmus <rekado@elephly.net>
12;;; Copyright © 2016, 2017 Leo Famulari <leo@famulari.name> 12;;; Copyright © 2016, 2017 Leo Famulari <leo@famulari.name>
13;;; Copyright © 2016, 2017, 2018 ng0 <ng0@n0.is> 13;;; Copyright © 2016, 2017, 2018 ng0 <ng0@n0.is>
14;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr> 14;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
15;;; Copyright © 2017 Vasile Dumitrascu <va511e@yahoo.com> 15;;; Copyright © 2017 Vasile Dumitrascu <va511e@yahoo.com>
16;;; Copyright © 2017 Clément Lassieur <clement@lassieur.org> 16;;; Copyright © 2017 Clément Lassieur <clement@lassieur.org>
17;;; Copyright © 2017 André <eu@euandre.org> 17;;; Copyright © 2017 André <eu@euandre.org>
@@ -1318,22 +1318,33 @@ any project with more than one developer, is one of Aegis's major functions.")
1318(define-public reposurgeon 1318(define-public reposurgeon
1319 (package 1319 (package
1320 (name "reposurgeon") 1320 (name "reposurgeon")
1321 (version "3.37") 1321 (version "3.43")
1322 (source (origin 1322 (source (origin
1323 (method url-fetch) 1323 (method url-fetch)
1324 (uri (string-append "http://www.catb.org/~esr/" name "/" 1324 (uri (string-append "http://www.catb.org/~esr/" name "/"
1325 name "-" version ".tar.xz")) 1325 name "-" version ".tar.xz"))
1326 (sha256 1326 (sha256
1327 (base32 1327 (base32
1328 "14asjg4xy3mhh5z0r3k7c1wv9y803j2zfq32g5q5m95sf7yzygan")))) 1328 "1af0z14wcm4bk5a9ysinbwq2fp3lf5f7i8mvwh7286hr3fnagcaz"))
1329 (patches (search-patches
1330 "reposurgeon-add-missing-docbook-files.patch"))))
1329 (build-system gnu-build-system) 1331 (build-system gnu-build-system)
1330 (arguments 1332 (arguments
1331 `(#:tests? #f ;no test suite distributed 1333 `(#:make-flags
1332 #:make-flags 1334 (list "ECHO=echo"
1333 (list (string-append "target=" (assoc-ref %outputs "out"))) 1335 (string-append "target=" (assoc-ref %outputs "out")))
1334 #:phases 1336 #:phases
1335 (modify-phases %standard-phases 1337 (modify-phases %standard-phases
1336 (delete 'configure) 1338 (add-after 'unpack 'patch-inputs
1339 (lambda* (#:key inputs #:allow-other-keys)
1340 (let ((tzdata (assoc-ref inputs "tzdata")))
1341 (substitute* "reposurgeon"
1342 (("/usr/share/zoneinfo")
1343 (string-append tzdata "/share/zoneinfo")))
1344 (substitute* "test/svn-to-svn"
1345 (("/bin/echo") "echo"))
1346 #t)))
1347 (delete 'configure) ; no configure script
1337 (add-before 'build 'fix-docbook 1348 (add-before 'build 'fix-docbook
1338 (lambda* (#:key inputs #:allow-other-keys) 1349 (lambda* (#:key inputs #:allow-other-keys)
1339 (substitute* (find-files "." "\\.xml$") 1350 (substitute* (find-files "." "\\.xml$")
@@ -1341,19 +1352,32 @@ any project with more than one developer, is one of Aegis's major functions.")
1341 (string-append (assoc-ref inputs "docbook-xml") 1352 (string-append (assoc-ref inputs "docbook-xml")
1342 "/xml/dtd/docbook/docbookx.dtd"))) 1353 "/xml/dtd/docbook/docbookx.dtd")))
1343 #t)) 1354 #t))
1355 (add-before 'check 'set-up-test-environment
1356 (lambda* (#:key inputs #:allow-other-keys)
1357 (let ((tzdata (assoc-ref inputs "tzdata")))
1358 (setenv "TZDIR" (string-append tzdata "/share/zoneinfo"))
1359 #t)))
1344 (add-after 'install 'install-emacs-data 1360 (add-after 'install 'install-emacs-data
1345 (lambda* (#:key outputs #:allow-other-keys) 1361 (lambda* (#:key outputs #:allow-other-keys)
1346 (install-file "reposurgeon-mode.el" 1362 (install-file "reposurgeon-mode.el"
1347 (string-append (assoc-ref outputs "out") 1363 (string-append (assoc-ref outputs "out")
1348 "/share/emacs/site-lisp"))))))) 1364 "/share/emacs/site-lisp")))))))
1349 (inputs 1365 (inputs
1350 `(("python" ,python-wrapper))) 1366 `(("python" ,python-wrapper)
1367 ("tzdata" ,tzdata)))
1351 (native-inputs 1368 (native-inputs
1352 `(("asciidoc" ,asciidoc) 1369 `( ;; For building documentation.
1353 ("docbook-xml" ,docbook-xml-4.1.2) 1370 ("asciidoc" ,asciidoc)
1371 ("docbook-xml" ,docbook-xml)
1354 ("docbook-xsl" ,docbook-xsl) 1372 ("docbook-xsl" ,docbook-xsl)
1355 ("libxml2" ,libxml2) 1373 ("libxml2" ,libxml2)
1356 ("xmlto" ,xmlto))) 1374 ("xmlto" ,xmlto)
1375
1376 ;; For tests.
1377 ("cvs" ,cvs)
1378 ("git" ,git)
1379 ("mercurial" ,mercurial)
1380 ("subversion" ,subversion)))
1357 (home-page "http://www.catb.org/~esr/reposurgeon/") 1381 (home-page "http://www.catb.org/~esr/reposurgeon/")
1358 (synopsis "Edit version-control repository history") 1382 (synopsis "Edit version-control repository history")
1359 (description "Reposurgeon enables risky operations that version-control 1383 (description "Reposurgeon enables risky operations that version-control
@@ -1753,8 +1777,8 @@ network protocols, and core version control algorithms.")
1753 (source (origin 1777 (source (origin
1754 (method url-fetch) 1778 (method url-fetch)
1755 (uri (string-append 1779 (uri (string-append
1756 "https://github.com/acaudwell/Gource/archive/" 1780 "https://github.com/acaudwell/Gource/releases/download"
1757 "gource-" version ".tar.gz")) 1781 "/gource-" version "/gource-" version ".tar.gz"))
1758 (sha256 1782 (sha256
1759 (base32 1783 (base32
1760 "1llqwdnfa1pff8bxk27qsqff1fcg0a9kfdib0rn7p28vl21n1cgj")))) 1784 "1llqwdnfa1pff8bxk27qsqff1fcg0a9kfdib0rn7p28vl21n1cgj"))))
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 23113592784..1e304662673 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -89,6 +89,7 @@
89 #:use-module (gnu packages gtk) 89 #:use-module (gnu packages gtk)
90 #:use-module (gnu packages image) 90 #:use-module (gnu packages image)
91 #:use-module (gnu packages imagemagick) 91 #:use-module (gnu packages imagemagick)
92 #:use-module (gnu packages iso-codes)
92 #:use-module (gnu packages libreoffice) 93 #:use-module (gnu packages libreoffice)
93 #:use-module (gnu packages linux) 94 #:use-module (gnu packages linux)
94 #:use-module (gnu packages lua) 95 #:use-module (gnu packages lua)
@@ -102,6 +103,7 @@
102 #:use-module (gnu packages popt) 103 #:use-module (gnu packages popt)
103 #:use-module (gnu packages pulseaudio) 104 #:use-module (gnu packages pulseaudio)
104 #:use-module (gnu packages python) 105 #:use-module (gnu packages python)
106 #:use-module (gnu packages python-crypto)
105 #:use-module (gnu packages python-web) 107 #:use-module (gnu packages python-web)
106 #:use-module (gnu packages qt) 108 #:use-module (gnu packages qt)
107 #:use-module (gnu packages ruby) 109 #:use-module (gnu packages ruby)
@@ -1725,6 +1727,35 @@ from various services and pipes them into a video playing application.")
1725 (home-page "http://livestreamer.io/") 1727 (home-page "http://livestreamer.io/")
1726 (license license:bsd-2))) 1728 (license license:bsd-2)))
1727 1729
1730(define-public streamlink
1731 (package
1732 (name "streamlink")
1733 (version "0.10.0")
1734 (source
1735 (origin
1736 (method url-fetch)
1737 (uri (pypi-uri "streamlink" version))
1738 (sha256
1739 (base32
1740 "17299xnd9jzi7m1d2rr4xdlj47q64bzj2957nlsrhw0hskds1s6h"))))
1741 (build-system python-build-system)
1742 (home-page "https://github.com/streamlink/streamlink")
1743 (native-inputs
1744 `(("python-pytest" ,python-pytest)
1745 ("python-mock" ,python-mock)
1746 ("python-requests-mock" ,python-requests-mock)))
1747 (propagated-inputs
1748 `(("python-pysocks" ,python-pysocks)
1749 ("python-websocket-client" ,python-websocket-client)
1750 ("python-iso3166" ,python-iso3166)
1751 ("python-iso639" ,python-iso639)
1752 ("python-pycryptodome" ,python-pycryptodome)
1753 ("python-requests" ,python-requests)))
1754 (synopsis "Extract streams from various services")
1755 (description "Streamlink is command-line utility that extracts streams
1756from sites like Twitch.tv and pipes them into a video player of choice.")
1757 (license license:bsd-2)))
1758
1728(define-public mlt 1759(define-public mlt
1729 (package 1760 (package
1730 (name "mlt") 1761 (name "mlt")
diff --git a/gnu/packages/webkit.scm b/gnu/packages/webkit.scm
index 2b003f5b3bf..340221640c2 100644
--- a/gnu/packages/webkit.scm
+++ b/gnu/packages/webkit.scm
@@ -54,14 +54,14 @@
54(define-public webkitgtk 54(define-public webkitgtk
55 (package 55 (package
56 (name "webkitgtk") 56 (name "webkitgtk")
57 (version "2.18.5") 57 (version "2.18.6")
58 (source (origin 58 (source (origin
59 (method url-fetch) 59 (method url-fetch)
60 (uri (string-append "https://www.webkitgtk.org/releases/" 60 (uri (string-append "https://www.webkitgtk.org/releases/"
61 name "-" version ".tar.xz")) 61 name "-" version ".tar.xz"))
62 (sha256 62 (sha256
63 (base32 63 (base32
64 "1f1rsp14gkb2r1mrrxn2cnbs45vg38da27q4cf02zlxmgv680v8c")))) 64 "0g5cpdijjv5hlrbi4i4dh97yrh5apnyvm90wpr9f84hgyk12r4ck"))))
65 (build-system cmake-build-system) 65 (build-system cmake-build-system)
66 (arguments 66 (arguments
67 '(#:tests? #f ; no tests 67 '(#:tests? #f ; no tests
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 8098560e4c1..75e4bb63fd1 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -809,8 +809,8 @@ all of them. Currently supported window managers include:
809 (source 809 (source
810 (origin 810 (origin
811 (method url-fetch) 811 (method url-fetch)
812 (uri (string-append "https://github.com/engla/keybinder/releases/" 812 (uri (string-append "https://github.com/kupferlauncher/keybinder"
813 "download/v" version "/keybinder-" 813 "/releases/download/v" version "/keybinder-"
814 version ".tar.gz")) 814 version ".tar.gz"))
815 (file-name (string-append name "-" version ".tar.gz")) 815 (file-name (string-append name "-" version ".tar.gz"))
816 (sha256 816 (sha256
@@ -828,7 +828,7 @@ all of them. Currently supported window managers include:
828 (description 828 (description
829 "Keybinder is a library for registering global keyboard shortcuts. 829 "Keybinder is a library for registering global keyboard shortcuts.
830Keybinder works with GTK-based applications using the X Window System.") 830Keybinder works with GTK-based applications using the X Window System.")
831 (home-page "https://github.com/engla/keybinder") 831 (home-page "https://github.com/kupferlauncher/keybinder")
832 (license license:gpl2+))) 832 (license license:gpl2+)))
833 833
834(define-public spectrwm 834(define-public spectrwm
diff --git a/gnu/services/databases.scm b/gnu/services/databases.scm
index 6a01cb1ce6d..b34a67aa95b 100644
--- a/gnu/services/databases.scm
+++ b/gnu/services/databases.scm
@@ -3,6 +3,7 @@
3;;; Copyright © 2015, 2016 Ludovic Courtès <ludo@gnu.org> 3;;; Copyright © 2015, 2016 Ludovic Courtès <ludo@gnu.org>
4;;; Copyright © 2016 Leo Famulari <leo@famulari.name> 4;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
5;;; Copyright © 2017 Christopher Baines <mail@cbaines.net> 5;;; Copyright © 2017 Christopher Baines <mail@cbaines.net>
6;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org>
6;;; 7;;;
7;;; This file is part of GNU Guix. 8;;; This file is part of GNU Guix.
8;;; 9;;;
@@ -147,26 +148,33 @@ host all all ::1/128 trust"))
147(define postgresql-shepherd-service 148(define postgresql-shepherd-service
148 (match-lambda 149 (match-lambda
149 (($ <postgresql-configuration> postgresql port locale config-file data-directory) 150 (($ <postgresql-configuration> postgresql port locale config-file data-directory)
150 (let ((start-script 151 (let* ((pg_ctl-wrapper
151 ;; Wrapper script that switches to the 'postgres' user before 152 ;; Wrapper script that switches to the 'postgres' user before
152 ;; launching daemon. 153 ;; launching daemon.
153 (program-file "start-postgres" 154 (program-file
154 #~(let ((user (getpwnam "postgres")) 155 "pg_ctl-wrapper"
155 (postgres (string-append #$postgresql 156 #~(begin
156 "/bin/postgres"))) 157 (use-modules (ice-9 match)
157 (setgid (passwd:gid user)) 158 (ice-9 format))
158 (setuid (passwd:uid user)) 159 (match (command-line)
159 (system* postgres 160 ((_ mode)
160 (string-append "--config-file=" 161 (let ((user (getpwnam "postgres"))
161 #$config-file) 162 (pg_ctl #$(file-append postgresql "/bin/pg_ctl"))
162 "-p" (number->string #$port) 163 (options (format #f "--config-file=~a -p ~d"
163 "-D" #$data-directory))))) 164 #$config-file #$port)))
165 (setgid (passwd:gid user))
166 (setuid (passwd:uid user))
167 (execl pg_ctl pg_ctl "-D" #$data-directory "-o" options
168 mode)))))))
169 (action (lambda args
170 #~(lambda _
171 (invoke #$pg_ctl-wrapper #$@args)))))
164 (list (shepherd-service 172 (list (shepherd-service
165 (provision '(postgres)) 173 (provision '(postgres))
166 (documentation "Run the PostgreSQL daemon.") 174 (documentation "Run the PostgreSQL daemon.")
167 (requirement '(user-processes loopback syslogd)) 175 (requirement '(user-processes loopback syslogd))
168 (start #~(make-forkexec-constructor #$start-script)) 176 (start (action "start"))
169 (stop #~(make-kill-destructor)))))))) 177 (stop (action "stop"))))))))
170 178
171(define postgresql-service-type 179(define postgresql-service-type
172 (service-type (name 'postgresql) 180 (service-type (name 'postgresql)
diff --git a/guix/build/dub-build-system.scm b/guix/build/dub-build-system.scm
index 432d51f6a7a..ed866357084 100644
--- a/guix/build/dub-build-system.scm
+++ b/guix/build/dub-build-system.scm
@@ -1,6 +1,7 @@
1;;; GNU Guix --- Functional package management for GNU 1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2016 David Craven <david@craven.ch> 2;;; Copyright © 2016 David Craven <david@craven.ch>
3;;; Copyright © 2017 Danny Milosavljevic <dannym@scratchpost.org> 3;;; Copyright © 2017 Danny Milosavljevic <dannym@scratchpost.org>
4;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
4;;; 5;;;
5;;; This file is part of GNU Guix. 6;;; This file is part of GNU Guix.
6;;; 7;;;
@@ -69,14 +70,14 @@
69 (zero? (system* "dub" "add-path" vendor-dir)))) 70 (zero? (system* "dub" "add-path" vendor-dir))))
70 71
71(define (grep string file-name) 72(define (grep string file-name)
72 "Find the first occurence of STRING in the file named FILE-NAME. 73 "Find the first occurrence of STRING in the file named FILE-NAME.
73 Return the position of this occurence, or #f if none was found." 74 Return the position of this occurrence, or #f if none was found."
74 (string-contains (call-with-input-file file-name get-string-all) 75 (string-contains (call-with-input-file file-name get-string-all)
75 string)) 76 string))
76 77
77(define (grep* string file-name) 78(define (grep* string file-name)
78 "Find the first occurence of STRING in the file named FILE-NAME. 79 "Find the first occurrence of STRING in the file named FILE-NAME.
79 Return the position of this occurence, or #f if none was found. 80 Return the position of this occurrence, or #f if none was found.
80 If the file named FILE-NAME doesn't exist, return #f." 81 If the file named FILE-NAME doesn't exist, return #f."
81 (catch 'system-error 82 (catch 'system-error
82 (lambda () 83 (lambda ()