diff options
author | Marius Bakke <mbakke@fastmail.com> | 2017-06-11 02:07:06 +0200 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2017-06-11 02:07:06 +0200 |
commit | 5bace4c8ad981b66b5c0769b885d0bb0db91a029 (patch) | |
tree | 0f2fb95c23d7990d26aeed71590bb94a3f2e17fe /gnu/packages | |
parent | 653569e878f39345b05110b998f10db3b520ccfe (diff) | |
parent | 20d87dfb453cf27f95c5ef3858e8d096278e1702 (diff) |
Merge branch 'master' into core-updates
Conflicts:
* gnu/packages/tls.scm (gnutls): Incorporated 3.5.13 graft (88e2511e217f2).
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/gnome.scm | 37 | ||||
-rw-r--r-- | gnu/packages/linux.scm | 8 | ||||
-rw-r--r-- | gnu/packages/patches/gnutls-skip-pkgconfig-test.patch | 24 | ||||
-rw-r--r-- | gnu/packages/patches/gnutls-skip-trust-store-test.patch | 15 | ||||
-rw-r--r-- | gnu/packages/python.scm | 25 | ||||
-rw-r--r-- | gnu/packages/tls.scm | 8 | ||||
-rw-r--r-- | gnu/packages/tor.scm | 4 | ||||
-rw-r--r-- | gnu/packages/video.scm | 1 | ||||
-rw-r--r-- | gnu/packages/wine.scm | 4 | ||||
-rw-r--r-- | gnu/packages/xdisorg.scm | 6 |
10 files changed, 118 insertions, 14 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 7dca113fe0..e277385aec 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -288,6 +288,38 @@ the GData protocol — most notably, Google's services. It provides APIs to access the common Google services, and has full asynchronous support.") (license license:lgpl2.1+))) +(define-public libgxps + (package + (name "libgxps") + (version "0.2.5") + (source (origin + (method url-fetch) + (uri (string-append "mirror://gnome/sources/" name "/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "184r06s8g20cfigg7m169n42jjsc9wmzzlycr4g1fxxhr72r8x9y")))) + (build-system gnu-build-system) + (native-inputs + `(("gobject-introspection" ,gobject-introspection) + ("pkg-config" ,pkg-config))) + (inputs + `(("cairo" ,cairo) + ("glib" ,glib) + ("libarchive" ,libarchive) + ("libjpeg" ,libjpeg) + ("lcms" ,lcms) + ("libtiff" ,libtiff) + ("nettle" ,nettle))) + (home-page "https://wiki.gnome.org/Projects/libgxps") + (synopsis "GObject-based library for handling and rendering XPS documents") + (description + "libgxps is a GObject-based library for handling and rendering XPS +documents. This package also contains binaries that can convert XPS documents +to other formats.") + (license license:lgpl2.1+))) + (define-public gnome-common (package (name "gnome-common") @@ -593,13 +625,14 @@ forgotten when the session ends.") (("gtk-update-icon-cache") "true")) #t))))) (inputs - `(("libspectre" ,libspectre) + `(("libarchive" ,libarchive) + ("libgxps" ,libgxps) + ("libspectre" ,libspectre) ("djvulibre" ,djvulibre) ("ghostscript" ,ghostscript) ("poppler" ,poppler) ("libtiff" ,libtiff) ;; TODO: - ;; Add libgxps for XPS support. ;; Build libkpathsea as a shared library for DVI support. ;; ("libkpathsea" ,texlive-bin) ("gnome-desktop" ,gnome-desktop) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index afddc8ed7a..d41dd7dc9e 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -900,14 +900,14 @@ MIDI functionality to the Linux-based operating system.") (define-public alsa-utils (package (name "alsa-utils") - (version "1.1.3") + (version "1.1.4") (source (origin (method url-fetch) (uri (string-append "ftp://ftp.alsa-project.org/pub/utils/" name "-" version ".tar.bz2")) (sha256 (base32 - "0z0nnqp1707bm02dys2d16m88lsg5nd26bqaf14rl3za9sjifwhj")))) + "17cxih9ibjp1193dyd79j50pyfa9dvrs6r9kpwrvzicjvr2110x7")))) (build-system gnu-build-system) (arguments ;; XXX: Disable man page creation until we have DocBook. @@ -947,14 +947,14 @@ MIDI functionality to the Linux-based operating system.") (define-public alsa-plugins (package (name "alsa-plugins") - (version "1.1.1") + (version "1.1.4") (source (origin (method url-fetch) (uri (string-append "ftp://ftp.alsa-project.org/pub/plugins/" name "-" version ".tar.bz2")) (sha256 (base32 - "1w81z5jlwqhd1l2m7qrq69lc4k9dnrg1wn52jsl2hrf3hbhd394f")))) + "12hsvm6rpinjkg06pa9hzndkdrbfw6wk6yk00cm8y1gbv8xiq3ak")))) (build-system gnu-build-system) ;; TODO: Split libavcodec and speex if possible. It looks like they can not ;; be split, there are references to both in files. diff --git a/gnu/packages/patches/gnutls-skip-pkgconfig-test.patch b/gnu/packages/patches/gnutls-skip-pkgconfig-test.patch new file mode 100644 index 0000000000..1fad7c14e3 --- /dev/null +++ b/gnu/packages/patches/gnutls-skip-pkgconfig-test.patch @@ -0,0 +1,24 @@ +FIXME: The static test fails with an error such as: + +/tmp/guix-build-gnutls-3.5.13.drv-0/ccOnGPmc.o: In function `main': +c.29617.tmp.c:(.text+0x5): undefined reference to `gnutls_global_init' +collect2: error: ld returned 1 exit status +FAIL pkgconfig.sh (exit status: 1) + +diff --git a/tests/pkgconfig.sh b/tests/pkgconfig.sh +index 6bd4e62f9..05aab8278 100755 +--- a/tests/pkgconfig.sh ++++ b/tests/pkgconfig.sh +@@ -57,11 +57,7 @@ echo "Trying dynamic linking with:" + echo " * flags: $(${PKGCONFIG} --libs gnutls)" + echo " * common: ${COMMON}" + echo " * lib: ${CFLAGS}" +-cc ${TMPFILE} -o ${TMPFILE_O} $(${PKGCONFIG} --libs gnutls) $(${PKGCONFIG} --cflags gnutls) ${COMMON} +- +-echo "" +-echo "Trying static linking with $(${PKGCONFIG} --libs --static gnutls)" +-cc ${TMPFILE} -o ${TMPFILE_O} $(${PKGCONFIG} --static --libs gnutls) $(${PKGCONFIG} --cflags gnutls) ${COMMON} ++gcc ${TMPFILE} -o ${TMPFILE_O} $(${PKGCONFIG} --libs gnutls) $(${PKGCONFIG} --cflags gnutls) ${COMMON} + + rm -f ${TMPFILE} ${TMPFILE_O} + diff --git a/gnu/packages/patches/gnutls-skip-trust-store-test.patch b/gnu/packages/patches/gnutls-skip-trust-store-test.patch new file mode 100644 index 0000000000..e0536712a5 --- /dev/null +++ b/gnu/packages/patches/gnutls-skip-trust-store-test.patch @@ -0,0 +1,15 @@ +Version 3.5.11 added a test to check that the default trust store is readable. +It does not exist in the build environment, so pretend everything is fine. + +diff a/tests/trust-store.c b/tests/trust-store.c +--- a/tests/trust-store.c ++++ b/tests/trust-store.c +@@ -61,7 +61,7 @@ + } else if (ret < 0) { + fail("error loading system trust store: %s\n", gnutls_strerror(ret)); + } else if (ret == 0) { +- fail("no certificates were found in system trust store!\n"); ++ success("no trust store in the Guix build environment!\n"); + } + + gnutls_certificate_free_credentials(x509_cred); diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 88bcb9723e..a9091ff707 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -15294,3 +15294,28 @@ from your Flask project. It is a fork of Flask-Swagger.") (define-public python2-flasgger (package-with-python2 python-flasgger)) + +(define-public python-swagger-spec-validator + (package + (name "python-swagger-spec-validator") + (version "2.1.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "swagger-spec-validator" version)) + (sha256 + (base32 + "13hkpn2lycwr0468yqhjb3kwszqf7hjwlq61w7vdxq1caz31k4nw")))) + (build-system python-build-system) + (propagated-inputs + `(("python-jsonschema" ,python-jsonschema) + ("python-six" ,python-six))) + (home-page + "http://github.com/Yelp/swagger_spec_validator") + (synopsis "Validation of Swagger specifications") + (description "@code{swagger_spec_validator} provides a library for +validating Swagger API specifications.") + (license license:asl2.0))) + +(define-public python2-swagger-spec-validator + (package-with-python2 python-swagger-spec-validator)) diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm index 17cb2ac939..e36a02a6cc 100644 --- a/gnu/packages/tls.scm +++ b/gnu/packages/tls.scm @@ -9,6 +9,7 @@ ;;; Copyright © 2016, 2017 ng0 <contact.ng0@cryptolab.net> ;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com> ;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net> +;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -133,7 +134,7 @@ living in the same process.") (define-public gnutls (package (name "gnutls") - (version "3.5.10") + (version "3.5.13") (source (origin (method url-fetch) (uri @@ -142,9 +143,12 @@ living in the same process.") (string-append "mirror://gnupg/gnutls/v" (version-major+minor version) "/gnutls-" version ".tar.xz")) + (patches + (search-patches "gnutls-skip-trust-store-test.patch" + "gnutls-skip-pkgconfig-test.patch")) (sha256 (base32 - "17apwvdkkazh5w8z8mbanpj2yj8s2002qwy46wz4v3akpa33wi5g")))) + "15ihq6p0hnnhs8cnjrkj40dmlcaa1jjg8xg0g2ydbnlqs454ixbr")))) (build-system gnu-build-system) (arguments '(#:configure-flags diff --git a/gnu/packages/tor.scm b/gnu/packages/tor.scm index b31b58a26f..819092cb72 100644 --- a/gnu/packages/tor.scm +++ b/gnu/packages/tor.scm @@ -43,14 +43,14 @@ (define-public tor (package (name "tor") - (version "0.3.0.7") + (version "0.3.0.8") (source (origin (method url-fetch) (uri (string-append "https://dist.torproject.org/tor-" version ".tar.gz")) (sha256 (base32 - "00kxa83bn0axh7479fynp6r8znq5wy26kvb8ghixgjpkir2c8h4n")))) + "0j0dhq1zp6w6zy7y4kiw7zg1imbgv8nsl7imlzwc0951p2kknfk6")))) (build-system gnu-build-system) (arguments `(#:configure-flags (list "--enable-expensive-hardening" diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 8a91a97017..702704ed46 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -1449,6 +1449,7 @@ filtering and encoding tasks. It supports many file types, including AVI, DVD compatible MPEG files, MP4 and ASF, using a variety of codecs. Tasks can be automated using projects, job queue and powerful scripting capabilities.") + (supported-systems '("x86_64-linux" "i686-linux" "armhf-linux")) ;; Software with various licenses is included, see License.txt. (license license:gpl2+))) diff --git a/gnu/packages/wine.scm b/gnu/packages/wine.scm index 7d51f899f0..ec3e96a8aa 100644 --- a/gnu/packages/wine.scm +++ b/gnu/packages/wine.scm @@ -55,14 +55,14 @@ (define-public wine (package (name "wine") - (version "2.9") + (version "2.10") (source (origin (method url-fetch) (uri (string-append "https://dl.winehq.org/wine/source/2.x" "/wine-" version ".tar.xz")) (sha256 (base32 - "0pslhs3kwjimlz5ad6vzzdw7lgbfpwl8vyg4jmf17p61pfxzfimc")))) + "0ygiaayi2mv6jl450d03i4x2gd2bg3mwk3s2pxas87g8sbzzg3a8")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config) ("gettext" ,gettext-minimal) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index d3f387e150..ca8b951bf4 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -55,6 +55,7 @@ #:use-module (gnu packages gl) #:use-module (gnu packages glib) #:use-module (gnu packages gnome) + #:use-module (gnu packages icu4c) #:use-module (gnu packages maths) #:use-module (gnu packages m4) #:use-module (gnu packages ncurses) @@ -449,7 +450,7 @@ of the screen selected by mouse.") (define-public slop (package (name "slop") - (version "6.3.43") + (version "6.3.45") (source (origin (method url-fetch) (uri (string-append @@ -458,12 +459,13 @@ of the screen selected by mouse.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0kazcnnarc61d3rjysaym9vadf31wisfd3sn076rsjnsldm4y66h")))) + "0lzyjcg6yff1vzlsda45i57khajp56yrmcjfa5faw3i60fnqqiy7")))) (build-system cmake-build-system) (arguments '(#:tests? #f)) ; no "check" target (inputs `(("glm" ,glm) + ("icu4c" ,icu4c) ("libxext" ,libxext) ("libxrender" ,libxrender) ("mesa" ,mesa))) |