Merge branch 'master' into core-updates
authorMark H Weaver <mhw@netris.org>
Mon, 30 Apr 2018 08:03:54 +0000 (04:03 -0400)
committerMark H Weaver <mhw@netris.org>
Mon, 30 Apr 2018 08:03:54 +0000 (04:03 -0400)
57 files changed:
1  2 
gnu/local.mk
gnu/packages/admin.scm
gnu/packages/android.scm
gnu/packages/audio.scm
gnu/packages/bioinformatics.scm
gnu/packages/cdrom.scm
gnu/packages/commencement.scm
gnu/packages/cups.scm
gnu/packages/databases.scm
gnu/packages/debug.scm
gnu/packages/dictionaries.scm
gnu/packages/emacs.scm
gnu/packages/emulators.scm
gnu/packages/engineering.scm
gnu/packages/enlightenment.scm
gnu/packages/freedesktop.scm
gnu/packages/game-development.scm
gnu/packages/games.scm
gnu/packages/geo.scm
gnu/packages/gnome.scm
gnu/packages/gnunet.scm
gnu/packages/gnupg.scm
gnu/packages/gstreamer.scm
gnu/packages/guile.scm
gnu/packages/image.scm
gnu/packages/irc.scm
gnu/packages/java.scm
gnu/packages/libreoffice.scm
gnu/packages/linux.scm
gnu/packages/lxde.scm
gnu/packages/machine-learning.scm
gnu/packages/mail.scm
gnu/packages/maths.scm
gnu/packages/messaging.scm
gnu/packages/music.scm
gnu/packages/node.scm
gnu/packages/package-management.scm
gnu/packages/perl.scm
gnu/packages/python-crypto.scm
gnu/packages/python.scm
gnu/packages/scheme.scm
gnu/packages/sdl.scm
gnu/packages/shells.scm
gnu/packages/ssh.scm
gnu/packages/statistics.scm
gnu/packages/storage.scm
gnu/packages/syncthing.scm
gnu/packages/text-editors.scm
gnu/packages/textutils.scm
gnu/packages/version-control.scm
gnu/packages/video.scm
gnu/packages/virtualization.scm
gnu/packages/vpn.scm
gnu/packages/web.scm
gnu/packages/xdisorg.scm
guix/download.scm
guix/ui.scm

diff --cc gnu/local.mk
@@@ -575,11 -575,9 +575,10 @@@ dist_patch_DATA =                                                
    %D%/packages/patches/azr3.patch                             \
    %D%/packages/patches/bash-completion-directories.patch      \
    %D%/packages/patches/bazaar-CVE-2017-14176.patch            \
-   %D%/packages/patches/bcftools-regidx-unsigned-char.patch    \
 -  %D%/packages/patches/binutils-ld-new-dtags.patch            \
    %D%/packages/patches/binutils-loongson-workaround.patch     \
    %D%/packages/patches/blast+-fix-makefile.patch              \
 +  %D%/packages/patches/boost-fix-icu-build.patch              \
 +  %D%/packages/patches/btrfs-progs-e-value-block.patch                \
    %D%/packages/patches/byobu-writable-status.patch            \
    %D%/packages/patches/cairo-CVE-2016-9082.patch                      \
    %D%/packages/patches/calibre-no-updates-dialog.patch                \
    %D%/packages/patches/patchelf-rework-for-arm.patch          \
    %D%/packages/patches/patchutils-xfail-gendiff-tests.patch   \
    %D%/packages/patches/patch-hurd-path-max.patch              \
-   %D%/packages/patches/pcmanfm-CVE-2017-8934.patch            \
 -  %D%/packages/patches/pcre2-CVE-2017-7186.patch              \
 -  %D%/packages/patches/pcre2-CVE-2017-8786.patch              \
    %D%/packages/patches/perl-file-path-CVE-2017-6512.patch     \
    %D%/packages/patches/perl-autosplit-default-time.patch      \
    %D%/packages/patches/perl-dbd-mysql-CVE-2017-10788.patch    \
    %D%/packages/patches/psm-arch.patch                         \
    %D%/packages/patches/psm-ldflags.patch                      \
    %D%/packages/patches/psm-repro.patch                                \
-   %D%/packages/patches/pt-scotch-build-parallelism.patch      \
-   %D%/packages/patches/pulseaudio-glibc-2.27.patch            \
    %D%/packages/patches/pulseaudio-fix-mult-test.patch         \
++  %D%/packages/patches/pulseaudio-glibc-2.27.patch            \
    %D%/packages/patches/pulseaudio-longer-test-timeout.patch   \
 -  %D%/packages/patches/pycairo-wscript.patch                  \
    %D%/packages/patches/pybugz-encode-error.patch              \
    %D%/packages/patches/pybugz-stty.patch                      \
    %D%/packages/patches/pygpgme-disable-problematic-tests.patch  \
    %D%/packages/patches/python-unittest2-python3-compat.patch  \
    %D%/packages/patches/python-unittest2-remove-argparse.patch \
    %D%/packages/patches/python-waitress-fix-tests.patch                \
