From 5ec8b02d1039b511e53b80fadaed9f062c01f9c3 Mon Sep 17 00:00:00 2001 From: ng0 Date: Tue, 9 Aug 2016 16:47:37 +0000 Subject: gnu: Add cbatticon. * gnu/packages/admin.scm (cbatticon): New variable. --- gnu/packages/admin.scm | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) (limited to 'gnu/packages') diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index eada7962d2..09a883c89c 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2016 Efraim Flashner ;;; Copyright © 2016 Peter Feigl ;;; Copyright © 2016 John J. Foerch +;;; Coypright © 2016 ng0 ;;; ;;; This file is part of GNU Guix. ;;; @@ -70,7 +71,9 @@ #:use-module (gnu packages xorg) #:use-module (gnu packages python) #:use-module (gnu packages man) - #:use-module (gnu packages autotools)) + #:use-module (gnu packages autotools) + #:use-module (gnu packages gnome) + #:use-module (gnu packages gtk)) (define-public aide (package @@ -1698,3 +1701,36 @@ a new command using the matched rule, and runs it.") display your disk usage in whatever format you prefer. It is designed to be highly portable. Great for heterogenous networks.") (license license:zlib))) + +(define-public cbatticon + (package + (name "cbatticon") + (version "1.6.4") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/valr/" + name "/archive/" version ".tar.gz")) + (sha256 + (base32 + "023fvsa4q7rl98rqgwrb1shyzaybdkkbyz5sywd0s5p7ixkksxqx")) + (file-name (string-append name "-" version ".tar.gz")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no tests + #:make-flags + (list (string-append "PREFIX=" (assoc-ref %outputs "out")) + "CC=gcc") + #:phases + (modify-phases %standard-phases + (delete 'configure)))) ; no configure script + (inputs + `(("gtk+" ,gtk+) + ("gnu-gettext" ,gnu-gettext) + ("libnotify" ,libnotify))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (synopsis "Lightweight battery icon for the system tray") + (description "cbatticon is a lightweight battery icon that displays +the status of your battery in the system tray.") + (home-page "https://github.com/valr/cbatticon") + (license license:gpl2+))) -- cgit v1.2.3 From 7309a501ee766ec57ca24ee9aa206b640400badc Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Wed, 10 Aug 2016 23:13:21 -0400 Subject: gnu: linux-libre@4.1: Update to 4.1.30. * gnu/packages/linux.scm (linux-libre-4.1): Update to 4.1.30. --- gnu/packages/linux.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index f6352da486..fc13649350 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -358,13 +358,13 @@ It has been modified to remove all non-free binary blobs.") (define-public linux-libre-4.1 (package (inherit linux-libre) - (version "4.1.29") + (version "4.1.30") (source (origin (method url-fetch) (uri (linux-libre-urls version)) (sha256 (base32 - "1ygd89x5plkpxisafhnrnfbw69a257sza2gw15wj9jkzxs36a1jp")))) + "0nwmwbskfni3fnbd7v6jh8yfah915zh80xg4g7n38lb66rk3bxvi")))) (native-inputs (let ((conf (kernel-config (or (%current-target-system) (%current-system)) -- cgit v1.2.3 From 2ebc5ad60300a207b7855c6bc3bf921c6057e36f Mon Sep 17 00:00:00 2001 From: Alex Griffin Date: Wed, 10 Aug 2016 13:24:53 -0500 Subject: gnu: gnome-mpv: Update to 0.10. * gnu/packages/video.scm (gnome-mpv): Update to 0.10. --- gnu/packages/video.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 5164477e80..d72faa59d0 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -838,7 +838,7 @@ projects while introducing many more.") (define-public gnome-mpv (package (name "gnome-mpv") - (version "0.9") + (version "0.10") (source (origin (method url-fetch) @@ -847,7 +847,7 @@ projects while introducing many more.") ".tar.xz")) (sha256 (base32 - "06pgxl6f3kkgxv8nlmyl7gy3pg55sqf8vgr8m6426mlpm4p3qdn0")))) + "10zizf926a82c753a80bi49rb5c4yqjyd6zin4xgmggspfxngncj")))) (native-inputs `(("intltool" ,intltool) ("pkg-config" ,pkg-config))) -- cgit v1.2.3 From 10692b2e7f88c073815976f110c051a572ecef3d Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Thu, 11 Aug 2016 05:21:33 -0400 Subject: gnu: linux-libre@4.4: Update to 4.4.17. * gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.17. --- gnu/packages/linux.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index fc13649350..f4dc3e7089 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -341,13 +341,13 @@ It has been modified to remove all non-free binary blobs.") (define-public linux-libre-4.4 (package (inherit linux-libre) - (version "4.4.16") + (version "4.4.17") (source (origin (method url-fetch) (uri (linux-libre-urls version)) (sha256 (base32 - "0lgc064r18gxvya5zvv2l4dmcj7161mb34q4frlw9z02ils9d623")))) + "1dbvvwxfqakan49ckcgk52r2zvwy1jmsgjnn5cl7hm5h2ks6nkzj")))) (native-inputs (let ((conf (kernel-config (or (%current-target-system) (%current-system)) -- cgit v1.2.3 From f64b989b1b41f9543f307b4079b69f5801c5867e Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 11 Aug 2016 10:23:30 +0300 Subject: gnu: dico: Update to 2.3. * gnu/packages/dico.scm (dico): Update to 2.3. [inputs]: Add python-2, groff. Upgrade readline-6.2 to latest. [source]: Remove patches. * gnu/packages/patches/dico-idxcide-bug.patch, * gnu/packages/patches/dico-libtool-deterministic.patch: Remove files. * gnu/local.mk (dist_patch_DATA): Remove them. --- gnu/local.mk | 2 -- gnu/packages/dico.scm | 14 +++++++------- gnu/packages/patches/dico-idxgcide-bug.patch | 21 --------------------- .../patches/dico-libtool-deterministic.patch | 15 --------------- 4 files changed, 7 insertions(+), 45 deletions(-) delete mode 100644 gnu/packages/patches/dico-idxgcide-bug.patch delete mode 100644 gnu/packages/patches/dico-libtool-deterministic.patch (limited to 'gnu/packages') diff --git a/gnu/local.mk b/gnu/local.mk index d4a09ef1a6..a9faffffb9 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -471,8 +471,6 @@ dist_patch_DATA = \ %D%/packages/patches/dbus-helper-search-path.patch \ %D%/packages/patches/devil-CVE-2009-3994.patch \ %D%/packages/patches/devil-fix-libpng.patch \ - %D%/packages/patches/dico-idxgcide-bug.patch \ - %D%/packages/patches/dico-libtool-deterministic.patch \ %D%/packages/patches/diffutils-gets-undeclared.patch \ %D%/packages/patches/dfu-programmer-fix-libusb.patch \ %D%/packages/patches/doc++-include-directives.patch \ diff --git a/gnu/packages/dico.scm b/gnu/packages/dico.scm index 87062f94dc..16ab343cb0 100644 --- a/gnu/packages/dico.scm +++ b/gnu/packages/dico.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2015, 2016 Ludovic Courtès +;;; Copyright © 2016 Efraim Flashner ;;; ;;; This file is part of GNU Guix. ;;; @@ -24,6 +25,7 @@ #:use-module (gnu packages) #:use-module (gnu packages readline) #:use-module (gnu packages m4) + #:use-module (gnu packages groff) #:use-module (gnu packages guile) #:use-module (gnu packages python) #:use-module (gnu packages pcre) @@ -35,17 +37,14 @@ (define-public dico (package (name "dico") - (version "2.2") + (version "2.3") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/dico/dico-" version ".tar.xz")) (sha256 (base32 - "04pjks075x20d19l623mj50bw64g8i41s63z4kzzqcbg9qg96x64")) - (patches (search-patches "cpio-gets-undeclared.patch" - "dico-libtool-deterministic.patch" - "dico-idxgcide-bug.patch")))) + "13by0zimx90v2j8v7n4k9y3xwmh4q9jdc2f4f8yjs3x7f5bzm2pk")))) (build-system gnu-build-system) (arguments '(#:configure-flags (list (string-append "--with-guile-site-dir=" %output @@ -62,10 +61,11 @@ (inputs `(("m4" ,m4) ;used at run time ("pcre" ,pcre) - ;; ("python" ,python-2) + ("python" ,python-2) ("guile" ,guile-2.0) ("gsasl" ,gsasl) - ("readline" ,readline-6.2) + ("groff" ,groff) + ("readline" ,readline) ("zlib" ,zlib) ;; ("wordnet" ,wordnet) ;FIXME: link failure ("libltdl" ,libltdl))) diff --git a/gnu/packages/patches/dico-idxgcide-bug.patch b/gnu/packages/patches/dico-idxgcide-bug.patch deleted file mode 100644 index 28cc8a6a08..0000000000 --- a/gnu/packages/patches/dico-idxgcide-bug.patch +++ /dev/null @@ -1,21 +0,0 @@ -Reported at . -Patch the .c file to avoid depending on Flex. - -commit 4599abbda3b5979367138ea098e435c919fe93fc -Author: Sergey Poznyakoff -Date: Thu Jul 28 14:09:58 2016 +0300 - - Bugfix - - * modules/gcide/idxgcide.l (main): Initialize ipg_header. - ---- dico-2.2/modules/gcide/idxgcide.c 2016-07-28 14:15:07.823587004 +0200 -+++ dico-2.2/modules/gcide/idxgcide.c 2016-07-28 14:15:09.435600549 +0200 -@@ -2497,6 +2497,7 @@ main(int argc, char **argv) - dico_log(L_ERR, 0, _("not enough memory")); - exit(EX_UNAVAILABLE); - } -+ idx_page->ipg_header.hdr.phdr_numentries = 0; - idx_page->ipg_header.hdr.phdr_text_offset = idx_header.ihdr_pagesize / 2; - - idx_header.ihdr_maxpageref = idx_header.ihdr_pagesize / 2 / diff --git a/gnu/packages/patches/dico-libtool-deterministic.patch b/gnu/packages/patches/dico-libtool-deterministic.patch deleted file mode 100644 index 957fc79786..0000000000 --- a/gnu/packages/patches/dico-libtool-deterministic.patch +++ /dev/null @@ -1,15 +0,0 @@ -Dico 2.2 uses an old Libtool (2.2.7a) that did not sort the output -of 'find', thereby leading to non-deterministic file name ordering -in the arguments passed to 'ar rcu' for libdico.a & co. - ---- dico-2.2/build-aux/ltmain.sh 1970-01-01 01:00:00.000000000 +0100 -+++ dico-2.2/build-aux/ltmain.sh 2015-11-25 09:39:30.826169050 +0100 -@@ -2926,7 +2926,7 @@ func_extract_archives () - func_extract_an_archive "$my_xdir" "$my_xabs" - ;; - esac -- my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP` -+ my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP` - done - - func_extract_archives_result="$my_oldobjs" -- cgit v1.2.3 From f9c646886a8b61ec043c19eb801c3d97d9f7cfa3 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 11 Aug 2016 10:40:35 +0300 Subject: gnu: freeimpi: Update to 1.5.3. * gnu/packages/freeipmi.scm (freeipmi): Update to 1.5.3. --- gnu/packages/freeipmi.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/freeipmi.scm b/gnu/packages/freeipmi.scm index ea81b1af8d..01f1389144 100644 --- a/gnu/packages/freeipmi.scm +++ b/gnu/packages/freeipmi.scm @@ -28,17 +28,18 @@ (define-public freeipmi (package (name "freeipmi") - (version "1.5.2") + (version "1.5.3") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/freeipmi/freeipmi-" version ".tar.gz")) (sha256 (base32 - "0xgfwk6lxwwzq8pbyxjl5xxpybs9p4qwgb7q0ykf048xwxha4kvk")))) + "0s4q7imc4r3g9lkd92bnvw70679q83b0irrlw895i5nc05dj4djx")))) (build-system gnu-build-system) (inputs - `(("readline" ,readline) ("libgcrypt" ,libgcrypt))) + `(("readline" ,readline) + ("libgcrypt" ,libgcrypt))) (home-page "http://www.gnu.org/software/freeipmi/") (synopsis "Platform management, including sensor and power monitoring") (description -- cgit v1.2.3 From cd36a4117bf93d438836ba19e43e0350d02cd541 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 11 Aug 2016 11:17:02 +0300 Subject: gnu: ffmpeg: Update to 3.1.2. * gnu/packages/video.scm (ffmpeg): Update to 3.1.2. --- gnu/packages/video.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index d72faa59d0..1d7a9bdd53 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -381,14 +381,14 @@ standards (MPEG-2, MPEG-4 ASP/H.263, MPEG-4 AVC/H.264, and VC-1/VMW3).") (define-public ffmpeg (package (name "ffmpeg") - (version "3.1.1") + (version "3.1.2") (source (origin (method url-fetch) (uri (string-append "https://ffmpeg.org/releases/ffmpeg-" version ".tar.xz")) (sha256 (base32 - "1nris3flwqd4v4b65yrrv9aqhsab7cb9lfp4wpxz6bi0m3r13g3i")))) + "0qdxp6r6x47jzi6nmbsv3dhvm073c8n5hpnlmj5gwihgkyva5ljq")))) (build-system gnu-build-system) (inputs `(("fontconfig" ,fontconfig) -- cgit v1.2.3 From 91b2296b9c2b1f42374cd782600c37d7f076ff72 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 11 Aug 2016 11:23:11 +0300 Subject: gnu: obs: Update to 0.15.4. * gnu/packages/video.scm (obs): Update to 0.15.4. --- gnu/packages/video.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 1d7a9bdd53..bb1422052a 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -1398,7 +1398,7 @@ be used for realtime video capture via Linux-specific APIs.") (define-public obs (package (name "obs") - (version "0.15.1") + (version "0.15.4") (source (origin (method url-fetch) (uri (string-append "https://github.com/jp9000/obs-studio" @@ -1406,7 +1406,7 @@ be used for realtime video capture via Linux-specific APIs.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "18fycg7xlj2i89wdb9c5js0bnl964s1lpmnvmfyj11zi9k061wsg")))) + "11bqk0jpp8fp24j0rkjgrv3fdi3xnjyk4wq55j803cg84mn4zsp0")))) (build-system cmake-build-system) (arguments `(#:tests? #f ; no tests -- cgit v1.2.3 From 3dbdfdc7f08d06f3ee54eb8bc5ab601afc5a9f6e Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 11 Aug 2016 11:37:13 +0300 Subject: gnu: mpv: Update to 0.18.1. * gnu/packages/video.scm (mpv): Update to 0.18.1. --- gnu/packages/video.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index bb1422052a..32aa60bada 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -769,7 +769,7 @@ SVCD, DVD, 3ivx, DivX 3/4/5, WMV and H.264 movies.") (define-public mpv (package (name "mpv") - (version "0.18.0") + (version "0.18.1") (source (origin (method url-fetch) (uri (string-append @@ -777,7 +777,7 @@ SVCD, DVD, 3ivx, DivX 3/4/5, WMV and H.264 movies.") ".tar.gz")) (sha256 (base32 - "0az0zqb2rakak51zsvfqzj9a8jiqpvc61jxap8hjdkkb9y6n6mmn")) + "0ab3lkvx1j06x7qlp9m4r4zk28dr7z8ki3w4kfgkpm2axizxa4z4")) (file-name (string-append name "-" version ".tar.gz")))) (build-system waf-build-system) (native-inputs -- cgit v1.2.3 From c3671282c11a81a71f558e26f8230f7b4add6945 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 11 Aug 2016 12:07:43 +0300 Subject: gnu: mosh: Update source location. * gnu/packages/ssh.scm (mosh)[source]: Download from homepage. [home-page]: Old url redirects to https://mosh.org. --- gnu/packages/ssh.scm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm index bca443390d..4e0697a9aa 100644 --- a/gnu/packages/ssh.scm +++ b/gnu/packages/ssh.scm @@ -307,8 +307,7 @@ in future and NTLM based authentication is most likey never be supported.") (version "1.2.5") (source (origin (method url-fetch) - (uri (string-append "https://mosh.mit.edu/mosh-" - version ".tar.gz")) + (uri (string-append "https://mosh.org/mosh-" version ".tar.gz")) (sha256 (base32 "1qsb0y882yfgwnpy6f98pi5xqm6kykdsrxzvaal37hs7szjhky0s")))) @@ -334,7 +333,7 @@ in future and NTLM based authentication is most likey never be supported.") ("ncurses" ,ncurses) ("protobuf" ,protobuf) ("boost-headers" ,boost))) - (home-page "http://mosh.mit.edu/") + (home-page "https://mosh.org/") (synopsis "Remote shell tolerant to intermittent connectivity") (description "Remote terminal application that allows roaming, supports intermittent -- cgit v1.2.3 From 11379192fad7313aa9544ff99d4dea0168aecc0f Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 11 Aug 2016 12:09:12 +0300 Subject: gnu: mosh: Use 'modify-phases'. * gnu/packages/ssh.scm (mosh)[arguments]: Use 'modify-phases'. --- gnu/packages/ssh.scm | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm index 4e0697a9aa..ef6d8b14dc 100644 --- a/gnu/packages/ssh.scm +++ b/gnu/packages/ssh.scm @@ -313,16 +313,16 @@ in future and NTLM based authentication is most likey never be supported.") "1qsb0y882yfgwnpy6f98pi5xqm6kykdsrxzvaal37hs7szjhky0s")))) (build-system gnu-build-system) (arguments - '(#:phases (alist-cons-after - 'install 'wrap - (lambda* (#:key outputs #:allow-other-keys) - ;; Make sure 'mosh' can find 'mosh-client' and - ;; 'mosh-server'. - (let* ((out (assoc-ref outputs "out")) - (bin (string-append out "/bin"))) - (wrap-program (string-append bin "/mosh") - `("PATH" ":" prefix (,bin))))) - %standard-phases))) + '(#:phases + (modify-phases %standard-phases + (add-after 'install 'wrap + (lambda* (#:key outputs #:allow-other-keys) + ;; Make sure 'mosh' can find 'mosh-client' and + ;; 'mosh-server'. + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin"))) + (wrap-program (string-append bin "/mosh") + `("PATH" ":" prefix (,bin))))))))) (native-inputs `(("pkg-config" ,pkg-config))) (inputs -- cgit v1.2.3 From 0ec60d6e0341a99b9cc0af3127fbc14069866520 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 11 Aug 2016 12:21:27 +0300 Subject: gnu: mosh: Update to 1.2.6. * gnu/packages/ssh.scm (mosh): Update to 1.2.6. --- gnu/packages/ssh.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm index ef6d8b14dc..da6784f2f2 100644 --- a/gnu/packages/ssh.scm +++ b/gnu/packages/ssh.scm @@ -304,13 +304,13 @@ in future and NTLM based authentication is most likey never be supported.") (define-public mosh (package (name "mosh") - (version "1.2.5") + (version "1.2.6") (source (origin (method url-fetch) (uri (string-append "https://mosh.org/mosh-" version ".tar.gz")) (sha256 (base32 - "1qsb0y882yfgwnpy6f98pi5xqm6kykdsrxzvaal37hs7szjhky0s")))) + "118fhpm754wpklf1blnlq5xbvrxqml6rdfs3b07wg666zkxvg0ky")))) (build-system gnu-build-system) (arguments '(#:phases -- cgit v1.2.3 From 91c52629e866ee6beb0266252d64254f15e7868d Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 11 Aug 2016 12:35:21 +0300 Subject: gnu: corkscrew: Use 'modify-phases'. * gnu/packages/ssh.scm (corkscrew)[arguments]: Use 'modify-phases'. --- gnu/packages/ssh.scm | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm index da6784f2f2..b860d6e924 100644 --- a/gnu/packages/ssh.scm +++ b/gnu/packages/ssh.scm @@ -275,23 +275,22 @@ libssh library.") ;; Replace configure phase as the ./configure script does not link ;; CONFIG_SHELL and SHELL passed as parameters '(#:phases - (alist-replace - 'configure - (lambda* (#:key outputs inputs system build target - #:allow-other-keys #:rest args) - (let* ((configure (assoc-ref %standard-phases 'configure)) - (prefix (assoc-ref outputs "out")) - (bash (which "bash")) - ;; Set --build and --host flags as the provided config.guess - ;; is not able to detect them - (flags `(,(string-append "--prefix=" prefix) - ,(string-append "--build=" build) - ,(string-append "--host=" (or target build))))) - (setenv "CONFIG_SHELL" bash) - (zero? (apply system* bash - (string-append "." "/configure") - flags)))) - %standard-phases))) + (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key outputs inputs system build target + #:allow-other-keys #:rest args) + (let* ((configure (assoc-ref %standard-phases 'configure)) + (prefix (assoc-ref outputs "out")) + (bash (which "bash")) + ;; Set --build and --host flags as the provided config.guess + ;; is not able to detect them + (flags `(,(string-append "--prefix=" prefix) + ,(string-append "--build=" build) + ,(string-append "--host=" (or target build))))) + (setenv "CONFIG_SHELL" bash) + (zero? (apply system* bash + (string-append "." "/configure") + flags)))))))) (home-page "http://www.agroman.net/corkscrew") (synopsis "Tunneling SSH through HTTP proxies") (description -- cgit v1.2.3 From 7024aeaaaa99712225d216e6115737f0c7543b04 Mon Sep 17 00:00:00 2001 From: Ben Woodcroft Date: Thu, 11 Aug 2016 20:33:08 +1000 Subject: gnu: diamond: Update to 0.8.18. * gnu/packages/bioinformatics.scm (diamond): Update to 0.8.18. --- gnu/packages/bioinformatics.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 65d7cdc275..a633e93e85 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -1801,7 +1801,7 @@ identify enrichments with functional annotations of the genome.") (define-public diamond (package (name "diamond") - (version "0.8.17") + (version "0.8.18") (source (origin (method url-fetch) (uri (string-append @@ -1810,7 +1810,7 @@ identify enrichments with functional annotations of the genome.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1479sz0phddv40kx4xv95g2q7m3wy52smjb4apn0xpn2gqgj4nrx")))) + "1r8klhbzn5cfzg9g69dd0sk4c0bd8cg1g5id8blsqi273bymm4jl")))) (build-system cmake-build-system) (arguments '(#:tests? #f ; no "check" target -- cgit v1.2.3 From b3de5ff22138a0cc286faac3010552129352afce Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Sun, 7 Feb 2016 12:57:40 +0100 Subject: gnu: Add laby. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/patches/laby-make-install.patch: New file. * gnu/local.mk (dist_patch_DATA): gnu-system.am: Add it. * gnu/packages/games.scm (laby): New variable. Signed-off-by: 宋文武 --- gnu/local.mk | 1 + gnu/packages/games.scm | 41 ++++++++++++++++++++++++++++ gnu/packages/patches/laby-make-install.patch | 25 +++++++++++++++++ 3 files changed, 67 insertions(+) create mode 100644 gnu/packages/patches/laby-make-install.patch (limited to 'gnu/packages') diff --git a/gnu/local.mk b/gnu/local.mk index a9faffffb9..af47311cba 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -597,6 +597,7 @@ dist_patch_DATA = \ %D%/packages/patches/jbig2dec-ignore-testtest.patch \ %D%/packages/patches/khmer-use-libraries.patch \ %D%/packages/patches/kmod-module-directory.patch \ + %D%/packages/patches/laby-make-install.patch \ %D%/packages/patches/ldc-disable-tests.patch \ %D%/packages/patches/lftp-dont-save-unknown-host-fingerprint.patch \ %D%/packages/patches/liba52-enable-pic.patch \ diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index e467dbe04c..4ca59c804a 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -22,6 +22,7 @@ ;;; Copyright © 2016 Kei Kebreau ;;; Copyright © 2016 Alex Griffin ;;; Copyright © 2016 Efraim Flashner ;;; ;;; This file is part of GNU Guix. ;;; @@ -74,6 +75,7 @@ #:use-module (gnu packages image) #:use-module (gnu packages ncurses) #:use-module (gnu packages netpbm) + #:use-module (gnu packages ocaml) #:use-module (gnu packages python) #:use-module (gnu packages readline) #:use-module (gnu packages xorg) @@ -2731,3 +2733,42 @@ in a style similar to the original Super Mario games covered under the GNU GPL.") (home-page "https://supertuxproject.org/") (license license:gpl3+))) + +(define-public laby + (package + (name "laby") + (version "0.6.4") + (source + (origin (method url-fetch) + (uri (string-append + "https://github.com/sgimenez/laby/tarball/" + name "-" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "113ip48308ps3lsw427xswgx3wdanils43nyal9n4jr6bcx1bj2j")) + (patches (search-patches "laby-make-install.patch")))) + (build-system gnu-build-system) + (inputs + `(("lablgtk" ,lablgtk) + ("ocaml" ,ocaml) + ("ocaml-findlib" ,ocaml-findlib))) + (arguments + '(#:phases + (modify-phases %standard-phases + (delete 'configure) + (add-before 'build 'setenv + (lambda* (#:key inputs #:allow-other-keys) + (let ((lablgtk (assoc-ref inputs "lablgtk"))) + (setenv "LD_LIBRARY_PATH" + (string-append lablgtk "/lib/ocaml/stublibs")))))) + #:tests? #f ; no 'check' target + #:make-flags + (list (string-append "PREFIX=" (assoc-ref %outputs "out")) "all"))) + (home-page "https://sgimenez.github.io/laby/") + (synopsis "Programming game") + (description "Learn programming, playing with ants and spider webs ;-) +Your robot ant can be programmed in many languages: OCaml, Python, C, C++, +Java, Ruby, Lua, JavaScript, Pascal, Perl, Scheme, Vala, Prolog. Experienced +programmers may also add their own favorite language.") + (license license:gpl3+))) diff --git a/gnu/packages/patches/laby-make-install.patch b/gnu/packages/patches/laby-make-install.patch new file mode 100644 index 0000000000..3e956bedd5 --- /dev/null +++ b/gnu/packages/patches/laby-make-install.patch @@ -0,0 +1,25 @@ +From e9896b8951f9faf1f76a3b45be6e70d0aeb30a73 Mon Sep 17 00:00:00 2001 +From: Jan Nieuwenhuizen +Date: Sat, 15 Nov 2014 17:48:18 +0100 +Subject: [PATCH] Add make install. + +--- + Makefile | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/Makefile b/Makefile +index ca18c1e..65af31b 100644 +--- a/Makefile 2016-02-09 21:34:01.883660009 +0100 ++++ b/Makefile 2016-02-09 21:34:30.672150679 +0100 +@@ -19,3 +19,11 @@ + @git archive --prefix="$(PROJECT_ARCHIVE)/" HEAD \ + | gzip >_dist/"$(PROJECT_ARCHIVE)".tar.gz + @echo archive stored in "_dist/$(PROJECT_ARCHIVE).tar.gz" ++ ++PREFIX=/usr/local ++install: ++ strip laby ++ mkdir -p $(PREFIX)/bin ++ cp laby $(PREFIX)/bin/laby ++ mkdir -p $(PREFIX)/share/laby ++ tar -C data -cf - . | tar -C $(PREFIX)/share/laby -xf- -- cgit v1.2.3 From 25a78dbc7a0acf258419f578032999aebc1e3f21 Mon Sep 17 00:00:00 2001 From: Troy Sankey Date: Sun, 7 Aug 2016 13:21:28 -0400 Subject: gnu: notmuch: Update to 0.22.1. * gnu/packages/mail.scm (notmuch): Update to 0.22.1. Signed-off-by: Alex Kost --- gnu/packages/mail.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 4775e3eb7d..16dbaa6029 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -438,18 +438,18 @@ attachments, create new maildirs, and so on.") (define-public notmuch (package (name "notmuch") - (version "0.21") + (version "0.22.1") (source (origin (method url-fetch) (uri (string-append "https://notmuchmail.org/releases/notmuch-" version ".tar.gz")) (sha256 (base32 - "1cr53rbpkcy3pvrmhbg2gq7sjpwb0c8xd7a4zhzxbiv8s7z8yvyh")))) + "0jwpda3q023dn3sp41n8648951i7iagfv8zzpriv7hpkjivlafg7")))) (build-system gnu-build-system) (arguments - '(#:tests? #f ;; FIXME: 662 tests; 168 fail and 99 are skipped - ;; with perl input: 50 fail and 99 are skipped + '(#:tests? #f ; FIXME: 694 tests; 170 fail and 100 are skipped + ; with perl input: 50 fail and 100 are skipped #:phases (modify-phases %standard-phases (replace 'configure (lambda* (#:key outputs #:allow-other-keys) -- cgit v1.2.3 From 2c5b91dc47742a66a5dd61dfa5af97823200a7aa Mon Sep 17 00:00:00 2001 From: Alex Kost Date: Mon, 8 Aug 2016 10:58:57 +0300 Subject: gnu: notmuch: Use 'emacs-minimal' instead of 'emacs'. * gnu/packages/mail.scm (notmuch)[inputs]: Remove 'emacs'. [native-inputs]: Add 'emacs-minimal'. --- gnu/packages/mail.scm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 16dbaa6029..d17228ef22 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -460,14 +460,14 @@ attachments, create new maildirs, and so on.") (zero? (system* "./configure" (string-append "--prefix=" out))))))))) (native-inputs - `(("pkg-config" ,pkg-config) + `(("bash-completion" ,bash-completion) + ("emacs" ,emacs-minimal) + ("pkg-config" ,pkg-config) ("python" ,python-2) ("python-docutils" ,python2-docutils) - ("python-sphinx" ,python2-sphinx) - ("bash-completion" ,bash-completion))) + ("python-sphinx" ,python2-sphinx))) (inputs - `(("emacs" ,emacs) - ("glib" ,glib) + `(("glib" ,glib) ("gmime" ,gmime) ("talloc" ,talloc) ("xapian" ,xapian) -- cgit v1.2.3 From 4b6909bc03269c3e73863069678df88d62c742f8 Mon Sep 17 00:00:00 2001 From: Troy Sankey Date: Sun, 7 Aug 2016 13:26:30 -0400 Subject: gnu: Add python-notmuch. * gnu/packages/mail.scm (python-notmuch): New variable. Co-authored-by: Alex Kost --- gnu/packages/mail.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index d17228ef22..990739e383 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -520,6 +520,38 @@ ing, and tagging large collections of email messages.") useful for email address completion.") (license license:expat))) +(define-public python-notmuch + (package + (name "python-notmuch") + (version "0.22.1") + ;; Notmuch python bindings are now unavailable on pypi. The + ;; bindings are distributed via the notmuch release tarball. + (source (package-source notmuch)) + (build-system python-build-system) + (inputs `(("notmuch" ,notmuch))) + (arguments + `(#:tests? #f ; no "test" target + #:phases + (modify-phases %standard-phases + ;; This python package lives in a subdirectory of the notmuch source + ;; tree, so chdir into it before building. + (add-after 'unpack 'enter-python-dir + (lambda _ (chdir "bindings/python") #t)) + ;; Make sure the correct notmuch shared library gets loaded. + (add-before 'build 'set-libnotmuch-file-name + (lambda* (#:key inputs #:allow-other-keys) + (let ((notmuch (assoc-ref inputs "notmuch"))) + (substitute* "notmuch/globals.py" + (("libnotmuch\\.so\\.") + (string-append notmuch "/lib/libnotmuch.so."))) + #t)))))) + (home-page "http://notmuchmail.org/") + (synopsis "Python bindings of the Notmuch mail indexing library") + (description + "This package provides Python bindings to use the Notmuch mail indexing +and search library.") + (license gpl3+))) + (define-public python2-notmuch (package (name "python2-notmuch") -- cgit v1.2.3 From caa6fc89c76903ecc527d8853ccf791c749e5a40 Mon Sep 17 00:00:00 2001 From: Troy Sankey Date: Sun, 7 Aug 2016 13:27:18 -0400 Subject: gnu: python2-notmuch: Update to 0.22.1. * gnu/packages/mail.scm (python2-notmuch): Update to 0.22.1 by inheriting from 'python-notmuch'. Signed-off-by: Alex Kost --- gnu/packages/mail.scm | 33 +-------------------------------- 1 file changed, 1 insertion(+), 32 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 990739e383..dcfc9790ba 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -553,38 +553,7 @@ and search library.") (license gpl3+))) (define-public python2-notmuch - (package - (name "python2-notmuch") - (version "0.15.2") - (source (origin - (method url-fetch) - (uri (string-append - "https://pypi.python.org/packages/source/n/notmuch/notmuch-" - version - ".tar.gz")) - (sha256 - (base32 - "18g8701ibr153ngsz258kgcd42wqnbf9ifpqig1bijy6b0zx9xn5")))) - (build-system python-build-system) - (inputs `(("notmuch" ,notmuch))) - (arguments - `(#:python ,python-2 - #:phases (modify-phases %standard-phases - (add-before - 'build 'set-libnotmuch-file-name - (lambda* (#:key inputs #:allow-other-keys) - (let ((notmuch (assoc-ref inputs "notmuch"))) - (substitute* "notmuch/globals.py" - (("libnotmuch\\.so\\.[0-9]") - (string-append notmuch "/lib/libnotmuch.so.4"))) - #t)))) - #:tests? #f)) ;no "test" target - (home-page "http://notmuchmail.org/") - (synopsis "Python bindings of the Notmuch mail indexing library") - (description - "This package provides Python bindings to use the Notmuch mail indexing -and search library.") - (license gpl3+))) + (package-with-python2 python-notmuch)) (define-public getmail (package -- cgit v1.2.3 From dfde065fd208f3da329bec052f1bb2b2138e5885 Mon Sep 17 00:00:00 2001 From: ng0 Date: Sun, 7 Aug 2016 11:59:42 +0000 Subject: gnu: dwm: Shorten the description. * gnu/packages/suckless.scm (dwm)[description]: Shorten. Signed-off-by: Alex Kost --- gnu/packages/suckless.scm | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm index 87e5aadc40..8732a84d9e 100644 --- a/gnu/packages/suckless.scm +++ b/gnu/packages/suckless.scm @@ -68,30 +68,7 @@ (description "dwm is a dynamic window manager for X. It manages windows in tiled, monocle and floating layouts. All of the layouts can be applied dynamically, -optimising the environment for the application in use and the task performed. - -In tiled layout windows are managed in a master and stacking area. The master -area contains the window which currently needs most attention, whereas the -stacking area contains all other windows. In monocle layout all windows are -maximised to the screen size. In floating layout windows can be resized and -moved freely. Dialog windows are always managed floating, regardless of the -layout applied. - -Windows are grouped by tags. Each window can be tagged with one or multiple -tags. Selecting certain tags displays all windows with these tags. - -Each screen contains a small status bar which displays all available tags, the -layout, the number of visible windows, the title of the focused window, and the -text read from the root window name property, if the screen is focused. A -floating window is indicated with an empty square and a maximised floating -window is indicated with a filled square before the windows title. The selected -tags are indicated with a different color. The tags of the focused window are -indicated with a filled square in the top left corner. The tags which are -applied to one or more windows are indicated with an empty square in the top -left corner. - -dwm draws a small customizable border around windows to indicate the focus -state.") +optimising the environment for the application in use and the task performed.") (license license:x11))) (define-public dmenu -- cgit v1.2.3 From e4eb213473f05ce72355e50ec1516b2b3f11872e Mon Sep 17 00:00:00 2001 From: ng0 Date: Tue, 9 Aug 2016 18:40:26 +0000 Subject: gnu: Add sic. * gnu/packages/irc.scm (sic): New variable. Signed-off-by: Alex Kost --- gnu/packages/irc.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm index d75746b4a5..d52edd8373 100644 --- a/gnu/packages/irc.scm +++ b/gnu/packages/irc.scm @@ -266,3 +266,28 @@ and extensible with plugins and scripts.") (description "ii (Irc it) is a minimalist FIFO and filesystem based IRC client.") (license license:expat))) + +(define-public sic + (package + (name "sic") + (version "1.2") + (source (origin + (method url-fetch) + (uri (string-append "http://dl.suckless.org/tools/" + name "-" version ".tar.gz")) + (sha256 + (base32 + "11aiavxp44yayibc58bvimi8mrxvbw1plbci8cnbl4syk42zj1xc")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no tests + #:make-flags (list "CC=gcc" + (string-append "PREFIX=" %output)) + #:phases + (modify-phases %standard-phases + (delete 'configure)))) ; no configure + (home-page "http://tools.suckless.org/sic/") + (synopsis "Simple IRC client") + (description + "sic is a simple IRC client, even more minimalistic than ii.") + (license license:expat))) -- cgit v1.2.3 From e08ca4b9665a2ed35da04e450eb34c3975c05059 Mon Sep 17 00:00:00 2001 From: ng0 Date: Wed, 10 Aug 2016 12:14:22 +0000 Subject: gnu: Add emacs-neotree. * gnu/packages/emacs.scm (emacs-neotree): New variable. Signed-off-by: Alex Kost --- gnu/packages/emacs.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 825a355d63..9948b911d0 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -2941,3 +2941,22 @@ news items, openrc and runscripts.") in English as you type. It primarily detects \"weasel words\" and abuse of passive voice.") (license license:gpl3+))) + +(define-public emacs-neotree + (package + (name "emacs-neotree") + (version "0.2.1") + (home-page "https://github.com/jaypei/emacs-neotree") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/jaypei/" name + "/archive/v" version ".tar.gz")) + (sha256 + (base32 + "0cr37pdkwjgfijfws5bjskfh1rq9rfngxblcj6v5383vpmn83q7s")) + (file-name (string-append name "-" version)))) + (build-system emacs-build-system) + (synopsis "Folder tree view for Emacs") + (description "This Emacs package provides a folder tree view.") + (license license:gpl3+))) -- cgit v1.2.3 From f2b4c18cd96a69e375d7d9b5ad1c09f8fc065571 Mon Sep 17 00:00:00 2001 From: Jelle Licht Date: Thu, 11 Aug 2016 17:02:41 +0200 Subject: gnu: jq: Fix CVE-2015-8863. * gnu/packages/patches/jq-CVE-2015-8863.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/web.scm (jq)[source]: Use it. Signed-off-by: Leo Famulari --- gnu/local.mk | 1 + gnu/packages/patches/jq-CVE-2015-8863.patch | 45 +++++++++++++++++++++++++++++ gnu/packages/web.scm | 6 +++- 3 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 gnu/packages/patches/jq-CVE-2015-8863.patch (limited to 'gnu/packages') diff --git a/gnu/local.mk b/gnu/local.mk index af47311cba..44ace61975 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -595,6 +595,7 @@ dist_patch_DATA = \ %D%/packages/patches/jasper-CVE-2016-2089.patch \ %D%/packages/patches/jasper-CVE-2016-2116.patch \ %D%/packages/patches/jbig2dec-ignore-testtest.patch \ + %D%/packages/patches/jq-CVE-2015-8863.patch \ %D%/packages/patches/khmer-use-libraries.patch \ %D%/packages/patches/kmod-module-directory.patch \ %D%/packages/patches/laby-make-install.patch \ diff --git a/gnu/packages/patches/jq-CVE-2015-8863.patch b/gnu/packages/patches/jq-CVE-2015-8863.patch new file mode 100644 index 0000000000..20b3bb3f06 --- /dev/null +++ b/gnu/packages/patches/jq-CVE-2015-8863.patch @@ -0,0 +1,45 @@ +Fix CVE-2015-8863 (Off-by-one error in the tokenadd function in +jv_parse.c in jq allows remote attackers to cause a denial of service +(crash) via a long JSON-encoded number, which triggers a heap-based +buffer overflow): + + + +Copied from upstream code repository: + + + +From 8eb1367ca44e772963e704a700ef72ae2e12babd Mon Sep 17 00:00:00 2001 +From: Nicolas Williams +Date: Sat, 24 Oct 2015 17:24:57 -0500 +Subject: [PATCH] Heap buffer overflow in tokenadd() (fix #105) + +This was an off-by one: the NUL terminator byte was not allocated on +resize. This was triggered by JSON-encoded numbers longer than 256 +bytes. +--- + jv_parse.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/jv_parse.c b/jv_parse.c +index 3102ed4..84245b8 100644 +--- a/jv_parse.c ++++ b/jv_parse.c +@@ -383,7 +383,7 @@ static pfunc stream_token(struct jv_parser* p, char ch) { + + static void tokenadd(struct jv_parser* p, char c) { + assert(p->tokenpos <= p->tokenlen); +- if (p->tokenpos == p->tokenlen) { ++ if (p->tokenpos >= (p->tokenlen - 1)) { + p->tokenlen = p->tokenlen*2 + 256; + p->tokenbuf = jv_mem_realloc(p->tokenbuf, p->tokenlen); + } +@@ -485,7 +485,7 @@ static pfunc check_literal(struct jv_parser* p) { + TRY(value(p, v)); + } else { + // FIXME: better parser +- p->tokenbuf[p->tokenpos] = 0; // FIXME: invalid ++ p->tokenbuf[p->tokenpos] = 0; + char* end = 0; + double d = jvp_strtod(&p->dtoa, p->tokenbuf, &end); + if (end == 0 || *end != 0) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index fa791ffbe1..9106295061 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -3293,7 +3293,11 @@ It uses the uwsgi protocol for all the networking/interprocess communications.") "/" name "-" version ".tar.gz")) (sha256 (base32 - "0g29kyz4ykasdcrb0zmbrp2jqs9kv1wz9swx849i2d1ncknbzln4")))) + "0g29kyz4ykasdcrb0zmbrp2jqs9kv1wz9swx849i2d1ncknbzln4")) + ;; This patch has been pushed and the vulnerability will be + ;; fixed in the next release after 1.5. + ;; https://github.com/stedolan/jq/issues/995 + (patches (search-patches "jq-CVE-2015-8863.patch")))) (inputs `(("oniguruma" ,oniguruma))) (native-inputs -- cgit v1.2.3 From 3e6fdd5f8ac8f308531192f1d537570d69ea038e Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 11 Aug 2016 14:47:24 +0300 Subject: gnu: snap-aligner: Limit to x86_64. * gnu/packages/bioinformatics.scm (snap-aligner)[supported-systems]: Add note explaining why we build for x86_64 only. --- gnu/packages/bioinformatics.scm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index a633e93e85..b206f3344d 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -4395,6 +4395,11 @@ is one that takes arguments.") "SNAP is a fast and accurate aligner for short DNA reads. It is optimized for modern read lengths of 100 bases or higher, and takes advantage of these reads to align data quickly through a hash-based indexing scheme.") + ;; 32-bit systems are not supported by the unpatched code. + ;; Following the bug reports https://github.com/amplab/snap/issues/68 and + ;; https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812378 we see that + ;; systems without a lot of memory cannot make good use of this program. + (supported-systems '("x86_64-linux")) (license license:asl2.0))) (define-public sortmerna -- cgit v1.2.3 From dd22efef0a8d625786209e3cf86c255d66bc6317 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 11 Aug 2016 14:50:12 +0300 Subject: gnu: python-cython: Update to 0.24.1. * gnu/packages/python.scm (python-cython): Update to 0.24.1. --- gnu/packages/python.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 6ff1c5c9b2..76e3ff2d18 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -2999,14 +2999,14 @@ is designed to have a low barrier to entry.") (define-public python-cython (package (name "python-cython") - (version "0.24") + (version "0.24.1") (source (origin (method url-fetch) (uri (pypi-uri "Cython" version)) (sha256 (base32 - "1wd3q97gia3zhsgcdlvxh26hkrf3m53i6r1l4g0yya119264vr3d")))) + "1fg7fmpvfcq9md4ncyqnnylyjy4z3ksdrshzis95g1sh03d8z044")))) (build-system python-build-system) ;; we need the full python package and not just the python-wrapper ;; because we need libpython3.3m.so -- cgit v1.2.3 From b92f651be82f0398ee6982f1274e9047a3ed16d5 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 11 Aug 2016 17:07:55 +0300 Subject: gnu: python-cython: Use 'modify-phases'. * gnu/packages/python.scm (python-cython)[arguments]: Use 'modify-phases'. --- gnu/packages/python.scm | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 76e3ff2d18..9d5ff749e7 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -3014,14 +3014,12 @@ is designed to have a low barrier to entry.") `(("python" ,python))) (arguments `(#:phases - (alist-cons-before - 'check 'set-HOME - ;; some tests require access to "$HOME/.cython" - (lambda* _ (setenv "HOME" "/tmp")) - (alist-replace - 'check - (lambda _ (zero? (system* "python" "runtests.py" "-vv"))) - %standard-phases)))) + (modify-phases %standard-phases + (add-before 'check 'set-HOME + ;; some tests require access to "$HOME/.cython" + (lambda _ (setenv "HOME" "/tmp"))) + (replace 'check + (lambda _ (zero? (system* "python" "runtests.py" "-vv"))))))) (home-page "http://cython.org/") (synopsis "C extensions for Python") (description "Cython is an optimising static compiler for both the Python -- cgit v1.2.3 From 2b895f698042b84f2e61b3918bf738398801fe56 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Fri, 12 Aug 2016 01:43:47 -0400 Subject: gnu: postgresql: Update to 9.5.4 [fixes CVE-2016-{5423,5424}]. * gnu/packages/databases.scm (postgresql): Update to 9.5.4. --- gnu/packages/databases.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 895045d952..46f0eb7e80 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -345,14 +345,14 @@ as a drop-in replacement of MySQL.") (define-public postgresql (package (name "postgresql") - (version "9.5.3") + (version "9.5.4") (source (origin (method url-fetch) (uri (string-append "https://ftp.postgresql.org/pub/source/v" version "/postgresql-" version ".tar.bz2")) (sha256 (base32 - "1d500d2qsdzysnis6qi84xchnz5xh8kx8sjfmkbsijwaqlfw11bk")))) + "1l3fqxlpxgl6nrcd4h6lpi2hsiv56yg83n3xrn704rmdch8mfpng")))) (build-system gnu-build-system) (arguments `(#:phases -- cgit v1.2.3 From 0d4b5eb1fdd0c84af18bd4beb8f2d1579ca13d4c Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Fri, 12 Aug 2016 01:53:56 -0400 Subject: gnu: diffoscope: Update to 56. * gnu/packages/package-management.scm (diffoscope): Update to 56. --- gnu/packages/package-management.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index 1421c7ea0a..0fcd0b1646 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -476,13 +476,13 @@ transactions from C or Python.") (define-public diffoscope (package (name "diffoscope") - (version "54") + (version "56") (source (origin (method url-fetch) (uri (pypi-uri name version)) (sha256 (base32 - "1dv46ywzcll3mlqgvr48mq7rncizfvsic62c6dd2kdhynb22087n")))) + "0nbbbp2c1374pl2ysqij2gk013pl49l1nqlg40jxsg95bwa6610l")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases -- cgit v1.2.3 From 87520dfd4bee7e0d6c890a16824858209c523a00 Mon Sep 17 00:00:00 2001 From: ng0 Date: Thu, 11 Aug 2016 15:01:04 +0000 Subject: gnu: st: Update to 0.7. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/suckless.scm (st): Update to 0.7. (inputs): Remove libxext. Signed-off-by: 宋文武 --- gnu/packages/suckless.scm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm index 8732a84d9e..5718c34086 100644 --- a/gnu/packages/suckless.scm +++ b/gnu/packages/suckless.scm @@ -129,7 +129,7 @@ numbers of user-defined menu items efficiently.") (define-public st (package (name "st") - (version "0.6") + (version "0.7") (source (origin (method url-fetch) @@ -137,7 +137,7 @@ numbers of user-defined menu items efficiently.") version ".tar.gz")) (sha256 (base32 - "0avsfc1qp8zvshsfjwwrkvk411jlqy58z225bsdhjkl1qc40qcc5")))) + "00309qiw20rc89696pk8bdr7ik4r1aarik7jxqk8k66cdj80v1zp")))) (build-system gnu-build-system) (arguments '(#:tests? #f ; no tests @@ -156,7 +156,6 @@ numbers of user-defined menu items efficiently.") ("libxft" ,libxft) ("libxcomposite" ,libxcomposite) ("compositeproto" ,compositeproto) - ("libxext" ,libxext) ("xextproto" ,xextproto) ("libxrender" ,libxrender) ("fontconfig" ,fontconfig) -- cgit v1.2.3 From 939111ca9eefe80f03f649dc768da6d064db45e3 Mon Sep 17 00:00:00 2001 From: 宋文武 Date: Fri, 12 Aug 2016 22:29:50 +0800 Subject: gnu: st: Remove unnecessary inputs. * gnu/packages/suckless.scm (st)[inputs]: Remove libxcomposite, compositeproto, xextproto, libxrender and font-liberation. --- gnu/packages/suckless.scm | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm index 5718c34086..7aab2c28b9 100644 --- a/gnu/packages/suckless.scm +++ b/gnu/packages/suckless.scm @@ -154,13 +154,8 @@ numbers of user-defined menu items efficiently.") (inputs `(("libx11" ,libx11) ("libxft" ,libxft) - ("libxcomposite" ,libxcomposite) - ("compositeproto" ,compositeproto) - ("xextproto" ,xextproto) - ("libxrender" ,libxrender) ("fontconfig" ,fontconfig) - ("freetype" ,freetype) - ("font-liberation" ,font-liberation))) + ("freetype" ,freetype))) (native-inputs `(("pkg-config" ,pkg-config))) (home-page "http://st.suckless.org/") (synopsis "Simple terminal emulator") -- cgit v1.2.3 From b227f0be8931831a574966c9a69667e81debb580 Mon Sep 17 00:00:00 2001 From: ng0 Date: Thu, 11 Aug 2016 13:42:22 +0000 Subject: gnu: Add python-stem. * gnu/packages/python.scm (python-stem, python2-stem): New variables. Co-authored-by: Leo Famulari --- gnu/packages/python.scm | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) (limited to 'gnu/packages') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 9d5ff749e7..5cc54d001b 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -45,7 +45,7 @@ #:select (asl2.0 bsd-4 bsd-3 bsd-2 non-copyleft cc0 x11 x11-style gpl2 gpl2+ gpl3 gpl3+ lgpl2.0+ lgpl2.1 lgpl2.1+ lgpl3+ agpl3+ isc mpl2.0 psfl public-domain repoze unlicense x11-style - zpl2.1)) + zpl2.1 lgpl3)) #:use-module ((guix licenses) #:select (expat zlib) #:prefix license:) #:use-module (gnu packages) #:use-module (gnu packages algebra) @@ -9850,3 +9850,39 @@ etc.") (package (inherit base) (name "ptpython2")))) + +(define-public python-stem + (package + (name "python-stem") + (version "1.4.1b") + (source + (origin + (method url-fetch) + (uri (pypi-uri "stem" version ".tar.bz2")) + (sha256 + (base32 + "09a3amp1y351nwz088ckiibbp666qi2lxwkyknavswfm400s0ns7")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (zero? (system* "./run_tests.py" "--unit"))))))) + (native-inputs + `(("python-mock" ,python-mock) + ("python-pep8" ,python-pep8) + ("python-pyflakes" ,python-pyflakes))) + (inputs + `(("python-pycrypto" ,python-pycrypto))) + (home-page "https://stem.torproject.org/") + (synopsis + "Python controller library that allows applications to interact with Tor") + (description + "Stem is a Python controller library for Tor. With it you can use Tor's +control protocol to script against the Tor process and read descriptor data +relays publish about themselves.") + (license lgpl3))) + +(define-public python2-stem + (package-with-python2 python-stem)) -- cgit v1.2.3 From b3885778e8e438e8526a8ee9e96072fd00f5cae5 Mon Sep 17 00:00:00 2001 From: ng0 Date: Wed, 10 Aug 2016 10:04:29 +0000 Subject: gnu: Add stagit. * gnu/packages/version-control.scm (stagit): New variable. Signed-off-by: Leo Famulari --- gnu/packages/version-control.scm | 35 +++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 767715d1b1..f7167088ca 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -9,6 +9,7 @@ ;;; Copyright © 2015, 2016 Efraim Flashner ;;; Copyright © 2015 Kyle Meyer ;;; Copyright © 2015 Ricardo Wurmus +;;; Coypright © 2016 ng0 ;;; ;;; This file is part of GNU Guix. ;;; @@ -27,8 +28,8 @@ (define-module (gnu packages version-control) #:use-module ((guix licenses) - #:select (asl2.0 bsd-2 bsd-3 - gpl1+ gpl2 gpl2+ gpl3+ lgpl2.1 + #:select (asl2.0 bsd-2 bsd-3 expat + gpl1+ gpl2 gpl2+ gpl3+ isc lgpl2.1 public-domain x11-style)) #:use-module (guix utils) #:use-module (guix packages) @@ -1250,3 +1251,33 @@ access and administration over HTTP CGI or via a built-in HTTP server. It has a built-in wiki, built-in file browsing, built-in tickets system, etc.") (license (list public-domain ;src/miniz.c, src/shell.c bsd-2)))) + +(define-public stagit + (package + (name "stagit") + (version "0.4") + (source (origin + (method url-fetch) + (uri (string-append "http://dl.2f30.org/releases/" + name "-" version ".tar.gz")) + (sha256 + (base32 + "0z5r06wqrfnsz24ci4hjqbd62svclvhkgzaq9npsyjcp6jnf7izc")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no tests + #:make-flags (list "CC=gcc" + (string-append "PREFIX=" %output)) + #:phases + (modify-phases %standard-phases + (delete 'configure)))) ; no configure + (inputs + `(("libgit2" ,libgit2))) + (home-page "http://2f30.org") + (synopsis "Static Git web page generator") + (description "Stagit creates static web pages for Git repositories. The +results can be served with an HTTP server.") + ;; The source code distribution is Expat-licensed, but the source files + ;; 'reallocarray.c', 'strlcat.c', and 'strlcpy.c' are released under the ISC + ;; license. + (license (list expat isc)))) -- cgit v1.2.3 From 309693e04093c505bd704a1f7f73aba9a9853113 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 7 Jun 2016 16:36:34 +0200 Subject: gnu: Add libvirt. * gnu/packages/qemu.scm (libvirt): New variable. --- gnu/packages/qemu.scm | 84 +++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 82 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/qemu.scm b/gnu/packages/qemu.scm index dfc9843c97..26d701c0a5 100644 --- a/gnu/packages/qemu.scm +++ b/gnu/packages/qemu.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2013, 2014, 2015, 2016 Ludovic Courtès ;;; Copyright © 2015, 2016 Mark H Weaver ;;; Copyright © 2016 Efraim Flashner +;;; Copyright © 2016 Ricardo Wurmus ;;; ;;; This file is part of GNU Guix. ;;; @@ -20,9 +21,13 @@ (define-module (gnu packages qemu) #:use-module (gnu packages) - #:use-module (gnu packages autotools) + #:use-module (gnu packages admin) #:use-module (gnu packages attr) + #:use-module (gnu packages autotools) #:use-module (gnu packages compression) + #:use-module (gnu packages curl) + #:use-module (gnu packages cyrus-sasl) + #:use-module (gnu packages disk) #:use-module (gnu packages gl) #:use-module (gnu packages glib) #:use-module (gnu packages image) @@ -31,14 +36,18 @@ #:use-module (gnu packages ncurses) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages polkit) #:use-module (gnu packages python) #:use-module (gnu packages sdl) #:use-module (gnu packages spice) #:use-module (gnu packages texinfo) + #:use-module (gnu packages tls) + #:use-module (gnu packages web) #:use-module (gnu packages xdisorg) + #:use-module (gnu packages xml) #:use-module (guix build-system gnu) #:use-module (guix download) - #:use-module ((guix licenses) #:select (gpl2)) + #:use-module ((guix licenses) #:select (gpl2 lgpl2.1+)) #:use-module (guix packages) #:use-module (guix utils) #:use-module (srfi srfi-1)) @@ -178,3 +187,74 @@ server and embedded PowerPC, and S390 guests.") ;; Remove dependencies on optional libraries, notably GUI libraries. (inputs (fold alist-delete (package-inputs qemu) '("libusb" "mesa" "sdl" "spice" "virglrenderer"))))) + +(define-public libvirt + (package + (name "libvirt") + (version "2.1.0") + (source (origin + (method url-fetch) + (uri (string-append "http://libvirt.org/sources/libvirt-" + version ".tar.xz")) + (sha256 + (base32 + "0sriasjc573c519yqw1hcfb3qqjcsm9hm8vayw0anwkl6di9ay8s")))) + (build-system gnu-build-system) + (arguments + `(;; FAIL: virshtest + ;; FAIL: virfirewalltest + ;; FAIL: virkmodtest + ;; FAIL: virnetsockettest + ;; FAIL: networkxml2firewalltest + ;; FAIL: nwfilterebiptablestest + ;; FAIL: nwfilterxml2firewalltest + ;; Times out after PASS: virsh-vcpupin + #:tests? #f + #:configure-flags + (list "--with-polkit" + "--localstatedir=/var") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-tests + (lambda _ + (substitute* '("tests/commandtest.c" + "gnulib/tests/test-posix_spawn1.c" + "gnulib/tests/test-posix_spawn2.c") + (("/bin/sh") (which "sh"))) + #t)) + (add-after 'unpack 'do-not-mkdir-in-/var + ;; Since the localstatedir should be /var at runtime, we must + ;; prevent writing to /var at installation time. + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (localstatedir (string-append out "/var"))) + (substitute* '("src/Makefile.in" + "daemon/Makefile.in") + (("\\$\\(DESTDIR\\)\\$\\(localstatedir)") localstatedir))) + #t))))) + (inputs + `(("libxml2" ,libxml2) + ("gnutls" ,gnutls) + ("dbus" ,dbus) + ("qemu" ,qemu) + ("polkit" ,polkit) + ("libpcap" ,libpcap) + ("libnl" ,libnl) + ("libuuid" ,util-linux) + ("lvm2" ,lvm2) ; for libdevmapper + ("curl" ,curl) + ("openssl" ,openssl) + ("cyrus-sasl" ,cyrus-sasl) + ("perl" ,perl) + ("python" ,python-2) + ("libyajl" ,libyajl) + ("audit" ,audit))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (home-page "http://libvirt.org") + (synopsis "Simple API for virtualization") + (description "Libvirt is a C toolkit to interact with the virtualization +capabilities of recent versions of Linux. The library aims at providing long +term stable C API initially for the Xen paravirtualization but should be able +to integrate other virtualization mechanisms if needed.") + (license lgpl2.1+))) -- cgit v1.2.3 From a0f6c3b35d07ca57d3afe068970c3556e8814069 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 11 Jul 2016 23:17:12 +0200 Subject: gnu: Add libosinfo. * gnu/packages/qemu.scm (libosinfo): New variable. --- gnu/packages/qemu.scm | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/qemu.scm b/gnu/packages/qemu.scm index 26d701c0a5..9b54aa937c 100644 --- a/gnu/packages/qemu.scm +++ b/gnu/packages/qemu.scm @@ -24,12 +24,15 @@ #:use-module (gnu packages admin) #:use-module (gnu packages attr) #:use-module (gnu packages autotools) + #:use-module (gnu packages check) #:use-module (gnu packages compression) #:use-module (gnu packages curl) #:use-module (gnu packages cyrus-sasl) #:use-module (gnu packages disk) #:use-module (gnu packages gl) #:use-module (gnu packages glib) + #:use-module (gnu packages gnome) + #:use-module (gnu packages gtk) #:use-module (gnu packages image) #:use-module (gnu packages libusb) #:use-module (gnu packages linux) @@ -188,6 +191,65 @@ server and embedded PowerPC, and S390 guests.") (inputs (fold alist-delete (package-inputs qemu) '("libusb" "mesa" "sdl" "spice" "virglrenderer"))))) +(define-public libosinfo + (package + (name "libosinfo") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://fedorahosted.org/releases/l/i/libosinfo/libosinfo-" + version ".tar.gz")) + (sha256 + (base32 + "151qrzmafxww5yfamrr7phk8217xmihfhazpb597vdv87na75cjh")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'copy-ids + (lambda* (#:key inputs #:allow-other-keys) + (copy-file (assoc-ref inputs "pci.ids") "data/pci.ids") + (copy-file (assoc-ref inputs "usb.ids") "data/usb.ids") + #t))))) + (inputs + `(("libsoup" ,libsoup) + ("libxml2" ,libxml2) + ("libxslt" ,libxslt) + ("gobject-introspection" ,gobject-introspection))) + (native-inputs + `(("check" ,check) + ("glib" ,glib "bin") ; glib-mkenums, etc. + ("gtk-doc" ,gtk-doc) + ("vala" ,vala) + ("intltool" ,intltool) + ("pkg-config" ,pkg-config) + ("pci.ids" + ,(origin + (method url-fetch) + (uri "http://pciids.sourceforge.net/v2.2/pci.ids") + (sha256 + (base32 + "0h8v0lrlrxkfnjiwnwiq86zyvb8qa2n3844dp1m01lh2nb2fliqw")))) + ("usb.ids" + ,(origin + (method url-fetch) + (uri "http://linux-usb.cvs.sourceforge.net/viewvc/linux-usb/htdocs/usb.ids?revision=1.539") + (sha256 + (base32 + "0w9ila7662lzpx416lqy69zx6gfwq2xiigwd5fdyqcrg3dj07m80")))))) + (home-page "https://libosinfo.org/") + (synopsis "Operating system information database") + (description "libosinfo is a GObject based library API for managing +information about operating systems, hypervisors and the (virtual) hardware +devices they can support. It includes a database containing device metadata +and provides APIs to match/identify optimal devices for deploying an operating +system on a hypervisor. Via GObject Introspection, the API is available in +all common programming languages. Vala bindings are also provided.") + ;; The library files are released under LGPLv2.1 or later; the source + ;; files in the "tools" directory are released under GPLv2+. + (license (list lgpl2.1+ gpl2+)))) + (define-public libvirt (package (name "libvirt") -- cgit v1.2.3 From 597ea1223b9da0ebca8730ec491c252d3c82cbae Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 11 Jul 2016 23:17:53 +0200 Subject: gnu: Add libvirt-glib. * gnu/packages/qemu.scm (libvirt-glib): New variable. --- gnu/packages/qemu.scm | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/qemu.scm b/gnu/packages/qemu.scm index 9b54aa937c..957d8203e0 100644 --- a/gnu/packages/qemu.scm +++ b/gnu/packages/qemu.scm @@ -320,3 +320,51 @@ capabilities of recent versions of Linux. The library aims at providing long term stable C API initially for the Xen paravirtualization but should be able to integrate other virtualization mechanisms if needed.") (license lgpl2.1+))) + +(define-public libvirt-glib + (package + (name "libvirt-glib") + (version "0.2.3") + (source (origin + (method url-fetch) + (uri (string-append "ftp://libvirt.org/libvirt/glib/" + "libvirt-glib-" version ".tar.gz")) + (sha256 + (base32 + "1pahj8qa7k2307sd57rwqwq1hijya02v0sxk91hl3cw48niimcf3")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-tests + (lambda _ + (substitute* "tests/test-events.c" + (("/bin/true") (which "true"))) + #t))))) + (inputs + `(("libxml2" ,libxml2) + ("libvirt" ,libvirt) + ("gobject-introspection" ,gobject-introspection) + ("glib" ,glib) + ("openssl" ,openssl) + ("cyrus-sasl" ,cyrus-sasl) + ("lvm2" ,lvm2) ; for libdevmapper + ("libyajl" ,libyajl))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("intltool" ,intltool) + ("glib" ,glib "bin") + ("vala" ,vala))) + (home-page "http://libvirt.org") + (synopsis "GLib wrapper around libvirt") + (description "libvirt-glib wraps the libvirt library to provide a +high-level object-oriented API better suited for glib-based applications, via +three libraries: + +@enumerate +@item libvirt-glib - GLib main loop integration & misc helper APIs +@item libvirt-gconfig - GObjects for manipulating libvirt XML documents +@item libvirt-gobject - GObjects for managing libvirt objects +@end enumerate +") + (license lgpl2.1+))) -- cgit v1.2.3 From 7cd2032f2499e9afdaedd82d98e889e18647c0db Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 11 Jul 2016 23:18:15 +0200 Subject: gnu: Add python-libvirt. * gnu/packages/qemu.scm (python-libvirt, python2-libvirt): New variables. --- gnu/packages/qemu.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/qemu.scm b/gnu/packages/qemu.scm index 957d8203e0..6d446017ad 100644 --- a/gnu/packages/qemu.scm +++ b/gnu/packages/qemu.scm @@ -49,6 +49,7 @@ #:use-module (gnu packages xdisorg) #:use-module (gnu packages xml) #:use-module (guix build-system gnu) + #:use-module (guix build-system python) #:use-module (guix download) #:use-module ((guix licenses) #:select (gpl2 lgpl2.1+)) #:use-module (guix packages) @@ -368,3 +369,39 @@ three libraries: @end enumerate ") (license lgpl2.1+))) + +(define-public python-libvirt + (package + (name "python-libvirt") + (version "2.0.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "libvirt-python" version)) + (sha256 + (base32 + "0h0x5lpsx97bvw20pzfcsdmmivximddq4qmn8fk0n55dqv0wn5kq")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-nosetests-path + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "setup.py" + (("sys.executable, \"/usr/bin/nosetests\"") + (string-append "\"" (which "bash") "\", \"" + (which "nosetests") "\""))) + #t))))) + (inputs + `(("libvirt" ,libvirt) + ("python-lxml" ,python-lxml))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("python-nose" ,python-nose))) + (home-page "http://libvirt.org") + (synopsis "Python bindings to libvirt") + (description "This package provides Python bindings to the libvirt +virtualization library.") + (license lgpl2.1+))) + +(define-public python2-libvirt + (package-with-python2 python-libvirt)) -- cgit v1.2.3 From 2f82b53b94764908d71289968a464de26caf4a51 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 15 Jun 2016 09:22:42 +0200 Subject: gnu: Add virt-manager. * gnu/packages/qemu.scm (virt-manager): New variable. --- gnu/packages/qemu.scm | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 76 insertions(+), 1 deletion(-) (limited to 'gnu/packages') diff --git a/gnu/packages/qemu.scm b/gnu/packages/qemu.scm index 6d446017ad..c67e87fb2a 100644 --- a/gnu/packages/qemu.scm +++ b/gnu/packages/qemu.scm @@ -51,7 +51,7 @@ #:use-module (guix build-system gnu) #:use-module (guix build-system python) #:use-module (guix download) - #:use-module ((guix licenses) #:select (gpl2 lgpl2.1+)) + #:use-module ((guix licenses) #:select (gpl2 gpl2+ lgpl2.1+)) #:use-module (guix packages) #:use-module (guix utils) #:use-module (srfi srfi-1)) @@ -405,3 +405,78 @@ virtualization library.") (define-public python2-libvirt (package-with-python2 python-libvirt)) + +(define-public virt-manager + (package + (name "virt-manager") + (version "1.4.0") + (source (origin + (method url-fetch) + (uri (string-append "https://virt-manager.org/download/sources" + "/virt-manager/virt-manager-" + version ".tar.gz")) + (sha256 + (base32 + "1jnawqjmcqd2db78ngx05x7cxxn3iy1sb4qfgbwcn045qh6a8cdz")))) + (build-system python-build-system) + (arguments + `(#:python ,python-2 + ;; Some of the tests seem to require network access to install virtual + ;; machines. + #:tests? #f + #:modules ((ice-9 match) + (srfi srfi-26) + (guix build python-build-system) + (guix build utils)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-setup + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "virtcli/cliconfig.py" + (("/usr") (assoc-ref outputs "out"))) + #t)) + (add-before 'wrap 'wrap-with-GI_TYPELIB_PATH + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((bin (string-append (assoc-ref outputs "out") "/bin")) + (bin-files (find-files bin ".*")) + (paths (map (match-lambda + ((output . directory) + (let* ((girepodir (string-append + directory + "/lib/girepository-1.0"))) + (if (file-exists? girepodir) + girepodir #f)))) + inputs))) + (for-each (lambda (file) + (format #t "wrapping ~a\n" file) + (wrap-program file + `("GI_TYPELIB_PATH" ":" prefix + ,(filter identity paths)))) + bin-files)) + #t))))) + (inputs + `(("gtk+" ,gtk+) + ("libvirt" ,libvirt) + ("libvirt-glib" ,libvirt-glib) + ("libosinfo" ,libosinfo) + ("gobject-introspection" ,gobject-introspection) + ("python2-libvirt" ,python2-libvirt) + ("python2-requests" ,python2-requests) + ("python2-ipaddr" ,python2-ipaddr) + ("python2-pygobject" ,python2-pygobject) + ("python2-libxml2" ,python2-libxml2))) + ;; virt-manager searches for qemu-img or kvm-img in the PATH. + (propagated-inputs + `(("qemu" ,qemu))) + (native-inputs + `(("glib" ,glib "bin") ; glib-compile-schemas. + ("perl" ,perl) ; pod2man + ("intltool" ,intltool))) + (home-page "https://virt-manager.org/") + (synopsis "Manage virtual machines") + (description + "The virt-manager application is a desktop user interface for managing +virtual machines through libvirt. It primarily targets KVM VMs, but also +manages Xen and LXC (Linux containers). It presents a summary view of running +domains, their live performance and resource utilization statistics.") + (license gpl2+))) -- cgit v1.2.3 From ce728f70e5ef8783a28652e382c2c9f61c7b4c06 Mon Sep 17 00:00:00 2001 From: Vincent Legoll Date: Wed, 3 Aug 2016 16:44:40 +0200 Subject: gnu: Add Musl. * gnu/packages/musl.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. Signed-off-by: Ricardo Wurmus --- gnu/local.mk | 1 + gnu/packages/musl.scm | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 gnu/packages/musl.scm (limited to 'gnu/packages') diff --git a/gnu/local.mk b/gnu/local.mk index 44ace61975..b7fa1c5999 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -244,6 +244,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/mpi.scm \ %D%/packages/multiprecision.scm \ %D%/packages/music.scm \ + %D%/packages/musl.scm \ %D%/packages/mtools.scm \ %D%/packages/nano.scm \ %D%/packages/ncdu.scm \ diff --git a/gnu/packages/musl.scm b/gnu/packages/musl.scm new file mode 100644 index 0000000000..a96185a561 --- /dev/null +++ b/gnu/packages/musl.scm @@ -0,0 +1,50 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2016 Vincent Legoll +;;; Copyright © 2016 Ricardo Wurmus +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages musl) + #:use-module (guix download) + #:use-module (guix packages) + #:use-module (guix build-system gnu) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (gnu packages)) + +(define-public musl + (package + (name "musl") + (version "1.1.15") + (source (origin + (method url-fetch) + (uri (string-append "http://www.musl-libc.org/releases/" + name "-" version ".tar.gz")) + (sha256 + (base32 + "1ymhxkskivzph0q34zadwfglc5gyahqajm7chqqn2zraxv3lgr4p")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; Musl has no tests + #:configure-flags + (list "--disable-gcc-wrapper"))) + (synopsis "Small C standard library") + (description "musl is a simple and lightweight C standard library. It +strives to be correct in the sense of standards-conformance and safety.") + (home-page "http://www.musl-libc.org") + ;; Musl as a whole is released under the Expat license. Parts of it are + ;; derived from various third-party projects that are released under + ;; non-copyleft licenses. See the COPYRIGHT file for details. + (license license:expat))) -- cgit v1.2.3 From 19c3304072ec69b0fcfe1d792c348713a5f43252 Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Sat, 13 Aug 2016 20:08:02 +1000 Subject: gnu: Add xlsx2csv. * gnu/packages/xml.scm (xlsx2csv): New variable. Signed-off-by: Ben Woodcroft --- gnu/packages/xml.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 4bd1c3887d..cfdc6c006d 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2016 Mathieu Lirzin ;;; Copyright © 2016 Leo Famulari ;;; Copyright © 2016 Ben Woodcroft +;;; Copyright © 2016 Jan Nieuwenhuizen ;;; ;;; This file is part of GNU Guix. ;;; @@ -775,3 +776,35 @@ used to transform, query, validate, and edit XML documents. XPath is used to match and extract data, and elements can be added, deleted or modified using XSLT and EXSLT.") (license license:x11))) + +(define-public xlsx2csv + (package + (name "xlsx2csv") + (version "0.7.2") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/dilshod/" + name "/archive/release/" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1gpn6kaa7l1ai8c9zx2j3acf04bvxq79pni8jjfjrk01smjbyyql")))) + (build-system python-build-system) + (arguments + `(#:python ,python-2 ; Use python-2 for the test script. + #:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (substitute* "test/run" + ;; Run tests with `python' only + (("^(PYTHON_VERSIONS = ).*" all m) (string-append m "['']"))) + (zero? (system* "test/run"))))))) + (home-page "https://github.com/dilshod/xlsx2csv") + (synopsis "XLSX to CSV converter") + (description + "Xlsx2csv is a program to convert Microsoft Excel 2007 XML (XLSX and +XLSM) format spreadsheets into plaintext @dfn{comma separated values} (CSV) +files. It is designed to be fast and to handle large input files.") + (license license:gpl2+))) -- cgit v1.2.3 From 37d52f6e4699030cf957da306fa9b66396eb9d71 Mon Sep 17 00:00:00 2001 From: David Craven Date: Mon, 8 Aug 2016 13:36:41 +0200 Subject: gnu: spice: Fix usbredir for 32 bit platforms. * gnu/packages/spice.scm (usbredir)[origin]: Fetch source from git repo. [native-inputs]: Add AUTOCONF, AUTOMAKE and LIBTOOL. [arguments]: Add autogen phase. --- gnu/packages/spice.scm | 34 ++++++++++++++++++++++++++++------ 1 file changed, 28 insertions(+), 6 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/spice.scm b/gnu/packages/spice.scm index 9e4a6695ac..67e493a439 100644 --- a/gnu/packages/spice.scm +++ b/gnu/packages/spice.scm @@ -18,6 +18,7 @@ (define-module (gnu packages spice) #:use-module (gnu packages) + #:use-module (gnu packages autotools) ; remove after updating usbredir to 0.7.1+ #:use-module (gnu packages compression) #:use-module (gnu packages gl) #:use-module (gnu packages glib) @@ -37,6 +38,7 @@ #:use-module (gnu packages xml) #:use-module (guix build-system gnu) #:use-module (guix download) + #:use-module (guix git-download) ; remove after updating usbredir to 0.7.1+ #:use-module (guix packages) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix utils)) @@ -45,19 +47,39 @@ (package (name "usbredir") (version "0.7.1") + ;(source (origin + ; (method url-fetch) + ; (uri (string-append + ; "http://spice-space.org/download/usbredir/" + ; "usbredir-" version ".tar.bz2")) + ; (sha256 + ; (base32 + ; "1wsnmk4wjpdhbn1zaxg6bmyxspcki2zgy0am9lk037rnl4krwzj0")))) + ; FIXME: usbredir 0.7.1 release doesn't build on 32 bit systems. + ; issue is fixed in HEAD + ; remove 'autogen phase and autoconf, automake, libtool inputs (source (origin - (method url-fetch) - (uri (string-append - "http://spice-space.org/download/usbredir/" - "usbredir-" version ".tar.bz2")) + (method git-fetch) + (uri (git-reference + (url "http://cgit.freedesktop.org/spice/usbredir") + (commit "ac80a5971c6318d73d5fba4b5f13d3a9389558c9"))) (sha256 (base32 - "1wsnmk4wjpdhbn1zaxg6bmyxspcki2zgy0am9lk037rnl4krwzj0")))) + "052fywgi72j68dr5ybldncg4vk8iqfrh58la7iazyxxpph9aag1g")))) (build-system gnu-build-system) (propagated-inputs `(("libusb" ,libusb))) (native-inputs - `(("pkg-config" ,pkg-config))) + `(("pkg-config" ,pkg-config) + ("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'autogen + (lambda* _ + (system* "sh" "autogen.sh")))))) (synopsis "Tools for sending USB device traffic over a network") (description "Usbredir is a network protocol for sending USB device traffic over a network connection. It can be used to redirect traffic from a USB device -- cgit v1.2.3 From 5c913ba159e285efb096c784473ababd15c233b0 Mon Sep 17 00:00:00 2001 From: David Craven Date: Sun, 12 Jun 2016 20:33:42 +0200 Subject: gnu: extra-cmake-modules: Update to 5.24.0. * gnu/packages/kde-frameworks.scm: Update to 5.24.0. Co-authored-by: Hartmut Goebel --- gnu/packages/kde-frameworks.scm | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 57727accbc..838bdb39c9 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -30,21 +30,35 @@ (define-public extra-cmake-modules (package (name "extra-cmake-modules") - (version "5.21.0") + (version "5.24.0") (source (origin (method url-fetch) - (uri (string-append "http://download.kde.org/stable/frameworks/" + (uri (string-append "mirror://kde/stable/frameworks/" (version-major+minor version) "/" name "-" version ".tar.xz")) (sha256 (base32 - "1kbc5fkcbz9vkg0jpz10vsfgwajlrsmbl0vrbls5qvrdgbgrwlm3")))) - ;; The package looks for Qt5LinguistTools provided by Qt, but apparently - ;; compiles without it; it might be needed for building the - ;; documentation, which requires the additional Sphinx package. - ;; To save space, we do not add these inputs. + "01m12ml529pwr2sal951r5z6yb1rwbpid1y4k14nlk3xqgmdakwa")))) (build-system cmake-build-system) + (native-inputs + `(("qtbase" ,qtbase))) ; For tests (needs qmake) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; install and check phase are swapped to prevent install from failing + ;; after testsuire has run + (add-after 'install 'check-post-install + (assoc-ref %standard-phases 'check)) + (delete 'check)))) + ;; optional dependencies - to save space, we do not add these inputs. + ;; Sphinx > 1.2: + ;; Required to build Extra CMake Modules documentation in Qt Help format. + ;; Qt5LinguistTools , Qt5 linguist tools. , + ;; Required to run tests for the ECMPoQmTools module. + ;; Qt5Core + ;; Required to run tests for the ECMQtDeclareLoggingCategory module, + ;; and for some tests of the KDEInstallDirs module. (home-page "https://community.kde.org/Frameworks") (synopsis "CMake module files for common software used by KDE") (description "The Extra CMake Modules package, or ECM, adds to the -- cgit v1.2.3 From 861748efd6406b9436630cf23a498865395bf9f2 Mon Sep 17 00:00:00 2001 From: David Craven Date: Tue, 2 Aug 2016 12:49:12 +0200 Subject: gnu: kwindowsystem: Update to 5.24.0. * gnu/packages/kde-frameworks.scm (kwindowsystem)[uri]: Use mirror. [native-inputs]: Make extra-cmake-modules a native-input. [inputs]: Replace qt dependency with qtbase and qtx11extras. --- gnu/packages/kde-frameworks.scm | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 838bdb39c9..b338555944 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -69,27 +69,29 @@ common build settings used in software produced by the KDE community.") (define-public kwindowsystem (package (name "kwindowsystem") - (version "5.21.0") + (version "5.24.0") (source (origin (method url-fetch) - (uri (string-append "http://download.kde.org/stable/frameworks/" + (uri (string-append "mirror://kde/stable/frameworks/" (version-major+minor version) "/" name "-" version ".tar.xz")) (sha256 (base32 - "13lfwpw5a4in0mp5y8d15jg6xhhrka2qmw73wrdzcvj22n6ldzzi")))) + "0w5ym8msl80v3q65253pdpj9f1fmb658rnndlbkrgpmm1rv1n6dz")))) (build-system cmake-build-system) (native-inputs - `(("pkg-config" ,pkg-config) + `(("extra-cmake-modules" ,extra-cmake-modules) + ("pkg-config" ,pkg-config) + ("qttools" ,qttools) ("xorg-server" ,xorg-server))) ; for the tests (inputs - `(("extra-cmake-modules" ,extra-cmake-modules) - ("libxrender" ,libxrender) - ("qt" ,qt) + `(("libxrender" ,libxrender) + ("qtbase" ,qtbase) + ("qtx11extras" ,qtx11extras) ("xcb-utils-keysyms" ,xcb-util-keysyms))) (arguments - `(#:tests? #f)) ; FIXME: The first seven tests fail with "Exception". + `(#:tests? #f)) ; FIXME: 8/10 tests fail. (home-page "https://community.kde.org/Frameworks") (synopsis "KDE access to the windowing system") (description "KWindowSystem provides information about and allows -- cgit v1.2.3 From b54c2cfcfccf5ff3f13d8e7ae27cdf0519f2128c Mon Sep 17 00:00:00 2001 From: David Craven Date: Tue, 2 Aug 2016 12:54:09 +0200 Subject: gnu: oxygen-icons: Update to 5.24.0. * gnu/packages/kde-frameworks.scm (oxygen-icons)[uri]: Use mirror. [native-inputs]: Make extra-cmake-modules a native-input. --- gnu/packages/kde-frameworks.scm | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index b338555944..434c6cfc8a 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -109,22 +109,21 @@ lower level classes for interaction with the X Windowing System.") (define-public oxygen-icons (package (name "oxygen-icons") - (version "5.21.0") + (version "5.24.0") (source (origin (method url-fetch) - (uri (string-append "http://download.kde.org/stable/frameworks/" + (uri (string-append "mirror://kde/stable/frameworks/" (version-major+minor version) "/" - name "5-"version ".tar.xz")) + name "5" "-" version ".tar.xz")) (sha256 (base32 - "00qh1h3xx392hh73zdlknc1j9i2sck9ys74a9ffkf6an4rl0hws5")))) + "1c7spjbzk04725vv0ly7vmyvwa96mfa5ki2pm146ld4888a896wm")))) (build-system cmake-build-system) (native-inputs - `(("pkg-config" ,pkg-config))) + `(("extra-cmake-modules" ,extra-cmake-modules))) (inputs - `(("extra-cmake-modules" ,extra-cmake-modules) - ("qtbase" ,qtbase))) + `(("qtbase" ,qtbase))) (home-page "https://community.kde.org/Frameworks") (synopsis "Oxygen provides the standard icon theme for the KDE desktop") (description "Oxygen icon theme for the KDE desktop") -- cgit v1.2.3 From bbf311e048afc38489346ab74c64d86e68bb5992 Mon Sep 17 00:00:00 2001 From: David Craven Date: Sun, 12 Jun 2016 20:33:07 +0200 Subject: gnu: kde-frameworks: Add attica. * gnu/packages/kde-frameworks.scm (attica): New variable. Co-authored-by: Hartmut Goebel --- gnu/packages/kde-frameworks.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 434c6cfc8a..85d000bb2d 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -1,6 +1,8 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2015 Andreas Enge ;;; Copyright © 2016 Efraim Flashner +;;; Copyright © 2016 Hartmut Goebel +;;; Copyright © 2016 David Craven ;;; ;;; This file is part of GNU Guix. ;;; @@ -66,6 +68,43 @@ modules provided by CMake to find common software. In addition, it provides common build settings used in software produced by the KDE community.") (license license:bsd-3))) +;; Tier 1 +;; +;; Tier 1 frameworks depend only on Qt (and possibly a small number of other +;; third-party libraries), so can easily be used by an Qt-based project. + +(define-public attica + (package + (name "attica") + (version "5.24.0") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/frameworks/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "0d368gmds7m7k5pnn625wqsij38cvxk1gkm4zv24phnk9f67v7cw")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules))) + (inputs + `(("qtbase" ,qtbase))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "Open Collaboration Service client library") + (description "Attica is a Qt library that implements the Open +Collaboration Services API version 1.6. + +It grants easy access to the services such as querying information about +persons and contents. The library is used in KNewStuff3 as content provider. +In order to integrate with KDE's Plasma Desktop, a platform plugin exists in +kdebase. + +The REST API is defined here: +http://freedesktop.org/wiki/Specifications/open-collaboration-services/") + (license (list license:lgpl2.1+ license:lgpl3+)))) + (define-public kwindowsystem (package (name "kwindowsystem") -- cgit v1.2.3 From fc3d355df7d67201d1486ea1f86fa0121804f7af Mon Sep 17 00:00:00 2001 From: David Craven Date: Sun, 12 Jun 2016 20:34:46 +0200 Subject: gnu: kde-frameworks: Add bluez-qt. * gnu/packages/kde-frameworks.scm (bluez-qt): New variable. Co-authored-by: Hartmut Goebel --- gnu/packages/kde-frameworks.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 85d000bb2d..97114cf783 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -25,6 +25,7 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix utils) + #:use-module (gnu packages glib) #:use-module (gnu packages pkg-config) #:use-module (gnu packages qt) #:use-module (gnu packages xorg)) @@ -105,6 +106,40 @@ The REST API is defined here: http://freedesktop.org/wiki/Specifications/open-collaboration-services/") (license (list license:lgpl2.1+ license:lgpl3+)))) +(define-public bluez-qt + (package + (name "bluez-qt") + (version "5.24.0") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/frameworks/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "0gy0m7lcwwklf021l5i3v7j0cl7qz7cgvzrwpj87ix3kyw5xs80z")))) + (build-system cmake-build-system) + (native-inputs + `(("dbus" ,dbus) + ("extra-cmake-modules" ,extra-cmake-modules))) + (inputs + `(("qtbase" ,qtbase))) + (arguments + `(#:configure-flags + '("-DINSTALL_UDEV_RULE:BOOL=OFF") + #:phases + (modify-phases %standard-phases + (replace 'check + (lambda* _ + (setenv "DBUS_FATAL_WARNINGS" "0") + (zero? (system* "dbus-launch" "ctest" "."))))))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "QML wrapper for BlueZ") + (description "bluez-qt is a Qt-style library for accessing the bluez +Bluetooth stack. It is used by the KDE Bluetooth stack, BlueDevil.") + (license (list license:lgpl2.1+ license:lgpl3+)))) + (define-public kwindowsystem (package (name "kwindowsystem") -- cgit v1.2.3 From e510a263acf14284449b5bcb75db6935f51e8cad Mon Sep 17 00:00:00 2001 From: David Craven Date: Sun, 12 Jun 2016 20:35:09 +0200 Subject: gnu: kde-frameworks: Add breeze-icons. * gnu/packages/kde-frameworks.scm (breeze-icons): New variable. Co-authored-by: Hartmut Goebel --- gnu/packages/kde-frameworks.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 97114cf783..e6dc1aa5ab 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -140,6 +140,33 @@ http://freedesktop.org/wiki/Specifications/open-collaboration-services/") Bluetooth stack. It is used by the KDE Bluetooth stack, BlueDevil.") (license (list license:lgpl2.1+ license:lgpl3+)))) +(define-public breeze-icons + (package + (name "breeze-icons") + (version "5.24.0") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/frameworks/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "1dh7bijx99sdb3vn6394wmm5cq0fvvmz8h17sx4hakmbga849cx2")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules))) + (inputs + `(("qtbase" ,qtbase))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "Default KDE Plasma 5 icon theme") + (description "Breeze provides a freedesktop.org compatible icon theme. +It is the default icon theme for the KDE Plasma 5 desktop.") + ;; The license file mentions lgpl3+. The license files in the source + ;; directories are lgpl3, while the top directory contains the lgpl2.1. + ;; text. + (license license:lgpl3+))) + (define-public kwindowsystem (package (name "kwindowsystem") -- cgit v1.2.3 From 06a79865efe935c215d8e24bbfafb7413c7afdce Mon Sep 17 00:00:00 2001 From: David Craven Date: Sun, 12 Jun 2016 20:36:49 +0200 Subject: gnu: kde-frameworks: Add kapidox. * gnu/packages/kde-frameworks.scm (kapidox): New variable. Co-authored-by: Hartmut Goebel --- gnu/packages/kde-frameworks.scm | 44 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index e6dc1aa5ab..73ffb54347 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -27,6 +27,7 @@ #:use-module (guix utils) #:use-module (gnu packages glib) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages python) #:use-module (gnu packages qt) #:use-module (gnu packages xorg)) @@ -167,6 +168,49 @@ It is the default icon theme for the KDE Plasma 5 desktop.") ;; text. (license license:lgpl3+))) +(define-public kapidox + (package + (name "kapidox") + (version "5.24.0") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/frameworks/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "19a7alvn71nxflsyi7y3hghx1iw04qqc77qy54mcxcpkiyvpsggf")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f)) ; has no test target + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules))) + (propagated-inputs + ;; kapidox is a python programm + ;; TODO: check if doxygen has to be installed, the readme does not + ;; mention it. The openSuse .rpm lists doxygen, graphviz, graphviz-gd, + ;; and python-xml. + `(("python" ,python) + ("python-jinja2" ,python-jinja2) + ("python-pyyaml" ,python-pyyaml))) + (inputs + `(("qtbase" ,qtbase))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "KDE Doxygen Tools") + + (description "This framework contains scripts and data for building API +documentation (dox) in a standard format and style for KDE. + +For the actual documentation extraction and formatting the Doxygen tool is +used, but this framework provides a wrapper script to make generating the +documentation more convenient (including reading settings from the target +framework or other module) and a standard template for the generated +documentation.") + ;; Most parts are bsd-2, but incuded jquery is expat + ;; This list is taken from http://packaging.neon.kde.org/cgit/ + (license (list license:bsd-2 license:expat)))) + (define-public kwindowsystem (package (name "kwindowsystem") -- cgit v1.2.3 From f90b81a5f08219592b863dfb6e769a9ce9496dc6 Mon Sep 17 00:00:00 2001 From: David Craven Date: Sun, 12 Jun 2016 20:37:40 +0200 Subject: gnu: kde-frameworks: Add karchive. * gnu/packages/kde-frameworks.scm (karchive): New variable. Co-authored-by: Hartmut Goebel --- gnu/packages/kde-frameworks.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 73ffb54347..d11d9f18cc 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -25,6 +25,7 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix utils) + #:use-module (gnu packages compression) #:use-module (gnu packages glib) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) @@ -211,6 +212,40 @@ documentation.") ;; This list is taken from http://packaging.neon.kde.org/cgit/ (license (list license:bsd-2 license:expat)))) +(define-public karchive + (package + (name "karchive") + (version "5.24.0") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/frameworks/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "1n5nfhrfvqnrdjgjjy7arqik4fya5bp3dvxa16mlhqr19azkavzq")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules))) + (inputs + `(("bzip2" ,bzip2) + ("qtbase" ,qtbase) + ("xz" ,xz) + ("zlib" ,zlib))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "Qt 5 addon providing access to numerous types of archives") + (description "KArchive provides classes for easy reading, creation and +manipulation of 'archive' formats like ZIP and TAR. + +It also provides transparent compression and decompression of data, like the +GZip format, via a subclass of QIODevice.") + ;; The included licenses is are gpl2 and lgpl2.1, but the sources are + ;; under a variety of licenses. + ;; This list is taken from http://packaging.neon.kde.org/cgit/ + (license (list license:lgpl2.1 license:lgpl2.1+ + license:lgpl3+ license:bsd-2)))) + (define-public kwindowsystem (package (name "kwindowsystem") -- cgit v1.2.3 From 5c86352adaa422453b7c67e5a0cc5abe68b1d088 Mon Sep 17 00:00:00 2001 From: David Craven Date: Sun, 12 Jun 2016 20:38:19 +0200 Subject: gnu: kde-frameworks: Add kcodecs. * gnu/packages/kde-frameworks.scm (kcodecs): New variable. Co-authored-by: Hartmut Goebel --- gnu/packages/kde-frameworks.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index d11d9f18cc..3fcd5141bc 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -246,6 +246,41 @@ GZip format, via a subclass of QIODevice.") (license (list license:lgpl2.1 license:lgpl2.1+ license:lgpl3+ license:bsd-2)))) +(define-public kcodecs + (package + (name "kcodecs") + (version "5.24.0") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/frameworks/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "1qpzjh3qc2zz80j2bmlinipbispms14k9bmqw8v61zhi6in9z14c")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules) + ("qttools" ,qttools))) + (inputs + `(("qtbase" ,qtbase))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "String encoding and manipulating library") + (description "KCodecs provide a collection of methods to manipulate +strings using various encodings. + +It can automatically determine the charset of a string, translate XML +entities, validate email addresses, and find encodings by name in a more +tolerant way than QTextCodec (useful e.g. for data coming from the +Internet).") + ;; The included licenses is are gpl2 and lgpl2.1, but the sources are + ;; under a variety of licenses. + ;; This list is taken from http://packaging.neon.kde.org/cgit/ + (license (list license:gpl2 license:gpl2+ license:bsd-2 + license:lgpl2.1 license:lgpl2.1+ license:expat + license:lgpl3+ license:mpl1.1)))) + (define-public kwindowsystem (package (name "kwindowsystem") -- cgit v1.2.3 From 594c7f35bc302181cad8fc4baeb10e043e3f15d3 Mon Sep 17 00:00:00 2001 From: David Craven Date: Sun, 12 Jun 2016 20:38:57 +0200 Subject: gnu: kde-frameworks: Add kconfig. * gnu/packages/kde-frameworks.scm (kconfig): New variable. Co-authored-by: Hartmut Goebel --- gnu/packages/kde-frameworks.scm | 68 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 3fcd5141bc..b4d4dc1f7d 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -25,6 +25,7 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix utils) + #:use-module (gnu packages admin) #:use-module (gnu packages compression) #:use-module (gnu packages glib) #:use-module (gnu packages pkg-config) @@ -281,6 +282,73 @@ Internet).") license:lgpl2.1 license:lgpl2.1+ license:expat license:lgpl3+ license:mpl1.1)))) +(define-public kconfig + (package + (name "kconfig") + (version "5.24.0") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/frameworks/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "1dc2i6icyigw1j6qxgdza6j2g8afh390qmxsa2a54mwl84fkfmxv")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules) + ("inetutils" ,inetutils) + ("qttools" ,qttools) + ("xorg-server" ,xorg-server))) + (inputs + `(("qtbase" ,qtbase))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'check-setup + (lambda* _ + (setenv "HOME" (getcwd)) + (setenv "TMPDIR" (getcwd)) + #t)) + (add-before 'check 'start-xorg-server + (lambda* (#:key inputs #:allow-other-keys) + ;; The test suite requires a running X server. + (system (string-append (assoc-ref inputs "xorg-server") + "/bin/Xvfb :1 &")) + (setenv "DISPLAY" ":1") + #t))))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "Kconfiguration settings framework for Qt") + (description "KConfig provides an advanced configuration system. +It is made of two parts: KConfigCore and KConfigGui. + +KConfigCore provides access to the configuration files themselves. +It features: + +@itemize +@item Code generation: describe your configuration in an XML file, and use +`kconfig_compiler to generate classes that read and write configuration +entries. + +@item Cascading configuration files (global settings overridden by local +settings). + +@item Optional shell expansion support (see docs/options.md). + +@item The ability to lock down configuration options (see docs/options.md). +@end itemize + +KConfigGui provides a way to hook widgets to the configuration so that they +are automatically initialized from the configuration and automatically +propagate their changes to their respective configuration files.") + ;; The included licenses is are gpl2 and lgpl2.1, but the sources are + ;; under a variety of licenses. + ;; This list is taken from http://packaging.neon.kde.org/cgit/ + (license (list license:lgpl2.1 license:lgpl2.1+ license:expat + license:lgpl3+ license:gpl1 ; licende:mit-olif + license:bsd-2 license:bsd-3)))) + (define-public kwindowsystem (package (name "kwindowsystem") -- cgit v1.2.3 From f3f250ad32cfd75e242ca6e5cf091bcab96c9c8f Mon Sep 17 00:00:00 2001 From: David Craven Date: Sun, 12 Jun 2016 20:39:34 +0200 Subject: gnu: kde-frameworks: Add kcoreaddons. * gnu/packages/kde-frameworks.scm (kcoreaddons): New variable. Co-authored-by: Hartmut Goebel --- gnu/packages/kde-frameworks.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index b4d4dc1f7d..390c3e589a 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -349,6 +349,44 @@ propagate their changes to their respective configuration files.") license:lgpl3+ license:gpl1 ; licende:mit-olif license:bsd-2 license:bsd-3)))) +(define-public kcoreaddons + (package + (name "kcoreaddons") + (version "5.24.0") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/frameworks/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "06sx7by3nvaridnavj5p0bxv4nh47n708jlacfw8ydaikmd9i03h")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules) + ("qttools" ,qttools) + ("xorg-server" ,xorg-server))) ; for the tests + (inputs + `(("qtbase" ,qtbase))) + (arguments + `(#:tests? #f ; FIXME: Test failure caused by stout/stderr being interleaved. + #:phases + (modify-phases %standard-phases + (add-before 'check 'check-setup + (lambda* _ + (setenv "CTEST_OUTPUT_ON_FAILURE" "1") ; enable debug output + (setenv "HOME" (getcwd)) + (setenv "TMPDIR" (getcwd))))))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "Qt addon library with a collection of non-GUI utilities") + (description "KCoreAddons provides classes built on top of QtCore to +perform various tasks such as manipulating mime types, autosaving files, +creating backup files, generating random sequences, performing text +manipulations such as macro replacement, accessing user information and +many more.") + (license (list license:lgpl2.0+ license:lgpl2.1+)))) + (define-public kwindowsystem (package (name "kwindowsystem") -- cgit v1.2.3 From 02613cf54a2aefeb066d05a4090d6f3ed50ff903 Mon Sep 17 00:00:00 2001 From: David Craven Date: Sun, 12 Jun 2016 20:39:58 +0200 Subject: gnu: kde-frameworks: Add kdbusaddons. * gnu/packages/kde-frameworks.scm (kdbusaddons): New variable. Co-authored-by: Hartmut Goebel --- gnu/packages/kde-frameworks.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 390c3e589a..e9938095a3 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -387,6 +387,42 @@ manipulations such as macro replacement, accessing user information and many more.") (license (list license:lgpl2.0+ license:lgpl2.1+)))) +(define-public kdbusaddons + (package + (name "kdbusaddons") + (version "5.24.0") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/frameworks/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "183nxqrhz4qk4qfp1w4an0scp2dvfqcaqbpg4cgbgk0z590q0pkk")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules) + ("dbus" ,dbus) + ("qttools" ,qttools))) + (inputs + `(("qtbase" ,qtbase) + ("qtx11extras" ,qtx11extras))) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* _ + (setenv "DBUS_FATAL_WARNINGS" "0") + (zero? (system* "dbus-launch" "ctest" "."))))))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "Convenience classes for DBus") + (description "KDBusAddons provides convenience classes on top of QtDBus, +as well as an API to create KDED modules.") + ;; Some source files mention lgpl2.0+, but the included license is + ;; the lgpl2.1. Some source files are under non-copyleft licenses. + (license license:lgpl2.1+))) + (define-public kwindowsystem (package (name "kwindowsystem") -- cgit v1.2.3 From 3dbb816a5f8e8d5ddbb04f409adaf4adef4d0d9b Mon Sep 17 00:00:00 2001 From: David Craven Date: Sun, 12 Jun 2016 20:40:20 +0200 Subject: gnu: kde-frameworks: Add kdnssd. * gnu/packages/kde-frameworks.scm (kdnssd): New variable. Co-authored-by: Hartmut Goebel --- gnu/packages/kde-frameworks.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index e9938095a3..217ce8945e 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -423,6 +423,33 @@ as well as an API to create KDED modules.") ;; the lgpl2.1. Some source files are under non-copyleft licenses. (license license:lgpl2.1+))) +(define-public kdnssd + (package + (name "kdnssd") + (version "5.24.0") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/frameworks/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "01b650g031apxc3vd2m91g2fxqk9l8ap67z6rafniphfwy8i0d5m")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules) + ("qttools" ,qttools))) + (inputs + `(("qtbase" ,qtbase))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "Network service discovery using Zeroconf") + (description "KDNSSD is a library for handling the DNS-based Service +Discovery Protocol (DNS-SD), the layer of Zeroconf that allows network services, +such as printers, to be discovered without any user intervention or centralized +infrastructure.") + (license license:lgpl2.1+))) + (define-public kwindowsystem (package (name "kwindowsystem") -- cgit v1.2.3 From 7a150b4d745900abde2ca31a86ededf37496dd27 Mon Sep 17 00:00:00 2001 From: David Craven Date: Sun, 12 Jun 2016 20:41:53 +0200 Subject: gnu: kde-frameworks: Add kguiaddons. * gnu/packages/kde-frameworks.scm (kguiaddons): New variable. Co-authored-by: Hartmut Goebel --- gnu/packages/kde-frameworks.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 217ce8945e..1ccb8ea192 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -450,6 +450,41 @@ such as printers, to be discovered without any user intervention or centralized infrastructure.") (license license:lgpl2.1+))) +(define-public kguiaddons + (package + (name "kguiaddons") + (version "5.24.0") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/frameworks/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "0ig96ah20ybg5rwpswj9va2klvkh2q4amwxmgy3z4niwfsm2g3ic")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules) + ("xorg-server" ,xorg-server))) + (inputs + `(("qtbase" ,qtbase))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'start-xorg-server + (lambda* (#:key inputs #:allow-other-keys) + ;; The test suite requires a running X server. + (system (string-append (assoc-ref inputs "xorg-server") + "/bin/Xvfb :1 &")) + (setenv "DISPLAY" ":1") + #t))))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "Utilities for graphical user interfaces") + (description "The KDE GUI addons provide utilities for graphical user +interfaces in the areas of colors, fonts, text, images, keyboard input.") + (license (list license:gpl2+ license:lgpl2.1+)))) + (define-public kwindowsystem (package (name "kwindowsystem") -- cgit v1.2.3 From 4f4afb63c7094b6b95ea19e2d84bf5342be1dabb Mon Sep 17 00:00:00 2001 From: David Craven Date: Sun, 12 Jun 2016 20:42:17 +0200 Subject: gnu: kde-frameworks: Add ki18n. * gnu/packages/kde-frameworks.scm (ki18n): New variable. Co-authored-by: Hartmut Goebel --- gnu/packages/kde-frameworks.scm | 43 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 1ccb8ea192..4d9d18eae8 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -27,6 +27,7 @@ #:use-module (guix utils) #:use-module (gnu packages admin) #:use-module (gnu packages compression) + #:use-module (gnu packages gettext) #:use-module (gnu packages glib) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) @@ -485,6 +486,48 @@ infrastructure.") interfaces in the areas of colors, fonts, text, images, keyboard input.") (license (list license:gpl2+ license:lgpl2.1+)))) +(define-public ki18n + (package + (name "ki18n") + (version "5.24.0") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/frameworks/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "0cw24spmwsqa3ppkw03cm6yjd3sfll0dbbk2ya76fd4nw9hb00dv")))) + (build-system cmake-build-system) + (propagated-inputs + `(("gettext" ,gnu-gettext) + ("python" ,python))) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules))) + (inputs + `(("qtbase" ,qtbase) + ("qtdeclarative" ,qtdeclarative) + ("qtscript" ,qtscript))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'check-setup + (lambda* _ + (setenv "HOME" (getcwd))))))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "KDE Gettext-based UI text internationalization") + (description "KI18n provides functionality for internationalizing user +interface text in applications, based on the GNU Gettext translation system. It +wraps the standard Gettext functionality, so that the programmers and translators +can use the familiar Gettext tools and workflows. + +KI18n provides additional functionality as well, for both programmers and +translators, which can help to achieve a higher overall quality of source and +translated text. This includes argument capturing, customizable markup, and +translation scripting.") + (license license:lgpl2.1+))) + (define-public kwindowsystem (package (name "kwindowsystem") -- cgit v1.2.3 From 8cb7bab991100cf9e395130ad717f82815ffc902 Mon Sep 17 00:00:00 2001 From: David Craven Date: Sun, 12 Jun 2016 20:42:36 +0200 Subject: gnu: kde-frameworks: Add kidletime. * gnu/packages/kde-frameworks.scm (kidletime): New variable. Co-authored-by: Hartmut Goebel --- gnu/packages/kde-frameworks.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 4d9d18eae8..ae2be05ca7 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -528,6 +528,33 @@ translated text. This includes argument capturing, customizable markup, and translation scripting.") (license license:lgpl2.1+))) +(define-public kidletime + (package + (name "kidletime") + (version "5.24.0") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/frameworks/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "09jsj0pj27h93nr8v46savs6b93h8frydinfr7wlijkvpsl02jb4")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules))) + (inputs + `(("qtbase" ,qtbase) + ("qtx11extras" ,qtx11extras))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "Reporting of idle time of user and system") + (description "KIdleTime is a singleton reporting information on idle time. +It is useful not only for finding out about the current idle time of the PC, +but also for getting notified upon idle time events, such as custom timeouts, +or user activity.") + (license (list license:gpl2+ license:lgpl2.1+)))) + (define-public kwindowsystem (package (name "kwindowsystem") -- cgit v1.2.3 From 803f30d7a5085928113c3d042eabc09de615bbfe Mon Sep 17 00:00:00 2001 From: David Craven Date: Sun, 12 Jun 2016 20:46:33 +0200 Subject: gnu: kde-frameworks: Add kitemmodels. * gnu/packages/kde-frameworks.scm (kitemmodels): New variable. Co-authored-by: Hartmut Goebel --- gnu/packages/kde-frameworks.scm | 61 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index ae2be05ca7..816b9bc429 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -555,6 +555,67 @@ but also for getting notified upon idle time events, such as custom timeouts, or user activity.") (license (list license:gpl2+ license:lgpl2.1+)))) +(define-public kitemmodels + (package + (name "kitemmodels") + (version "5.24.0") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/frameworks/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "1s1p4nw1pqdzbdwvjnka17p9avf00wadr437p4f96md1lvh3sh69")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules) + ("xorg-server" ,xorg-server))) + (inputs + `(("qtbase" ,qtbase))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'start-xorg-server + (lambda* (#:key inputs #:allow-other-keys) + ;; The test suite requires a running X server. + (system (string-append (assoc-ref inputs "xorg-server") + "/bin/Xvfb :1 &")) + (setenv "DISPLAY" ":1") + #t))))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "Set of item models extending the Qt model-view framework") + (description "KItemModels provides the following models: + +@itemize +@item KBreadcrumbSelectionModel - Selects the parents of selected items to +create breadcrumbs. + +@item KCheckableProxyModel - Adds a checkable capability to a source model. + +@item KConcatenateRowsProxyModel - Concatenates rows from multiple source models. + +@item KDescendantsProxyModel - Proxy Model for restructuring a Tree into a list. + +@item KExtraColumnsProxyModel - Adds columns after existing columns. + +@item KLinkItemSelectionModel - Share a selection in multiple views which do +not have the same source model. + +@item KModelIndexProxyMapper - Mapping of indexes and selections through proxy +models. + +@item KRearrangeColumnsProxyModel - Can reorder and hide columns from the source +model. + +@item KRecursiveFilterProxyModel - Recursive filtering of models. + +@item KSelectionProxyModel - A Proxy Model which presents a subset of its source +model to observers +@end itemize") + (license license:lgpl2.1+))) + (define-public kwindowsystem (package (name "kwindowsystem") -- cgit v1.2.3 From d2e4c02d36503ced72e038f57150b559c1920902 Mon Sep 17 00:00:00 2001 From: David Craven Date: Sun, 12 Jun 2016 20:47:13 +0200 Subject: gnu: kde-frameworks: Add kitemviews. * gnu/packages/kde-frameworks.scm (kitemviews): New variable. Co-authored-by: Hartmut Goebel --- gnu/packages/kde-frameworks.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 816b9bc429..619ef58eae 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -616,6 +616,46 @@ model to observers @end itemize") (license license:lgpl2.1+))) +(define-public kitemviews + (package + (name "kitemviews") + (version "5.24.0") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/frameworks/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "0y3fx9hk1x27arrmwfzq783a44cs7p8dpmhxrwzh0di4mwa8jafw")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules) + ("qttools" ,qttools) + ("xorg-server" ,xorg-server))) + (inputs + `(("qtbase" ,qtbase))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'check-setup + (lambda* _ + (setenv "DBUS_FATAL_WARNINGS" "0"))) + (add-before 'check 'start-xorg-server + (lambda* (#:key inputs #:allow-other-keys) + ;; The test suite requires a running X server. + (system (string-append (assoc-ref inputs "xorg-server") + "/bin/Xvfb :1 &")) + (setenv "DISPLAY" ":1") + #t))))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "Set of item views extending the Qt model-view framework") + (description "KItemViews includes a set of views, which can be used with +item models. It includes views for categorizing lists and to add search filters +to flat and hierarchical lists.") + (license (list license:gpl2+ license:lgpl2.1+)))) + (define-public kwindowsystem (package (name "kwindowsystem") -- cgit v1.2.3 From a51cdaefbc7a31f3c978629588669aba8bd2c456 Mon Sep 17 00:00:00 2001 From: David Craven Date: Sun, 12 Jun 2016 20:47:45 +0200 Subject: gnu: kde-frameworks: Add kplotting. * gnu/packages/kde-frameworks.scm (kplotting): New variable. Co-authored-by: Hartmut Goebel --- gnu/packages/kde-frameworks.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 619ef58eae..ff16f875dd 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -656,6 +656,44 @@ item models. It includes views for categorizing lists and to add search filters to flat and hierarchical lists.") (license (list license:gpl2+ license:lgpl2.1+)))) +(define-public kplotting + (package + (name "kplotting") + (version "5.24.0") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/frameworks/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "0gpypq9kh4b5s6dc7py3m117k3nbxczsfkxgxd9zxvr35kig7ya2")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules) + ("xorg-server" ,xorg-server))) + (inputs + `(("qtbase" ,qtbase))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'start-xorg-server + (lambda* (#:key inputs #:allow-other-keys) + ;; The test suite requires a running X server. + (system (string-append (assoc-ref inputs "xorg-server") + "/bin/Xvfb :1 &")) + (setenv "DISPLAY" ":1") + #t))))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "Data plotting library") + (description "KPlotWidget is a QWidget-derived class that provides a virtual +base class for easy data-plotting. The idea behind KPlotWidget is that you only +have to specify information in \"data units\", the natural units of the +data being plotted. KPlotWidget automatically converts everything to screen +pixel units.") + (license license:lgpl2.1+))) + (define-public kwindowsystem (package (name "kwindowsystem") -- cgit v1.2.3 From d5348b3fee697e567a3cd073c4347969721396a4 Mon Sep 17 00:00:00 2001 From: David Craven Date: Sun, 12 Jun 2016 20:48:51 +0200 Subject: gnu: kde-frameworks: Add kwayland. * gnu/packages/kde-frameworks.scm (kwayland): New variable. Co-authored-by: Hartmut Goebel --- gnu/packages/kde-frameworks.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index ff16f875dd..bd79b5bd5c 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -694,6 +694,44 @@ data being plotted. KPlotWidget automatically converts everything to screen pixel units.") (license license:lgpl2.1+))) +(define-public kwayland + (package + (name "kwayland") + (version "5.24.0") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/frameworks/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "1h5anbqrxcl1s8kx1l53vcsfr8ifamcjqd47dk8a7lwr1ga6myq2")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules) + ("pkg-config" ,pkg-config))) + (inputs + `(("qtbase" ,qtbase) + ("wayland" ,wayland))) + (arguments + `(#:tests? #f ; FIXME tests require weston to run + ; weston requires wayland flags in mesa + #:phases + (modify-phases %standard-phases + (add-before 'check 'check-setup + (lambda* _ + (setenv "XDG_RUNTIME_DIR" "/tmp")))))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "Qt-style API to interact with the wayland client and server") + (description "As the names suggest they implement a Client respectively a +Server API for the Wayland protocol. The API is Qt-styled removing the needs to +interact with a for a Qt developer uncomfortable low-level C-API. For example +the callback mechanism from the Wayland API is replaced by signals, data types +are adjusted to be what a Qt developer expects - two arguments of int are +represented by a QPoint or a QSize.") + (license license:lgpl2.1+))) + (define-public kwindowsystem (package (name "kwindowsystem") -- cgit v1.2.3 From 5e22e8ed4d5df29dd199abd65f90d670ae43ea19 Mon Sep 17 00:00:00 2001 From: David Craven Date: Sun, 12 Jun 2016 20:49:12 +0200 Subject: gnu: kde-frameworks: Add kwidgetsaddons. * gnu/packages/kde-frameworks.scm (kwidgetsaddons): New variable. Co-authored-by: Hartmut Goebel --- gnu/packages/kde-frameworks.scm | 44 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index bd79b5bd5c..25b6a67e50 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -732,6 +732,50 @@ are adjusted to be what a Qt developer expects - two arguments of int are represented by a QPoint or a QSize.") (license license:lgpl2.1+))) +(define-public kwidgetsaddons + (package + (name "kwidgetsaddons") + (version "5.24.0") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/frameworks/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "1kppx0ppfhnb6q6sijs2dffyar86wkkx8miqavsjsgw1l2wiymcx")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules) + ("qttools" ,qttools) + ("xorg-server" ,xorg-server))) + (inputs + `(("qtbase" ,qtbase))) + (arguments + `(#:tests? #f ; FIXME: libGL error: failed to load driver: swrast. + #:phases + (modify-phases %standard-phases + (add-before 'check 'check-setup + (lambda* _ + (setenv "CTEST_OUTPUT_ON_FAILURE" "1") ; enable debug output + (setenv "LIBGL_DEBUG" "verbose") ; enable debug output + (setenv "DBUS_FATAL_WARNINGS" "0"))) + (add-before 'check 'start-xorg-server + (lambda* (#:key inputs #:allow-other-keys) + ;; The test suite requires a running X server. + (system (string-append (assoc-ref inputs "xorg-server") + "/bin/Xvfb :1 &")) + (setenv "DISPLAY" ":1") + #t))))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "Large set of desktop widgets") + (description "Provided are action classes that can be added to toolbars or +menus, a wide range of widgets for selecting characters, fonts, colors, actions, +dates and times, or MIME types, as well as platform-aware dialogs for +configuration pages, message boxes, and password requests.") + (license (list license:gpl2+ license:lgpl2.1+)))) + (define-public kwindowsystem (package (name "kwindowsystem") -- cgit v1.2.3 From 208094b49a297c178e9b5eef41edd0d9d273ea5e Mon Sep 17 00:00:00 2001 From: David Craven Date: Sun, 12 Jun 2016 20:49:54 +0200 Subject: gnu: kde-frameworks: Add modemmanager-qt. * gnu/packages/kde-frameworks.scm (modemmanager-qt): New variable. Co-authored-by: Hartmut Goebel --- gnu/packages/kde-frameworks.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 25b6a67e50..f38d5f1927 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -27,6 +27,7 @@ #:use-module (guix utils) #:use-module (gnu packages admin) #:use-module (gnu packages compression) + #:use-module (gnu packages freedesktop) #:use-module (gnu packages gettext) #:use-module (gnu packages glib) #:use-module (gnu packages pkg-config) @@ -816,6 +817,42 @@ lower level classes for interaction with the X Windowing System.") ;; the lgpl2.1. Some source files are under non-copyleft licenses. (license license:lgpl2.1+))) +(define-public modemmanager-qt + (package + (name "modemmanager-qt") + (version "5.24.0") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/frameworks/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "0khz5bf84xxa8aqpzwb6x839xx6dbiadwqhyj7cvgha65fh2xinh")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules) + ("dbus" ,dbus) + ("pkg-config" ,pkg-config))) + (inputs + `(("modem-manager", modem-manager) + ("qtbase" ,qtbase))) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* _ + (setenv "DBUS_FATAL_WARNINGS" "0") + (zero? (system* "dbus-launch" "ctest" "."))))))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "Qt wrapper for ModemManager DBus API") + (description "ModemManagerQt provides access to all ModemManager features +exposed on DBus. It allows you to manage modem devices and access to +information available for your modem devices, like signal, location and +messages.") + (license license:lgpl2.1+))) + (define-public oxygen-icons (package (name "oxygen-icons") -- cgit v1.2.3 From 864c25f469ee3ada4bedc7aad8bede50d1bda035 Mon Sep 17 00:00:00 2001 From: David Craven Date: Mon, 1 Aug 2016 19:00:19 +0200 Subject: gnu: kde-frameworks: Add networkmanager-qt. * gnu/packages/kde-frameworks (networkmanager-qt): New variable. Co-authored-by: Hartmut Goebel --- gnu/packages/kde-frameworks.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index f38d5f1927..96bdd957d6 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -30,6 +30,7 @@ #:use-module (gnu packages freedesktop) #:use-module (gnu packages gettext) #:use-module (gnu packages glib) + #:use-module (gnu packages gnome) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages qt) @@ -853,6 +854,42 @@ information available for your modem devices, like signal, location and messages.") (license license:lgpl2.1+))) +(define-public networkmanager-qt + (package + (name "networkmanager-qt") + (version "5.24.0") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/frameworks/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "11wy0ds0hqbba900ggkcxjfqc9n65xlzc3h1zv9433nn5d75v6fy")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules) + ("dbus" ,dbus) + ("pkg-config" ,pkg-config))) + (inputs + `(("network-manager", network-manager) + ("qtbase" ,qtbase))) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* _ + (setenv "DBUS_FATAL_WARNINGS" "0") + (zero? (system* "dbus-launch" "ctest" "."))))))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "Qt wrapper for NetworkManager DBus API") + (description "NetworkManagerQt provides access to all NetworkManager +features exposed on DBus. It allows you to manage your connections and control +your network devices and also provides a library for parsing connection settings +which are used in DBus communication.") + (license license:lgpl2.1+))) + (define-public oxygen-icons (package (name "oxygen-icons") -- cgit v1.2.3 From 9fd502cee54d98dd5d9ba5fbb2ad7ad7f4f936d8 Mon Sep 17 00:00:00 2001 From: David Craven Date: Sun, 12 Jun 2016 20:52:18 +0200 Subject: gnu: kde-frameworks: Add solid. * gnu/packages/kde-frameworks.scm (solid): New variable. Co-authored-by: Hartmut Goebel --- gnu/packages/kde-frameworks.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 96bdd957d6..c0914e39d6 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -26,11 +26,13 @@ #:use-module (guix packages) #:use-module (guix utils) #:use-module (gnu packages admin) + #:use-module (gnu packages bison) #:use-module (gnu packages compression) #:use-module (gnu packages freedesktop) #:use-module (gnu packages gettext) #:use-module (gnu packages glib) #:use-module (gnu packages gnome) + #:use-module (gnu packages linux) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages qt) @@ -912,3 +914,31 @@ which are used in DBus communication.") (synopsis "Oxygen provides the standard icon theme for the KDE desktop") (description "Oxygen icon theme for the KDE desktop") (license license:lgpl3+))) + +(define-public solid + (package + (name "solid") + (version "5.24.0") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/frameworks/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "00wvsxcnvhdx7ijzpcz5wny2ypkxr1drdpr4yvawgpwa678l1107")))) + (build-system cmake-build-system) + (native-inputs + `(("bison" ,bison) + ("extra-cmake-modules" ,extra-cmake-modules) + ("qttools" ,qttools))) + (inputs + `(("qtbase" ,qtbase) + ("udev" ,eudev))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "Desktop hardware abstraction") + (description "Solid is a device integration framework. It provides a way of +querying and interacting with hardware independently of the underlying operating +system.") + (license license:lgpl2.1+))) -- cgit v1.2.3 From 39e547f219c68eec7e144dbf7e062511d347c94d Mon Sep 17 00:00:00 2001 From: David Craven Date: Sun, 12 Jun 2016 20:52:43 +0200 Subject: gnu: kde-frameworks: Add sonnet. * gnu/packages/kde-frameworks.scm (sonnet): New variable. Co-authored-by: Hartmut Goebel --- gnu/packages/kde-frameworks.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index c0914e39d6..7bd44ec5d7 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -942,3 +942,29 @@ which are used in DBus communication.") querying and interacting with hardware independently of the underlying operating system.") (license license:lgpl2.1+))) + +(define-public sonnet + (package + (name "sonnet") + (version "5.24.0") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/frameworks/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "152xz7fb1iwhb5w1n4xqvc648iaxi0inrl4kavxcsir61das1xyl")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules) + ("qttools" ,qttools))) + (inputs + `(("qtbase" ,qtbase))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "Multi-language spell checker") + (description "Sonnet is a plugin-based spell checking library for Qt-based +applications. It supports several different plugins, including HSpell, Enchant, +ASpell and HUNSPELL.") + (license license:lgpl2.1+))) -- cgit v1.2.3 From 60f75c8f21ace819e4b24f99311e5741eafe52cd Mon Sep 17 00:00:00 2001 From: David Craven Date: Sun, 12 Jun 2016 20:53:19 +0200 Subject: gnu: kde-frameworks: Add threadweaver. * gnu/packages/kde-frameworks.scm (threadweaver): New variable. Co-authored-by: Hartmut Goebel --- gnu/packages/kde-frameworks.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 7bd44ec5d7..a679c64314 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -968,3 +968,27 @@ system.") applications. It supports several different plugins, including HSpell, Enchant, ASpell and HUNSPELL.") (license license:lgpl2.1+))) + +(define-public threadweaver + (package + (name "threadweaver") + (version "5.24.0") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/frameworks/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "02g60zr9cc4bg1p90giich4n0qvqaiakz0y94qrnyj9f7fg0yksl")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules))) + (inputs + `(("qtbase" ,qtbase))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "Helper for multithreaded programming") + (description "ThreadWeaver is a helper for multithreaded programming. It +uses a job-based interface to queue tasks and execute them in an efficient way.") + (license license:lgpl2.1+))) -- cgit v1.2.3 From b2122724fe58726c0503f5c5c2578b704685d5a6 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Sat, 13 Aug 2016 09:04:56 -0400 Subject: Revert "gnu: Add stagit." This reverts commit b3885778e8e438e8526a8ee9e96072fd00f5cae5. --- gnu/packages/version-control.scm | 35 ++--------------------------------- 1 file changed, 2 insertions(+), 33 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index f7167088ca..767715d1b1 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -9,7 +9,6 @@ ;;; Copyright © 2015, 2016 Efraim Flashner ;;; Copyright © 2015 Kyle Meyer ;;; Copyright © 2015 Ricardo Wurmus -;;; Coypright © 2016 ng0 ;;; ;;; This file is part of GNU Guix. ;;; @@ -28,8 +27,8 @@ (define-module (gnu packages version-control) #:use-module ((guix licenses) - #:select (asl2.0 bsd-2 bsd-3 expat - gpl1+ gpl2 gpl2+ gpl3+ isc lgpl2.1 + #:select (asl2.0 bsd-2 bsd-3 + gpl1+ gpl2 gpl2+ gpl3+ lgpl2.1 public-domain x11-style)) #:use-module (guix utils) #:use-module (guix packages) @@ -1251,33 +1250,3 @@ access and administration over HTTP CGI or via a built-in HTTP server. It has a built-in wiki, built-in file browsing, built-in tickets system, etc.") (license (list public-domain ;src/miniz.c, src/shell.c bsd-2)))) - -(define-public stagit - (package - (name "stagit") - (version "0.4") - (source (origin - (method url-fetch) - (uri (string-append "http://dl.2f30.org/releases/" - name "-" version ".tar.gz")) - (sha256 - (base32 - "0z5r06wqrfnsz24ci4hjqbd62svclvhkgzaq9npsyjcp6jnf7izc")))) - (build-system gnu-build-system) - (arguments - `(#:tests? #f ; no tests - #:make-flags (list "CC=gcc" - (string-append "PREFIX=" %output)) - #:phases - (modify-phases %standard-phases - (delete 'configure)))) ; no configure - (inputs - `(("libgit2" ,libgit2))) - (home-page "http://2f30.org") - (synopsis "Static Git web page generator") - (description "Stagit creates static web pages for Git repositories. The -results can be served with an HTTP server.") - ;; The source code distribution is Expat-licensed, but the source files - ;; 'reallocarray.c', 'strlcat.c', and 'strlcpy.c' are released under the ISC - ;; license. - (license (list expat isc)))) -- cgit v1.2.3 From 5895ca7bbbe324aa23fcf8c69dd71ed17cbd200e Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Fri, 5 Aug 2016 23:45:00 -0500 Subject: gnu: tuxpaint-config: Build sequentially. * gnu/packages/games.scm (tuxpaint-config)[arguments]: Add --- gnu/packages/games.scm | 1 + 1 file changed, 1 insertion(+) (limited to 'gnu/packages') diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 4ca59c804a..96aefbc3e4 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -2680,6 +2680,7 @@ with the \"Stamp\" tool within Tux Paint.") "CONFDIR=/etc/tuxpaint" ;don't write to store ,(string-append "PREFIX=" %output) "GNOME_PREFIX=$(PREFIX)") + #:parallel-build? #f ;race conditions #:tests? #f ;no tests #:phases (modify-phases %standard-phases (delete 'configure) ;no configure phase -- cgit v1.2.3 From b718bef08e807f21a8c080549e3c971183c5222c Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Tue, 2 Aug 2016 11:49:24 -0500 Subject: gnu: Add stress-make. * gnu/packages/debug.scm (stress-make): New variable. --- gnu/packages/debug.scm | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/debug.scm b/gnu/packages/debug.scm index 556a1051f1..9da8885fb3 100644 --- a/gnu/packages/debug.scm +++ b/gnu/packages/debug.scm @@ -20,10 +20,14 @@ #:use-module (guix packages) #:use-module (guix licenses) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix utils) #:use-module (guix build-system gnu) + #:use-module (gnu packages autotools) + #:use-module (gnu packages base) #:use-module (gnu packages bash) #:use-module (gnu packages flex) + #:use-module (gnu packages golang) #:use-module (gnu packages indent) #:use-module (gnu packages llvm) #:use-module (gnu packages perl) @@ -256,3 +260,59 @@ fuzzed code. The compact synthesized corpora produced by the tool are also useful for seeding other, more labor- or resource-intensive testing regimes down the road.") (license asl2.0)))) + +(define-public stress-make + (let ((commit "506e6cfd98d165f22bee91c408b7c20117a682c4") + (revision "0")) ;No official source distribution + (package + (name "stress-make") + (version (string-append "1.0-" revision "." (string-take commit 7))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/losalamos/stress-make.git") + (commit commit))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "1j330yqhc7plwin04qxbh8afpg5nfnw1xvnmh8rk6mmqg9w6ik70")))) + (build-system gnu-build-system) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("go" ,go))) + (inputs + `(("make-source" ,(package-source gnu-make)))) + (arguments + ;; stress-make's configure script insists on having a tarball and does + ;; not accept a directory name instead. To let the gnu-build-system's + ;; patch-* phases work properly, we unpack the source first, then + ;; repack before the configure phase. + `(#:configure-flags '("--with-make-tar=./make.tar.xz") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'unpack-make + (lambda* (#:key inputs #:allow-other-keys) + (zero? (system* "tar" "xf" (assoc-ref inputs "make-source"))))) + (add-before 'configure 'repack-make + (lambda _ + (zero? (system* "tar" "cJf" "./make.tar.xz" + (string-append "make-" + ,(package-version gnu-make)))))) + (add-before 'configure 'bootstrap + (lambda _ + (zero? (system* "autoreconf" "-vfi"))))))) + (home-page "https://github.com/losalamos/stress-make") + (synopsis "Expose race conditions in Makefiles") + (description + "Stress Make is a customized GNU Make that explicitely managess the +order in which concurrent jobs are run in order to provoke erroneous behavior +into becoming manifest. It can run jobs in the order they're launched, in +backwards order, or in random order. The thought is that if code builds +correctly with Stress Make then it is likely that the @code{Makefile} contains +no race conditions.") + ;; stress-make wrapper is under BSD-3-modifications-must-be-indicated, + ;; and patched GNU Make is under its own license. + (license (list (non-copyleft "COPYING.md") + (package-license gnu-make)))))) -- cgit v1.2.3 From d85b398bb77f6b9fddea1ee22181a6fd99163467 Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Thu, 11 Aug 2016 07:56:13 -0500 Subject: gnu: Add Aircrack-ng. * gnu/packages/networking.scm (aircrack-ng): New variable. --- gnu/packages/networking.scm | 55 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 77207c0e8a..1275a41738 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2016 Tobias Geerinckx-Rice ;;; Copyright © 2016 John Darrington ;;; Copyright © 2016 Nicolas Goaziou +;;; Copyright © 2016 Eric Bavier ;;; ;;; This file is part of GNU Guix. ;;; @@ -38,6 +39,7 @@ #:use-module (gnu packages bison) #:use-module (gnu packages check) #:use-module (gnu packages compression) + #:use-module (gnu packages databases) #:use-module (gnu packages flex) #:use-module (gnu packages gettext) #:use-module (gnu packages gnupg) @@ -46,6 +48,7 @@ #:use-module (gnu packages lua) #:use-module (gnu packages mit-krb5) #:use-module (gnu packages ncurses) + #:use-module (gnu packages pcre) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) @@ -415,6 +418,58 @@ by firewalls or when you want to monitor the response time of the actual web application stack itself.") (license license:gpl2))) ; with permission to link with OpenSSL +(define-public aircrack-ng + (package + (name "aircrack-ng") + (version "1.2-rc4") + (source + (origin + (method url-fetch) + (uri (string-append "http://download.aircrack-ng.org/aircrack-ng-" + version ".tar.gz")) + (sha256 + (base32 + "0dpzx9kddxpgzmgvdpl3rxn0jdaqhm5wxxndp1xd7d75mmmc2fnr")))) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("libgcrypt" ,libgcrypt) + ("libnl" ,libnl) + ("ethtool" ,ethtool) + ("pcre" ,pcre) + ("sqlite" ,sqlite) + ("zlib" ,zlib))) + (arguments + `(#:make-flags `("sqlite=true" + "gcrypt=true" + "libnl=true" + "pcre=true" + "experimental=true" ;build wesside-ng, etc. + "AVX2FLAG=N" "AVX1FLAG=N" "SSEFLAG=Y" + ,(string-append "prefix=" %output)) + #:phases (modify-phases %standard-phases + (delete 'configure) ;no configure phase + (add-after 'build 'absolutize-tools + (lambda* (#:key inputs #:allow-other-keys) + (let ((ethtool (string-append (assoc-ref inputs "ethtool") + "/sbin/ethtool"))) + (substitute* "scripts/airmon-ng" + (("\\[ ! -x \"\\$\\(command -v ethtool 2>&1)\" \\]") + (string-append "! " ethtool " --version " + ">/dev/null 2>&1")) + (("\\$\\(ethtool") + (string-append "$(" ethtool))) + #t)))))) + (home-page "http://www.aircrack-ng.org") + (synopsis "Assess WiFi network security") + (description + "Aircrack-ng is a complete suite of tools to assess WiFi network +security. It focuses on different areas of WiFi security: monitoring, +attacking, testing, and cracking. All tools are command-line driven, which +allows for heavy scripting.") + (license (list license:gpl2+ license:bsd-3)))) + (define-public perl-net-dns (package (name "perl-net-dns") -- cgit v1.2.3 From 91fd8dd2c5ebb8984cb939e4c12c4a0a1b07a86f Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sat, 13 Aug 2016 20:24:43 +0300 Subject: gnu: adns: Update to 1.5.1. * gnu/packages/adns.scm (adns): Update to 1.5.1. --- gnu/packages/adns.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/adns.scm b/gnu/packages/adns.scm index a6fbc1add8..81e51d8eb2 100644 --- a/gnu/packages/adns.scm +++ b/gnu/packages/adns.scm @@ -27,7 +27,7 @@ (define-public adns (package (name "adns") - (version "1.5.0") + (version "1.5.1") (source (origin (method url-fetch) (uri (list (string-append "mirror://gnu/adns/adns-" @@ -37,7 +37,7 @@ version ".tar.gz"))) (sha256 (base32 - "0hg89b5n84zjhzvbzrpvhl0hbm4s6d1z2pzllfis64ai656ypibz")))) + "1ssfh94ck6kn98nf2yy6743srpgqgd167va5ja3bwx42igqjc42v")))) (build-system gnu-build-system) (arguments ;; Make sure the programs under bin/ fine libadns.so. -- cgit v1.2.3 From a9a023ad4025cd4ed1085837cf32e0092cc71b37 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sat, 13 Aug 2016 21:17:08 +0300 Subject: gnu: claws-mail: Update to 3.14.0. * gnu/packages/mail.scm (claws-mail): Update to 3.14.0. --- gnu/packages/mail.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index dcfc9790ba..f289424a9d 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -628,7 +628,7 @@ MailCore 2.") (define-public claws-mail (package (name "claws-mail") - (version "3.13.2") + (version "3.14.0") (source (origin (method url-fetch) (uri (string-append @@ -636,7 +636,7 @@ MailCore 2.") ".tar.xz")) (sha256 (base32 - "1l8ankx0qpq1ix1an8viphcf11ksh53jsrm1xjmq8cjbh5910wva")))) + "0nfchgga3ir91s8rky0a0vnz8cgj2f6h716wh3cmb466a01xfss6")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config))) (inputs `(("bogofilter" ,bogofilter) -- cgit v1.2.3 From 602460ea2e64eff8d0238abbd08d12602b8a9a69 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sat, 13 Aug 2016 21:18:28 +0300 Subject: gnu: libetpan: Use 'modify-phases'. * gnu/packages/mail.scm (libetpan)[arguments]: Use 'modify-phases'. --- gnu/packages/mail.scm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index f289424a9d..0d8aa49cc1 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -608,12 +608,12 @@ useful features.") ("expat" ,expat) ("zlib" ,zlib))) (arguments - '(#:phases (alist-cons-after - 'unpack 'autogen - (lambda _ - (setenv "NOCONFIGURE" "true") - (zero? (system* "sh" "autogen.sh"))) - %standard-phases) + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'autogen + (lambda _ + (setenv "NOCONFIGURE" "true") + (zero? (system* "sh" "autogen.sh"))))) #:configure-flags '("--disable-static" "--disable-db"))) (home-page "http://www.etpan.org/libetpan.html") -- cgit v1.2.3 From 43d51239fe19d89cc4d39e45e0ee2fe8816005ad Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sat, 13 Aug 2016 23:16:00 +0300 Subject: gnu: libcaca: Add more image support. * gnu/packages/video.scm (libcaca)[inputs]: Add imlib2. --- gnu/packages/video.scm | 1 + 1 file changed, 1 insertion(+) (limited to 'gnu/packages') diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 32aa60bada..d5bc55d975 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -273,6 +273,7 @@ ASS/SSA (Advanced Substation Alpha/SubStation Alpha) subtitle format.") (inputs `(("freeglut" ,freeglut) ("ftgl" ,ftgl) + ("imlib2" ,imlib2) ("libx11" ,libx11) ("mesa" ,mesa) ("ncurses" ,ncurses) -- cgit v1.2.3 From 304cf4e7eed8082700ef7f63a3cd4c2bc93f2091 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Sat, 13 Aug 2016 18:32:39 -0400 Subject: gnu: git: Update to 2.9.3. * gnu/packages/version-control.scm (git): Update to 2.9.3. (git-manpages)[source]: Update hash. --- gnu/packages/version-control.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 767715d1b1..960ed560ff 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -113,14 +113,14 @@ as well as the classic centralized workflow.") ;; Keep in sync with 'git-manpages'! (package (name "git") - (version "2.9.2") + (version "2.9.3") (source (origin (method url-fetch) (uri (string-append "mirror://kernel.org/software/scm/git/git-" version ".tar.xz")) (sha256 (base32 - "1d9dmhgzcnwc2jbib4q23ypjbnw1gh1w8gif63qldwkpixj4dxgq")))) + "0qzs681a64k3shh5p0rg41l1z16fbk5sj0xga45k34hp1hsp654z")))) (build-system gnu-build-system) (native-inputs `(("native-perl" ,perl) @@ -295,7 +295,7 @@ everything from small to very large projects with speed and efficiency.") version ".tar.xz")) (sha256 (base32 - "08y38w6yfvrpgj10dl3vghp05xjpl8jj37kkfna2nhf0wip52p2c")))) + "0kabsmjfbvq4y1vlwq0yl2y4033a90rnwsq01d7np3cvy55fiq0l")))) (build-system trivial-build-system) (arguments '(#:modules ((guix build utils)) -- cgit v1.2.3 From 29d907572771d0d3d6418f5bf1d50aab931b4288 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Mon, 18 Jul 2016 14:48:55 -0400 Subject: gnu: gnupg-1: Use modify-phases syntax. * gnu/packages/gnupg.scm (gnupg-1)[arguments]: Use modify-phases syntax. --- gnu/packages/gnupg.scm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm index 9bc7b65108..c411973fea 100644 --- a/gnu/packages/gnupg.scm +++ b/gnu/packages/gnupg.scm @@ -319,12 +319,12 @@ libskba (working with X.509 certificates and CMS data).") ("readline" ,readline) ("libgpg-error" ,libgpg-error))) (arguments - `(#:phases (alist-cons-after - 'unpack 'patch-check-sh - (lambda _ - (substitute* "checks/Makefile.in" - (("/bin/sh") (which "bash")))) - %standard-phases))))) + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-check-sh + (lambda _ + (substitute* "checks/Makefile.in" + (("/bin/sh") (which "bash")))))))))) (define-public gpgme (package -- cgit v1.2.3 From a12ba6e878dac175debbc7ada6171916c60a85b7 Mon Sep 17 00:00:00 2001 From: Ben Woodcroft Date: Fri, 10 Jun 2016 17:25:45 +1000 Subject: gnu: Add bamm. * gnu/packages/bioinformatics.scm (bamm): New variable. --- gnu/packages/bioinformatics.scm | 93 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index b206f3344d..f0dc45a8ce 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -136,6 +136,99 @@ tRNA consensus sequences and RNA structure. It also outputs the secondary structure of the predicted RNA.") (license license:gpl2))) +(define-public bamm + (package + (name "bamm") + (version "1.7.2a") + (source (origin + (method url-fetch) + ;; BamM is not available on pypi. + (uri (string-append + "https://github.com/Ecogenomics/BamM/archive/v" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0nb20yml39f8fh0cahpjywsl91irh9yskig549c17xkrkl74czsq")) + (modules '((guix build utils))) + (snippet + `(begin + ;; Delete bundled htslib. + (delete-file-recursively "c/htslib-1.3.1") + #t)))) + (build-system python-build-system) + (arguments + `(#:python ,python-2 ; BamM is Python 2 only. + ;; Do not use bundled libhts. Do use the bundled libcfu because it has + ;; been modified from its original form. + #:configure-flags + (let ((htslib (assoc-ref %build-inputs "htslib"))) + (list "--with-libhts-lib" (string-append htslib "/lib") + "--with-libhts-inc" (string-append htslib "/include/htslib"))) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'autogen + (lambda _ + (with-directory-excursion "c" + (let ((sh (which "sh"))) + ;; Use autogen so that 'configure' works. + (substitute* "autogen.sh" (("/bin/sh") sh)) + (setenv "CONFIG_SHELL" sh) + (substitute* "configure" (("/bin/sh") sh)) + (zero? (system* "./autogen.sh")))))) + (delete 'build) + ;; Run tests after installation so compilation only happens once. + (delete 'check) + (add-after 'install 'wrap-executable + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (path (getenv "PATH"))) + (wrap-program (string-append out "/bin/bamm") + `("PATH" ":" prefix (,path)))) + #t)) + (add-after 'wrap-executable 'post-install-check + (lambda* (#:key inputs outputs #:allow-other-keys) + (setenv "PATH" + (string-append (assoc-ref outputs "out") + "/bin:" + (getenv "PATH"))) + (setenv "PYTHONPATH" + (string-append + (assoc-ref outputs "out") + "/lib/python" + (string-take (string-take-right + (assoc-ref inputs "python") 5) 3) + "/site-packages:" + (getenv "PYTHONPATH"))) + ;; There are 2 errors printed, but they are safe to ignore: + ;; 1) [E::hts_open_format] fail to open file ... + ;; 2) samtools view: failed to open ... + (zero? (system* "nosetests"))))))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool) + ("zlib" ,zlib) + ("python-nose" ,python2-nose) + ("python-pysam" ,python2-pysam) + ("python-setuptools" ,python2-setuptools))) + (inputs + `(("htslib" ,htslib) + ("samtools" ,samtools) + ("bwa" ,bwa) + ("grep" ,grep) + ("sed" ,sed) + ("coreutils" ,coreutils))) + (propagated-inputs + `(("python-numpy" ,python2-numpy))) + (home-page "http://ecogenomics.github.io/BamM/") + (synopsis "Metagenomics-focused BAM file manipulator") + (description + "BamM is a C library, wrapped in python, to efficiently generate and +parse BAM files, specifically for the analysis of metagenomic data. For +instance, it implements several methods to assess contig-wise read coverage.") + (license license:lgpl3+))) + (define-public bamtools (package (name "bamtools") -- cgit v1.2.3 From 3c972f538810931a438c7b0cea6cd46a28db09b4 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 14 Aug 2016 14:14:32 +0200 Subject: gnu: serd: Update to 0.22.0. * gnu/packages/rdf.scm (serd): Update to 0.22.0. --- gnu/packages/rdf.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/rdf.scm b/gnu/packages/rdf.scm index 4d5fd4d0ac..ed4c8a4fb3 100644 --- a/gnu/packages/rdf.scm +++ b/gnu/packages/rdf.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013, 2014, 2015 Andreas Enge -;;; Copyright © 2015 Ricardo Wurmus +;;; Copyright © 2015, 2016 Ricardo Wurmus ;;; ;;; This file is part of GNU Guix. ;;; @@ -233,7 +233,7 @@ and triple stores.") (define-public serd (package (name "serd") - (version "0.20.0") + (version "0.22.0") (source (origin (method url-fetch) (uri (string-append "http://download.drobilla.net/serd-" @@ -241,7 +241,7 @@ and triple stores.") ".tar.bz2")) (sha256 (base32 - "1gxbzqsm212wmn8qkdd3lbl6wbv7fwmaf9qh2nxa4yxjbr7mylb4")))) + "1lmgca2s6r7ysakcld2lrj06bgn0pr45c51b47k3apxpnj3h40vv")))) (build-system waf-build-system) (arguments `(#:tests? #f ; no check target -- cgit v1.2.3 From c0549628b2a324c8a82d459babdb21c4cc54b1ae Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 14 Aug 2016 14:15:02 +0200 Subject: gnu: sord: Update to 0.14.0. * gnu/packages/rdf.scm (sord): Update to 0.14.0. --- gnu/packages/rdf.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/rdf.scm b/gnu/packages/rdf.scm index ed4c8a4fb3..d0a362c3a0 100644 --- a/gnu/packages/rdf.scm +++ b/gnu/packages/rdf.scm @@ -267,7 +267,7 @@ ideal (e.g. in LV2 implementations or embedded applications).") (define-public sord (package (name "sord") - (version "0.12.2") + (version "0.14.0") (source (origin (method url-fetch) (uri (string-append "http://download.drobilla.net/sord-" @@ -275,7 +275,7 @@ ideal (e.g. in LV2 implementations or embedded applications).") ".tar.bz2")) (sha256 (base32 - "0rq7vafdv4vsxi6xk9zf5shr59w3kppdhqbj78185rz5gp9kh1dx")))) + "16piw1s3l95cf9x3rdcplp9l52k2lxq8drwg2q50ygm4avndhmkn")))) (build-system waf-build-system) (arguments `(#:tests? #f ; no check target -- cgit v1.2.3 From fcb416154ff5b8251d363531bdd06c4f8043f8cc Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 14 Aug 2016 14:34:59 +0200 Subject: gnu: lilv: Update to 0.22.0. * gnu/packages/audio.scm (lilv): Update to 0.22.0. --- gnu/packages/audio.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 8ee53fd850..9188a4cdf0 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -1303,7 +1303,7 @@ included are the command line utilities @code{send_osc} and @code{dump_osc}.") (define-public lilv (package (name "lilv") - (version "0.20.0") + (version "0.22.0") (source (origin (method url-fetch) (uri (string-append "http://download.drobilla.net/lilv-" @@ -1311,7 +1311,7 @@ included are the command line utilities @code{send_osc} and @code{dump_osc}.") ".tar.bz2")) (sha256 (base32 - "0aj2plkx56iar8vzjbq2l7hi7sp0ml99m0h44rgwai2x4vqkk2j2")))) + "1d3ss7vv8drf1c5340lyd0gv736n2qy7sxji2nh1rw9y48hr69yd")))) (build-system waf-build-system) (arguments `(#:tests? #f ; no check target -- cgit v1.2.3 From a2529c584a72ac1c60a21d7a1b67b6a611d7b7ac Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 14 Aug 2016 13:17:48 +0200 Subject: gnu: ardour: Update to 5.0. * gnu/packages/audio.scm (ardour): Update to 5.0. --- gnu/packages/audio.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 9188a4cdf0..d56fc083da 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -174,7 +174,7 @@ streams from live audio.") (define-public ardour (package (name "ardour") - (version "4.7") + (version "5.0") (source (origin (method git-fetch) (uri (git-reference @@ -188,10 +188,10 @@ streams from live audio.") "libs/ardour/revision.cc" (lambda (port) (format port "#include \"ardour/revision.h\" -namespace ARDOUR { const char* revision = \"4.7-219-g0e36f8e\" ; }")))) +namespace ARDOUR { const char* revision = \"5.0-10-g23d1d1f\" ; }")))) (sha256 (base32 - "149gswphz77m3pkzsn2nqbm6yvcfa3fva560bcvjzlgb73f64q5l")) + "0ihd6zxha1vvp4jy5s49pqyw09qxxjgrdlslrkz6ll59zdh6x7am")) (file-name (string-append name "-" version)))) (build-system waf-build-system) (arguments -- cgit v1.2.3 From 971ebdc89b8b3d83061afeca55ef43b3d713bc51 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 14 Aug 2016 13:18:19 +0200 Subject: gnu: ardour: Add cppunit and readline to inputs. * gnu/packages/audio.scm (ardour)[native-inputs]: Add cppunit. [inputs]: Add readline. --- gnu/packages/audio.scm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index d56fc083da..5c42aaa493 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -40,6 +40,7 @@ #:use-module (gnu packages boost) #:use-module (gnu packages base) #:use-module (gnu packages bison) + #:use-module (gnu packages check) #:use-module (gnu packages compression) #:use-module (gnu packages curl) #:use-module (gnu packages databases) @@ -233,12 +234,14 @@ namespace ARDOUR { const char* revision = \"5.0-10-g23d1d1f\" ; }")))) ("sratom" ,sratom) ("suil" ,suil) ("lilv" ,lilv) + ("readline" ,readline) ("redland" ,redland) ("rubberband" ,rubberband) ("taglib" ,taglib) ("python-rdflib" ,python-rdflib))) (native-inputs `(("perl" ,perl) + ("cppunit" ,cppunit) ("pkg-config" ,pkg-config))) (home-page "http://ardour.org") (synopsis "Digital audio workstation") -- cgit v1.2.3 From 5cf30103f777d52c17556eff28c4d7898e602365 Mon Sep 17 00:00:00 2001 From: Chris Marusich Date: Sat, 13 Aug 2016 01:58:03 -0700 Subject: gnu: Add sg3-utils. * gnu/packages/scsi.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. Signed-off-by: Leo Famulari --- gnu/local.mk | 1 + gnu/packages/scsi.scm | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 gnu/packages/scsi.scm (limited to 'gnu/packages') diff --git a/gnu/local.mk b/gnu/local.mk index b7fa1c5999..166b9337aa 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -306,6 +306,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/scheme.scm \ %D%/packages/screen.scm \ %D%/packages/scribus.scm \ + %D%/packages/scsi.scm \ %D%/packages/sdl.scm \ %D%/packages/search.scm \ %D%/packages/serialization.scm \ diff --git a/gnu/packages/scsi.scm b/gnu/packages/scsi.scm new file mode 100644 index 0000000000..92e2d7af4c --- /dev/null +++ b/gnu/packages/scsi.scm @@ -0,0 +1,54 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2016 Chris Marusich +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages scsi) + #:use-module ((guix licenses) + #:select (gpl2+ bsd-3)) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system gnu)) + +(define-public sg3-utils + (package + (name "sg3-utils") + (version "1.42") + (source (origin + (method url-fetch) + (uri (string-append "http://sg.danny.cz/sg/p/sg3_utils-" + version ".tar.xz")) + (sha256 + (base32 + "1fg71rj0f1gdjmkj0z8wlv46cf9lryjdyjkbi7fjmssgi5jyvblp")))) + (build-system gnu-build-system) + (home-page "http://sg.danny.cz/sg/sg3_utils.html") + (synopsis "SCSI device utilities") + (description + "sg3-utils is a collection of utilities for devices that use the Small +Computer System Interface (SCSI) command set. It includes utilities to read +data from, write data to, control, modify, and query the state of SCSI +devices. For example, this package provides command-line tools to copy data +based on @code{dd} syntax and semantics (called @code{sg_dd}, @code{sgp_dd} +and @code{sgm_dd}), check INQUIRY data and VPD pages (@code{sg_inq}), check +mode and log pages (@code{sginfo}, @code{sg_modes} and @code{sg_logs}), spin +up and down disks (@code{sg_start}), do self tests (@code{sg_senddiag}), parse +sense data (@code{sg_decode_sense}), and perform various other functions. In +addition, this package includes a library, called libsgutils, which can be +used in C and C++ programs to interact with SCSI devices.") + ;; The libsgutils library itself is licensed under bsd-3. Some tools are + ;; licensed under bsd-3, also. Some tools are licensed under gpl2+. + (license (list gpl2+ bsd-3)))) -- cgit v1.2.3 From c3ccba9238cddbefa2c9cc2dcba04d6ada039b58 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sat, 13 Aug 2016 11:11:35 +0100 Subject: gnu: Add fio. * gnu/packages/benchmark.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. Signed-off-by: Leo Famulari --- gnu/local.mk | 1 + gnu/packages/benchmark.scm | 63 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 gnu/packages/benchmark.scm (limited to 'gnu/packages') diff --git a/gnu/local.mk b/gnu/local.mk index 166b9337aa..7416850003 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -54,6 +54,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/base.scm \ %D%/packages/bash.scm \ %D%/packages/bdw-gc.scm \ + %D%/packages/benchmark.scm \ %D%/packages/bioinformatics.scm \ %D%/packages/bittorrent.scm \ %D%/packages/bison.scm \ diff --git a/gnu/packages/benchmark.scm b/gnu/packages/benchmark.scm new file mode 100644 index 0000000000..25813d1ab2 --- /dev/null +++ b/gnu/packages/benchmark.scm @@ -0,0 +1,63 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2016 Marius Bakke +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages benchmark) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system gnu) + #:use-module (gnu packages compression) + #:use-module (gnu packages linux)) + +(define-public fio + (package + (name "fio") + (version "2.13") + (source (origin + (method url-fetch) + (uri (string-append + "http://brick.kernel.dk/snaps/" + "fio-" version ".tar.bz2")) + (sha256 + (base32 + "10bn9jzks8mam5vz6falhr9pmd9wx248kh53vqp1bazbfxs3qgz0")))) + (build-system gnu-build-system) + (arguments + '(#:tests? #f ; No tests. + #:phases + (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key outputs #:allow-other-keys) + ;; The configure script doesn't understand some of the + ;; GNU options, so we can't use #:configure-flags. + (let ((out (assoc-ref outputs "out"))) + (zero? (system* "./configure" + (string-append "--prefix=" out))))))))) + (inputs + `(("libaio" ,libaio) + ("zlib" ,zlib))) + (home-page "https://github.com/axboe/fio") + (synopsis "Flexible I/O tester") + (description + "fio is a tool that will spawn a number of threads or processes doing a +particular type of I/O action as specified by the user. The typical use of fio +is to write a job file matching the I/O load one wants to simulate.") + ;; The software is distributed under the GPL2, but a handful of components + ;; are covered by other licenses. + (license (list license:gpl2 license:gpl2+ license:bsd-2 + license:public-domain)))) -- cgit v1.2.3 From 383434cc231d66bb9129cac7cb29034a79e69a2b Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Sun, 14 Aug 2016 13:43:55 -0400 Subject: gnu: redis: Update to 3.2.3 [fixes CVE-2013-7458]. * gnu/packages/databases.scm (redis): Update to 3.2.3. --- gnu/packages/databases.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 46f0eb7e80..d3a44f7f29 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -944,14 +944,14 @@ similar to BerkeleyDB, LevelDB, etc.") (define-public redis (package (name "redis") - (version "3.2.0") + (version "3.2.3") (source (origin (method url-fetch) (uri (string-append "http://download.redis.io/releases/redis-" version".tar.gz")) (sha256 (base32 - "0ql7zp061xr66a1dzpa6a0ijm8zm133dd364va7q5h8avkrim7wq")))) + "05az2g3gna5lkhh6x1a5m6yardbiig1l4ysggldlk5if8ww9qkk7")))) (build-system gnu-build-system) (arguments '(#:tests? #f ; tests related to master/slave and replication fail -- cgit v1.2.3 From d4db0612dcfb3e19fc2be7447b1ee242819c0df8 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Sun, 14 Aug 2016 16:16:40 -0400 Subject: gnu: dropbear: Update to 2016.74 [security fixes]. * gnu/packages/ssh.scm (dropbear): Update to 2016.74. --- gnu/packages/ssh.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm index b860d6e924..16cd6e20d8 100644 --- a/gnu/packages/ssh.scm +++ b/gnu/packages/ssh.scm @@ -344,7 +344,7 @@ especially over Wi-Fi, cellular, and long-distance links.") (define-public dropbear (package (name "dropbear") - (version "2016.73") + (version "2016.74") (source (origin (method url-fetch) (uri (string-append @@ -352,7 +352,7 @@ especially over Wi-Fi, cellular, and long-distance links.") name "-" version ".tar.bz2")) (sha256 (base32 - "1mzg18jss1bsmcnn88zv7kv5yj01hzimndnd5636hfq9kgva8qaw")))) + "14c8f4gzixf0j9fkx68jgl85q7b05852kk0vf09gi6h0xmafl817")))) (build-system gnu-build-system) (arguments `(#:tests? #f)) ; There is no "make check" or anything similar (inputs `(("zlib" ,zlib))) -- cgit v1.2.3 From 273f1c05d8b6940c795fa3ceab31c6d48222ff92 Mon Sep 17 00:00:00 2001 From: David Craven Date: Sun, 14 Aug 2016 19:48:45 +0200 Subject: gnu: usbredir: Add git commit to version. * gnu/packages/spice.scm (usbredir)[version]: Add commit and revision to version string. --- gnu/packages/spice.scm | 78 ++++++++++++++++++++++++++------------------------ 1 file changed, 41 insertions(+), 37 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/spice.scm b/gnu/packages/spice.scm index 67e493a439..870278c3ea 100644 --- a/gnu/packages/spice.scm +++ b/gnu/packages/spice.scm @@ -44,49 +44,53 @@ #:use-module (guix utils)) (define-public usbredir - (package - (name "usbredir") - (version "0.7.1") - ;(source (origin - ; (method url-fetch) - ; (uri (string-append - ; "http://spice-space.org/download/usbredir/" - ; "usbredir-" version ".tar.bz2")) - ; (sha256 - ; (base32 - ; "1wsnmk4wjpdhbn1zaxg6bmyxspcki2zgy0am9lk037rnl4krwzj0")))) - ; FIXME: usbredir 0.7.1 release doesn't build on 32 bit systems. - ; issue is fixed in HEAD - ; remove 'autogen phase and autoconf, automake, libtool inputs - (source (origin - (method git-fetch) - (uri (git-reference - (url "http://cgit.freedesktop.org/spice/usbredir") - (commit "ac80a5971c6318d73d5fba4b5f13d3a9389558c9"))) - (sha256 - (base32 - "052fywgi72j68dr5ybldncg4vk8iqfrh58la7iazyxxpph9aag1g")))) - (build-system gnu-build-system) - (propagated-inputs - `(("libusb" ,libusb))) - (native-inputs - `(("pkg-config" ,pkg-config) - ("autoconf" ,autoconf) - ("automake" ,automake) - ("libtool" ,libtool))) + (let ((commit "ac80a5971c6318d73d5fba4b5f13d3a9389558c9") + (revision "1")) ;Guix package revision + (package + (name "usbredir") + (version (string-append "0.7.1-" revision "." + (string-take commit 7))) + ;(version "0.7.1") + ;(source (origin + ; (method url-fetch) + ; (uri (string-append + ; "http://spice-space.org/download/usbredir/" + ; "usbredir-" version ".tar.bz2")) + ; (sha256 + ; (base32 + ; "1wsnmk4wjpdhbn1zaxg6bmyxspcki2zgy0am9lk037rnl4krwzj0")))) + ; FIXME: usbredir 0.7.1 release doesn't build on 32 bit systems. + ; issue is fixed in HEAD + ; remove 'autogen phase and autoconf, automake, libtool inputs + (source (origin + (method git-fetch) + (uri (git-reference + (url "http://cgit.freedesktop.org/spice/usbredir") + (commit commit))) + (sha256 + (base32 + "052fywgi72j68dr5ybldncg4vk8iqfrh58la7iazyxxpph9aag1g")))) + (build-system gnu-build-system) + (propagated-inputs + `(("libusb" ,libusb))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool))) (arguments `(#:phases (modify-phases %standard-phases (add-after 'unpack 'autogen (lambda* _ (system* "sh" "autogen.sh")))))) - (synopsis "Tools for sending USB device traffic over a network") - (description "Usbredir is a network protocol for sending USB device traffic -over a network connection. It can be used to redirect traffic from a USB device -to a different (virtual) machine than the one to which the USB device is -attached.") - (home-page "http://www.spice-space.org") - (license (list license:gpl2+ license:lgpl2.0+ license:lgpl2.1+)))) + (synopsis "Tools for sending USB device traffic over a network") + (description "Usbredir is a network protocol for sending USB device traffic + over a network connection. It can be used to redirect traffic from a USB device + to a different (virtual) machine than the one to which the USB device is + attached.") + (home-page "http://www.spice-space.org") + (license (list license:gpl2+ license:lgpl2.0+ license:lgpl2.1+))))) (define-public virglrenderer (package -- cgit v1.2.3 From 8cce8797be11a0709b982ca540c6f9c7597e8c08 Mon Sep 17 00:00:00 2001 From: David Craven Date: Sun, 14 Aug 2016 19:49:52 +0200 Subject: gnu: usbredir: Invoke autoreconf directly. * gnu/packages/spice.scm (usbredir)[arguments]: Invoke autoreconf directly. --- gnu/packages/spice.scm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/spice.scm b/gnu/packages/spice.scm index 870278c3ea..3e6366e6c0 100644 --- a/gnu/packages/spice.scm +++ b/gnu/packages/spice.scm @@ -78,12 +78,12 @@ ("autoconf" ,autoconf) ("automake" ,automake) ("libtool" ,libtool))) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'autogen - (lambda* _ - (system* "sh" "autogen.sh")))))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'autogen + (lambda _ + (zero? (system* "autoreconf" "-vfi"))))))) (synopsis "Tools for sending USB device traffic over a network") (description "Usbredir is a network protocol for sending USB device traffic over a network connection. It can be used to redirect traffic from a USB device -- cgit v1.2.3 From 2328f328f310ab2a5d715e44c4945a3b01957abd Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Sun, 14 Aug 2016 22:24:13 -0400 Subject: gnu: imagemagick: Update to 6.9.5-7. * gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.5-7. --- gnu/packages/imagemagick.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/imagemagick.scm b/gnu/packages/imagemagick.scm index 549c92b457..c88fd7a60a 100644 --- a/gnu/packages/imagemagick.scm +++ b/gnu/packages/imagemagick.scm @@ -41,14 +41,14 @@ (define-public imagemagick (package (name "imagemagick") - (version "6.9.5-4") + (version "6.9.5-7") (source (origin (method url-fetch) (uri (string-append "mirror://imagemagick/ImageMagick-" version ".tar.xz")) (sha256 (base32 - "1n7fjbjh6s6rblkga8lkdqcd2b3vjgcm5jcx1r8vnww6b2w9ym00")))) + "00arcvyhsy9i5gp3b0lhfvs04qwhxpmq0bfsv4ipllinb6mjgxf5")))) (build-system gnu-build-system) (arguments `(#:configure-flags '("--with-frozenpaths") -- cgit v1.2.3 From 93b8316e08d1e1bd177c3c694733bb60886735d6 Mon Sep 17 00:00:00 2001 From: Ben Woodcroft Date: Mon, 15 Aug 2016 20:26:43 +1000 Subject: gnu: mafft: Update to 7.300. * gnu/packages/bioinformatics.scm (mafft): Update to 7.300. --- gnu/packages/bioinformatics.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index f0dc45a8ce..b29ee0bf2f 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -2954,7 +2954,7 @@ sequencing tag position and orientation.") (define-public mafft (package (name "mafft") - (version "7.299") + (version "7.300") (source (origin (method url-fetch) (uri (string-append @@ -2963,7 +2963,7 @@ sequencing tag position and orientation.") (file-name (string-append name "-" version ".tgz")) (sha256 (base32 - "1pwwdy5a17ggx8h9v9y712ilswj27dc3d23r65l56jgjz67y5zc0")))) + "1dng898rh5jd1q1xyhxz8h2csmdw3wp12hvvhad1ryalx8aw131k")))) (build-system gnu-build-system) (arguments `(#:tests? #f ; no automated tests, though there are tests in the read me -- cgit v1.2.3 From 101e8f717130339247b4d4abe63a4df379becdea Mon Sep 17 00:00:00 2001 From: Ben Woodcroft Date: Mon, 15 Aug 2016 20:46:43 +1000 Subject: gnu: mafft: Wrap programs. * gnu/packages/bioinformatics.scm (mafft)[arguments]: Add 'wrap-programs' phase. [propagated-inputs]: Move coreutils from here ... [inputs]: ... to here. --- gnu/packages/bioinformatics.scm | 64 ++++++++++++++++++++++++----------------- 1 file changed, 37 insertions(+), 27 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index b29ee0bf2f..5ee881f372 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -2974,31 +2974,31 @@ sequencing tag position and orientation.") #:phases (modify-phases %standard-phases (add-after 'unpack 'enter-dir - (lambda _ (chdir "core") #t)) + (lambda _ (chdir "core") #t)) (add-after 'enter-dir 'patch-makefile - (lambda _ - ;; on advice from the MAFFT authors, there is no need to - ;; distribute mafft-profile, mafft-distance, or - ;; mafft-homologs.rb as they are too "specialised". - (substitute* "Makefile" - ;; remove mafft-homologs.rb from SCRIPTS - (("^SCRIPTS = mafft mafft-homologs.rb") - "SCRIPTS = mafft") - ;; remove mafft-homologs from MANPAGES - (("^MANPAGES = mafft.1 mafft-homologs.1") - "MANPAGES = mafft.1") - ;; remove mafft-distance from PROGS - (("^PROGS = dvtditr dndfast7 dndblast sextet5 mafft-distance") - "PROGS = dvtditr dndfast7 dndblast sextet5") - ;; remove mafft-profile from PROGS - (("splittbfast disttbfast tbfast mafft-profile 2cl mccaskillwrap") - "splittbfast disttbfast tbfast f2cl mccaskillwrap") - (("^rm -f mafft-profile mafft-profile.exe") "#") - (("^rm -f mafft-distance mafft-distance.exe") ")#") - ;; do not install MAN pages in libexec folder - (("^\t\\$\\(INSTALL\\) -m 644 \\$\\(MANPAGES\\) \ + (lambda _ + ;; on advice from the MAFFT authors, there is no need to + ;; distribute mafft-profile, mafft-distance, or + ;; mafft-homologs.rb as they are too "specialised". + (substitute* "Makefile" + ;; remove mafft-homologs.rb from SCRIPTS + (("^SCRIPTS = mafft mafft-homologs.rb") + "SCRIPTS = mafft") + ;; remove mafft-homologs from MANPAGES + (("^MANPAGES = mafft.1 mafft-homologs.1") + "MANPAGES = mafft.1") + ;; remove mafft-distance from PROGS + (("^PROGS = dvtditr dndfast7 dndblast sextet5 mafft-distance") + "PROGS = dvtditr dndfast7 dndblast sextet5") + ;; remove mafft-profile from PROGS + (("splittbfast disttbfast tbfast mafft-profile 2cl mccaskillwrap") + "splittbfast disttbfast tbfast f2cl mccaskillwrap") + (("^rm -f mafft-profile mafft-profile.exe") "#") + (("^rm -f mafft-distance mafft-distance.exe") ")#") + ;; do not install MAN pages in libexec folder + (("^\t\\$\\(INSTALL\\) -m 644 \\$\\(MANPAGES\\) \ \\$\\(DESTDIR\\)\\$\\(LIBDIR\\)") "#")) - #t)) + #t)) (add-after 'enter-dir 'patch-paths (lambda* (#:key inputs #:allow-other-keys) (substitute* '("pairash.c" @@ -3008,13 +3008,23 @@ sequencing tag position and orientation.") (string-append prefix (which "awk"))) (("grep") (which "grep"))) #t)) - (delete 'configure)))) + (delete 'configure) + (add-after 'install 'wrap-programs + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin")) + (path (string-append + (assoc-ref %build-inputs "coreutils") "/bin:"))) + (for-each (lambda (file) + (wrap-program file + `("PATH" ":" prefix (,path)))) + (find-files bin))) + #t))))) (inputs `(("perl" ,perl) ("gawk" ,gawk) - ("grep" ,grep))) - (propagated-inputs - `(("coreutils" ,coreutils))) + ("grep" ,grep) + ("coreutils" ,coreutils))) (home-page "http://mafft.cbrc.jp/alignment/software/") (synopsis "Multiple sequence alignment program") (description -- cgit v1.2.3 From 0ed8f0cd4ceb9e77d306fcaa71caf6c28ce22717 Mon Sep 17 00:00:00 2001 From: Ben Woodcroft Date: Mon, 15 Aug 2016 20:59:41 +1000 Subject: gnu: mafft: Update to 7.304. * gnu/packages/bioinformatics.scm (mafft): Update to 7.304. --- gnu/packages/bioinformatics.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 5ee881f372..a3f0d81d38 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -2954,7 +2954,7 @@ sequencing tag position and orientation.") (define-public mafft (package (name "mafft") - (version "7.300") + (version "7.304") (source (origin (method url-fetch) (uri (string-append @@ -2963,7 +2963,7 @@ sequencing tag position and orientation.") (file-name (string-append name "-" version ".tgz")) (sha256 (base32 - "1dng898rh5jd1q1xyhxz8h2csmdw3wp12hvvhad1ryalx8aw131k")))) + "0jnciffkrsws3hw2mp8cs68mgciiz6glfbvgyasbk4na9vc00mi1")))) (build-system gnu-build-system) (arguments `(#:tests? #f ; no automated tests, though there are tests in the read me -- cgit v1.2.3 From a1c83fef3c2eee4df0683eef7e50d863e5ba3edc Mon Sep 17 00:00:00 2001 From: ng0 Date: Fri, 12 Aug 2016 17:47:41 +0000 Subject: gnu: Add proxychains-ng. * gnu/packages/networking.scm (proxychains-ng): New variable. --- gnu/packages/networking.scm | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) (limited to 'gnu/packages') diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 1275a41738..2678739560 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2014 Ludovic Courtès -;;; Copyright © 2015 Ricardo Wurmus +;;; Copyright © 2015, 2016 Ricardo Wurmus ;;; Copyright © 2015 Mark H Weaver ;;; Copyright © 2015 Stefan Reichör ;;; Copyright © 2016 Raimon Grau @@ -8,6 +8,7 @@ ;;; Copyright © 2016 John Darrington ;;; Copyright © 2016 Nicolas Goaziou ;;; Copyright © 2016 Eric Bavier +;;; Copyright © 2016 ng0 ;;; ;;; This file is part of GNU Guix. ;;; @@ -690,3 +691,37 @@ information by IP Address.") (description "IO::Socket::INET6 is an interface for AF_INET/AF_INET6 domain sockets in Perl.") (license (package-license perl)))) + +(define-public proxychains-ng + (package + (name "proxychains-ng") + (version "4.11") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/rofl0r/" name "/releases/" + "download/v" version "/" name "-" version + ".tar.bz2")) + (sha256 + (base32 + "1dkncdzw852488gkh5zhn4b5i03qyj8rgh1wcvcva7yd12c19i6w")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; there are no tests + #:make-flags '("CC=gcc") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-configure-script + (lambda _ + ;; The configure script is very intolerant to unknown arguments, + ;; such as "CONFIG_SHELL". + (substitute* "configure" + (("\\*\\) break ;;" line) + (string-append "[A-Z]*) shift ;;\n" + line))) + #t))))) + (synopsis "Redirect any TCP connection through a proxy or proxy chain") + (description "Proxychains-ng is a preloader which hooks calls to sockets +in dynamically linked programs and redirects them through one or more SOCKS or +HTTP proxies.") + (home-page "https://github.com/rofl0r/proxychains-ng") + (license license:gpl2+))) -- cgit v1.2.3 From 5f9d59057458b43609b851dd2f76d9b6fedc8885 Mon Sep 17 00:00:00 2001 From: ng0 Date: Fri, 5 Aug 2016 14:44:38 +0000 Subject: gnu: gnurl: Update to 7.50.1 [fixes CVE-2016-{5419,5420,5421]. * gnu/packages/gnunet.scm (gnurl): Update to 7.50.1. [configure-flags]: Configure with --disable-smb. Disable test1139. [description]: Fix typo. Signed-off-by: Leo Famulari --- gnu/packages/gnunet.scm | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/gnunet.scm b/gnu/packages/gnunet.scm index 4d888bdb2a..0b42c0bc77 100644 --- a/gnu/packages/gnunet.scm +++ b/gnu/packages/gnunet.scm @@ -153,7 +153,7 @@ and support for SSL3 and TLS.") (define-public gnurl (package (name "gnurl") - (version "7.48.0") + (version "7.50.1") (source (origin (method url-fetch) (uri (let ((version-with-underscores @@ -162,7 +162,7 @@ and support for SSL3 and TLS.") name "-" version-with-underscores ".tar.bz2"))) (sha256 (base32 - "14gch4rdibrc8qs4mijsczxvl45dsclf234g17dk6c8nc2s4bm0a")))) + "0irb8df3lqd9w1pb627q260hn448vbkh0sn4l6p6jh0q8lqscv84")))) (build-system gnu-build-system) (inputs `(("gnutls" ,gnutls) ("libidn" ,libidn) @@ -183,22 +183,27 @@ and support for SSL3 and TLS.") "--disable-ldap" "--disable-rtsp" "--disable-dict" "--disable-telnet" "--disable-tftp" "--disable-pop3" "--disable-imap" "--disable-smtp" "--disable-gopher" - "--disable-file" "--disable-ftp") + "--disable-file" "--disable-ftp" "--disable-smb") #:test-target "test" #:parallel-tests? #f - ;; We have to patch runtests.pl in tests/ directory #:phases + ;; We have to patch runtests.pl in tests/ directory (alist-cons-before 'check 'patch-runtests (lambda _ (substitute* "tests/runtests.pl" - (("/bin/sh") (which "sh")))) - %standard-phases))) + (("/bin/sh") (which "sh")))) + ;; To be discussed with upstream. + (alist-cons-before + 'check 'delete-failing-test1139 + (lambda _ + (delete-file "tests/data/test1139")) + %standard-phases)))) (synopsis "Microfork of cURL with support for the HTTP/HTTPS/GnuTLS subset of cURL") (description "Gnurl is a microfork of cURL, a command line tool for transferring data with URL syntax. While cURL supports many crypto backends, libgnurl only -supports HTTPS, HTTPS and GnuTLS.") +supports HTTP, HTTPS and GnuTLS.") (license (license:non-copyleft "file://COPYING" "See COPYING in the distribution.")) (home-page "https://gnunet.org/gnurl"))) -- cgit v1.2.3 From cd372ca352553d948a67fc32cf01fc28e39cb5ee Mon Sep 17 00:00:00 2001 From: ng0 Date: Wed, 3 Aug 2016 13:42:27 +0000 Subject: gnu: libextractor: Add more optional inputs. * gnu/packages/gnunet.scm (libextractor)[inputs]: Add gtk+, libarchive, libgsf, and libmpeg2. [arguments]: New field. Signed-off-by: Leo Famulari --- gnu/packages/gnunet.scm | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/gnunet.scm b/gnu/packages/gnunet.scm index 0b42c0bc77..788732240c 100644 --- a/gnu/packages/gnunet.scm +++ b/gnu/packages/gnunet.scm @@ -50,6 +50,7 @@ #:use-module (gnu packages tls) #:use-module (gnu packages video) #:use-module (gnu packages xiph) + #:use-module (gnu packages backup) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) @@ -81,17 +82,12 @@ ;; FIXME: ;; The following dependencies are all optional, but should be ;; available for maximum coverage: - ;; * libarchive - ;; * libgif (giflib) - ;; * libgtk+ >= 3.0.0 (may probably drop glib then as a propagated input of - ;; gtk) - ;; * libgsf ;; * libmagic (file) - ;; * libmpeg2 - ;; * libmp4v2 - ;; * librpm - ;; * libsmf - ;; * libtidy + ;; * libmp4v2 ; package it + ;; * librpm ; package it + ;; * libsmf ; package it + ;; * libtidy ; package it + ;; * libgif (giflib) ; investigate failure (inputs `(("exiv2" ,exiv2) ("flac" ,flac) @@ -100,14 +96,23 @@ ("glib" ,glib) ("gstreamer" ,gstreamer) ("gst-plugins-base" ,gst-plugins-base) + ("gtk+" ,gtk+) + ("libarchive" ,libarchive) + ("libgsf" ,libgsf) ("libjpeg" ,libjpeg) + ("libltdl" ,libltdl) + ("libmpeg2" ,libmpeg2) ("libogg" ,libogg) ("libtiff" ,libtiff) - ("libltdl" ,libltdl) ("libvorbis" ,libvorbis) ("zlib" ,zlib))) (native-inputs - `(("pkg-config" ,pkg-config))) + `(("pkg-config" ,pkg-config))) + (arguments + `(#:configure-flags + (list (string-append "--with-ltdl=" + (assoc-ref %build-inputs "libltdl"))) + #:parallel-tests? #f)) (synopsis "Library to extract meta-data from media files") (description "GNU libextractor is a library for extracting metadata from files. It -- cgit v1.2.3 From d23ce1ce2b5103703a5902c7c06dff40b1310319 Mon Sep 17 00:00:00 2001 From: Al McElrath Date: Mon, 15 Aug 2016 09:35:46 -0700 Subject: gnu: offlineimap: Update to 7.0.5. * gnu/packages/mail.scm (offlineimap): Update to 7.0.5. Signed-off-by: Leo Famulari --- gnu/packages/mail.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 0d8aa49cc1..49bf8f74b1 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -296,7 +296,7 @@ and corrections. It is based on a Bayesian filter.") (define-public offlineimap (package (name "offlineimap") - (version "7.0.4") + (version "7.0.5") (source (origin (method url-fetch) (uri (string-append "https://github.com/OfflineIMAP/offlineimap/" @@ -304,7 +304,7 @@ and corrections. It is based on a Bayesian filter.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1g1ylvz214iydskvanzyac7kgmz61s5bqmpzz5hm11mrllkq111z")))) + "05wm7qix4ikx6hi57a1qc3hb5fv1vksbg6dgvmd8871y5l1qqrkn")))) (build-system python-build-system) (inputs `(("python2-pysqlite" ,python2-pysqlite) ("python2-six" ,python2-six))) -- cgit v1.2.3 From 4d2470b0efb399ad974e2a764db685e952b94323 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Mon, 15 Aug 2016 12:45:28 +0200 Subject: gnu: avr: Use the correct gcc version as native-input. * gnu/packages/avr.scm (avr-libc): Replace package by function. * gnu/packages/avr.scm (avr-toolchain): Use new avr-libc function. Signed-off-by: Leo Famulari --- gnu/packages/avr.scm | 37 ++++++++++++++++++++----------------- 1 file changed, 20 insertions(+), 17 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/avr.scm b/gnu/packages/avr.scm index 987347713c..fd18ff6a9a 100644 --- a/gnu/packages/avr.scm +++ b/gnu/packages/avr.scm @@ -73,7 +73,7 @@ (version (package-version gcc-5)) (source (package-source gcc-5)))) -(define-public avr-libc +(define (avr-libc avr-gcc) (package (name "avr-libc") (version "2.0.0") @@ -99,7 +99,7 @@ (unsetenv "C_INCLUDE_PATH") #t))))) (native-inputs `(("avr-binutils" ,avr-binutils) - ("avr-gcc" ,avr-gcc-4.9))) + ("avr-gcc" ,avr-gcc))) (home-page "http://www.nongnu.org/avr-libc/") (synopsis "The AVR C Library") (description @@ -109,24 +109,27 @@ for use with GCC on Atmel AVR microcontrollers.") (license:non-copyleft "http://www.nongnu.org/avr-libc/LICENSE.txt")))) (define (avr-toolchain avr-gcc) - (package - (name "avr-toolchain") - (version (package-version avr-gcc)) - (source #f) - (build-system trivial-build-system) - (arguments '(#:builder (mkdir %output))) - (propagated-inputs - `(("avrdude" ,avrdude) - ("binutils" ,avr-binutils) - ("gcc" ,avr-gcc) - ("libc" ,avr-libc))) - (synopsis "Complete GCC tool chain for AVR microcontroller development") - (description "This package provides a complete GCC tool chain for AVR + ;; avr-libc checks the compiler version and passes "--enable-device-lib" for avr-gcc > 5.1.0. + ;; It wouldn't install the library for atmega32u4 etc if we didn't use the corret avr-gcc. + (let ((avr-libc (avr-libc avr-gcc))) + (package + (name "avr-toolchain") + (version (package-version avr-gcc)) + (source #f) + (build-system trivial-build-system) + (arguments '(#:builder (mkdir %output))) + (propagated-inputs + `(("avrdude" ,avrdude) + ("binutils" ,avr-binutils) + ("gcc" ,avr-gcc) + ("libc" ,avr-libc))) + (synopsis "Complete GCC tool chain for AVR microcontroller development") + (description "This package provides a complete GCC tool chain for AVR microcontroller development. This includes the GCC AVR cross compiler and avrdude for firmware flashing. The supported programming languages are C and C++.") - (home-page (package-home-page avr-libc)) - (license (package-license avr-gcc)))) + (home-page (package-home-page avr-libc)) + (license (package-license avr-gcc))))) (define-public avr-toolchain-4.9 (avr-toolchain avr-gcc-4.9)) (define-public avr-toolchain-5 (avr-toolchain avr-gcc-5)) -- cgit v1.2.3 From f0f0a48b6a32c7d450f73bbc86d2b2a602b30bd0 Mon Sep 17 00:00:00 2001 From: Dmitry Bogatov Date: Sun, 14 Aug 2016 01:46:58 -0500 Subject: gnu: Add sent. * gnu/packages/suckless.scm (sent): New variable. Co-authored-by: Leo Famulari Co-authored-by: Eric Bavier --- gnu/packages/suckless.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm index 7aab2c28b9..1f62e26248 100644 --- a/gnu/packages/suckless.scm +++ b/gnu/packages/suckless.scm @@ -3,6 +3,9 @@ ;;; Copyright © 2015 Amirouche Boubekki ;;; Copyright © 2016 Al McElrath ;;; Copyright © 2016 ng0 +;;; Copyright © 2015 Dmitry Bogatov +;;; Copyright © 2015 Leo Famulari +;;; Copyright © 2016 Eric Bavier ;;; ;;; This file is part of GNU Guix. ;;; @@ -27,6 +30,7 @@ #:use-module (guix build-system glib-or-gtk) #:use-module (gnu packages) #:use-module (gnu packages gnome) + #:use-module (gnu packages image) #:use-module (gnu packages xorg) #:use-module (gnu packages fonts) #:use-module (gnu packages pkg-config) @@ -200,3 +204,44 @@ display websites and follow links. It supports the XEmbed protocol which makes it possible to embed it in another application. Furthermore, one can point surf to another URI by setting its XProperties.") (license license:x11))) + +(define-public sent + (package + (name "sent") + (version "0.2") + (source (origin + (method url-fetch) + (uri (string-append "http://dl.suckless.org/tools/sent-" + version ".tar.gz")) + (sha256 + (base32 + "0xhh752hwaa26k4q6wvrb9jnpbnylss2aw6z11j7l9rav7wn3fak")))) + (build-system gnu-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (delete 'configure)) ;no configuration + #:tests? #f ;no test suite + #:make-flags (let ((pkg-config (lambda (flag) + (string-append + "$(shell pkg-config " flag " " + "xft fontconfig x11 libpng)")))) + (list + "CC=gcc" + (string-append "PREFIX=" %output) + (string-append "INCS=-I. " (pkg-config "--cflags")) + (string-append "LIBS=" (pkg-config "--libs") " -lm"))))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("libpng" ,libpng) + ("libx11" ,libx11) + ("libxft" ,libxft) + ("fontconfig" ,fontconfig))) + (synopsis "Plaintext presentation tool") + (description "Sent uses plaintext files and PNG images to create slideshow +presentations. Each paragraph represents a slide in the presentation. +Especially for presentations using the Takahashi method this is very nice and +allows you to write down the presentation for a quick lightning talk within a +few minutes.") + (home-page "http://tools.suckless.org/sent") + (license license:x11))) -- cgit v1.2.3 From 71461f88eeb746e43f4b29955134f6eb6d123bba Mon Sep 17 00:00:00 2001 From: Ben Woodcroft Date: Tue, 16 Aug 2016 19:48:19 +1000 Subject: gnu: mafft: Update to 7.305. * gnu/packages/bioinformatics.scm (mafft): Update to 7.305. [inputs]: Add ruby. --- gnu/packages/bioinformatics.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index a3f0d81d38..dd69e39bcc 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -2954,7 +2954,7 @@ sequencing tag position and orientation.") (define-public mafft (package (name "mafft") - (version "7.304") + (version "7.305") (source (origin (method url-fetch) (uri (string-append @@ -2963,7 +2963,7 @@ sequencing tag position and orientation.") (file-name (string-append name "-" version ".tgz")) (sha256 (base32 - "0jnciffkrsws3hw2mp8cs68mgciiz6glfbvgyasbk4na9vc00mi1")))) + "0ziim7g58n3z8gppsa713f5fxprl60ldj3xck186z0n9dpp06i8r")))) (build-system gnu-build-system) (arguments `(#:tests? #f ; no automated tests, though there are tests in the read me @@ -3022,6 +3022,7 @@ sequencing tag position and orientation.") #t))))) (inputs `(("perl" ,perl) + ("ruby" ,ruby) ("gawk" ,gawk) ("grep" ,grep) ("coreutils" ,coreutils))) -- cgit v1.2.3 From b1223d1f930255ffc957e4dabf09029aed63f79c Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 16 Aug 2016 17:25:14 +0300 Subject: gnu: mpv: Update to 0.19.0. * gnu/packages/video.scm (mpv): Update to 0.19.0. --- gnu/packages/video.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index d5bc55d975..471f97b111 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -770,7 +770,7 @@ SVCD, DVD, 3ivx, DivX 3/4/5, WMV and H.264 movies.") (define-public mpv (package (name "mpv") - (version "0.18.1") + (version "0.19.0") (source (origin (method url-fetch) (uri (string-append @@ -778,7 +778,7 @@ SVCD, DVD, 3ivx, DivX 3/4/5, WMV and H.264 movies.") ".tar.gz")) (sha256 (base32 - "0ab3lkvx1j06x7qlp9m4r4zk28dr7z8ki3w4kfgkpm2axizxa4z4")) + "1qk7blpg64v47qfnvpgnbf413v5gzn900wmlivs727fd88cq3x9x")) (file-name (string-append name "-" version ".tar.gz")))) (build-system waf-build-system) (native-inputs -- cgit v1.2.3 From 517a6c0c6e426b8a6e45685e8e4fab4ef2f2c2d6 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Tue, 16 Aug 2016 03:40:43 +0200 Subject: gnu: python: Add python-pyserial. * gnu/packages/python.scm (python-pyserial, python2-pyserial): New variables. Signed-off-by: Leo Famulari --- gnu/packages/python.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 5cc54d001b..abb90d8163 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -9886,3 +9886,32 @@ relays publish about themselves.") (define-public python2-stem (package-with-python2 python-stem)) + +(define-public python-pyserial + (package + (name "python-pyserial") + (version "3.1.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pyserial" version)) + (sha256 + (base32 + "0k1nfdrxxkdlv4zgaqsdv8li0pj3gbh2pyxw8q2bsg6f9490amyn")))) + (build-system python-build-system) + (home-page + "https://github.com/pyserial/pyserial") + (synopsis "Python Serial Port Bindings") + (description "@code{pyserial} provide serial port bindings for Python. It +supports different byte sizes, stop bits, parity and flow control with RTS/CTS +and/or Xon/Xoff. The port is accessed in RAW mode.") + (license bsd-3) + (properties `((python2-variant . ,(delay python2-pyserial)))))) + +(define-public python2-pyserial + (let ((base (package-with-python2 (strip-python2-variant python-pyserial)))) + (package + (inherit base) + (native-inputs + `(("python2-setuptools" ,python2-setuptools) + ,@(package-native-inputs base)))))) -- cgit v1.2.3 From 3fa2dc27407619326a355bc22637f8f350f1cc89 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sun, 14 Aug 2016 16:47:33 +0100 Subject: gnu: Add python-reportlab. * gnu/packages/pdf.scm (python-reportlab, python2-reportlab): New variables. Signed-off-by: Leo Famulari --- gnu/packages/pdf.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index 439adb90a1..59e5523c6d 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -5,6 +5,7 @@ ;;; Copyright © 2015 Paul van der Walt ;;; Copyright © 2016 Roel Janssen ;;; Coypright © 2016 ng0 +;;; Coypright © 2016 Marius Bakke ;;; ;;; This file is part of GNU Guix. ;;; @@ -49,6 +50,7 @@ #:use-module (gnu packages curl) #:use-module (gnu packages pcre) #:use-module (gnu packages perl) + #:use-module (gnu packages python) #:use-module (gnu packages tls) #:use-module (srfi srfi-1)) @@ -582,3 +584,35 @@ program capable of converting PDF into other formats.") "Xournal is an application for notetaking, sketching, keeping a journal using a stylus.") (license license:gpl2+))) + +(define-public python-reportlab + (package + (name "python-reportlab") + (version "3.3.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "reportlab" version)) + (sha256 + (base32 + "0rz2pg04wnzjjm2f5a8ik9v8s54mv4xrjhv5liqjijqv6awh12gl")))) + (build-system python-build-system) + (arguments + ;; Prevent creation of the egg. Without this flag, various artifacts + ;; from the build inputs end up in the final python3 output. It also + ;; works around https://debbugs.gnu.org/cgi/bugreport.cgi?bug=20765 . + `(#:configure-flags '("--single-version-externally-managed" "--root=/"))) + (propagated-inputs + `(("python-pillow" ,python-pillow))) + (home-page "http://www.reportlab.com") + (synopsis "Python library for generating PDFs and graphics") + (description "This is the ReportLab PDF Toolkit. It allows rapid creation +of rich PDF documents, and also creation of charts in a variety of bitmap and +vector formats.") + (license license:bsd-3) + (properties `((python2-variant . ,(delay python2-reportlab)))))) + +(define-public python2-reportlab + (package + (inherit (package-with-python2 + (strip-python2-variant python-reportlab))) + (native-inputs `(("python2-pip" ,python2-pip))))) -- cgit v1.2.3 From 8293b116e64f543848f4845723208973aeb993f9 Mon Sep 17 00:00:00 2001 From: Alex Vong Date: Tue, 5 Jul 2016 16:24:20 +0800 Subject: gnu: Add clojure. * gnu/packages/java.scm (clojure): New variable. --- gnu/packages/java.scm | 141 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 141 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index e8216072b6..3e0b034950 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -142,6 +142,147 @@ is implemented.") license:mpl2.0 license:lgpl2.1+)))) +(define-public clojure + (let* ((remove-archives '(begin + (for-each delete-file + (find-files "." ".*\\.(jar|zip)")) + #t)) + (submodule (lambda (prefix version hash) + (origin + (method url-fetch) + (uri (string-append "https://github.com/clojure/" + prefix version ".tar.gz")) + (sha256 (base32 hash)) + (modules '((guix build utils))) + (snippet remove-archives))))) + (package + (name "clojure") + (version "1.8.0") + (source + (origin + (method url-fetch) + (uri + (string-append "http://repo1.maven.org/maven2/org/clojure/clojure/" + version "/clojure-" version ".zip")) + (sha256 + (base32 "1nip095fz5c492sw15skril60i1vd21ibg6szin4jcvyy3xr6cym")) + (modules '((guix build utils))) + (snippet remove-archives))) + (build-system ant-build-system) + (arguments + `(#:modules ((guix build ant-build-system) + (guix build utils) + (ice-9 ftw) + (ice-9 regex) + (srfi srfi-1) + (srfi srfi-26)) + #:test-target "test" + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'unpack-submodule-sources + (lambda* (#:key inputs #:allow-other-keys) + (for-each + (lambda (name) + (mkdir-p name) + (with-directory-excursion name + (or (zero? (system* "tar" + ;; Use xz for repacked tarball. + "--xz" + "--extract" + "--verbose" + "--file" (assoc-ref inputs name) + "--strip-components=1")) + (error "failed to unpack tarball" name))) + (copy-recursively (string-append name "/src/main/clojure/") + "src/clj/")) + '("data-generators-src" + "java-classpath-src" + "test-check-src" + "test-generative-src" + "tools-namespace-src" + "tools-reader-src")) + #t)) + ;; The javadoc target is not built by default. + (add-after 'build 'build-doc + (lambda _ + (zero? (system* "ant" "javadoc")))) + ;; Needed since no install target is provided. + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((java-dir (string-append (assoc-ref outputs "out") + "/share/java/"))) + ;; Install versioned to avoid collisions. + (install-file (string-append "clojure-" ,version ".jar") + java-dir) + #t))) + ;; Needed since no install-doc target is provided. + (add-after 'install 'install-doc + (lambda* (#:key outputs #:allow-other-keys) + (let ((doc-dir (string-append (assoc-ref outputs "out") + "/share/doc/clojure-" + ,version "/"))) + (copy-recursively "doc/clojure" doc-dir) + (copy-recursively "target/javadoc/" + (string-append doc-dir "javadoc/")) + (for-each (cut install-file <> doc-dir) + (filter (cut string-match + ".*\\.(html|markdown|md|txt)" + <>) + (scandir "./"))) + #t)))))) + ;; The native-inputs below are needed to run the tests. + (native-inputs + `(("data-generators-src" + ,(submodule "data.generators/archive/data.generators-" + "0.1.2" + "0kki093jp4ckwxzfnw8ylflrfqs8b1i1wi9iapmwcsy328dmgzp1")) + ("java-classpath-src" + ,(submodule "java.classpath/archive/java.classpath-" + "0.2.3" + "0sjymly9xh1lkvwn5ygygpsfwz4dabblnlq0c9bx76rkvq62fyng")) + ("test-check-src" + ,(submodule "test.check/archive/test.check-" + "0.9.0" + "0p0mnyhr442bzkz0s4k5ra3i6l5lc7kp6ajaqkkyh4c2k5yck1md")) + ("test-generative-src" + ,(submodule "test.generative/archive/test.generative-" + "0.5.2" + "1pjafy1i7yblc7ixmcpfq1lfbyf3jaljvkgrajn70sws9xs7a9f8")) + ("tools-namespace-src" + ,(submodule "tools.namespace/archive/tools.namespace-" + "0.2.11" + "10baak8v0hnwz2hr33bavshm7y49mmn9zsyyms1dwjz45p5ymhy0")) + ("tools-reader-src" + ,(submodule "tools.reader/archive/tools.reader-" + "0.10.0" + "09i3lzbhr608h76mhdjm3932gg9xi8sflscla3c5f0v1nkc28cnr")))) + (home-page "https://clojure.org/") + (synopsis "Lisp dialect running on the JVM") + (description "Clojure is a dynamic, general-purpose programming language, +combining the approachability and interactive development of a scripting +language with an efficient and robust infrastructure for multithreaded +programming. Clojure is a compiled language, yet remains completely dynamic +– every feature supported by Clojure is supported at runtime. Clojure +provides easy access to the Java frameworks, with optional type hints and type +inference, to ensure that calls to Java can avoid reflection. + +Clojure is a dialect of Lisp, and shares with Lisp the code-as-data philosophy +and a powerful macro system. Clojure is predominantly a functional programming +language, and features a rich set of immutable, persistent data structures. +When mutable state is needed, Clojure offers a software transactional memory +system and reactive Agent system that ensure clean, correct, multithreaded +designs.") + ;; Clojure is licensed under EPL1.0 + ;; ASM bytecode manipulation library is licensed under BSD-3 + ;; Guava Murmur3 hash implementation is licensed under APL2.0 + ;; src/clj/repl.clj is licensed under CPL1.0 + ;; + ;; See readme.html or readme.txt for details. + (license (list license:epl1.0 + license:bsd-3 + license:asl2.0 + license:cpl1.0))))) + (define-public ant (package (name "ant") -- cgit v1.2.3 From 231313f76a2ee64a90381c37a9080ecafadb9865 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Tue, 16 Aug 2016 23:28:09 +0200 Subject: gnu: Add python-lirc. * gnu/packages/lirc.scm (python-lirc, python2-lirc): New variables. Signed-off-by: Leo Famulari --- gnu/packages/lirc.scm | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/lirc.scm b/gnu/packages/lirc.scm index e3f60e33e2..4c45c0ecb0 100644 --- a/gnu/packages/lirc.scm +++ b/gnu/packages/lirc.scm @@ -19,7 +19,9 @@ (define-module (gnu packages lirc) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix build-system gnu) + #:use-module (guix build-system python) #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages) #:use-module (gnu packages pkg-config) @@ -85,3 +87,52 @@ user space applications allow you to control your computer with a remote control: you can send X events to applications, start programs and much more on just one button press.") (license license:gpl2+))) + +(define-public python-lirc + (let ((commit "4091fe918f3eed2513dad008828565cace408d2f") + (revision "1")) + (package + (name "python-lirc") + (version (string-append "1.2.1-" revision "." (string-take commit 7))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tompreston/python-lirc.git") + (commit commit))) + (sha256 + (base32 + "0cm47s5pvijfs3v2k7hmpxv3mvp4n5la0ihnsczk5ym3iq166jil")) + (file-name (string-append name "-" version ".tar.gz")))) + (build-system python-build-system) + (inputs + `(("lirc" ,lirc))) + (native-inputs + `(("python-cython" ,python-cython))) + (arguments + `(#:tests? #f ; the only tests that exist are human-interactive + #:phases + (modify-phases %standard-phases + (add-before 'build 'build-from-cython-files + (lambda _ + (zero? (system* "make" "py3"))))))) + (home-page "https://github.com/tompreston/python-lirc") + (synopsis "Python bindings for LIRC") + (description "@code{lirc} is a Python module which provides LIRC bindings.") + (license license:gpl3) + (properties `((python2-variant . ,(delay python2-lirc))))))) + +(define-public python2-lirc + (let ((base (package-with-python2 (strip-python2-variant python-lirc)))) + (package + (inherit base) + (arguments + `(#:tests? #f ; the only tests there are are human-interactive + #:phases + (modify-phases %standard-phases + (add-before 'build 'build-from-cython-files + (lambda _ + (zero? (system* "make" "py2"))))))) + (native-inputs + `(("python2-setuptools" ,python2-setuptools) + ("python2-cython" ,python2-cython)))))) -- cgit v1.2.3 From 53dcbbec07cb06147e86a8a186e47cf6155ce7dc Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Tue, 16 Aug 2016 22:33:39 -0400 Subject: gnu: cracklib: Fix CVE-2016-6318. * gnu/packages/patches/cracklib-CVE-2016-6318.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/password-utils.scm (cracklib)[source]: Use the patch. --- gnu/local.mk | 1 + gnu/packages/password-utils.scm | 2 + gnu/packages/patches/cracklib-CVE-2016-6318.patch | 95 +++++++++++++++++++++++ 3 files changed, 98 insertions(+) create mode 100644 gnu/packages/patches/cracklib-CVE-2016-6318.patch (limited to 'gnu/packages') diff --git a/gnu/local.mk b/gnu/local.mk index 7416850003..d89004611b 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -464,6 +464,7 @@ dist_patch_DATA = \ %D%/packages/patches/cpio-gets-undeclared.patch \ %D%/packages/patches/cpio-CVE-2016-2037.patch \ %D%/packages/patches/cpufrequtils-fix-aclocal.patch \ + %D%/packages/patches/cracklib-CVE-2016-6318.patch \ %D%/packages/patches/crda-optional-gcrypt.patch \ %D%/packages/patches/crossmap-allow-system-pysam.patch \ %D%/packages/patches/csound-header-ordering.patch \ diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm index 7a8bdcb5f3..7288da6613 100644 --- a/gnu/packages/password-utils.scm +++ b/gnu/packages/password-utils.scm @@ -29,6 +29,7 @@ #:use-module (guix build-system gnu) #:use-module (guix download) #:use-module (guix packages) + #:use-module (gnu packages) #:use-module (gnu packages admin) #:use-module (gnu packages base) #:use-module (gnu packages compression) @@ -159,6 +160,7 @@ and vice versa.") (uri (string-append "https://github.com/cracklib/cracklib/" "releases/download/" name "-" version "/" name "-" version ".tar.gz")) + (patches (search-patches "cracklib-CVE-2016-6318.patch")) (sha256 (base32 "0hrkb0prf7n92w6rxgq0ilzkk6rkhpys2cfqkrbzswp27na7dkqp")))) diff --git a/gnu/packages/patches/cracklib-CVE-2016-6318.patch b/gnu/packages/patches/cracklib-CVE-2016-6318.patch new file mode 100644 index 0000000000..4806ecaae9 --- /dev/null +++ b/gnu/packages/patches/cracklib-CVE-2016-6318.patch @@ -0,0 +1,95 @@ +Fix CVE-2016-6318. + +https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-6318 + +Patch copied from Red Hat: + +https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-6318 +https://bugzilla.redhat.com/attachment.cgi?id=1188599&action=diff + +It is not safe to pass words longer than STRINGSIZE further to cracklib +so the longbuffer cannot be longer than STRINGSIZE. +diff -up cracklib-2.9.0/lib/fascist.c.longgecos cracklib-2.9.0/lib/fascist.c +--- cracklib-2.9.0/lib/fascist.c.longgecos 2014-02-06 16:03:59.000000000 +0100 ++++ cracklib-2.9.0/lib/fascist.c 2016-08-08 12:05:40.279235815 +0200 +@@ -515,7 +515,7 @@ FascistGecosUser(char *password, const c + char gbuffer[STRINGSIZE]; + char tbuffer[STRINGSIZE]; + char *uwords[STRINGSIZE]; +- char longbuffer[STRINGSIZE * 2]; ++ char longbuffer[STRINGSIZE]; + + if (gecos == NULL) + gecos = ""; +@@ -596,38 +596,47 @@ FascistGecosUser(char *password, const c + { + for (i = 0; i < j; i++) + { +- strcpy(longbuffer, uwords[i]); +- strcat(longbuffer, uwords[j]); +- +- if (GTry(longbuffer, password)) ++ if (strlen(uwords[i]) + strlen(uwords[j]) < STRINGSIZE) + { +- return _("it is derived from your password entry"); +- } +- +- strcpy(longbuffer, uwords[j]); +- strcat(longbuffer, uwords[i]); ++ strcpy(longbuffer, uwords[i]); ++ strcat(longbuffer, uwords[j]); + +- if (GTry(longbuffer, password)) +- { +- return _("it's derived from your password entry"); ++ if (GTry(longbuffer, password)) ++ { ++ return _("it is derived from your password entry"); ++ } ++ ++ strcpy(longbuffer, uwords[j]); ++ strcat(longbuffer, uwords[i]); ++ ++ if (GTry(longbuffer, password)) ++ { ++ return _("it's derived from your password entry"); ++ } + } + +- longbuffer[0] = uwords[i][0]; +- longbuffer[1] = '\0'; +- strcat(longbuffer, uwords[j]); +- +- if (GTry(longbuffer, password)) ++ if (strlen(uwords[j]) < STRINGSIZE - 1) + { +- return _("it is derivable from your password entry"); ++ longbuffer[0] = uwords[i][0]; ++ longbuffer[1] = '\0'; ++ strcat(longbuffer, uwords[j]); ++ ++ if (GTry(longbuffer, password)) ++ { ++ return _("it is derivable from your password entry"); ++ } + } + +- longbuffer[0] = uwords[j][0]; +- longbuffer[1] = '\0'; +- strcat(longbuffer, uwords[i]); +- +- if (GTry(longbuffer, password)) ++ if (strlen(uwords[i]) < STRINGSIZE - 1) + { +- return _("it's derivable from your password entry"); ++ longbuffer[0] = uwords[j][0]; ++ longbuffer[1] = '\0'; ++ strcat(longbuffer, uwords[i]); ++ ++ if (GTry(longbuffer, password)) ++ { ++ return _("it's derivable from your password entry"); ++ } + } + } + } -- cgit v1.2.3 From 6eb7af2a43d94d6404a9b70c8beff1a535b50607 Mon Sep 17 00:00:00 2001 From: Dylan Jeffers Date: Sat, 13 Aug 2016 13:22:49 -0700 Subject: gnu: Add python-kivy. * gnu/packages/python.scm (python-kivy, python2-kivy) (python-kivy-next, python2-kivy-next): New variables. --- gnu/packages/python.scm | 68 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index abb90d8163..206bf68a5e 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -24,6 +24,7 @@ ;;; Copyright © 2016 Sou Bunnbu ;;; Copyright © 2016 Troy Sankey ;;; Copyright © 2016 ng0 +;;; Copyright © 2016 Dylan Jeffers ;;; ;;; This file is part of GNU Guix. ;;; @@ -58,7 +59,9 @@ #:use-module (gnu packages fontutils) #:use-module (gnu packages gcc) #:use-module (gnu packages ghostscript) + #:use-module (gnu packages gl) #:use-module (gnu packages glib) + #:use-module (gnu packages gstreamer) #:use-module (gnu packages gtk) #:use-module (gnu packages icu4c) #:use-module (gnu packages image) @@ -74,6 +77,7 @@ #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages readline) + #:use-module (gnu packages sdl) #:use-module (gnu packages statistics) #:use-module (gnu packages tex) #:use-module (gnu packages texinfo) @@ -9915,3 +9919,67 @@ and/or Xon/Xoff. The port is accessed in RAW mode.") (native-inputs `(("python2-setuptools" ,python2-setuptools) ,@(package-native-inputs base)))))) + +(define-public python-kivy + (package + (name "python-kivy") + (version "1.9.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "kivy" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0zk3g1j1z0lzcm9d0k1lprrs95zr8n8k5pdg3p5qlsn26jz4bg19")))) + (build-system python-build-system) + (arguments + `(#:tests? #f ; Tests require many optional packages + #:phases + (modify-phases %standard-phases + (replace 'build (lambda _ (zero? (system* "make" "force")))) + (add-after 'patch-generated-file-shebangs 'set-sdl-paths + (lambda* (#:key inputs #:allow-other-keys) + (setenv "KIVY_SDL2_PATH" + (string-append (assoc-ref inputs "sdl-union") + "/include/SDL2")) + #t))))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("python-cython" ,python-cython) + ("gstreamer" ,gstreamer) + ("mesa" ,mesa) + ("sdl-union" + ,(sdl-union (list sdl2 sdl2-image sdl2-mixer sdl2-ttf))))) + (home-page "http://kivy.org") + (synopsis + "Multitouch application framework") + (description + "A software library for rapid development of +hardware-accelerated multitouch applications.") + (license license:expat))) + +(define-public python2-kivy + (package-with-python2 python-kivy)) + +(define-public python-kivy-next + (let ((commit "a988c5e7a47da56263ff39514264a3de516ef2fe") + (revision "1")) + (package (inherit python-kivy) + (name "python-kivy-next") + (version (string-append "1.9.1" revision "." + (string-take commit 7))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/kivy/kivy") + (commit commit))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "0jk92b4a8l7blkvkgkjihk171s0dfnq582cckff5srwc8kal5m0p"))))))) + +(define-public python2-kivy-next + (package-with-python2 python-kivy-next)) -- cgit v1.2.3 From d80a71eb9b923025c4179e7edc8d26ffd70cbe44 Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Wed, 17 Aug 2016 06:04:01 -0400 Subject: gnu: python-kivy-next: Fix version string. This is a followup to commit 6eb7af2a43d94d6404a9b70c8beff1a535b50607. * gnu/packages/python.scm (python-kivy-next)[version]: Add missing "-". --- gnu/packages/python.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 206bf68a5e..d7886d9399 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -9968,7 +9968,7 @@ hardware-accelerated multitouch applications.") (revision "1")) (package (inherit python-kivy) (name "python-kivy-next") - (version (string-append "1.9.1" revision "." + (version (string-append "1.9.1-" revision "." (string-take commit 7))) (source (origin -- cgit v1.2.3 From 318c0aee1ec2f33e4dfb7f4daa4a67cfcbe78629 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Mon, 15 Aug 2016 16:06:37 +0100 Subject: gnu: Add minced. * gnu/packages/bioinformatics.scm (minced): New variable. Signed-off-by: Ben Woodcroft --- gnu/packages/bioinformatics.scm | 58 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index dd69e39bcc..b31cf7cfe6 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -5,6 +5,7 @@ ;;; Copyright © 2015 Andreas Enge ;;; Copyright © 2016 Roel Janssen ;;; Copyright © 2016 Efraim Flashner +;;; Copyright © 2016 Marius Bakke ;;; ;;; This file is part of GNU Guix. ;;; @@ -40,6 +41,7 @@ #:use-module (gnu packages autotools) #:use-module (gnu packages algebra) #:use-module (gnu packages base) + #:use-module (gnu packages bash) #:use-module (gnu packages bison) #:use-module (gnu packages boost) #:use-module (gnu packages compression) @@ -3118,6 +3120,62 @@ probabilistic distances of genome abundance and tetranucleotide frequency.") (license (license:non-copyleft "file://license.txt" "See license.txt in the distribution.")))) +(define-public minced + (package + (name "minced") + (version "0.2.0") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/ctSkennerton/minced/archive/" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0wxmlsapxfpxfd3ps9636h7i2xy6la8i42mwh0j2lsky63h63jp1")))) + (build-system gnu-build-system) + (arguments + `(#:test-target "test" + #:phases + (modify-phases %standard-phases + (delete 'configure) + (add-before 'check 'fix-test + (lambda _ + ;; Fix test for latest version. + (substitute* "t/Aquifex_aeolicus_VF5.expected" + (("minced:0.1.6") "minced:0.2.0")) + #t)) + (replace 'install ; No install target. + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin")) + (wrapper (string-append bin "/minced"))) + ;; Minced comes with a wrapper script that tries to figure out where + ;; it is located before running the JAR. Since these paths are known + ;; to us, we build our own wrapper to avoid coreutils dependency. + (install-file "minced.jar" bin) + (with-output-to-file wrapper + (lambda _ + (display + (string-append + "#!" (assoc-ref inputs "bash") "/bin/sh\n\n" + (assoc-ref inputs "jre") "/bin/java -jar " + bin "/minced.jar \"$@\"\n")))) + (chmod wrapper #o555))))))) + (native-inputs + `(("jdk" ,icedtea "jdk"))) + (inputs + `(("bash" ,bash) + ("jre" ,icedtea "out"))) + (home-page "https://github.com/ctSkennerton/minced") + (synopsis "Mining CRISPRs in Environmental Datasets") + (description + "MinCED is a program to find Clustered Regularly Interspaced Short +Palindromic Repeats (CRISPRs) in DNA sequences. It can be used for +unassembled metagenomic reads, but is mainly designed for full genomes and +assembled metagenomic sequence.") + (license license:gpl3+))) + (define-public miso (package (name "miso") -- cgit v1.2.3 From ddee9a6e8b95b35f93b369a20e503c586feebcff Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 2 Aug 2016 02:34:36 +0200 Subject: gnu: zsh: Use 'modify-phases'. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/shells.scm (zsh)[arguments]: Use ‘modify-phases’ instead of ‘alist-delete’. --- gnu/packages/shells.scm | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm index c3e5303f0c..183ef7f289 100644 --- a/gnu/packages/shells.scm +++ b/gnu/packages/shells.scm @@ -233,27 +233,27 @@ history mechanism, job control and a C-like syntax.") "0dsr450v8nydvpk8ry276fvbznlrjgddgp7zvhcw4cv69i9lr4ps")))) (build-system gnu-build-system) (arguments `(#:configure-flags '("--with-tcsetpgrp" "--enable-pcre") - #:phases (alist-cons-before - 'configure 'fix-sh - (lambda _ - ;; Some of the files are ISO-8859-1 encoded. - (with-fluids ((%default-port-encoding #f)) - (substitute* - '("configure" - "configure.ac" - "Src/exec.c" - "Src/mkmakemod.sh" - "Config/installfns.sh" - "Config/defs.mk.in" - "Test/E01options.ztst" - "Test/A05execution.ztst" - "Test/A01grammar.ztst" - "Test/A06assign.ztst" - "Test/B02typeset.ztst" - "Completion/Unix/Command/_init_d" - "Util/preconfig") - (("/bin/sh") (which "sh"))))) - %standard-phases))) + #:phases + (modify-phases %standard-phases + (add-before 'configure 'fix-sh + (lambda _ + ;; Some of the files are ISO-8859-1 encoded. + (with-fluids ((%default-port-encoding #f)) + (substitute* + '("configure" + "configure.ac" + "Src/exec.c" + "Src/mkmakemod.sh" + "Config/installfns.sh" + "Config/defs.mk.in" + "Test/E01options.ztst" + "Test/A05execution.ztst" + "Test/A01grammar.ztst" + "Test/A06assign.ztst" + "Test/B02typeset.ztst" + "Completion/Unix/Command/_init_d" + "Util/preconfig") + (("/bin/sh") (which "sh"))))))))) (native-inputs `(("autoconf" ,autoconf))) (inputs `(("ncurses" ,ncurses) ("pcre" ,pcre) -- cgit v1.2.3 From 316a5d02b07cefbe8d54880a0c2effe563ca0661 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 16 Aug 2016 19:10:15 +0200 Subject: gnu: simple-scan: Update to 3.21.90. * gnu/packages/gnome.scm (simple-scan): Update to 3.21.90. [inputs]: Remove libgudev. [native-inputs]: Replace intltool dependency with gnu-gettext. --- gnu/packages/gnome.scm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 4a0be0142a..83566e1bd3 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -3526,7 +3526,7 @@ USB transfers with your high-level application or system daemon.") (define-public simple-scan (package (name "simple-scan") - (version "3.19.91") + (version "3.21.90") (source (origin (method url-fetch) (uri (string-append "https://launchpad.net/simple-scan/" @@ -3535,7 +3535,7 @@ USB transfers with your high-level application or system daemon.") version ".tar.xz")) (sha256 (base32 - "1c5glf5vxgld41w4jxfqcv17q76qnh43fawpv33hncgh8d283xkf")))) + "0dmsvq3vviky6851rqiik898r84c7744i7md672ckic3mdv21ap3")))) (build-system glib-or-gtk-build-system) (inputs `(("gtk" ,gtk+) @@ -3543,10 +3543,9 @@ USB transfers with your high-level application or system daemon.") ("cairo" ,cairo) ("gdk-pixbuf" ,gdk-pixbuf) ("gusb" ,gusb) - ("libgudev" ,libgudev) ("libsane" ,sane-backends))) (native-inputs - `(("intltool" ,intltool) + `(("gettext" ,gnu-gettext) ("itstool" ,itstool) ("colord" ,colord) ("glib" ,glib "bin") ; glib-compile-schemas, etc. -- cgit v1.2.3 From 433530a5fcfd379cd954d84588ca600ad5867653 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 17 Aug 2016 17:32:52 +0200 Subject: gnu: clipper: Update to 1.1. * gnu/packages/bioinformatics.scm (clipper): Update to 1.1. [source]: Delete pre-built libraries. [inputs]: Add python2-pandas. --- gnu/packages/bioinformatics.scm | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index b31cf7cfe6..233b7a8879 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -1422,7 +1422,7 @@ databases.") (define-public clipper (package (name "clipper") - (version "0.3.0") + (version "1.1") (source (origin (method url-fetch) (uri (string-append @@ -1431,12 +1431,18 @@ databases.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1q7jpimsqln7ic44i8v2rx2haj5wvik8hc1s2syd31zcn0xk1iyq")) + "0pflmsvhbf8izbgwhbhj1i7349sw1f55qpqj8ljmapp16hb0p0qi")) (modules '((guix build utils))) (snippet - ;; remove unnecessary setup dependency - '(substitute* "setup.py" - (("setup_requires = .*") ""))))) + '(begin + ;; remove unnecessary setup dependency + (substitute* "setup.py" + (("setup_requires = .*") "")) + (for-each delete-file + '("clipper/src/peaks.so" + "clipper/src/readsToWiggle.so")) + (delete-file-recursively "dist/") + #t)))) (build-system python-build-system) (arguments `(#:python ,python-2)) ; only Python 2 is supported (inputs @@ -1445,6 +1451,7 @@ databases.") ("python-cython" ,python2-cython) ("python-scikit-learn" ,python2-scikit-learn) ("python-matplotlib" ,python2-matplotlib) + ("python-pandas" ,python2-pandas) ("python-pysam" ,python2-pysam) ("python-numpy" ,python2-numpy) ("python-scipy" ,python2-scipy))) -- cgit v1.2.3 From 6a79e9fa474d0aec54efe0bb3e03d48eeb9cb8a5 Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Wed, 17 Aug 2016 13:58:43 -0400 Subject: gnu: linux-libre@4.4: Update to 4.4.18. * gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.18. --- gnu/packages/linux.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index f4dc3e7089..17b2ce4e05 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -341,13 +341,13 @@ It has been modified to remove all non-free binary blobs.") (define-public linux-libre-4.4 (package (inherit linux-libre) - (version "4.4.17") + (version "4.4.18") (source (origin (method url-fetch) (uri (linux-libre-urls version)) (sha256 (base32 - "1dbvvwxfqakan49ckcgk52r2zvwy1jmsgjnn5cl7hm5h2ks6nkzj")))) + "0k8k17in7dkjd9d8zg3i8l1ax466dba6bxw28flxizzyq8znljps")))) (native-inputs (let ((conf (kernel-config (or (%current-target-system) (%current-system)) -- cgit v1.2.3 From 6a9a336265359eaa136ed341a884912f98c85219 Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Wed, 17 Aug 2016 13:59:56 -0400 Subject: gnu: linux-libre: Update to 4.7.1. * gnu/packages/linux.scm (linux-libre): Update to 4.7.1. --- gnu/packages/linux.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 17b2ce4e05..698fa3a36c 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -226,7 +226,7 @@ for SYSTEM and optionally VARIANT, or #f if there is no such configuration." (search-path %load-path file))) (define-public linux-libre - (let* ((version "4.7") + (let* ((version "4.7.1") (build-phase '(lambda* (#:key system inputs #:allow-other-keys #:rest args) ;; Avoid introducing timestamps @@ -304,7 +304,7 @@ for SYSTEM and optionally VARIANT, or #f if there is no such configuration." (uri (linux-libre-urls version)) (sha256 (base32 - "0ah3c70bj7iik5xrmrrixcbcz65pn3nf887x78drv6mdw2ayb0zl")))) + "08b8yv5grhzacahmhs3q1031d6a4k7qf1qj7i5vsk33fhgg1nvzx")))) (build-system gnu-build-system) (supported-systems '("x86_64-linux" "i686-linux")) (native-inputs `(("perl" ,perl) -- cgit v1.2.3 From c437922a0d85a4749f3d2f64c8f061cfb0954043 Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Wed, 17 Aug 2016 13:55:05 -0400 Subject: gnu: aalib: Fix build on mips64el. * gnu/packages/video.scm (aalib)[arguments]: On MIPS, pass "--host=mips64el-unknown-linux-gnu" to ./configure. --- gnu/packages/video.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'gnu/packages') diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 471f97b111..98b7c41d9f 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -104,7 +104,7 @@ (inputs `(("ncurses" ,ncurses))) (arguments - '(#:phases + `(#:phases (modify-phases %standard-phases (replace 'configure (lambda* (#:key build inputs outputs #:allow-other-keys) @@ -116,6 +116,12 @@ (zero? (system* "./configure" (string-append "--prefix=" out) (string-append "--build=" build) + ;; The ancient config.guess is unable to + ;; guess the host triplet on mips64el. + ,@(if (string=? "mips64el-linux" + (%current-system)) + '("--host=mips64el-unknown-linux-gnu") + '()) (string-append "--with-ncurses=" ncurses))))))))) (home-page "http://aa-project.sourceforge.net/aalib/") -- cgit v1.2.3 From cb50d0c278e68048d4bd1c30441801ff7e454304 Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Tue, 16 Aug 2016 00:38:49 -0400 Subject: gnu: libx264: Fix build on MIPS. * gnu/packages/video.scm (libx264)[arguments]: On MIPS, add "--disable-asm" to #:configure-flags. --- gnu/packages/video.scm | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'gnu/packages') diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 98b7c41d9f..bc6415ec74 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -222,7 +222,18 @@ television and DVD. It is also known as AC-3.") ;; package to avoid a circular dependency (the x264 ;; program depends on ffmpeg and ffmpeg depends on ;; libx264). - "--disable-cli"))) + "--disable-cli" + + ;; On MIPS, we must pass "--disable-asm" or else + ;; configure fails after printing: "You specified a + ;; pre-MSA CPU in your CFLAGS. If you really want + ;; to run on such a CPU, configure with + ;; --disable-asm." + ,@(if (string-prefix? "mips" + (or (%current-target-system) + (%current-system))) + '("--disable-asm") + '())))) (home-page "http://www.videolan.org/developers/x264.html") (synopsis "H.264 video coding library") (description "libx264 is an advanced encoding library for creating -- cgit v1.2.3 From 2557131496ed0bf5d4cef79bd2d05fe8eeef58b3 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sat, 13 Aug 2016 20:18:25 +0200 Subject: gnu: pulseaudio: Update to 9.0. * gnu/packages/pulseaudio.scm (pulseaudio): Update to 9.0. --- gnu/packages/pulseaudio.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/pulseaudio.scm b/gnu/packages/pulseaudio.scm index 1a7f2c5e8e..9a22b38ec2 100644 --- a/gnu/packages/pulseaudio.scm +++ b/gnu/packages/pulseaudio.scm @@ -113,7 +113,7 @@ rates.") (define-public pulseaudio (package (name "pulseaudio") - (version "8.0") + (version "9.0") (source (origin (method url-fetch) (uri (string-append @@ -121,7 +121,7 @@ rates.") name "-" version ".tar.xz")) (sha256 (base32 - "128rrlvrgb4ia3pbzipf5mi6nvrpm6zmxn5r3bynqiikhvify3k9")) + "11j682g2mn723sz3bh4i44ggq29z053zcggy0glzn63zh9mxdly3")) (modules '((guix build utils))) (snippet ;; Disable console-kit support by default since it's deprecated -- cgit v1.2.3 From 90e20240e38f41c42cd34e432e825e2410992b20 Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Wed, 17 Aug 2016 19:07:03 -0400 Subject: gnu: libgcrypt@1.5: Replace with 1.5.6 [fixes CVE-2016-6316]. * gnu/packages/gnupg.scm (libgcrypt-1.5)[replacement]: New field. (libgcrypt-1.5.6): New variable. --- gnu/packages/gnupg.scm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm index c411973fea..ae741962e4 100644 --- a/gnu/packages/gnupg.scm +++ b/gnu/packages/gnupg.scm @@ -109,6 +109,7 @@ generation.") (define-public libgcrypt-1.5 (package (inherit libgcrypt) + (replacement libgcrypt-1.5.6) (version "1.5.4") (source (origin @@ -119,6 +120,19 @@ generation.") (base32 "0czvqxkzd5y872ipy6s010ifwdwv29sqbnqc4pf56sd486gqvy6m")))))) +(define-public libgcrypt-1.5.6 + (package + (inherit libgcrypt-1.5) + (source + (let ((version "1.5.6")) + (origin + (method url-fetch) + (uri (string-append "mirror://gnupg/libgcrypt/libgcrypt-" + version ".tar.bz2")) + (sha256 + (base32 + "0ydy7bgra5jbq9mxl5x031nif3m6y3balc6ndw2ngj11wnsjc61h"))))))) + (define-public libassuan (package (name "libassuan") -- cgit v1.2.3 From 67f5adbae657f40e595051bd4bd7a7b9d744a09c Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Wed, 17 Aug 2016 19:10:16 -0400 Subject: gnu: libgcrypt: Replace with 1.7.3 [fixes CVE-2016-6316]. * gnu/packages/gnupg.scm (libgcrypt)[replacement]: New field. (libgcrypt-1.7.3): New variable. --- gnu/packages/gnupg.scm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm index ae741962e4..27de7bc417 100644 --- a/gnu/packages/gnupg.scm +++ b/gnu/packages/gnupg.scm @@ -74,6 +74,7 @@ Daemon and possibly more in the future.") (define-public libgcrypt (package (name "libgcrypt") + (replacement libgcrypt-1.7.3) (version "1.7.0") (source (origin (method url-fetch) @@ -107,6 +108,19 @@ generation.") (properties '((ftp-server . "ftp.gnupg.org") (ftp-directory . "/gcrypt/libgcrypt"))))) +(define-public libgcrypt-1.7.3 + (package + (inherit libgcrypt) + (source + (let ((version "1.7.3")) + (origin + (method url-fetch) + (uri (string-append "mirror://gnupg/libgcrypt/libgcrypt-" + version ".tar.bz2")) + (sha256 + (base32 + "0wbh6fq5zi9wg2xcfvfpwh7dv52jihivx1vm4h91c2kx0w8n3b6x"))))))) + (define-public libgcrypt-1.5 (package (inherit libgcrypt) (replacement libgcrypt-1.5.6) -- cgit v1.2.3 From 866b05fd07db936fb8f7f99d399d52bb3094e1cf Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Wed, 17 Aug 2016 19:12:01 -0400 Subject: gnu: gnupg@1: Update to 1.4.21 [fixes CVE-2016-6316]. * gnu/packages/gnupg.scm (gnupg-1): Update to 1.4.21. --- gnu/packages/gnupg.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm index 27de7bc417..e195434888 100644 --- a/gnu/packages/gnupg.scm +++ b/gnu/packages/gnupg.scm @@ -331,14 +331,14 @@ libskba (working with X.509 certificates and CMS data).") (define-public gnupg-1 (package (inherit gnupg) - (version "1.4.20") + (version "1.4.21") (source (origin (method url-fetch) (uri (string-append "mirror://gnupg/gnupg/gnupg-" version ".tar.bz2")) (sha256 (base32 - "1k7d6zi0zznqsmcjic0yrgfhqklqz3qgd3yac7wxsa7s6088p604")))) + "0xi2mshq8f6zbarb5f61c9w2qzwrdbjm4q8fqsrwlzc51h8a6ivb")))) (native-inputs '()) (inputs `(("zlib" ,zlib) -- cgit v1.2.3 From cde2506f9db3bb649605c04b548e91c0cfd2c924 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Wed, 17 Aug 2016 16:45:34 +0200 Subject: gnu: gvfs: Update to 1.28.3. * gnu/packages/gnome.scm (gvfs): Update to 1.28.3. --- gnu/packages/gnome.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 83566e1bd3..cb3d507183 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -3428,7 +3428,7 @@ part of udev-extras, then udev, then systemd. It's now a project on its own.") (define-public gvfs (package (name "gvfs") - (version "1.28.1") + (version "1.28.3") (source (origin (method url-fetch) (uri (string-append "mirror://gnome/sources/" name "/" @@ -3436,7 +3436,7 @@ part of udev-extras, then udev, then systemd. It's now a project on its own.") name "-" version ".tar.xz")) (sha256 (base32 - "16bry61hg681bwb0pih86cjayzvc5f89ip5xd8fydcy16nnfbksf")))) + "05xxy0ids310qy24vmkyl3hc6mq05p39aa8mkr5fzxkhhnv4r325")))) (build-system gnu-build-system) (arguments '(#:tests? #f)) ; XXX: requiring `pidof' -- cgit v1.2.3 From 1daac1e488f5f69f753e4d291f1079465d13f6f4 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Wed, 17 Aug 2016 18:12:07 +0200 Subject: gnu: gnumeric: Update to 1.12.31. * gnu/packages/gnome.scm (gnumeric): Update to 1.12.31. --- gnu/packages/gnome.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index cb3d507183..af5191fd48 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -1588,7 +1588,7 @@ Hints specification (EWMH).") (define-public gnumeric (package (name "gnumeric") - (version "1.12.28") + (version "1.12.31") (source (origin (method url-fetch) (uri (string-append "mirror://gnome/sources/" name "/" @@ -1596,7 +1596,7 @@ Hints specification (EWMH).") name "-" version ".tar.xz")) (sha256 (base32 - "1fsdp7r6fhc0m3fb4ly4xwh83v3hp2zrv9d0713g4lcy709svm02")))) + "1rvadlgikklwb6rccqc3rlhqv3m9qx27rchm7znxr062fn7fgb68")))) (build-system gnu-build-system) (arguments `(;; The gnumeric developers don't worry much about failing tests. -- cgit v1.2.3 From 2456d97bf6fc02783bf76572e2329d3a0de04e4f Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Wed, 17 Aug 2016 19:04:55 +0200 Subject: gnu: gexiv2: Update to 0.10.4. * gnu/packages/gnome.scm (gexiv2): Update to 0.10.4. --- gnu/packages/gnome.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index af5191fd48..e133fcca5b 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -3811,7 +3811,7 @@ classes for commonly used data structures.") (define-public gexiv2 (package (name "gexiv2") - (version "0.10.3") + (version "0.10.4") (source (origin (method url-fetch) (uri (string-append "mirror://gnome/sources/" name "/" @@ -3819,7 +3819,7 @@ classes for commonly used data structures.") name "-" version ".tar.xz")) (sha256 (base32 - "121r5lv6l82pjr0ycdf2b01mdwy7sxwca2r068zrzylpc6bgn31r")))) + "190www3b61spfgwx42jw8h5hsz2996jcxky48k63468avjpk33dd")))) (build-system gnu-build-system) (native-inputs `(("glib" ,glib "bin") -- cgit v1.2.3 From 8ac32b57d3debd0bc55dcb11fb487fe7f61fb293 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Thu, 18 Aug 2016 01:58:58 +0200 Subject: gnu: libpsl: Update to 0.14.0. * gnu/packages/web.scm (libpsl): Update to 0.14.0. --- gnu/packages/web.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 9106295061..d4b59ddece 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -453,7 +453,7 @@ for efficient socket-like bidirectional reliable communication channels.") (define-public libpsl (package (name "libpsl") - (version "0.13.0") + (version "0.14.0") (source (origin (method url-fetch) (uri (string-append "https://github.com/rockdaboot/libpsl/" @@ -461,7 +461,7 @@ for efficient socket-like bidirectional reliable communication channels.") "/libpsl-" version ".tar.gz")) (sha256 (base32 - "0afn2c4s2m65xifa5sfdll0s2gyqbh2q9k9nq4nsmx1b6c2i3i7x")))) + "1yrfkwjw5b9y9qb4xqw7g0hk0wdscay701c1wkg8fp7lxny99iz8")))) (build-system gnu-build-system) (inputs `(("icu4c" ,icu4c) -- cgit v1.2.3 From d1cada0450fca54260fd20ab49d0586d147cbeb3 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Tue, 9 Aug 2016 14:55:37 -0400 Subject: gnu: git: Provide man-pages in main Git package. * gnu/packages/version-control.scm (git-manpages): Remove variable. (git)[native-inputs]: Add git-manpages. [arguments]: Add 'install-man-pages' phase. --- gnu/packages/version-control.scm | 69 ++++++++++++---------------------------- 1 file changed, 20 insertions(+), 49 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 960ed560ff..c6384ed744 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -9,6 +9,7 @@ ;;; Copyright © 2015, 2016 Efraim Flashner ;;; Copyright © 2015 Kyle Meyer ;;; Copyright © 2015 Ricardo Wurmus +;;; Copyright © 2016 Leo Famulari ;;; ;;; This file is part of GNU Guix. ;;; @@ -110,7 +111,6 @@ as well as the classic centralized workflow.") (license gpl2+))) (define-public git - ;; Keep in sync with 'git-manpages'! (package (name "git") (version "2.9.3") @@ -124,7 +124,16 @@ as well as the classic centralized workflow.") (build-system gnu-build-system) (native-inputs `(("native-perl" ,perl) - ("gettext" ,gnu-gettext))) + ("gettext" ,gnu-gettext) + ("git-manpages" + ,(origin + (method url-fetch) + (uri (string-append + "mirror://kernel.org/software/scm/git/git-manpages-" + version ".tar.xz")) + (sha256 + (base32 + "0kabsmjfbvq4y1vlwq0yl2y4033a90rnwsq01d7np3cvy55fiq0l")))))) (inputs `(("curl" ,curl) ("expat" ,expat) @@ -260,7 +269,15 @@ as well as the classic centralized workflow.") ;; specify a single directory, not a search path. (wrap-program (string-append out "/bin/git") `("PATH" ":" prefix - ("$HOME/.guix-profile/libexec/git-core"))))))))) + ("$HOME/.guix-profile/libexec/git-core")))))) + (add-after 'split 'install-man-pages + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (man (string-append out "/share/man")) + (manpages (assoc-ref inputs "git-manpages"))) + (mkdir-p man) + (with-directory-excursion man + (zero? (system* "tar" "xvf" manpages))))))))) (native-search-paths ;; For HTTPS access, Git needs a single-file certificate bundle, specified @@ -278,52 +295,6 @@ everything from small to very large projects with speed and efficiency.") (license gpl2) (home-page "http://git-scm.com/"))) -(define-public git-manpages - ;; Keep in sync with 'git'! - - ;; Granted, we could build the man pages from the 'git' package itself, - ;; which contains the real source. However, it would add a dependency on a - ;; full XML tool chain, and building it actually takes ages. So we use this - ;; lazy approach. - (package - (name "git-manpages") - (version (package-version git)) - (source (origin - (method url-fetch) - (uri (string-append - "mirror://kernel.org/software/scm/git/git-manpages-" - version ".tar.xz")) - (sha256 - (base32 - "0kabsmjfbvq4y1vlwq0yl2y4033a90rnwsq01d7np3cvy55fiq0l")))) - (build-system trivial-build-system) - (arguments - '(#:modules ((guix build utils)) - #:builder - (begin - (use-modules (guix build utils)) - - (let* ((xz (assoc-ref %build-inputs "xz")) - (tar (assoc-ref %build-inputs "tar")) - (out (assoc-ref %outputs "out")) - (man (string-append out "/share/man"))) - (setenv "PATH" (string-append tar "/bin:" xz "/bin")) - - (mkdir-p man) - (with-directory-excursion man - (zero? (system* "tar" "xvf" - (assoc-ref %build-inputs "source")))))))) - - (native-inputs `(("tar" ,tar) - ("xz" ,xz))) - (home-page (package-home-page git)) - (license (package-license git)) - (synopsis "Man pages of the Git version control system") - (description - "This package provides the man pages of the Git version control system. -This is the documentation displayed when using the '--help' option of a 'git' -command."))) - (define-public libgit2 (package (name "libgit2") -- cgit v1.2.3 From 22df70010aed4254e8bcf8cd8efe47cfcf87a3bd Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Thu, 7 Jul 2016 00:55:41 -0500 Subject: gnu: Add NetSurf. * gnu/packages/web.scm (netsurf): New variable. * gnu/packages/patches/netsurf-about.patch: New patch. * gnu/local.mk (dist_patch_DATA): Add it. --- gnu/local.mk | 1 + gnu/packages/patches/netsurf-about.patch | 26 +++++++ gnu/packages/web.scm | 116 +++++++++++++++++++++++++++++++ 3 files changed, 143 insertions(+) create mode 100644 gnu/packages/patches/netsurf-about.patch (limited to 'gnu/packages') diff --git a/gnu/local.mk b/gnu/local.mk index d89004611b..53621d8b94 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -674,6 +674,7 @@ dist_patch_DATA = \ %D%/packages/patches/nasm-no-ps-pdf.patch \ %D%/packages/patches/net-tools-bitrot.patch \ %D%/packages/patches/netcdf-config-date.patch \ + %D%/packages/patches/netsurf-about.patch \ %D%/packages/patches/ngircd-handle-zombies.patch \ %D%/packages/patches/ngircd-no-dns-in-tests.patch \ %D%/packages/patches/ninja-tests.patch \ diff --git a/gnu/packages/patches/netsurf-about.patch b/gnu/packages/patches/netsurf-about.patch new file mode 100644 index 0000000000..1fb8eae824 --- /dev/null +++ b/gnu/packages/patches/netsurf-about.patch @@ -0,0 +1,26 @@ +--- netsurf-all-3.5/netsurf/gtk/about.c ++++ netsurf-all-3.5/netsurf/gtk/about.c +@@ -79,11 +79,11 @@ + switch (response_id) { + + case ABOUT_RESPONSE_ID_LICENCE: +- about_open("about:credits"); ++ about_open("about:licence"); + break; + + case ABOUT_RESPONSE_ID_CREDITS: +- about_open("about:licence"); ++ about_open("about:credits"); + break; + } + +--- netsurf-all-3.5/netsurf/desktop/version.c ++++ netsurf-all-3.5/netsurf/desktop/version.c +@@ -20,6 +20,6 @@ + + #include "desktop/version.h" + +-const char * const netsurf_version = "3.5 (6th April 1016)"; ++const char * const netsurf_version = "3.5 (6th April 2016)"; + const int netsurf_version_major = 3; + const int netsurf_version_minor = 5; diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index d4b59ddece..29055c3c06 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -52,12 +52,17 @@ #:use-module (gnu packages compression) #:use-module (gnu packages cyrus-sasl) #:use-module (gnu packages databases) + #:use-module (gnu packages bison) + #:use-module (gnu packages flex) #:use-module (gnu packages mit-krb5) #:use-module (gnu packages gd) #:use-module (gnu packages gettext) #:use-module (gnu packages glib) #:use-module (gnu packages gnome) + #:use-module (gnu packages gperf) + #:use-module (gnu packages gtk) #:use-module (gnu packages icu4c) + #:use-module (gnu packages image) #:use-module (gnu packages lua) #:use-module (gnu packages base) #:use-module (gnu packages perl) @@ -3389,3 +3394,114 @@ playback of HTTP request/response traces.") can easily be invoked on a single file. Your partner can access the file with tools they trust (e.g. wget).") (license l:gpl2+))) + +(define-public netsurf + (package + (name "netsurf") + (version "3.5") + (source + (origin + (method url-fetch) + (uri (string-append "https://download.netsurf-browser.org/" + "netsurf/releases/source-full/netsurf-all-" + version ".tar.gz")) + (sha256 + (base32 + "1vdldzcv42wykajmw8vbql0f1yd44gbx30kywfrrh2x3064ly609")) + (modules '((guix build utils))) + (snippet + '(begin + (substitute* "Makefile" + ;; Do not clobber PKG_CONFIG_PATH from the environment + (("PKG_CONFIG_PATH = \\$") + "PKG_CONFIG_PATH := $(PKG_CONFIG_PATH):$") + ;; Honor make variables + (("shell cc") "shell $(CC)")))) + (patches (search-patches "netsurf-about.patch")))) + (build-system glib-or-gtk-build-system) + (native-inputs + `(("pkg-config" ,pkg-config) + ("perl" ,perl) + ("perl-html-parser" ,perl-html-parser) + ("flex" ,flex) + ("bison" ,bison))) + (inputs + `(("gtk+" ,gtk+-2) + ("gperf" ,gperf) + ("curl" ,curl) + ("openssl" ,openssl) + ("libpng" ,libpng) + ("libjpeg" ,libjpeg) + ("expat" ,expat))) + (arguments + `(#:make-flags `("CC=gcc" "BUILD_CC=gcc" + ,(string-append "PREFIX=" %output)) + #:parallel-build? #f ;parallel builds not supported + #:tests? #f ;no way to easily run from release tarball + #:modules ((ice-9 rdelim) + (ice-9 match) + (srfi srfi-1) + (sxml simple) + ,@%glib-or-gtk-build-system-modules) + #:phases + (modify-phases %standard-phases + (replace 'configure + (lambda _ + (call-with-output-file "netsurf/Makefile.config" + (lambda (port) + (format port "~ + NETSURF_GTK_RESOURCES := $(PREFIX)/share/netsurf/~@ + "))) + #t)) + (add-after 'build 'adjust-welcome + (lambda _ + ;; First, fix some unended tags and simple substitutions + (substitute* "netsurf/gtk/res/welcome.html" + (("<(img|input)([^>]*)>" _ tag contents) + (string-append "<" tag contents " />")) + (("Licence") "License") ;prefer GNU spelling + ((" open source") ", free software") + (("web site") "website") + ;; Prefer privacy-respecting default search engine + (("www.google.co.uk") "www.duckduckgo.com/html") + (("Google Search") "DuckDuckGo Search") + (("name=\"btnG\"") "")) + ;; Remove default links so it doesn't seem we're endorsing them + (with-atomic-file-replacement "netsurf/gtk/res/welcome.html" + (lambda (in out) + ;; Leave the DOCTYPE header as is + (display (read-line in 'concat) out) + (sxml->xml + (let rec ((sxml (xml->sxml in))) + ;; We'd like to use sxml-match here, but it can't + ;; match against generic tag symbols... + (match sxml + (`(div (@ (class "links")) . ,rest) + '()) + ((x ...) + (map rec x)) + (x x))) + out))) + #t)) + (add-after 'install 'install-more + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (desktop (string-append out "/share/applications/" + "netsurf.desktop"))) + (mkdir-p (dirname desktop)) + (copy-file "netsurf/gtk/res/netsurf-gtk.desktop" + desktop) + (substitute* desktop + (("netsurf-gtk") (string-append out "/bin/netsurf")) + (("netsurf.png") (string-append out "/share/netsurf/" + "netsurf.xpm"))) + (install-file "netsurf/Docs/netsurf-gtk.1" + (string-append out "/share/man/man1/")) + #t)))))) + (home-page "https://www.netsurf-browser.org") + (synopsis "Web browser") + (description + "NetSurf is a lightweight web browser that has its own layout and +rendering engine entirely written from scratch. It is small and capable of +handling many of the web standards in use today.") + (license l:gpl2+))) -- cgit v1.2.3 From 79f9d5d5dc97e492e0583e039a2699aa17f4eb11 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Wed, 17 Aug 2016 02:14:28 -0400 Subject: gnu: mercurial: Update to 3.9. * gnu/packages/version-control.scm (mercurial): Update to 3.9. --- gnu/packages/version-control.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index c6384ed744..c39368d9ad 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -580,14 +580,14 @@ control to Git repositories.") (define-public mercurial (package (name "mercurial") - (version "3.8.4") + (version "3.9") (source (origin (method url-fetch) (uri (string-append "https://www.mercurial-scm.org/" "release/mercurial-" version ".tar.gz")) (sha256 (base32 - "19ixvxgifx48lxp9vdmsf88nnjsxl035ahmp3iw1vyilkpqkwbjb")))) + "1g6svg7fc1kyaxq653iwsvdh8hp2lrhs2ywazfc436a4zzf2akw3")))) (build-system python-build-system) (arguments `(;; Restrict to Python 2, as Python 3 would require -- cgit v1.2.3