From 344d81f35d124e7540804ac75125395f6c334a27 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 12 Oct 2021 13:21:22 +0300 Subject: gnu: dbxfs: Update home-page. * gnu/packages/file-systems.scm (dbxfs)[home-page]: Update to new upstream homepage. --- gnu/packages/file-systems.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages') diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm index 62a568ad4a..f195dc2f62 100644 --- a/gnu/packages/file-systems.scm +++ b/gnu/packages/file-systems.scm @@ -1550,7 +1550,7 @@ Dropbox API v2.") ("python-keyrings.alt" ,python-keyrings.alt) ("python-privy" ,python-privy) ("python-userspacefs" ,python-userspacefs))) - (home-page "https://github.com/rianhunter/dbxfs") + (home-page "https://thelig.ht/code/dbxfs/") (synopsis "User-space file system for Dropbox") (description "@code{dbxfs} allows you to mount your Dropbox folder as if it were a -- cgit v1.2.3 From 6214743aa83dafacf4ce9377a79c7bae4cbc0b05 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Tue, 12 Oct 2021 20:27:55 +0100 Subject: gnu: guix-build-coordinator: Update to 0-35.a4d0ec6. * gnu/packages/package-management.scm (guix-build-coordinator): Update to 0-35.a4d0ec6. --- gnu/packages/package-management.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index bedbe06b51..149b05a425 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -1187,8 +1187,8 @@ environments.") (license (list license:gpl3+ license:agpl3+ license:silofl1.1)))) (define-public guix-build-coordinator - (let ((commit "76d129dc19cc0e14441ae3a74bbc44e3be570b21") - (revision "34")) + (let ((commit "a4d0ec6bc564bbe98d3e6c03be41de16edbda928") + (revision "35")) (package (name "guix-build-coordinator") (version (git-version "0" revision commit)) @@ -1199,7 +1199,7 @@ environments.") (commit commit))) (sha256 (base32 - "1f624vlk58cznx4383vkhkw61lplv25nqy3qhclsawbm5bih7wcj")) + "0qa7qkskp9xzhyl0fgbm98f8apy8cn2yc9gpxhw0dfc9bkbs1pb9")) (file-name (string-append name "-" version "-checkout")))) (build-system gnu-build-system) (arguments -- cgit v1.2.3 From 89ea3ab220bfdefcc1ab4588e7a93913ce4595d5 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Tue, 12 Oct 2021 00:20:57 +0200 Subject: gnu: ganeti: Adjust code style. * gnu/packages/virtualization.scm (ganeti)[arguments]: Remove trailing #t's. Add syntactic sugar using primitives from SRFI-1, SRFI-26, and (ice-9 match). --- gnu/packages/virtualization.scm | 55 +++++++++++++++++------------------------ 1 file changed, 22 insertions(+), 33 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index e5da1b5c2c..2106ade721 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -511,8 +511,6 @@ firmware blobs. You can (define-public ganeti (package (name "ganeti") - ;; Note: we use a pre-release for Python 3 compatibility as well as many - ;; other fixes. (version "3.0.1") (source (origin (method git-fetch) @@ -536,6 +534,9 @@ firmware blobs. You can #:modules (,@%gnu-build-system-modules ((guix build haskell-build-system) #:prefix haskell:) ((guix build python-build-system) #:select (python-version)) + (srfi srfi-1) + (srfi srfi-26) + (ice-9 match) (ice-9 rdelim)) ;; The default test target includes a lot of checks that are only really @@ -590,8 +591,7 @@ firmware blobs. You can (unless (file-exists? "vcs-version") (call-with-output-file "vcs-version" (lambda (port) - (format port "v~a~%" ,version)))) - #t)) + (format port "v~a~%" ,version)))))) (add-after 'unpack 'patch-absolute-file-names (lambda _ (substitute* '("lib/utils/process.py" @@ -617,8 +617,7 @@ firmware blobs. You can (("ndisc6") (which "ndisc6")) (("fping") (which "fping")) (("grep") (which "grep")) - (("ip addr") (string-append (which "ip") " addr"))) - #t)) + (("ip addr") (string-append (which "ip") " addr"))))) (add-after 'unpack 'override-builtin-PATH (lambda _ ;; Ganeti runs OS install scripts and similar with a built-in @@ -626,8 +625,7 @@ firmware blobs. You can (substitute* "src/Ganeti/Constants.hs" (("/sbin:/bin:/usr/sbin:/usr/bin") "/run/setuid-programs:/run/current-system/profile/sbin:\ -/run/current-system/profile/bin")) - #t)) +/run/current-system/profile/bin")))) (add-after 'bootstrap 'patch-sphinx-version-detection (lambda _ ;; The build system runs 'sphinx-build --version' to verify that @@ -635,8 +633,7 @@ firmware blobs. You can ;; .sphinx-build-real executable name created by the Sphinx wrapper. (substitute* "configure" (("\\$SPHINX --version 2>&1") - "$SPHINX --version 2>&1 | sed 's/.sphinx-build-real/sphinx-build/g'")) - #t)) + "$SPHINX --version 2>&1 | sed 's/.sphinx-build-real/sphinx-build/g'")))) ;; The build system invokes Cabal and GHC, which do not work with ;; GHC_PACKAGE_PATH: . @@ -650,13 +647,11 @@ firmware blobs. You can (("\\$\\(CABAL\\)") "$(CABAL) --package-db=../package.conf.d") (("\\$\\(GHC\\)") - "$(GHC) -package-db=../package.conf.d")) - #t)) + "$(GHC) -package-db=../package.conf.d")))) (add-after 'configure 'make-ghc-use-shared-libraries (lambda _ (substitute* "Makefile" - (("HFLAGS =") "HFLAGS = -dynamic -fPIC")) - #t)) + (("HFLAGS =") "HFLAGS = -dynamic -fPIC")))) (add-after 'configure 'fix-installation-directories (lambda _ (substitute* "Makefile" @@ -666,8 +661,7 @@ firmware blobs. You can ;; Similarly, do not attempt to install the sample ifup scripts ;; to /etc/ganeti. (("\\$\\(DESTDIR\\)\\$\\(ifupdir\\)") - "$(DESTDIR)${prefix}$(ifupdir)")) - #t)) + "$(DESTDIR)${prefix}$(ifupdir)")))) (add-before 'build 'adjust-tests (lambda _ ;; Disable tests that can not run. Do it early to prevent @@ -692,15 +686,13 @@ firmware blobs. You can ;; the Python interpreter, which does not work very well for us. (substitute* "Makefile" (("PYTHONPATH=") - (string-append "PYTHONPATH=" (getenv "PYTHONPATH") ":"))) - #t)) + (string-append "PYTHONPATH=" (getenv "PYTHONPATH") ":"))))) (add-after 'build 'build-bash-completions (lambda _ (let ((orig-pythonpath (getenv "PYTHONPATH"))) (setenv "PYTHONPATH" (string-append ".:" orig-pythonpath)) (invoke "./autotools/build-bash-completion") - (setenv "PYTHONPATH" orig-pythonpath) - #t))) + (setenv "PYTHONPATH" orig-pythonpath)))) (add-before 'check 'pre-check (lambda* (#:key inputs #:allow-other-keys) ;; Set TZDIR so that time zones are found. @@ -738,15 +730,14 @@ firmware blobs. You can (for-each (lambda (file) (symlink "../../src/htools" file)) '("hspace" "hscan" "hinfo" "hbal" "hroller" - "hcheck" "hail" "hsqueeze"))) - #t)) + "hcheck" "hail" "hsqueeze"))))) (add-after 'install 'install-bash-completions (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (compdir (string-append out "/etc/bash_completion.d"))) (mkdir-p compdir) (copy-file "doc/examples/bash_completion" - (string-append compdir "/ganeti")) + (string-append compdir "/ganeti")) ;; The one file contains completions for many different ;; executables. Create symlinks for found completions. (with-directory-excursion compdir @@ -765,11 +756,10 @@ firmware blobs. You can ;; Note that 'burnin' is listed with the ;; absolute file name, which is why we ;; run everything through 'basename'. - (cons (basename (car (reverse (string-split - line #\ )))) - progs)) - (loop (read-line port) progs)))))))) - #t))) + (match (string-split line #\ ) + ((commands ... prog) + (cons (basename prog) progs)))) + (loop (read-line port) progs))))))))))) ;; Wrap all executables with PYTHONPATH. We can't borrow the phase ;; from python-build-system because we also need to wrap the scripts ;; in $out/lib/ganeti such as "node-daemon-setup". @@ -792,7 +782,7 @@ firmware blobs. You can (or (string-contains shebang "/bin/bash") (string-contains shebang "/bin/sh"))))))) - (define (wrap? file) + (define* (wrap? file #:rest _) ;; Do not wrap shell scripts because some are meant to be ;; sourced, which breaks if they are wrapped. We do wrap ;; the Haskell executables because some call out to Python @@ -804,10 +794,9 @@ firmware blobs. You can (for-each (lambda (file) (wrap-program file `("PYTHONPATH" ":" prefix (,PYTHONPATH)))) - (filter wrap? - (append (find-files (string-append lib "/ganeti")) - (find-files sbin)))) - #t)))))) + (append-map (cut find-files <> wrap?) + (list (string-append lib "/ganeti") + sbin))))))))) (native-inputs `(("haskell" ,ghc) ("cabal" ,cabal-install) -- cgit v1.2.3 From 0b5e128750ed40d4348f2eb49d328b81dba9181a Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Tue, 12 Oct 2021 19:23:30 +0200 Subject: gnu: QEMU: Update to 6.1.0. * gnu/packages/virtualization.scm (qemu): Update to 6.1.0. [source](patches): Remove obsolete patch. [arguments]: Adjust substitutions for upstream changes. [native-inputs]: Add PYTHON-SPHINX-RTD-THEME. * gnu/packages/patches/qemu-meson-compat.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. --- gnu/packages/patches/qemu-meson-compat.patch | 27 --------------------------- gnu/packages/virtualization.scm | 14 ++++++-------- 2 files changed, 6 insertions(+), 35 deletions(-) delete mode 100644 gnu/packages/patches/qemu-meson-compat.patch (limited to 'gnu/packages') diff --git a/gnu/packages/patches/qemu-meson-compat.patch b/gnu/packages/patches/qemu-meson-compat.patch deleted file mode 100644 index e6968c57dc..0000000000 --- a/gnu/packages/patches/qemu-meson-compat.patch +++ /dev/null @@ -1,27 +0,0 @@ -Fix a build failure that occurs with newer versions of Meson when -gdbus-codegen is unavailable. - -Taken from upstream: -https://gitlab.com/qemu-project/qemu/-/commit/5ecfb76ccc056eb6127e44268e475827ae73b9e0 - -diff --git a/configure b/configure ---- a/configure -+++ b/configure -@@ -3341,7 +3341,7 @@ if ! test "$gio" = "no"; then - gio_cflags=$($pkg_config --cflags gio-2.0) - gio_libs=$($pkg_config --libs gio-2.0) - gdbus_codegen=$($pkg_config --variable=gdbus_codegen gio-2.0) -- if [ ! -x "$gdbus_codegen" ]; then -+ if ! has "$gdbus_codegen"; then - gdbus_codegen= - fi - # Check that the libraries actually work -- Ubuntu 18.04 ships -@@ -5704,6 +5704,8 @@ if test "$gio" = "yes" ; then - echo "CONFIG_GIO=y" >> $config_host_mak - echo "GIO_CFLAGS=$gio_cflags" >> $config_host_mak - echo "GIO_LIBS=$gio_libs" >> $config_host_mak -+fi -+if test "$gdbus_codegen" != "" ; then - echo "GDBUS_CODEGEN=$gdbus_codegen" >> $config_host_mak - fi - echo "CONFIG_TLS_PRIORITY=\"$tls_priority\"" >> $config_host_mak diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index 2106ade721..504f199296 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -149,7 +149,7 @@ (define-public qemu (package (name "qemu") - (version "6.0.0") + (version "6.1.0") (source (origin (method url-fetch) @@ -157,9 +157,8 @@ version ".tar.xz")) (sha256 (base32 - "1f9hz8rf12jm8baa7kda34yl4hyl0xh0c4ap03krfjx23i3img47")) + "15iw7982g6vc4jy1l9kk1z9sl5bm1bdbwr74y7nvwjs1nffhig7f")) (patches (search-patches "qemu-CVE-2021-20203.patch" - "qemu-meson-compat.patch" "qemu-sphinx-compat.patch" "qemu-build-info-manual.patch")) (modules '((guix build utils))) @@ -218,12 +217,10 @@ ;; Ensure the executables created by these source files reference ;; /bin/sh from the store so they work inside the build container. (substitute* '("block/cloop.c" "migration/exec.c" - "net/tap.c" "tests/qtest/libqtest.c") + "net/tap.c" "tests/qtest/libqtest.c" + "tests/qtest/vhost-user-blk-test.c") (("/bin/sh") (which "sh"))) - (substitute* "Makefile" - (("SHELL = /usr/bin/env bash -o pipefail") - "SHELL = bash -o pipefail")) - (substitute* "tests/qemu-iotests/check" + (substitute* "tests/qemu-iotests/testenv.py" (("#!/usr/bin/env python3") (string-append "#!" (which "python3")))))) (add-before 'configure 'fix-optionrom-makefile @@ -345,6 +342,7 @@ exec smbd $@"))) ("pkg-config" ,pkg-config) ("python-wrapper" ,python-wrapper) ("python-sphinx" ,python-sphinx) + ("python-sphinx-rtd-theme" ,python-sphinx-rtd-theme) ("texinfo" ,texinfo) ;; The following static libraries are required to build ;; the static output of QEMU. -- cgit v1.2.3 From 702bc2b89939165a3dc61096c21bb8b670a94713 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Tue, 12 Oct 2021 19:24:50 +0200 Subject: gnu: QEMU: Remove obsolete patch. * gnu/packages/virtualization.scm (qemu)[source](patches): Remove Sphinx compatibility patch, which worked around a bug in Sphinx that has since been fixed. * gnu/packages/patches/qemu-sphinx-compat.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. --- gnu/packages/patches/qemu-sphinx-compat.patch | 18 ------------------ gnu/packages/virtualization.scm | 1 - 2 files changed, 19 deletions(-) delete mode 100644 gnu/packages/patches/qemu-sphinx-compat.patch (limited to 'gnu/packages') diff --git a/gnu/packages/patches/qemu-sphinx-compat.patch b/gnu/packages/patches/qemu-sphinx-compat.patch deleted file mode 100644 index 7342ebee4e..0000000000 --- a/gnu/packages/patches/qemu-sphinx-compat.patch +++ /dev/null @@ -1,18 +0,0 @@ -Prevent Sphinx 4 and later from creating subdirectories, which -the build scripts are not equipped to deal with. - -Taken from upstream: -https://gitlab.com/qemu-project/qemu/-/issues/256 -https://gitlab.com/qemu-project/qemu/-/commit/269a7e97865cb863c9ca19e5f2e6a40ac9eddf82 - -diff --git a/docs/conf.py b/docs/conf.py ---- a/docs/conf.py -+++ b/docs/conf.py -@@ -279,6 +279,7 @@ - ['Stefan Hajnoczi ', - 'Masayoshi Mizuma '], 1), - ] -+man_make_section_directory = False - - # -- Options for Texinfo output ------------------------------------------- - diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index 504f199296..772a0ac430 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -159,7 +159,6 @@ (base32 "15iw7982g6vc4jy1l9kk1z9sl5bm1bdbwr74y7nvwjs1nffhig7f")) (patches (search-patches "qemu-CVE-2021-20203.patch" - "qemu-sphinx-compat.patch" "qemu-build-info-manual.patch")) (modules '((guix build utils))) (snippet -- cgit v1.2.3 From 26e11fa56125c3e23c2a713fe07ac9a1e08675f7 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Tue, 12 Oct 2021 23:02:30 +0200 Subject: gnu: perl-tk: Update to 804.036. * gnu/packages/tcl.scm (perl-tk): Update to 804.036. --- gnu/packages/tcl.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/tcl.scm b/gnu/packages/tcl.scm index 55a95792cb..4d052dbdaf 100644 --- a/gnu/packages/tcl.scm +++ b/gnu/packages/tcl.scm @@ -269,7 +269,7 @@ interfaces (GUIs) in the Tcl language.") (define-public perl-tk (package (name "perl-tk") - (version "804.034") + (version "804.036") (source (origin (method url-fetch) (uri (string-append @@ -277,7 +277,7 @@ interfaces (GUIs) in the Tcl language.") version ".tar.gz")) (sha256 (base32 - "1qiz55dmw7hm1wgpjdzf2jffwcj0hisr3kf80qi8lli3qx2b39py")))) + "0pha40m97fzafjnq8vwkbi5sml6xv8jki6qi60rxrzmxlrqp5aij")))) (build-system perl-build-system) (native-inputs `(("pkg-config" ,pkg-config))) (inputs `(("libx11" ,libx11) -- cgit v1.2.3 From f0c0ef60a02a5373652adc819a8c2cce391a8f24 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 13 Oct 2021 00:07:23 +0200 Subject: gnu: python-lazr-config: Update to 2.2.3. * gnu/packages/python-xyz.scm (python-lazr-config): Update to 2.2.3. --- gnu/packages/python-xyz.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d8a2f08b31..fffbc62a20 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -25424,14 +25424,14 @@ and delegating behavior.") (define-public python-lazr-config (package (name "python-lazr-config") - (version "2.2.2") + (version "2.2.3") (source (origin (method url-fetch) (uri (pypi-uri "lazr.config" version)) (sha256 (base32 - "11xpddgyhyj7sf27wbmrq5lnqk21wnprx3ajycgwlxjamh6sgffd")))) + "1qdbrzl61q7cjhbnxvw9y3frcr935y7diwy15xrwcv9ynvw76jmp")))) (build-system python-build-system) (arguments '(#:phases -- cgit v1.2.3 From 64dfa42d813d582d6781e5c9a9a2dc96727ac311 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 11 Oct 2021 20:21:05 +0200 Subject: gnu: Add ntfs-3g-static. * gnu/packages/linux.scm (ntfs-3g/static): New public variable. --- gnu/packages/linux.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index f40d954cc5..457ca231ac 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -5947,6 +5947,26 @@ commonly found on Microsoft Windows. It is implemented as a FUSE file system. The package provides additional NTFS tools.") (license license:gpl2+))) +(define-public ntfs-3g/static + (static-package + (package + (inherit ntfs-3g) + (name "ntfs-3g-static") + (arguments + (substitute-keyword-arguments (package-arguments ntfs-3g) + ((#:configure-flags flags) + `(append ,flags + (list "--enable-really-static" + ;; The FUSE driver isn't currently used by our initrd. + "--disable-ntfs-3g"))) + ((#:phases phases) + `(modify-phases ,phases + (add-after 'unpack 'make-really-static-really-static + (lambda _ + (substitute* "ntfsprogs/Makefile.in" + ((" -static") " -all-static")))) + (delete 'install-link)))))))) + (define-public rdma-core (package (name "rdma-core") -- cgit v1.2.3 From f5f1a81f3f00a971404cf64b59d61312c0be08c5 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 11 Oct 2021 20:21:24 +0200 Subject: gnu: Add ntfsfix-static. * gnu/packages/linux.scm (ntfsfix/static): New public variable. --- gnu/packages/linux.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 457ca231ac..3f31d24fa2 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -5967,6 +5967,32 @@ The package provides additional NTFS tools.") ((" -static") " -all-static")))) (delete 'install-link)))))))) +(define-public ntfsfix/static + (package + (name "ntfsfix-static") + (version (package-version ntfs-3g/static)) + (source #f) + (build-system trivial-build-system) + (arguments + `(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils)) + (let* ((ntfs-3g (assoc-ref %build-inputs "ntfs-3g")) + (out (assoc-ref %outputs "out")) + (bin (string-append out "/bin"))) + (install-file (string-append ntfs-3g "/bin/ntfsfix") bin) + (with-directory-excursion bin + (remove-store-references "ntfsfix")))))) + (inputs + `(("ntfs-3g" ,ntfs-3g/static))) + (home-page (package-home-page ntfs-3g/static)) + (synopsis "Statically linked @command{ntfsfix} from ntfs-3g") + (description + "This package provides a statically linked @command{ntfsfix} taken +from the ntfs-3g package. It is meant to be used in initrds.") + (license (package-license ntfs-3g/static)))) + (define-public rdma-core (package (name "rdma-core") -- cgit v1.2.3 From 848581ae9b900f0237fc7ab3ab77aa84cd6b2aad Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 12 Oct 2021 13:25:46 +0200 Subject: gnu: cpufrequtils: Update to 008. * gnu/packages/linux.scm (cpufrequtils): Update to 008. [source]: Remove patch. [arguments]: Add many #:configure-flags to mitigate downgrade from Autotools. Don't ./configure. [native-inputs]: Remove unused sysfsutils-1. Add gettext-minimal. [home-page]: Change to a working mirror. * gnu/packages/patches/cpufrequtils-fix-aclocal.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Remove it. --- gnu/packages/linux.scm | 31 +++++++++++---- .../patches/cpufrequtils-fix-aclocal.patch | 46 ---------------------- 2 files changed, 23 insertions(+), 54 deletions(-) delete mode 100644 gnu/packages/patches/cpufrequtils-fix-aclocal.patch (limited to 'gnu/packages') diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 3f31d24fa2..aa5fbb5bc9 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -4780,22 +4780,37 @@ also contains the libsysfs library.") (define-public cpufrequtils (package (name "cpufrequtils") - (version "0.3") + (version "008") (source (origin (method url-fetch) (uri (string-append "mirror://kernel.org/linux/utils/kernel/cpufreq/" "cpufrequtils-" version ".tar.gz")) (sha256 - (base32 "0qfqv7nqmjfr3p0bwrdlxkiqwqr7vmx053cadaa548ybqbghxmvm")) - (patches (search-patches "cpufrequtils-fix-aclocal.patch")))) + (base32 "0xjs8j44hh0cz6qpig1n0iw8xjpr6s5qmcmwh965ngapxgarr7af")))) (build-system gnu-build-system) - (native-inputs - `(("sysfsutils" ,sysfsutils-1))) (arguments - '(#:make-flags (list (string-append "LDFLAGS=-Wl,-rpath=" - (assoc-ref %outputs "out") "/lib")))) - (home-page "https://www.kernel.org/pub/linux/utils/kernel/cpufreq/") + `(#:tests? #f ; no test suite + #:make-flags + (let ((out (assoc-ref %outputs "out"))) + (list "PROC=false" ; obsoleted by sysfs in Linux 2.6(!) + (string-append "CC=" ,(cc-for-target)) + (string-append "LDFLAGS=-Wl,-rpath=" out "/lib") + "INSTALL=install" + (string-append "bindir=" out "/bin") + (string-append "sbindir=" out "/sbin") + (string-append "mandir=" out "/share/man") + (string-append "includedir=" out "/include") + (string-append "libdir=" out "/lib") + (string-append "localedir=" out "/share/locale") + (string-append "docdir=" out "/share/doc/" ,name))) + #:phases + (modify-phases %standard-phases + (delete 'configure)))) ; no configure script + (native-inputs + `(("gettext" ,gettext-minimal))) + (home-page + "http://ftp.be.debian.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html") (synopsis "Utilities to get and set CPU frequency on Linux") (description "The cpufrequtils suite contains utilities to retrieve CPU frequency diff --git a/gnu/packages/patches/cpufrequtils-fix-aclocal.patch b/gnu/packages/patches/cpufrequtils-fix-aclocal.patch deleted file mode 100644 index be5767f462..0000000000 --- a/gnu/packages/patches/cpufrequtils-fix-aclocal.patch +++ /dev/null @@ -1,46 +0,0 @@ -Add an extra layer of quoting to ltmain.sh sanity check. - ---- a/configure 2005-05-07 14:19:31.000000000 +0200 -+++ b/configure 2015-02-10 11:16:32.456146934 +0100 -@@ -6266,7 +6266,7 @@ - exit 1 - fi - gentoo_lt_version="1.5.16" --gentoo_ltmain_version=`grep '^[:space:]*VERSION=' $ltmain | sed -e 's|^[:space:]*VERSION=||'` -+gentoo_ltmain_version=`grep '^[[:space:]]*VERSION=' $ltmain | sed -e 's|^[[:space:]]*VERSION=||'` - if test "$gentoo_lt_version" != "$gentoo_ltmain_version"; then - echo "$as_me:$LINENO: result: no" >&5 - echo "${ECHO_T}no" >&6 ---- a/aclocal.m4 2005-05-07 14:19:25.000000000 +0200 -+++ b/aclocal.m4 2015-02-10 11:16:15.352030318 +0100 -@@ -246,7 +246,7 @@ - exit 1 - fi - gentoo_lt_version="1.5.16" --gentoo_ltmain_version=`grep '^[[:space:]]*VERSION=' $ltmain | sed -e 's|^[[:space:]]*VERSION=||'` -+gentoo_ltmain_version=`[grep '^[[:space:]]*VERSION=' $ltmain | sed -e 's|^[[:space:]]*VERSION=||']` - if test "$gentoo_lt_version" != "$gentoo_ltmain_version"; then - AC_MSG_RESULT(no) - echo ---- a/libcpufreq/configure 2005-05-07 14:19:31.000000000 +0200 -+++ b/libcpufreq/configure 2015-02-10 11:16:32.456146934 +0100 -@@ -6266,7 +6266,7 @@ - exit 1 - fi - gentoo_lt_version="1.5.16" --gentoo_ltmain_version=`grep '^[:space:]*VERSION=' $ltmain | sed -e 's|^[:space:]*VERSION=||'` -+gentoo_ltmain_version=`grep '^[[:space:]]*VERSION=' $ltmain | sed -e 's|^[[:space:]]*VERSION=||'` - if test "$gentoo_lt_version" != "$gentoo_ltmain_version"; then - echo "$as_me:$LINENO: result: no" >&5 - echo "${ECHO_T}no" >&6 ---- a/libcpufreq/aclocal.m4 2005-05-07 14:19:25.000000000 +0200 -+++ b/libcpufreq/aclocal.m4 2015-02-10 11:16:15.352030318 +0100 -@@ -246,7 +246,7 @@ - exit 1 - fi - gentoo_lt_version="1.5.16" --gentoo_ltmain_version=`grep '^[[:space:]]*VERSION=' $ltmain | sed -e 's|^[[:space:]]*VERSION=||'` -+gentoo_ltmain_version=`[grep '^[[:space:]]*VERSION=' $ltmain | sed -e 's|^[[:space:]]*VERSION=||']` - if test "$gentoo_lt_version" != "$gentoo_ltmain_version"; then - AC_MSG_RESULT(no) - echo -- cgit v1.2.3 From faa83a040a3008782091638133e7bfaaae539857 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 12 Oct 2021 13:45:28 +0200 Subject: gnu: Remove sysfsutils@1. * gnu/packages/linux.scm (sysfsutils-1): Delete variable. --- gnu/packages/linux.scm | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index aa5fbb5bc9..1559defbe1 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -4752,31 +4752,6 @@ also contains the libsysfs library.") ;; The rest is mostly gpl2, with a few files indicating gpl2+. (license (list license:gpl2 license:gpl2+ license:lgpl2.1+)))) -(define-public sysfsutils-1 - (package - (inherit sysfsutils) - (version "1.3.0") - (source - (origin - (method url-fetch) - (uri - (string-append - "mirror://sourceforge/linux-diag/sysfsutils/sysfsutils-" version - "/sysfsutils-" version ".tar.gz")) - (sha256 - (base32 "0kdhs07fm8263pxwd5blwn2x211cg4fk63fyf9ijcdkvzmwxrqq3")) - (modules '((guix build utils))) - (snippet - '(begin - (substitute* "Makefile.in" - (("includedir = /usr/include/sysfs") - "includedir = @includedir@")) - (substitute* "configure" - (("includedir='(\\$\\{prefix\\}/include)'" all orig) - (string-append "includedir='" orig "/sysfs'"))) - #t)))) - (synopsis "System utilities based on Linux sysfs (version 1.x)"))) - (define-public cpufrequtils (package (name "cpufrequtils") -- cgit v1.2.3 From 28b5ef11595f9dbc6fcc103d3f34e5b0d73334c9 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 12 Oct 2021 14:35:17 +0200 Subject: gnu: Rename google-brotli back to brotli. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sorry for the noise, but good riddance. Our nonstandard name for this package has caused confusion since it was added. For example, the duplicate python-brotli and python-google-brotli packages added later, with the latter name making even less sense. The Python packages will be fixed in the next commit. * gnu/packages/compression.scm (google-brotli): Redefine as a deprecated-package, with… (brotli): …restored to canonical status. (python-google-brotli)[inherit]: Adjust accordingly. * gnu/packages/databases.scm (apache-arrow)[inputs]: Adjust accordingly. * gnu/packages/fontutils.scm (woff2)[inputs]: Likewise. * gnu/packages/gnome.scm (libsoup)[propagated-inputs]: Likewise. * gnu/packages/networking (wireshark)[inputs]: Likewise. * gnu/packages/node.scm (node-lts)[arguments, native-inputs]: Likewise. * gnu/packages/python-xyz.scm (python-imagecodecs)[inputs]: Likewise. --- gnu/packages/compression.scm | 19 +++++++++---------- gnu/packages/databases.scm | 2 +- gnu/packages/fontutils.scm | 2 +- gnu/packages/gnome.scm | 2 +- gnu/packages/networking.scm | 2 +- gnu/packages/node.scm | 8 ++++---- gnu/packages/python-xyz.scm | 2 +- 7 files changed, 18 insertions(+), 19 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index e5641456d6..aea56a7fa9 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -2169,9 +2169,9 @@ single-member files which can't be decompressed in parallel.") non-Windows systems without running the actual installer using wine.") (license license:zlib))) -(define-public google-brotli +(define-public brotli (package - (name "google-brotli") + (name "brotli") (version "1.0.9") (source (origin @@ -2222,20 +2222,19 @@ with @code{deflate} but offers more dense compression. The specification of the Brotli Compressed Data Format is defined in RFC 7932.") (license license:expat))) -(define-public brotli - ;; We used to provide an older version under the name "brotli". - (deprecated-package "brotli" google-brotli)) +(define-public google-brotli + (deprecated-package "google-brotli" brotli)) (define-public python-google-brotli (package - (inherit google-brotli) + (inherit brotli) (name "python-google-brotli") (build-system python-build-system) (arguments '()) - (synopsis "Python interface to google-brotli") - (description "@code{python-google-brotli} provides a Python interface to -@code{google-brotli}, an implementation of the Brotli lossless compression -algorithm."))) + (synopsis "Python interface to Brotli") + (description "This package provides a Python interface to the @code{brotli} +package, an implementation of the Brotli lossless compression algorithm."))) + (define-public ucl (package diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index b1dd44da1c..4869e1ced3 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -3798,7 +3798,7 @@ the SQL language using a syntax that reflects the resulting query.") (inputs `(("apache-thrift" ,apache-thrift "lib") ("boost" ,boost) - ("brotli" ,google-brotli) + ("brotli" ,brotli) ("bzip2" ,bzip2) ("double-conversion" ,double-conversion) ("gflags" ,gflags) diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm index 2d7213fd70..d173a1529e 100644 --- a/gnu/packages/fontutils.scm +++ b/gnu/packages/fontutils.scm @@ -309,7 +309,7 @@ work with most software requiring Type 1 fonts.") (native-inputs `(("pkg-config" ,pkg-config))) (inputs - `(("brotli" ,google-brotli))) + `(("brotli" ,brotli))) (synopsis "Libraries and tools for WOFF2 font format") (description "WOFF2 provides libraries and tools to handle the Web Open Font Format (WOFF).") diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 3a682ba38a..af4b953cb0 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -4872,7 +4872,7 @@ libxml to ease remote use of the RESTful API.") ("httpd" ,httpd))) (propagated-inputs ;; libsoup-2.4.pc refers to all of these (except where otherwise noted) - `(("brotli" ,google-brotli) + `(("brotli" ,brotli) ("glib" ,glib) ("glib-networking" ,glib-networking) ; for GIO runtime modules ("libpsl" ,libpsl) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index a0c526a83b..2829c082d1 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -1507,7 +1507,7 @@ of the same name.") `(("c-ares" ,c-ares) ("glib" ,glib) ("gnutls" ,gnutls) - ("google-brotli" ,google-brotli) + ("brotli" ,brotli) ("libcap" ,libcap) ("libgcrypt" ,libgcrypt) ("libnl" ,libnl) diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm index f8ac95884c..d0ffe8a398 100644 --- a/gnu/packages/node.scm +++ b/gnu/packages/node.scm @@ -685,7 +685,7 @@ source files.") (lambda* (#:key native-inputs inputs #:allow-other-keys) (let* ((inputs (or native-inputs inputs)) (c-ares (assoc-ref inputs "c-ares")) - (google-brotli (assoc-ref inputs "google-brotli")) + (brotli (assoc-ref inputs "brotli")) (icu4c (assoc-ref inputs "icu4c")) (nghttp2 (assoc-ref inputs "nghttp2")) (openssl (assoc-ref inputs "openssl")) @@ -704,7 +704,7 @@ source files.") (string-append target "'ldflags': ['-Wl,-rpath=" c-ares "/lib:" - google-brotli "/lib:" + brotli "/lib:" icu4c "/lib:" nghttp2 "/lib:" openssl "/lib:" @@ -821,7 +821,7 @@ source files.") (native-inputs `(;; Runtime dependencies for binaries used as a bootstrap. ("c-ares" ,c-ares) - ("google-brotli" ,google-brotli) + ("brotli" ,brotli) ("icu4c" ,icu4c-67) ("libuv" ,libuv-for-node) ("nghttp2" ,nghttp2 "lib") @@ -840,7 +840,7 @@ source files.") ("icu4c" ,icu4c-67) ("libuv" ,libuv-for-node) ("llhttp" ,llhttp-bootstrap) - ("google-brotli" ,google-brotli) + ("brotli" ,brotli) ("nghttp2" ,nghttp2 "lib") ("openssl" ,openssl) ("zlib" ,zlib))))) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index fffbc62a20..fdd1e1e513 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -6874,7 +6874,7 @@ def customize_build(EXTENSIONS, OPTIONS): (inputs `(("c-blosc" ,c-blosc) ("giflib" ,giflib) - ("google-brotli" ,google-brotli) + ("brotli" ,brotli) ("libjpeg-turbo" ,libjpeg-turbo) ("libpng" ,libpng) ("libtiff" ,libtiff) -- cgit v1.2.3 From c181e83fba89e0fd643c67d84dacb35a91d643aa Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 12 Oct 2021 14:46:42 +0200 Subject: gnu: Remove duplicate python-google-brotli package. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python-compression.scm (python-brotli): Delete duplicate variable. * gnu/packages/compression.scm (python-google-brotli): Redefine as a deprecated-package, with… (python-brotli): …as the canonical variable. * gnu/packages/fonts.scm (font-meera-inimai)[native-inputs]: Adjust accordingly. --- gnu/packages/compression.scm | 6 ++++-- gnu/packages/django.scm | 1 - gnu/packages/fonts.scm | 2 +- gnu/packages/gnome.scm | 1 - gnu/packages/python-compression.scm | 20 -------------------- gnu/packages/python-web.scm | 1 - 6 files changed, 5 insertions(+), 26 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index aea56a7fa9..3098230bd5 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -2225,16 +2225,18 @@ The specification of the Brotli Compressed Data Format is defined in RFC 7932.") (define-public google-brotli (deprecated-package "google-brotli" brotli)) -(define-public python-google-brotli +(define-public python-brotli (package (inherit brotli) - (name "python-google-brotli") + (name "python-brotli") (build-system python-build-system) (arguments '()) (synopsis "Python interface to Brotli") (description "This package provides a Python interface to the @code{brotli} package, an implementation of the Brotli lossless compression algorithm."))) +(define-public python-google-brotli + (deprecated-package "python-google-brotli" python-brotli)) (define-public ucl (package diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index f8aae1e33f..3d1c9d12c3 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -37,7 +37,6 @@ #:use-module (gnu packages geo) #:use-module (gnu packages openldap) #:use-module (gnu packages python) - #:use-module (gnu packages python-compression) #:use-module (gnu packages python-crypto) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index c9a9e4f038..5cf2393177 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -2050,7 +2050,7 @@ It comes in seven weights and Roman, Italic and Oblique styles.") ("harfbuzz" ,harfbuzz "bin") ("python" ,python-minimal) ("python-fonttools" ,python-fonttools) - ("python-google-brotli" ,python-google-brotli))) + ("python-brotli" ,python-brotli))) (arguments `(#:make-flags (list "PY=python3" (string-append "DESTDIR=" %output) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index af4b953cb0..a60404d370 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -170,7 +170,6 @@ #:use-module (gnu packages protobuf) #:use-module (gnu packages pulseaudio) #:use-module (gnu packages python) - #:use-module (gnu packages python-compression) #:use-module (gnu packages python-crypto) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm index 30062f43c5..81e1630e81 100644 --- a/gnu/packages/python-compression.scm +++ b/gnu/packages/python-compression.scm @@ -261,26 +261,6 @@ the LZ4 frame format.") (define-public python2-lzstring (package-with-python2 python-lzstring)) -(define-public python-brotli - (package - (name "python-brotli") - (version "1.0.9") - (source - (origin - (method url-fetch) - (uri (pypi-uri "Brotli" version ".zip")) - (sha256 - (base32 - "0f4433s4wv9masc303kkb1s0a09x81xwr8pdvj0kyxzdl05826sd")))) - (build-system python-build-system) - (native-inputs - `(("unzip" ,unzip))) - (home-page "https://github.com/google/brotli") - (synopsis "Python bindings for the Brotli compression library") - (description - "This package provides python bindings for the Brotli compression library.") - (license license:asl2.0))) - (define-public bitshuffle (package (name "bitshuffle") diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index b99e358e26..dcb84d0b67 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -81,7 +81,6 @@ #:use-module (gnu packages python) #:use-module (gnu packages python-build) #:use-module (gnu packages python-check) - #:use-module (gnu packages python-compression) #:use-module (gnu packages python-crypto) #:use-module (gnu packages python-science) #:use-module (gnu packages python-xyz) -- cgit v1.2.3 From 27238d45309583ff920c8fe3c9e1b9f702b0ca93 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 12 Oct 2021 14:52:06 +0200 Subject: gnu: fheroes2: Update to 0.9.8. * gnu/packages/games.scm (fheroes2): Update to 0.9.8. --- gnu/packages/games.scm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 3b8946e42f..48cda7da07 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -12614,7 +12614,7 @@ disassembly of the DOS version, extended with new features.") (define-public fheroes2 (package (name "fheroes2") - (version "0.9.7") + (version "0.9.8") (build-system cmake-build-system) (arguments `(#:tests? #f ; no tests @@ -12634,8 +12634,7 @@ disassembly of the DOS version, extended with new features.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 - "0v3zh8a8yxfikcr5vkmy36c57l4nmwisz13mjavn5f7yrirf86fn")))) + (base32 "1sc7rmyiciahxh5f6rarhil2hrw8q8sjdssh063grji50mlnrf6a")))) (home-page "https://ihhub.github.io/fheroes2/") (synopsis "Turn-based strategy game engine") (description "@code{fheroes2} is an implementation of Heroes of Might and -- cgit v1.2.3 From e19c34e2e374c99f0d6bd8287a60bc02d6560344 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 12 Oct 2021 15:46:31 +0200 Subject: gnu: acpid: Update to 2.0.33. * gnu/packages/linux.scm (acpid): Update to 2.0.33. --- 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 1559defbe1..e0820004f2 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -4709,14 +4709,14 @@ about ACPI devices.") (define-public acpid (package (name "acpid") - (version "2.0.32") + (version "2.0.33") (source (origin (method url-fetch) (uri (string-append "mirror://sourceforge/acpid2/acpid-" version ".tar.xz")) (sha256 (base32 - "0zhmxnhnhg4v1viw82yjr22kram6k5k1ixznhayk8cnw7q5x7lpj")))) + "1s6vf8lqwrcqi14k0ww47pk1kifbvxin73ha7mk1njmk7qdzfmh8")))) (build-system gnu-build-system) (home-page "https://sourceforge.net/projects/acpid2/") (synopsis "Daemon for delivering ACPI events to user-space programs") -- cgit v1.2.3 From 7f9e1efee0e6854dd05b993f8db2af106968f295 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 12 Oct 2021 17:28:27 +0200 Subject: gnu: btrfs-progs: Update to 5.14.2. * gnu/packages/linux.scm (btrfs-progs): Update to 5.14.2. --- 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 e0820004f2..21bdb76f36 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -5335,7 +5335,7 @@ and copy/paste text in the console and in xterm.") (define-public btrfs-progs (package (name "btrfs-progs") - (version "5.14.1") + (version "5.14.2") (source (origin (method url-fetch) (uri (string-append "mirror://kernel.org/linux/kernel/" @@ -5343,7 +5343,7 @@ and copy/paste text in the console and in xterm.") "btrfs-progs-v" version ".tar.xz")) (sha256 (base32 - "0ny5z3x8rqin0aci9qxpjc6dk5y0c1yvgk7353qnv92wai396jnm")))) + "1afpa8izagkr9sn5fqrm6687idiqdkcz08ks2j07972kd0rm5il5")))) (build-system gnu-build-system) (outputs '("out" "static")) ; static versions of the binaries in "out" -- cgit v1.2.3 From 1df9c6fff4b5725a8d7128578640a0214435c008 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 12 Oct 2021 17:29:20 +0200 Subject: gnu: astroid: Update to 0.16. * gnu/packages/mail.scm (astroid): Update to 0.16. [arguments]: Don't explicitly return #t from phases. --- gnu/packages/mail.scm | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 5891bd3add..42231f8283 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -841,7 +841,7 @@ mailpack. What can alterMIME do? (define-public astroid (package (name "astroid") - (version "0.15") + (version "0.16") (source (origin (method git-fetch) @@ -850,14 +850,13 @@ mailpack. What can alterMIME do? (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "11cxbva9ni98gii59xmbxh4c6idcg3mg0pgdsp1c3j0yg7ix0lj3")) + (base32 "17m99llggkg7xg72k8xaf7iipax7sgfhqa2a1qnlylndwa42f57b")) (modules '((guix build utils))) (snippet '(begin ;; https://github.com/astroidmail/astroid/pull/685 (substitute* "tests/test_composed_message.cc" - (("\\\\n\\.\\.\\.") "\\n...\\n")) - #t)))) + (("\\\\n\\.\\.\\.") "\\n...\\n")))))) (build-system cmake-build-system) (arguments `(#:modules ((guix build cmake-build-system) @@ -876,8 +875,7 @@ mailpack. What can alterMIME do? ;; ValueError: Namespace Astroid not available (lambda _ (substitute* "tests/CMakeLists.txt" - ((".*markdown.*") "")) - #t)) + ((".*markdown.*") "")))) (replace 'build (lambda _ (invoke "ninja" "-j" (number->string (parallel-job-count))))) @@ -886,14 +884,12 @@ mailpack. What can alterMIME do? (let ((xorg-server (assoc-ref inputs "xorg-server"))) (setenv "HOME" (getcwd)) (system (format #f "~a/bin/Xvfb :1 &" xorg-server)) - (setenv "DISPLAY" ":1") - #t))) + (setenv "DISPLAY" ":1")))) (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? (setenv "CTEST_OUTPUT_ON_FAILURE" "1") - (invoke "ctest" ".")) - #t)) + (invoke "ctest" ".")))) (replace 'install (lambda _ (invoke "ninja" "install"))) @@ -910,8 +906,7 @@ mailpack. What can alterMIME do? #f)))) inputs))) (wrap-program (string-append out "/bin/astroid") - `("GI_TYPELIB_PATH" ":" prefix ,(filter identity paths)))) - #t)) + `("GI_TYPELIB_PATH" ":" prefix ,(filter identity paths)))))) (add-after 'install 'glib-or-gtk-compile-schemas (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas)) (add-after 'install 'glib-or-gtk-wrap -- cgit v1.2.3 From 0172363acf106069b23a9818073b6c06a5271cd7 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 12 Oct 2021 18:14:35 +0200 Subject: gnu: aqbanking: Update to 6.3.2. * gnu/packages/gnucash.scm (aqbanking): Update to 6.3.2. --- gnu/packages/gnucash.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/gnucash.scm b/gnu/packages/gnucash.scm index f28c034f55..eb5c0023e6 100644 --- a/gnu/packages/gnucash.scm +++ b/gnu/packages/gnucash.scm @@ -293,14 +293,14 @@ applications and libraries. It is used by AqBanking.") (define-public aqbanking (package (name "aqbanking") - (version "6.3.0") + (version "6.3.2") (source (origin (method url-fetch) (uri (string-append "https://www.aquamaniac.de/rdm/attachments/" - "download/372/aqbanking-" version ".tar.gz")) + "download/386/aqbanking-" version ".tar.gz")) (sha256 - (base32 "1k2mhdnk0jc0inq1hmp74m3y7azxrjm8r07x5k1pp4ic0yi5vs50")))) + (base32 "061l7qja7x557650kphbg1gzxc52a7557nibgdhv5jwqf8pv8ym9")))) (build-system gnu-build-system) (arguments `(;; Parallel building fails because aqhbci is required before it's -- cgit v1.2.3 From 1012de07fd99c9d88f2ed32b1eb92cdb259dc8cc Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 12 Oct 2021 21:24:20 +0200 Subject: gnu: apostrophe: Update to 2.5. * gnu/packages/gnome.scm (apostrophe): Update to 2.5. [native-inputs]: Add sassc. --- gnu/packages/gnome.scm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index a60404d370..7fbb876937 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -11633,7 +11633,7 @@ GTK+. It integrates well with the GNOME desktop environment.") (define-public apostrophe (package (name "apostrophe") - (version "2.4") + (version "2.5") (source (origin (method git-fetch) (uri (git-reference @@ -11642,7 +11642,7 @@ GTK+. It integrates well with the GNOME desktop environment.") (file-name (git-file-name name version)) (sha256 (base32 - "1qzy3zhi18wf42m034s8kcmx9gl05j620x3hf6rnycq2fvy7g4gz")))) + "06yfiflmj3ip7ppcz41nb3xpgb5ggw5h74w0v87yaqqkq7qh31lp")))) (build-system meson-build-system) (arguments `(#:glib-or-gtk? #t @@ -11686,10 +11686,11 @@ GTK+. It integrates well with the GNOME desktop environment.") (native-inputs `(("gettext" ,gettext-minimal) ("glib:bin" ,glib "bin") - ("pkg-config" ,pkg-config))) + ("pkg-config" ,pkg-config) + ("sassc" ,sassc))) (home-page "https://gitlab.gnome.org/somas/apostrophe") (synopsis "Markdown editor written in Python with GTK+") - (description "Apostrophe is a GTK+ based distraction free Markdown editor. + (description "Apostrophe is a GTK+ based distraction-free Markdown editor. It uses pandoc as back-end for parsing Markdown.") (license license:gpl3))) -- cgit v1.2.3 From 4605d4d5521ab51b9ba771d5cc2dd54b5d061c17 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 12 Oct 2021 20:22:42 +0200 Subject: gnu: gsound: Update to 1.0.3. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/gnome.scm (gsound): Update to 1.0.3. [build-system]: Switch to Meson. [inputs]: Remove explicit glib. Move libcanberra… [propagated-inputs]: …here. --- gnu/packages/gnome.scm | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 7fbb876937..2047ae0e3b 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -8320,15 +8320,15 @@ usage and information about running processes.") (define-public gnome-bluetooth (package (name "gnome-bluetooth") - (version "3.34.2") + (version "3.34.5") (source (origin (method url-fetch) - (uri (string-append "mirror://gnome/sources/" name "/" + (uri (string-append "mirror://gnome/sources/gnome-bluetooth/" (version-major+minor version) "/" - name "-" version ".tar.xz")) + "gnome-bluetooth-" version ".tar.xz")) (sha256 (base32 - "0lmjvb49vgr4jjplrisv6pi29jsn1q42715i6c5a0p9ad3gawyyv")))) + "1a9ynlwwkb3wpg293ym517vmrkk63y809mmcv9a21k5yr199x53c")))) (build-system meson-build-system) (native-inputs `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc. @@ -9388,23 +9388,22 @@ Features: (define-public gsound (package (name "gsound") - (version "1.0.2") + (version "1.0.3") (source (origin (method url-fetch) - (uri (string-append "mirror://gnome/sources/" name "/" + (uri (string-append "mirror://gnome/sources/gsound/" (version-major+minor version) "/" - name "-" version ".tar.xz")) + "gsound-" version ".tar.xz")) (sha256 (base32 - "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v")))) - (build-system glib-or-gtk-build-system) + "06l80xgykj7x1kqkjvcq06pwj2rmca458zvs053qc55x3sg06bfa")))) + (build-system meson-build-system) (native-inputs `(("pkg-config" ,pkg-config) ("gobject-introspection" ,gobject-introspection) ("vala" ,vala))) - (inputs - `(("glib" ,glib) - ("libcanberra" ,libcanberra))) + (propagated-inputs + `(("libcanberra" ,libcanberra))) ; in Requires.private of gsound.pc (home-page "https://wiki.gnome.org/Projects/GSound") (synopsis "GObject wrapper for libcanberra") (description -- cgit v1.2.3 From da86a80068b797c3dc4df83a7db5a15959fff685 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Wed, 13 Oct 2021 03:27:33 +0200 Subject: gnu: Add back missing module import. * gnu/packages/django.scm: Use (gnu packages compression). --- gnu/packages/django.scm | 1 + 1 file changed, 1 insertion(+) (limited to 'gnu/packages') diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 3d1c9d12c3..544f0114ac 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -31,6 +31,7 @@ #:use-module (guix build-system python) #:use-module (gnu packages) #:use-module (gnu packages base) + #:use-module (gnu packages compression) #:use-module (gnu packages databases) #:use-module (gnu packages check) #:use-module (gnu packages finance) -- cgit v1.2.3 From 37832406bef8e9b61b1c3b533988d5a873cb9a21 Mon Sep 17 00:00:00 2001 From: Christine Lemmer-Webber Date: Wed, 29 Sep 2021 12:46:01 -0400 Subject: gnu: emacs-beancount: Restructure package, now independent of beancount. * gnu/packages/finance.scm (emacs-beancount): Restructure package, now independent of beancount and in its own git repository. Note that there is no version number for the now independent code tree, so unfortunately this might look like a "version downgrade" to some users as it switched from being beancount's revision number to being a git-derived version number. --- gnu/packages/finance.scm | 41 +++++++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 18 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 557a19e677..5e243d0452 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -1668,25 +1668,30 @@ define financial transaction records in a text file, read them in memory, generate a variety of reports from them, and provides a web interface.") (license license:gpl2))) -;; The beancount source ships with elisp in a subdirectory (define-public emacs-beancount - (package - (inherit beancount) - (name "emacs-beancount") - (build-system emacs-build-system) - (arguments - `(#:tests? #f ;no tests - #:phases - (modify-phases %standard-phases - (add-before 'install 'chdir-emacs - (lambda _ - (chdir "editors/emacs") - #t))))) - (inputs '()) - (native-inputs '()) - (synopsis "Emacs mode for beancount") - (description - "Emacs-beancount is an Emacs mode for the Beancount accounting tool."))) + ;; Note that upstream has not made any release since this project moved + ;; into its own repository (it was originally part of beancount itself) + (let ((commit "dbafe6a73d90c1f64d457b356b9dbb43499f70d5") + (revision "0")) + (package + (name "emacs-beancount") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/beancount/beancount-mode") + (commit commit))) + (sha256 + (base32 + "0v9bws2gv5b00x829p7hrcxqgdp7iwxvv1vhfjka81qrw6w1fvjw")) + (file-name (git-file-name name version)))) + (build-system emacs-build-system) + (home-page "https://github.com/beancount/beancount-mode") + (synopsis "Emacs mode for Beancount") + (description + "Emacs-beancount is an Emacs mode for the Beancount accounting tool.") + (license license:gpl3+)))) (define-public hledger-web (package -- cgit v1.2.3 From 880390140e272b05cfec14c684c658616a9b4a3e Mon Sep 17 00:00:00 2001 From: Foo Chuan Wei Date: Tue, 12 Oct 2021 05:05:32 +0000 Subject: gnu: Add cl-terminfo. * gnu/packages/lisp-xyz.scm (sbcl-terminfo, cl-terminfo, ecl-terminfo): New variables. Signed-off-by: Guillaume Le Vaillant --- gnu/packages/lisp-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 5d9db448d0..cc1c0121c0 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -27,6 +27,7 @@ ;;; Copyright © 2021 Cage ;;; Copyright © 2021 Cameron Chaparro ;;; Copyright © 2021 Charles Jackson +;;; Copyright © 2021 Foo Chuan Wei ;;; ;;; This file is part of GNU Guix. ;;; @@ -18841,3 +18842,33 @@ formats within this framework.") (define-public cl-feeder (sbcl-package->cl-source-package sbcl-feeder)) + +(define-public sbcl-terminfo + (let ((commit "b8b2e3ed786bfcf9f1aa4a264cee2e93135080f5") + (revision "1")) + (package + (name "sbcl-terminfo") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/npatrick04/terminfo") + (commit commit))) + (file-name (git-file-name "terminfo" version)) + (sha256 + (base32 "1nmin9rr6f75xdhxysba66xa1dh62fh27w9ad1cvmj0062armf6b")))) + (build-system asdf-build-system/sbcl) + (synopsis "Terminfo database front end in Common Lisp") + (home-page "https://github.com/npatrick04/terminfo") + (description + "This is a terminfo database front end in Common Lisp. The package +provides a method for determining which capabilities a terminal +(e.g. \"xterm\") has and methods to compile or put commands to a stream.") + (license license:expat)))) + +(define-public cl-terminfo + (sbcl-package->cl-source-package sbcl-terminfo)) + +(define-public ecl-terminfo + (sbcl-package->ecl-package sbcl-terminfo)) -- cgit v1.2.3 From cfc2471159740d0a5560bbe598ff7b70a131ee19 Mon Sep 17 00:00:00 2001 From: Foo Chuan Wei Date: Wed, 13 Oct 2021 10:12:03 +0200 Subject: gnu: Add cl-conium. * gnu/packages/lisp-xyz.scm (cl-conium, ecl-conium, sbcl-conium): New variables. Signed-off-by: Guillaume Le Vaillant --- gnu/packages/lisp-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index cc1c0121c0..ed9f3f8503 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -18872,3 +18872,34 @@ provides a method for determining which capabilities a terminal (define-public ecl-terminfo (sbcl-package->ecl-package sbcl-terminfo)) + +(define-public sbcl-conium + (let ((commit "089adfd8759ec7973bb6f67b98d7a246e67aeb05") + (revision "1")) + (package + (name "sbcl-conium") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sharplispers/conium") + (commit commit))) + (file-name (git-file-name "conium" version)) + (sha256 + (base32 "0y31za8xr8734p2pf8mrw1jd1fksh2d4y1p12wwjyn8hxxsvsx1w")))) + (build-system asdf-build-system/sbcl) + (inputs + `(("closer-mop" ,sbcl-closer-mop))) + (home-page "https://github.com/sharplispers/conium") + (synopsis "Portability library for debugger- and compiler-related tasks") + (description + "Conium is a portability library for debugger- and compiler-related +tasks in Common Lisp. It is fork of SWANK-BACKEND.") + (license license:public-domain)))) + +(define-public cl-conium + (sbcl-package->cl-source-package sbcl-conium)) + +(define-public ecl-conium + (sbcl-package->ecl-package sbcl-conium)) -- cgit v1.2.3 From f0c8cdb56519371432ed8b62c8eff446d8c5be6f Mon Sep 17 00:00:00 2001 From: Foo Chuan Wei Date: Wed, 13 Oct 2021 10:22:19 +0200 Subject: gnu: Add cl-readline. * gnu/packages/lisp-xyz.scm (cl-readline, ecl-cl-readline, sbcl-cl-readline): New variables. Signed-off-by: Guillaume Le Vaillant --- gnu/packages/lisp-xyz.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index ed9f3f8503..48027095d0 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -85,6 +85,7 @@ #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages python-xyz) + #:use-module (gnu packages readline) #:use-module (gnu packages sdl) #:use-module (gnu packages sqlite) #:use-module (gnu packages tcl) @@ -18903,3 +18904,49 @@ tasks in Common Lisp. It is fork of SWANK-BACKEND.") (define-public ecl-conium (sbcl-package->ecl-package sbcl-conium)) + +(define-public sbcl-cl-readline + (let ((commit "8438c9ebd92ccc95ebab9cc9cbe6c72d44fccc58") + (revision "1")) + (package + (name "sbcl-cl-readline") + (version (git-version "0.1.2" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/vindarel/cl-readline") + (commit commit))) + (file-name (git-file-name "cl-readline" version)) + (sha256 + (base32 "14iskvqfw71ssaav483vmqw62lrpznysjs800gjjppxs785p1fa0")))) + (build-system asdf-build-system/sbcl) + (inputs + `(("alexandria" ,sbcl-alexandria) + ("cffi" ,sbcl-cffi) + ("readline" ,readline))) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "cl-readline.lisp" + (("libreadline.so") + (string-append (assoc-ref inputs "readline") + "/lib/libreadline.so")))))))) + (home-page "https://github.com/vindarel/cl-readline") + (synopsis "Common Lisp bindings to the GNU Readline library") + (description + "The Readline library provides a set of functions for use by +applications that allow users to edit command lines as they are typed in. +Both Emacs and vi editing modes are available. The Readline library includes +additional functions to maintain a list of previously-entered command lines, to +recall and perhaps reedit those lines, and perform csh-like history expansion on +previous commands.") + (license license:gpl3+)))) + +(define-public cl-readline + (sbcl-package->cl-source-package sbcl-cl-readline)) + +(define-public ecl-cl-readline + (sbcl-package->ecl-package sbcl-cl-readline)) -- cgit v1.2.3 From 7b8ac3e9a3b7d132fe9d564ebd8db3b89766e3b0 Mon Sep 17 00:00:00 2001 From: Foo Chuan Wei Date: Wed, 13 Oct 2021 10:29:15 +0200 Subject: gnu: Add cl-generic-comparability. * gnu/packages/lisp-xyz.scm (cl-generic-comparability, ecl-generic-comparability, sbcl-generic-comparability): New variables. Signed-off-by: Guillaume Le Vaillant --- gnu/packages/lisp-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 48027095d0..baa7dc2587 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -18950,3 +18950,39 @@ previous commands.") (define-public ecl-cl-readline (sbcl-package->ecl-package sbcl-cl-readline)) + +(define-public sbcl-generic-comparability + (let ((commit "53fc2846319a6eb46b36581e203e1f1542a8acff") + (revision "1")) + (package + (name "sbcl-generic-comparability") + (version (git-version "1.0.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pnathan/generic-comparability") + (commit commit))) + (file-name (git-file-name "generic-comparability" version)) + (sha256 + (base32 "01ma0cwirxarwwmdwflnh8kmysmr2smh5kyvzhb2074ljxg8yq2p")))) + (build-system asdf-build-system/sbcl) + (inputs + `(("alexandria" ,sbcl-alexandria))) + (native-inputs + `(("fiveam" ,sbcl-fiveam))) + (home-page "https://github.com/pnathan/generic-comparability") + (synopsis "Implementation of cdr-8") + (description + "GENERIC-COMPARABILITY is an implementation of CDR-8 (Generic Equality +and Comparison for Common Lisp). CDR-8 provides an interface for the EQUALS +function, which is defined as a general equality predicate, as well as a set of +ordering (COMPARE) functions for comparison. The semantics are described in +the CDR-8 standard.") + (license license:llgpl)))) + +(define-public cl-generic-comparability + (sbcl-package->cl-source-package sbcl-generic-comparability)) + +(define-public ecl-generic-comparability + (sbcl-package->ecl-package sbcl-generic-comparability)) -- cgit v1.2.3 From 96a5ae99d826e06fc66946381e5458cb9cee9c9e Mon Sep 17 00:00:00 2001 From: Foo Chuan Wei Date: Wed, 13 Oct 2021 10:37:45 +0200 Subject: gnu: Add cl-libyaml. * gnu/packages/lisp-xyz.scm (cl-libyaml, ecl-cl-libyaml, sbcl-cl-libyaml): New variables. Signed-off-by: Guillaume Le Vaillant --- gnu/packages/lisp-xyz.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index baa7dc2587..e713461ebc 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -87,6 +87,7 @@ #:use-module (gnu packages python-xyz) #:use-module (gnu packages readline) #:use-module (gnu packages sdl) + #:use-module (gnu packages serialization) #:use-module (gnu packages sqlite) #:use-module (gnu packages tcl) #:use-module (gnu packages tls) @@ -18986,3 +18987,48 @@ the CDR-8 standard.") (define-public ecl-generic-comparability (sbcl-package->ecl-package sbcl-generic-comparability)) + +(define-public sbcl-cl-libyaml + (let ((commit "a7fe9f68bddfd00b7ca467b65b3b41b276336843") + (revision "1")) + (package + (name "sbcl-cl-libyaml") + (version (git-version "0.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/eudoxia0/cl-libyaml") + (commit commit))) + (file-name (git-file-name "cl-libyaml" version)) + (sha256 + (base32 + "06pvmackyhq03rjmihpx6w63m6cy8wx78ll5xpwwvd85bgrqq817")))) + (build-system asdf-build-system/sbcl) + (native-inputs + `(("fiveam" ,sbcl-fiveam))) + (inputs + `(("cffi" ,sbcl-cffi) + ("libyaml" ,libyaml))) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "src/library.lisp" + (("libyaml.so") + (string-append (assoc-ref inputs "libyaml") + "/lib/libyaml.so")))))))) + (home-page "https://github.com/eudoxia0/cl-libyaml") + (synopsis "Libyaml bindings for Common Lisp") + (description + "This is a binding to the libyaml library. It's not meant as +a full library for YAML, just a bare binding with a couple of utility macros. +For a YAML parser and emitter using this, check out cl-yaml.") + (license license:expat)))) + +(define-public cl-libyaml + (sbcl-package->cl-source-package sbcl-cl-libyaml)) + +(define-public ecl-cl-libyaml + (sbcl-package->ecl-package sbcl-cl-libyaml)) -- cgit v1.2.3 From 203743f4b0d474e2cce0977b1771cc20a1c25c83 Mon Sep 17 00:00:00 2001 From: Foo Chuan Wei Date: Wed, 13 Oct 2021 10:45:47 +0200 Subject: gnu: Add cl-yaml. * gnu/packages/lisp-xyz.scm (cl-yaml, ecl-cl-yaml, sbcl-cl-yaml): New variables. Signed-off-by: Guillaume Le Vaillant --- gnu/packages/lisp-xyz.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index e713461ebc..29d79e481e 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -19032,3 +19032,43 @@ For a YAML parser and emitter using this, check out cl-yaml.") (define-public ecl-cl-libyaml (sbcl-package->ecl-package sbcl-cl-libyaml)) + +(define-public sbcl-cl-yaml + (let ((commit "c3202be9a753c51f3bc79538a5a498a8865192aa") + (revision "1")) + (package + (name "sbcl-cl-yaml") + (version (git-version "0.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/eudoxia0/cl-yaml") + (commit commit))) + (file-name (git-file-name "cl-yaml" version)) + (sha256 + (base32 "1izjg0v6rf7dh069bbnnr67l30lsqj86wdk7y9ggbgiwh6v9j185")))) + (build-system asdf-build-system/sbcl) + (inputs + `(("alexandria" ,sbcl-alexandria) + ("cl-libyaml" ,sbcl-cl-libyaml) + ("cl-ppcre" ,sbcl-cl-ppcre) + ("parse-number" ,sbcl-parse-number))) + (native-inputs + `(("cl-fad" ,sbcl-cl-fad) + ("fiveam" ,sbcl-fiveam) + ("generic-comparability" ,sbcl-generic-comparability) + ("trivial-benchmark" ,sbcl-trivial-benchmark) + ("yason" ,sbcl-yason))) + (home-page "https://github.com/eudoxia0/cl-yaml") + (synopsis "YAML parser for Common Lisp") + (description + "This is a YAML parser and emitter for Common Lisp built on top of +libyaml.") + (license license:expat)))) + +(define-public cl-yaml + (sbcl-package->cl-source-package sbcl-cl-yaml)) + +(define-public ecl-cl-yaml + (sbcl-package->ecl-package sbcl-cl-yaml)) -- cgit v1.2.3 From c0828f05976330694e7095421423677dae4dc75e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Lassieur?= Date: Wed, 13 Oct 2021 10:57:36 +0200 Subject: gnu: python-pbr-minimal: Update to 5.5.1. * gnu/packages/python-xyz.scm (python-pbr-minimal): Update to 5.5.1. --- gnu/packages/python-xyz.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index fdd1e1e513..3abedc6ead 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -51,7 +51,7 @@ ;;; Copyright © 2016, 2018 Tomáš Čech ;;; Copyright © 2018, 2019, 2020, 2021 Nicolas Goaziou ;;; Copyright © 2018 Oleg Pykhalov -;;; Copyright © 2018, 2019 Clément Lassieur +;;; Copyright © 2018, 2019, 2021 Clément Lassieur ;;; Copyright © 2018, 2019, 2020, 2021 Maxim Cournoyer ;;; Copyright © 2018 Luther Thompson ;;; Copyright © 2018 Vagrant Cascadian @@ -3099,14 +3099,14 @@ code introspection, and logging.") (define-public python-pbr-minimal (package (name "python-pbr-minimal") - (version "3.0.1") + (version "5.5.1") (source (origin (method url-fetch) (uri (pypi-uri "pbr" version)) (sha256 (base32 - "14fs5acnalnb3h62s7q7av239j541fk0n0z0lawh4h09b1s93s6p")))) + "1j8k5d4rdhy5bw5ai1vkjzln2albah94in3vvyvxa0n42fv81baz")))) (build-system python-build-system) (arguments `(#:tests? #f)) -- cgit v1.2.3 From 95c9e65a21ab5688cc069da322184e4ee5eabcba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Lassieur?= Date: Wed, 13 Oct 2021 10:58:21 +0200 Subject: gnu: python-git-review: Update to 2.1.0. * gnu/packages/openstack.scm (python-git-review): Update to 2.1.0. --- gnu/packages/openstack.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index 6e36d298f5..1c35fe570f 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2015 Cyril Roelandt ;;; Copyright © 2015, 2016 Efraim Flashner -;;; Copyright © 2016, 2017, 2019 Clément Lassieur +;;; Copyright © 2016, 2017, 2019, 2021 Clément Lassieur ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice ;;; Copyright © 2018 Marius Bakke ;;; Copyright © 2020, 2021 Ricardo Wurmus @@ -799,13 +799,13 @@ permanence.") (define-public python-git-review (package (name "python-git-review") - (version "1.28.0") + (version "2.1.0") (source (origin (method url-fetch) (uri (pypi-uri "git-review" version)) (sha256 - (base32 "0nn17mfqvsa3ryjz53qjslmf60clc0vx2115kkj66h28p6vsnflf")))) + (base32 "1mhywsbisyv028lsj2ksg4g5l8kyimpwxgwzqi08rymi8mb7fv1s")))) (build-system python-build-system) (arguments '(#:tests? #f ; tests require a running Gerrit server -- cgit v1.2.3 From 8bc5f63c456502ed80af99933a02642da9cf547a Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Mon, 11 Oct 2021 21:39:07 -0400 Subject: gnu: git-annex: Update to 8.20211011. * gnu/packages/haskell-apps.scm (git-annex): Update to 8.20211011. Signed-off-by: Efraim Flashner --- gnu/packages/haskell-apps.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/haskell-apps.scm b/gnu/packages/haskell-apps.scm index ca96680b67..994214e900 100644 --- a/gnu/packages/haskell-apps.scm +++ b/gnu/packages/haskell-apps.scm @@ -316,14 +316,14 @@ to @code{cabal repl}).") (define-public git-annex (package (name "git-annex") - (version "8.20210903") + (version "8.20211011") (source (origin (method url-fetch) (uri (string-append "https://hackage.haskell.org/package/" "git-annex/git-annex-" version ".tar.gz")) (sha256 - (base32 "1p6zgk98jmxvqdin5xsdxhgq276bjdr2spi0wabj8x0ziry97rvl")))) + (base32 "02s7921ihmbndp7lk1nhhiljky02ikq4qax4mhg609qjhbl6piwd")))) (build-system haskell-build-system) (arguments `(#:configure-flags -- cgit v1.2.3 From b0e8ccbe1f4e671c31724dacbdc165c7f868e78d Mon Sep 17 00:00:00 2001 From: Alexandr Vityazev Date: Sat, 2 Oct 2021 18:52:00 +0000 Subject: gnu: Add zsh-syntax-highlighting. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/shellutils.scm (zsh-syntax-highlighting): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/shellutils.scm | 53 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm index 94b5536df7..9a364d0ade 100644 --- a/gnu/packages/shellutils.scm +++ b/gnu/packages/shellutils.scm @@ -10,6 +10,8 @@ ;;; Copyright © 2020 aecepoglu ;;; Copyright © 2020 Dion Mendel ;;; Copyright © 2021 Brice Waegeneire +;;; Copyright © 2021 Alexandr Vityazev +;;; Copyright © 2021 Xinglu Chen ;;; ;;; This file is part of GNU Guix. ;;; @@ -138,6 +140,57 @@ text.") as you type.") (license license:expat))) +(define-public zsh-syntax-highlighting + (package + (name "zsh-syntax-highlighting") + (version "0.7.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/zsh-users/zsh-syntax-highlighting") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "039g3n59drk818ylcyvkciv8k9mf739cv6v4vis1h9fv9whbcmwl")))) + (build-system gnu-build-system) + (native-inputs + `(("zsh" ,zsh))) + (arguments + ;; FIXME: Tests fail when running test regexp + ;; there is no pcre module in the Guix zsh package + `(#:tests? #f + #:phases + (modify-phases %standard-phases + (delete 'configure) + (add-after 'unpack 'patch-paths + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (substitute* "Makefile" + (("/usr/local") out) + (("share/\\$\\(NAME\\)") "share/zsh/plugins/$(NAME)"))))) + (add-after 'patch-paths 'make-writable + (lambda _ + (for-each make-file-writable + '("docs/highlighters.md" + "README.md")))) + (add-before 'build 'add-all-md + (lambda _ + (invoke "make" "all"))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "make" "test") + (invoke "make" "perf"))))))) + (home-page "https://github.com/zsh-users/zsh-syntax-highlighting") + (synopsis "Fish shell-like syntax highlighting for Zsh") + (description + "This package provides syntax highlighting for Zsh. It enables +highlighting of commands whilst they are typed at a Zsh prompt into an +interactive terminal. This helps in reviewing commands before running them, +particularly in catching syntax errors.") + (license license:bsd-3))) + (define-public sh-z (package (name "sh-z") -- cgit v1.2.3 From 2779763b4076c91e7edc2f2d1e0fc9e97385d159 Mon Sep 17 00:00:00 2001 From: Alexandru-Sergiu Marton Date: Tue, 28 Sep 2021 20:17:24 +0000 Subject: gnu: Add wmname. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/suckless.scm (wmname): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/suckless.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm index b24eced379..59cf542455 100644 --- a/gnu/packages/suckless.scm +++ b/gnu/packages/suckless.scm @@ -9,6 +9,7 @@ ;;; Copyright © 2017 Alex Griffin ;;; Copyright © 2018–2021 Tobias Geerinckx-Rice ;;; Copyright © 2021 Raghav Gururajan +;;; Copyright © 2021 Alexandru-Sergiu Marton ;;; ;;; This file is part of GNU Guix. ;;; @@ -488,6 +489,36 @@ few minutes.") (home-page "https://tools.suckless.org/sent") (license license:x11))) +(define-public wmname + (package + (name "wmname") + (version "0.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://dl.suckless.org/tools/wmname-" + version ".tar.gz")) + (sha256 + (base32 "1i82ilhbk36hspc2j0fbpg27wjj7xnvzpv1ppgf6fccina4d36jm")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no tests + #:make-flags + (list (string-append "CC=" ,(cc-for-target)) + (string-append "PREFIX=" %output)) + #:phases ; no tests + (modify-phases %standard-phases + (delete 'configure)))) ; no configure script + (inputs + `(("libx11" ,libx11))) + (home-page "https://tools.suckless.org/x/wmname/") + (synopsis "Print or set the window manager name") + (description "@command{wmname} prints/sets the window manager name +property of the root window similar to how @command{hostname} behaves. It is +useful for fixing problems with JDK versions and other broken programs +assuming a reparenting window manager for instance.") + (license license:expat))) + (define-public xbattmon (package (name "xbattmon") -- cgit v1.2.3 From 1ec92a0633543f69307dcda8f51d72ca307a32e1 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Sun, 26 Sep 2021 18:35:12 -0500 Subject: gnu: Add JSON.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/serialization.scm (JSON.sh): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/serialization.scm | 50 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm index 196141ace8..e24ef973b5 100644 --- a/gnu/packages/serialization.scm +++ b/gnu/packages/serialization.scm @@ -34,10 +34,13 @@ #:use-module (guix git-download) #:use-module (guix utils) #:use-module (guix build-system cmake) + #:use-module (guix build-system copy) #:use-module (guix build-system gnu) #:use-module (guix build-system python) #:use-module (gnu packages) #:use-module (gnu packages autotools) + #:use-module (gnu packages base) + #:use-module (gnu packages bash) #:use-module (gnu packages boost) #:use-module (gnu packages check) #:use-module (gnu packages compression) @@ -458,6 +461,53 @@ it a convenient format to store user input files.") (base32 "1180ln8blrb0mwzpcf78k49hlki6di65q77rsvglf83kfcyh4d7z")))))) +(define-public json.sh + (let ((commit "0d5e5c77365f63809bf6e77ef44a1f34b0e05840") ;no releases + (revision "1")) + (package + (name "json.sh") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dominictarr/JSON.sh") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "14lxvp5xbdk0dcwkjbdp098z1108j8z48zaibndh4i731kkcz43i")))) + (build-system copy-build-system) + (arguments + `(#:install-plan '(("JSON.sh" "bin/")) + #:phases + (modify-phases %standard-phases + (add-before 'install 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? (invoke "./all-tests.sh")) + #t)) + (add-after 'install 'wrap-program + (lambda* (#:key inputs outputs #:allow-other-keys) + (wrap-program (string-append (assoc-ref outputs "out") "/bin/JSON.sh") + `("PATH" ":" prefix + (,(string-join + (map (lambda (in) (string-append (assoc-ref inputs in) "/bin")) + '("grep" "sed")) + ":")))) + #t))))) + (inputs + `(("bash-minimal" ,bash-minimal) + ("grep" ,grep) + ("sed" ,sed))) + (synopsis "Pipeable JSON parser written in shell") + (description + "This package provides a JSON parser written in shell, compatible with +ash, Bash, Dash and Zsh. Pipe JSON to it, and it traverses the JSON objects +and prints out the path to the current object (as a JSON array) and then the +object, without whitespace.") + (home-page "https://github.com/dominictarr/JSON.sh") + (license (list license:expat license:asl2.0))))) ;dual-licensed + (define-public capnproto (package (name "capnproto") -- cgit v1.2.3 From 32e444da301de1a34fbce363a242f1fe0934ed22 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Sun, 26 Sep 2021 18:35:13 -0500 Subject: gnu: Add cloudflare-cli MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/dns.scm (cloudflare-cli): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/dns.scm | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm index 6620c6b1d9..c770b880c8 100644 --- a/gnu/packages/dns.scm +++ b/gnu/packages/dns.scm @@ -42,6 +42,7 @@ #:use-module (gnu packages bash) #:use-module (gnu packages certs) #:use-module (gnu packages check) + #:use-module (gnu packages curl) #:use-module (gnu packages databases) #:use-module (gnu packages documentation) #:use-module (gnu packages compression) @@ -69,6 +70,7 @@ #:use-module (gnu packages python) #:use-module (gnu packages python-xyz) #:use-module (gnu packages ragel) + #:use-module (gnu packages serialization) #:use-module (gnu packages shells) #:use-module (gnu packages sphinx) #:use-module (gnu packages swig) @@ -82,11 +84,62 @@ #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix utils) + #:use-module (guix build-system copy) #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system gnu) #:use-module (guix build-system meson) #:use-module (guix build-system trivial)) +(define-public cloudflare-cli + (let ((commit "2d986d3ec1b0e3158c4bd40e8918947cb74aa392") + (revision "1")) + (package + (name "cloudflare-cli") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/earlchew/cloudflare-cli") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0f86g6n86kwykl3jnhqjrdfy8ybkp03ghr3dlr70q2552qw4axw2")))) + (build-system copy-build-system) + (arguments + `(#:install-plan '(("cloudflare-cli" "bin/") ("cloudflare-cli.sh" "bin/")) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'find-jsonsh + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "cloudflare-cli.sh" + (("\\$\\{0%/\\*\\}/jsonsh") + (string-append (assoc-ref inputs "json.sh") "/bin/JSON.sh"))) + #t)) + (add-after 'install 'wrap-program + (lambda* (#:key inputs outputs #:allow-other-keys) + (wrap-program (string-append (assoc-ref outputs "out") "/bin/cloudflare-cli") + `("PATH" ":" prefix + (,(string-join + (map (lambda (in) (string-append (assoc-ref inputs in) "/bin")) + '("grep" "curl")) + ":")))) + #t))))) + (inputs + `(("bash-minimal" ,bash-minimal) + ("curl" ,curl) + ("grep" ,grep) + ("json.sh" ,json.sh))) + (synopsis + "CLI to edit Cloudflare DNS records") + (description + "This command line tool to update Cloudfare DNS records is useful for tasks +such as updating dynamic DNS records or updating DNS records for the ACME DNS-01 +protocol.") + (home-page "https://github.com/earlchew/cloudflare-cli") + (license license:expat)))) + (define-public ldns (package (name "ldns") -- cgit v1.2.3 From 987b50f4e9f7f6eccce9af82309c2d406a8cbe76 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Fri, 24 Sep 2021 21:44:39 -0500 Subject: gnu: Add runitor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/admin.scm (runitor): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/admin.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 850372bdc6..a00976eb33 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -4794,3 +4794,31 @@ setup, maintenance, supervision, or any long-running processes.") (description "Utility to convert @code{lsof} output to a graph showing FIFO and UNIX interprocess communication.") (license license:bsd-2)))) + +(define-public runitor + (package + (name "runitor") + (version "0.8.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/bdd/runitor") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0vjfbyrbp5ywgzdz9j3x0qgjvnq7nw7193x8v9yy6k2cih1zsacn")))) + (build-system go-build-system) + (arguments + `(#:unpack-path "bdd.fi/x/runitor" + #:go ,go-1.17 + #:build-flags '(,(string-append "-ldflags=-X main.Version=" version)) + #:import-path "bdd.fi/x/runitor/cmd/runitor" + #:install-source? #f)) + (home-page "https://github.com/bdd/runitor") + (synopsis "Command runner with healthchecks.io integration") + (description + "Runitor runs the supplied command, captures its output, and based on its +exit code reports successful or failed execution to +@url{https://healthchecks.io,https://healthchecks.io} or your private instance.") + (license license:bsd-0))) -- cgit v1.2.3 From 4779c90184b21b779a3d09c7a3cac92ce6f8f7dc Mon Sep 17 00:00:00 2001 From: Alexandr Vityazev Date: Sat, 25 Sep 2021 09:44:11 +0000 Subject: gnu: swappy: Update to 1.4.0. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/image.scm (swappy): Update to 1.4.0. Signed-off-by: Ludovic Courtès --- gnu/packages/image.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index 6e67c56d78..bdcf43c03f 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -30,6 +30,7 @@ ;;; Copyright © 2020, 2021 Vinicius Monego ;;; Copyright © 2021 Sharlatan Hellseher ;;; Copyright © 2021 Nicolò Balzarotti +;;; Copyright © 2021 Alexandr Vityazev ;;; ;;; This file is part of GNU Guix. ;;; @@ -1852,7 +1853,7 @@ Features: (define-public swappy (package (name "swappy") - (version "1.2.1") + (version "1.4.0") (source (origin (method git-fetch) @@ -1861,7 +1862,7 @@ Features: (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "14ac2jmnak7avcz0jhqjm30vk7pv3gq5aq5rdyh84k8c613kkicf")))) + (base32 "1s2lp3bz30svqdg6467jvncim0qgl0q1b1nqxnnci6kljbp5g0xh")))) (build-system meson-build-system) (native-inputs `(("pkg-config" ,pkg-config) -- cgit v1.2.3 From 859d5a1f1d8486b509a80769a33dd546a6d4c1b2 Mon Sep 17 00:00:00 2001 From: Alexandr Vityazev Date: Sat, 25 Sep 2021 13:04:50 +0000 Subject: gnu: swappy: Add propagated-inputs. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add font-awesome to propagated-inputs to properly render the icons. * gnu/packages/image.scm (swappy)[propagated-inputs]: Add font-awesome; [use-modules]: Add (gnu packages fonts). Signed-off-by: Ludovic Courtès --- gnu/packages/image.scm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index bdcf43c03f..5bce96a81e 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -91,6 +91,7 @@ #:use-module (gnu packages xdisorg) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) + #:use-module (gnu packages fonts) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) @@ -1871,6 +1872,9 @@ Features: (inputs `(("gtk+" ,gtk+) ("libnotify" ,libnotify))) + (propagated-inputs + ;; Needed to properly render the icons. + `(("font-awesome" ,font-awesome))) (home-page "https://github.com/jtheoof/swappy") (synopsis "Grab and edit on the fly snapshots of a Wayland compositor") (description -- cgit v1.2.3 From 1628e5d51b9cb1d526b8a55c670f65946fd7c970 Mon Sep 17 00:00:00 2001 From: hackeryarn Date: Mon, 4 Oct 2021 21:08:46 -0500 Subject: gnu: Add go-golang-org-x-mod. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/golang.scm (go-golang-org-x-mod): New variable. Co-authored-by: Ludovic Courtès --- gnu/packages/golang.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index a96f743f68..e39c67b942 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -2669,6 +2669,41 @@ time.") (home-page "https://godoc.org/golang.org/x/xerrors") (license license:bsd-3)))) +(define-public go-golang-org-x-mod + (let ((commit "0f08993efd8a8ec67e75bcccf86b0e1569b0ab0a") + (revision "0")) + (package + (name "go-golang-org-x-mod") + (version (git-version "0.5.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://go.googlesource.com/x/mod") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0pl0jc5jvg7hxj4z66zg6kglnq5g7li09f3k9klwvyr4jx5dw88k")))) + (build-system go-build-system) + (arguments + '(#:import-path "golang.org/x/mod/" + #:tests? #f + #:phases + (modify-phases %standard-phases + ;; Source-only package + (delete 'build)))) + (home-page "https://golang.org/x/mod") + (synopsis "Tools to work directly with Go module mechanics") + (description + "This repository holds packages for writing tools that work directly +with Go module mechanics. That is, it is for direct manipulation of Go modules +themselves. + +The specific case of loading packages should still be done by invoking the +@command{go} command, which remains the single point of truth for package +loading algorithms.") + (license license:bsd-3)))) + (define-public go-github-com-burntsushi-toml (package (name "go-github-com-burntsushi-toml") -- cgit v1.2.3 From 038dec75e75b6ca4abbca486b723a39664db4036 Mon Sep 17 00:00:00 2001 From: Foo Chuan Wei Date: Tue, 12 Oct 2021 12:59:11 +0000 Subject: gnu: Add vim-paredit. * gnu/packages/vim.scm (vim-paredit): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/vim.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index 92189b7094..34e00e9e30 100644 --- a/gnu/packages/vim.scm +++ b/gnu/packages/vim.scm @@ -1069,3 +1069,32 @@ your code every time you make a change. @code{Vim-slime} is an attempt at getting some of these features into Vim. It works with any REPL and isn't tied to Lisp.") (license license:expat)))) + +(define-public vim-paredit + ;; The last tagged version is from August 2013. + (let ((commit "97d51d099523b37bb35cbcf3564cbfb46e66e4ec") + (revision "1")) + (package + (name "vim-paredit") + (version (git-version "0.9.11" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/kovisoft/paredit") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "07d5s20r0ssd7rir45vy0fqlci44gha1a81rcilgar227f3nw328")))) + (build-system copy-build-system) + (arguments + '(#:install-plan + '(("doc" "share/vim/vimfiles/") + ("plugin" "share/vim/vimfiles/")))) + (home-page "https://github.com/kovisoft/paredit") + (synopsis "Vim plugin for structured editing of Lisp S-expressions") + (description + "Paredit performs structured editing of Lisp S-expressions in Vim. +@code{Paredit.vim} is similar to @code{paredit.el} for Emacs.") + ;; License listed in plugin/paredit.vim. + (license license:public-domain)))) -- cgit v1.2.3 From c1ea1a94c33035a5aec413617d502884647af628 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Tue, 12 Oct 2021 16:43:40 +0200 Subject: gnu: libhx: Fix runtime bug. There is a bug in libhx causing pam-mount to crash when trying to mount user directories at login. Upstream has a patch to fix this issue. * gnu/packages/patches/libhx-fix-double-free-bug.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/c.scm (libhx)[source]: Use it. --- gnu/packages/c.scm | 5 +- .../patches/libhx-fix-double-free-bug.patch | 80 ++++++++++++++++++++++ 2 files changed, 83 insertions(+), 2 deletions(-) create mode 100644 gnu/packages/patches/libhx-fix-double-free-bug.patch (limited to 'gnu/packages') diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm index 7fdac40a97..9f30295067 100644 --- a/gnu/packages/c.scm +++ b/gnu/packages/c.scm @@ -4,7 +4,7 @@ ;;; Copyright © 2018, 2020, 2021 Tobias Geerinckx-Rice ;;; Copyright © 2018, 2019 Pierre Neidhardt ;;; Copyright © 2019, 2020 Efraim Flashner -;;; Copyright © 2019 Guillaume Le Vaillant +;;; Copyright © 2019, 2021 Guillaume Le Vaillant ;;; Copyright © 2019 Andreas Enge ;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen ;;; Copyright © 2020, 2021 Marius Bakke @@ -259,7 +259,8 @@ whose behaviour is inconsistent across *NIX flavours.") (uri (string-append "https://inai.de/files/libhx/" "libHX-" version ".tar.xz")) (sha256 - (base32 "1f4rmarym1j368cbxhqzyvdn5dk4bh8951s19ffqwql16anqsgfr")))) + (base32 "1f4rmarym1j368cbxhqzyvdn5dk4bh8951s19ffqwql16anqsgfr")) + (patches (search-patches "libhx-fix-double-free-bug.patch")))) (build-system gnu-build-system) (home-page "https://inai.de/projects/libhx/") (synopsis "C library with common data structures and functions") diff --git a/gnu/packages/patches/libhx-fix-double-free-bug.patch b/gnu/packages/patches/libhx-fix-double-free-bug.patch new file mode 100644 index 0000000000..80c2c6ca84 --- /dev/null +++ b/gnu/packages/patches/libhx-fix-double-free-bug.patch @@ -0,0 +1,80 @@ +From a08eabc6e5a3e0a9c7a15ca15ff7d450ecb6db88 Mon Sep 17 00:00:00 2001 +From: Jan Engelhardt +Date: Tue, 12 Oct 2021 17:32:43 +0200 +Subject: [PATCH] io: fix a use-after-free in conjunction with HX_realpath + +HX_readlink(&x, ...) forgot to set x to nullptr upon error, which +trips up subsequent calls to HX_readlink with the very same x. + +Fixes: v3.26-1-g97f4be2 +--- + src/io.c | 8 ++++++-- + src/tc-realpath.c | 10 ++++++++++ + 2 files changed, 16 insertions(+), 2 deletions(-) + +diff --git a/src/io.c b/src/io.c +index 95d6fd6..14078fc 100644 +--- a/src/io.c ++++ b/src/io.c +@@ -316,8 +316,10 @@ EXPORT_SYMBOL int HX_readlink(hxmc_t **target, const char *path) + ssize_t ret = readlink(path, *target, linkbuf_size); + if (ret < 0) { + int saved_errno = errno; +- if (allocate) ++ if (allocate) { + HXmc_free(*target); ++ *target = nullptr; ++ } + return -(errno = saved_errno); + } + if (static_cast(size_t, ret) < linkbuf_size) { +@@ -327,8 +329,10 @@ EXPORT_SYMBOL int HX_readlink(hxmc_t **target, const char *path) + linkbuf_size *= 2; + if (HXmc_setlen(target, linkbuf_size) == NULL) { + int saved_errno = errno; +- if (allocate) ++ if (allocate) { + HXmc_free(*target); ++ *target = nullptr; ++ } + return -(errno = saved_errno); + } + } +diff --git a/src/tc-realpath.c b/src/tc-realpath.c +index 5dd9aa2..c2ef15a 100644 +--- a/src/tc-realpath.c ++++ b/src/tc-realpath.c +@@ -11,6 +11,7 @@ + #include + #include + #include ++#include + + static unsigned int rp_flags; + static unsigned int rp_absolute; +@@ -42,6 +43,14 @@ static bool rp_get_options(int *argc, const char ***argv) + return true; + } + ++static void t_1(void) ++{ ++ hxmc_t *tmp = HXmc_strinit(""); ++ /* two components, so that HX_readlink gets called twice */ ++ HX_realpath(&tmp, "/dev/tty", HX_REALPATH_DEFAULT); ++ HXmc_free(tmp); ++} ++ + int main(int argc, const char **argv) + { + hxmc_t *res; +@@ -49,6 +58,7 @@ int main(int argc, const char **argv) + + if (!rp_get_options(&argc, &argv)) + return EXIT_FAILURE; ++ t_1(); + + res = NULL; + while (--argc > 0) { +-- +2.33.0 + -- cgit v1.2.3 From ac60f71215dbb327d3581b2a31b88de5a87abd06 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Wed, 13 Oct 2021 14:45:38 +0200 Subject: gnu: gnome-bluetooth: Add missing inputs for tests. * gnu/packages/gnome.scm (gnome-bluetooth)[native-inputs]: Add python and python-dbus. --- gnu/packages/gnome.scm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 2047ae0e3b..1b0a72817c 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -8336,6 +8336,8 @@ usage and information about running processes.") ("gobject-introspection" ,gobject-introspection) ("intltool" ,intltool) ("pkg-config" ,pkg-config) + ("python" ,python) + ("python-dbus" ,python-dbus) ("xmllint" ,libxml2))) (propagated-inputs ;; gnome-bluetooth-1.0.pc refers to all these. -- cgit v1.2.3 From 393315a98ef0b1cbafb661be5c36bbd4f30dba2e Mon Sep 17 00:00:00 2001 From: Foo Chuan Wei Date: Wed, 13 Oct 2021 14:42:41 +0000 Subject: gnu: Add cscope * gnu/packages/code.scm (cscope): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/code.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm index 7551b31e85..155d2c6bde 100644 --- a/gnu/packages/code.scm +++ b/gnu/packages/code.scm @@ -15,6 +15,7 @@ ;;; Copyright © 2020, 2021 Marius Bakke ;;; Copyright © 2020 Julien Lepiller ;;; Copyright © 2021 lu hui +;;; Copyright © 2021 Foo Chuan Wei ;;; ;;; This file is part of GNU Guix. ;;; @@ -936,3 +937,32 @@ extensions over the standard utility.") (description "amalgamate.py aims to make it easy to use SQLite-style C source and header amalgamation in projects.") (license license:bsd-3)))) + +(define-public cscope + (package + (name "cscope") + (version "15.9") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/cscope/cscope/" + "v" version "/cscope-" version ".tar.gz")) + (sha256 + (base32 "0ngiv4aj3rr35k3q3wjx0y19gh7i1ydqa0cqip6sjwd8fph5ll65")))) + (build-system gnu-build-system) + (inputs `(("ncurses" ,ncurses))) + (arguments + `(#:configure-flags + ;; Specify the correct ncurses directory to prevent incorrect fallback + ;; on SysV curses. + (list (string-append "--with-ncurses=" + (assoc-ref %build-inputs "ncurses"))))) + (home-page "http://cscope.sourceforge.net") + (synopsis "Tool for browsing source code") + (description + "Cscope is a text screen based source browsing tool. Although it is +primarily designed to search C code (including lex and yacc files), it can +also be used for C++ code. + +Using cscope, you can easily search for where symbols are used and defined.") + (license license:bsd-3))) -- cgit v1.2.3 From 711ee48f81d62785b6e1fedcba20ed3078b8ab01 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 13 Oct 2021 22:23:14 +0200 Subject: gnu: ganeti: Prepare for Sphinx 4.0. * gnu/packages/patches/ganeti-sphinx-compat.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/virtualization.scm (ganeti)[source](patches): Add it. --- gnu/packages/patches/ganeti-sphinx-compat.patch | 24 ++++++++++++++++++++++++ gnu/packages/virtualization.scm | 1 + 2 files changed, 25 insertions(+) create mode 100644 gnu/packages/patches/ganeti-sphinx-compat.patch (limited to 'gnu/packages') diff --git a/gnu/packages/patches/ganeti-sphinx-compat.patch b/gnu/packages/patches/ganeti-sphinx-compat.patch new file mode 100644 index 0000000000..4e84abbf37 --- /dev/null +++ b/gnu/packages/patches/ganeti-sphinx-compat.patch @@ -0,0 +1,24 @@ +Adjust documentation for Sphinx 4.0. + +Discussed upstream at . + +diff --git a/doc/index.rst b/doc/index.rst +--- a/doc/index.rst ++++ b/doc/index.rst +@@ -119,7 +119,6 @@ Draft designs + design-hotplug.rst + design-internal-shutdown.rst + design-kvmd.rst +- design-location.rst + design-linuxha.rst + design-location.rst + design-lu-generated-jobs.rst +diff --git a/lib/build/shell_example_lexer.py b/lib/build/shell_example_lexer.py +--- a/lib/build/shell_example_lexer.py ++++ b/lib/build/shell_example_lexer.py +@@ -79,4 +79,4 @@ class ShellExampleLexer(RegexLexer): + + + def setup(app): +- app.add_lexer("shell-example", ShellExampleLexer()) ++ app.add_lexer("shell-example", ShellExampleLexer) diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index 772a0ac430..0dd05a65c9 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -519,6 +519,7 @@ firmware blobs. You can (file-name (git-file-name name version)) (patches (search-patches "ganeti-shepherd-support.patch" "ganeti-shepherd-master-failover.patch" + "ganeti-sphinx-compat.patch" "ganeti-haskell-compat.patch" "ganeti-haskell-pythondir.patch" "ganeti-disable-version-symlinks.patch" -- cgit v1.2.3 From 1961b28445080c7b9fb8bf5291ac9a814303522a Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 13 Oct 2021 22:24:32 +0200 Subject: gnu: perl-uri-fetch: Update to 0.15. * gnu/packages/web.scm (perl-uri-fetch): Update to 0.15. --- 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 b2197eceb2..f7dacb1012 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -4537,14 +4537,14 @@ and updated by RFC 2732.") (define-public perl-uri-fetch (package (name "perl-uri-fetch") - (version "0.13") + (version "0.15") (source (origin (method url-fetch) (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/" "URI-Fetch-" version ".tar.gz")) (sha256 (base32 - "0rw6xiqm70s218aii9id3hf8j3pz6n22xnwd8v9m1ff2bnh63c0d")))) + "0355rnw3xbgfwy9fgs6zrjmrsychzmwpkc9jcd9mrbkd9kr3k7rp")))) (build-system perl-build-system) (arguments `(#:tests? #f)) ; Tests require internet connection to succeed -- cgit v1.2.3