-   %D%/packages/patches/qemu-CVE-2018-7550.patch                       \
 +  %D%/packages/patches/qemu-glibc-2.27.patch                  \
    %D%/packages/patches/qt4-ldflags.patch                      \
    %D%/packages/patches/qtbase-use-TZDIR.patch                 \
    %D%/packages/patches/qtscript-disable-tests.patch           \
Simple merge
Simple merge
Simple merge
@@@ -293,13 -293,11 +293,12 @@@ BAM files."
                      version "/bcftools-" version ".tar.bz2"))
                (sha256
                 (base32
-                 "0093hkkvxmbwfaa7905s6185jymynvg42kq6sxv7fili11l5mxwz"))
-               (patches (search-patches "bcftools-regidx-unsigned-char.patch"))
+                 "1vgw2mwngq20c530zim52zvgmw1lci8rzl33pvh44xqk3xlzvjsa"))
                (modules '((guix build utils)))
 -              (snippet
 -               ;; Delete bundled htslib.
 -               '(delete-file-recursively "htslib-1.8"))))
 +              (snippet '(begin
 +                          ;; Delete bundled htslib.
-                           (delete-file-recursively "htslib-1.5")
++                          (delete-file-recursively "htslib-1.8")
 +                          #t))))
      (build-system gnu-build-system)
      (arguments
       `(#:test-target "test"
Simple merge
@@@ -1024,7 -1027,9 +1024,10 @@@ COREUTILS-FINAL vs. COREUTILS, etc.
                       (union-build (assoc-ref %outputs "debug")
                                    (list (assoc-ref %build-inputs
                                                     "libc-debug")))
 -                                                   "libc-static")))))))
+                      (union-build (assoc-ref %outputs "static")
+                                   (list (assoc-ref %build-inputs
++                                                   "libc-static")))
 +                     #t))))
  
      (native-search-paths (package-native-search-paths gcc))
      (search-paths (package-search-paths gcc))
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
@@@ -3303,10 -3306,10 +3304,11 @@@ disks and SD cards.  This package provi
                        ;; The default of 2 seconds is too low: it assumes an
                        ;; open lid and AC power without actually checking.
                        (substitute* "freefall.c"
 -                        (("alarm\\(2\\)") "alarm(5)")))))
 +                        (("alarm\\(2\\)") "alarm(5)"))
 +                      #t)))
         #:make-flags (list (string-append "PREFIX="
-                                          (assoc-ref %outputs "out")))
+                                          (assoc-ref %outputs "out"))
+                           "CC=gcc")
         #:tests? #f)) ;no tests
      (home-page (package-home-page linux-libre))
      (synopsis "Free-fall protection for spinning laptop hard drives")
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
@@@ -239,19 -237,21 +239,21 @@@ Wordstar-, EMACS-, Pico, Nedit or vi-li
  (define-public mg
    (package
      (name "mg")
-     (version "20171014")
+     (version "20180408")
      (source (origin
-               (method url-fetch)
-               (uri (string-append "https://homepage.boetes.org/software/mg/mg-"
-                                   version ".tar.gz"))
+               (method git-fetch)
+               (uri (git-reference
+                     (url "https://github.com/hboetes/mg")
+                     (commit version)))
+               (file-name (git-file-name name version))
                (sha256
                 (base32
-                 "0hakfikzsml7z0hja8m8mcahrmfy2piy81bq9nccsjplyfc9clai"))
+                 "06w86xk7sjl2x2h3z6msn8kpmwj05qdimcym77wzhz5s94dzh1bl"))
                (modules '((guix build utils)))
 -              (snippet
 -               '(begin
 -                  (substitute* "GNUmakefile"
 -                    (("/usr/bin/") ""))))))
 +              (snippet '(begin
 +                          (substitute* "GNUmakefile"
 +                            (("/usr/bin/") ""))
 +                          #t))))
      (build-system gnu-build-system)
      (native-inputs
       `(("pkg-config" ,pkg-config)))
Simple merge
Simple merge
Simple merge
@@@ -38,8 -38,8 +39,9 @@@
    #:use-module (gnu packages dns)
    #:use-module (gnu packages docbook)
    #:use-module (gnu packages documentation)
 +  #:use-module (gnu packages flex)
    #:use-module (gnu packages fontutils)
+   #:use-module (gnu packages gettext)
    #:use-module (gnu packages gl)
    #:use-module (gnu packages glib)
    #:use-module (gnu packages gnome)
@@@ -194,12 -196,11 +198,13 @@@ exec smbd $@"))
         ;; ("vde2" ,vde2)
         ("virglrenderer" ,virglrenderer)
         ("zlib" ,zlib)))
-     (native-inputs `(("glib:bin" ,glib "bin") ; gtester, etc.
+     (native-inputs `(("gettext" ,gettext-minimal)
+                      ("glib:bin" ,glib "bin") ; gtester, etc.
                       ("perl" ,perl)
 +                     ("flex" ,flex)
 +                     ("bison" ,bison)
                       ("pkg-config" ,pkg-config)
-                      ("python" ,python-2) ; incompatible with Python 3 according to error message
+                      ("python-wrapper" ,python-wrapper)
                       ("texinfo" ,texinfo)))
      (home-page "https://www.qemu.org")
      (synopsis "Machine emulator and virtualizer")
@@@ -234,10 -235,33 +239,35 @@@ server and embedded PowerPC, and S390 g
          ''("--target-list=i386-softmmu,x86_64-softmmu,mips64el-softmmu,arm-softmmu,aarch64-softmmu"))))
  
      ;; Remove dependencies on optional libraries, notably GUI libraries.
+     (native-inputs (fold alist-delete (package-native-inputs qemu)
+                   '("gettext")))
      (inputs (fold alist-delete (package-inputs qemu)
-                   '("libusb" "mesa" "sdl" "spice" "virglrenderer"
+                   '("libusb" "mesa" "sdl2" "spice" "virglrenderer" "gtk+"
                      "usbredir" "libdrm" "libepoxy" "pulseaudio")))))
  
 -               "17w21spvaxaidi2am5lpsln8yjpyp2zi3s3gc6nsxj5arlgamzgw"))))
+ ;; The GRUB test suite fails with later versions of Qemu, so we
+ ;; keep it at 2.10 for now.  See
+ ;; <https://lists.gnu.org/archive/html/bug-grub/2018-02/msg00004.html>.
+ ;; This package is hidden since we do not backport updates to it.
+ (define-public qemu-minimal-2.10
+   (hidden-package
+    (package
+     (inherit qemu-minimal)
+     (version "2.10.2")
+     (source (origin
+              (method url-fetch)
+              (uri (string-append "https://download.qemu.org/qemu-"
+                                  version ".tar.xz"))
+              (sha256
+               (base32
++               "17w21spvaxaidi2am5lpsln8yjpyp2zi3s3gc6nsxj5arlgamzgw"))
++             (patches
++              (search-patches "qemu-glibc-2.27.patch"))))
+     ;; qemu-minimal-2.10 needs Python 2. Remove below once no longer necessary.
+     (native-inputs `(("python-2" ,python-2)
+                      ,@(fold alist-delete (package-native-inputs qemu)
+                              '("python-wrapper")))))))
  (define-public libosinfo
    (package
      (name "libosinfo")
Simple merge
Simple merge
Simple merge
@@@ -509,15 -509,16 +509,18 @@@ own.  This helper makes it easier to de
                                        #:system system
                                        #:guile guile)))
      ;; Take the tar bomb, and simply unpack it as a directory.
+     ;; Use ungrafted tar/gzip so that the resulting tarball doesn't depend on
+     ;; whether grafts are enabled.
      (gexp->derivation (or name file-name)
 -                      #~(begin
 -                          (mkdir #$output)
 -                          (setenv "PATH" (string-append #$gzip "/bin"))
 -                          (chdir #$output)
 -                          (zero? (system* (string-append #$tar "/bin/tar")
 -                                          "xf" #$drv)))
 +                      (with-imported-modules '((guix build utils))
 +                        #~(begin
 +                            (use-modules (guix build utils))
 +                            (mkdir #$output)
 +                            (setenv "PATH" (string-append #$gzip "/bin"))
 +                            (chdir #$output)
 +                            (invoke (string-append #$tar "/bin/tar")
 +                                    "xf" #$drv)))
+                       #:graft? #f
                        #:local-build? #t)))
  
  (define* (url-fetch/zipbomb url hash-algo hash
@@@ -541,14 -542,15 +544,17 @@@ own.  This helper makes it easier to de
                                        #:system system
                                        #:guile guile)))
      ;; Take the zip bomb, and simply unpack it as a directory.
+     ;; Use ungrafted unzip so that the resulting tarball doesn't depend on
+     ;; whether grafts are enabled.
      (gexp->derivation (or name file-name)
 -                      #~(begin
 -                          (mkdir #$output)
 -                          (chdir #$output)
 -                          (zero? (system* (string-append #$unzip "/bin/unzip")
 -                                          #$drv)))
 +                      (with-imported-modules '((guix build utils))
 +                        #~(begin
 +                            (use-modules (guix build utils))
 +                            (mkdir #$output)
 +                            (chdir #$output)
 +                            (invoke (string-append #$unzip "/bin/unzip")
 +                                    #$drv)))
+                       #:graft? #f
                        #:local-build? #t)))
  
  (define* (download-to-store store url #:optional (name (basename url))
diff --cc guix/ui.scm
Simple merge