summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-09-15 11:29:02 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-09-15 11:43:21 -0400
commit4920f6e634eeecb37b501bdc024dfe0aab849ed0 (patch)
treec7dd5859715071cb602133b67449a29488027f70 /gnu/packages
parent513091dbd2eeba138b558f5f9bb1ee6e68eee01d (diff)
parent3d297a0017210f1dd135592efb10846840a8af88 (diff)
Merge branch 'staging' into core-updates
Conflicts resolved in: gnu/local.mk gnu/packages/cmake.scm gnu/packages/glib.scm gnu/packages/gnome.scm gnu/packages/gtk.scm gnu/packages/sdl.scm pango-next, vala-next and librsvg-bootstrap were removed in the process.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/admin.scm8
-rw-r--r--gnu/packages/algebra.scm47
-rw-r--r--gnu/packages/bash.scm44
-rw-r--r--gnu/packages/bioconductor.scm48
-rw-r--r--gnu/packages/bioinformatics.scm4
-rw-r--r--gnu/packages/check.scm39
-rw-r--r--gnu/packages/chromium.scm6
-rw-r--r--gnu/packages/cmake.scm24
-rw-r--r--gnu/packages/containers.scm18
-rw-r--r--gnu/packages/cpp.scm14
-rw-r--r--gnu/packages/cran.scm113
-rw-r--r--gnu/packages/crates-graphics.scm6
-rw-r--r--gnu/packages/crates-gtk.scm6
-rw-r--r--gnu/packages/dezyne.scm4
-rw-r--r--gnu/packages/emacs-xyz.scm312
-rw-r--r--gnu/packages/emacs.scm64
-rw-r--r--gnu/packages/embedded.scm11
-rw-r--r--gnu/packages/engineering.scm10
-rw-r--r--gnu/packages/enlightenment.scm15
-rw-r--r--gnu/packages/esolangs.scm20
-rw-r--r--gnu/packages/fcitx.scm80
-rw-r--r--gnu/packages/finance.scm21
-rw-r--r--gnu/packages/fonts.scm6
-rw-r--r--gnu/packages/fontutils.scm31
-rw-r--r--gnu/packages/freedesktop.scm88
-rw-r--r--gnu/packages/games.scm153
-rw-r--r--gnu/packages/gcc.scm53
-rw-r--r--gnu/packages/geo.scm178
-rw-r--r--gnu/packages/glib.scm79
-rw-r--r--gnu/packages/gnome-xyz.scm51
-rw-r--r--gnu/packages/gnome.scm6011
-rw-r--r--gnu/packages/gnucash.scm290
-rw-r--r--gnu/packages/gnuzilla.scm4
-rw-r--r--gnu/packages/gtk.scm391
-rw-r--r--gnu/packages/haskell-xyz.scm35
-rw-r--r--gnu/packages/ibus.scm273
-rw-r--r--gnu/packages/image-processing.scm2
-rw-r--r--gnu/packages/ipfs.scm27
-rw-r--r--gnu/packages/java.scm42
-rw-r--r--gnu/packages/linux.scm43
-rw-r--r--gnu/packages/lisp-xyz.scm259
-rw-r--r--gnu/packages/lisp.scm8
-rw-r--r--gnu/packages/machine-learning.scm16
-rw-r--r--gnu/packages/messaging.scm107
-rw-r--r--gnu/packages/music.scm6
-rw-r--r--gnu/packages/networking.scm38
-rw-r--r--gnu/packages/ntp.scm12
-rw-r--r--gnu/packages/patches/cmake-curl-certificates-3.24.patch21
-rw-r--r--gnu/packages/patches/cmh-support-fplll.patch27
-rw-r--r--gnu/packages/patches/emacs-kv-fix-tests.patch30
-rw-r--r--gnu/packages/patches/emacs-yasnippet-fix-tests.patch30
-rw-r--r--gnu/packages/patches/eog-update-libportal-usage.patch40
-rw-r--r--gnu/packages/patches/gdm-default-session.patch65
-rw-r--r--gnu/packages/patches/gdm-elogind-support.patch21
-rw-r--r--gnu/packages/patches/gdm-pass-gdk-pixbuf-loader-env.patch13
-rw-r--r--gnu/packages/patches/gdm-remove-hardcoded-xwayland-path.patch36
-rw-r--r--gnu/packages/patches/gdm-wayland-session-wrapper-from-env.patch13
-rw-r--r--gnu/packages/patches/geoclue-config.patch28
-rw-r--r--gnu/packages/patches/gnome-boxes-add-guix-logo.patch32
-rw-r--r--gnu/packages/patches/gnome-builder-update-libportal.patch93
-rw-r--r--gnu/packages/patches/gnome-screenshot-meson-0.60.patch39
-rw-r--r--gnu/packages/patches/gobject-introspection-absolute-shlib-path-1.72.patch173
-rw-r--r--gnu/packages/patches/gobject-introspection-cc-1.72.patch15
-rw-r--r--gnu/packages/patches/gpaste-fix-paths.patch29
-rw-r--r--gnu/packages/patches/gspell-dash-test.patch22
-rw-r--r--gnu/packages/patches/hedgewars-network-bsd.patch150
-rw-r--r--gnu/packages/patches/libgda-cve-2021-39359.patch33
-rw-r--r--gnu/packages/patches/libgda-fix-build.patch131
-rw-r--r--gnu/packages/patches/libgda-fix-missing-initialization.patch26
-rw-r--r--gnu/packages/patches/libgda-skip-postgresql-tests.patch91
-rw-r--r--gnu/packages/patches/nautilus-add-libportal-gtk3.patch61
-rw-r--r--gnu/packages/patches/network-manager-plugin-path.patch38
-rw-r--r--gnu/packages/patchutils.scm38
-rw-r--r--gnu/packages/pdf.scm19
-rw-r--r--gnu/packages/pkg-config.scm24
-rw-r--r--gnu/packages/python-science.scm13
-rw-r--r--gnu/packages/python-web.scm7
-rw-r--r--gnu/packages/python-xyz.scm58
-rw-r--r--gnu/packages/qt.scm8
-rw-r--r--gnu/packages/rsync.scm10
-rw-r--r--gnu/packages/rust.scm34
-rw-r--r--gnu/packages/sdl.scm45
-rw-r--r--gnu/packages/search.scm6
-rw-r--r--gnu/packages/shellutils.scm33
-rw-r--r--gnu/packages/sphinx.scm35
-rw-r--r--gnu/packages/tex.scm3
-rw-r--r--gnu/packages/textutils.scm20
-rw-r--r--gnu/packages/uml.scm5
-rw-r--r--gnu/packages/version-control.scm11
-rw-r--r--gnu/packages/video.scm4
-rw-r--r--gnu/packages/virtualization.scm11
-rw-r--r--gnu/packages/web.scm10
-rw-r--r--gnu/packages/webkit.scm47
-rw-r--r--gnu/packages/wm.scm34
-rw-r--r--gnu/packages/xdisorg.scm85
-rw-r--r--gnu/packages/xorg.scm110
96 files changed, 6390 insertions, 4654 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 9206157b0ae..7bc6f67dedd 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -325,14 +325,14 @@ interface and is based on GNU Guile.")
325(define-public shepherd-0.9 325(define-public shepherd-0.9
326 (package 326 (package
327 (inherit shepherd) 327 (inherit shepherd)
328 (version "0.9.1") 328 (version "0.9.2")
329 (source (origin 329 (source (origin
330 (method url-fetch) 330 (method url-fetch)
331 (uri (string-append "mirror://gnu/shepherd/shepherd-" 331 (uri (string-append "mirror://gnu/shepherd/shepherd-"
332 version ".tar.gz")) 332 version ".tar.gz"))
333 (sha256 333 (sha256
334 (base32 334 (base32
335 "0l2arn6gsyw88xk9phxnyplvv1mn8sqp3ipgyyb0nszdzvxlgd36")) 335 "0mcby3ygh3bpns44rb1vnk8bz2km4nlw092nrcgkm3nkqfmbp4p1"))
336 (modules '((guix build utils))) 336 (modules '((guix build utils)))
337 (snippet 337 (snippet
338 ;; Avoid continuation barriers so (@ (fibers) sleep) can be 338 ;; Avoid continuation barriers so (@ (fibers) sleep) can be
@@ -3817,13 +3817,13 @@ you are running, what theme or icon set you are using, etc.")
3817(define-public hyfetch 3817(define-public hyfetch
3818 (package 3818 (package
3819 (name "hyfetch") 3819 (name "hyfetch")
3820 (version "1.0.2") 3820 (version "1.4.1")
3821 (source 3821 (source
3822 (origin 3822 (origin
3823 (method url-fetch) 3823 (method url-fetch)
3824 (uri (pypi-uri "HyFetch" version)) 3824 (uri (pypi-uri "HyFetch" version))
3825 (sha256 3825 (sha256
3826 (base32 "1bfkycdhsyzkk6q24gdy1xwvyz0rvkr7xk2khbn74b3nk6kp83r2")))) 3826 (base32 "18s8r63aqyah34vbahccgkiqw4008i2w5kvhqd9s8bdd4yvsrn4n"))))
3827 (build-system python-build-system) 3827 (build-system python-build-system)
3828 (inputs (list python-hypy-utils python-typing-extensions)) 3828 (inputs (list python-hypy-utils python-typing-extensions))
3829 (arguments `(#:phases (modify-phases %standard-phases 3829 (arguments `(#:phases (modify-phases %standard-phases
diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm
index e5bd12eeb86..87fcca746b9 100644
--- a/gnu/packages/algebra.scm
+++ b/gnu/packages/algebra.scm
@@ -294,34 +294,33 @@ GP2C, the GP to C compiler, translates GP scripts to PARI programs.")
294 294
295(define-public cmh 295(define-public cmh
296 (package 296 (package
297 (name "cmh") 297 (name "cmh")
298 (version "1.1.0") 298 (version "1.1.1")
299 (source (origin 299 (source (origin
300 (method url-fetch) 300 (method url-fetch)
301 ;; Git repo at <https://gitlab.inria.fr/cmh/cmh>. 301 ;; Git repo at <https://gitlab.inria.fr/cmh/cmh>.
302 (uri (string-append "http://www.multiprecision.org/downloads/cmh-" 302 (uri (string-append
303 version ".tar.gz")) 303 "https://www.multiprecision.org/downloads/cmh-" version
304 (sha256 304 ".tar.gz"))
305 (base32 305 (sha256
306 "1ws2yhzxmm2l5xqqqcjcimmg40f9qq5l9i6d4i5434an9v9s8531")) 306 (base32
307 (patches (search-patches "cmh-support-fplll.patch")))) 307 "0nadvqfmidgks1s7aljsf8dp32pz7vjaxyaym36m9bx4zr8msk91"))))
308 (build-system gnu-build-system) 308 (build-system gnu-build-system)
309 (inputs 309 (inputs (list gmp
310 (list gmp 310 mpfr
311 mpfr 311 mpc
312 mpc 312 mpfrcx
313 mpfrcx 313 fplll
314 fplll 314 pari-gp))
315 pari-gp)) 315 (synopsis "Igusa class polynomial computations")
316 (synopsis "Igusa class polynomial computations") 316 (description
317 (description 317 "The CMH software computes Igusa (genus 2) class polynomials, which
318 "The CMH software computes Igusa (genus 2) class polynomials, which
319parameterize the CM points in the moduli space of 2-dimensional abelian 318parameterize the CM points in the moduli space of 2-dimensional abelian
320varieties, i.e. Jacobians of hyperelliptic curves. 319varieties, i.e. Jacobians of hyperelliptic curves.
321It can also be used to compute theta constants at arbitrary 320It can also be used to compute theta constants at arbitrary
322precision.") 321precision.")
323 (license license:gpl3+) 322 (license license:gpl3+)
324 (home-page "http://www.multiprecision.org/cmh/home.html"))) 323 (home-page "https://www.multiprecision.org/cmh/home.html")))
325 324
326(define-public giac 325(define-public giac
327 (package 326 (package
diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm
index 080db6acfb1..8c447b0921b 100644
--- a/gnu/packages/bash.scm
+++ b/gnu/packages/bash.scm
@@ -37,6 +37,8 @@
37 #:use-module (gnu packages libffi) 37 #:use-module (gnu packages libffi)
38 #:use-module (gnu packages pkg-config) 38 #:use-module (gnu packages pkg-config)
39 #:use-module (gnu packages guile) 39 #:use-module (gnu packages guile)
40 #:use-module (gnu packages version-control)
41 #:use-module (gnu packages less)
40 #:use-module (guix packages) 42 #:use-module (guix packages)
41 #:use-module (guix download) 43 #:use-module (guix download)
42 #:use-module (guix git-download) 44 #:use-module (guix git-download)
@@ -439,3 +441,45 @@ in Bash, but you can use it to test any UNIX program.")
439function interface (FFI) directly in your shell. In other words, it allows 441function interface (FFI) directly in your shell. In other words, it allows
440you to call routines in shared libraries from within Bash.") 442you to call routines in shared libraries from within Bash.")
441 (license license:expat))) 443 (license license:expat)))
444
445(define-public blesh
446 (package
447 (name "blesh")
448 (version "0.4.0-devel2")
449 (source (origin
450 (method git-fetch)
451 (uri (git-reference
452 (url "https://github.com/akinomyoga/ble.sh")
453 (commit (string-append "v" version))))
454 (file-name (git-file-name name version))
455 (sha256
456 (base32
457 "02fdjyh4x6wr5hg3i86nsxhz8ysgjrvvxdmk6pqr0lm8ngw9p3sh"))))
458 (arguments
459 (list #:make-flags #~(list (string-append "PREFIX="
460 #$output))
461 #:phases #~(modify-phases %standard-phases
462 (add-after 'unpack 'pretend-contrib-.git-exists
463 (lambda _
464 (mkdir-p "contrib/.git")))
465 (add-after 'unpack 'make-readlink-work
466 (lambda _
467 (substitute* "ble.pp"
468 (("PATH=/bin:/usr/bin readlink")
469 (search-input-file %build-inputs
470 "/bin/readlink")))))
471 (delete 'configure) ;no configure
472 (add-before 'check 'use-LANG-for-tests
473 (lambda _
474 (setenv "LANG"
475 (getenv "LC_ALL"))
476 (unsetenv "LC_ALL"))))))
477 (build-system gnu-build-system)
478 (native-inputs (list less))
479 (home-page "https://github.com/akinomyoga/ble.sh")
480 (synopsis "Bash Line Editor")
481 (description
482 "Bash Line Editor (ble.sh) is a command line editor written in pure Bash
483which replaces the default GNU Readline. It adds syntax highlighting, auto
484suggestions, vim modes, and more to Bash interactive sessions.")
485 (license license:bsd-3)))
diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm
index 5c377a7d595..46278d326ca 100644
--- a/gnu/packages/bioconductor.scm
+++ b/gnu/packages/bioconductor.scm
@@ -4708,6 +4708,35 @@ and the assessment of differential expression. The analysis methods apply to
4708different technologies, including microarrays, RNA-seq, and quantitative PCR.") 4708different technologies, including microarrays, RNA-seq, and quantitative PCR.")
4709 (license license:gpl2+))) 4709 (license license:gpl2+)))
4710 4710
4711(define-public r-made4
4712 (package
4713 (name "r-made4")
4714 (version "1.70.0")
4715 (source (origin
4716 (method url-fetch)
4717 (uri (bioconductor-uri "made4" version))
4718 (sha256
4719 (base32
4720 "1wrv9d2mp799qzy1bsaj4w7wx12gdhfv9qvklz7z41vfz59d6bq5"))))
4721 (properties `((upstream-name . "made4")))
4722 (build-system r-build-system)
4723 (propagated-inputs
4724 (list r-ade4
4725 r-biobase
4726 r-gplots
4727 r-rcolorbrewer
4728 r-scatterplot3d
4729 r-summarizedexperiment))
4730 (native-inputs (list r-knitr))
4731 (home-page "http://www.hsph.harvard.edu/aedin-culhane/")
4732 (synopsis "Multivariate analysis of microarray data using ADE4")
4733 (description
4734 "This is a package for multivariate data analysis and graphical display
4735of microarray data. Functions are included for supervised dimension
4736reduction (between group analysis) and joint dimension reduction of two
4737datasets (coinertia analysis).")
4738 (license license:artistic2.0)))
4739
4711(define-public r-methylkit 4740(define-public r-methylkit
4712 (package 4741 (package
4713 (name "r-methylkit") 4742 (name "r-methylkit")
@@ -16759,6 +16788,25 @@ with a nested autoregressive correlated error structure for the effect of
16759interest on transformed methylation proportions.") 16788interest on transformed methylation proportions.")
16760 (license license:expat))) 16789 (license license:expat)))
16761 16790
16791(define-public r-omicade4
16792 (package
16793 (name "r-omicade4")
16794 (version "1.36.0")
16795 (source (origin
16796 (method url-fetch)
16797 (uri (bioconductor-uri "omicade4" version))
16798 (sha256
16799 (base32
16800 "1l7w3sczsimg640klq8navgdcwjj090wjqd40n4mw76pny2xj2lj"))))
16801 (properties `((upstream-name . "omicade4")))
16802 (build-system r-build-system)
16803 (propagated-inputs (list r-ade4 r-biobase r-made4))
16804 (home-page "https://bioconductor.org/packages/omicade4")
16805 (synopsis "Multiple co-inertia analysis of omics datasets")
16806 (description
16807 "This package performes multiple co-inertia analysis of omics datasets.")
16808 (license license:gpl2)))
16809
16762(define-public r-omnipathr 16810(define-public r-omnipathr
16763 (package 16811 (package
16764 (name "r-omnipathr") 16812 (name "r-omnipathr")
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index affd58a2531..f35412d4ec0 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -14984,7 +14984,7 @@ international community.")
14984(define-public kraken2 14984(define-public kraken2
14985 (package 14985 (package
14986 (name "kraken2") 14986 (name "kraken2")
14987 (version "2.1.1") 14987 (version "2.1.2")
14988 (source (origin 14988 (source (origin
14989 (method git-fetch) 14989 (method git-fetch)
14990 (uri (git-reference 14990 (uri (git-reference
@@ -14993,7 +14993,7 @@ international community.")
14993 (file-name (git-file-name name version)) 14993 (file-name (git-file-name name version))
14994 (sha256 14994 (sha256
14995 (base32 14995 (base32
14996 "0h7a7vygd7y5isbrnc6srwq6xj1rmyd33pm8mmcgfkmlxlg5vkg3")))) 14996 "1pl6ml1ldg2hnhy8ps56q0fl1wq3g91qkhinj6pb4yjjhv1rxsjf"))))
14997 (build-system gnu-build-system) 14997 (build-system gnu-build-system)
14998 (arguments 14998 (arguments
14999 `(#:tests? #false ; there are none 14999 `(#:tests? #false ; there are none
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 9d4cf63a673..3ee8fd9b01b 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -56,6 +56,7 @@
56 56
57(define-module (gnu packages check) 57(define-module (gnu packages check)
58 #:use-module (gnu packages) 58 #:use-module (gnu packages)
59 #:use-module (gnu packages admin)
59 #:use-module (gnu packages autotools) 60 #:use-module (gnu packages autotools)
60 #:use-module (gnu packages base) 61 #:use-module (gnu packages base)
61 #:use-module (gnu packages bash) 62 #:use-module (gnu packages bash)
@@ -2852,7 +2853,7 @@ provides a simple way to achieve this.")
2852(define-public umockdev 2853(define-public umockdev
2853 (package 2854 (package
2854 (name "umockdev") 2855 (name "umockdev")
2855 (version "0.14.4") 2856 (version "0.17.13")
2856 (source (origin 2857 (source (origin
2857 (method url-fetch) 2858 (method url-fetch)
2858 (uri (string-append "https://github.com/martinpitt/umockdev/" 2859 (uri (string-append "https://github.com/martinpitt/umockdev/"
@@ -2860,23 +2861,25 @@ provides a simple way to achieve this.")
2860 "umockdev-" version ".tar.xz")) 2861 "umockdev-" version ".tar.xz"))
2861 (sha256 2862 (sha256
2862 (base32 2863 (base32
2863 "0xmi24ckpps32k7hc139psgbsnsf4g106sv4l9m445m46amkxggd")))) 2864 "1kqkraag5v1jl5qfv0mb3ckm8yq2im21mng08sbs9dh9c9pbyvkc"))))
2864 (build-system gnu-build-system) 2865 (build-system meson-build-system)
2865 (arguments 2866 (arguments
2866 (list #:phases 2867 (list #:phases
2867 #~(modify-phases %standard-phases 2868 #~(modify-phases %standard-phases
2868 (add-after 'unpack 'fix-test 2869 (add-after 'unpack 'skip-test-umockdev.c
2870 ;; This test depends on /sys being available, among other
2871 ;; things.
2869 (lambda _ 2872 (lambda _
2870 (substitute* "tests/test-umockdev.c" 2873 (call-with-output-file "tests/test-umockdev.c"
2871 (("/run") "/tmp")))) 2874 (lambda (port)
2875 (format port "int main(void) { return 0; }")))))
2872 ;; Avoid having to set 'LD_LIBRARY_PATH' to use umockdev 2876 ;; Avoid having to set 'LD_LIBRARY_PATH' to use umockdev
2873 ;; via introspection. 2877 ;; via introspection.
2874 (add-after 'unpack 'absolute-introspection-library 2878 (add-after 'unpack 'absolute-introspection-library
2875 (lambda _ 2879 (lambda* (#:key outputs #:allow-other-keys)
2876 (substitute* "Makefile.in" 2880 (substitute* "meson.build"
2877 (("g-ir-compiler -l libumockdev") 2881 (("libumockdev.so.0" all)
2878 (string-append "g-ir-compiler -l " #$output 2882 (string-append #$output "/lib/" all)))))
2879 "/lib/libumockdev")))))
2880 (add-after 'install 'absolute-filenames 2883 (add-after 'install 'absolute-filenames
2881 (lambda* (#:key inputs #:allow-other-keys) 2884 (lambda* (#:key inputs #:allow-other-keys)
2882 ;; 'patch-shebangs' will take care of the shebang. 2885 ;; 'patch-shebangs' will take care of the shebang.
@@ -2885,17 +2888,19 @@ provides a simple way to achieve this.")
2885 (("libumockdev") 2888 (("libumockdev")
2886 (string-append #$output "/lib/libumockdev")))))))) 2889 (string-append #$output "/lib/libumockdev"))))))))
2887 (native-inputs 2890 (native-inputs
2888 (list vala 2891 (list gobject-introspection
2889 gobject-introspection
2890 gtk-doc/stable 2892 gtk-doc/stable
2891 pkg-config 2893 pkg-config
2892 ;; For tests.
2893 python 2894 python
2895 vala
2894 which)) 2896 which))
2895 (inputs 2897 (inputs
2896 (list bash-minimal ;for umockdev-wrapper 2898 (list bash-minimal ;for umockdev-wrapper
2897 coreutils-minimal ;for bin/env 2899 coreutils-minimal ;for bin/env
2898 glib eudev libgudev)) 2900 eudev
2901 glib
2902 libgudev
2903 libpcap))
2899 (home-page "https://github.com/martinpitt/umockdev/") 2904 (home-page "https://github.com/martinpitt/umockdev/")
2900 (synopsis "Mock hardware devices for creating unit tests") 2905 (synopsis "Mock hardware devices for creating unit tests")
2901 (description "umockdev mocks hardware devices for creating integration 2906 (description "umockdev mocks hardware devices for creating integration
diff --git a/gnu/packages/chromium.scm b/gnu/packages/chromium.scm
index 3699f989d8a..07fd2375d7d 100644
--- a/gnu/packages/chromium.scm
+++ b/gnu/packages/chromium.scm
@@ -317,7 +317,7 @@
317 ;; run the Blink performance tests, just remove everything to save ~70MiB. 317 ;; run the Blink performance tests, just remove everything to save ~70MiB.
318 '("third_party/blink/perf_tests")) 318 '("third_party/blink/perf_tests"))
319 319
320(define %chromium-version "105.0.5195.102") 320(define %chromium-version "105.0.5195.125")
321(define %ungoogled-revision (string-append %chromium-version "-1")) 321(define %ungoogled-revision (string-append %chromium-version "-1"))
322(define %debian-revision "debian/102.0.5005.61-1") 322(define %debian-revision "debian/102.0.5005.61-1")
323 323
@@ -329,7 +329,7 @@
329 (file-name (git-file-name "ungoogled-chromium" %ungoogled-revision)) 329 (file-name (git-file-name "ungoogled-chromium" %ungoogled-revision))
330 (sha256 330 (sha256
331 (base32 331 (base32
332 "17n06lqzbz19a3fdqbv5wj7s6v3rc0bfshdz8syw0k2gkw3x6ivc")))) 332 "0k16wma9lj9q34xgz377nasnfzcw7wi73l91r41yilvgb3l2fgw8"))))
333 333
334(define %debian-origin 334(define %debian-origin
335 (origin 335 (origin
@@ -506,7 +506,7 @@
506 %chromium-version ".tar.xz")) 506 %chromium-version ".tar.xz"))
507 (sha256 507 (sha256
508 (base32 508 (base32
509 "0qlj6s182d4nv0g76r0pcr1rvvh74pngcv79ml3cbqsir4khbfhw")) 509 "0rhay46fnfffqcpk6c856hj414508fmhda600lz5whcacr25q6r0"))
510 (modules '((guix build utils))) 510 (modules '((guix build utils)))
511 (snippet (force ungoogled-chromium-snippet)))) 511 (snippet (force ungoogled-chromium-snippet))))
512 (build-system gnu-build-system) 512 (build-system gnu-build-system)
diff --git a/gnu/packages/cmake.scm b/gnu/packages/cmake.scm
index d4851fa3f26..7f51c02b8a9 100644
--- a/gnu/packages/cmake.scm
+++ b/gnu/packages/cmake.scm
@@ -8,7 +8,7 @@
8;;; Copyright © 2017, 2018, 2020, 2021 Marius Bakke <marius@gnu.org> 8;;; Copyright © 2017, 2018, 2020, 2021 Marius Bakke <marius@gnu.org>
9;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net> 9;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
10;;; Copyright © 2018, 2020 Tobias Geerinckx-Rice <me@tobias.gr> 10;;; Copyright © 2018, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
11;;; Copyright © 2019, 2020, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com> 11;;; Copyright © 2019, 2020, 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
12;;; Copyright © 2019 Pierre-Moana Levesque <pierre.moana.levesque@gmail.com> 12;;; Copyright © 2019 Pierre-Moana Levesque <pierre.moana.levesque@gmail.com>
13;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org> 13;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
14;;; Copyright © 2021 Ricardo Wurmus <rekado@elephly.net> 14;;; Copyright © 2021 Ricardo Wurmus <rekado@elephly.net>
@@ -330,6 +330,24 @@ and workspaces that can be used in the compiler environment of your choice.")
330 (package 330 (package
331 (inherit cmake-minimal) 331 (inherit cmake-minimal)
332 (name "cmake") 332 (name "cmake")
333 (version "3.24.2")
334 (source (origin
335 (inherit (package-source cmake-minimal))
336 (method url-fetch)
337 (uri (string-append "https://cmake.org/files/v"
338 (version-major+minor version)
339 "/cmake-" version ".tar.gz"))
340 (snippet (match (origin-snippet (package-source cmake-minimal))
341 (('begin ('define 'preserved-files ('quote x))
342 rest ...)
343 `(begin (define preserved-files
344 ',(cons "Utilities/cmelf" x))
345 ,@rest))))
346 (sha256
347 (base32
348 "1ny8y2dzc6fww9gzb1ml0vjpx4kclphjihkxagxigprxdzq2140d"))
349 (patches (search-patches "cmake-curl-certificates-3.24.patch"))))
350 (outputs '("out" "doc"))
333 (arguments 351 (arguments
334 (substitute-keyword-arguments (package-arguments cmake-minimal) 352 (substitute-keyword-arguments (package-arguments cmake-minimal)
335 ;; Use cmake-minimal this time. 353 ;; Use cmake-minimal this time.
@@ -367,8 +385,8 @@ and workspaces that can be used in the compiler environment of your choice.")
367 ;; Extra inputs required to build the documentation. 385 ;; Extra inputs required to build the documentation.
368 (native-inputs 386 (native-inputs
369 (modify-inputs (package-native-inputs cmake-minimal) 387 (modify-inputs (package-native-inputs cmake-minimal)
370 (append python-sphinx texinfo))) 388 (append python-sphinx
371 (outputs '("out" "doc")) 389 texinfo)))
372 (properties (alist-delete 'hidden? (package-properties cmake-minimal))))) 390 (properties (alist-delete 'hidden? (package-properties cmake-minimal)))))
373 391
374(define-public cmake-minimal-cross 392(define-public cmake-minimal-cross
diff --git a/gnu/packages/containers.scm b/gnu/packages/containers.scm
index 2c7e7ae9c40..029f0d4ba49 100644
--- a/gnu/packages/containers.scm
+++ b/gnu/packages/containers.scm
@@ -2,6 +2,7 @@
2;;; Copyright © 2021 Timmy Douglas <mail@timmydouglas.com> 2;;; Copyright © 2021 Timmy Douglas <mail@timmydouglas.com>
3;;; Copyright © 2022 Tobias Geerinckx-Rice <me@tobias.gr> 3;;; Copyright © 2022 Tobias Geerinckx-Rice <me@tobias.gr>
4;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com> 4;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com>
5;;; Copyright © 2022 Michael Rohleder <mike@rohleder.de>
5;;; 6;;;
6;;; This file is part of GNU Guix. 7;;; This file is part of GNU Guix.
7;;; 8;;;
@@ -155,7 +156,7 @@ runtime (like runc or crun) for a single container.")
155(define-public libslirp 156(define-public libslirp
156 (package 157 (package
157 (name "libslirp") 158 (name "libslirp")
158 (version "4.6.1") 159 (version "4.7.0")
159 (source 160 (source
160 (origin 161 (origin
161 (method git-fetch) 162 (method git-fetch)
@@ -163,10 +164,11 @@ runtime (like runc or crun) for a single container.")
163 (url "https://gitlab.freedesktop.org/slirp/libslirp") 164 (url "https://gitlab.freedesktop.org/slirp/libslirp")
164 (commit (string-append "v" version)))) 165 (commit (string-append "v" version))))
165 (sha256 166 (sha256
166 (base32 "1b4cn51xvzbrxd63g6w1033prvbxfxsnsn1l0fa5i311xv28vkh0")) 167 (base32 "0dny8187a8qh6akaa37aa9b5pjxx88f02wh6achp4mygff0ipxba"))
167 (file-name (git-file-name name version)))) 168 (file-name (git-file-name name version))))
168 (build-system meson-build-system) 169 (build-system meson-build-system)
169 (inputs 170 (propagated-inputs
171 ;; In Requires of slirp.pc.
170 (list glib)) 172 (list glib))
171 (native-inputs 173 (native-inputs
172 (list pkg-config)) 174 (list pkg-config))
@@ -180,7 +182,7 @@ containers or various tools.")
180(define-public slirp4netns 182(define-public slirp4netns
181 (package 183 (package
182 (name "slirp4netns") 184 (name "slirp4netns")
183 (version "1.1.12") 185 (version "1.2.0")
184 (source 186 (source
185 (origin 187 (origin
186 (method git-fetch) 188 (method git-fetch)
@@ -188,7 +190,7 @@ containers or various tools.")
188 (url "https://github.com/rootless-containers/slirp4netns") 190 (url "https://github.com/rootless-containers/slirp4netns")
189 (commit (string-append "v" version)))) 191 (commit (string-append "v" version))))
190 (sha256 192 (sha256
191 (base32 "03llv4dlf7qqxwz4zdyk926g4bigfj2gb50glm70ciflpvzs8081")) 193 (base32 "1rlzwp5fx1x3q179j9s2jp02imjag5pgj333z110nrvi7azl22l8"))
192 (file-name (git-file-name name version)))) 194 (file-name (git-file-name name version))))
193 (build-system gnu-build-system) 195 (build-system gnu-build-system)
194 (arguments 196 (arguments
@@ -322,7 +324,11 @@ configure network interfaces in Linux containers.")
322 (("/usr/local/libexec/cni") 324 (("/usr/local/libexec/cni")
323 (string-append #$(this-package-input "cni-plugins") 325 (string-append #$(this-package-input "cni-plugins")
324 "/bin")) 326 "/bin"))
325 (("/usr/bin/crun") (which "crun")))))))) 327 (("/usr/bin/crun") (which "crun")))))
328 (add-after 'install 'install-completions
329 (lambda _
330 (invoke "make" "install.completions"
331 (string-append "PREFIX=" #$output)))))))
326 (inputs 332 (inputs
327 (list btrfs-progs 333 (list btrfs-progs
328 cni-plugins 334 cni-plugins
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 606cd792c1a..6289c9520ff 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -406,7 +406,7 @@ combination of these streams.")
406(define-public xsimd 406(define-public xsimd
407 (package 407 (package
408 (name "xsimd") 408 (name "xsimd")
409 (version "8.1.0") 409 (version "9.0.1")
410 (source 410 (source
411 (origin 411 (origin
412 (method git-fetch) 412 (method git-fetch)
@@ -414,7 +414,7 @@ combination of these streams.")
414 (url "https://github.com/QuantStack/xsimd") 414 (url "https://github.com/QuantStack/xsimd")
415 (commit version))) 415 (commit version)))
416 (sha256 416 (sha256
417 (base32 "16b9fdvhhsbs93llbzccgpxjdkj8kfvac3wx0b30i306k5f3maq2")) 417 (base32 "1fcy0djwpwvls6yqxqa82s4l4gvwkqkr8i8bibbb3dm0lqvhnw52"))
418 (file-name (git-file-name name version)))) 418 (file-name (git-file-name name version))))
419 (build-system cmake-build-system) 419 (build-system cmake-build-system)
420 (arguments 420 (arguments
@@ -422,7 +422,7 @@ combination of these streams.")
422 #:test-target "xtest")) 422 #:test-target "xtest"))
423 (native-inputs 423 (native-inputs
424 (list googletest)) 424 (list googletest))
425 (home-page "https://github.com/QuantStack/xsimd") 425 (home-page "https://github.com/xtensor-stack/xsimd")
426 (synopsis "C++ wrappers for SIMD intrinsics and math implementations") 426 (synopsis "C++ wrappers for SIMD intrinsics and math implementations")
427 (description 427 (description
428 "xsimd provides a unified means for using @acronym{SIMD, single instruction 428 "xsimd provides a unified means for using @acronym{SIMD, single instruction
@@ -456,12 +456,12 @@ operating on batches.")
456library for SIMD (Single Instruction, Multiple Data) with runtime dispatch.") 456library for SIMD (Single Instruction, Multiple Data) with runtime dispatch.")
457 (license license:asl2.0))) 457 (license license:asl2.0)))
458 458
459(define-public xsmimd-benchmark 459(define-public xsimd-benchmark
460 (package 460 (package
461 (inherit xsimd) 461 (inherit xsimd)
462 (name "xsimd-benchmark") 462 (name "xsimd-benchmark")
463 (arguments 463 (arguments
464 `(#:configure-flags (list "-DBUILD_BENCHMARK=ON") 464 `(#:configure-flags (list "-DBUILD_BENCHMARK=ON" "-DBUILD_EXAMPLES=ON")
465 #:tests? #f 465 #:tests? #f
466 #:phases (modify-phases %standard-phases 466 #:phases (modify-phases %standard-phases
467 (add-after 'unpack 'remove-march=native 467 (add-after 'unpack 'remove-march=native
@@ -470,9 +470,11 @@ library for SIMD (Single Instruction, Multiple Data) with runtime dispatch.")
470 (("-march=native") "")))) 470 (("-march=native") ""))))
471 (replace 'install 471 (replace 'install
472 (lambda* (#:key outputs #:allow-other-keys) 472 (lambda* (#:key outputs #:allow-other-keys)
473 ;; Install nothing but the executable. 473 ;; Install nothing but the executables.
474 (let ((out (assoc-ref outputs "out"))) 474 (let ((out (assoc-ref outputs "out")))
475 (install-file "benchmark/benchmark_xsimd" 475 (install-file "benchmark/benchmark_xsimd"
476 (string-append out "/bin"))
477 (install-file "examples/mandelbrot"
476 (string-append out "/bin")))))))) 478 (string-append out "/bin"))))))))
477 (synopsis "Benchmark of the xsimd library") 479 (synopsis "Benchmark of the xsimd library")
478 480
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 3002b201812..123c677938b 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -971,6 +971,28 @@ size and can be easily tested locally before being sent to a remote.")
971the system clipboards.") 971the system clipboards.")
972 (license license:gpl3))) 972 (license license:gpl3)))
973 973
974(define-public r-clvalid
975 (package
976 (name "r-clvalid")
977 (version "0.7")
978 (source (origin
979 (method url-fetch)
980 (uri (cran-uri "clValid" version))
981 (sha256
982 (base32
983 "18aiyjhnh5mfdxbzns4cy0r8bymfikhwkybpn4g04qhli5ls8z83"))))
984 (properties `((upstream-name . "clValid")))
985 (build-system r-build-system)
986 (propagated-inputs (list r-class r-cluster))
987 (home-page "https://cran.r-project.org/package=clValid")
988 (synopsis "Validation of clustering results")
989 (description
990 "Statistical and biological validation of clustering results. This
991package implements Dunn Index, Silhouette, Connectivity, Stability, BHI and
992BSI. Further information can be found in Brock, G et al. (2008) <doi:
99310.18637/jss.v025.i04>.")
994 (license license:lgpl3)))
995
974(define-public r-dlm 996(define-public r-dlm
975 (package 997 (package
976 (name "r-dlm") 998 (name "r-dlm")
@@ -6819,6 +6841,30 @@ Rscript front-end and facilitates turning an R script into an executable
6819script.") 6841script.")
6820 (license license:gpl3+))) 6842 (license license:gpl3+)))
6821 6843
6844(define-public r-aricode
6845 (package
6846 (name "r-aricode")
6847 (version "1.0.1")
6848 (source (origin
6849 (method url-fetch)
6850 (uri (cran-uri "aricode" version))
6851 (sha256
6852 (base32
6853 "0772l9gyrih48l1kymih0mb7szjqqnwcm4lzj0yzp4cs8l2mdf4f"))))
6854 (properties `((upstream-name . "aricode")))
6855 (build-system r-build-system)
6856 (propagated-inputs (list r-matrix r-rcpp))
6857 (home-page "https://github.com/jchiquet/aricode")
6858 (synopsis "Efficient computations of standard clustering comparison measures")
6859 (description
6860 "This package implements an efficient O(n) algorithm based on
6861bucket-sorting for fast computation of standard clustering comparison
6862measures. Available measures include @dfn{adjusted Rand index} (ARI),
6863@dfn{normalized information distance} (NID), @dfn{normalized mutual
6864information} (NMI), @dfn{adjusted mutual information} (AMI), @dfn{normalized
6865variation information} (NVI) and entropy.")
6866 (license license:gpl3+)))
6867
6822(define-public r-debugme 6868(define-public r-debugme
6823 (package 6869 (package
6824 (name "r-debugme") 6870 (name "r-debugme")
@@ -7974,6 +8020,29 @@ sample Robust Rank-Order Distributional Test.")
7974exponential, logarithm, square root, and related quantities.") 8020exponential, logarithm, square root, and related quantities.")
7975 (license license:gpl2+))) 8021 (license license:gpl2+)))
7976 8022
8023(define-public r-exposition
8024 (package
8025 (name "r-exposition")
8026 (version "2.8.23")
8027 (source (origin
8028 (method url-fetch)
8029 (uri (cran-uri "ExPosition" version))
8030 (sha256
8031 (base32
8032 "0x9400ggmgrnaish0cfgnyvw549g4ibfv9aj6vzq7j68n58vq405"))))
8033 (properties `((upstream-name . "ExPosition")))
8034 (build-system r-build-system)
8035 (propagated-inputs (list r-prettygraphs))
8036 (home-page "https://cran.r-project.org/package=ExPosition")
8037 (synopsis "Exploratory analysis with the singular value decomposition")
8038 (description
8039 "This package provides a variety of descriptive multivariate analyses
8040with the singular value decomposition, such as principal components analysis,
8041correspondence analysis, and multidimensional scaling. See An ExPosition of
8042the Singular Value Decomposition in R (Beaton et al 2014)
8043<doi:10.1016/j.csda.2013.11.006>.")
8044 (license license:gpl2)))
8045
7977(define-public r-complexplus 8046(define-public r-complexplus
7978 (package 8047 (package
7979 (name "r-complexplus") 8048 (name "r-complexplus")
@@ -9064,6 +9133,30 @@ and rows. The fst format allows for random access of stored data and
9064compression with the LZ4 and ZSTD compressors.") 9133compression with the LZ4 and ZSTD compressors.")
9065 (license license:agpl3))) 9134 (license license:agpl3)))
9066 9135
9136(define-public r-snftool
9137 (package
9138 (name "r-snftool")
9139 (version "2.3.1")
9140 (source (origin
9141 (method url-fetch)
9142 (uri (cran-uri "SNFtool" version))
9143 (sha256
9144 (base32
9145 "05hz230aq5wbzhknxzr4iqv3nqjhbpf66n6bp1rc5h2jgz2yfbwq"))))
9146 (properties `((upstream-name . "SNFtool")))
9147 (build-system r-build-system)
9148 (propagated-inputs (list r-alluvial r-exposition))
9149 (home-page "https://cran.r-project.org/package=SNFtool")
9150 (synopsis "Similarity network fusion")
9151 (description
9152 "Similarity Network Fusion takes multiple views of a network and fuses
9153them together to construct an overall status matrix. The input to our
9154algorithm can be feature vectors, pairwise distances, or pairwise
9155similarities. The learned status matrix can then be used for retrieval,
9156clustering, and classification.")
9157 ;; Any version of the GPL
9158 (license license:gpl3+)))
9159
9067(define-public r-snowfall 9160(define-public r-snowfall
9068 (package 9161 (package
9069 (name "r-snowfall") 9162 (name "r-snowfall")
@@ -10350,6 +10443,26 @@ from the @code{stats} package, as well as numerous other model classes from
10350other add-on packages.") 10443other add-on packages.")
10351 (license license:expat))) 10444 (license license:expat)))
10352 10445
10446(define-public r-prettygraphs
10447 (package
10448 (name "r-prettygraphs")
10449 (version "2.1.6")
10450 (source (origin
10451 (method url-fetch)
10452 (uri (cran-uri "prettyGraphs" version))
10453 (sha256
10454 (base32
10455 "0yjpwxdy9mkj2k33zvd5klyv4ava46i19yls87n0bvf79y90ikpy"))))
10456 (properties `((upstream-name . "prettyGraphs")))
10457 (build-system r-build-system)
10458 (home-page "https://cran.r-project.org/package=prettyGraphs")
10459 (synopsis "Publication-quality graphics")
10460 (description
10461 "This package provides simple and crisp publication-quality graphics for
10462the ExPosition family of packages. See An ExPosition of the Singular Value
10463Decomposition in R (Beaton et al 2014) <doi:10.1016/j.csda.2013.11.006>.")
10464 (license license:gpl2)))
10465
10353(define-public r-insight 10466(define-public r-insight
10354 (package 10467 (package
10355 (name "r-insight") 10468 (name "r-insight")
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index f0414602bc5..a8551c8f9fc 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -3582,3 +3582,9 @@ the platform-specific getters provided by winit, or another library.")
3582 (arguments 3582 (arguments
3583 `(#:cargo-development-inputs 3583 `(#:cargo-development-inputs
3584 (("rust-resize" ,rust-resize-0.3)))))) 3584 (("rust-resize" ,rust-resize-0.3))))))
3585
3586;;;
3587;;; Avoid adding new packages to the end of this file. To reduce the chances
3588;;; of a merge conflict, place them above by existing packages with similar
3589;;; functionality or similar names.
3590;;;
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 316e4275223..cfa5de9f2a2 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2232,3 +2232,9 @@ library.")
2232 (synopsis "Rust binding for webkit-gtk library") 2232 (synopsis "Rust binding for webkit-gtk library")
2233 (description "This crate provides Rust binding for webkit-gtk library.") 2233 (description "This crate provides Rust binding for webkit-gtk library.")
2234 (license license:expat))) 2234 (license license:expat)))
2235
2236;;;
2237;;; Avoid adding new packages to the end of this file. To reduce the chances
2238;;; of a merge conflict, place them above by existing packages with similar
2239;;; functionality or similar names.
2240;;;
diff --git a/gnu/packages/dezyne.scm b/gnu/packages/dezyne.scm
index 413da49ece0..3d89210956d 100644
--- a/gnu/packages/dezyne.scm
+++ b/gnu/packages/dezyne.scm
@@ -31,14 +31,14 @@
31(define-public dezyne 31(define-public dezyne
32 (package 32 (package
33 (name "dezyne") 33 (name "dezyne")
34 (version "2.16.0") 34 (version "2.16.1")
35 (source 35 (source
36 (origin 36 (origin
37 (method url-fetch) 37 (method url-fetch)
38 (uri (string-append "https://dezyne.org/download/dezyne/" 38 (uri (string-append "https://dezyne.org/download/dezyne/"
39 name "-" version ".tar.gz")) 39 name "-" version ".tar.gz"))
40 (sha256 40 (sha256
41 (base32 "1x14jpv89dmrldar9g8pighbm68pvm4fvxz81mhjkimgf7kb4hbd")))) 41 (base32 "093kcgvmr1zyrfi02y0vzbfl4llrvlvjxjp9iczpdv34lasqp621"))))
42 (inputs (list bash-minimal 42 (inputs (list bash-minimal
43 guile-3.0-latest 43 guile-3.0-latest
44 guile-json-4 44 guile-json-4
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 1a9c9462230..5aff012adb5 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -5045,18 +5045,20 @@ mode, which displays information about Elasticsearch clusters.")
5045 (license license:gpl3+))) 5045 (license license:gpl3+)))
5046 5046
5047(define-public emacs-expand-region 5047(define-public emacs-expand-region
5048 (package 5048 (let ((commit "c5c4362741deebb0985a8a29f9b8b0e25160764a")
5049 (revision "1"))
5050 (package
5049 (name "emacs-expand-region") 5051 (name "emacs-expand-region")
5050 (version "0.11.0") 5052 (version (git-version "0.11.0" revision commit))
5051 (source 5053 (source
5052 (origin 5054 (origin
5053 (method git-fetch) 5055 (method git-fetch)
5054 (uri (git-reference 5056 (uri (git-reference
5055 (url "https://github.com/magnars/expand-region.el") 5057 (url "https://github.com/magnars/expand-region.el")
5056 (commit version))) 5058 (commit commit)))
5057 (file-name (git-file-name name version)) 5059 (file-name (git-file-name name version))
5058 (sha256 5060 (sha256
5059 (base32 "0h40dhc3kn8fq86xnwi5lz7ql8my8737y7wkqr897p15y90swr35")))) 5061 (base32 "17h58v5mnggbrwrp61cwkqx8hzazkdqyz9p6s1hl9g2hys7zkb00"))))
5060 (build-system emacs-build-system) 5062 (build-system emacs-build-system)
5061 (home-page "https://github.com/magnars/expand-region.el") 5063 (home-page "https://github.com/magnars/expand-region.el")
5062 (synopsis "Increase selected region by semantic units") 5064 (synopsis "Increase selected region by semantic units")
@@ -5064,7 +5066,7 @@ mode, which displays information about Elasticsearch clusters.")
5064 "Expand region increases the selected region by semantic units. Just 5066 "Expand region increases the selected region by semantic units. Just
5065keep pressing the key until it selects what you want. There's also 5067keep pressing the key until it selects what you want. There's also
5066@code{er/contract-region} if you expand too far.") 5068@code{er/contract-region} if you expand too far.")
5067 (license license:gpl3+))) 5069 (license license:gpl3+))))
5068 5070
5069(define-public emacs-explain-pause-mode 5071(define-public emacs-explain-pause-mode
5070 (let ((commit "2356c8c3639cbeeb9751744dbe737267849b4b51") 5072 (let ((commit "2356c8c3639cbeeb9751744dbe737267849b4b51")
@@ -13326,7 +13328,6 @@ passive voice.")
13326 #:test-command '("make" "test-dirty") 13328 #:test-command '("make" "test-dirty")
13327 #:phases 13329 #:phases
13328 (modify-phases %standard-phases 13330 (modify-phases %standard-phases
13329 (delete 'build)
13330 (add-before 'check 'make 13331 (add-before 'check 'make
13331 (lambda _ 13332 (lambda _
13332 (invoke "make" (string-append "ORGVERSION=" ,version)))) 13333 (invoke "make" (string-append "ORGVERSION=" ,version))))
@@ -13399,23 +13400,24 @@ compatible with the Org stable version.")
13399 (license license:gpl3+))) 13400 (license license:gpl3+)))
13400 13401
13401(define-public emacs-org-contacts 13402(define-public emacs-org-contacts
13402 ;;; XXX: Upstream made no release yet. 13403 ;; XXX: Upstream does not tag version bumps. Commit below matches latest
13403 (let ((commit "3d2f39f62aefb0a32d10607703e8b1d4f43821fa") 13404 ;; version bump.
13404 (revision "0")) 13405 (let ((commit "217ba04c9d638067a6ccb0829cf1885f54c1d568"))
13405 (package 13406 (package
13406 (name "emacs-org-contacts") 13407 (name "emacs-org-contacts")
13407 (version (git-version "0" revision commit)) 13408 (version "1.1")
13408 (source 13409 (source
13409 (origin 13410 (origin
13410 (method git-fetch) 13411 (method git-fetch)
13411 (uri (git-reference 13412 (uri (git-reference
13412 (url "https://github.com/stardiviner/org-contacts.el") 13413 (url "https://repo.or.cz/org-contacts")
13413 (commit commit))) 13414 (commit commit)))
13414 (file-name (git-file-name name version)) 13415 (file-name (git-file-name name version))
13415 (sha256 13416 (sha256
13416 (base32 "0a654406w8zd1hbp8ckc975jhl9mi14xzqizzwiki625dymiw5g5")))) 13417 (base32 "0f0vjdvx0hffj2xvyrya8yfl77djmzmpxdxsx58ym4lmdvwyb6x3"))))
13417 (build-system emacs-build-system) 13418 (build-system emacs-build-system)
13418 (home-page "https://github.com/stardiviner/org-contacts.el") 13419 (propagated-inputs (list emacs-org))
13420 (home-page "https://repo.or.cz/org-contacts")
13419 (synopsis "Contacts management system for Org mode") 13421 (synopsis "Contacts management system for Org mode")
13420 (description "Manage your contacts from Org mode. You can auto 13422 (description "Manage your contacts from Org mode. You can auto
13421complete email addresses, export contacts to a vCard file, put birthdays 13423complete email addresses, export contacts to a vCard file, put birthdays
@@ -14159,6 +14161,34 @@ automatically using existing List-ID headers in your mu database. Just press
14159automatically discovered and presented in recency order.") 14161automatically discovered and presented in recency order.")
14160 (license license:gpl3+)))) 14162 (license license:gpl3+))))
14161 14163
14164(define-public emacs-mentor
14165 (package
14166 (name "emacs-mentor")
14167 (version "0.3.5")
14168 (source
14169 (origin
14170 (method url-fetch)
14171 (uri (string-append "https://elpa.nongnu.org/nongnu/mentor-"
14172 version ".tar"))
14173 (sha256
14174 (base32
14175 "01zrvfk2njzyzjzkvp5hv5cjl1k1qjrila1ab4bv26gf6bkq5xh3"))))
14176 (build-system emacs-build-system)
14177 (propagated-inputs
14178 (list emacs-async emacs-xml-rpc))
14179 (home-page "https://elpa.nongnu.org/nongnu/mentor.html")
14180 (synopsis "Emacs front-end for the rTorrent bittorrent client")
14181 (description
14182 "Mentor is a GNU Emacs frontend for the rTorrent bittorrent client.
14183
14184By default, it will start and run rTorrent from within Emacs but can also be
14185configured to use an external rTorrent instance over XML-RPC.
14186
14187This project aims to provide a feature complete and customizable interface,
14188that will feel familiar to Emacs users. Key bindings are chosen to be as
14189close to the vanilla rTorrent curses interface as possible.")
14190 (license license:gpl3+)))
14191
14162(define-public emacs-message-view-patch 14192(define-public emacs-message-view-patch
14163 (let ((commit "40bc2e554fc1d0b6f0c403192c0a3ceaa019a78d") 14193 (let ((commit "40bc2e554fc1d0b6f0c403192c0a3ceaa019a78d")
14164 (revision "2")) 14194 (revision "2"))
@@ -15814,8 +15844,8 @@ lines, and @code{gc} to comment out the target of a motion.")
15814;; Tests for emacs-ansi have a circular dependency with ert-runner, and 15844;; Tests for emacs-ansi have a circular dependency with ert-runner, and
15815;; therefore cannot be run 15845;; therefore cannot be run
15816(define-public emacs-ansi 15846(define-public emacs-ansi
15817 (let ((commit "a41d5cc719297515d85bb5256980cd1204a71b88") 15847 (let ((commit "2367fba7b3b2340364a30cd6de7f3eb6bb9898a3")
15818 (revision "1")) 15848 (revision "2"))
15819 (package 15849 (package
15820 (name "emacs-ansi") 15850 (name "emacs-ansi")
15821 (version (git-version "0.4.1" revision commit)) 15851 (version (git-version "0.4.1" revision commit))
@@ -15827,10 +15857,8 @@ lines, and @code{gc} to comment out the target of a motion.")
15827 (commit commit))) 15857 (commit commit)))
15828 (file-name (git-file-name name version)) 15858 (file-name (git-file-name name version))
15829 (sha256 15859 (sha256
15830 (base32 "051v8dmji90chwbsyqsqry7h35mksal2j6rgw1kpmjsni86d79y1")))) 15860 (base32 "1n7h6l4icm6lks3zpvd83j1fzrnspw19rmz7c96vy7pdh1y4v3p3"))))
15831 (build-system emacs-build-system) 15861 (build-system emacs-build-system)
15832 (propagated-inputs
15833 (list emacs-dash emacs-s))
15834 (home-page "https://github.com/rejeep/ansi.el") 15862 (home-page "https://github.com/rejeep/ansi.el")
15835 (synopsis "Convert strings to ANSI") 15863 (synopsis "Convert strings to ANSI")
15836 (description "@code{emacs-ansi} defines functions that turns simple 15864 (description "@code{emacs-ansi} defines functions that turns simple
@@ -16544,33 +16572,31 @@ which avoids some of the issues with using Emacs’s built-in Url library.")
16544 (license license:gpl3+))) 16572 (license license:gpl3+)))
16545 16573
16546(define-public emacs-ement 16574(define-public emacs-ement
16547 (let ((commit "02015eacf682b53baaddf26c8a4046e6ff84d4e8") 16575 (package
16548 (revision "3")) 16576 (name "emacs-ement")
16549 (package 16577 (version "0.1.3")
16550 (name "emacs-ement") 16578 (source
16551 (version (git-version "0.1-pre" revision commit)) 16579 (origin
16552 (source 16580 (method git-fetch)
16553 (origin 16581 (uri (git-reference
16554 (method git-fetch) 16582 (url "https://github.com/alphapapa/ement.el")
16555 (uri (git-reference 16583 (commit (string-append "v" version))))
16556 (url "https://github.com/alphapapa/ement.el") 16584 (file-name (git-file-name name version))
16557 (commit commit))) 16585 (sha256
16558 (file-name (git-file-name name version)) 16586 (base32 "075mwlc616rr86zgli36n6r8w09c5cvlk43by0f1xzla5rmiza8r"))))
16559 (sha256 16587 (build-system emacs-build-system)
16560 (base32 "0xnhhzl1si09l7lgh5smgpmxgbkzi8p68dykdgsawqa960w6n1ks")))) 16588 (arguments
16561 (build-system emacs-build-system) 16589 `(#:emacs ,emacs)) ;need libxml support
16562 (arguments 16590 (propagated-inputs
16563 `(#:emacs ,emacs)) ;need libxml support 16591 (list emacs-plz
16564 (propagated-inputs 16592 emacs-svg-lib
16565 (list emacs-plz 16593 emacs-taxy
16566 emacs-svg-lib 16594 emacs-taxy-magit-section
16567 emacs-taxy 16595 emacs-ts))
16568 emacs-taxy-magit-section 16596 (home-page "https://github.com/alphapapa/ement.el")
16569 emacs-ts)) 16597 (synopsis "Matrix client for Emacs")
16570 (home-page "https://github.com/alphapapa/ement.el") 16598 (description "Ement.el is a Matrix client for Emacs.")
16571 (synopsis "Matrix client for Emacs") 16599 (license license:gpl3+)))
16572 (description "Ement.el is a Matrix client for Emacs.")
16573 (license license:gpl3+))))
16574 16600
16575(define-public emacs-rpm-spec-mode 16601(define-public emacs-rpm-spec-mode
16576 (let ((commit "c1c38050c48ea330c7cea632b8785d66daeefb2b") 16602 (let ((commit "c1c38050c48ea330c7cea632b8785d66daeefb2b")
@@ -17634,7 +17660,7 @@ languages while remaining inside the primary Org buffer.")
17634(define-public eless 17660(define-public eless
17635 (package 17661 (package
17636 (name "eless") 17662 (name "eless")
17637 (version "0.6") 17663 (version "0.7")
17638 (source 17664 (source
17639 (origin 17665 (origin
17640 (method git-fetch) 17666 (method git-fetch)
@@ -17643,7 +17669,7 @@ languages while remaining inside the primary Org buffer.")
17643 (commit (string-append "v" version)))) 17669 (commit (string-append "v" version))))
17644 (file-name (git-file-name name version)) 17670 (file-name (git-file-name name version))
17645 (sha256 17671 (sha256
17646 (base32 "1xif339wsc79hsab3l1nnwvy20jg7s1r4akfj4qqi6qxizfhmb52")))) 17672 (base32 "01gpzg35v972ik4bimcyhqabjca6sjj41kw2i15xj1k33p4sjqpf"))))
17647 (build-system copy-build-system) 17673 (build-system copy-build-system)
17648 (inputs 17674 (inputs
17649 (list bash emacs)) 17675 (list bash emacs))
@@ -17925,7 +17951,9 @@ formatting rules for that language.")
17925 (file-name (git-file-name name version)) 17951 (file-name (git-file-name name version))
17926 (sha256 17952 (sha256
17927 (base32 17953 (base32
17928 "0r0lz2s6gvy04fwnafai668jsf4546h4k6zd6isx5wpk0n33pj5m")))) 17954 "0r0lz2s6gvy04fwnafai668jsf4546h4k6zd6isx5wpk0n33pj5m"))
17955 (patches
17956 (search-patches "emacs-kv-fix-tests.patch"))))
17929 (build-system emacs-build-system) 17957 (build-system emacs-build-system)
17930 (arguments 17958 (arguments
17931 `(#:tests? #t 17959 `(#:tests? #t
@@ -25153,7 +25181,7 @@ according to their use.")
25153(define-public emacs-detached 25181(define-public emacs-detached
25154 (package 25182 (package
25155 (name "emacs-detached") 25183 (name "emacs-detached")
25156 (version "0.7") 25184 (version "0.8.1")
25157 (source (origin 25185 (source (origin
25158 (method git-fetch) 25186 (method git-fetch)
25159 (uri (git-reference 25187 (uri (git-reference
@@ -25162,22 +25190,17 @@ according to their use.")
25162 (file-name (git-file-name name version)) 25190 (file-name (git-file-name name version))
25163 (sha256 25191 (sha256
25164 (base32 25192 (base32
25165 "160h60vrpxslw6y290ndc065cc75dab58aq7kjqash94vkifnii2")))) 25193 "190sil04wbnnml7i1nv19xn8fpqwng9xngpsxvmfxj3bzn7slid6"))))
25166 (arguments 25194 (arguments
25167 (list 25195 (list
25168 #:tests? #t 25196 #:tests? #t
25169 #:test-command #~(list "ert-runner") 25197 #:test-command #~(list "ert-runner")
25170 #:phases 25198 #:phases
25171 #~(modify-phases %standard-phases 25199 #~(modify-phases %standard-phases
25172 (add-before 'install 'install-detached-env
25173 (lambda _
25174 (install-file "detached-env" (string-append #$output "/bin"))))
25175 (add-after 'unpack 'configure 25200 (add-after 'unpack 'configure
25176 (lambda* (#:key inputs #:allow-other-keys) 25201 (lambda* (#:key inputs #:allow-other-keys)
25177 (make-file-writable "detached.el") 25202 (make-file-writable "detached.el")
25178 (emacs-substitute-variables "detached.el" 25203 (emacs-substitute-variables "detached.el"
25179 ("detached-env"
25180 (string-append #$output "/bin/detached-env"))
25181 ("detached-dtach-program" 25204 ("detached-dtach-program"
25182 (search-input-file inputs "/bin/dtach")) 25205 (search-input-file inputs "/bin/dtach"))
25183 ("detached-shell-program" 25206 ("detached-shell-program"
@@ -25676,7 +25699,7 @@ processes for Emacs.")
25676(define-public emacs-treemacs 25699(define-public emacs-treemacs
25677 (package 25700 (package
25678 (name "emacs-treemacs") 25701 (name "emacs-treemacs")
25679 (version "2.10") 25702 (version "3.0")
25680 (source 25703 (source
25681 (origin 25704 (origin
25682 (method git-fetch) 25705 (method git-fetch)
@@ -25685,7 +25708,7 @@ processes for Emacs.")
25685 (commit version))) 25708 (commit version)))
25686 (file-name (git-file-name name version)) 25709 (file-name (git-file-name name version))
25687 (sha256 25710 (sha256
25688 (base32 "0wf26wkba89rr7j9vsvkp0jfr49560nbvykaxm9hk7zvhkwlm1np")))) 25711 (base32 "0l6pbfrkl0v1iyc43vyhchbcfy7cjhinn8pw07aq4ssh6lxil7kp"))))
25689 (build-system emacs-build-system) 25712 (build-system emacs-build-system)
25690 (propagated-inputs 25713 (propagated-inputs
25691 (list emacs-ace-window 25714 (list emacs-ace-window
@@ -25700,46 +25723,57 @@ processes for Emacs.")
25700 (inputs 25723 (inputs
25701 (list python)) 25724 (list python))
25702 (arguments 25725 (arguments
25703 `(#:tests? #t 25726 (list
25704 #:test-command '("make" "-C" "../.." "test") 25727 #:tests? #t
25705 #:phases 25728 #:test-command #~(list "make" "-C" "../.." "test")
25706 (modify-phases %standard-phases 25729 #:phases
25707 (add-after 'unpack 'fix-makefile 25730 #~(modify-phases %standard-phases
25708 (lambda _ 25731 (add-after 'unpack 'fix-makefile
25709 (substitute* "Makefile" 25732 (lambda _
25710 (("@\\$\\(CASK\\) exec ") "") 25733 (substitute* "Makefile"
25711 ;; Guix does not need to prepare dependencies before testing. 25734 (("@\\$\\(CASK\\) exec ") "")
25712 (("test: prepare") "test:")))) 25735 ;; Guix does not need to prepare dependencies before testing.
25713 (add-after 'fix-makefile 'chdir-elisp 25736 (("test: prepare") "test:"))))
25714 ;; Elisp directory is not in root of the source. 25737 (add-after 'fix-makefile 'chdir-elisp
25715 (lambda _ 25738 ;; Elisp directory is not in root of the source.
25716 (chdir "src/elisp"))) 25739 (lambda _
25717 (add-before 'install 'patch-paths 25740 (chdir "src/elisp")))
25718 (lambda* (#:key inputs outputs #:allow-other-keys) 25741 (add-before 'check 'delete-failing-tests
25719 (with-directory-excursion "../.." ;treemacs root 25742 ;; FIXME: 4 tests out of 254 are failing.
25720 (chmod "src/elisp/treemacs-core-utils.el" #o644) 25743 (lambda _
25721 (emacs-substitute-variables "src/elisp/treemacs-core-utils.el" 25744 (emacs-batch-edit-file "../../test/treemacs-test.el"
25722 ("treemacs-dir" 25745 '(progn
25723 (string-append (assoc-ref outputs "out") "/"))) 25746 (goto-char (point-min))
25724 (chmod "src/elisp/treemacs-icons.el" #o644) 25747 (re-search-forward "describe \"treemacs--parent\"")
25725 (substitute* "src/elisp/treemacs-icons.el" 25748 (beginning-of-line)
25726 (("icons/default") "share/emacs-treemacs/images")) 25749 (kill-sexp)
25727 (chmod "src/elisp/treemacs-customization.el" #o644) 25750 (basic-save-buffer)))))
25728 (emacs-substitute-variables "src/elisp/treemacs-customization.el" 25751 (add-before 'install 'patch-paths
25729 ("treemacs-python-executable" 25752 (lambda* (#:key inputs #:allow-other-keys)
25730 (search-input-file inputs "/bin/python3"))) 25753 (make-file-writable "treemacs-core-utils.el")
25731 (chmod "src/elisp/treemacs-async.el" #o644) 25754 (emacs-substitute-variables "treemacs-core-utils.el"
25732 (substitute* "src/elisp/treemacs-async.el" 25755 ("treemacs-dir" (string-append #$output "/")))
25733 (("src/scripts") (string-append "share/" ,name "/scripts")))))) 25756 (make-file-writable "treemacs-icons.el")
25734 (add-after 'install 'install-data 25757 (substitute* "treemacs-icons.el"
25735 (lambda* (#:key outputs #:allow-other-keys) 25758 (("icons/default")
25736 (let ((out (assoc-ref outputs "out"))) 25759 (string-append (elpa-directory #$output) "/icons/default")))
25737 (with-directory-excursion "../.." ;treemacs root 25760 (make-file-writable "treemacs-customization.el")
25738 (copy-recursively "icons/default" 25761 (emacs-substitute-variables "treemacs-customization.el"
25739 (string-append out "/share/" ,name "/images")) 25762 ("treemacs-python-executable"
25740 (copy-recursively 25763 (search-input-file inputs "/bin/python3")))
25741 "src/scripts" 25764 (make-file-writable "treemacs-async.el")
25742 (string-append out "/share/" ,name "/scripts"))))))))) 25765 (substitute* "treemacs-async.el"
25766 (("src/scripts")
25767 (string-append (elpa-directory #$output) "/scripts")))))
25768 (add-after 'install 'install-data
25769 (lambda _
25770 (with-directory-excursion "../.." ;treemacs root
25771 (copy-recursively
25772 "icons/default"
25773 (string-append (elpa-directory #$output) "/icons/default"))
25774 (copy-recursively
25775 "src/scripts"
25776 (string-append (elpa-directory #$output) "/scripts"))))))))
25743 (home-page "https://github.com/Alexander-Miller/treemacs") 25777 (home-page "https://github.com/Alexander-Miller/treemacs")
25744 (synopsis "Emacs tree style file explorer") 25778 (synopsis "Emacs tree style file explorer")
25745 (description 25779 (description
@@ -25761,7 +25795,8 @@ utilities.")
25761 ("emacs-magit" ,emacs-magit) 25795 ("emacs-magit" ,emacs-magit)
25762 ("emacs-projectile" ,emacs-projectile) 25796 ("emacs-projectile" ,emacs-projectile)
25763 ("emacs-perspective" ,emacs-perspective) 25797 ("emacs-perspective" ,emacs-perspective)
25764 ("emacs-persp-mode" ,emacs-persp-mode))) 25798 ("emacs-persp-mode" ,emacs-persp-mode)
25799 ("mu" ,mu)))
25765 (arguments 25800 (arguments
25766 (substitute-keyword-arguments 25801 (substitute-keyword-arguments
25767 (package-arguments emacs-treemacs) 25802 (package-arguments emacs-treemacs)
@@ -25773,9 +25808,9 @@ utilities.")
25773 25808
25774(define-public emacs-libyaml 25809(define-public emacs-libyaml
25775 ;; Upstream made no release so far. 25810 ;; Upstream made no release so far.
25776 (let ((version "0") 25811 (let ((version "0.1")
25777 (revision "1") 25812 (revision "1")
25778 (commit "703e0d448c7ee24e25b513a3c65980c80e166805")) 25813 (commit "961e0d8b9ef47464c049e07be7fcefd3903f8cbc"))
25779 (package 25814 (package
25780 (name "emacs-libyaml") 25815 (name "emacs-libyaml")
25781 (version (git-version version revision commit)) 25816 (version (git-version version revision commit))
@@ -25787,34 +25822,33 @@ utilities.")
25787 (commit commit))) 25822 (commit commit)))
25788 (file-name (git-file-name name version)) 25823 (file-name (git-file-name name version))
25789 (sha256 25824 (sha256
25790 (base32 "08l7pm9v50ykd3fkbm0bh2kcd57cadbc5i9r6rj51vd32w3pl2yl")))) 25825 (base32 "1c85583r47yjbpzbjgjzrwzqdlmy229xx9az2r18smcyd9da92c3"))))
25791 (build-system emacs-build-system) 25826 (build-system emacs-build-system)
25792 (arguments 25827 (arguments
25793 `(#:tests? #f ;no test 25828 (list
25794 #:modules ((guix build emacs-build-system) 25829 #:tests? #f ;no test
25830 #:modules '((guix build emacs-build-system)
25795 (guix build emacs-utils) 25831 (guix build emacs-utils)
25796 (guix build utils)) 25832 (guix build utils))
25797 #:imported-modules (,@%emacs-build-system-modules 25833 #:imported-modules `(,@%emacs-build-system-modules
25798 (guix build gnu-build-system)) 25834 (guix build gnu-build-system))
25799 #:phases 25835 #:phases
25800 (modify-phases %standard-phases 25836 #~(modify-phases %standard-phases
25801 (add-after 'unpack 'substitute-libyaml-core-path 25837 (add-after 'unpack 'substitute-libyaml-core-path
25802 (lambda* (#:key outputs #:allow-other-keys) 25838 (lambda _
25803 (chmod "libyaml.el" #o644) 25839 (make-file-writable "libyaml.el")
25804 (substitute* "libyaml.el" 25840 (substitute* "libyaml.el"
25805 (("^\\(require 'libyaml-core\\)") 25841 (("^\\(require 'libyaml-core\\)")
25806 (string-append "(module-load \"" (assoc-ref outputs "out") 25842 (string-append "(module-load \"" #$output
25807 "/lib/libyaml-core.so\")"))) 25843 "/lib/libyaml-core.so\")")))))
25808 #t)) 25844 (add-after 'check 'make
25809 (add-after 'check 'make 25845 ;; Run make.
25810 ;; Run make. 25846 (lambda* (#:key (make-flags '()) #:allow-other-keys)
25811 (lambda* (#:key (make-flags '()) outputs #:allow-other-keys) 25847 ;; Compile the shared object file.
25812 ;; Compile the shared object file. 25848 (apply invoke "make" "all" "CPPFLAGS=" make-flags)
25813 (apply invoke "make" "all" "CPPFLAGS=" make-flags) 25849 ;; Move the file into /lib.
25814 ;; Move the file into /lib. 25850 (install-file "libyaml-core.so"
25815 (install-file "libyaml-core.so" 25851 (string-append #$output "/lib")))))))
25816 (string-append (assoc-ref outputs "out") "/lib"))
25817 #t)))))
25818 (native-inputs (list libyaml)) 25852 (native-inputs (list libyaml))
25819 (home-page "https://github.com/syohex/emacs-libyaml") 25853 (home-page "https://github.com/syohex/emacs-libyaml")
25820 (synopsis "Libyaml bindings for Emacs") 25854 (synopsis "Libyaml bindings for Emacs")
@@ -29722,6 +29756,30 @@ It also provides original Helm commands: @command{helm-cider-spec},
29722data format @code{edn}. See @url{https://github.com/edn-format/edn}.") 29756data format @code{edn}. See @url{https://github.com/edn-format/edn}.")
29723 (license license:gpl3+)))) 29757 (license license:gpl3+))))
29724 29758
29759(define-public emacs-ednc
29760 (let ((commit "940a4adbbeb3b6b1a72270a814d52770dd89a997")
29761 (revision "1"))
29762 (package
29763 (name "emacs-ednc")
29764 (version (git-version "0.1" revision commit))
29765 (source
29766 (origin
29767 (method git-fetch)
29768 (uri (git-reference
29769 (url "https://github.com/sinic/ednc")
29770 (commit commit)))
29771 (sha256
29772 (base32 "1gsx2qgv5xm9r0i0axd4hf31g2rq2m4a1hvnif48g4xb0llss73c"))))
29773 (build-system emacs-build-system)
29774 (home-page "https://github.com/sinic/ednc")
29775 (synopsis "Emacs Desktop Notification Center")
29776 (description
29777 "The Emacs Desktop Notification Center (EDNC) is an Emacs package written
29778in pure Lisp that implements a Desktop Notifications service according to the
29779freedesktop.org specification. EDNC aspires to be a small, but flexible
29780drop-in replacement of standalone daemons like Dunst.")
29781 (license license:gpl3+))))
29782
29725(define-public emacs-helm-clojuredocs 29783(define-public emacs-helm-clojuredocs
29726 (let ((commit "5a7f0f2cb401be0b09e73262a1c18265ab9a3cea")) 29784 (let ((commit "5a7f0f2cb401be0b09e73262a1c18265ab9a3cea"))
29727 (package 29785 (package
@@ -31704,7 +31762,7 @@ and preferred services can easily be configured.")
31704(define-public emacs-vertico 31762(define-public emacs-vertico
31705 (package 31763 (package
31706 (name "emacs-vertico") 31764 (name "emacs-vertico")
31707 (version "0.26") 31765 (version "0.27")
31708 (source 31766 (source
31709 (origin 31767 (origin
31710 (method git-fetch) 31768 (method git-fetch)
@@ -31713,7 +31771,7 @@ and preferred services can easily be configured.")
31713 (commit version))) 31771 (commit version)))
31714 (file-name (git-file-name name version)) 31772 (file-name (git-file-name name version))
31715 (sha256 31773 (sha256
31716 (base32 "16bv4pfc3k37dqyj1va3cb24db36pn8hsazk3ak4xhrgf2q5l548")))) 31774 (base32 "17ip4v0hkv9q2fsnpja24jnf5d5zn4g91553n2s0l5c6gwwpilkp"))))
31717 (build-system emacs-build-system) 31775 (build-system emacs-build-system)
31718 (arguments 31776 (arguments
31719 `(#:phases 31777 `(#:phases
@@ -31930,7 +31988,7 @@ for detecting and improve non-idiomatic Clojure source code.")
31930(define-public emacs-mint-mode 31988(define-public emacs-mint-mode
31931 (package 31989 (package
31932 (name "emacs-mint-mode") 31990 (name "emacs-mint-mode")
31933 (version "1.0.2") 31991 (version "1.0.3")
31934 (source 31992 (source
31935 (origin 31993 (origin
31936 (method git-fetch) 31994 (method git-fetch)
@@ -31939,7 +31997,7 @@ for detecting and improve non-idiomatic Clojure source code.")
31939 (commit (string-append "v" version)))) 31997 (commit (string-append "v" version))))
31940 (file-name (git-file-name name version)) 31998 (file-name (git-file-name name version))
31941 (sha256 31999 (sha256
31942 (base32 "1v8mp1k24lzvc0mh9l4k3fwzr4sr87f5p9ahpy7263pcbvcy11vl")))) 32000 (base32 "19szk2dhsa0771kbg1ywp0zz8j6akysvwmmrx2bihq8h5j4y23pg"))))
31943 (build-system emacs-build-system) 32001 (build-system emacs-build-system)
31944 (arguments '(#:include '("\\.el$" "\\.txt$"))) 32002 (arguments '(#:include '("\\.el$" "\\.txt$")))
31945 (home-page "https://github.com/creatorrr/emacs-mint-mode") 32003 (home-page "https://github.com/creatorrr/emacs-mint-mode")
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 995fbd8dd3a..881109bb770 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -45,6 +45,7 @@
45 #:use-module (guix gexp) 45 #:use-module (guix gexp)
46 #:use-module (guix download) 46 #:use-module (guix download)
47 #:use-module (guix git-download) 47 #:use-module (guix git-download)
48 #:use-module (guix build-system)
48 #:use-module (guix build-system gnu) 49 #:use-module (guix build-system gnu)
49 #:use-module (guix build-system glib-or-gtk) 50 #:use-module (guix build-system glib-or-gtk)
50 #:use-module (gnu packages) 51 #:use-module (gnu packages)
@@ -55,6 +56,7 @@
55 #:use-module (gnu packages fontutils) 56 #:use-module (gnu packages fontutils)
56 #:use-module (gnu packages freedesktop) 57 #:use-module (gnu packages freedesktop)
57 #:use-module (gnu packages fribidi) 58 #:use-module (gnu packages fribidi)
59 #:use-module (gnu packages gcc)
58 #:use-module (gnu packages gd) 60 #:use-module (gnu packages gd)
59 #:use-module (gnu packages gettext) 61 #:use-module (gnu packages gettext)
60 #:use-module (gnu packages ghostscript) 62 #:use-module (gnu packages ghostscript)
@@ -81,6 +83,13 @@
81 #:use-module (ice-9 match) 83 #:use-module (ice-9 match)
82 #:use-module (srfi srfi-1)) 84 #:use-module (srfi srfi-1))
83 85
86(define (%emacs-modules build-system)
87 (let ((which (build-system-name build-system)))
88 `((guix build ,(symbol-append which '-build-system))
89 (guix build utils)
90 (srfi srfi-1)
91 (ice-9 ftw))))
92
84(define-public emacs 93(define-public emacs
85 (package 94 (package
86 (name "emacs") 95 (name "emacs")
@@ -129,11 +138,33 @@
129 (arguments 138 (arguments
130 (list 139 (list
131 #:tests? #f ; no check target 140 #:tests? #f ; no check target
141 #:modules (%emacs-modules build-system)
132 #:configure-flags #~(list "--with-modules" 142 #:configure-flags #~(list "--with-modules"
133 "--with-cairo" 143 "--with-cairo"
144 "--with-native-compilation"
134 "--disable-build-details") 145 "--disable-build-details")
146 #:make-flags #~(list "NATIVE_FULL_AOT=1")
135 #:phases 147 #:phases
136 #~(modify-phases %standard-phases 148 #~(modify-phases %standard-phases
149 (add-after 'set-paths 'set-libgccjit-path
150 (lambda* (#:key inputs #:allow-other-keys)
151 (define (first-subdirectory/absolute directory)
152 (let ((files (scandir
153 directory
154 (lambda (file)
155 (and (not (member file '("." "..")))
156 (file-is-directory? (string-append
157 directory "/"
158 file)))))))
159 (and (not (null? files))
160 (string-append directory "/" (car files)))))
161 (let* ((libgccjit-libdir
162 (first-subdirectory/absolute ;; version
163 (first-subdirectory/absolute ;; host type
164 (search-input-directory inputs "lib/gcc")))))
165 (setenv "LIBRARY_PATH"
166 (string-append (getenv "LIBRARY_PATH")
167 ":" libgccjit-libdir)))))
137 (add-after 'unpack 'enable-elogind 168 (add-after 'unpack 'enable-elogind
138 (lambda _ 169 (lambda _
139 (substitute* "configure.ac" 170 (substitute* "configure.ac"
@@ -164,6 +195,20 @@
164 (("\\(tramp-compat-process-running-p \"(.*)\"\\)" all process) 195 (("\\(tramp-compat-process-running-p \"(.*)\"\\)" all process)
165 (format #f "(or ~a (tramp-compat-process-running-p ~s))" 196 (format #f "(or ~a (tramp-compat-process-running-p ~s))"
166 all (string-append "." process "-real")))))) 197 all (string-append "." process "-real"))))))
198 (add-after 'unpack 'patch-compilation-driver
199 (lambda _
200 (substitute* "lisp/emacs-lisp/comp.el"
201 (("\\(defcustom native-comp-driver-options nil")
202 (format
203 #f "(defcustom native-comp-driver-options '(~@{~s~^ ~})"
204 (string-append
205 "-B" #$(this-package-input "binutils") "/bin/")
206 (string-append
207 "-B" #$(this-package-input "glibc") "/lib/")
208 (string-append
209 "-B" #$(this-package-input "libgccjit") "/lib/")
210 (string-append
211 "-B" #$(this-package-input "libgccjit") "/lib/gcc/"))))))
167 (add-before 'configure 'fix-/bin/pwd 212 (add-before 'configure 'fix-/bin/pwd
168 (lambda _ 213 (lambda _
169 ;; Use `pwd', not `/bin/pwd'. 214 ;; Use `pwd', not `/bin/pwd'.
@@ -256,6 +301,14 @@
256 (list gnutls 301 (list gnutls
257 ncurses 302 ncurses
258 303
304 ;; To "unshadow" ld-wrapper in native builds
305 (make-ld-wrapper "ld-wrapper" #:binutils binutils)
306
307 ;; For native compilation
308 binutils
309 glibc
310 libgccjit
311
259 ;; Required for "core" functionality, such as dired and compression. 312 ;; Required for "core" functionality, such as dired and compression.
260 coreutils 313 coreutils
261 gzip 314 gzip
@@ -308,6 +361,9 @@
308 (variable "EMACSLOADPATH") 361 (variable "EMACSLOADPATH")
309 (files '("share/emacs/site-lisp"))) 362 (files '("share/emacs/site-lisp")))
310 (search-path-specification 363 (search-path-specification
364 (variable "EMACSNATIVELOADPATH")
365 (files '("lib/emacs/native-site-lisp")))
366 (search-path-specification
311 (variable "INFOPATH") 367 (variable "INFOPATH")
312 (files '("share/info"))))) 368 (files '("share/info")))))
313 369
@@ -378,11 +434,14 @@ GTK and also enables xwidgets.")))
378 (substitute-keyword-arguments (package-arguments emacs) 434 (substitute-keyword-arguments (package-arguments emacs)
379 ((#:configure-flags flags #~'()) 435 ((#:configure-flags flags #~'())
380 #~(list "--with-gnutls=no" "--disable-build-details")) 436 #~(list "--with-gnutls=no" "--disable-build-details"))
437 ((#:modules _) (%emacs-modules build-system))
381 ((#:phases phases) 438 ((#:phases phases)
382 #~(modify-phases #$phases 439 #~(modify-phases #$phases
383 (delete 'restore-emacs-pdmp) 440 (delete 'restore-emacs-pdmp)
384 (delete 'strip-double-wrap))))) 441 (delete 'strip-double-wrap)))))
385 (inputs (list ncurses coreutils gzip)) 442 (inputs (list ncurses coreutils gzip
443 (make-ld-wrapper "ld-wrapper" #:binutils binutils)
444 binutils glibc libgccjit zlib))
386 (native-inputs (list autoconf pkg-config)))) 445 (native-inputs (list autoconf pkg-config))))
387 446
388(define-public emacs-xwidgets 447(define-public emacs-xwidgets
@@ -395,6 +454,7 @@ editor (with xwidgets support)")
395 (substitute-keyword-arguments (package-arguments emacs) 454 (substitute-keyword-arguments (package-arguments emacs)
396 ((#:configure-flags flags #~'()) 455 ((#:configure-flags flags #~'())
397 #~(cons "--with-xwidgets" #$flags)) 456 #~(cons "--with-xwidgets" #$flags))
457 ((#:modules _) (%emacs-modules build-system))
398 ((#:phases phases) 458 ((#:phases phases)
399 #~(modify-phases #$phases 459 #~(modify-phases #$phases
400 (delete 'restore-emacs-pdmp) 460 (delete 'restore-emacs-pdmp)
@@ -419,6 +479,7 @@ editor (console only)")
419 (substitute-keyword-arguments (package-arguments emacs) 479 (substitute-keyword-arguments (package-arguments emacs)
420 ((#:configure-flags flags #~'()) 480 ((#:configure-flags flags #~'())
421 #~(delete "--with-cairo" #$flags)) 481 #~(delete "--with-cairo" #$flags))
482 ((#:modules _) (%emacs-modules build-system))
422 ((#:phases phases) 483 ((#:phases phases)
423 #~(modify-phases #$phases 484 #~(modify-phases #$phases
424 (delete 'restore-emacs-pdmp) 485 (delete 'restore-emacs-pdmp)
@@ -437,6 +498,7 @@ editor (without an X toolkit)" )
437 (substitute-keyword-arguments (package-arguments emacs) 498 (substitute-keyword-arguments (package-arguments emacs)
438 ((#:configure-flags flags #~'()) 499 ((#:configure-flags flags #~'())
439 #~(cons "--with-x-toolkit=no" #$flags)) 500 #~(cons "--with-x-toolkit=no" #$flags))
501 ((#:modules _) (%emacs-modules build-system))
440 ((#:phases phases) 502 ((#:phases phases)
441 #~(modify-phases #$phases 503 #~(modify-phases #$phases
442 (delete 'restore-emacs-pdmp) 504 (delete 'restore-emacs-pdmp)
diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm
index 951bbc8db48..0458ed5f13f 100644
--- a/gnu/packages/embedded.scm
+++ b/gnu/packages/embedded.scm
@@ -5,7 +5,7 @@
5;;; Copyright © 2017, 2020 Efraim Flashner <efraim@flashner.co.il> 5;;; Copyright © 2017, 2020 Efraim Flashner <efraim@flashner.co.il>
6;;; Copyright © 2018, 2020 Tobias Geerinckx-Rice <me@tobias.gr> 6;;; Copyright © 2018, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
7;;; Copyright © 2018, 2019, 2021 Clément Lassieur <clement@lassieur.org> 7;;; Copyright © 2018, 2019, 2021 Clément Lassieur <clement@lassieur.org>
8;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com> 8;;; Copyright © 2020, 2022 Marius Bakke <marius@gnu.org>
9;;; Copyright © 2020 Björn Höfling <bjoern.hoefling@bjoernhoefling.de> 9;;; Copyright © 2020 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
10;;; Copyright © 2021 Julien Lepiller <julien@lepiller.eu> 10;;; Copyright © 2021 Julien Lepiller <julien@lepiller.eu>
11;;; Copyright © 2020, 2021, 2022 Simon South <simon@simonsouth.net> 11;;; Copyright © 2020, 2021, 2022 Simon South <simon@simonsouth.net>
@@ -1330,7 +1330,14 @@ these identified regions.
1330 (file-name (git-file-name name version)) 1330 (file-name (git-file-name name version))
1331 (sha256 1331 (sha256
1332 (base32 1332 (base32
1333 "1d10qxyghz66zp7iqpm8q8rfv9jz9n609gxmfcav1lssmf1dlyk3")))) 1333 "1d10qxyghz66zp7iqpm8q8rfv9jz9n609gxmfcav1lssmf1dlyk3"))
1334 (modules '((guix build utils)))
1335 (snippet
1336 ;; Make tests compatible with PyYAML 6 and later.
1337 '(substitute* '("tests/test_program.py"
1338 "tests/test_fuzzing.py")
1339 (("yaml\\.load\\(test_file\\.read\\(\\)\\)")
1340 "yaml.load(test_file.read(), Loader=yaml.SafeLoader)")))))
1334 (build-system python-build-system) 1341 (build-system python-build-system)
1335 (propagated-inputs 1342 (propagated-inputs
1336 (list python-pyserial python-pyusb python-tqdm)) 1343 (list python-pyserial python-pyusb python-tqdm))
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index a8b9f1e786b..673ea8023b2 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -2952,7 +2952,15 @@ dynamic calibration of the milling depth.")
2952 (("message\\(STATUS \"Using in-tree mimalloc\"\\)") 2952 (("message\\(STATUS \"Using in-tree mimalloc\"\\)")
2953 "message(STATUS \"Using guix packaged mimalloc\")") 2953 "message(STATUS \"Using guix packaged mimalloc\")")
2954 (("add_subdirectory\\(extlib/mimalloc EXCLUDE_FROM_ALL\\)") 2954 (("add_subdirectory\\(extlib/mimalloc EXCLUDE_FROM_ALL\\)")
2955 "find_package(mimalloc REQUIRED)"))))))) 2955 "find_package(mimalloc REQUIRED)"))))
2956 (add-after 'install 'wrap-program
2957 (lambda* (#:key inputs outputs #:allow-other-keys)
2958 (wrap-program (string-append (assoc-ref outputs "out")
2959 "/bin/solvespace")
2960 ;; For GtkFileChooserDialog.
2961 `("GSETTINGS_SCHEMA_DIR" =
2962 (,(string-append (assoc-ref inputs "gtk+")
2963 "/share/glib-2.0/schemas")))))))))
2956 (inputs (list cairo 2964 (inputs (list cairo
2957 eigen 2965 eigen
2958 freetype 2966 freetype
diff --git a/gnu/packages/enlightenment.scm b/gnu/packages/enlightenment.scm
index eae3f76301d..4e3b0e05db8 100644
--- a/gnu/packages/enlightenment.scm
+++ b/gnu/packages/enlightenment.scm
@@ -385,7 +385,7 @@ embedded systems.")
385(define-public python-efl 385(define-public python-efl
386 (package 386 (package
387 (name "python-efl") 387 (name "python-efl")
388 (version "1.25.0") 388 (version "1.26.0")
389 (source 389 (source
390 (origin 390 (origin
391 (method url-fetch) 391 (method url-fetch)
@@ -393,7 +393,7 @@ embedded systems.")
393 "python/python-efl-" version ".tar.xz")) 393 "python/python-efl-" version ".tar.xz"))
394 (sha256 394 (sha256
395 (base32 395 (base32
396 "0bk161xwlz4dlv56r68xwkm8snzfifaxd1j7w2wcyyk4fgvnvq4r")) 396 "0dj6f24n33hkpy0bkdclnzpxhvs8vpaxqaf7hkw0di19pjwrq25h"))
397 (modules '((guix build utils))) 397 (modules '((guix build utils)))
398 ;; Remove files generated by Cython 398 ;; Remove files generated by Cython
399 (snippet 399 (snippet
@@ -404,8 +404,7 @@ embedded systems.")
404 (when (file-exists? generated-file) 404 (when (file-exists? generated-file)
405 (delete-file generated-file)))) 405 (delete-file generated-file))))
406 (find-files "efl" "\\.pyx$")) 406 (find-files "efl" "\\.pyx$"))
407 (delete-file "efl/eo/efl.eo_api.h") 407 (delete-file "efl/eo/efl.eo_api.h")))))
408 #t))))
409 (build-system python-build-system) 408 (build-system python-build-system)
410 (arguments 409 (arguments
411 '(#:phases 410 '(#:phases
@@ -418,20 +417,18 @@ embedded systems.")
418 (lambda _ 417 (lambda _
419 (setenv "CFLAGS" 418 (setenv "CFLAGS"
420 (string-append "-I" (assoc-ref %build-inputs "python-dbus") 419 (string-append "-I" (assoc-ref %build-inputs "python-dbus")
421 "/include/dbus-1.0")) 420 "/include/dbus-1.0"))))
422 #t))
423 (add-before 'check 'set-environment 421 (add-before 'check 'set-environment
424 (lambda _ 422 (lambda _
425 ;; Some tests require write access to HOME. 423 ;; Some tests require write access to HOME.
426 (setenv "HOME" "/tmp") 424 (setenv "HOME" "/tmp")
427 ;; These tests try to connect to the internet. 425 ;; These tests try to connect to the internet.
428 (delete-file "tests/ecore/test_09_file_download.py") 426 (delete-file "tests/ecore/test_09_file_download.py")
429 (delete-file "tests/ecore/test_11_con.py") 427 (delete-file "tests/ecore/test_11_con.py"))))))
430 #t)))))
431 (native-inputs 428 (native-inputs
432 (list pkg-config python-cython)) 429 (list pkg-config python-cython))
433 (inputs 430 (inputs
434 (list efl python-dbus)) 431 (list efl python-dbus python-packaging))
435 (home-page "https://www.enlightenment.org/") 432 (home-page "https://www.enlightenment.org/")
436 (synopsis "Python bindings for EFL") 433 (synopsis "Python bindings for EFL")
437 (description 434 (description
diff --git a/gnu/packages/esolangs.scm b/gnu/packages/esolangs.scm
index 81906dac15c..0651dda1b02 100644
--- a/gnu/packages/esolangs.scm
+++ b/gnu/packages/esolangs.scm
@@ -3,6 +3,7 @@
3;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr> 3;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr>
4;;; Copyright © 2020 Hendursaga <hendursaga@yahoo.com> 4;;; Copyright © 2020 Hendursaga <hendursaga@yahoo.com>
5;;; Copyright © 2020 Liliana Marie Prikler <liliana.prikler@gmail.com> 5;;; Copyright © 2020 Liliana Marie Prikler <liliana.prikler@gmail.com>
6;;; Copyright © 2022 jgart <jgart@dismail.de>
6;;; 7;;;
7;;; This file is part of GNU Guix. 8;;; This file is part of GNU Guix.
8;;; 9;;;
@@ -29,6 +30,7 @@
29 #:use-module (guix build-system cmake) 30 #:use-module (guix build-system cmake)
30 #:use-module (guix build-system copy) 31 #:use-module (guix build-system copy)
31 #:use-module (guix build-system gnu) 32 #:use-module (guix build-system gnu)
33 #:use-module (guix build-system python)
32 #:use-module (guix download) 34 #:use-module (guix download)
33 #:use-module (guix git-download) 35 #:use-module (guix git-download)
34 #:use-module ((guix licenses) #:prefix license:) 36 #:use-module ((guix licenses) #:prefix license:)
@@ -99,6 +101,24 @@ whenever possible to the extent that the above points are not compromized.
99 (home-page "http://lolcode.org/") 101 (home-page "http://lolcode.org/")
100 (license license:gpl3+)))) 102 (license license:gpl3+))))
101 103
104(define-public folders
105 (package
106 (name "folders")
107 (version "0.0.8")
108 (source
109 (origin
110 (method url-fetch)
111 (uri (pypi-uri "Folders" version))
112 (sha256
113 (base32 "0qh80qx7sjx0zii1hf8fm853d9rcg4rginm6v4gpp0hgn2a4q4gh"))))
114 (build-system python-build-system)
115 (home-page "https://github.com/SinaKhalili/Folders.py")
116 (synopsis "Structural programming language")
117 (description "Folders is a programming language, in which programs
118are encoded as (nested) directories. Note that the switches you pass to
119@command{du} may affect your score when code golfing.")
120 (license license:expat)))
121
102(define-public shakespeare-spl 122(define-public shakespeare-spl
103 (package 123 (package
104 (name "shakespeare-spl") 124 (name "shakespeare-spl")
diff --git a/gnu/packages/fcitx.scm b/gnu/packages/fcitx.scm
index 53680058c0b..5741b8d622d 100644
--- a/gnu/packages/fcitx.scm
+++ b/gnu/packages/fcitx.scm
@@ -2,6 +2,7 @@
2;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com> 2;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
3;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr> 3;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
4;;; Copyright © 2020 Zhu Zihao <all_but_last@163.com> 4;;; Copyright © 2020 Zhu Zihao <all_but_last@163.com>
5;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
5;;; 6;;;
6;;; This file is part of GNU Guix. 7;;; This file is part of GNU Guix.
7;;; 8;;;
@@ -22,6 +23,7 @@
22 #:use-module ((guix licenses) #:select (gpl2+ bsd-3)) 23 #:use-module ((guix licenses) #:select (gpl2+ bsd-3))
23 #:use-module (guix packages) 24 #:use-module (guix packages)
24 #:use-module (guix download) 25 #:use-module (guix download)
26 #:use-module (guix gexp)
25 #:use-module (guix git-download) 27 #:use-module (guix git-download)
26 #:use-module (guix build-system cmake) 28 #:use-module (guix build-system cmake)
27 #:use-module (guix build-system glib-or-gtk) 29 #:use-module (guix build-system glib-or-gtk)
@@ -150,55 +152,55 @@ by the different predictive algorithms.")
150(define-public fcitx 152(define-public fcitx
151 (package 153 (package
152 (name "fcitx") 154 (name "fcitx")
153 (version "4.2.9.8") 155 (version "4.2.9.9")
154 (source (origin 156 (source (origin
155 (method url-fetch) 157 (method url-fetch)
156 (uri (string-append "http://download.fcitx-im.org/fcitx/" 158 (uri (string-append "https://download.fcitx-im.org/fcitx/"
157 "fcitx-" version "_dict.tar.xz")) 159 "fcitx-" version "_dict.tar.xz"))
158 (sha256 160 (sha256
159 (base32 161 (base32
160 "1iik80l7g8yk9iwsls6nl9whwgm0sj8i7s6s0bz4c5anl35iaddw")))) 162 "0x5980l7ry34scvfdwc330d9nxv3id9jj9wcl7bvqjkp32gz3aj5"))))
161 (build-system cmake-build-system) 163 (build-system cmake-build-system)
162 (outputs '("out" "gtk2" "gtk3")) 164 (outputs '("out" "gtk2" "gtk3"))
163 (arguments 165 (arguments
164 `(#:configure-flags 166 (list
165 (list "-DENABLE_TEST=ON" 167 #:configure-flags
166 (string-append "-DXKB_RULES_XML_FILE=" 168 #~(list "-DENABLE_TEST=ON"
167 (assoc-ref %build-inputs "xkeyboard-config") 169 (string-append "-DXKB_RULES_XML_FILE="
168 "/share/X11/xkb/rules/evdev.xml") 170 (search-input-file
169 "-DENABLE_GTK2_IM_MODULE=ON" 171 %build-inputs "share/X11/xkb/rules/evdev.xml"))
170 "-DENABLE_GTK3_IM_MODULE=ON" 172 "-DENABLE_GTK2_IM_MODULE=ON"
171 (string-append "-DGTK2_IM_MODULEDIR=" 173 "-DENABLE_GTK3_IM_MODULE=ON"
172 (assoc-ref %outputs "gtk2") 174 (string-append "-DGTK2_IM_MODULEDIR="
173 "/lib/gtk-2.0/2.10.0/immodules") 175 #$output:gtk2
174 (string-append "-DGTK3_IM_MODULEDIR=" 176 "/lib/gtk-2.0/2.10.0/immodules")
175 (assoc-ref %outputs "gtk3") 177 (string-append "-DGTK3_IM_MODULEDIR="
176 "/lib/gtk-3.0/3.0.0/immodules") 178 #$output:gtk3
177 ;; XXX: Enable GObject Introspection and Qt4 support. 179 "/lib/gtk-3.0/3.0.0/immodules")
178 "-DENABLE_GIR=OFF" 180 ;; XXX: Enable GObject Introspection and Qt4 support.
179 "-DENABLE_QT=OFF" 181 "-DENABLE_GIR=OFF"
180 "-DENABLE_QT_IM_MODULE=OFF"))) 182 "-DENABLE_QT=OFF"
183 "-DENABLE_QT_IM_MODULE=OFF")))
181 (native-inputs 184 (native-inputs
182 `(("doxygen" ,doxygen) 185 (list doxygen
183 ("extra-cmake-modules" 186 ;; XXX: We can't simply #:use-module due to a cycle somewhere.
184 ;; XXX: We can't simply #:use-module due to a cycle somewhere. 187 (module-ref
185 ,(module-ref 188 (resolve-interface '(gnu packages kde-frameworks))
186 (resolve-interface '(gnu packages kde-frameworks)) 189 'extra-cmake-modules)
187 'extra-cmake-modules)) 190 `(,glib "bin") ; for glib-genmarshal
188 ("glib:bin" ,glib "bin") ; for glib-genmarshal 191 pkg-config))
189 ("pkg-config" ,pkg-config)))
190 (inputs 192 (inputs
191 `(("dbus" ,dbus) 193 (list dbus
192 ("enchant" ,enchant-1.6) 194 enchant-1.6
193 ("gettext" ,gettext-minimal) 195 gettext-minimal
194 ("gtk2" ,gtk+-2) 196 gtk+-2
195 ("gtk3" ,gtk+) 197 gtk+
196 ("icu4c" ,icu4c) 198 icu4c
197 ("iso-codes" ,iso-codes) 199 iso-codes
198 ("json-c" ,json-c) 200 json-c
199 ("libxkbfile" ,libxkbfile) 201 libxkbfile
200 ("libxml2" ,libxml2) 202 libxml2
201 ("xkeyboard-config" ,xkeyboard-config))) 203 xkeyboard-config))
202 (home-page "https://fcitx-im.org") 204 (home-page "https://fcitx-im.org")
203 (synopsis "Input method framework") 205 (synopsis "Input method framework")
204 (description 206 (description
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 849f9aba993..f8bacc2fe82 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -1639,7 +1639,7 @@ a client based on Qt. This is a fork of Bitcoin Core.")
1639(define-public libofx 1639(define-public libofx
1640 (package 1640 (package
1641 (name "libofx") 1641 (name "libofx")
1642 (version "0.9.15") 1642 (version "0.10.7")
1643 (source (origin 1643 (source (origin
1644 (method git-fetch) 1644 (method git-fetch)
1645 (uri (git-reference 1645 (uri (git-reference
@@ -1648,14 +1648,15 @@ a client based on Qt. This is a fork of Bitcoin Core.")
1648 (file-name (git-file-name name version)) 1648 (file-name (git-file-name name version))
1649 (sha256 1649 (sha256
1650 (base32 1650 (base32
1651 "1jx56ma351p8af8dvavygjwf6ipa7qbgq7bpdsymwj27apdnixfy")))) 1651 "1k3ygavyb9b3f1ra62dsa46iiia0a1588yn3zy7bh7w4vfcrbd6d"))))
1652 (build-system gnu-build-system) 1652 (build-system gnu-build-system)
1653 (arguments 1653 (arguments
1654 '(#:parallel-build? #f ;fails with -j64 1654 (list
1655 #:configure-flags 1655 #:parallel-build? #f ;fails with -j64
1656 (list (string-append "--with-opensp-includes=" 1656 #:configure-flags
1657 (assoc-ref %build-inputs "opensp") 1657 #~(list (string-append "--with-opensp-includes="
1658 "/include/OpenSP")))) 1658 (search-input-directory %build-inputs
1659 "include/OpenSP")))))
1659 (native-inputs 1660 (native-inputs
1660 (list autoconf 1661 (list autoconf
1661 automake 1662 automake
@@ -1664,9 +1665,9 @@ a client based on Qt. This is a fork of Bitcoin Core.")
1664 libtool 1665 libtool
1665 pkg-config)) 1666 pkg-config))
1666 (inputs 1667 (inputs
1667 `(("curl" ,curl) 1668 (list curl
1668 ("libxml++-2" ,libxml++-2) 1669 libxml++-2
1669 ("opensp" ,opensp))) 1670 opensp))
1670 (home-page "http://libofx.sourceforge.net/") 1671 (home-page "http://libofx.sourceforge.net/")
1671 (synopsis "Library supporting the Open Financial Exchange format") 1672 (synopsis "Library supporting the Open Financial Exchange format")
1672 (description 1673 (description
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 7a23aa8552d..edcd888f732 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -42,7 +42,7 @@
42;;; Copyright © 2021 Sergiu Ivanov <sivanov@colimite.fr> 42;;; Copyright © 2021 Sergiu Ivanov <sivanov@colimite.fr>
43;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev> 43;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
44;;; Copyright © 2021 Paul A. Patience <paul@apatience.com> 44;;; Copyright © 2021 Paul A. Patience <paul@apatience.com>
45;;; Copyright © 2021 Taiju HIGASHI <higashi@taiju.info> 45;;; Copyright © 2021, 2022 Taiju HIGASHI <higashi@taiju.info>
46;;; Copyright © 2022 Philip McGrath <philip@philipmcgrath.com> 46;;; Copyright © 2022 Philip McGrath <philip@philipmcgrath.com>
47;;; Copyright © 2022 Kitzman <kitzman@disroot.org> 47;;; Copyright © 2022 Kitzman <kitzman@disroot.org>
48;;; Copyright © 2021 Wamm K. D. <jaft.r@outlook.com> 48;;; Copyright © 2021 Wamm K. D. <jaft.r@outlook.com>
@@ -1993,7 +1993,7 @@ formatting.")
1993(define-public font-plemoljp 1993(define-public font-plemoljp
1994 (package 1994 (package
1995 (name "font-plemoljp") 1995 (name "font-plemoljp")
1996 (version "1.2.2") 1996 (version "1.2.7")
1997 (source (origin 1997 (source (origin
1998 (method url-fetch) 1998 (method url-fetch)
1999 (uri (string-append 1999 (uri (string-append
@@ -2001,7 +2001,7 @@ formatting.")
2001 "v" version "/PlemolJP_v" version ".zip")) 2001 "v" version "/PlemolJP_v" version ".zip"))
2002 (sha256 2002 (sha256
2003 (base32 2003 (base32
2004 "03cwzkqg09c87lmsx9xfzdrlgjml93bhhp1dqq3qkpdfww30wkaw")))) 2004 "0pkkys5kl5s79shd1jmwfyk469ih8cymqb4vjwdadj52kzq4m9z6"))))
2005 (build-system font-build-system) 2005 (build-system font-build-system)
2006 (home-page "https://github.com/yuru7/PlemolJP") 2006 (home-page "https://github.com/yuru7/PlemolJP")
2007 (synopsis "Plex Mono Language JP") 2007 (synopsis "Plex Mono Language JP")
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index 393ab30f590..bedd8ead8c0 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -9,11 +9,10 @@
9;;; Copyright © 2017, 2018, 2020–2022 Tobias Geerinckx-Rice <me@tobias.gr> 9;;; Copyright © 2017, 2018, 2020–2022 Tobias Geerinckx-Rice <me@tobias.gr>
10;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net> 10;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
11;;; Copyright © 2018, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org> 11;;; Copyright © 2018, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
12;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com> 12;;; Copyright © 2019, 2020, 2022 Marius Bakke <marius@gnu.org>
13;;; Copyright © 2020 Roel Janssen <roel@gnu.org> 13;;; Copyright © 2020 Roel Janssen <roel@gnu.org>
14;;; Copyright © 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr> 14;;; Copyright © 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
15;;; Copyright © 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com> 15;;; Copyright © 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
16;;; Copyright © 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
17;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev> 16;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
18;;; Copyright © 2022 Felipe Balbi <balbi@kernel.org> 17;;; Copyright © 2022 Felipe Balbi <balbi@kernel.org>
19;;; 18;;;
@@ -145,7 +144,15 @@ them as it goes.")
145 (method url-fetch) 144 (method url-fetch)
146 (uri (pypi-uri "afdko" version)) 145 (uri (pypi-uri "afdko" version))
147 (sha256 146 (sha256
148 (base32 "171r9f7n8fgz37dkcgpzj508lxfafcyzzx43ps12j1z2nk1sk905")))) 147 (base32 "171r9f7n8fgz37dkcgpzj508lxfafcyzzx43ps12j1z2nk1sk905"))
148 (modules '((guix build utils)))
149 (snippet
150 #~(begin
151 (with-directory-excursion "c/makeotf/lib/hotconv"
152 ;; Delete ANTLR-generated code.
153 (for-each delete-file
154 (find-files
155 "." "Feat(Parser|Lexer).*\\.(h|cpp|interp|tokens)$")))))))
149 (build-system python-build-system) 156 (build-system python-build-system)
150 (arguments 157 (arguments
151 (list 158 (list
@@ -173,6 +180,17 @@ them as it goes.")
173 (substitute* "c/makeotf/lib/hotconv/CMakeLists.txt" 180 (substitute* "c/makeotf/lib/hotconv/CMakeLists.txt"
174 (("antlr4_static") 181 (("antlr4_static")
175 "antlr4-runtime")))) 182 "antlr4-runtime"))))
183 (add-after 'unpack 'regenerate-hotconv-grammar
184 (lambda _
185 (let ((antlr-version #$(package-version
186 (this-package-native-input "antlr4"))))
187 (with-directory-excursion "c/makeotf/lib/hotconv"
188 (substitute* "BuildGrammar.py"
189 (("antlr_version = .*")
190 (string-append "antlr_version = \""
191 antlr-version
192 "\"")))
193 (invoke "python" "BuildGrammar.py")))))
176 ;; The test suite expects the commands to be Python rather than 194 ;; The test suite expects the commands to be Python rather than
177 ;; shell scripts, so move the wrap phase after the tests. 195 ;; shell scripts, so move the wrap phase after the tests.
178 (delete 'wrap) 196 (delete 'wrap)
@@ -195,7 +213,12 @@ them as it goes.")
195 `("PATH" prefix (,bindir)))) 213 `("PATH" prefix (,bindir))))
196 commands))))))) 214 commands)))))))
197 (native-inputs 215 (native-inputs
198 (list ninja python-pytest python-scikit-build python-setuptools-scm 216 (list antlr4
217 openjdk ;required by antlr4
218 ninja
219 python-pytest
220 python-scikit-build
221 python-setuptools-scm
199 python-wheel)) 222 python-wheel))
200 (inputs (list java-antlr4-runtime-cpp `(,util-linux "lib"))) 223 (inputs (list java-antlr4-runtime-cpp `(,util-linux "lib")))
201 (propagated-inputs 224 (propagated-inputs
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 45188222fc0..2551c887617 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -940,6 +940,48 @@ backends, PackageKit can perform these tasks using the appropriate package
940manager for the current system.") 940manager for the current system.")
941 (license license:gpl2+))) 941 (license license:gpl2+)))
942 942
943(define-public python-libevdev
944 (package
945 (name "python-libevdev")
946 (version "0.11")
947 (source (origin
948 (method url-fetch)
949 (uri (pypi-uri "libevdev" version))
950 (sha256
951 (base32
952 "03snix86j0angq0lydp29f8833clxq8h0x4spmh8lj7j9mm01jp9"))))
953 (build-system python-build-system)
954 (arguments
955 (list
956 #:phases
957 #~(modify-phases %standard-phases
958 (add-after 'unpack 'patch-dlopen-calls
959 (lambda* (#:key inputs #:allow-other-keys)
960 (substitute* "libevdev/_clib.py"
961 (("libevdev.so.2")
962 (search-input-file inputs "lib/libevdev.so.2")))))
963 (replace 'check
964 (lambda* (#:key tests? #:allow-other-keys)
965 (when tests?
966 (invoke "pytest" "-vv" "test")))))))
967 (native-inputs (list python-pytest))
968 (inputs (list libevdev))
969 (home-page "https://gitlab.freedesktop.org/libevdev/python-libevdev")
970 (synopsis "Python wrapper for libevdev")
971 (description "This package provides a Python wrapper around
972@code{libevdev}, taking advantage of @code{libevdev}'s advanced event
973handling. Documentation is available at
974@url{https://python-libevdev.readthedocs.io/en/latest/}.
975@code{libevdev} makes it easy to:
976@itemize
977@item read and parse events from an input device;
978@item create a virtual input device and make it send events;
979@item duplicate an existing device and modify the event stream.
980@end itemize
981For information about libevdev, see:
982@url{https://freedesktop.org/wiki/Software/libevdev/}.")
983 (license license:expat)))
984
943(define-public python-pyxdg 985(define-public python-pyxdg
944 (package 986 (package
945 (name "python-pyxdg") 987 (name "python-pyxdg")
@@ -1080,7 +1122,6 @@ protocol either in Wayland core, or some other protocol in wayland-protocols.")
1080 . "https://wayland.freedesktop.org/releases.html"))) 1122 . "https://wayland.freedesktop.org/releases.html")))
1081 (license license:expat))) 1123 (license license:expat)))
1082 1124
1083;;; This is just a temporary package that should be deleted
1084(define-public wayland-protocols-next 1125(define-public wayland-protocols-next
1085 (package 1126 (package
1086 (inherit wayland-protocols) 1127 (inherit wayland-protocols)
@@ -1514,12 +1555,14 @@ message bus.")
1514 python-dbusmock 1555 python-dbusmock
1515 python-pygobject)) 1556 python-pygobject))
1516 (inputs 1557 (inputs
1517 (list coreutils-minimal 1558 (list bash-minimal
1559 coreutils-minimal
1518 dbus 1560 dbus
1519 elogind 1561 elogind
1520 shadow)) 1562 shadow))
1521 (propagated-inputs 1563 (propagated-inputs
1522 (list polkit)) ; listed in Requires.private 1564 ;; accountsservice.pc 'Requires' these:
1565 (list glib polkit))
1523 (home-page "https://www.freedesktop.org/wiki/Software/AccountsService/") 1566 (home-page "https://www.freedesktop.org/wiki/Software/AccountsService/")
1524 (synopsis "D-Bus interface for user account query and manipulation") 1567 (synopsis "D-Bus interface for user account query and manipulation")
1525 (description 1568 (description
@@ -1606,18 +1649,17 @@ which speak the Qualcomm MSM Interface (QMI) protocol.")
1606 #:configure-flags 1649 #:configure-flags
1607 #~(list (string-append "--with-udev-base-dir=" #$output "/lib/udev")))) 1650 #~(list (string-append "--with-udev-base-dir=" #$output "/lib/udev"))))
1608 (native-inputs 1651 (native-inputs
1609 (list gettext-minimal 1652 (list dbus
1610 `(,glib "bin") ; for glib-mkenums 1653 gettext-minimal
1611 gobject-introspection 1654 gobject-introspection
1655 `(,glib "bin") ;for glib-mkenums
1612 pkg-config 1656 pkg-config
1613 vala
1614 ;; For testing.
1615 dbus
1616 python 1657 python
1617 python-dbus 1658 python-dbus
1618 python-pygobject)) 1659 python-pygobject
1660 vala))
1619 (propagated-inputs 1661 (propagated-inputs
1620 (list glib)) ; required by mm-glib.pc 1662 (list glib)) ;required by mm-glib.pc
1621 (inputs 1663 (inputs
1622 (list libgudev libmbim libqmi polkit)) 1664 (list libgudev libmbim libqmi polkit))
1623 (synopsis "Mobile broadband modems manager") 1665 (synopsis "Mobile broadband modems manager")
@@ -1729,27 +1771,35 @@ share connections to real-time communication services without conflicting.")
1729(define-public colord-gtk 1771(define-public colord-gtk
1730 (package 1772 (package
1731 (name "colord-gtk") 1773 (name "colord-gtk")
1732 (version "0.1.26") 1774 (version "0.3.0")
1733 (source (origin 1775 (source (origin
1734 (method url-fetch) 1776 (method url-fetch)
1735 (uri (string-append "https://www.freedesktop.org/software/colord" 1777 (uri (string-append "https://www.freedesktop.org/software/colord"
1736 "/releases/" name "-" version ".tar.xz")) 1778 "/releases/" name "-" version ".tar.xz"))
1737 (sha256 1779 (sha256
1738 (base32 1780 (base32
1739 "0i9y3bb5apj6a0f8cx36l6mjzs7xc0k7nf0magmf58vy2mzhpl18")))) 1781 "1l61ydb0zv2ffilwpapgz5mm3bznr28zl16xqbxnz6kdsrb6cimr"))))
1740 (build-system gnu-build-system) 1782 (build-system meson-build-system)
1741 (arguments '(#:tests? #f)) ; require the colord system service 1783 (arguments '(#:tests? #f ;require the colord system service
1784 ;; Building documentation fails with: "Cannot build man pages
1785 ;; without docbook-xsl-ns".
1786 #:configure-flags (list "-Ddocs=false" "-Dman=false")))
1742 (native-inputs 1787 (native-inputs
1743 (list gobject-introspection intltool pkg-config vala)) 1788 (list gettext-minimal
1789 gobject-introspection
1790 pkg-config
1791 vala))
1792 (inputs
1793 (list gtk+))
1744 (propagated-inputs 1794 (propagated-inputs
1745 ;; colord-gtk.pc refers to all these. 1795 ;; colord-gtk.pc refers to all these.
1746 (list colord gtk+)) 1796 (list colord gtk))
1747 (synopsis "GTK integration for libcolord") 1797 (synopsis "GTK integration for libcolord")
1748 (home-page "https://www.freedesktop.org/software/colord/") 1798 (home-page "https://www.freedesktop.org/software/colord/")
1749 (description 1799 (description
1750 "This is a GTK+ convenience library for interacting with colord. It is 1800 "This is a GTK convenience library for interacting with colord. It is
1751useful for both applications which need colour management and applications that 1801useful for both applications which need colour management and applications
1752wish to perform colour calibration.") 1802that wish to perform colour calibration.")
1753 (license license:lgpl2.1+))) 1803 (license license:lgpl2.1+)))
1754 1804
1755(define-public libfprint 1805(define-public libfprint
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 010a9267793..f42e3804369 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -1786,17 +1786,20 @@ destroying an ancient book using a special wand.")
1786 ;; Don't create 'icon-theme.cache'. 1786 ;; Don't create 'icon-theme.cache'.
1787 (lambda _ 1787 (lambda _
1788 (substitute* "meson_post_install.py" 1788 (substitute* "meson_post_install.py"
1789 (("gtk-update-icon-cache") "true")) 1789 (("gtk-update-icon-cache") "true")))))))
1790 #t)))))
1791 (inputs 1790 (inputs
1792 (list gtk+ clutter clutter-gtk libgee libgnome-games-support)) 1791 (list gtk+
1792 clutter
1793 clutter-gtk
1794 libgee
1795 libgnome-games-support-1))
1793 (native-inputs 1796 (native-inputs
1794 `(("gettext" ,gettext-minimal) 1797 (list gettext-minimal
1795 ("glib:bin" ,glib "bin") ; for desktop-file-validate and appstream-util 1798 `(,glib "bin") ; for desktop-file-validate and appstream-util
1796 ("itstool" ,itstool) 1799 itstool
1797 ("libxml2" ,libxml2) 1800 libxml2
1798 ("pkg-config" ,pkg-config) 1801 pkg-config
1799 ("vala" ,vala))) 1802 vala))
1800 (home-page "https://wiki.gnome.org/Apps/2048") 1803 (home-page "https://wiki.gnome.org/Apps/2048")
1801 (synopsis "Move the tiles until you obtain the 2048 tile") 1804 (synopsis "Move the tiles until you obtain the 2048 tile")
1802 (description "GNOME 2048 provides a 2D grid for playing 2048, a 1805 (description "GNOME 2048 provides a 2D grid for playing 2048, a
@@ -6610,7 +6613,7 @@ fish. The whole game is accompanied by quiet, comforting music.")
6610(define-public crawl 6613(define-public crawl
6611 (package 6614 (package
6612 (name "crawl") 6615 (name "crawl")
6613 (version "0.29.0") 6616 (version "0.29.1")
6614 (source 6617 (source
6615 (origin 6618 (origin
6616 (method git-fetch) 6619 (method git-fetch)
@@ -6619,7 +6622,7 @@ fish. The whole game is accompanied by quiet, comforting music.")
6619 (commit version))) 6622 (commit version)))
6620 (file-name (git-file-name name version)) 6623 (file-name (git-file-name name version))
6621 (sha256 6624 (sha256
6622 (base32 "0cx67ln5qr4bawidi48ss63wflx7x22901da683c9wvy6m41vks8")) 6625 (base32 "17bl8hdv2z3mpdfmd5gnwg3r1p9dqjbisiql24pxs1d33qcw0h7x"))
6623 (patches (search-patches "crawl-upgrade-saves.patch")))) 6626 (patches (search-patches "crawl-upgrade-saves.patch"))))
6624 (build-system gnu-build-system) 6627 (build-system gnu-build-system)
6625 (inputs 6628 (inputs
@@ -9308,60 +9311,56 @@ play with up to four players simultaneously. It has network support.")
9308(define-public hedgewars 9311(define-public hedgewars
9309 (package 9312 (package
9310 (name "hedgewars") 9313 (name "hedgewars")
9311 (version "1.0.0") 9314 (version "1.0.2")
9312 (source (origin 9315 (source (origin
9313 (method url-fetch) 9316 (method url-fetch)
9314 (uri (string-append "https://www.hedgewars.org/download/releases/" 9317 (uri (string-append "https://www.hedgewars.org/download/releases/"
9315 "hedgewars-src-" version ".tar.bz2")) 9318 "hedgewars-src-" version ".tar.bz2"))
9316 (patches (search-patches "hedgewars-network-bsd.patch"))
9317 (sha256 9319 (sha256
9318 (base32 9320 (base32
9319 "0nqm9w02m0xkndlsj6ys3wr0ik8zc14zgilq7k6fwjrf3zk385i1")))) 9321 "04pjpkjhpy720n803gv35iygmjdvsrmw13mih4ympjnqbgjfa7r0"))))
9320 (build-system cmake-build-system) 9322 (build-system cmake-build-system)
9321 (arguments 9323 (arguments
9322 ;; XXX: Engine is built as Pascal source code, requiring Free Pascal 9324 (list
9323 ;; Compiler, which we haven't packaged yet. With the flag below, we use 9325 ;; XXX: Engine is built as Pascal source code, requiring Free Pascal
9324 ;; a Pascal to C translator and Clang instead. 9326 ;; Compiler, which we haven't packaged yet. With the flag below, we use
9325 `(#:configure-flags (list "-DBUILD_ENGINE_C=ON" 9327 ;; a Pascal to C translator and Clang instead.
9326 "-Dhaskell_flags=-dynamic;-fPIC") 9328 #:configure-flags #~(list "-DBUILD_ENGINE_C=ON"
9327 #:phases 9329 "-Dhaskell_flags=-dynamic;-fPIC")
9328 (modify-phases %standard-phases 9330 #:phases
9329 (add-before 'configure 'fix-sources 9331 #~(modify-phases %standard-phases
9330 (lambda _ 9332 (replace 'check
9331 ;; Fix a missing 'include'. 9333 (lambda* (#:key tests? #:allow-other-keys)
9332 (substitute* "QTfrontend/ui/page/pagegamestats.cpp" 9334 (when tests?
9333 (("#include <QSizePolicy>") 9335 (invoke "ctest"))))
9334 "#include <QSizePolicy>\n#include <QPainterPath>")))) 9336 (add-after 'install 'install-icon
9335 (replace 'check 9337 (lambda _
9336 (lambda _ (invoke "ctest"))) 9338 ;; Install icon for the desktop file.
9337 (add-after 'install 'install-icon 9339 (let ((icons (string-append #$output
9338 (lambda _ 9340 "/share/icons/hicolor/512x512/apps")))
9339 ;; Install icon for the desktop file. 9341 (with-directory-excursion
9340 (let* ((out (assoc-ref %outputs "out")) 9342 (string-append "../hedgewars-src-" #$version)
9341 (icons (string-append out "/share/icons/hicolor/512x512/apps"))) 9343 (install-file "misc/hedgewars.png" icons))))))))
9342 (with-directory-excursion (string-append "../hedgewars-src-" ,version)
9343 (install-file "misc/hedgewars.png" icons)))
9344 #t)))))
9345 (inputs 9344 (inputs
9346 `(("ffmpeg" ,ffmpeg) 9345 (list ffmpeg
9347 ("freeglut" ,freeglut) 9346 freeglut
9348 ("ghc-entropy" ,ghc-entropy) 9347 ghc-entropy
9349 ("ghc-hslogger" ,ghc-hslogger) 9348 ghc-hslogger
9350 ("ghc-network" ,ghc-network) 9349 ghc-network
9351 ("ghc-random" ,ghc-random) 9350 ghc-random
9352 ("ghc-regex-tdfa" ,ghc-regex-tdfa) 9351 ghc-regex-tdfa
9353 ("ghc-sandi" ,ghc-sandi) 9352 ghc-sandi
9354 ("ghc-sha" ,ghc-sha) 9353 ghc-sha
9355 ("ghc-utf8-string" ,ghc-utf8-string) 9354 ghc-utf8-string
9356 ("ghc-vector" ,ghc-vector) 9355 ghc-vector
9357 ("ghc-zlib" ,ghc-zlib) 9356 ghc-zlib
9358 ("glew" ,glew) 9357 glew
9359 ("libpng" ,libpng) 9358 libpng
9360 ("lua" ,lua-5.1) 9359 lua-5.1
9361 ("physfs" ,physfs) 9360 physfs
9362 ("qtbase" ,qtbase-5) 9361 qtbase-5
9363 ("sdl" ,(sdl-union 9362 (sdl-union
9364 (list sdl2 sdl2-mixer sdl2-net sdl2-ttf sdl2-image))))) 9363 (list sdl2 sdl2-mixer sdl2-net sdl2-ttf sdl2-image))))
9365 (native-inputs 9364 (native-inputs
9366 (list clang-9 ghc pkg-config qttools-5)) 9365 (list clang-9 ghc pkg-config qttools-5))
9367 (home-page "https://hedgewars.org/") 9366 (home-page "https://hedgewars.org/")
@@ -11169,3 +11168,45 @@ principle of prioritizing the guests' happiness with a well-maintained park.
11169Should they go unwise, a theme park plunge into chaos with vandalizing guests 11168Should they go unwise, a theme park plunge into chaos with vandalizing guests
11170and unsafe rides. Which path will you take?") 11169and unsafe rides. Which path will you take?")
11171 (license license:gpl2))) 11170 (license license:gpl2)))
11171
11172(define-public steam-devices-udev-rules
11173 ;; Last release from 2019-04-10
11174 (let ((commit "d87ef558408c5e7a1a793d738db4c9dc2cb5f8fa")
11175 (revision "0"))
11176 (package
11177 (name "steam-devices-udev-rules")
11178 (version (git-version "1.0.0.61" revision commit))
11179 (source (origin
11180 (method git-fetch)
11181 (uri (git-reference
11182 (url "https://github.com/ValveSoftware/steam-devices")
11183 (commit commit)))
11184 (file-name (git-file-name name version))
11185 (sha256
11186 (base32
11187 "1yqigraz9f19018ma5n2pbx7naadh9960lia3z8ayg7vz1fjdl54"))))
11188 (build-system copy-build-system)
11189 (arguments
11190 '(#:install-plan '(("./" "lib/udev/rules.d"
11191 #:include-regexp ("rules$")))
11192 #:phases (modify-phases %standard-phases
11193 (add-after 'unpack 'patch-paths
11194 (lambda* (#:key inputs #:allow-other-keys)
11195 (substitute* "60-steam-input.rules"
11196 (("/bin/sh")
11197 (search-input-file inputs "/bin/sh"))
11198 (("udevadm")
11199 (search-input-file inputs "/bin/udevadm"))))))))
11200 (inputs (list eudev))
11201 (home-page "https://github.com/ValveSoftware/steam-devices")
11202 (synopsis "udev rules for game controllers and virtual reality devices")
11203 (description
11204 "This package provides a set of udev rules for game controllers and
11205virtual reality devices.")
11206 (license license:expat))))
11207
11208;;;
11209;;; Avoid adding new packages to the end of this file. To reduce the chances
11210;;; of a merge conflict, place them above by existing packages with similar
11211;;; functionality or similar names.
11212;;;
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index 80eaec722a6..c07fdd2c80b 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -993,31 +993,43 @@ as the 'native-search-paths' field."
993 (custom-gcc gcc-11 "gdc" '("d") 993 (custom-gcc gcc-11 "gdc" '("d")
994 %generic-search-paths))) 994 %generic-search-paths)))
995 995
996(define-public libgccjit 996(define-public (make-libgccjit gcc)
997 (package 997 (package
998 (inherit gcc-9) 998 (inherit gcc)
999 (name "libgccjit") 999 (name "libgccjit")
1000 (outputs (delete "lib" (package-outputs gcc))) 1000 (outputs (delete "lib" (package-outputs gcc)))
1001 (properties (alist-delete 'hidden? (package-properties gcc))) 1001 (properties (alist-delete 'hidden? (package-properties gcc)))
1002 (arguments 1002 (arguments
1003 (substitute-keyword-arguments `(#:modules ((guix build gnu-build-system) 1003 (substitute-keyword-arguments (package-arguments gcc)
1004 (guix build utils) 1004 ((#:modules _ '())
1005 (ice-9 regex) 1005 '((guix build gnu-build-system)
1006 (srfi srfi-1) 1006 (guix build utils)
1007 (srfi srfi-26)) 1007 (ice-9 regex)
1008 ,@(package-arguments gcc)) 1008 (srfi srfi-1)
1009 (srfi srfi-26)))
1009 ((#:configure-flags flags) 1010 ((#:configure-flags flags)
1010 `(append `("--enable-host-shared" 1011 #~(cons* "--disable-bootstrap"
1011 ,(string-append "--enable-languages=jit")) 1012 "--disable-libatomic"
1013 "--disable-libgomp"
1014 "--disable-libquadmath"
1015 "--disable-libssp"
1016 "--enable-host-shared"
1017 "--enable-checking=release"
1018 "--enable-languages=jit"
1012 (remove (cut string-match "--enable-languages.*" <>) 1019 (remove (cut string-match "--enable-languages.*" <>)
1013 ,flags))) 1020 #$flags)))
1014 ((#:phases phases) 1021 ((#:phases phases)
1015 `(modify-phases ,phases 1022 #~(modify-phases #$phases
1016 (add-after 'install 'remove-broken-or-conflicting-files 1023 (add-after 'install 'remove-broken-or-conflicting-files
1017 (lambda* (#:key outputs #:allow-other-keys) 1024 (lambda* (#:key outputs #:allow-other-keys)
1018 (for-each delete-file 1025 (for-each delete-file
1019 (find-files (string-append (assoc-ref outputs "out") "/bin") 1026 (find-files
1020 ".*(c\\+\\+|cpp|g\\+\\+|gcov|gcc|gcc-.*)")))))))) 1027 (string-append (assoc-ref outputs "out") "/bin")
1028 ".*(c\\+\\+|cpp|g\\+\\+|gcov|gcc|gcc-.*)"))))))))
1029 (inputs (modify-inputs (package-inputs gcc)
1030 (delete "libstdc++")))
1031 (native-inputs (modify-inputs (package-native-inputs gcc)
1032 (prepend gcc)))
1021 (synopsis "GCC library generating machine code on-the-fly at runtime") 1033 (synopsis "GCC library generating machine code on-the-fly at runtime")
1022 (description 1034 (description
1023 "This package is part of the GNU Compiler Collection and provides an 1035 "This package is part of the GNU Compiler Collection and provides an
@@ -1028,6 +1040,13 @@ It can also be used for ahead-of-time code generation for building standalone
1028compilers. The just-in-time (jit) part of the name is now something of a 1040compilers. The just-in-time (jit) part of the name is now something of a
1029misnomer."))) 1041misnomer.")))
1030 1042
1043(define-public libgccjit-9 (make-libgccjit gcc-9))
1044(define-public libgccjit-10 (make-libgccjit gcc-10))
1045(define-public libgccjit-11 (make-libgccjit gcc-11))
1046(define-public libgccjit-12 (make-libgccjit gcc-12))
1047
1048(define-public libgccjit libgccjit-10)
1049
1031(define (make-gccgo gcc) 1050(define (make-gccgo gcc)
1032 "Return a gccgo package based on GCC." 1051 "Return a gccgo package based on GCC."
1033 (let ((gccgo (custom-gcc gcc "gccgo" '("go") %generic-search-paths))) 1052 (let ((gccgo (custom-gcc gcc "gccgo" '("go") %generic-search-paths)))
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 9734ae66fe6..d210cd63b56 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -19,6 +19,7 @@
19;;; Copyright © 2021 Clément Lassieur <clement@lassieur.org> 19;;; Copyright © 2021 Clément Lassieur <clement@lassieur.org>
20;;; Copyright © 2021, 2022 Nikolay Korotkiy <sikmir@disroot.org> 20;;; Copyright © 2021, 2022 Nikolay Korotkiy <sikmir@disroot.org>
21;;; Copyright © 2022 Roman Scherer <roman.scherer@burningswell.com> 21;;; Copyright © 2022 Roman Scherer <roman.scherer@burningswell.com>
22;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
22;;; 23;;;
23;;; This file is part of GNU Guix. 24;;; This file is part of GNU Guix.
24;;; 25;;;
@@ -253,7 +254,7 @@ topology functions.")
253(define-public gnome-maps 254(define-public gnome-maps
254 (package 255 (package
255 (name "gnome-maps") 256 (name "gnome-maps")
256 (version "42.2") 257 (version "43.rc") ;for libsoup 3 support
257 (source (origin 258 (source (origin
258 (method url-fetch) 259 (method url-fetch)
259 (uri (string-append "mirror://gnome/sources/" name "/" 260 (uri (string-append "mirror://gnome/sources/" name "/"
@@ -261,77 +262,55 @@ topology functions.")
261 name "-" version ".tar.xz")) 262 name "-" version ".tar.xz"))
262 (sha256 263 (sha256
263 (base32 264 (base32
264 "1cb9s2zz1zib3f33c035lmgshpl679isbzdd3alrx4yclw61nvay")))) 265 "16a3j896fwxgnvrmx27jnrvhxzh3v22paaq87ad57yp8wkq946il"))))
265 (build-system meson-build-system) 266 (build-system meson-build-system)
266 (arguments 267 (arguments
267 `(#:glib-or-gtk? #t 268 (list
268 #:phases 269 #:glib-or-gtk? #t
269 (modify-phases %standard-phases 270 #:phases
270 (add-after 'unpack 'skip-gtk-update-icon-cache 271 #~(modify-phases %standard-phases
271 ;; Don't create 'icon-theme.cache'. 272 (add-after 'unpack 'skip-gtk-update-icon-cache
272 (lambda _ 273 ;; Don't create 'icon-theme.cache'.
273 (substitute* "meson_post_install.py" 274 (lambda _
274 (("gtk-update-icon-cache") "true")))) 275 (substitute* "meson_post_install.py"
275 (add-after 'unpack 'patch-dbus-service 276 (("gtk-update-icon-cache") "true"))))
276 (lambda* (#:key outputs #:allow-other-keys) 277 (add-after 'unpack 'patch-dbus-service
277 (substitute* "data/org.gnome.Maps.service.in" 278 (lambda _
278 (("@pkgdatadir@/org.gnome.Maps") 279 (substitute* "data/org.gnome.Maps.service.in"
279 (string-append (assoc-ref outputs "out") 280 (("@pkgdatadir@/org.gnome.Maps")
280 "/bin/gnome-maps"))))) 281 (string-append #$output "/bin/gnome-maps")))))
281 (add-after 'install 'wrap 282 (add-after 'install 'wrap
282 (lambda* (#:key inputs outputs #:allow-other-keys) 283 (lambda _
283 (let ((out (assoc-ref outputs "out")) 284 (wrap-program (string-append #$output "/bin/gnome-maps")
284 (gi-typelib-path (getenv "GI_TYPELIB_PATH")) 285 `("GI_TYPELIB_PATH" ":" prefix (,(getenv "GI_TYPELIB_PATH")))))))))
285 (geocode-glib-path (string-append
286 (assoc-ref inputs "geocode-glib")
287 "/lib"))
288 (goa-path (string-append
289 (assoc-ref inputs "gnome-online-accounts:lib")
290 "/lib"))
291 (gdk-pixbuf-path (string-append
292 (assoc-ref inputs "gdk-pixbuf")
293 "/lib"))
294 (webkitgtk-path (string-append
295 (assoc-ref inputs "webkitgtk")
296 "/lib")))
297 (wrap-program (string-append out "/bin/gnome-maps")
298 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
299
300 ;; There seems to be no way to embed the path of
301 ;; libgoa-1.0.so.0, libwebkit2gtk-4.0.so.37,
302 ;; libgdk_pixbuf-2.0.so, libjavascriptcoregtk-4.0.so.18, and
303 ;; libgeocode-glib.so.0
304 `("LD_LIBRARY_PATH" ":" prefix (,goa-path
305 ,webkitgtk-path
306 ,gdk-pixbuf-path
307 ,geocode-glib-path)))
308 #t))))))
309 (native-inputs 286 (native-inputs
310 `(("gettext" ,gettext-minimal) 287 (list gettext-minimal
311 ("gobject-introspection" ,gobject-introspection) 288 `(,glib "bin")
312 ("pkg-config" ,pkg-config))) 289 gobject-introspection
290 pkg-config))
313 (inputs 291 (inputs
314 `(("evolution-data-server" ,evolution-data-server) 292 (list folks
315 ("folks" ,folks) 293 evolution-data-server
316 ("libchamplain" ,libchamplain) 294 geoclue
317 ("libgee" ,libgee) 295 geocode-glib
318 ("libhandy" ,libhandy) 296 gfbgraph
319 ("libsecret" ,libsecret) 297 gjs
320 ("libsoup" ,libsoup-minimal-2) 298 glib
321 ("libgweather" ,libgweather4) 299 glib-networking
322 ("libxml2" ,libxml2) 300 gnome-online-accounts
323 ("librsvg" ,librsvg) 301 gsettings-desktop-schemas
324 ("glib-networking" ,glib-networking) 302 gtk+
325 ("geoclue" ,geoclue) 303 libadwaita
326 ("geocode-glib" ,geocode-glib) 304 libgee
327 ("gfbgraph" ,gfbgraph) 305 libgweather4
328 ("gjs" ,gjs) 306 libhandy
329 ("glib" ,glib) 307 librsvg
330 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib") 308 libsecret
331 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) 309 libshumate
332 ("gtk+" ,gtk+) 310 libsoup
333 ("rest" ,rest) 311 libxml2
334 ("webkitgtk" ,webkitgtk-with-libsoup2))) 312 rest-next
313 webkitgtk))
335 (synopsis "Graphical map viewer and wayfinding program") 314 (synopsis "Graphical map viewer and wayfinding program")
336 (description "GNOME Maps is a graphical map viewer. It uses map data from 315 (description "GNOME Maps is a graphical map viewer. It uses map data from
337the OpenStreetMap project. It can provide directions for walking, bicycling, 316the OpenStreetMap project. It can provide directions for walking, bicycling,
@@ -536,7 +515,7 @@ fully fledged Spatial SQL capabilities.")
536(define-public proj 515(define-public proj
537 (package 516 (package
538 (name "proj") 517 (name "proj")
539 (version "7.2.1") 518 (version "9.1.0")
540 (source 519 (source
541 (origin 520 (origin
542 (method url-fetch) 521 (method url-fetch)
@@ -544,20 +523,10 @@ fully fledged Spatial SQL capabilities.")
544 version ".tar.gz")) 523 version ".tar.gz"))
545 (sha256 524 (sha256
546 (base32 525 (base32
547 "050apzdn0isxpsblys1shrl9ccli5vd32kgswlgx1imrbwpg915k")))) 526 "0593vd9sac0c98j1f4rammd90d4xnhygbr6d49i8il6ajjdj7cl1"))))
548 (build-system cmake-build-system) 527 (build-system cmake-build-system)
549 (arguments 528 (native-inputs (list googletest pkg-config))
550 `(#:configure-flags '("-DUSE_EXTERNAL_GTEST=ON") 529 (propagated-inputs (list curl libtiff sqlite)) ;required by proj.pc
551 #:phases
552 (modify-phases %standard-phases
553 (add-after 'unpack 'fix-version
554 (lambda _
555 (substitute* "CMakeLists.txt"
556 (("MAJOR 7 MINOR 2 PATCH 0") "MAJOR 7 MINOR 2 PATCH 1")))))))
557 (inputs
558 (list curl libjpeg-turbo libtiff sqlite))
559 (native-inputs
560 (list googletest pkg-config))
561 (home-page "https://proj.org/") 530 (home-page "https://proj.org/")
562 (synopsis "Coordinate transformation software") 531 (synopsis "Coordinate transformation software")
563 (description 532 (description
@@ -574,6 +543,27 @@ lets developers use the functionality of Proj in their own software.")
574 ;; src/geodesic.*, src/tests/geodtest.cpp 543 ;; src/geodesic.*, src/tests/geodtest.cpp
575 license:x11)))) 544 license:x11))))
576 545
546; This is the last version of proj that provides the old proj.4 API.
547(define-public proj-7
548 (package (inherit proj)
549 (version "7.2.1")
550 (source
551 (origin
552 (method url-fetch)
553 (uri (string-append "http://download.osgeo.org/proj/proj-"
554 version ".tar.gz"))
555 (sha256
556 (base32
557 "050apzdn0isxpsblys1shrl9ccli5vd32kgswlgx1imrbwpg915k"))))
558 (arguments
559 `(#:configure-flags '("-DUSE_EXTERNAL_GTEST=ON")
560 #:phases
561 (modify-phases %standard-phases
562 (add-after 'unpack 'fix-version
563 (lambda _
564 (substitute* "CMakeLists.txt"
565 (("MAJOR 7 MINOR 2 PATCH 0") "MAJOR 7 MINOR 2 PATCH 1")))))))))
566
577(define-public proj.4 567(define-public proj.4
578 (package 568 (package
579 (name "proj.4") 569 (name "proj.4")
@@ -627,14 +617,14 @@ projections.")
627(define-public python-pyproj 617(define-public python-pyproj
628 (package 618 (package
629 (name "python-pyproj") 619 (name "python-pyproj")
630 (version "3.2.1") 620 (version "3.3.1")
631 (source 621 (source
632 (origin 622 (origin
633 (method url-fetch) 623 (method url-fetch)
634 (uri (pypi-uri "pyproj" version)) 624 (uri (pypi-uri "pyproj" version))
635 (sha256 625 (sha256
636 (base32 626 (base32
637 "0xrqpy708qlyd7nqjra0dl7nvkqzaj9w0v7wq4j5pxazha9n14sa")))) 627 "1gjg63irs44djyqbp9gg7s02d0y5i9cd1a83phyzp5fcj56y3n5k"))))
638 (build-system python-build-system) 628 (build-system python-build-system)
639 (arguments 629 (arguments
640 `(#:phases 630 `(#:phases
@@ -1073,13 +1063,13 @@ utilities for data translation and processing.")
1073 (package 1063 (package
1074 (name "python-cartopy") 1064 (name "python-cartopy")
1075 ;; This is a post-release fix that adds build_ext to setup.py. 1065 ;; This is a post-release fix that adds build_ext to setup.py.
1076 (version "0.19.0.post1") 1066 (version "0.20.3")
1077 (source 1067 (source
1078 (origin 1068 (origin
1079 (method url-fetch) 1069 (method url-fetch)
1080 (uri (pypi-uri "Cartopy" version)) 1070 (uri (pypi-uri "Cartopy" version))
1081 (sha256 1071 (sha256
1082 (base32 "0xnm8z3as3hriivdfd26s6vn5b63gb46x6vxw6gh1mwfm5rlg2sb")))) 1072 (base32 "01lhnkhw22jp6hnrs5qvgkq4fqcni2sx7ydiyv8w8xxx5wpglq0d"))))
1083 (build-system python-build-system) 1073 (build-system python-build-system)
1084 (arguments 1074 (arguments
1085 `(#:phases 1075 `(#:phases
@@ -1097,11 +1087,16 @@ utilities for data translation and processing.")
1097 (list python-matplotlib 1087 (list python-matplotlib
1098 python-numpy 1088 python-numpy
1099 python-pykdtree 1089 python-pykdtree
1090 python-pyproj
1100 python-pyshp 1091 python-pyshp
1101 python-scipy 1092 python-scipy
1102 python-shapely)) 1093 python-shapely))
1103 (inputs 1094 (inputs
1104 (list geos proj)) 1095 (list geos
1096 ;; cartopy's setup.py looks for the proj executable.
1097 ;; Not sure if it actually makes use of it since it
1098 ;; probably uses proj only through pyproj.
1099 proj))
1105 (native-inputs 1100 (native-inputs
1106 (list python-cython python-flufl-lock python-pytest)) 1101 (list python-cython python-flufl-lock python-pytest))
1107 (home-page "https://scitools.org.uk/cartopy/docs/latest/") 1102 (home-page "https://scitools.org.uk/cartopy/docs/latest/")
@@ -1501,7 +1496,7 @@ map display. Downloads map data from a number of websites, including
1501 libnova 1496 libnova
1502 libpng 1497 libpng
1503 openjpeg 1498 openjpeg
1504 proj 1499 proj-7
1505 qtbase-5 1500 qtbase-5
1506 zlib)) 1501 zlib))
1507 (native-search-paths 1502 (native-search-paths
@@ -1953,7 +1948,8 @@ using the dataset of topographical information collected by
1953 (native-inputs 1948 (native-inputs
1954 (list pkg-config qttools-5)) 1949 (list pkg-config qttools-5))
1955 (inputs 1950 (inputs
1956 (list gdal 1951 (list curl
1952 gdal
1957 libjpeg-turbo 1953 libjpeg-turbo
1958 proj 1954 proj
1959 qtbase-5 1955 qtbase-5
@@ -2189,6 +2185,7 @@ track your position right from your laptop.")
2189 (inputs 2185 (inputs
2190 `(("clipper" ,clipper) 2186 `(("clipper" ,clipper)
2191 ("cups" ,cups) 2187 ("cups" ,cups)
2188 ("curl" ,curl)
2192 ("gdal" ,gdal) 2189 ("gdal" ,gdal)
2193 ("proj" ,proj) 2190 ("proj" ,proj)
2194 ("qtbase" ,qtbase-5) 2191 ("qtbase" ,qtbase-5)
@@ -2450,6 +2447,7 @@ growing set of geoscientific methods.")
2450 "ProcessingOtbAlgorithmsTest" 2447 "ProcessingOtbAlgorithmsTest"
2451 "test_core_authmanager" 2448 "test_core_authmanager"
2452 "test_core_compositionconverter" 2449 "test_core_compositionconverter"
2450 "test_core_coordinatereferencesystem"
2453 "test_core_gdalutils" 2451 "test_core_gdalutils"
2454 "test_core_labelingengine" 2452 "test_core_labelingengine"
2455 "test_core_layout" 2453 "test_core_layout"
@@ -2459,6 +2457,7 @@ growing set of geoscientific methods.")
2459 "test_core_layoutpicture" 2457 "test_core_layoutpicture"
2460 "test_core_legendrenderer" 2458 "test_core_legendrenderer"
2461 "test_core_networkaccessmanager" 2459 "test_core_networkaccessmanager"
2460 "test_core_rasterfilewriter"
2462 "test_core_tiledownloadmanager" 2461 "test_core_tiledownloadmanager"
2463 "test_gui_dualview" 2462 "test_gui_dualview"
2464 "test_gui_htmlwidgetwrapper" 2463 "test_gui_htmlwidgetwrapper"
@@ -2711,6 +2710,7 @@ using third-party geocoders and other data sources.")
2711 (inputs 2710 (inputs
2712 (list boost 2711 (list boost
2713 cgal 2712 cgal
2713 curl
2714 gdal 2714 gdal
2715 glew 2715 glew
2716 glu 2716 glu
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index 75439c54c26..7d3cdc78779 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -48,6 +48,7 @@
48 #:use-module (gnu packages enlightenment) 48 #:use-module (gnu packages enlightenment)
49 #:use-module (gnu packages file) 49 #:use-module (gnu packages file)
50 #:use-module (gnu packages flex) 50 #:use-module (gnu packages flex)
51 #:use-module (gnu packages freedesktop)
51 #:use-module (gnu packages gettext) 52 #:use-module (gnu packages gettext)
52 #:use-module (gnu packages gnome) 53 #:use-module (gnu packages gnome)
53 #:use-module (gnu packages graphviz) 54 #:use-module (gnu packages graphviz)
@@ -374,6 +375,64 @@ functions for strings and common data structures.")
374 (license license:lgpl2.1+) 375 (license license:lgpl2.1+)
375 (properties '((hidden? . #t))))) 376 (properties '((hidden? . #t)))))
376 377
378(define-public glib-next
379 (package
380 (inherit glib)
381 (name "glib")
382 (version "2.73.3")
383 (source
384 (origin
385 (inherit (package-source glib))
386 (uri
387 (string-append "mirror://gnome/sources/"
388 name "/" (string-take version 4) "/"
389 name "-" version ".tar.xz"))
390 (snippet
391 '(substitute* "glib/tests/spawn-test.c"
392 (("/bin/sh") "sh")))
393 (sha256
394 (base32 "1bgfch7zj1pq4rkqcibfky1470ijljyrx5pn5s5v9mk72s22n6nz"))))
395 (arguments
396 (substitute-keyword-arguments (package-arguments glib)
397 ((#:test-options test-options ''())
398 ;; Skip flaky or slow tests.
399 `(cons* "--no-suite=slow" "--no-suite=flaky" ,test-options))
400 ((#:phases phases '%standard-phases)
401 `(modify-phases ,phases
402 (replace 'disable-failing-tests
403 (lambda _
404 (with-directory-excursion "glib/tests"
405 (substitute* '("unix.c" "utils.c")
406 (("[ \t]*g_test_add_func.*;") "")))
407 ;; The "glib:gio / file" test fails with the error "No
408 ;; application is registered as handling this file" (see:
409 ;; https://gitlab.gnome.org/GNOME/glib/-/issues/2742).
410 (with-directory-excursion "gio/tests"
411 (substitute* '("appinfo.c"
412 "contenttype.c"
413 "desktop-app-info.c"
414 "file.c"
415 "gdbus-address-get-session.c"
416 "gdbus-peer.c")
417 (("[ \t]*g_test_add_func.*;") "")))
418
419 ,@(if (target-x86-32?)
420 ;; Comment out parts of timer.c that fail on i686 due to
421 ;; excess precision when building with GCC 10:
422 ;; <https://gitlab.gnome.org/GNOME/glib/-/issues/820>.
423 '((substitute* "glib/tests/timer.c"
424 (("^ g_assert_cmpuint \\(micros.*" all)
425 (string-append "//" all "\n"))
426 (("^ g_assert_cmpfloat \\(elapsed, ==.*" all)
427 (string-append "//" all "\n"))))
428 '())))))))
429 (native-inputs
430 (modify-inputs (package-native-inputs glib)
431 (append desktop-file-utils)))
432 (propagated-inputs
433 (modify-inputs (package-propagated-inputs glib)
434 (replace "pcre" pcre2)))))
435
377(define-public glib-with-documentation 436(define-public glib-with-documentation
378 ;; glib's doc must be built in a separate package since it requires gtk-doc, 437 ;; glib's doc must be built in a separate package since it requires gtk-doc,
379 ;; which in turn depends on glib. 438 ;; which in turn depends on glib.
@@ -535,6 +594,26 @@ provide bindings to call into the C library.")
535 ;; For tools. 594 ;; For tools.
536 license:gpl2+)))) 595 license:gpl2+))))
537 596
597(define-public gobject-introspection-next
598 (package
599 (inherit gobject-introspection)
600 (name "gobject-introspection")
601 (version "1.73.1")
602 (source (origin
603 (method url-fetch)
604 (uri (string-append "mirror://gnome/sources/"
605 "gobject-introspection/" (version-major+minor version)
606 "/gobject-introspection-" version ".tar.xz"))
607 (sha256
608 (base32 "1gkbx32as3v2286w7k3j24fwhkxj6brr49881m2zavxamfwxdm34"))
609 (patches (search-patches
610 "gobject-introspection-cc-1.72.patch"
611 "gobject-introspection-girepository.patch"
612 "gobject-introspection-absolute-shlib-path-1.72.patch"))))
613 (propagated-inputs
614 (modify-inputs (package-propagated-inputs gobject-introspection)
615 (replace "glib" glib-next)))))
616
538(define intltool 617(define intltool
539 (package 618 (package
540 (name "intltool") 619 (name "intltool")
diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index beab5429bfc..74eaf74a370 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -776,7 +776,7 @@ notebooks and tiling window managers.")
776(define-public gpaste 776(define-public gpaste
777 (package 777 (package
778 (name "gpaste") 778 (name "gpaste")
779 (version "3.42.2") 779 (version "42.1")
780 (source (origin 780 (source (origin
781 (method git-fetch) 781 (method git-fetch)
782 (uri (git-reference 782 (uri (git-reference
@@ -785,19 +785,25 @@ notebooks and tiling window managers.")
785 (file-name (git-file-name name version)) 785 (file-name (git-file-name name version))
786 (sha256 786 (sha256
787 (base32 787 (base32
788 "1k5qvgzwl357k72qfim5zfas2a0n6j24jnlm1v472l7h6gb6lssm")) 788 "1dlqa69zvzzdxyh21qfrx2nhpfy0fbihxpgkxqmramcgv3h5k4q3"))
789 (patches 789 (patches
790 (search-patches "gpaste-fix-paths.patch")))) 790 (search-patches "gpaste-fix-paths.patch"))))
791 (build-system meson-build-system) 791 (build-system meson-build-system)
792 (native-inputs 792 (native-inputs
793 (list autoconf automake gettext-minimal gobject-introspection 793 (list gettext-minimal
794 gobject-introspection
794 (list glib "bin") ; for glib-compile-resources 795 (list glib "bin") ; for glib-compile-resources
795 libtool pkg-config vala)) 796 pkg-config
797 vala))
796 (inputs 798 (inputs
797 (list appstream-glib libarchive gjs mutter graphene)) 799 (list appstream-glib
800 gjs
801 gtk
802 mutter
803 libadwaita
804 libarchive))
798 (arguments 805 (arguments
799 (list #:meson meson-0.59 ;positional arguments error with meson 0.60 806 (list #:glib-or-gtk? #true
800 #:glib-or-gtk? #true
801 #:configure-flags 807 #:configure-flags
802 #~(list 808 #~(list
803 (string-append "-Dcontrol-center-keybindings-dir=" 809 (string-append "-Dcontrol-center-keybindings-dir="
@@ -809,12 +815,11 @@ notebooks and tiling window managers.")
809 #:phases 815 #:phases
810 #~(modify-phases %standard-phases 816 #~(modify-phases %standard-phases
811 (add-after 'unpack 'fix-introspection-install-dir 817 (add-after 'unpack 'fix-introspection-install-dir
812 (lambda* (#:key outputs #:allow-other-keys) 818 (lambda _
813 (let ((out (assoc-ref outputs "out"))) 819 (substitute* '("src/gnome-shell/extension.js"
814 (substitute* '("src/gnome-shell/extension.js" 820 "src/gnome-shell/prefs.js")
815 "src/gnome-shell/prefs.js") 821 (("@typelibPath@")
816 (("@typelibPath@") 822 (string-append #$output "/lib/girepository-1.0/"))))))))
817 (string-append out "/lib/girepository-1.0/")))))))))
818 (home-page "https://github.com/Keruspe/GPaste") 823 (home-page "https://github.com/Keruspe/GPaste")
819 (synopsis "Clipboard management system for GNOME Shell") 824 (synopsis "Clipboard management system for GNOME Shell")
820 (description "GPaste is a clipboard manager, a tool which allows you to 825 (description "GPaste is a clipboard manager, a tool which allows you to
@@ -1084,7 +1089,7 @@ of windows.")
1084(define-public arc-theme 1089(define-public arc-theme
1085 (package 1090 (package
1086 (name "arc-theme") 1091 (name "arc-theme")
1087 (version "20210412") 1092 (version "20220405")
1088 (source (origin 1093 (source (origin
1089 (method git-fetch) 1094 (method git-fetch)
1090 (uri (git-reference 1095 (uri (git-reference
@@ -1093,7 +1098,7 @@ of windows.")
1093 (file-name (git-file-name name version)) 1098 (file-name (git-file-name name version))
1094 (sha256 1099 (sha256
1095 (base32 1100 (base32
1096 "0zs44dagp6baiyszlr1kj5ncap43fg32dv07rl46nxbds2p65lh4")))) 1101 "1gjwf75sg4xyfypb08qiy2cmqyr2mamjc4i46ifrq7snj15gy608"))))
1097 (build-system meson-build-system) 1102 (build-system meson-build-system)
1098 (arguments 1103 (arguments
1099 '(#:configure-flags 1104 '(#:configure-flags
@@ -1102,8 +1107,7 @@ of windows.")
1102 (modify-phases %standard-phases 1107 (modify-phases %standard-phases
1103 (add-before 'build 'set-home ;placate Inkscape 1108 (add-before 'build 'set-home ;placate Inkscape
1104 (lambda _ 1109 (lambda _
1105 (setenv "HOME" (getcwd)) 1110 (setenv "HOME" (getcwd)))))))
1106 #t)))))
1107 (native-inputs 1111 (native-inputs
1108 (list `(,glib "bin") ; for glib-compile-resources 1112 (list `(,glib "bin") ; for glib-compile-resources
1109 gnome-shell 1113 gnome-shell
@@ -1111,6 +1115,7 @@ of windows.")
1111 inkscape/stable 1115 inkscape/stable
1112 optipng 1116 optipng
1113 pkg-config 1117 pkg-config
1118 python
1114 sassc/libsass-3.5)) 1119 sassc/libsass-3.5))
1115 (synopsis "Flat GTK+ theme with transparent elements") 1120 (synopsis "Flat GTK+ theme with transparent elements")
1116 (description "Arc is a flat theme with transparent elements for GTK 3, GTK 1121 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
@@ -1240,13 +1245,13 @@ Cinnamon, MATE, Unity, Xfce, LightDM, GDM, Chrome theme, etc.")
1240 #:tests? #f 1245 #:tests? #f
1241 #:phases 1246 #:phases
1242 (modify-phases %standard-phases 1247 (modify-phases %standard-phases
1243 (delete 'configure)))) ; no configure script 1248 (delete 'configure)))) ; no configure script
1244 (native-inputs 1249 (native-inputs
1245 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas 1250 (list `(,glib "bin") ; for glib-compile-schemas
1246 ("gnome-shell" ,gnome-shell) 1251 gnome-shell
1247 ("gtk+" ,gtk+) 1252 gtk+
1248 ("xmllint" ,libxml2) 1253 libxml2
1249 ("ruby-sass" ,ruby-sass))) 1254 ruby-sass))
1250 (synopsis "Flat theme with light and dark elements") 1255 (synopsis "Flat theme with light and dark elements")
1251 (description "Numix is a modern flat theme with a combination of light and 1256 (description "Numix is a modern flat theme with a combination of light and
1252dark elements. It supports GNOME, Unity, Xfce, and Openbox.") 1257dark elements. It supports GNOME, Unity, Xfce, and Openbox.")
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index d01e6cf35e7..c80c7fe921b 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -186,6 +186,7 @@
186 #:use-module (gnu packages protobuf) 186 #:use-module (gnu packages protobuf)
187 #:use-module (gnu packages pulseaudio) 187 #:use-module (gnu packages pulseaudio)
188 #:use-module (gnu packages python) 188 #:use-module (gnu packages python)
189 #:use-module (gnu packages python-build)
189 #:use-module (gnu packages python-crypto) 190 #:use-module (gnu packages python-crypto)
190 #:use-module (gnu packages python-web) 191 #:use-module (gnu packages python-web)
191 #:use-module (gnu packages python-xyz) 192 #:use-module (gnu packages python-xyz)
@@ -252,42 +253,43 @@
252 (build-system meson-build-system) 253 (build-system meson-build-system)
253 (outputs '("out" "doc")) 254 (outputs '("out" "doc"))
254 (arguments 255 (arguments
255 `(#:glib-or-gtk? #t ; To wrap binaries and compile schemas 256 (list
256 #:configure-flags (list "-Dgtk_doc=true") 257 #:glib-or-gtk? #t ; To wrap binaries and compile schemas
257 #:phases 258 #:configure-flags #~(list "-Dgtk_doc=true")
258 (modify-phases %standard-phases 259 #:phases
259 (add-after 'unpack 'patch-docbook-xml 260 #~(modify-phases %standard-phases
260 (lambda* (#:key inputs #:allow-other-keys) 261 (add-after 'unpack 'patch-docbook-xml
261 (with-directory-excursion "doc" 262 (lambda* (#:key inputs #:allow-other-keys)
262 (substitute* "gupnp-igd-docs.xml" 263 (with-directory-excursion "doc"
263 (("http://www.oasis-open.org/docbook/xml/4.1.2/") 264 (substitute* "gupnp-igd-docs.xml"
264 (string-append (assoc-ref inputs "docbook-xml-4.1.2") 265 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
265 "/xml/dtd/docbook/")))) 266 (string-append #$(this-package-native-input
266 #t)) 267 "docbook-xml")
267 (add-before 'check 'set-home 268 "/xml/dtd/docbook/"))))))
268 (lambda _ 269 (add-before 'check 'set-home
269 ;; A test using GIO expects ~/.config/glib-2.0/settings to be 270 (lambda _
270 ;; writable. 271 ;; A test using GIO expects ~/.config/glib-2.0/settings to be
271 (setenv "HOME" (getcwd)))) 272 ;; writable.
272 (add-after 'install 'move-doc 273 (setenv "HOME" (getcwd))))
273 (lambda* (#:key outputs #:allow-other-keys) 274 (add-after 'install 'move-doc
274 (let* ((out (assoc-ref outputs "out")) 275 (lambda* (#:key outputs #:allow-other-keys)
275 (doc (assoc-ref outputs "doc"))) 276 (mkdir-p (string-append #$output:doc "/share"))
276 (mkdir-p (string-append doc "/share")) 277 (rename-file
277 (rename-file 278 (string-append #$output "/share/gtk-doc")
278 (string-append out "/share/gtk-doc") 279 (string-append #$output:doc "/share/gtk-doc")))))))
279 (string-append doc "/share/gtk-doc"))
280 #t))))))
281 (native-inputs 280 (native-inputs
282 `(("docbook-xml-4.1.2" ,docbook-xml-4.1.2) 281 (list docbook-xml-4.1.2
283 ("docbook-xsl" ,docbook-xsl) 282 docbook-xsl
284 ("glib:bin" ,glib "bin") 283 `(,glib "bin")
285 ("gobject-introspection" ,gobject-introspection) 284 gobject-introspection
286 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) 285 gsettings-desktop-schemas
287 ("gtk-doc" ,gtk-doc/stable) 286 gtk-doc/stable
288 ("pkg-config" ,pkg-config))) 287 pkg-config))
289 (propagated-inputs 288 (propagated-inputs
290 (list glib glib-networking gssdp gupnp libsoup)) 289 ;; These libraries are required by the .pc file.
290 (list glib
291 glib-networking
292 gupnp-1.4))
291 (synopsis "UPnP IGD for GNOME") 293 (synopsis "UPnP IGD for GNOME")
292 (description "GUPnP-IGD is a library to handle UPnP IGD port mapping.") 294 (description "GUPnP-IGD is a library to handle UPnP IGD port mapping.")
293 (home-page "https://gitlab.gnome.org/GNOME/gupnp-igd") 295 (home-page "https://gitlab.gnome.org/GNOME/gupnp-igd")
@@ -848,7 +850,7 @@ patterns.")
848 "subprojects/libgd")))))) 850 "subprojects/libgd"))))))
849 (inputs (list glib 851 (inputs (list glib
850 gnome-autoar 852 gnome-autoar
851 `(,gnome-online-accounts "lib") 853 gnome-online-accounts
852 gspell 854 gspell
853 gtk+ 855 gtk+
854 json-glib 856 json-glib
@@ -870,7 +872,7 @@ tomorrow, the rest of the week and for special occasions.")
870(define-public gnome-photos 872(define-public gnome-photos
871 (package 873 (package
872 (name "gnome-photos") 874 (name "gnome-photos")
873 (version "40.0") 875 (version "43.beta") ;for geocode-glib 2 support
874 (source 876 (source
875 (origin 877 (origin
876 (method url-fetch) 878 (method url-fetch)
@@ -880,58 +882,59 @@ tomorrow, the rest of the week and for special occasions.")
880 name "-" version ".tar.xz")) 882 name "-" version ".tar.xz"))
881 (sha256 883 (sha256
882 (base32 884 (base32
883 "1bzi79plw6ji6qlckhxnwfnswy6jpnhzmmyanml2i2xg73hp6bg0")))) 885 "1pry45dy4sjw8y63vxw2b499brcxzpkd4hmg2vbqy538r79ah2g9"))))
884 (build-system meson-build-system) 886 (build-system meson-build-system)
885 (arguments 887 (arguments
886 `(#:glib-or-gtk? #t 888 (list
887 #:meson ,meson-0.60 889 #:glib-or-gtk? #t
888 #:configure-flags 890 #:configure-flags
889 (list "-Ddogtail=false" ; Not available 891 #~(list "-Ddogtail=false" ; Not available
890 ;; Required for RUNPATH validation. 892 ;; Required for RUNPATH validation.
891 (string-append "-Dc_link_args=-Wl,-rpath=" 893 (string-append "-Dc_link_args=-Wl,-rpath="
892 (assoc-ref %outputs "out") "/lib/gnome-photos")) 894 #$output "/lib/gnome-photos"))
893 #:phases 895 #:phases
894 (modify-phases %standard-phases 896 #~(modify-phases %standard-phases
895 (add-after 'install 'wrap-gnome-photos 897 (add-after 'unpack 'disable-gtk-update-icon-cache
896 (lambda* (#:key inputs outputs #:allow-other-keys) 898 (lambda _
897 (let* 899 (setenv "DESTDIR" "/")))
898 ((out (assoc-ref outputs "out"))) 900 (add-after 'install 'wrap-gnome-photos
899 (wrap-program (string-append out "/bin/gnome-photos") 901 (lambda* (#:key outputs #:allow-other-keys)
900 `("GRL_PLUGIN_PATH" = 902 (wrap-program (search-input-file outputs "bin/gnome-photos")
901 (,(getenv "GRL_PLUGIN_PATH")))))))))) 903 `("GRL_PLUGIN_PATH" =
904 (,(getenv "GRL_PLUGIN_PATH")))))))))
902 (native-inputs 905 (native-inputs
903 `(("dbus" ,dbus) 906 (list dbus
904 ("desktop-file-utils" ,desktop-file-utils) 907 desktop-file-utils
905 ("gettext" ,gettext-minimal) 908 gettext-minimal
906 ("git" ,git-minimal) 909 git-minimal
907 ("glib:bin" ,glib "bin") 910 `(,glib "bin")
908 ("gobject-introspection" ,gobject-introspection) 911 gobject-introspection
909 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) 912 gsettings-desktop-schemas
910 ("gtk+:bin" ,gtk+ "bin") 913 itstool
911 ("itstool" ,itstool) 914 pkg-config))
912 ("pkg-config" ,pkg-config)))
913 (inputs 915 (inputs
914 `(("babl" ,babl) 916 (list babl
915 ("cairo" ,cairo) 917 cairo
916 ("librsvg" ,librsvg) 918 gegl
917 ("gegl" ,gegl) 919 geocode-glib
918 ("geocode-glib" ,geocode-glib) 920 gexiv2
919 ("gexiv2" ,gexiv2) 921 gfbgraph
920 ("gnome-online-accounts" ,gnome-online-accounts) 922 gnome-online-accounts
921 ("gnome-online-miners" ,gnome-online-miners) 923 gnome-online-miners
922 ("grilo" ,grilo) 924 grilo
923 ("grilo-plugins" ,grilo-plugins) 925 grilo-plugins
924 ("gtk+" ,gtk+) 926 gtk+
925 ("libdazzle" ,libdazzle) 927 libdazzle
926 ("libgdata" ,libgdata) 928 libgdata
927 ("libgfbgraph" ,gfbgraph) 929 libhandy
928 ("libhandy" ,libhandy) 930 libjpeg-turbo
929 ("libjpeg" ,libjpeg-turbo) 931 libportal
930 ("libpng" ,libpng) 932 libpng
931 ("librest" ,rest) 933 librsvg
932 ("pygobject" ,python-pygobject) 934 python-pygobject
933 ("tracker" ,tracker) 935 rest
934 ("tracker-miners" ,tracker-miners))) 936 tracker
937 tracker-miners))
935 (synopsis "Access, organize and share your photos on GNOME desktop") 938 (synopsis "Access, organize and share your photos on GNOME desktop")
936 (description "GNOME Photos is a simple and elegant replacement for using a 939 (description "GNOME Photos is a simple and elegant replacement for using a
937file manager to deal with photos. Enhance, crop and edit in a snap. Seamless 940file manager to deal with photos. Enhance, crop and edit in a snap. Seamless
@@ -942,7 +945,7 @@ cloud integration is offered through GNOME Online Accounts.")
942(define-public gnome-music 945(define-public gnome-music
943 (package 946 (package
944 (name "gnome-music") 947 (name "gnome-music")
945 (version "40.1.1") 948 (version "42.1")
946 (source 949 (source
947 (origin 950 (origin
948 (method url-fetch) 951 (method url-fetch)
@@ -952,13 +955,18 @@ cloud integration is offered through GNOME Online Accounts.")
952 name "-" version ".tar.xz")) 955 name "-" version ".tar.xz"))
953 (sha256 956 (sha256
954 (base32 957 (base32
955 "0lcdal4qdhclr8961p57xf010y92l6wwmkw86lyi9wy224z6gjr0")))) 958 "0w42xnp6xy3sfakb4s0wq7xfg7p507whz5gzss5b2mkbm2k7yx67"))))
956 (build-system meson-build-system) 959 (build-system meson-build-system)
957 (arguments 960 (arguments
958 `(#:glib-or-gtk? #t 961 `(#:glib-or-gtk? #t
959 #:meson ,meson-0.60
960 #:phases 962 #:phases
961 (modify-phases %standard-phases 963 (modify-phases %standard-phases
964 (add-after 'unpack 'skip-gtk-update-icon-cache
965 ;; Don't create 'icon-theme.cache'.
966 (lambda _
967 (substitute* "meson.build"
968 (("gtk_update_icon_cache: true")
969 "gtk_update_icon_cache: false"))))
962 (add-after 'install 'wrap-gnome-music 970 (add-after 'install 'wrap-gnome-music
963 (lambda* (#:key inputs outputs #:allow-other-keys) 971 (lambda* (#:key inputs outputs #:allow-other-keys)
964 (let* 972 (let*
@@ -981,18 +989,19 @@ cloud integration is offered through GNOME Online Accounts.")
981 gettext-minimal 989 gettext-minimal
982 `(,glib "bin") 990 `(,glib "bin")
983 gobject-introspection 991 gobject-introspection
984 `(,gtk+ "bin")
985 itstool 992 itstool
986 pkg-config)) 993 pkg-config))
987 (inputs 994 (inputs
988 (list `(,gnome-online-accounts "lib") 995 (list gnome-online-accounts
989 grilo 996 grilo
990 grilo-plugins 997 grilo-plugins
991 gst-plugins-base 998 gst-plugins-base
992 gst-plugins-good 999 gst-plugins-good
993 gstreamer 1000 gstreamer
1001 gtk
994 gvfs 1002 gvfs
995 json-glib 1003 json-glib
1004 libadwaita
996 libdazzle 1005 libdazzle
997 libmediaart 1006 libmediaart
998 libsoup-minimal-2 1007 libsoup-minimal-2
@@ -1036,7 +1045,7 @@ between different kinds of computer systems.")
1036(define-public tepl 1045(define-public tepl
1037 (package 1046 (package
1038 (name "tepl") 1047 (name "tepl")
1039 (version "6.00.0") 1048 (version "6.1.2")
1040 (source 1049 (source
1041 (origin 1050 (origin
1042 (method url-fetch) 1051 (method url-fetch)
@@ -1046,42 +1055,43 @@ between different kinds of computer systems.")
1046 name "-" version ".tar.xz")) 1055 name "-" version ".tar.xz"))
1047 (sha256 1056 (sha256
1048 (base32 1057 (base32
1049 "0qvs7s86gqyyrzi0r5fbrj8zczlgv8xhdjswgbgc1afwjnl9fqx8")))) 1058 "16x14j3nvsjj7jb2qmxpzygnlcy7sd7p6skv0sqshkwdlp4jxzha"))))
1050 (build-system meson-build-system) 1059 (build-system meson-build-system)
1051 (arguments 1060 (arguments
1052 `(#:glib-or-gtk? #t 1061 `(#:glib-or-gtk? #t
1053 #:tests? #f)) ; FIX-ME: Requires gvfs 1062 #:phases (modify-phases %standard-phases
1063 (add-after 'unpack 'disable-problematic-tests
1064 (lambda _
1065 ;; Only keep unit tests, as the interactive tests have
1066 ;; other dependencies.
1067 (substitute* "tests/meson.build"
1068 ((".*'interactive-tests'.*") ""))))
1069 (add-before 'check 'start-xserver
1070 (lambda _
1071 (system "Xvfb :1 &")
1072 (setenv "DISPLAY" ":1"))))))
1054 (native-inputs 1073 (native-inputs
1055 (list `(,glib "bin") gobject-introspection pkg-config)) 1074 (list `(,glib "bin")
1075 gobject-introspection
1076 gtk-doc
1077 libxml2
1078 pkg-config
1079 xorg-server-for-tests))
1056 (inputs 1080 (inputs
1081 (list uchardet))
1082 (propagated-inputs
1083 ;; These are all required by tepl6.pc.
1057 (list amtk 1084 (list amtk
1058 glib 1085 glib
1086 gsettings-desktop-schemas
1059 gtk+ 1087 gtk+
1060 gtksourceview-4 1088 gtksourceview-4))
1061 libxml2
1062 uchardet))
1063 (synopsis "Text editor product line") 1089 (synopsis "Text editor product line")
1064 (description "Tepl is a library that eases the development of 1090 (description "Tepl is a library that eases the development of
1065GtkSourceView-based text editors and IDEs.") 1091GtkSourceView-based text editors and IDEs.")
1066 (home-page "https://wiki.gnome.org/Projects/Tepl") 1092 (home-page "https://wiki.gnome.org/Projects/Tepl")
1067 (license license:lgpl2.1+))) 1093 (license license:lgpl2.1+)))
1068 1094
1069(define-public tepl-5
1070 (package
1071 (inherit tepl)
1072 (name "tepl")
1073 (version "5.0.1")
1074 (source
1075 (origin
1076 (method url-fetch)
1077 (uri
1078 (string-append "mirror://gnome/sources/" name "/"
1079 (version-major+minor version) "/"
1080 name "-" version ".tar.xz"))
1081 (sha256
1082 (base32
1083 "0118j64s4fb350phbgda2rk6sv19rfgglxc7nf248llzc1klj9xi"))))))
1084
1085(define-public krb5-auth-dialog 1095(define-public krb5-auth-dialog
1086 (package 1096 (package
1087 (name "krb5-auth-dialog") 1097 (name "krb5-auth-dialog")
@@ -1175,46 +1185,48 @@ Library reference documentation.")
1175 1185
1176(define-public phodav 1186(define-public phodav
1177 (package 1187 (package
1178 (name "phodav") 1188 (name "phodav")
1179 (version "2.5") 1189 (version "3.0")
1180 (source (origin 1190 (source (origin
1181 (method url-fetch) 1191 (method url-fetch)
1182 (uri (string-append "mirror://gnome/sources/" name "/" 1192 (uri (string-append "mirror://gnome/sources/" name "/"
1183 (version-major+minor version) "/" 1193 (version-major+minor version) "/"
1184 name "-" version ".tar.xz")) 1194 name "-" version ".tar.xz"))
1185 (sha256 1195 (sha256
1186 (base32 1196 (base32
1187 "045rdzf8isqmzix12lkz6z073b5qvcqq6ad028advm5gf36skw3i")))) 1197 "1l9qs70yvwi9r8ph081mrsdy412kk0m9l9pgy77hsc2hdp8c4bir"))))
1188 (build-system meson-build-system) 1198 (build-system meson-build-system)
1189 (arguments 1199 (arguments
1190 `(#:phases 1200 `(#:phases
1191 (modify-phases %standard-phases 1201 (modify-phases %standard-phases
1192 (add-after 'unpack 'fix-udev-rules-directory 1202 (add-after 'unpack 'fix-udev-rules-directory
1193 (lambda* (#:key outputs #:allow-other-keys) 1203 (lambda* (#:key outputs #:allow-other-keys)
1194 (let* ((out (assoc-ref outputs "out")) 1204 (let* ((out (assoc-ref outputs "out"))
1195 (rules (string-append out "/lib/udev/rules.d"))) 1205 (rules (string-append out "/lib/udev/rules.d")))
1196 (substitute* "data/meson.build" 1206 (substitute* "data/meson.build"
1197 (("udev\\.get_pkgconfig_variable\\('udevdir'\\)") 1207 (("udev\\.get_pkgconfig_variable\\('udevdir'\\)")
1198 (format #f "'~a'" rules)))))) 1208 (format #f "'~a'" rules))))))
1199 (add-before 'check 'set-temporary-home 1209 (add-before 'check 'set-temporary-home
1200 ;; Tests want to write into HOME. 1210 ;; Tests want to write into HOME.
1201 (lambda _ 1211 (lambda _
1202 (setenv "HOME" "/tmp")))))) 1212 (setenv "HOME" "/tmp"))))))
1203 (native-inputs 1213 (native-inputs
1204 `(("docbook-xml" ,docbook-xml-4.3) 1214 (list docbook-xml-4.3
1205 ("gettext" ,gettext-minimal) 1215 gettext-minimal
1206 ("glib:bin" ,glib "bin") 1216 `(,glib "bin")
1207 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) 1217 gsettings-desktop-schemas
1208 ("gtk-doc" ,gtk-doc/stable) 1218 gtk-doc/stable
1209 ("pkg-config" ,pkg-config))) 1219 pkg-config))
1210 (inputs 1220 (inputs
1211 (list avahi libgudev libsoup-minimal-2)) 1221 (list avahi
1212 (synopsis "WebDav server implementation using libsoup") 1222 libgudev
1213 (description "PhoDav was initially developed as a file-sharing mechanism for Spice, 1223 libsoup))
1224 (synopsis "WebDav server implementation using libsoup")
1225 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
1214but it is generic enough to be reused in other projects, 1226but it is generic enough to be reused in other projects,
1215in particular in the GNOME desktop.") 1227in particular in the GNOME desktop.")
1216 (home-page "https://wiki.gnome.org/phodav") 1228 (home-page "https://wiki.gnome.org/phodav")
1217 (license license:lgpl2.1+))) 1229 (license license:lgpl2.1+)))
1218 1230
1219(define-public gnome-color-manager 1231(define-public gnome-color-manager
1220 (package 1232 (package
@@ -1307,7 +1319,6 @@ in the GNOME desktop.")
1307 ("pkg-config" ,pkg-config))) 1319 ("pkg-config" ,pkg-config)))
1308 (inputs 1320 (inputs
1309 `(("gnome-online-accounts" ,gnome-online-accounts) 1321 `(("gnome-online-accounts" ,gnome-online-accounts)
1310 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1311 ("grilo" ,grilo) 1322 ("grilo" ,grilo)
1312 ("libgdata" ,libgdata) 1323 ("libgdata" ,libgdata)
1313 ("libgfbgraph" ,gfbgraph) 1324 ("libgfbgraph" ,gfbgraph)
@@ -1323,80 +1334,115 @@ It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
1323 1334
1324(define-public gssdp 1335(define-public gssdp
1325 (package 1336 (package
1326 (name "gssdp") 1337 (name "gssdp")
1327 (version "1.2.3") 1338 (version "1.5.2")
1328 (source (origin 1339 (source (origin
1329 (method url-fetch) 1340 (method url-fetch)
1330 (uri (string-append "mirror://gnome/sources/" name "/" 1341 (uri (string-append "mirror://gnome/sources/" name "/"
1331 (version-major+minor version) "/" 1342 (version-major+minor version) "/"
1332 name "-" version ".tar.xz")) 1343 name "-" version ".tar.xz"))
1333 (sha256 1344 (sha256
1334 (base32 1345 (base32
1335 "1s57i8a8wnnxnsfl27cq4503dkdlzbrhry5zpg23sfqfffvdqqx2")))) 1346 "07hn2xma2yh17v7rlvcaibkn16bx4l9qig3mlb8hdp6qfiraqh7b"))))
1336 (build-system meson-build-system) 1347 (build-system meson-build-system)
1337 (native-inputs 1348 (native-inputs
1338 `(("gettext" ,gettext-minimal) 1349 (list gettext-minimal
1339 ("glib:bin" ,glib "bin") 1350 `(,glib "bin")
1340 ("gobject-introspection" ,gobject-introspection) 1351 gi-docgen
1341 ("gtk-doc" ,gtk-doc/stable) 1352 gobject-introspection
1342 ("pkg-config" ,pkg-config) 1353 pkg-config
1343 ("vala" ,vala))) 1354 vala))
1344 (inputs 1355 (inputs
1345 (list gtk+)) 1356 (list gtk))
1346 (propagated-inputs 1357 (propagated-inputs
1347 ;; The .pc file "Requires" libsoup-2.4. 1358 ;; The .pc file "Requires" libsoup.
1348 `(("libsoup" ,libsoup-minimal-2))) 1359 (list libsoup))
1349 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery 1360 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
1350Protocol} for GNOME") 1361Protocol} for GNOME")
1351 (description "This package provides a library to handle resource discovery 1362 (description "This package provides a library to handle resource discovery
1352and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and 1363and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
1353a debugging tool, @command{gssdp-device-sniffer}.") 1364a debugging tool, @command{gssdp-device-sniffer}.")
1354 (home-page "https://gitlab.gnome.org/GNOME/gssdp") 1365 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
1355 (license license:lgpl2.0+))) 1366 (license license:lgpl2.0+)))
1367
1368(define-public gssdp-1.4
1369 (package
1370 (inherit gssdp)
1371 (name "gssdp")
1372 (version "1.4.0.1")
1373 (source (origin
1374 (method url-fetch)
1375 (uri (string-append "mirror://gnome/sources/" name "/"
1376 (version-major+minor version) "/"
1377 name "-" version ".tar.xz"))
1378 (sha256
1379 (base32
1380 "10hm8cgh2p8441xc83kswjgghrrqpzgblvc5523jp0pvayfq8xl6"))))
1381 (propagated-inputs (modify-inputs (package-propagated-inputs gssdp)
1382 (replace "libsoup" libsoup-minimal-2)))))
1356 1383
1357(define-public gupnp 1384(define-public gupnp
1358 (package 1385 (package
1359 (name "gupnp") 1386 (name "gupnp")
1360 (version "1.2.4") 1387 (version "1.5.4")
1361 (source (origin 1388 (source (origin
1362 (method url-fetch) 1389 (method url-fetch)
1363 (uri (string-append "mirror://gnome/sources/" name "/" 1390 (uri (string-append "mirror://gnome/sources/" name "/"
1364 (version-major+minor version) "/" 1391 (version-major+minor version) "/"
1365 name "-" version ".tar.xz")) 1392 name "-" version ".tar.xz"))
1366 (sha256 1393 (sha256
1367 (base32 1394 (base32
1368 "1ld7mrpdv9cszmfzh7i19qx4li25j3fr7x1jp38l8phzlmz3187p")))) 1395 "0y0v0m6afnx879hjvhj2lrawp9qhpyp8mbds0yp544imghajk0wq"))))
1369 (build-system meson-build-system) 1396 (build-system meson-build-system)
1370 (arguments 1397 (arguments
1371 `(#:phases 1398 `(#:phases
1372 (modify-phases %standard-phases 1399 (modify-phases %standard-phases
1373 (add-before 'check 'pre-check 1400 (add-before 'check 'pre-check
1374 (lambda _ 1401 (lambda _
1375 ;; Tests require a writable HOME. 1402 ;; Tests require a writable HOME.
1376 (setenv "HOME" (getcwd))))))) 1403 (setenv "HOME" (getcwd)))))))
1377 (native-inputs 1404 (native-inputs
1378 `(("gettext" ,gettext-minimal) 1405 (list gettext-minimal
1379 ("glib:bin" ,glib "bin") 1406 `(,glib "bin")
1380 ("gobject-introspection" ,gobject-introspection) 1407 gobject-introspection
1381 ("gtk-doc" ,gtk-doc/stable) 1408 gtk-doc/stable
1382 ("pkg-config" ,pkg-config) 1409 pkg-config
1383 ("vala" ,vala))) 1410 vala))
1384 (inputs 1411 (propagated-inputs
1385 (list gssdp gtk+ libsoup)) 1412 ;; These libraries are required by the .pc file.
1386 (propagated-inputs 1413 (list glib
1387 (list ;; For ‘org.gnome.system.proxy’. 1414 gsettings-desktop-schemas ;for ‘org.gnome.system.proxy’.
1388 gsettings-desktop-schemas)) 1415 gssdp
1389 (synopsis "PnP API for GNOME") 1416 libsoup
1390 (description "This package provides GUPnP, an object-oriented framework 1417 libxml2))
1418 (synopsis "PnP API for GNOME")
1419 (description "This package provides GUPnP, an object-oriented framework
1391for creating UPnP devices and control points, written in C using 1420for creating UPnP devices and control points, written in C using
1392@code{GObject} and @code{libsoup}.") 1421@code{GObject} and @code{libsoup}.")
1393 (home-page "https://gitlab.gnome.org/GNOME/gupnp") 1422 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
1394 (license license:lgpl2.0+))) 1423 (license license:lgpl2.0+)))
1424
1425(define-public gupnp-1.4
1426 (package
1427 (inherit gupnp)
1428 (name "gupnp")
1429 (version "1.4.0")
1430 (source (origin
1431 (method url-fetch)
1432 (uri (string-append "mirror://gnome/sources/" name "/"
1433 (version-major+minor version) "/"
1434 name "-" version ".tar.xz"))
1435 (sha256
1436 (base32
1437 "0vz3ifs8mi3zaz8zj8v27zfkf6xg82y39mcgqspa38jdp01gn3sr"))))
1438 (propagated-inputs (modify-inputs (package-propagated-inputs gupnp)
1439 (replace "libsoup" libsoup-minimal-2)
1440 (replace "gssdp" gssdp-1.4)))))
1395 1441
1396(define-public gupnp-dlna 1442(define-public gupnp-dlna
1397 (package 1443 (package
1398 (name "gupnp-dlna") 1444 (name "gupnp-dlna")
1399 (version "0.10.5") 1445 (version "0.12.0")
1400 (source (origin 1446 (source (origin
1401 (method url-fetch) 1447 (method url-fetch)
1402 (uri (string-append "mirror://gnome/sources/" name "/" 1448 (uri (string-append "mirror://gnome/sources/" name "/"
@@ -1404,8 +1450,8 @@ for creating UPnP devices and control points, written in C using
1404 name "-" version ".tar.xz")) 1450 name "-" version ".tar.xz"))
1405 (sha256 1451 (sha256
1406 (base32 1452 (base32
1407 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj")))) 1453 "1rj8j2nz835slqs09bfp6hmyyf6v5azwjzin7v9jhmmwhmpvjlrx"))))
1408 (build-system gnu-build-system) 1454 (build-system meson-build-system)
1409 (native-inputs 1455 (native-inputs
1410 (list gettext-minimal 1456 (list gettext-minimal
1411 `(,glib "bin") 1457 `(,glib "bin")
@@ -1428,7 +1474,7 @@ given profile, etc. DLNA is a subset of UPnP A/V.")
1428(define-public gupnp-av 1474(define-public gupnp-av
1429 (package 1475 (package
1430 (name "gupnp-av") 1476 (name "gupnp-av")
1431 (version "0.12.11") 1477 (version "0.14.1")
1432 (source (origin 1478 (source (origin
1433 (method url-fetch) 1479 (method url-fetch)
1434 (uri (string-append "mirror://gnome/sources/" name "/" 1480 (uri (string-append "mirror://gnome/sources/" name "/"
@@ -1436,8 +1482,8 @@ given profile, etc. DLNA is a subset of UPnP A/V.")
1436 name "-" version ".tar.xz")) 1482 name "-" version ".tar.xz"))
1437 (sha256 1483 (sha256
1438 (base32 1484 (base32
1439 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8")))) 1485 "0kry7arwmvs8b4175wia3l0s02ap1shq68f29g2xjrhc9g6f175p"))))
1440 (build-system gnu-build-system) 1486 (build-system meson-build-system)
1441 (native-inputs 1487 (native-inputs
1442 (list gettext-minimal 1488 (list gettext-minimal
1443 `(,glib "bin") 1489 `(,glib "bin")
@@ -1457,7 +1503,7 @@ and implementation of UPnP A/V profiles.")
1457(define-public libmediaart 1503(define-public libmediaart
1458 (package 1504 (package
1459 (name "libmediaart") 1505 (name "libmediaart")
1460 (version "1.9.5") 1506 (version "1.9.6")
1461 (source (origin 1507 (source (origin
1462 (method url-fetch) 1508 (method url-fetch)
1463 (uri (string-append "mirror://gnome/sources/" name "/" 1509 (uri (string-append "mirror://gnome/sources/" name "/"
@@ -1465,13 +1511,16 @@ and implementation of UPnP A/V profiles.")
1465 name "-" version ".tar.xz")) 1511 name "-" version ".tar.xz"))
1466 (sha256 1512 (sha256
1467 (base32 1513 (base32
1468 "1mlw1qgj8nkd9ll6b6h54r1gfdy3zp8a8xqz7qfyfaj85jjgbph7")))) 1514 "05vzcxm8fqizz77qzdxlsqb5lsqzc4681sy8z63haf6vswjm1g63"))))
1469 (build-system meson-build-system) 1515 (build-system meson-build-system)
1470 (native-inputs 1516 (native-inputs
1471 (list `(,glib "bin") pkg-config)) 1517 (list `(,glib "bin")
1518 gettext-minimal
1519 gobject-introspection
1520 pkg-config
1521 vala))
1472 (inputs 1522 (inputs
1473 (list gdk-pixbuf gettext-minimal gobject-introspection 1523 (list gdk-pixbuf))
1474 `(,gtk+ "doc") vala))
1475 (synopsis "Media art library for the GNOME desktop") 1524 (synopsis "Media art library for the GNOME desktop")
1476 (description 1525 (description
1477 "The libmediaart library is the foundation for media art caching, 1526 "The libmediaart library is the foundation for media art caching,
@@ -1481,68 +1530,67 @@ extraction, and lookup for applications on the desktop.")
1481 1530
1482(define-public gnome-initial-setup 1531(define-public gnome-initial-setup
1483 (package 1532 (package
1484 (name "gnome-initial-setup") 1533 (name "gnome-initial-setup")
1485 (version "40.4") 1534 (version "42.2")
1486 (source (origin 1535 (source (origin
1487 (method url-fetch) 1536 (method url-fetch)
1488 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/" 1537 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
1489 (version-major version) 1538 (version-major version)
1490 "/gnome-initial-setup-" version ".tar.xz")) 1539 "/gnome-initial-setup-" version ".tar.xz"))
1491 (sha256 1540 (sha256
1492 (base32 1541 (base32
1493 "06q3p4f8g9zr7a4mw3qr556mi0dg9qzrj8n46ybdz93fxs26aaj1")))) 1542 "0yxy39a7d2whphd0jskvra5q8zy4v7m7lziy5fxibgls4j5xk0sd"))))
1494 (build-system meson-build-system) 1543 (build-system meson-build-system)
1495 (arguments 1544 (arguments
1496 `(#:configure-flags '(;; Enable camera support for user selfie. 1545 (list
1497 "-Dcheese=auto" 1546 #:configure-flags #~(list "-Dsystemd=false")
1498 "-Dsystemd=false") 1547 #:glib-or-gtk? #t
1499 #:phases (modify-phases %standard-phases 1548 #:phases
1500 (add-after 'unpack 'set-gkbd-file-name 1549 #~(modify-phases %standard-phases
1501 (lambda* (#:key inputs #:allow-other-keys) 1550 (add-after 'unpack 'set-gkbd-file-name
1502 ;; Allow the "Preview" button in the keyboard layout 1551 (lambda* (#:key inputs #:allow-other-keys)
1503 ;; selection dialog to display the layout. 1552 ;; Allow the "Preview" button in the keyboard layout
1504 (let ((libgnomekbd (assoc-ref inputs "libgnomekbd"))) 1553 ;; selection dialog to display the layout.
1505 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c" 1554 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
1506 (("\"gkbd-keyboard-display") 1555 (("\"gkbd-keyboard-display")
1507 (string-append "\"" libgnomekbd 1556 (string-append "\"" (search-input-file
1508 "/bin/gkbd-keyboard-display"))) 1557 inputs
1509 #t)))))) 1558 "bin/gkbd-keyboard-display")))))))))
1510 (native-inputs 1559 (native-inputs
1511 `(("gettext" ,gettext-minimal) 1560 (list gettext-minimal
1512 ("glib:bin" ,glib "bin") 1561 `(,glib "bin")
1513 ("gobject-introspection" ,gobject-introspection) 1562 gobject-introspection
1514 ("gtk+:bin" ,gtk+ "bin") 1563 pkg-config))
1515 ("pkg-config" ,pkg-config))) 1564 (inputs
1516 (inputs 1565 (list accountsservice
1517 `(("accountsservice" ,accountsservice) 1566 cheese
1518 ;("adwaita-icon-theme" ,adwaita-icon-theme) 1567 elogind
1519 ("elogind" ,elogind) 1568 gdm
1520 ("gdm" ,gdm) 1569 geoclue
1521 ("geoclue" ,geoclue) 1570 gnome-desktop
1522 ("gnome-desktop" ,gnome-desktop) 1571 gnome-online-accounts-3.44
1523 ("gnome-online-accounts" ,gnome-online-accounts) 1572 gstreamer
1524 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib") 1573 ibus
1525 ("gstreamer" ,gstreamer) 1574 json-glib
1526 ("ibus" ,ibus) 1575 mit-krb5
1527 ("json-glib" ,json-glib) 1576 libgnomekbd
1528 ("krb5" ,mit-krb5) 1577 libgweather4-with-libsoup2
1529 ("libgweather" ,libgweather) 1578 libhandy
1530 ("libnma" ,libnma) 1579 libnma
1531 ("libsecret" ,libsecret) 1580 libpwquality
1532 ("network-manager" ,network-manager) 1581 libsecret
1533 ("packagekit" ,packagekit) 1582 network-manager
1534 ("polkit" ,polkit) 1583 packagekit
1535 ("pwquality" ,libpwquality) 1584 polkit
1536 ("rest" ,rest) 1585 rest
1537 ("upower" ,upower) 1586 upower
1538 ("webkitgtk" ,webkitgtk-with-libsoup2) 1587 webkitgtk-with-libsoup2))
1539 ("libgnomekbd" ,libgnomekbd))) 1588 (synopsis "Initial setup wizard for GNOME desktop")
1540 (synopsis "Initial setup wizard for GNOME desktop") 1589 (description "This package provides a set-up wizard when a
1541 (description "This package provides a set-up wizard when a
1542user logs into GNOME for the first time. It typically provides a 1590user logs into GNOME for the first time. It typically provides a
1543tour of all gnome components and allows the user to set them up.") 1591tour of all gnome components and allows the user to set them up.")
1544 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup") 1592 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
1545 (license license:gpl2))) 1593 (license license:gpl2)))
1546 1594
1547(define-public gnome-user-share 1595(define-public gnome-user-share
1548 (package 1596 (package
@@ -1643,7 +1691,7 @@ to preview files on the GNOME desktop.")
1643(define-public rygel 1691(define-public rygel
1644 (package 1692 (package
1645 (name "rygel") 1693 (name "rygel")
1646 (version "0.40.4") 1694 (version "0.41.2")
1647 (source (origin 1695 (source (origin
1648 (method url-fetch) 1696 (method url-fetch)
1649 (uri (string-append "mirror://gnome/sources/" name "/" 1697 (uri (string-append "mirror://gnome/sources/" name "/"
@@ -1651,7 +1699,7 @@ to preview files on the GNOME desktop.")
1651 name "-" version ".tar.xz")) 1699 name "-" version ".tar.xz"))
1652 (sha256 1700 (sha256
1653 (base32 1701 (base32
1654 "12rl1bgvwbdmnhva57b22q7d2pwqvi2rizygiyy6qpv1x3dqlvbk")))) 1702 "0wivd60hn115ar3hsrsa595kpxzp8gwq30ksh32qlq8j9dhlq65i"))))
1655 (build-system meson-build-system) 1703 (build-system meson-build-system)
1656 (arguments 1704 (arguments
1657 ;; Disable the tracker plugin. 1705 ;; Disable the tracker plugin.
@@ -1705,7 +1753,7 @@ client devices can handle.")
1705(define-public libnma 1753(define-public libnma
1706 (package 1754 (package
1707 (name "libnma") 1755 (name "libnma")
1708 (version "1.8.28") 1756 (version "1.10.2")
1709 (source (origin 1757 (source (origin
1710 (method url-fetch) 1758 (method url-fetch)
1711 (uri (string-append "mirror://gnome/sources/" name "/" 1759 (uri (string-append "mirror://gnome/sources/" name "/"
@@ -1713,29 +1761,31 @@ client devices can handle.")
1713 name "-" version ".tar.xz")) 1761 name "-" version ".tar.xz"))
1714 (sha256 1762 (sha256
1715 (base32 1763 (base32
1716 "09mp6k0hfam1vyyv9kcd8j4gb2r58i05ipx2nswb58ris599bxja")))) 1764 "0h095a26w3sgbspsf7wzz8ddg62j3jb9ckrrv41k7cdp0k2dkhsg"))))
1717 (build-system meson-build-system) 1765 (build-system meson-build-system)
1718 (arguments 1766 (arguments
1719 `(#:phases 1767 `(#:configure-flags (list "-Dlibnma_gtk4=true")
1768 #:phases
1720 (modify-phases %standard-phases 1769 (modify-phases %standard-phases
1721 (add-after 'unpack 'patch-docbook-xml 1770 (add-after 'unpack 'patch-docbook-xml
1722 (lambda* (#:key inputs #:allow-other-keys) 1771 (lambda* (#:key inputs #:allow-other-keys)
1723 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml") 1772 (substitute* "libnma-docs.xml"
1724 "/xml/dtd/docbook"))) 1773 (("http://.*/docbookx\\.dtd")
1725 (substitute* "libnma-docs.xml" 1774 (search-input-file
1726 (("http://.*/docbookx\\.dtd") 1775 inputs "xml/dtd/docbook/docbookx.dtd"))))))))
1727 (string-append xmldoc "/docbookx.dtd")))
1728 #t))))))
1729 (native-inputs 1776 (native-inputs
1730 `(("docbook-xml" ,docbook-xml-4.3) 1777 (list docbook-xml-4.3
1731 ("gettext" ,gettext-minimal) 1778 gettext-minimal
1732 ("glib:bin" ,glib "bin") 1779 `(,glib "bin")
1733 ("gtk-doc" ,gtk-doc/stable) 1780 gtk-doc/stable
1734 ("gobject-introspection" ,gobject-introspection) 1781 gobject-introspection
1735 ("pkg-config" ,pkg-config) 1782 pkg-config
1736 ("vala" ,vala))) 1783 vala))
1737 (inputs 1784 (inputs
1738 (list gcr gtk+ iso-codes mobile-broadband-provider-info 1785 (list gcr
1786 gtk
1787 iso-codes
1788 mobile-broadband-provider-info
1739 network-manager)) 1789 network-manager))
1740 (synopsis "Network Manager's applet library") 1790 (synopsis "Network Manager's applet library")
1741 (description "Libnma is an applet library for Network Manager. It was 1791 (description "Libnma is an applet library for Network Manager. It was
@@ -1885,7 +1935,7 @@ and running smart commands.")
1885(define-public gnome-user-docs 1935(define-public gnome-user-docs
1886 (package 1936 (package
1887 (name "gnome-user-docs") 1937 (name "gnome-user-docs")
1888 (version "40.5") 1938 (version "42.0")
1889 (source 1939 (source
1890 (origin 1940 (origin
1891 (method url-fetch) 1941 (method url-fetch)
@@ -1893,7 +1943,7 @@ and running smart commands.")
1893 (version-major version) 1943 (version-major version)
1894 "/gnome-user-docs-" version ".tar.xz")) 1944 "/gnome-user-docs-" version ".tar.xz"))
1895 (sha256 1945 (sha256
1896 (base32 "0p6ysdqlfc7vvzsrcanl9bhsc7666sv42xxzpbgsf5j55z3yrkpr")))) 1946 (base32 "01g9smkk2sj3yrih2wjn6vx9av855n7w6nqf9wpxvfq086h7vcmj"))))
1897 (build-system gnu-build-system) 1947 (build-system gnu-build-system)
1898 (native-inputs 1948 (native-inputs
1899 (list gettext-minimal itstool pkg-config libxml2)) 1949 (list gettext-minimal itstool pkg-config libxml2))
@@ -1980,7 +2030,7 @@ formats like PNG, SVG, PDF and EPS.")
1980 (propagated-inputs 2030 (propagated-inputs
1981 `(("gcr" ,gcr) 2031 `(("gcr" ,gcr)
1982 ("glib" ,glib) 2032 ("glib" ,glib)
1983 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib") 2033 ("gnome-online-accounts" ,gnome-online-accounts)
1984 ("json-glib" ,json-glib) 2034 ("json-glib" ,json-glib)
1985 ("liboauth" ,liboauth) 2035 ("liboauth" ,liboauth)
1986 ("libsoup" ,libsoup-minimal-2) 2036 ("libsoup" ,libsoup-minimal-2)
@@ -2024,7 +2074,7 @@ to other formats.")
2024(define-public gnome-characters 2074(define-public gnome-characters
2025 (package 2075 (package
2026 (name "gnome-characters") 2076 (name "gnome-characters")
2027 (version "40.0") 2077 (version "42.0")
2028 (source 2078 (source
2029 (origin 2079 (origin
2030 (method url-fetch) 2080 (method url-fetch)
@@ -2033,28 +2083,35 @@ to other formats.")
2033 "/gnome-characters-" version ".tar.xz")) 2083 "/gnome-characters-" version ".tar.xz"))
2034 (sha256 2084 (sha256
2035 (base32 2085 (base32
2036 "0z2xa4w921bzpzj6gv88pvbrijcnnwni6jxynwz0ybaravyzaqha")))) 2086 "1y40g7k7yyzikbbxhf69q4c0221lga1cli1p617v99pq2swgz82x"))))
2037 (build-system meson-build-system) 2087 (build-system meson-build-system)
2038 (arguments 2088 (arguments
2039 `(#:glib-or-gtk? #t 2089 (list
2040 #:meson ,meson-0.60 2090 #:glib-or-gtk? #t
2041 #:phases (modify-phases %standard-phases 2091 #:phases #~(modify-phases %standard-phases
2042 (add-after 'install 'wrap 2092 (add-after 'unpack 'disable-gtk-update-icon-cache
2043 (lambda* (#:key outputs #:allow-other-keys) 2093 (lambda _
2044 ;; GNOME Characters needs Typelib files from GTK and 2094 (setenv "DESTDIR" "/")))
2045 ;; gnome-desktop. 2095 (add-after 'install 'wrap
2046 (wrap-program (string-append (assoc-ref outputs "out") 2096 (lambda* (#:key outputs #:allow-other-keys)
2047 "/bin/gnome-characters") 2097 ;; GNOME Characters needs Typelib files from GTK and
2048 `("GI_TYPELIB_PATH" ":" prefix 2098 ;; gnome-desktop.
2049 (,(getenv "GI_TYPELIB_PATH"))))))))) 2099 (wrap-program (search-input-file outputs
2100 "bin/gnome-characters")
2101 `("GI_TYPELIB_PATH" ":" prefix
2102 (,(getenv "GI_TYPELIB_PATH")))))))))
2050 (native-inputs 2103 (native-inputs
2051 `(("gettext" ,gettext-minimal) 2104 (list gettext-minimal
2052 ("glib:bin" ,glib "bin") 2105 `(,glib "bin")
2053 ("gtk+:bin" ,gtk+ "bin") 2106 pkg-config
2054 ("pkg-config" ,pkg-config) 2107 python-minimal))
2055 ("python" ,python-minimal)))
2056 (inputs 2108 (inputs
2057 (list gjs gtk+ libhandy libunistring gnome-desktop)) 2109 (list gjs
2110 gnome-desktop
2111 gtk
2112 libadwaita
2113 libhandy
2114 libunistring))
2058 (home-page "https://wiki.gnome.org/Apps/CharacterMap") 2115 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
2059 (synopsis "Find and insert unusual characters") 2116 (synopsis "Find and insert unusual characters")
2060 (description "Characters is a simple utility application to find 2117 (description "Characters is a simple utility application to find
@@ -2087,7 +2144,7 @@ commonly used macros.")
2087(define-public gnome-contacts 2144(define-public gnome-contacts
2088 (package 2145 (package
2089 (name "gnome-contacts") 2146 (name "gnome-contacts")
2090 (version "40.0") 2147 (version "42.0")
2091 (source (origin 2148 (source (origin
2092 (method url-fetch) 2149 (method url-fetch)
2093 (uri (string-append "mirror://gnome/sources/gnome-contacts/" 2150 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
@@ -2095,48 +2152,42 @@ commonly used macros.")
2095 name "-" version ".tar.xz")) 2152 name "-" version ".tar.xz"))
2096 (sha256 2153 (sha256
2097 (base32 2154 (base32
2098 "0w2g5xhw65adzvwzakrj5kaim4sw1w7s8qqwm3nm6inq50znzpn9")))) 2155 "05jj5kiab13crm18r166w7h31jpny7f3px98q7d2ix93vj7w60l8"))))
2099 (build-system meson-build-system) 2156 (build-system meson-build-system)
2100 (arguments 2157 (arguments
2101 `(#:configure-flags '("-Dcheese=disabled") 2158 `(#:glib-or-gtk? #t
2102 #:phases 2159 #:phases
2103 (modify-phases %standard-phases 2160 (modify-phases %standard-phases
2104 (add-after 'unpack 'generate-vapis
2105 (lambda* (#:key inputs #:allow-other-keys)
2106 ;; To generate goa's missing .vapi file
2107 (define goa
2108 (assoc-ref inputs "gnome-online-accounts:lib"))
2109
2110 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
2111 "--library=goa-1.0"
2112 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))))
2113 (add-after 'unpack 'skip-gtk-update-icon-cache 2161 (add-after 'unpack 'skip-gtk-update-icon-cache
2114 ;; Don't create 'icon-theme.cache'.
2115 (lambda _ 2162 (lambda _
2116 (substitute* "build-aux/meson_post_install.py" 2163 (substitute* "meson.build"
2117 (("gtk-update-icon-cache") "true"))))))) 2164 (("gtk_update_icon_cache: true")
2165 "gtk_update_icon_cache: false")))))))
2118 (native-inputs 2166 (native-inputs
2119 `(("docbook-xml" ,docbook-xml-4.2) 2167 (list desktop-file-utils
2120 ("docbook-xsl" ,docbook-xsl) 2168 docbook-xml
2121 ("glib:bin" ,glib "bin") 2169 docbook-xml-4.2
2122 ("pkg-config" ,pkg-config))) 2170 docbook-xsl
2171 gettext-minimal
2172 `(,glib "bin")
2173 gobject-introspection
2174 libxslt
2175 pkg-config))
2123 (inputs 2176 (inputs
2124 `(("docbook-xml" ,docbook-xml) 2177 (list evolution-data-server-3.44
2125 ("dockbook-xsl" ,docbook-xsl) 2178 gnome-desktop
2126 ("evolution-data-server" ,evolution-data-server) 2179 gnome-online-accounts-3.44
2127 ("gettext" ,gettext-minimal) 2180 gst-plugins-base
2128 ("gnome-desktop" ,gnome-desktop) 2181 gtk
2129 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib") 2182 libadwaita
2130 ("gobject-introspection" ,gobject-introspection) 2183 libgee
2131 ("gst-plugins-base" ,gst-plugins-base) 2184 libhandy
2132 ("gtk+" ,gtk+) 2185 libportal
2133 ("libgee" ,libgee) 2186 telepathy-glib
2134 ("libhandy" ,libhandy) 2187 vala))
2135 ("libxslt" ,libxslt)
2136 ("telepathy-glib" ,telepathy-glib)
2137 ("vala" ,vala)))
2138 (propagated-inputs 2188 (propagated-inputs
2139 (list folks telepathy-mission-control)) 2189 (list folks-with-libsoup2
2190 telepathy-mission-control))
2140 (synopsis "GNOME's integrated address book") 2191 (synopsis "GNOME's integrated address book")
2141 (description 2192 (description
2142 "GNOME Contacts organizes your contact information from online and 2193 "GNOME Contacts organizes your contact information from online and
@@ -2147,27 +2198,25 @@ offline sources, providing a centralized place for managing your contacts.")
2147(define-public gnome-desktop 2198(define-public gnome-desktop
2148 (package 2199 (package
2149 (name "gnome-desktop") 2200 (name "gnome-desktop")
2150 (version "40.4") 2201 (version "42.4")
2151 (source 2202 (source
2152 (origin 2203 (origin
2153 (method url-fetch) 2204 (method url-fetch)
2154 (uri (string-append "mirror://gnome/sources/" name "/" 2205 (uri (string-append "mirror://gnome/sources/" name "/"
2155 (version-major version) "/" 2206 (version-major version) "/"
2156 name "-" version ".tar.xz")) 2207 name "-" version ".tar.xz"))
2157 (sha256 2208 (sha256
2158 (base32 2209 (base32
2159 "1vs5knn2yj6a449p9bn5w5407i1yvxfxg8xv844qgl70hpsrdbl8")))) 2210 "09ddr5fzhh02fcn7xl1wy18qfsdqryd5msl2nbhdnsbr0vawkqhw"))))
2160 (build-system meson-build-system) 2211 (build-system meson-build-system)
2161 (arguments 2212 (arguments
2162 '(#:phases 2213 '(#:phases
2163 (modify-phases %standard-phases 2214 (modify-phases %standard-phases
2164 (add-before 'configure 'patch-path 2215 (add-before 'configure 'patch-path
2165 (lambda* (#:key inputs #:allow-other-keys) 2216 (lambda* (#:key inputs #:allow-other-keys)
2166 (let ((libc (assoc-ref inputs "libc"))) 2217 (substitute* "libgnome-desktop/gnome-languages.c"
2167 (substitute* "libgnome-desktop/gnome-languages.c" 2218 (("\"locale\"")
2168 (("\"locale\"") 2219 (format #f "~s" (search-input-file inputs "bin/locale"))))))
2169 (string-append "\"" libc "/bin/locale\"")))
2170 #t)))
2171 (add-before 'configure 'patch-bubblewrap 2220 (add-before 'configure 'patch-bubblewrap
2172 (lambda* (#:key inputs #:allow-other-keys) 2221 (lambda* (#:key inputs #:allow-other-keys)
2173 (substitute* "libgnome-desktop/gnome-desktop-thumbnail-script.c" 2222 (substitute* "libgnome-desktop/gnome-desktop-thumbnail-script.c"
@@ -2179,8 +2228,8 @@ offline sources, providing a centralized place for managing your contacts.")
2179 "\", \"" 2228 "\", \""
2180 (%store-directory) 2229 (%store-directory)
2181 "\",")) 2230 "\","))
2182 (("\"--ro-bind\", \"/etc/ld.so.cache\", \"/etc/ld.so.cache\",") "")) 2231 (("\"--ro-bind\", \"/etc/ld.so.cache\", \"/etc/ld.so.cache\",")
2183 #t)) 2232 ""))))
2184 (add-before 'check 'pre-check 2233 (add-before 'check 'pre-check
2185 (lambda* (#:key inputs #:allow-other-keys) 2234 (lambda* (#:key inputs #:allow-other-keys)
2186 ;; Tests require a running X server and locales. 2235 ;; Tests require a running X server and locales.
@@ -2192,26 +2241,27 @@ offline sources, providing a centralized place for managing your contacts.")
2192 (search-input-directory inputs 2241 (search-input-directory inputs
2193 "lib/locale"))))))) 2242 "lib/locale")))))))
2194 (native-inputs 2243 (native-inputs
2195 `(("glib:bin" ,glib "bin") ; for gdbus-codegen 2244 (list `(,glib "bin") ;for gdbus-codegen
2196 ("glibc-locales" ,glibc-locales) ; for tests 2245 glibc-locales ;for tests
2197 ("gobject-introspection" ,gobject-introspection) 2246 gobject-introspection
2198 ("itstool" ,itstool) 2247 itstool
2199 ("intltool" ,intltool) 2248 intltool
2200 ("pkg-config" ,pkg-config) 2249 pkg-config
2201 ("xmllint" ,libxml2) 2250 libxml2
2202 ("xorg-server" ,xorg-server-for-tests))) 2251 xorg-server-for-tests))
2203 (propagated-inputs 2252 (propagated-inputs
2204 ;; Required by gnome-desktop-3.0.pc. 2253 ;; Required by gnome-desktop-3.0.pc.
2205 (list gsettings-desktop-schemas 2254 (list gsettings-desktop-schemas-next
2255 gtk
2206 gtk+ 2256 gtk+
2207 iso-codes 2257 iso-codes
2208 libseccomp 2258 libseccomp
2209 libx11 2259 libx11
2210 xkeyboard-config)) 2260 xkeyboard-config))
2211 (inputs 2261 (inputs
2212 (list gdk-pixbuf 2262 (list bubblewrap
2263 gdk-pixbuf
2213 glib 2264 glib
2214 bubblewrap
2215 libxext 2265 libxext
2216 libxkbfile 2266 libxkbfile
2217 libxrandr)) 2267 libxrandr))
@@ -2225,13 +2275,13 @@ There is no API or ABI guarantee, although we are doing our best to provide
2225stability. Documentation for the API is available with gtk-doc. 2275stability. Documentation for the API is available with gtk-doc.
2226 2276
2227The gnome-about program helps find which version of GNOME is installed.") 2277The gnome-about program helps find which version of GNOME is installed.")
2228 ; Some bits under the LGPL. 2278 ; Some bits under the LGPL.
2229 (license license:gpl2+))) 2279 (license license:gpl2+)))
2230 2280
2231(define-public gnome-disk-utility 2281(define-public gnome-disk-utility
2232 (package 2282 (package
2233 (name "gnome-disk-utility") 2283 (name "gnome-disk-utility")
2234 (version "40.2") 2284 (version "42.0")
2235 (source (origin 2285 (source (origin
2236 (method url-fetch) 2286 (method url-fetch)
2237 (uri (string-append "mirror://gnome/sources/" name "/" 2287 (uri (string-append "mirror://gnome/sources/" name "/"
@@ -2239,7 +2289,7 @@ The gnome-about program helps find which version of GNOME is installed.")
2239 name "-" version ".tar.xz")) 2289 name "-" version ".tar.xz"))
2240 (sha256 2290 (sha256
2241 (base32 2291 (base32
2242 "1rr1ypb89p51b6428yqvczmpmylwjfnhnkgx78hzm3vxm3m15lff")))) 2292 "02q906gn420xbf1f0apazryzqfv5b1ammz1vrci66hk79m2n8r8v"))))
2243 (build-system meson-build-system) 2293 (build-system meson-build-system)
2244 (arguments 2294 (arguments
2245 `(#:configure-flags '("-Dlogind=libelogind") 2295 `(#:configure-flags '("-Dlogind=libelogind")
@@ -2249,16 +2299,15 @@ The gnome-about program helps find which version of GNOME is installed.")
2249 ;; Don't create 'icon-theme.cache'. 2299 ;; Don't create 'icon-theme.cache'.
2250 (lambda _ 2300 (lambda _
2251 (substitute* "meson_post_install.py" 2301 (substitute* "meson_post_install.py"
2252 (("gtk-update-icon-cache") "true")) 2302 (("gtk-update-icon-cache") "true")))))))
2253 #t)))))
2254 (native-inputs 2303 (native-inputs
2255 `(("glib:bin" ,glib "bin") 2304 (list docbook-xml
2256 ("intltool" ,intltool) 2305 docbook-xsl
2257 ("pkg-config" ,pkg-config) 2306 `(,glib "bin")
2258 ("docbook-xml" ,docbook-xml) 2307 gettext-minimal
2259 ("docbook-xsl" ,docbook-xsl) 2308 pkg-config
2260 ("libxml2" ,libxml2) 2309 libxml2
2261 ("libxslt" ,libxslt))) 2310 libxslt))
2262 (inputs 2311 (inputs
2263 (list elogind 2312 (list elogind
2264 glib 2313 glib
@@ -2280,7 +2329,7 @@ The gnome-about program helps find which version of GNOME is installed.")
2280(define-public gnome-font-viewer 2329(define-public gnome-font-viewer
2281 (package 2330 (package
2282 (name "gnome-font-viewer") 2331 (name "gnome-font-viewer")
2283 (version "40.0") 2332 (version "42.0")
2284 (source (origin 2333 (source (origin
2285 (method url-fetch) 2334 (method url-fetch)
2286 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/" 2335 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
@@ -2288,33 +2337,34 @@ The gnome-about program helps find which version of GNOME is installed.")
2288 "/gnome-font-viewer-" version ".tar.xz")) 2337 "/gnome-font-viewer-" version ".tar.xz"))
2289 (sha256 2338 (sha256
2290 (base32 2339 (base32
2291 "0hpyi0sz3gcqqs9lkwyk8b6hr39m3n27432x98kxr436jj37dk6j")))) 2340 "1k4dhk5dmkpxb5xpr9vrl7k2fdpi2fidzni1l2hhb891zzgvi8ng"))))
2292 (build-system meson-build-system) 2341 (build-system meson-build-system)
2293 (arguments 2342 (arguments
2294 `(#:meson ,meson-0.60 2343 (list
2295 #:phases 2344 #:phases
2296 (modify-phases %standard-phases 2345 #~(modify-phases %standard-phases
2297 (add-after 'unpack 'patch-post-install-script 2346 (add-after 'unpack 'patch-post-install-script
2298 (lambda _ 2347 (lambda _
2299 (substitute* "meson-postinstall.sh" 2348 (substitute* "meson-postinstall.sh"
2300 (("update-desktop-database") (which "true"))) 2349 (("update-desktop-database") (which "true")))))
2301 #t)) 2350 (add-after 'install 'patch-thumbnailer
2302 (add-after 'install 'patch-thumbnailer 2351 (lambda* (#:key outputs #:allow-other-keys)
2303 (lambda* (#:key outputs #:allow-other-keys) 2352 (substitute*
2304 (let ((out (assoc-ref outputs "out"))) 2353 (search-input-file
2305 (substitute* 2354 outputs "share/thumbnailers/gnome-font-viewer.thumbnailer")
2306 (string-append 2355 (("gnome-thumbnail-font")
2307 out 2356 (search-input-file outputs "bin/gnome-thumbnail-font"))))))))
2308 "/share/thumbnailers/gnome-font-viewer.thumbnailer")
2309 (("gnome-thumbnail-font")
2310 (string-append out "/bin/gnome-thumbnail-font"))))
2311 #t)))))
2312 (native-inputs 2357 (native-inputs
2313 `(("gettext" ,gettext-minimal) 2358 (list gettext-minimal
2314 ("glib:bin" ,glib "bin") 2359 `(,glib "bin")
2315 ("pkg-config" ,pkg-config))) 2360 pkg-config))
2316 (inputs 2361 (inputs
2317 (list glib gnome-desktop gtk+ libhandy libxml2)) 2362 (list glib
2363 gnome-desktop
2364 gtk
2365 libadwaita
2366 libhandy
2367 libxml2))
2318 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer") 2368 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
2319 (synopsis "GNOME Fonts") 2369 (synopsis "GNOME Fonts")
2320 (description "Application to show you the fonts installed on your computer 2370 (description "Application to show you the fonts installed on your computer
@@ -2325,7 +2375,7 @@ the font would look under various sizes.")
2325(define-public gcr 2375(define-public gcr
2326 (package 2376 (package
2327 (name "gcr") 2377 (name "gcr")
2328 (version "3.41.0") 2378 (version "3.41.1")
2329 (source (origin 2379 (source (origin
2330 (method url-fetch) 2380 (method url-fetch)
2331 (uri (string-append "mirror://gnome/sources/" name "/" 2381 (uri (string-append "mirror://gnome/sources/" name "/"
@@ -2333,56 +2383,62 @@ the font would look under various sizes.")
2333 name "-" version ".tar.xz")) 2383 name "-" version ".tar.xz"))
2334 (sha256 2384 (sha256
2335 (base32 2385 (base32
2336 "00fsf82ycac8qi0kkiq759p6jrn63pyz4ksn4wnq7m4ax94zq289")))) 2386 "0kx2pv272p0qc0nq1287gciyn34d95yxg41vq3lzxfzyqaijhwdv"))))
2337 (build-system meson-build-system) 2387 (build-system meson-build-system)
2338 (arguments 2388 (arguments
2339 `(#:meson ,meson-0.60 2389 (list
2340 #:phases 2390 #:phases
2341 (modify-phases %standard-phases 2391 #~(modify-phases %standard-phases
2342 ;; These fail because /var/lib/dbus/machine-id is not present in the 2392 (add-after 'unpack 'remove-fatal-warnings-option
2343 ;; build environment. 2393 ;; Otherwise, the gi-docgen tool would fail because of the
2344 (add-after 'unpack 'disable-failing-tests 2394 ;; "Fontconfig error: No writable cache directories" warnings.
2345 (lambda _ 2395 (lambda _
2346 (substitute* "gcr/meson.build" 2396 (substitute* (find-files "." "^meson\\.build$")
2347 (("[[:blank:]]+'system-prompt',") 2397 ((".*'--fatal-warnings',.*") ""))))
2348 "")) 2398 (add-after 'unpack 'skip-gtk-update-icon-cache
2349 #t)) 2399 ;; Don't create 'icon-theme.cache'.
2350 (add-after 'unpack 'skip-gtk-update-icon-cache 2400 (lambda _
2351 ;; Don't create 'icon-theme.cache'. 2401 (substitute* "meson_post_install.py"
2352 (lambda _ 2402 (("gtk-update-icon-cache") "true"))))
2353 (substitute* "meson_post_install.py" 2403 (add-before 'check 'pre-check
2354 (("gtk-update-icon-cache") "true")) 2404 (lambda _
2355 #t)) 2405 ;; Some tests expect to write to $HOME.
2356 (add-after 'unpack 'fix-systemd-detection 2406 (setenv "HOME" "/tmp")))
2357 (lambda _ 2407 (replace 'check
2358 (substitute* "gcr/gcr-ssh-agent-service.c" 2408 (lambda* (#:key parallel-tests? tests? #:allow-other-keys)
2359 (("#ifdef WITH_SYSTEMD") 2409 (when tests?
2360 "#if (WITH_SYSTEMD)")))) 2410 (setenv "MESON_TESTTHREADS"
2361 (add-before 'check 'pre-check 2411 (if parallel-tests?
2362 (lambda _ 2412 (number->string (parallel-job-count))
2363 ;; Some tests expect to write to $HOME. 2413 "1"))
2364 (setenv "HOME" "/tmp") 2414 ;; Work around the "mock prompter couldn't get session bus
2365 #t))))) 2415 ;; address: Cannot spawn a message bus without a machine-id"
2416 ;; error by manually creating the session bus via
2417 ;; 'dbus-run-session'.
2418 (invoke "dbus-run-session" "--"
2419 "meson" "test" "-t" "0")))))))
2366 (inputs 2420 (inputs
2367 (list dbus gnupg ;called as a child process during tests 2421 (list dbus
2368 libgcrypt libsecret)) 2422 gnupg
2423 libgcrypt
2424 libsecret))
2369 (native-inputs 2425 (native-inputs
2370 `(("python" ,python-wrapper) ;for tests 2426 (list gettext-minimal
2371 ("openssh" ,openssh) ;for tests 2427 gi-docgen
2372 ("pkg-config" ,pkg-config) 2428 `(,glib "bin")
2373 ("gettext" ,gettext-minimal) 2429 gobject-introspection
2374 ("autoconf" ,autoconf) 2430 gtk-doc
2375 ("automake" ,automake) 2431 libxml2
2376 ("libtool" ,libtool) 2432 libxslt
2377 ("gtk-doc" ,gtk-doc) 2433 openssh
2378 ("glib" ,glib "bin") 2434 pkg-config
2379 ("gobject-introspection" ,gobject-introspection) 2435 python-wrapper
2380 ("libxml2" ,libxml2) 2436 vala))
2381 ("vala" ,vala)
2382 ("xsltproc" ,libxslt)))
2383 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc 2437 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
2384 (propagated-inputs 2438 (propagated-inputs
2385 (list p11-kit glib gtk+)) 2439 (list glib
2440 gtk+
2441 p11-kit))
2386 (home-page "https://www.gnome.org") 2442 (home-page "https://www.gnome.org")
2387 (synopsis "Libraries for displaying certificates and accessing key stores") 2443 (synopsis "Libraries for displaying certificates and accessing key stores")
2388 (description 2444 (description
@@ -2479,7 +2535,7 @@ GNOME Desktop.")
2479(define-public gnome-keyring 2535(define-public gnome-keyring
2480 (package 2536 (package
2481 (name "gnome-keyring") 2537 (name "gnome-keyring")
2482 (version "40.0") 2538 (version "42.1")
2483 (source (origin 2539 (source (origin
2484 (method url-fetch) 2540 (method url-fetch)
2485 (uri (string-append "mirror://gnome/sources/" name "/" 2541 (uri (string-append "mirror://gnome/sources/" name "/"
@@ -2487,12 +2543,10 @@ GNOME Desktop.")
2487 name "-" version ".tar.xz")) 2543 name "-" version ".tar.xz"))
2488 (sha256 2544 (sha256
2489 (base32 2545 (base32
2490 "0cdrlcw814zayhvlaxqs1sm9bqlfijlp22dzzd0g5zg2isq4vlm3")))) 2546 "1rp38v4s9116ivycp27w806wihqid48gk3p0czzbg9knri0d1x67"))))
2491 (build-system gnu-build-system) 2547 (build-system gnu-build-system)
2492 (arguments 2548 (arguments
2493 (list 2549 (list
2494 #:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
2495 ;not exist
2496 #:configure-flags 2550 #:configure-flags
2497 #~(list 2551 #~(list
2498 (string-append "--with-pkcs11-config=" 2552 (string-append "--with-pkcs11-config="
@@ -2504,29 +2558,45 @@ GNOME Desktop.")
2504 (add-after 'unpack 'fix-/bin/sh-reference 2558 (add-after 'unpack 'fix-/bin/sh-reference
2505 (lambda _ 2559 (lambda _
2506 (substitute* "po/Makefile.in.in" 2560 (substitute* "po/Makefile.in.in"
2507 (("/bin/sh") (which "sh")))))))) 2561 (("/bin/sh") (which "sh")))))
2562 (delete 'check)
2563 (add-after 'install 'check
2564 (lambda* (#:key tests? parallel-tests? #:allow-other-keys)
2565 (when tests?
2566 (setenv "HOME" "/tmp") ;some tests require a writable HOME
2567 (setenv "XDG_DATA_DIRS" (string-append (getenv "XDG_DATA_DIRS")
2568 ":" #$output "/share"))
2569 (invoke "dbus-run-session" "make" "check" "-j"
2570 (if parallel-tests?
2571 (number->string (parallel-job-count))
2572 "1"))))))))
2508 (inputs 2573 (inputs
2509 (list libgcrypt linux-pam openssh dbus gcr)) 2574 (list dbus
2575 gcr
2576 libgcrypt
2577 linux-pam
2578 openssh))
2510 (native-inputs 2579 (native-inputs
2511 (list pkg-config 2580 (list dbus ;for tests
2581 docbook-xml-4.3
2582 docbook-xml
2583 docbook-xsl
2584 gettext-minimal
2512 `(,glib "bin") 2585 `(,glib "bin")
2513 glib ;for m4 macros 2586 glib ;for m4 macros
2514 python-wrapper ;for tests
2515 intltool
2516 autoconf
2517 automake
2518 libxml2 ;for XML_CATALOG_FILES 2587 libxml2 ;for XML_CATALOG_FILES
2519 libxslt ;for documentation 2588 libxslt ;for documentation
2520 docbook-xml 2589 pkg-config
2521 docbook-xsl)) 2590 python-wrapper)) ;for tests
2522 (propagated-inputs 2591 (propagated-inputs
2523 (list gcr)) 2592 (list gcr))
2524 (home-page "https://www.gnome.org") 2593 (home-page "https://www.gnome.org")
2525 (synopsis "Daemon to store passwords and encryption keys") 2594 (synopsis "Daemon to store passwords and encryption keys")
2526 (description 2595 (description
2527 "gnome-keyring is a program that keeps passwords and other secrets for 2596 "@command{gnome-keyring} is a program that keeps passwords and other
2528users. It is run as a daemon in the session, similar to ssh-agent, and other 2597secrets for users. It is run as a daemon in the session, similar to
2529applications locate it via an environment variable or D-Bus. 2598@command{ssh-agent}, and other applications locate it via an environment
2599variable or D-Bus.
2530 2600
2531The program can manage several keyrings, each with its own master password, 2601The program can manage several keyrings, each with its own master password,
2532and there is also a session keyring which is never stored to disk, but 2602and there is also a session keyring which is never stored to disk, but
@@ -2536,42 +2606,34 @@ forgotten when the session ends.")
2536(define-public evince 2606(define-public evince
2537 (package 2607 (package
2538 (name "evince") 2608 (name "evince")
2539 (version "40.2") 2609 (version "42.3")
2540 (source (origin 2610 (source (origin
2541 (method url-fetch) 2611 (method url-fetch)
2542 (uri "mirror://gnome/sources/evince/40/evince-40.2.tar.xz") 2612 (uri "mirror://gnome/sources/evince/42/evince-42.3.tar.xz")
2543 (sha256 2613 (sha256
2544 (base32 2614 (base32
2545 "0xrwls1bhvny8vvd7mfjy9p26zjch0pd6x6j9jn9g2ka6xwyrxqg")))) 2615 "0pk42icnf4kdcaqaj17mcf4sxi82h1fdg2ds2zdrcv4lbj2czbj9"))))
2546 (build-system meson-build-system) 2616 (build-system meson-build-system)
2547 (arguments 2617 (arguments
2548 `(#:glib-or-gtk? #t 2618 `(#:glib-or-gtk? #t
2549 #:meson ,meson-0.60
2550 #:build-type "release" 2619 #:build-type "release"
2551 #:configure-flags 2620 #:configure-flags '("-Dnautilus=false")
2552 '("-Dnautilus=false"
2553 "-Dintrospection=true"
2554 ;; XXX: Generating the documentation fails because the
2555 ;; libevdocument.devhelp document cannot be created. This seems to be
2556 ;; caused by a problem during the XSL transformation.
2557 "-Dgtk_doc=false")
2558 #:phases 2621 #:phases
2559 (modify-phases %standard-phases 2622 (modify-phases %standard-phases
2560 (add-after 'unpack 'skip-gtk-update-icon-cache 2623 (add-after 'unpack 'skip-gtk-update-icon-cache
2561 ;; Don't create 'icon-theme.cache'. 2624 ;; Don't create 'icon-theme.cache'.
2562 (lambda _ 2625 (lambda _
2563 (substitute* "meson_post_install.py" 2626 (substitute* "meson_post_install.py"
2564 (("gtk-update-icon-cache") "true")) 2627 (("gtk-update-icon-cache") "true")))))))
2565 #t)))))
2566 (inputs 2628 (inputs
2567 (list libarchive 2629 (list libarchive
2568 libgxps 2630 libgxps
2569 libspectre 2631 libspectre
2570 djvulibre 2632 djvulibre
2571 ghostscript 2633 ghostscript
2572 poppler 2634 poppler-next
2573 libtiff 2635 libtiff
2574 texlive-libkpathsea ; for DVI support 2636 texlive-libkpathsea ; for DVI support
2575 gnome-desktop 2637 gnome-desktop
2576 gsettings-desktop-schemas 2638 gsettings-desktop-schemas
2577 gspell 2639 gspell
@@ -2591,13 +2653,14 @@ forgotten when the session ends.")
2591 libsecret 2653 libsecret
2592 libhandy)) 2654 libhandy))
2593 (native-inputs 2655 (native-inputs
2594 `(("itstool" ,itstool) 2656 (list itstool
2595 ("intltool" ,intltool) 2657 gettext-minimal
2596 ("glib" ,glib "bin") 2658 gi-docgen
2597 ("gobject-introspection" ,gobject-introspection) 2659 `(,glib "bin")
2598 ("pkg-config" ,pkg-config) 2660 gobject-introspection
2599 ("xmllint" ,libxml2))) 2661 pkg-config
2600 (home-page "https://www.gnome.org/projects/evince/") 2662 libxml2))
2663 (home-page " https://wiki.gnome.org/Apps")
2601 (synopsis "GNOME's document viewer") 2664 (synopsis "GNOME's document viewer")
2602 (description 2665 (description
2603 "Evince is a document viewer for multiple document formats. It 2666 "Evince is a document viewer for multiple document formats. It
@@ -2645,35 +2708,45 @@ on the GNOME Desktop with a single simple application.")
2645schemas for settings shared by various components of the GNOME desktop.") 2708schemas for settings shared by various components of the GNOME desktop.")
2646 (license license:lgpl2.1+))) 2709 (license license:lgpl2.1+)))
2647 2710
2648(define-public python-liblarch 2711(define-public gsettings-desktop-schemas-next
2649 (package 2712 (package
2650 (name "python-liblarch") 2713 (inherit gsettings-desktop-schemas)
2651 (version "3.0.1") 2714 (name "gsettings-desktop-schemas-next") ;to avoid propagation conflicts
2715 (version "42.0")
2652 (source 2716 (source
2653 (origin 2717 (origin
2654 (method git-fetch) 2718 (method url-fetch)
2655 (uri (git-reference 2719 (uri (string-append "mirror://gnome/sources/" name "/"
2656 (url "https://github.com/getting-things-gnome/liblarch") 2720 (version-major version) "/"
2657 (commit (string-append "v" version)))) 2721 name "-" version ".tar.xz"))
2658 (file-name (git-file-name name version))
2659 (sha256 2722 (sha256
2660 (base32 "0xv2mfvyzipbny3iz8vll77wsqxfwh28xj6bj1ff0l452waph45m")))) 2723 (base32
2724 "1li3fcqwnw20f4j0i21i88fygm0hli8gmzkn4apgf8ynkrd371k6"))))))
2725
2726(define-public python-liblarch
2727 (package
2728 (name "python-liblarch")
2729 (version "3.2.0")
2730 (source (origin
2731 (method git-fetch)
2732 (uri (git-reference
2733 (url "https://github.com/getting-things-gnome/liblarch")
2734 (commit (string-append "v" version))))
2735 (file-name (git-file-name name version))
2736 (sha256
2737 (base32
2738 "125rmrdbc84lapfh8c77zxnmwas20xdfamqmilhv1smkxn2q4sh3"))))
2661 (build-system python-build-system) 2739 (build-system python-build-system)
2662 (arguments 2740 (arguments
2663 `(#:phases 2741 `(#:phases (modify-phases %standard-phases
2664 (modify-phases %standard-phases 2742 (add-before 'check 'start-xserver
2665 (add-before 'check 'start-xserver 2743 (lambda* (#:key inputs #:allow-other-keys)
2666 (lambda* (#:key inputs #:allow-other-keys) 2744 (system (format #f "~a/bin/Xvfb :1 &"
2667 (system (format #f "~a/bin/Xvfb :1 &" 2745 (assoc-ref inputs "xorg-server")))
2668 (assoc-ref inputs "xorg-server"))) 2746 (setenv "DISPLAY" ":1"))))))
2669 (setenv "DISPLAY" ":1") 2747 (native-inputs (list xorg-server-for-tests))
2670 #t))))) 2748 (inputs (list gtk+))
2671 (native-inputs 2749 (propagated-inputs (list python-pygobject))
2672 (list xorg-server-for-tests))
2673 (inputs
2674 (list gtk+))
2675 (propagated-inputs
2676 (list python-pygobject))
2677 (home-page "https://wiki.gnome.org/Projects/liblarch") 2750 (home-page "https://wiki.gnome.org/Projects/liblarch")
2678 (synopsis "Library to easily handle complex data structures") 2751 (synopsis "Library to easily handle complex data structures")
2679 (description 2752 (description
@@ -2689,7 +2762,7 @@ and how they are displayed (View).")
2689(define-public gtg 2762(define-public gtg
2690 (package 2763 (package
2691 (name "gtg") 2764 (name "gtg")
2692 (version "0.5") 2765 (version "0.6")
2693 (source 2766 (source
2694 (origin 2767 (origin
2695 (method git-fetch) 2768 (method git-fetch)
@@ -2698,37 +2771,38 @@ and how they are displayed (View).")
2698 (commit (string-append "v" version)))) 2771 (commit (string-append "v" version))))
2699 (file-name (git-file-name name version)) 2772 (file-name (git-file-name name version))
2700 (sha256 2773 (sha256
2701 (base32 "0b2slm7kjq6q8c7v4m7aqc8m1ynjxn3bl7445srpv1xc0dilq403")))) 2774 (base32 "1wcivqp4z3a2jdr2wdrldzwy9v6hlfp5sk0pmh80znlgvl7q3jiv"))))
2702 (build-system meson-build-system) 2775 (build-system meson-build-system)
2703 (arguments 2776 (arguments
2704 `(#:glib-or-gtk? #t 2777 (list
2705 #:phases 2778 #:glib-or-gtk? #t
2706 (modify-phases %standard-phases 2779 #:imported-modules `(,@%meson-build-system-modules
2707 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap 2780 (guix build python-build-system))
2708 (lambda* (#:key outputs #:allow-other-keys) 2781 #:modules '((guix build meson-build-system)
2709 (let ((prog (string-append (assoc-ref outputs "out") 2782 ((guix build python-build-system) #:prefix python:)
2710 "/bin/gtg")) 2783 (guix build utils))
2711 (pylib (string-append (assoc-ref outputs "out") 2784 #:phases
2712 "/lib/python" 2785 #~(modify-phases %standard-phases
2713 ,(version-major+minor 2786 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
2714 (package-version python)) 2787 (lambda* (#:key inputs outputs #:allow-other-keys)
2715 "/site-packages"))) 2788 (wrap-program (search-input-file outputs "bin/gtg")
2716 (wrap-program prog 2789 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")
2717 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib)) 2790 ,(python:site-packages inputs outputs)))
2718 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))) 2791 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))))
2719 #t))))))
2720 (native-inputs 2792 (native-inputs
2721 `(("desktop-file-utils" ,desktop-file-utils) 2793 (list desktop-file-utils
2722 ("gettext" ,gettext-minimal) 2794 gettext-minimal
2723 ("glib:bin" ,glib "bin") 2795 `(,glib "bin")
2724 ("gobject-introspection" ,gobject-introspection) 2796 gobject-introspection
2725 ("gtk+:bin" ,gtk+ "bin") 2797 pkg-config
2726 ("pkg-config" ,pkg-config))) 2798 python))
2727 (inputs 2799 (inputs
2728 (list librsvg 2800 (list bash-minimal
2801 librsvg
2729 gsettings-desktop-schemas 2802 gsettings-desktop-schemas
2730 gtk+ 2803 gtk+
2731 pango 2804 pango
2805 python
2732 python-dbus 2806 python-dbus
2733 python-liblarch 2807 python-liblarch
2734 python-lxml 2808 python-lxml
@@ -2782,38 +2856,10 @@ Specification, the icon naming utility maps the icon names used by the
2782GNOME and KDE desktops to the icon names proposed in the specification.") 2856GNOME and KDE desktops to the icon names proposed in the specification.")
2783 (license license:lgpl2.1+))) 2857 (license license:lgpl2.1+)))
2784 2858
2785(define-public gnome-icon-theme
2786 (package
2787 (name "gnome-icon-theme")
2788 (version "3.12.0")
2789 (source
2790 (origin
2791 (method url-fetch)
2792 (uri (string-append "mirror://gnome/sources/" name "/"
2793 (version-major+minor version) "/"
2794 name "-" version ".tar.xz"))
2795 (sha256
2796 (base32
2797 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
2798 (build-system gnu-build-system)
2799 (arguments
2800 '(#:configure-flags
2801 ;; Don't create 'icon-theme.cache'.
2802 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2803 (true (string-append coreutils "/bin/true")))
2804 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
2805 (native-inputs
2806 (list icon-naming-utils intltool pkg-config))
2807 (home-page "https://wiki.gnome.org/Personalization")
2808 (synopsis "GNOME icon theme")
2809 (description "Icons for the GNOME desktop.")
2810 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
2811
2812;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
2813(define-public adwaita-icon-theme 2859(define-public adwaita-icon-theme
2814 (package/inherit gnome-icon-theme 2860 (package
2815 (name "adwaita-icon-theme") 2861 (name "adwaita-icon-theme")
2816 (version "40.1.1") 2862 (version "42.0")
2817 (source (origin 2863 (source (origin
2818 (method url-fetch) 2864 (method url-fetch)
2819 (uri (string-append "mirror://gnome/sources/" name "/" 2865 (uri (string-append "mirror://gnome/sources/" name "/"
@@ -2821,13 +2867,25 @@ GNOME and KDE desktops to the icon names proposed in the specification.")
2821 name "-" version ".tar.xz")) 2867 name "-" version ".tar.xz"))
2822 (sha256 2868 (sha256
2823 (base32 2869 (base32
2824 "1xpqa1rgmixlp953938d08xvf7kv36h747ysial8g65dsrp46v0b")))) 2870 "1q5i31zd5jzr12p6vn831afwnzbzf6x73wna1y86drnyr2nvb1ay"))))
2871 (build-system gnu-build-system)
2872 (arguments
2873 (list #:make-flags
2874 ;; Don't create 'icon-theme.cache'.
2875 #~(list "GTK_UPDATE_ICON_CACHE=")))
2825 (native-inputs 2876 (native-inputs
2826 ;; The following requires the SVG pixbuf loader, provided by librsvg, 2877 ;; The following requires the SVG pixbuf loader, provided by librsvg,
2827 ;; available on x86_64 only. 2878 ;; available on x86_64 only.
2828 `(,@(if (target-64bit?) 2879 `(,@(if (target-64bit?)
2829 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")) 2880 `((,gtk+ "bin")) ;for gtk-encode-symbolic-svg
2830 '()))))) 2881 '())))
2882 (home-page "https://gitlab.gnome.org/GNOME/adwaita-icon-theme")
2883 (synopsis "GNOME icon theme")
2884 (description "Icons for the GNOME desktop.")
2885 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
2886
2887(define-public gnome-icon-theme
2888 (deprecated-package "gnome-icon-theme" adwaita-icon-theme))
2831 2889
2832(define-public tango-icon-theme 2890(define-public tango-icon-theme
2833 (package 2891 (package
@@ -3047,42 +3105,45 @@ some form of information without getting in the user's way.")
3047(define-public libpeas 3105(define-public libpeas
3048 (package 3106 (package
3049 (name "libpeas") 3107 (name "libpeas")
3050 (version "1.30.0") 3108 (version "1.32.0")
3051 (source 3109 (source
3052 (origin 3110 (origin
3053 (method url-fetch) 3111 (method url-fetch)
3054 (uri (string-append "mirror://gnome/sources/" name "/" 3112 (uri (string-append "mirror://gnome/sources/" name "/"
3055 (version-major+minor version) "/" 3113 (version-major+minor version) "/"
3056 name "-" version ".tar.xz")) 3114 name "-" version ".tar.xz"))
3057 (sha256 3115 (sha256
3058 (base32 3116 (base32
3059 "18xrk1c1ixlhkmykcfiafrl2am470ws687xqvjlq40zwkcp5dx8b")))) 3117 "03ixrhfkywcb409dd0hybyb6i291phwy8si4kc17g29fl07m49fn"))))
3060 (build-system meson-build-system) 3118 (build-system meson-build-system)
3061 (arguments 3119 (arguments
3062 '(#:phases 3120 '(#:phases
3063 (modify-phases %standard-phases 3121 (modify-phases %standard-phases
3064 (add-before 'check 'start-xserver 3122 (add-before 'check 'start-xserver
3065 (lambda* (#:key inputs #:allow-other-keys) 3123 (lambda* (#:key inputs #:allow-other-keys)
3066 (let ((xorg-server (assoc-ref inputs "xorg-server")) 3124 (let ((disp ":1"))
3067 (disp ":1"))
3068 (setenv "DISPLAY" disp) 3125 (setenv "DISPLAY" disp)
3069 (setenv "XDG_CACHE_HOME" "/tmp/xdg-cache") 3126 (setenv "XDG_CACHE_HOME" "/tmp/xdg-cache")
3070 (setenv "XDG_CONFIG_HOME" "/tmp") 3127 (setenv "XDG_CONFIG_HOME" "/tmp")
3071 ;; Tests require a running X server. 3128 ;; Tests require a running X server.
3072 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)) 3129 (system (format #f "~a ~a &"
3073 #t)))))) 3130 (search-input-file inputs "bin/Xvfb")
3131 disp))))))))
3074 (inputs 3132 (inputs
3075 (list gtk+ glade3 python python-pygobject)) 3133 (list gtk+
3134 glade3
3135 python
3136 python-pygobject))
3076 (native-inputs 3137 (native-inputs
3077 `(("pkg-config" ,pkg-config) 3138 (list pkg-config
3078 ("gettext" ,gettext-minimal) 3139 gettext-minimal
3079 ("glib:bin" ,glib "bin") 3140 `(,glib "bin")
3080 ("gobject-introspection" ,gobject-introspection) 3141 gobject-introspection
3081 ("xorg-server" ,xorg-server-for-tests))) 3142 xorg-server-for-tests))
3082 (propagated-inputs 3143 (propagated-inputs
3083 ;; The .pc file "Requires" gobject-introspection. 3144 ;; The .pc file "Requires" gobject-introspection.
3084 (list gobject-introspection)) 3145 (list gobject-introspection))
3085 (home-page "https://wiki.gnome.org/Libpeas") 3146 (home-page "https://wiki.gnome.org/Projects/Libpeas")
3086 (synopsis "GObject plugin system") 3147 (synopsis "GObject plugin system")
3087 (description 3148 (description
3088 "Libpeas is a gobject-based plugin engine, targeted at giving every 3149 "Libpeas is a gobject-based plugin engine, targeted at giving every
@@ -3141,7 +3202,6 @@ API add-ons to make GTK+ widgets OpenGL-capable.")
3141 (build-system meson-build-system) 3202 (build-system meson-build-system)
3142 (arguments 3203 (arguments
3143 (list 3204 (list
3144 #:meson meson-0.60
3145 #:phases 3205 #:phases
3146 #~(modify-phases %standard-phases 3206 #~(modify-phases %standard-phases
3147 (add-after 'unpack 'skip-gtk-update-icon-cache 3207 (add-after 'unpack 'skip-gtk-update-icon-cache
@@ -3202,121 +3262,120 @@ the GNOME desktop environment.")
3202 (files '("lib/glade/modules"))))))) 3262 (files '("lib/glade/modules")))))))
3203 3263
3204(define-public blueprint-compiler 3264(define-public blueprint-compiler
3205 (let ((commit "87cedc2c7e48b01dc1b07aef937e2fe02111b18c")) 3265 (package
3206 (package 3266 (name "blueprint-compiler")
3207 (name "blueprint-compiler") 3267 (version "0.4.0")
3208 (version "0.2.0") 3268 (source (origin
3209 (source (origin 3269 (method git-fetch)
3210 (method git-fetch) 3270 (uri (git-reference
3211 (uri (git-reference 3271 (url
3212 (url 3272 "https://gitlab.gnome.org/jwestman/blueprint-compiler")
3213 "https://gitlab.gnome.org/jwestman/blueprint-compiler") 3273 (commit (string-append "v" version))))
3214 (commit commit))) 3274 (file-name (string-append name "-" version "-checkout"))
3215 (file-name (string-append name "-" commit "-checkout")) 3275 (sha256
3216 (sha256 3276 (base32
3217 (base32 3277 "0hj7f4xhwjc4x32r3lswwclbw37fw3spy806g4plkmym25hz4ydy"))))
3218 "1mrj5dyjf5d325yc28fpph588qfsz6bm2nx5nnsgcv02bagplxid")))) 3278 (build-system meson-build-system)
3219 (build-system meson-build-system) 3279 (native-inputs (list gtk python-pygobject python))
3220 (native-inputs (list gobject-introspection gtk)) 3280 (inputs (list python))
3221 (inputs (list python)) 3281 (synopsis "Template markup language")
3222 (synopsis "Template markup language") 3282 (description
3223 (description 3283 "Blueprint is a markup language for GTK user interfaces. Internally, it
3224 "Blueprint is a markup language for GTK user interfaces. Internally, it
3225compiles to GTKBuilder XML.") 3284compiles to GTKBuilder XML.")
3226 (home-page "https://gitlab.gnome.org/jwestman/blueprint-compiler") 3285 (home-page "https://gitlab.gnome.org/jwestman/blueprint-compiler")
3227 (license license:lgpl3+)))) 3286 (license license:lgpl3+)))
3228 3287
3229(define-public cambalache 3288(define-public cambalache
3230 (package 3289 (package
3231 (name "cambalache") 3290 (name "cambalache")
3232 (version "0.10.2") 3291 (version "0.10.3")
3233 (source (origin 3292 (source (origin
3234 (method git-fetch) 3293 (method git-fetch)
3235 (uri (git-reference 3294 (uri (git-reference
3236 (url "https://gitlab.gnome.org/jpu/cambalache") 3295 (url "https://gitlab.gnome.org/jpu/cambalache")
3237 (commit version))) 3296 (commit version)))
3238 (file-name (git-file-name name version)) 3297 (file-name (git-file-name name version))
3239 (sha256 3298 (sha256
3240 (base32 "1mw5gk98zx03yal3p8slaqwhwkc9p2vnh0cssnmg6ivxsjscqhgz")))) 3299 (base32 "1nq9bvly4dm1xnh90z3b4c5455qpdgm3jgz2155vg2ai23f22vsy"))))
3241 (build-system meson-build-system) 3300 (build-system meson-build-system)
3242 (arguments 3301 (arguments
3243 (list 3302 (list
3244 #:glib-or-gtk? #t 3303 #:glib-or-gtk? #t
3245 #:imported-modules `((guix build python-build-system) 3304 #:imported-modules `((guix build python-build-system)
3246 ,@%meson-build-system-modules) 3305 ,@%meson-build-system-modules)
3247 #:modules '((guix build meson-build-system) 3306 #:modules '((guix build meson-build-system)
3248 ((guix build python-build-system) #:prefix python:) 3307 ((guix build python-build-system) #:prefix python:)
3249 (guix build utils)) 3308 (guix build utils))
3250 #:phases 3309 #:phases
3251 #~(modify-phases %standard-phases 3310 #~(modify-phases %standard-phases
3252 (add-after 'unpack 'patch-source 3311 (add-after 'unpack 'patch-source
3253 (lambda* (#:key inputs #:allow-other-keys) 3312 (lambda* (#:key inputs #:allow-other-keys)
3254 (substitute* "cambalache/cmb_view.py" 3313 (substitute* "cambalache/cmb_view.py"
3255 (("GLib\\.find_program_in_path\\('(.*)'\\)" all cmd) 3314 (("GLib\\.find_program_in_path\\('(.*)'\\)" all cmd)
3256 (string-append "'" 3315 (format #f "~s" (search-input-file
3257 (search-input-file inputs 3316 inputs (string-append "bin/" cmd)))))))
3258 (string-append "/bin/" cmd)) 3317 (add-after 'unpack 'patch-build
3259 "'"))))) 3318 (lambda _
3260 (add-after 'unpack 'patch-build 3319 (substitute* "postinstall.py"
3261 (lambda _ 3320 (("update-desktop-database") "true"))))
3262 (substitute* "postinstall.py" 3321 (add-after 'wrap 'python-wrap (assoc-ref python:%standard-phases 'wrap))
3263 (("update-desktop-database") "true")))) 3322 (delete 'check)
3264 (add-after 'wrap 'python-wrap (assoc-ref python:%standard-phases 'wrap)) 3323 (add-after 'install 'add-install-to-pythonpath
3265 (delete 'check) 3324 (assoc-ref python:%standard-phases 'add-install-to-pythonpath))
3266 (add-after 'install 'add-install-to-pythonpath 3325 (add-after 'add-install-to-pythonpath 'pre-check
3267 (assoc-ref python:%standard-phases 'add-install-to-pythonpath)) 3326 (lambda _
3268 (add-after 'add-install-to-pythonpath 'pre-check 3327 (system "Xvfb :1 &")
3269 (lambda _ 3328 (setenv "DISPLAY" ":1")))
3270 (system "Xvfb :1 &") 3329 (add-after 'pre-check 'check
3271 (setenv "DISPLAY" ":1"))) 3330 (lambda* (#:key tests? #:allow-other-keys)
3272 (add-after 'pre-check 'check 3331 (when tests?
3273 (lambda* (#:key tests? #:allow-other-keys) 3332 (with-directory-excursion ".."
3274 (when tests? 3333 (invoke "python3" "-m" "pytest")))))
3275 (with-directory-excursion ".." 3334 (add-after 'glib-or-gtk-wrap 'wrap-typelib
3276 (invoke "python3" "-m" "pytest"))))) 3335 (lambda _
3277 (add-after 'glib-or-gtk-wrap 'wrap-typelib 3336 (for-each
3278 (lambda* (#:key outputs #:allow-other-keys) 3337 (lambda (prog)
3279 (let ((out (assoc-ref outputs "out"))) 3338 (unless (wrapped-program? prog)
3280 (for-each 3339 (wrap-program prog
3281 (lambda (prog) 3340 `("GI_TYPELIB_PATH" suffix
3282 (unless (wrapped-program? prog) 3341 (,(string-append #$output "/lib/girepository-1.0")
3283 (wrap-program prog 3342 ,(getenv "GI_TYPELIB_PATH")))
3284 `("GI_TYPELIB_PATH" suffix 3343 ;; icons and schemas
3285 (,(string-append out "/lib/girepository-1.0") 3344 `("XDG_DATA_DIRS" suffix
3286 ,(getenv "GI_TYPELIB_PATH"))) 3345 #$(map
3287 ;; icons and schemas 3346 (lambda (input)
3288 `("XDG_DATA_DIRS" suffix 3347 (file-append (this-package-input input) "/share"))
3289 #$(map 3348 '("adwaita-icon-theme" "hicolor-icon-theme"
3290 (lambda (input) 3349 "gsettings-desktop-schemas")))
3291 (file-append (this-package-input input) "/share")) 3350 ;; Wrapping GDK_PIXBUF_MODULE_FILE allows Cambalache to
3292 '("adwaita-icon-theme" "hicolor-icon-theme" 3351 ;; load its own icons in pure environments.
3293 "gsettings-desktop-schemas"))) 3352 `("GDK_PIXBUF_MODULE_FILE" =
3294 ;; Wrapping GDK_PIXBUF_MODULE_FILE allows Cambalache to 3353 (,(getenv "GDK_PIXBUF_MODULE_FILE"))))))
3295 ;; load its own icons in pure environments. 3354 (find-files (string-append #$output "/bin"))))))))
3296 `("GDK_PIXBUF_MODULE_FILE" = 3355 (inputs
3297 (,(getenv "GDK_PIXBUF_MODULE_FILE")))))) 3356 (list bash-minimal
3298 (find-files (string-append out "/bin"))))))))) 3357 adwaita-icon-theme hicolor-icon-theme
3299 (inputs (list bash-minimal 3358 gsettings-desktop-schemas
3300 adwaita-icon-theme hicolor-icon-theme 3359 gtk
3301 gsettings-desktop-schemas 3360 `(,gtk+ "bin") ; broadwayd
3302 gtk 3361 `(,gtk "bin")
3303 `(,gtk+ "bin") ; broadwayd 3362 libadwaita
3304 `(,gtk "bin") 3363 libhandy
3305 libadwaita 3364 (librsvg-for-system)
3306 libhandy 3365 python
3307 (librsvg-for-system) 3366 python-pygobject
3308 python python-pygobject python-lxml 3367 python-lxml
3309 webkitgtk-with-libsoup2)) 3368 webkitgtk-with-libsoup2))
3310 (native-inputs (list `(,glib "bin") gobject-introspection 3369 (native-inputs (list `(,glib "bin") gobject-introspection
3311 gettext-minimal pkg-config 3370 gettext-minimal pkg-config
3312 python-pytest xorg-server-for-tests)) 3371 python-pytest xorg-server-for-tests))
3313 (home-page "https://gitlab.gnome.org/jpu/cambalache") 3372 (home-page "https://gitlab.gnome.org/jpu/cambalache")
3314 (synopsis "Rapid application development tool") 3373 (synopsis "Rapid application development tool")
3315 (description "Cambalache is a rapid application development (RAD) tool for 3374 (description "Cambalache is a rapid application development (RAD) tool for
3316Gtk 4 and 3 with a clear model-view-controller (MVC) design and 3375Gtk 4 and 3 with a clear model-view-controller (MVC) design and
3317data model first philosophy.") 3376data model first philosophy.")
3318 (license (list license:lgpl2.1 3377 (license (list license:lgpl2.1
3319 license:gpl2)))) ; tools 3378 license:gpl2)))) ; tools
3320 3379
3321(define-public libcroco 3380(define-public libcroco
3322 (package 3381 (package
@@ -3350,7 +3409,7 @@ XML/CSS rendering engine.")
3350(define-public libgsf 3409(define-public libgsf
3351 (package 3410 (package
3352 (name "libgsf") 3411 (name "libgsf")
3353 (version "1.14.47") 3412 (version "1.14.50")
3354 (source (origin 3413 (source (origin
3355 (method url-fetch) 3414 (method url-fetch)
3356 (uri (string-append "mirror://gnome/sources/" name "/" 3415 (uri (string-append "mirror://gnome/sources/" name "/"
@@ -3358,63 +3417,60 @@ XML/CSS rendering engine.")
3358 name "-" version ".tar.xz")) 3417 name "-" version ".tar.xz"))
3359 (sha256 3418 (sha256
3360 (base32 3419 (base32
3361 "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i")))) 3420 "0llf5rpg2rg9pdz8j38dl5z82zi9kmsn639wb2fhcfc3fz820v3f"))))
3362 (build-system glib-or-gtk-build-system) 3421 (build-system glib-or-gtk-build-system)
3363 (outputs '("out" "bin" "doc")) 3422 (outputs '("out" "bin" "doc"))
3364 (arguments 3423 (arguments
3365 `(#:configure-flags 3424 (list
3366 (list 3425 #:configure-flags
3367 "--disable-static" 3426 #~(list
3368 "--enable-introspection" 3427 "--disable-static"
3369 (string-append "--with-gir-dir=" 3428 "--enable-introspection"
3370 (assoc-ref %outputs "out") 3429 (string-append "--with-gir-dir=" #$output
3371 "/share/gir-" 3430 "/share/gir-"
3372 ,(version-major 3431 #$(version-major
3373 (package-version gobject-introspection)) 3432 (package-version gobject-introspection))
3374 ".0") 3433 ".0")
3375 (string-append "--with-typelib-dir=" 3434 (string-append "--with-typelib-dir=" #$output
3376 (assoc-ref %outputs "out") 3435 "/lib/girepository-"
3377 "/lib/girepository-" 3436 #$(version-major
3378 ,(version-major 3437 (package-version gobject-introspection))
3379 (package-version gobject-introspection)) 3438 ".0")
3380 ".0") 3439 (string-append "--with-html-dir=" #$output
3381 (string-append "--with-html-dir=" 3440 "/share/gtk-doc/html")
3382 (assoc-ref %outputs "doc") 3441 "--with-zlib"
3383 "/share/gtk-doc/html") 3442 "--with-bz2")
3384 "--with-zlib" 3443 #:phases
3385 "--with-bz2") 3444 #~(modify-phases %standard-phases
3386 #:phases 3445 (add-after 'unpack 'patch-docbook-xml
3387 (modify-phases %standard-phases 3446 (lambda* (#:key native-inputs inputs #:allow-other-keys)
3388 (add-after 'unpack 'patch-docbook-xml 3447 (with-directory-excursion "doc"
3389 (lambda* (#:key inputs #:allow-other-keys) 3448 (substitute* "gsf-docs.xml"
3390 (with-directory-excursion "doc" 3449 (("http://www.oasis-open.org/docbook/xml/4.5/")
3391 (substitute* "gsf-docs.xml" 3450 (search-input-directory (or native-inputs inputs)
3392 (("http://www.oasis-open.org/docbook/xml/4.5/") 3451 "xml/dtd/docbook")))))))))
3393 (string-append (assoc-ref inputs "docbook-xml") 3452 (native-inputs
3394 "/xml/dtd/docbook/")))) 3453 (list docbook-xml
3395 #t))))) 3454 gettext-minimal
3396 (native-inputs 3455 gobject-introspection
3397 `(("docbook-xml" ,docbook-xml) 3456 perl
3398 ("gettext" ,gettext-minimal) 3457 perl-xml-parser
3399 ("gobject-introspection" ,gobject-introspection) 3458 pkg-config
3400 ("perl" ,perl) 3459 python-wrapper))
3401 ("perl-xml-parser" ,perl-xml-parser)
3402 ("pkg-config" ,pkg-config)
3403 ("python" ,python-wrapper)))
3404 (inputs 3460 (inputs
3405 (list bzip2 gdk-pixbuf zlib)) 3461 (list bzip2
3462 gdk-pixbuf
3463 zlib))
3406 (propagated-inputs 3464 (propagated-inputs
3407 (list glib libxml2)) 3465 (list glib
3466 libxml2))
3408 (synopsis "G Structured File Library") 3467 (synopsis "G Structured File Library")
3409 (description "Libgsf aims to provide an efficient extensible I/O abstraction 3468 (description "Libgsf aims to provide an efficient extensible I/O abstraction
3410for dealing with different structured file formats.") 3469for dealing with different structured file formats.")
3411 (home-page "https://gitlab.gnome.org/GNOME/libgsf") 3470 (home-page "https://gitlab.gnome.org/GNOME/libgsf")
3412 (license 3471 (license
3413 (list 3472 (list license:lgpl2.1+ ;library
3414 ;; Library 3473 license:lgpl2.0+)))) ;others
3415 license:lgpl2.1+
3416 ;; Others
3417 license:lgpl2.0+))))
3418 3474
3419(define-public librsvg 3475(define-public librsvg
3420 (package 3476 (package
@@ -4071,24 +4127,26 @@ controls using the Bonobo component framework.")
4071(define-public libwnck 4127(define-public libwnck
4072 (package 4128 (package
4073 (name "libwnck") 4129 (name "libwnck")
4074 (version "3.32.0") 4130 (version "40.1")
4075 (source (origin 4131 (source (origin
4076 (method url-fetch) 4132 (method url-fetch)
4077 (uri (string-append "mirror://gnome/sources/" name "/" 4133 (uri (string-append "mirror://gnome/sources/" name "/"
4078 (version-major+minor version) "/" 4134 (version-major version) "/"
4079 name "-" version ".tar.xz")) 4135 name "-" version ".tar.xz"))
4080 (sha256 4136 (sha256
4081 (base32 4137 (base32
4082 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm")))) 4138 "04b63mh2i7kpq0iymx6fkyzdx8laymw3da2s0wsbwgzg2jhly4q3"))))
4083 (build-system meson-build-system) 4139 (build-system meson-build-system)
4084 (native-inputs 4140 (native-inputs
4085 (list pkg-config 4141 (list gettext-minimal
4086 `(,glib "bin") ; for glib-mkenums 4142 `(,glib "bin") ;for glib-mkenums
4087 gobject-introspection ; for g-ir-scanner 4143 gobject-introspection ;for g-ir-scanner
4088 intltool)) 4144 pkg-config))
4089 (propagated-inputs 4145 (propagated-inputs
4090 (list gtk+ libxres startup-notification)) 4146 (list gtk+
4091 (home-page "https://developer.gnome.org/libwnck/") 4147 libxres
4148 startup-notification))
4149 (home-page "https://gitlab.gnome.org/GNOME/libwnck/")
4092 (synopsis "Window Navigator Construction Kit") 4150 (synopsis "Window Navigator Construction Kit")
4093 (description 4151 (description
4094 "Libwnck is the Window Navigator Construction Kit, a library for use in 4152 "Libwnck is the Window Navigator Construction Kit, a library for use in
@@ -4239,7 +4297,7 @@ engineering.")
4239(define-public drawing 4297(define-public drawing
4240 (package 4298 (package
4241 (name "drawing") 4299 (name "drawing")
4242 (version "0.8.3") 4300 (version "1.0.1")
4243 (source 4301 (source
4244 (origin 4302 (origin
4245 (method git-fetch) 4303 (method git-fetch)
@@ -4248,36 +4306,42 @@ engineering.")
4248 (commit version))) 4306 (commit version)))
4249 (file-name (git-file-name name version)) 4307 (file-name (git-file-name name version))
4250 (sha256 4308 (sha256
4251 (base32 "0wz9p47riyy3h8b0sqsb6bx416hc6d1a1wyzlfmsxkrqrkwcjcm8")))) 4309 (base32 "12xb522i7dxshw2ig12ald750fynlxan1lwz6gsxfa9p4ap2qypn"))))
4252 (build-system meson-build-system) 4310 (build-system meson-build-system)
4253 (arguments 4311 (arguments
4254 `(#:glib-or-gtk? #t 4312 (list
4255 #:phases 4313 #:glib-or-gtk? #t
4256 (modify-phases %standard-phases 4314 #:imported-modules `(,@%meson-build-system-modules
4257 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap 4315 (guix build python-build-system))
4258 (lambda* (#:key outputs #:allow-other-keys) 4316 #:modules '((guix build meson-build-system)
4259 (let ((prog (string-append (assoc-ref outputs "out") 4317 ((guix build python-build-system) #:prefix python:)
4260 "/bin/drawing")) 4318 (guix build utils))
4261 (pylib (string-append (assoc-ref outputs "out") 4319 #:phases
4262 "/lib/python" 4320 #~(modify-phases %standard-phases
4263 ,(version-major+minor 4321 (add-after 'unpack 'disable-postinstall-script
4264 (package-version python)) 4322 (lambda _
4265 "/site-packages"))) 4323 (setenv "DESTDIR" "/")))
4266 (wrap-program prog 4324 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
4267 `("PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib)) 4325 (lambda* (#:key inputs outputs #:allow-other-keys)
4268 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))))) 4326 (wrap-program (search-input-file outputs "bin/drawing")
4327 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")
4328 ,(python:site-packages inputs outputs)))
4329 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))))
4269 (native-inputs 4330 (native-inputs
4270 `(("desktop-file-utils" ,desktop-file-utils) 4331 (list desktop-file-utils
4271 ("gettext" ,gettext-minimal) 4332 gettext-minimal
4272 ("glib:bin" ,glib "bin") 4333 `(,glib "bin")
4273 ("gobject-introspection" ,gobject-introspection) 4334 gobject-introspection
4274 ("gtk+:bin" ,gtk+ "bin") 4335 itstool
4275 ("pkg-config" ,pkg-config))) 4336 pkg-config
4337 python))
4276 (inputs 4338 (inputs
4277 (list librsvg 4339 (list bash-minimal
4340 librsvg
4278 gsettings-desktop-schemas 4341 gsettings-desktop-schemas
4279 gtk+ 4342 gtk+
4280 pango 4343 pango
4344 python
4281 python-pycairo 4345 python-pycairo
4282 python-pygobject)) 4346 python-pygobject))
4283 (home-page "https://maoschanz.github.io/drawing/") 4347 (home-page "https://maoschanz.github.io/drawing/")
@@ -4289,7 +4353,7 @@ engineering.")
4289(define-public seahorse 4353(define-public seahorse
4290 (package 4354 (package
4291 (name "seahorse") 4355 (name "seahorse")
4292 (version "41.0") 4356 (version "42.0")
4293 (source 4357 (source
4294 (origin 4358 (origin
4295 (method url-fetch) 4359 (method url-fetch)
@@ -4297,7 +4361,7 @@ engineering.")
4297 (version-major version) "/" name "-" 4361 (version-major version) "/" name "-"
4298 version ".tar.xz")) 4362 version ".tar.xz"))
4299 (sha256 4363 (sha256
4300 (base32 "1x99i7kdvd8hbxcs5rfrq7nw6r9bfzaw263zaigjjj04h6gc1vp6")))) 4364 (base32 "0c6nafhn4gcjwd1xbs5bjq9785114fc0pbhxbwp7wynyz3msq365"))))
4301 (build-system meson-build-system) 4365 (build-system meson-build-system)
4302 (arguments 4366 (arguments
4303 '(#:glib-or-gtk? #t 4367 '(#:glib-or-gtk? #t
@@ -4307,32 +4371,31 @@ engineering.")
4307 ;; Don't create 'icon-theme.cache'. 4371 ;; Don't create 'icon-theme.cache'.
4308 (lambda _ 4372 (lambda _
4309 (substitute* "build-aux/meson_post_install.py" 4373 (substitute* "build-aux/meson_post_install.py"
4310 (("gtk-update-icon-cache") "true")) 4374 (("gtk-update-icon-cache") "true"))))
4311 #t))
4312 (add-before 'check 'pre-check 4375 (add-before 'check 'pre-check
4313 (lambda _ 4376 (lambda _
4314 ;; Tests require a writable HOME. 4377 ;; Tests require a writable HOME.
4315 (setenv "HOME" (getcwd))))))) 4378 (setenv "HOME" (getcwd)))))))
4316 (inputs 4379 (inputs
4317 `(("gtk+" ,gtk+) 4380 (list gtk+
4318 ("gcr" ,gcr) 4381 gcr
4319 ("gnupg" ,gnupg) 4382 gnupg
4320 ("gpgme" ,gpgme) 4383 gpgme
4321 ("openldap" ,openldap) 4384 openldap
4322 ("openssh" ,openssh) 4385 openssh
4323 ("avahi" ,avahi) 4386 avahi
4324 ("libhandy" ,libhandy) 4387 libhandy
4325 ("libpwquality" ,libpwquality) 4388 libpwquality
4326 ("libsecret" ,libsecret) 4389 libsecret
4327 ("libsoup" ,libsoup-minimal-2))) 4390 libsoup-minimal-2))
4328 (native-inputs 4391 (native-inputs
4329 `(("gettext" ,gettext-minimal) 4392 (list gettext-minimal
4330 ("glib:bin" ,glib "bin") 4393 `(,glib "bin")
4331 ("itstool" ,itstool) 4394 itstool
4332 ("pkg-config" ,pkg-config) 4395 pkg-config
4333 ("python" ,python) 4396 python
4334 ("vala" ,vala) 4397 vala
4335 ("xmllint" ,libxml2))) 4398 libxml2))
4336 (home-page "https://wiki.gnome.org/Apps/Seahorse") 4399 (home-page "https://wiki.gnome.org/Apps/Seahorse")
4337 (synopsis "Manage encryption keys and passwords in the GNOME keyring") 4400 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
4338 (description 4401 (description
@@ -4417,7 +4480,7 @@ targeting the GNOME stack simple.")
4417(define-public vte 4480(define-public vte
4418 (package 4481 (package
4419 (name "vte") 4482 (name "vte")
4420 (version "0.68.0") 4483 (version "0.69.99")
4421 (source (origin 4484 (source (origin
4422 (method url-fetch) 4485 (method url-fetch)
4423 (uri (string-append "mirror://gnome/sources/vte/" 4486 (uri (string-append "mirror://gnome/sources/vte/"
@@ -4425,7 +4488,7 @@ targeting the GNOME stack simple.")
4425 "vte-" version ".tar.xz")) 4488 "vte-" version ".tar.xz"))
4426 (sha256 4489 (sha256
4427 (base32 4490 (base32
4428 "0j8pvn225ybzx9p33ill838bzp8kkdn28383h0vs65m2kiwd9rqk")))) 4491 "1v3i38yrjhc48nvs1g333s3q709mq824qq0k2fnsmrrwv15c3cg9"))))
4429 (build-system meson-build-system) 4492 (build-system meson-build-system)
4430 (arguments 4493 (arguments
4431 (list #:configure-flags #~(list "-Dvapi=true" 4494 (list #:configure-flags #~(list "-Dvapi=true"
@@ -4456,7 +4519,7 @@ editors, IDEs, etc.")
4456 (package 4519 (package
4457 (inherit vte) 4520 (inherit vte)
4458 (name "vte-ng") 4521 (name "vte-ng")
4459 (version "0.58.2.a") 4522 (version "0.59.0")
4460 (home-page "https://github.com/thestinger/vte-ng") 4523 (home-page "https://github.com/thestinger/vte-ng")
4461 (source (origin 4524 (source (origin
4462 (method git-fetch) 4525 (method git-fetch)
@@ -4464,7 +4527,7 @@ editors, IDEs, etc.")
4464 (file-name (git-file-name name version)) 4527 (file-name (git-file-name name version))
4465 (sha256 4528 (sha256
4466 (base32 4529 (base32
4467 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l")))) 4530 "03ffhjc0fq9p25y1b2c0a51jn7y2bc0acxsgymhcb3pyijc8ykjm"))))
4468 (build-system meson-build-system) 4531 (build-system meson-build-system)
4469 (arguments 4532 (arguments
4470 (list #:configure-flags #~(list "-Ddocs=false"))) 4533 (list #:configure-flags #~(list "-Ddocs=false")))
@@ -4803,6 +4866,90 @@ claim to be \"RESTful\". It includes convenience wrappers for libsoup and
4803libxml to ease remote use of the RESTful API.") 4866libxml to ease remote use of the RESTful API.")
4804 (license license:lgpl2.1+))) 4867 (license license:lgpl2.1+)))
4805 4868
4869(define-public rest-next
4870 (package
4871 (inherit rest)
4872 (name "rest")
4873 (version "0.9.1")
4874 (source (origin
4875 (method url-fetch)
4876 (uri (string-append "mirror://gnome/sources/rest/"
4877 (version-major+minor version) "/"
4878 name "-" version ".tar.xz"))
4879 (sha256
4880 (base32
4881 "1qy2291d2vprdbbxmf0sa98izk09nl3znzzv7lckwf6f1v0sarlj"))))
4882 (build-system meson-build-system)
4883 (arguments (substitute-keyword-arguments (package-arguments rest)
4884 ((#:tests? _ #f) #t)
4885 ((#:configure-flags _)
4886 #~(list))
4887 ((#:phases phases '%standard-phases)
4888 #~(modify-phases #$phases
4889 (add-after 'unpack 'disable-problematic-tests
4890 ;; These tests require networking.
4891 (lambda _
4892 (substitute* "tests/meson.build"
4893 ((".*'flickr',.*") "")
4894 ((".*'lastfm',.*") ""))))
4895 (add-before 'check 'prepare-for-tests
4896 (lambda _
4897 (setenv "HOME" "/tmp")))))))
4898 (native-inputs
4899 (modify-inputs (package-native-inputs rest)
4900 (append gettext-minimal
4901 gi-docgen
4902 gsettings-desktop-schemas)))
4903 (inputs (list gtksourceview json-glib libadwaita))
4904 (propagated-inputs
4905 (modify-inputs (package-propagated-inputs rest)
4906 (replace "libsoup" libsoup)
4907 (append json-glib)))))
4908
4909(define-public libshumate
4910 (package
4911 (name "libshumate")
4912 (version "1.0.0.beta") ;no stable release yet
4913 (source (origin
4914 (method url-fetch)
4915 (uri (string-append "mirror://gnome/sources/" name "/"
4916 (version-major+minor version) "/"
4917 name "-" version ".tar.xz"))
4918 (sha256
4919 (base32
4920 "13xrc07fm0967gzbqab8k0l3dnknh00p0a6f2dm7k0aa56q41sda"))))
4921 (build-system meson-build-system)
4922 (arguments (list #:configure-flags #~(list "-Dlibsoup3=true")
4923 #:phases #~(modify-phases %standard-phases
4924 (add-before 'check 'pre-check
4925 (lambda _
4926 ;; The 'coordinate' test requires a
4927 ;; writable HOME.
4928 (setenv "HOME" "/tmp")
4929
4930 ;; Tests require a running X server.
4931 (system "Xvfb :1 &")
4932 (setenv "DISPLAY" ":1"))))))
4933 (native-inputs
4934 (list gi-docgen
4935 `(,glib "bin")
4936 gobject-introspection
4937 pkg-config
4938 xorg-server-for-tests))
4939 (propagated-inputs
4940 ;; All the libraries are listed as "Requires' in the .pc file.
4941 (list cairo
4942 glib
4943 gtk
4944 libsoup
4945 sqlite))
4946 (home-page "https://wiki.gnome.org/Projects/libshumate")
4947 (synopsis "GtkWidget C library for displaying maps")
4948 (description "@code{libshumate} is a C library providing a
4949@code{GtkWidget} to display maps. It supports numerous free map sources such
4950as OpenStreetMap, OpenCycleMap, OpenAerialMap and Maps.")
4951 (license license:lgpl2.1+)))
4952
4806;;; A minimal version of libsoup used to prevent a cycle with Inkscape. 4953;;; A minimal version of libsoup used to prevent a cycle with Inkscape.
4807(define-public libsoup-minimal 4954(define-public libsoup-minimal
4808 (package 4955 (package
@@ -4896,32 +5043,45 @@ and the GLib main loop, to integrate well with GNOME applications.")
4896(define-public libsoup 5043(define-public libsoup
4897 (package/inherit libsoup-minimal 5044 (package/inherit libsoup-minimal
4898 (name "libsoup") 5045 (name "libsoup")
5046 (version "3.1.4")
5047 (source (origin
5048 (method url-fetch)
5049 (uri (string-append "mirror://gnome/sources/libsoup/"
5050 (version-major+minor version) "/"
5051 "libsoup-" version ".tar.xz"))
5052 (sha256
5053 (base32
5054 "0m5mf2ahb462jzr40d916swv3040h9500jcmr87vnilpr4zrj584"))))
4899 (outputs (cons "doc" (package-outputs libsoup-minimal))) 5055 (outputs (cons "doc" (package-outputs libsoup-minimal)))
4900 (arguments 5056 (arguments
4901 (substitute-keyword-arguments (package-arguments libsoup-minimal) 5057 (substitute-keyword-arguments (package-arguments libsoup-minimal)
4902 ((#:configure-flags configure-flags) 5058 ((#:configure-flags configure-flags)
4903 `(cons "-Dgtk_doc=true" 5059 #~(delete "-Dgtk_doc=false" #$configure-flags))
4904 (delete "-Dgtk_doc=false" ,configure-flags)))
4905 ((#:phases phases) 5060 ((#:phases phases)
4906 `(modify-phases ,phases 5061 #~(modify-phases #$phases
4907 (add-after 'unpack 'patch-docbook-xml 5062 (replace 'adjust-tests
4908 (lambda* (#:key inputs #:allow-other-keys) 5063 (lambda _
4909 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml") 5064 ;; This test fails due to missing /etc/nsswitch.conf
4910 "/xml/dtd/docbook"))) 5065 ;; in the build environment.
4911 (substitute* (find-files "docs/reference") 5066 (substitute* "tests/unix-socket-test.c"
4912 (("http://.*/docbookx\\.dtd") 5067 ((".*/sockets/unconnected.*") ""))
4913 (string-append xmldoc "/docbookx.dtd")))))) 5068
4914 (add-after 'install 'move-doc 5069 ;; These fail because "subdomain.localhost" does not resolve in
4915 (lambda* (#:key outputs #:allow-other-keys) 5070 ;; the build environment. Moreover, the hsts-test suite fails on
4916 (let ((out (assoc-ref outputs "out")) 5071 ;; i686-linux because of errors from `session_get_uri' like
4917 (doc (assoc-ref outputs "doc"))) 5072 ;; "Unexpected status 200 OK (expected 301 Moved Permanently)"
4918 (mkdir-p (string-append doc "/share")) 5073 ;; (see: https://gitlab.gnome.org/GNOME/libsoup/-/issues/239).
4919 (copy-recursively (string-append out "/share/gtk-doc") 5074 (substitute* "tests/meson.build"
4920 (string-append doc "/share/gtk-doc")) 5075 ((".*'name': 'hsts'.*") ""))
4921 (delete-file-recursively 5076 (substitute* "tests/hsts-db-test.c"
4922 (string-append out "/share/gtk-doc"))))))))) 5077 ((".*/hsts-db/subdomains.*") ""))))
5078 (add-after 'install 'move-doc
5079 (lambda _
5080 (mkdir-p (string-append #$output:doc "/share"))
5081 (rename-file (string-append #$output "/share/doc")
5082 (string-append #$output:doc "/share/doc"))))))))
4923 (native-inputs (modify-inputs (package-native-inputs libsoup-minimal) 5083 (native-inputs (modify-inputs (package-native-inputs libsoup-minimal)
4924 (prepend docbook-xml-4.1.2 gtk-doc))))) 5084 (prepend gi-docgen)))))
4925 5085
4926(define-public libsecret 5086(define-public libsecret
4927 (package 5087 (package
@@ -5022,6 +5182,32 @@ and other secrets. It communicates with the \"Secret Service\" using DBus.")
5022 Try to last as long as possible.") 5182 Try to last as long as possible.")
5023 (license license:gpl2+))) 5183 (license license:gpl2+)))
5024 5184
5185(define-public gi-docgen
5186 (package
5187 (name "gi-docgen")
5188 (version "2022.1")
5189 (source (origin
5190 (method url-fetch)
5191 (uri (pypi-uri "gi-docgen" version))
5192 (sha256
5193 (base32
5194 "1v2wspm2ld27lq1n5v5pzrmkhchfa7p7ahp8rmjm4zcdyagqf7gr"))))
5195 (build-system python-build-system)
5196 (propagated-inputs (list python-jinja2
5197 python-markdown
5198 python-markupsafe
5199 python-pygments
5200 python-toml
5201 python-typogrify))
5202 (home-page "https://gitlab.gnome.org/GNOME/gi-docgen")
5203 (synopsis "Documentation tool for GObject-based libraries")
5204 (description "GI-DocGen is a document generator for GObject-based
5205libraries. GObject is the base type system of the GNOME project. GI-Docgen
5206reuses the introspection data generated by GObject-based libraries to generate
5207the API reference of these libraries, as well as other ancillary
5208documentation.")
5209 (license license:gpl3+)))
5210
5025(define-public gnome-mines 5211(define-public gnome-mines
5026 (package 5212 (package
5027 (name "gnome-mines") 5213 (name "gnome-mines")
@@ -5046,14 +5232,17 @@ and other secrets. It communicates with the \"Secret Service\" using DBus.")
5046 (native-inputs 5232 (native-inputs
5047 (list appstream-glib 5233 (list appstream-glib
5048 desktop-file-utils 5234 desktop-file-utils
5235 gettext-minimal
5049 `(,glib "bin") ; for glib-compile-resources 5236 `(,glib "bin") ; for glib-compile-resources
5050 intltool
5051 itstool 5237 itstool
5052 pkg-config 5238 pkg-config
5053 python-wrapper ; for meson_post_install.py 5239 python-wrapper ; for meson_post_install.py
5054 vala)) 5240 vala))
5055 (inputs 5241 (inputs
5056 (list gtk+ libgnome-games-support librsvg yelp)) 5242 (list gtk+
5243 libgnome-games-support-1
5244 librsvg
5245 yelp))
5057 (home-page "https://wiki.gnome.org/Apps/Mines") 5246 (home-page "https://wiki.gnome.org/Apps/Mines")
5058 (synopsis "Minesweeper game") 5247 (synopsis "Minesweeper game")
5059 (description 5248 (description
@@ -5105,7 +5294,7 @@ once.")
5105(define-public gnome-sudoku 5294(define-public gnome-sudoku
5106 (package 5295 (package
5107 (name "gnome-sudoku") 5296 (name "gnome-sudoku")
5108 (version "40.2") 5297 (version "42.0")
5109 (source 5298 (source
5110 (origin 5299 (origin
5111 (method url-fetch) 5300 (method url-fetch)
@@ -5114,7 +5303,7 @@ once.")
5114 name "-" version ".tar.xz")) 5303 name "-" version ".tar.xz"))
5115 (sha256 5304 (sha256
5116 (base32 5305 (base32
5117 "18slsxifad5cjz4fqi818i66jc9b7kzgn01qxa0ra4y7wcqha4in")))) 5306 "13y2qphrj99b0lc7bh71is1f6i0jvyw8adfg8lv48sq2p3fv8bhx"))))
5118 (build-system meson-build-system) 5307 (build-system meson-build-system)
5119 (arguments 5308 (arguments
5120 `(#:glib-or-gtk? #t 5309 `(#:glib-or-gtk? #t
@@ -5125,16 +5314,20 @@ once.")
5125 (substitute* "build-aux/post_install.py" 5314 (substitute* "build-aux/post_install.py"
5126 (("gtk-update-icon-cache") (which "true")))))))) 5315 (("gtk-update-icon-cache") (which "true"))))))))
5127 (native-inputs 5316 (native-inputs
5128 (list pkg-config 5317 (list desktop-file-utils
5129 python ;for 'build-aux/post_install.py' 5318 gettext-minimal
5130 desktop-file-utils 5319 `(,glib "bin") ;for glib-compile-resources
5131 `(,glib "bin") ;for glib-compile-resources
5132 intltool
5133 itstool 5320 itstool
5134 vala 5321 libxml2
5135 libxml2)) 5322 pkg-config
5323 python ;for 'build-aux/post_install.py'
5324 vala))
5136 (inputs 5325 (inputs
5137 (list gtk+ json-glib libgee librsvg qqwing)) 5326 (list gtk+
5327 json-glib
5328 libgee
5329 librsvg
5330 qqwing))
5138 (home-page "https://wiki.gnome.org/Apps/Sudoku") 5331 (home-page "https://wiki.gnome.org/Apps/Sudoku")
5139 (synopsis "Japanese logic game") 5332 (synopsis "Japanese logic game")
5140 (description 5333 (description
@@ -5147,7 +5340,7 @@ more fun.")
5147(define-public gnome-terminal 5340(define-public gnome-terminal
5148 (package 5341 (package
5149 (name "gnome-terminal") 5342 (name "gnome-terminal")
5150 (version "3.40.3") 5343 (version "3.44.1")
5151 (source 5344 (source
5152 (origin 5345 (origin
5153 (method url-fetch) 5346 (method url-fetch)
@@ -5156,35 +5349,46 @@ more fun.")
5156 name "-" version ".tar.xz")) 5349 name "-" version ".tar.xz"))
5157 (sha256 5350 (sha256
5158 (base32 5351 (base32
5159 "08hsic7sn32xw12i3j0ard2bhfhp8gmzqm0pa8xzl5l1jhzsmsfb")))) 5352 "0yykb64yi1h0g65q890jf5awjr2sdvfda4xbxnmajcgj3zp20vzv"))))
5160 (build-system glib-or-gtk-build-system) 5353 (build-system meson-build-system)
5161 (arguments 5354 (arguments
5162 '(#:configure-flags 5355 (list
5163 (list "--disable-migration" "--disable-search-provider" 5356 #:glib-or-gtk? #t
5164 "--without-nautilus-extension") 5357 #:phases
5165 #:phases 5358 #~(modify-phases %standard-phases
5166 (modify-phases %standard-phases 5359 (add-after 'unpack 'patch-build-system
5167 (add-before 'configure 'patch-/bin/true 5360 ;; The build system looks for a dbus file from gnome-shell in the
5168 (lambda _ 5361 ;; installation tree of teh package it is configuring...
5169 (substitute* "configure" 5362 (lambda* (#:key inputs #:allow-other-keys)
5170 (("/bin/true") (which "true")))))))) 5363 (substitute* "src/meson.build"
5364 (("gt_prefix.*'org.gnome.ShellSearchProvider2.xml'")
5365 (format #f "'~a'" (search-input-file
5366 inputs "share/dbus-1/interfaces/\
5367org.gnome.ShellSearchProvider2.xml"))))))
5368 (add-before 'install 'disable-gtk-update-icon-cache
5369 (lambda _
5370 (setenv "DESTDIR" "/"))))))
5171 (native-inputs 5371 (native-inputs
5172 `(("docbook-xsl" ,docbook-xsl) 5372 (list desktop-file-utils
5173 ("pkg-config" ,pkg-config) 5373 docbook-xsl
5174 ("desktop-file-utils" ,desktop-file-utils) 5374 gettext-minimal
5175 ("intltool" ,intltool) 5375 `(,glib "bin")
5176 ("itstool" ,itstool) 5376 itstool
5177 ("libxslt" ,libxslt) 5377 libxml2
5178 ("xmllint" ,libxml2))) 5378 libxslt
5379 pkg-config
5380 python))
5179 (propagated-inputs 5381 (propagated-inputs
5180 (list dconf)) 5382 (list dconf))
5181 (inputs 5383 (inputs
5182 (list gtk+ 5384 (list gnome-shell
5183 vte
5184 gnutls 5385 gnutls
5185 gsettings-desktop-schemas 5386 gsettings-desktop-schemas
5387 gtk+
5388 nautilus ;for extension
5186 `(,util-linux "lib") 5389 `(,util-linux "lib")
5187 vala)) 5390 vala
5391 vte))
5188 (home-page "https://wiki.gnome.org/Apps/Terminal") 5392 (home-page "https://wiki.gnome.org/Apps/Terminal")
5189 (synopsis "Terminal emulator") 5393 (synopsis "Terminal emulator")
5190 (description 5394 (description
@@ -5305,7 +5509,7 @@ output devices.")
5305(define-public geoclue 5509(define-public geoclue
5306 (package 5510 (package
5307 (name "geoclue") 5511 (name "geoclue")
5308 (version "2.5.7") 5512 (version "2.6.0")
5309 (source 5513 (source
5310 (origin 5514 (origin
5311 (method url-fetch) 5515 (method url-fetch)
@@ -5313,7 +5517,7 @@ output devices.")
5313 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/" 5517 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
5314 version "/geoclue-" version ".tar.bz2")) 5518 version "/geoclue-" version ".tar.bz2"))
5315 (sha256 5519 (sha256
5316 (base32 "09ww26a76kanldhgwnn5sqy9ly2940k45zpp68spykkv2zjdpivc")) 5520 (base32 "1854i8lih1jkks5w38xv8k5gs7s8629qjg3cg96ji0ffk35yzjfd"))
5317 (patches (search-patches "geoclue-config.patch")))) 5521 (patches (search-patches "geoclue-config.patch"))))
5318 (build-system meson-build-system) 5522 (build-system meson-build-system)
5319 (arguments 5523 (arguments
@@ -5324,13 +5528,14 @@ output devices.")
5324 modem-manager 5528 modem-manager
5325 libnotify 5529 libnotify
5326 gtk-doc/stable 5530 gtk-doc/stable
5327 intltool)) 5531 gettext-minimal
5532 vala))
5328 (inputs 5533 (inputs
5329 `(("avahi" ,avahi) 5534 (list avahi
5330 ("glib:bin" ,glib "bin") 5535 `(,glib "bin")
5331 ("glib-networking" ,glib-networking) 5536 glib-networking
5332 ("json-glib" ,json-glib) 5537 json-glib
5333 ("libsoup" ,libsoup-minimal-2))) 5538 libsoup-minimal-2))
5334 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home") 5539 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
5335 (synopsis "Geolocation service") 5540 (synopsis "Geolocation service")
5336 (description "Geoclue is a D-Bus service that provides location 5541 (description "Geoclue is a D-Bus service that provides location
@@ -5343,7 +5548,7 @@ permission from user.")
5343(define-public geocode-glib 5548(define-public geocode-glib
5344 (package 5549 (package
5345 (name "geocode-glib") 5550 (name "geocode-glib")
5346 (version "3.26.2") 5551 (version "3.26.4")
5347 (source (origin 5552 (source (origin
5348 (method url-fetch) 5553 (method url-fetch)
5349 (uri (string-append "mirror://gnome/sources/geocode-glib/" 5554 (uri (string-append "mirror://gnome/sources/geocode-glib/"
@@ -5351,29 +5556,31 @@ permission from user.")
5351 "geocode-glib-" version ".tar.xz")) 5556 "geocode-glib-" version ".tar.xz"))
5352 (sha256 5557 (sha256
5353 (base32 5558 (base32
5354 "1l8g0f13xgkrk335afr9w8k46mziwb2jnyhl07jccl5yl37q9zh1")))) 5559 "1aipd82qk404qy88pyfgplzgi83db4hi51vkl54h8isqs4k6i6id"))))
5355 (build-system meson-build-system) 5560 (build-system meson-build-system)
5356 (arguments 5561 (arguments
5357 `(#:phases 5562 (list
5358 (modify-phases %standard-phases 5563 #:configure-flags #~(list "-Dsoup2=false")
5359 ;; The tests require a bunch of locales. 5564 #:phases
5360 (add-before 'check 'set-locales 5565 #~(modify-phases %standard-phases
5361 (lambda* (#:key inputs #:allow-other-keys) 5566 ;; The tests require a bunch of locales.
5362 (setenv "GUIX_LOCPATH" 5567 (add-before 'check 'set-locales
5363 (search-input-directory inputs "lib/locale"))))))) 5568 (lambda* (#:key inputs #:allow-other-keys)
5569 (setenv "GUIX_LOCPATH"
5570 (search-input-directory inputs "lib/locale")))))))
5364 (native-inputs 5571 (native-inputs
5365 `(("glib:bin" ,glib "bin") ; for glib-mkenums 5572 (list `(,glib "bin") ;for glib-mkenums
5366 ("glibc-locales" ,glibc-locales) ; for tests 5573 glibc-locales ;for tests
5367 ("gettext" ,gettext-minimal) 5574 gettext-minimal
5368 ("gobject-introspection" ,gobject-introspection) 5575 gobject-introspection
5369 ("gtk-doc" ,gtk-doc/stable) 5576 gtk-doc/stable
5370 ("pkg-config" ,pkg-config) 5577 pkg-config
5371 ("json-glib" ,json-glib))) 5578 json-glib))
5372 (propagated-inputs 5579 (propagated-inputs
5373 ;; geocode-glib-1.0.pc refers to GIO. 5580 ;; geocode-glib-2.0.pc refers to GIO.
5374 (list glib)) 5581 (list glib))
5375 (inputs 5582 (inputs
5376 `(("libsoup" ,libsoup-minimal-2))) 5583 (list libsoup))
5377 (home-page "https://github.com/GNOME/geocode-glib/") 5584 (home-page "https://github.com/GNOME/geocode-glib/")
5378 (synopsis "Geocoding and reverse-geocoding library") 5585 (synopsis "Geocoding and reverse-geocoding library")
5379 (description 5586 (description
@@ -5383,10 +5590,20 @@ coordinates) using the Nominatim service. geocode-glib caches requests for
5383faster results and to avoid unnecessary server load.") 5590faster results and to avoid unnecessary server load.")
5384 (license license:lgpl2.0+))) 5591 (license license:lgpl2.0+)))
5385 5592
5593(define-public geocode-glib-with-libsoup2
5594 (package
5595 (inherit geocode-glib)
5596 (name "geocode-glib-with-libsoup2")
5597 (arguments (substitute-keyword-arguments (package-arguments geocode-glib)
5598 ((#:configure-flags flags ''())
5599 #~(delete "-Dsoup2=false" #$flags))))
5600 (inputs (modify-inputs (package-inputs geocode-glib)
5601 (replace "libsoup" libsoup-minimal-2)))))
5602
5386(define-public upower 5603(define-public upower
5387 (package 5604 (package
5388 (name "upower") 5605 (name "upower")
5389 (version "0.99.15") 5606 (version "1.90.0")
5390 (source 5607 (source
5391 (origin 5608 (origin
5392 (method git-fetch) 5609 (method git-fetch)
@@ -5395,33 +5612,32 @@ faster results and to avoid unnecessary server load.")
5395 (commit (string-append "v" version)))) 5612 (commit (string-append "v" version))))
5396 (file-name (git-file-name name version)) 5613 (file-name (git-file-name name version))
5397 (sha256 5614 (sha256
5398 (base32 "1zk7w7pw8dhlnxhxzcbk33gmxmg8f32mppd67556v9z2qgcg4lhs")) 5615 (base32 "1g17rm91p8vfpjyb0k2shylrs55nccn3fa890vlk4n9s71sghbzq"))
5399 (modules '((guix build utils))) 5616 (modules '((guix build utils)))
5400 (snippet 5617 (snippet
5401 ;; Upstream commit 5618 ;; Upstream commit <https://cgit.freedesktop.org/upower/commit/
5402 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa> 5619 ;; ?id=18457c99b68786cd729b315723d680e6860d9cfa> moved
5403 ;; moved 'dbus-1/system.d' from etc/ to share/. However, 5620 ;; 'dbus-1/system.d' from etc/ to share/. However,
5404 ;; 'dbus-configuration-directory' in (gnu services dbus) 5621 ;; 'dbus-configuration-directory' in (gnu services dbus) expects it in
5405 ;; expects it in etc/. Thus, move it back to its previous 5622 ;; etc/. Thus, move it back to its previous location.
5406 ;; location. 5623 #~(substitute* "src/meson.build"
5407 #~(substitute* "src/meson.build"
5408 (("dbusdir / 'system.d'") 5624 (("dbusdir / 'system.d'")
5409 "get_option('sysconfdir') / 'dbus-1/system.d'") 5625 "get_option('sysconfdir') / 'dbus-1/system.d'")
5410 ;; Avoid writing to /var during the build, this is 5626 ;; Avoid writing to /var during the build, this is
5411 ;; not possible in Guix! 5627 ;; not possible in Guix!
5412 (("^install_subdir\\('does-not-exist'.*$") ""))))) 5628 (("^install_subdir\\('does-not-exist'.*$") "")))))
5413 (build-system meson-build-system) 5629 (build-system meson-build-system)
5414 (arguments 5630 (arguments
5415 (list 5631 (list
5416 #:glib-or-gtk? #t 5632 #:glib-or-gtk? #t
5417 #:configure-flags 5633 #:configure-flags
5418 #~(list "-Dsystemdsystemunitdir=no" 5634 #~(list "-Dsystemdsystemunitdir=no"
5419 ;; If not specified, udev will try putting history information 5635 ;; If not specified, udev will try putting history information
5420 ;; in /gnu/store. 5636 ;; in /gnu/store.
5421 "-Dhistorydir=/var/lib/upower" 5637 "-Dhistorydir=/var/lib/upower"
5422 (string-append "-Dudevrulesdir=" #$output "/bin/udev/rules.d")))) 5638 (string-append "-Dudevrulesdir=" #$output "/bin/udev/rules.d"))))
5423 (native-inputs 5639 (native-inputs
5424 (list `(,glib "bin") ; for gdbus-codegen 5640 (list `(,glib "bin") ; for gdbus-codegen
5425 gobject-introspection 5641 gobject-introspection
5426 gtk-doc 5642 gtk-doc
5427 intltool 5643 intltool
@@ -5435,8 +5651,8 @@ faster results and to avoid unnecessary server load.")
5435 umockdev 5651 umockdev
5436 ;; For man pages. 5652 ;; For man pages.
5437 docbook-xsl 5653 docbook-xsl
5438 libxslt ; for 'xsltproc' 5654 libxslt ; for 'xsltproc'
5439 libxml2)) ; for 'XML_CATALOG_FILES' 5655 libxml2)) ; for 'XML_CATALOG_FILES'
5440 (inputs 5656 (inputs
5441 (list dbus-glib libgudev libusb)) 5657 (list dbus-glib libgudev libusb))
5442 (propagated-inputs 5658 (propagated-inputs
@@ -5486,7 +5702,11 @@ service via the system message bus.")
5486 (propagated-inputs 5702 (propagated-inputs
5487 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and 5703 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
5488 ;; libsoup. 5704 ;; libsoup.
5489 (list gtk+ gdk-pixbuf libxml2 libsoup-minimal-2 geocode-glib)) 5705 (list gtk+
5706 gdk-pixbuf
5707 libxml2
5708 libsoup-minimal-2
5709 geocode-glib-with-libsoup2))
5490 (inputs 5710 (inputs
5491 (list tzdata)) 5711 (list tzdata))
5492 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather") 5712 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
@@ -5504,7 +5724,7 @@ services for numerous locations.")
5504 (package 5724 (package
5505 (inherit libgweather) 5725 (inherit libgweather)
5506 (name "libgweather4") 5726 (name "libgweather4")
5507 (version "4.0.0") 5727 (version "4.1.1")
5508 (source (origin 5728 (source (origin
5509 (method url-fetch) 5729 (method url-fetch)
5510 (uri (string-append "mirror://gnome/sources/libgweather/" 5730 (uri (string-append "mirror://gnome/sources/libgweather/"
@@ -5512,43 +5732,69 @@ services for numerous locations.")
5512 "libgweather-" version ".tar.xz")) 5732 "libgweather-" version ".tar.xz"))
5513 (sha256 5733 (sha256
5514 (base32 5734 (base32
5515 "0k43mr7vmcg14lkwjk6p9wwy3zlw23wkfpkfcy6b8wkg3f0483a4")))) 5735 "1wh3asniv5yiqp0dsk96as2bkx72hamh3ij2md8k0is9yd7ppbjm"))))
5516 (arguments 5736 (arguments
5517 (list 5737 (list
5518 ;; FIXME: multiple tests fails as such:
5519 ;; "GLib-GIO-FATAL-ERROR: Settings schema 'org.gnome.system.proxy'
5520 ;; is not installed"
5521 #:tests? #f
5522 #:configure-flags 5738 #:configure-flags
5523 #~(list (string-append "-Dzoneinfo_dir=" 5739 #~(list (string-append "-Dzoneinfo_dir="
5524 (search-input-directory %build-inputs 5740 (search-input-directory %build-inputs
5525 "share/zoneinfo")) 5741 "share/zoneinfo")))
5526 ;; TODO: Requires 'gi-docgen'.
5527 "-Dgtk_doc=false")
5528 #:phases 5742 #:phases
5529 #~(modify-phases %standard-phases 5743 #~(modify-phases %standard-phases
5530 (add-before 'check 'pre-check 5744 (add-after 'unpack 'set-HOME
5745 (lambda _
5746 (setenv "HOME" "/tmp")))
5747 (add-after 'unpack 'disable-problematic-tests
5531 (lambda _ 5748 (lambda _
5532 (setenv "HOME" "/tmp")))))) 5749 (substitute* "libgweather/tests/meson.build"
5750 ;; The timezones test fails for unknown reasons (see:
5751 ;; https://gitlab.gnome.org/GNOME/libgweather/-/issues/188).
5752 ((".*'name': 'timezones'.*") "")
5753 ;; The 'metar' test is known to fail, fixed but not yet released
5754 ;; upstream (see:
5755 ;; https://gitlab.gnome.org/GNOME/libgweather/-/issues/168).
5756 ((".*'name': 'metar'.*") ""))))
5757 (delete 'check) ;move after the install phase
5758 (add-after 'install 'check
5759 (assoc-ref %standard-phases 'check)))))
5533 (native-inputs 5760 (native-inputs
5534 (list gettext-minimal 5761 (list gettext-minimal
5762 gi-docgen
5535 `(,glib "bin") ;for glib-mkenums 5763 `(,glib "bin") ;for glib-mkenums
5536 gobject-introspection 5764 gobject-introspection
5765 glibc-utf8-locales
5766 gsettings-desktop-schemas
5537 pkg-config 5767 pkg-config
5538 python 5768 python
5539 vala 5769 python-pygobject
5540 python-pygobject)) 5770 vala))
5541 ;; TODO: It would be good to make the package respect TZDIR instead 5771 ;; TODO: It would be good to make the package respect TZDIR instead
5542 ;; of using a "hard coded" version of tzdata. 5772 ;; of using a "hard coded" version of tzdata.
5543 (inputs (list tzdata)) 5773 (inputs (list tzdata))
5544 (propagated-inputs 5774 (propagated-inputs
5545 ;; gweather4.pc refers to all of these. 5775 ;; gweather4.pc refers to all of these.
5546 (list glib libxml2 libsoup-minimal-2 geocode-glib)))) 5776 (list geocode-glib
5777 glib
5778 json-glib
5779 libsoup
5780 libxml2))))
5781
5782(define-public libgweather4-with-libsoup2
5783 (package
5784 (inherit libgweather4)
5785 (name "libgweather4-with-libsoup2")
5786 (arguments (substitute-keyword-arguments (package-arguments libgweather4)
5787 ((#:configure-flags flags)
5788 #~(cons "-Dsoup2=true" #$flags))))
5789 (propagated-inputs
5790 (modify-inputs (package-propagated-inputs libgweather4)
5791 (replace "geocode-glib" geocode-glib-with-libsoup2)
5792 (replace "libsoup" libsoup-minimal-2)))))
5547 5793
5548(define-public gnome-settings-daemon 5794(define-public gnome-settings-daemon
5549 (package 5795 (package
5550 (name "gnome-settings-daemon") 5796 (name "gnome-settings-daemon")
5551 (version "41.0") 5797 (version "42.2")
5552 (source 5798 (source
5553 (origin 5799 (origin
5554 (method url-fetch) 5800 (method url-fetch)
@@ -5557,71 +5803,68 @@ services for numerous locations.")
5557 name "-" version ".tar.xz")) 5803 name "-" version ".tar.xz"))
5558 (sha256 5804 (sha256
5559 (base32 5805 (base32
5560 "111qcvlqjpasnswdniy5n53wyrs1y7a91qx1w4nsppnizdhn7jp6")) 5806 "005b1dvrfcyr6n4srl6c0lzr95c18prps4xm1lf2ghcfm8a9fi4w"))
5561 (patches (search-patches "gnome-settings-daemon-gc.patch")))) 5807 (patches (search-patches "gnome-settings-daemon-gc.patch"))))
5562 (build-system meson-build-system) 5808 (build-system meson-build-system)
5563 (arguments 5809 (arguments
5564 `(#:glib-or-gtk? #t 5810 (list
5565 #:meson ,meson-0.60 5811 #:glib-or-gtk? #t
5566 #:configure-flags 5812 #:configure-flags
5567 (list (string-append "-Dudev_dir=" 5813 #~(list (string-append "-Dudev_dir=" #$output "/lib/udev")
5568 (assoc-ref %outputs "out") "/lib/udev") 5814 "-Dsystemd=false"
5569 "-Dsystemd=false" 5815 ;; Otherwise, the RUNPATH will lack the final path component.
5570 ;; Otherwise, the RUNPATH will lack the final path component. 5816 (string-append "-Dc_link_args=-Wl,-rpath=" #$output
5571 (string-append "-Dc_link_args=-Wl,-rpath=" 5817 "/lib/gnome-settings-daemon-3.0"))
5572 (assoc-ref %outputs "out") 5818 #:phases
5573 "/lib/gnome-settings-daemon-3.0")) 5819 #~(modify-phases %standard-phases
5574 5820 (add-before 'configure 'set-baobab-file-name
5575 #:phases (modify-phases %standard-phases 5821 (lambda* (#:key inputs #:allow-other-keys)
5576 (add-before 'configure 'set-baobab-file-name 5822 ;; Hard-code the file name of Baobab instead of looking
5577 (lambda* (#:key inputs #:allow-other-keys) 5823 ;; it up in $PATH. This ensures users get the "Examine"
5578 ;; Hard-code the file name of Baobab instead of looking 5824 ;; button in the low disk space notification of GDM even
5579 ;; it up in $PATH. This ensures users get the "Examine" 5825 ;; if they don't have GNOME in their main profile.
5580 ;; button in the low disk space notification of GDM even 5826 (substitute* "plugins/housekeeping/gsd-disk-space.c"
5581 ;; if they don't have GNOME in their main profile. 5827 (("g_find_program_in_path \\(DISK_SPACE_ANALYZER\\)")
5582 (let ((baobab (assoc-ref inputs "baobab"))) 5828 (format #f "g_strdup (~s)"
5583 (substitute* "plugins/housekeeping/gsd-disk-space.c" 5829 (search-input-file inputs "bin/baobab")))))))
5584 (("g_find_program_in_path \\(DISK_SPACE_ANALYZER\\)") 5830 ;; Color management test can't reach the colord system service.
5585 (string-append "g_strdup (\"" baobab 5831 #:tests? #f))
5586 "/bin/baobab\")")))))))
5587
5588 ;; Color management test can't reach the colord system service.
5589 #:tests? #f))
5590 (native-inputs 5832 (native-inputs
5591 `(("glib:bin" ,glib "bin") ; for glib-mkenums 5833 (list docbook-xml-4.2
5592 ("pkg-config" ,pkg-config) 5834 docbook-xsl
5593 ("intltool" ,intltool) 5835 gettext-minimal
5594 ("xsltproc" ,libxslt) 5836 `(,glib "bin") ;for glib-mkenums
5595 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES 5837 libxml2 ;for XML_CATALOG_FILES
5596 ("docbook-xml" ,docbook-xml-4.2) 5838 libxslt
5597 ("docbook-xsl" ,docbook-xsl))) 5839 perl
5840 pkg-config))
5598 (inputs 5841 (inputs
5599 (list alsa-lib 5842 (list alsa-lib
5600 baobab 5843 baobab
5601 colord 5844 colord
5602 libgudev 5845 cups
5603 upower 5846 gcr
5604 polkit 5847 geoclue
5605 pulseaudio 5848 geocode-glib-with-libsoup2
5849 gnome-desktop
5850 gsettings-desktop-schemas-next
5851 lcms
5606 libcanberra 5852 libcanberra
5853 libgudev
5854 libgweather4-with-libsoup2
5855 libnotify
5856 (librsvg-for-system)
5857 libwacom
5607 libx11 5858 libx11
5608 libxtst 5859 libxtst
5609 lcms 5860 modem-manager
5610 libnotify 5861 network-manager
5611 geoclue
5612 geocode-glib
5613 libgweather
5614 gnome-desktop
5615 nss 5862 nss
5616 cups 5863 polkit
5617 gsettings-desktop-schemas 5864 pulseaudio
5618 libwacom 5865 upower
5619 (librsvg-for-system)
5620 xf86-input-wacom
5621 wayland 5866 wayland
5622 network-manager 5867 xf86-input-wacom))
5623 gcr
5624 modem-manager))
5625 (home-page "https://www.gnome.org") 5868 (home-page "https://www.gnome.org")
5626 (synopsis "GNOME settings daemon") 5869 (synopsis "GNOME settings daemon")
5627 (description 5870 (description
@@ -5696,7 +5939,7 @@ which are easy to play with the aid of a mouse.")
5696(define-public amtk 5939(define-public amtk
5697 (package 5940 (package
5698 (name "amtk") 5941 (name "amtk")
5699 (version "5.3.1") 5942 (version "5.5.1")
5700 (source (origin 5943 (source (origin
5701 (method url-fetch) 5944 (method url-fetch)
5702 (uri (string-append "mirror://gnome/sources/amtk/" 5945 (uri (string-append "mirror://gnome/sources/amtk/"
@@ -5704,7 +5947,7 @@ which are easy to play with the aid of a mouse.")
5704 "amtk-" version ".tar.xz")) 5947 "amtk-" version ".tar.xz"))
5705 (sha256 5948 (sha256
5706 (base32 5949 (base32
5707 "12v3nj1bb7507ndprjggq0hpz8k719b4bwvl8sm43p3ibmn27anm")))) 5950 "176vplk3inf0pp0prma8478hp0yhziq0krp5a9l47hg22z86v2gc"))))
5708 (build-system meson-build-system) 5951 (build-system meson-build-system)
5709 (native-inputs 5952 (native-inputs
5710 (list gobject-introspection 5953 (list gobject-introspection
@@ -5723,7 +5966,7 @@ both a traditional UI or a modern UI with a GtkHeaderBar.")
5723(define-public devhelp 5966(define-public devhelp
5724 (package 5967 (package
5725 (name "devhelp") 5968 (name "devhelp")
5726 (version "41.2") 5969 (version "41.3")
5727 (source (origin 5970 (source (origin
5728 (method url-fetch) 5971 (method url-fetch)
5729 (uri (string-append "mirror://gnome/sources/" name "/" 5972 (uri (string-append "mirror://gnome/sources/" name "/"
@@ -5731,7 +5974,7 @@ both a traditional UI or a modern UI with a GtkHeaderBar.")
5731 name "-" version ".tar.xz")) 5974 name "-" version ".tar.xz"))
5732 (sha256 5975 (sha256
5733 (base32 5976 (base32
5734 "1lk0gycjvs6gibhy0zs3ffkrkzrkyl5nkp7n60hgpa6syjq91apc")))) 5977 "1rxn6kciyfdhnjrcjyf02cn3rki2xgwb4wrg5plbzjvpqasq66ml"))))
5735 (build-system meson-build-system) 5978 (build-system meson-build-system)
5736 (arguments 5979 (arguments
5737 `(#:glib-or-gtk? #t 5980 `(#:glib-or-gtk? #t
@@ -5741,22 +5984,18 @@ both a traditional UI or a modern UI with a GtkHeaderBar.")
5741 ;; Don't create 'icon-theme.cache'. 5984 ;; Don't create 'icon-theme.cache'.
5742 (lambda _ 5985 (lambda _
5743 (substitute* "build-aux/meson/meson_post_install.py" 5986 (substitute* "build-aux/meson/meson_post_install.py"
5744 (("gtk-update-icon-cache") "true")))) 5987 (("gtk-update-icon-cache") "true")))))))
5745 (add-after 'unpack 'fix-devhelp-gir-inputs
5746 ;; It still mentions webkitgtk 4.0
5747 (lambda _
5748 (substitute* "devhelp/meson.build"
5749 (("'WebKit2-4.0'") "'WebKit2-4.1'")))))))
5750 (propagated-inputs 5988 (propagated-inputs
5751 (list gsettings-desktop-schemas)) 5989 (list gsettings-desktop-schemas))
5752 (native-inputs 5990 (native-inputs
5753 `(("intltool" ,intltool) 5991 (list gettext-minimal
5754 ("itstool" ,itstool) 5992 gobject-introspection
5755 ("gobject-introspection" ,gobject-introspection) 5993 `(,glib "bin") ; for glib-mkmenus
5756 ("glib:bin" ,glib "bin") ; for glib-mkmenus 5994 itstool
5757 ("pkg-config" ,pkg-config))) 5995 pkg-config))
5758 (inputs 5996 (inputs
5759 (list amtk gsettings-desktop-schemas webkitgtk)) 5997 (list amtk
5998 webkitgtk))
5760 (home-page "https://wiki.gnome.org/Apps/Devhelp") 5999 (home-page "https://wiki.gnome.org/Apps/Devhelp")
5761 (synopsis "API documentation browser for GNOME") 6000 (synopsis "API documentation browser for GNOME")
5762 (description 6001 (description
@@ -5767,19 +6006,8 @@ throughout GNOME for API documentation).")
5767 6006
5768(define-public devhelp-with-libsoup2 6007(define-public devhelp-with-libsoup2
5769 (package/inherit devhelp 6008 (package/inherit devhelp
5770 (arguments 6009 (inputs (modify-inputs (package-inputs devhelp)
5771 (substitute-keyword-arguments (package-arguments devhelp) 6010 (replace "webkitgtk" webkitgtk-with-libsoup2)))))
5772 ((#:phases phases '%standard-phases)
5773 `(modify-phases %standard-phases
5774 (add-after 'unpack 'skip-gtk-update-icon-cache
5775 ;; Don't create 'icon-theme.cache'.
5776 (lambda _
5777 (substitute* "build-aux/meson/meson_post_install.py"
5778 (("gtk-update-icon-cache") "true"))))))))
5779 (inputs
5780 `(("amtk" ,amtk)
5781 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5782 ("webkitgtk" ,webkitgtk-with-libsoup2)))))
5783 6011
5784(define-public cogl 6012(define-public cogl
5785 (package 6013 (package
@@ -5867,7 +6095,7 @@ without stepping on each others toes.")
5867(define-public clutter 6095(define-public clutter
5868 (package 6096 (package
5869 (name "clutter") 6097 (name "clutter")
5870 (version "1.26.2") 6098 (version "1.26.4")
5871 (source 6099 (source
5872 (origin 6100 (origin
5873 (method url-fetch) 6101 (method url-fetch)
@@ -5876,31 +6104,31 @@ without stepping on each others toes.")
5876 name "-" version ".tar.xz")) 6104 name "-" version ".tar.xz"))
5877 (sha256 6105 (sha256
5878 (base32 6106 (base32
5879 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7")))) 6107 "1rn4cd1an6a9dfda884aqpcwcgq8dgydpqvb19nmagw4b70zlj4b"))))
5880 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes 6108 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
5881 ;; to clutter, corresponding changes may be appropriate in mutter as well. 6109 ;; to clutter, corresponding changes may be appropriate in mutter as well.
5882 (build-system gnu-build-system) 6110 (build-system gnu-build-system)
5883 (outputs '("out" 6111 (outputs '("out"
5884 "doc")) ;9 MiB of gtk-doc HTML pages 6112 "doc")) ;9 MiB of gtk-doc HTML pages
5885 (native-inputs 6113 (native-inputs
5886 `(("glib:bin" ,glib "bin") ; for glib-genmarshal 6114 (list `(,glib "bin") ; for glib-genmarshal
5887 ("gobject-introspection" ,gobject-introspection) 6115 gobject-introspection
5888 ("pkg-config" ,pkg-config) 6116 libxslt
5889 ("xsltproc" ,libxslt))) 6117 pkg-config))
5890 (propagated-inputs 6118 (propagated-inputs
5891 (list cogl 6119 (list atk
5892 cairo 6120 cairo
5893 atk 6121 cogl
6122 glib
5894 gtk+ 6123 gtk+
5895 json-glib 6124 json-glib
5896 glib
5897 libxcomposite 6125 libxcomposite
5898 libxdamage 6126 libxdamage
5899 libxext 6127 libxext
5900 xinput)) 6128 xinput))
5901 (inputs 6129 (inputs
5902 `(("libxkbcommon" ,libxkbcommon) 6130 (list eudev
5903 ("udev" ,eudev))) 6131 libxkbcommon))
5904 (arguments 6132 (arguments
5905 `(#:configure-flags (list "--enable-x11-backend=yes" 6133 `(#:configure-flags (list "--enable-x11-backend=yes"
5906 6134
@@ -5911,7 +6139,7 @@ without stepping on each others toes.")
5911 ;; XXX FIXME: Get test suite working. It would probably fail in the 6139 ;; XXX FIXME: Get test suite working. It would probably fail in the
5912 ;; same way the cogl tests fail, since clutter is based on cogl. 6140 ;; same way the cogl tests fail, since clutter is based on cogl.
5913 #:tests? #f)) 6141 #:tests? #f))
5914 (home-page "http://www.clutter-project.org") 6142 (home-page "https://blogs.gnome.org/clutter/")
5915 (synopsis "OpenGL-based interactive canvas library") 6143 (synopsis "OpenGL-based interactive canvas library")
5916 (description 6144 (description
5917 "Clutter is an OpenGL-based interactive canvas library, designed for 6145 "Clutter is an OpenGL-based interactive canvas library, designed for
@@ -6009,7 +6237,7 @@ such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
6009(define-public gom 6237(define-public gom
6010 (package 6238 (package
6011 (name "gom") 6239 (name "gom")
6012 (version "0.3.2") 6240 (version "0.4")
6013 (source 6241 (source
6014 (origin 6242 (origin
6015 (method url-fetch) 6243 (method url-fetch)
@@ -6018,14 +6246,29 @@ such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
6018 "gom-" version ".tar.xz")) 6246 "gom-" version ".tar.xz"))
6019 (sha256 6247 (sha256
6020 (base32 6248 (base32
6021 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w")))) 6249 "17ca07hpg7dqxjn0jpqim3xqcmplk2a87wbwrrlq3dd3m8381l38"))))
6022 (build-system gnu-build-system) 6250 (build-system meson-build-system)
6251 (arguments
6252 (list
6253 #:imported-modules `(,@%meson-build-system-modules
6254 (guix build python-build-system))
6255 #:modules '((guix build meson-build-system)
6256 ((guix build python-build-system) #:prefix python:)
6257 (guix build utils))
6258 #:configure-flags
6259 #~(list (string-append "-Dpygobject-override-dir="
6260 (python:site-packages %build-inputs %outputs)
6261 "/gi/overrides"))))
6023 (native-inputs 6262 (native-inputs
6024 (list intltool pkg-config gobject-introspection)) 6263 (list gettext-minimal
6264 gobject-introspection
6265 pkg-config
6266 python
6267 python-pygobject))
6025 (inputs 6268 (inputs
6026 (list glib gdk-pixbuf sqlite)) 6269 (list glib
6027 ;; XXX TODO: Figure out how to run the test suite. 6270 gdk-pixbuf
6028 (arguments `(#:tests? #f)) 6271 sqlite))
6029 (home-page "https://wiki.gnome.org/Projects/Gom") 6272 (home-page "https://wiki.gnome.org/Projects/Gom")
6030 (synopsis "Object mapper from GObjects to SQLite") 6273 (synopsis "Object mapper from GObjects to SQLite")
6031 (description 6274 (description
@@ -6037,30 +6280,30 @@ queries upon that data.")
6037(define-public libgnome-games-support 6280(define-public libgnome-games-support
6038 (package 6281 (package
6039 (name "libgnome-games-support") 6282 (name "libgnome-games-support")
6040 (version "1.7.1") 6283 (version "2.0.0")
6041 (source (origin 6284 (source
6042 (method url-fetch) 6285 (origin
6043 (uri (string-append "mirror://gnome/sources/libgnome-games-support/" 6286 (method url-fetch)
6044 (version-major+minor version) "/" 6287 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
6045 "libgnome-games-support-" version ".tar.xz")) 6288 (version-major+minor version) "/"
6046 (sha256 6289 "libgnome-games-support-" version ".tar.xz"))
6047 (base32 6290 (sha256
6048 "11g1r3ppb9v8m3anks9gxf7fv1x38vmjiya3lr7zjjv328pb69d6")))) 6291 (base32
6292 "196jaga70r16bzypv4z07mnwr0xcm93gc91kxygcpp9fwdpiz0jk"))))
6049 (build-system meson-build-system) 6293 (build-system meson-build-system)
6050 (arguments 6294 (arguments
6051 '(#:glib-or-gtk? #t 6295 '(#:glib-or-gtk? #t
6052 #:phases 6296 #:phases
6053 (modify-phases %standard-phases 6297 (modify-phases %standard-phases
6054 (add-before 'check 'pre-check 6298 (add-before 'check 'pre-check
6055 (lambda _ 6299 (lambda _
6056 ;; Tests require a writable HOME. 6300 ;; Tests require a writable HOME.
6057 (setenv "HOME" (getcwd)) 6301 (setenv "HOME" (getcwd)))))))
6058 #t)))))
6059 (native-inputs 6302 (native-inputs
6060 (list intltool pkg-config vala)) 6303 (list intltool pkg-config vala))
6061 (propagated-inputs 6304 (propagated-inputs
6062 ;; Required by libgnome-games-support-1.0.pc 6305 ;; Required by libgnome-games-support-1.0.pc
6063 (list gtk+ libgee)) 6306 (list gtk libgee))
6064 (home-page "https://www.gnome.org/") 6307 (home-page "https://www.gnome.org/")
6065 (synopsis "Useful functionality shared among GNOME games") 6308 (synopsis "Useful functionality shared among GNOME games")
6066 (description 6309 (description
@@ -6068,10 +6311,27 @@ queries upon that data.")
6068GNOME Games, but it may be used by others.") 6311GNOME Games, but it may be used by others.")
6069 (license license:lgpl3+))) 6312 (license license:lgpl3+)))
6070 6313
6314(define-public libgnome-games-support-1
6315 (package
6316 (inherit libgnome-games-support)
6317 (version "1.8.2")
6318 (source
6319 (origin
6320 (method url-fetch)
6321 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
6322 (version-major+minor version) "/"
6323 "libgnome-games-support-" version ".tar.xz"))
6324 (sha256
6325 (base32
6326 "0zggsg7h9nlcwwjcqc13pdjza17iiww325r3q0d76f5hlw24chr8"))))
6327 (propagated-inputs (modify-inputs (package-propagated-inputs
6328 libgnome-games-support)
6329 (replace "gtk" gtk+)))))
6330
6071(define-public gnome-klotski 6331(define-public gnome-klotski
6072 (package 6332 (package
6073 (name "gnome-klotski") 6333 (name "gnome-klotski")
6074 (version "3.34.0") 6334 (version "3.38.2")
6075 (source (origin 6335 (source (origin
6076 (method url-fetch) 6336 (method url-fetch)
6077 (uri (string-append "mirror://gnome/sources/" name "/" 6337 (uri (string-append "mirror://gnome/sources/" name "/"
@@ -6079,7 +6339,7 @@ GNOME Games, but it may be used by others.")
6079 name "-" version ".tar.xz")) 6339 name "-" version ".tar.xz"))
6080 (sha256 6340 (sha256
6081 (base32 6341 (base32
6082 "0sbx0bzy32lh2c9jp8v7gz788wn9y1la8mr5a7gf7370szsl4d4f")))) 6342 "1qm01hdd5yp8chig62bj10912vclbdvywwczs84sfg4zci2phqwi"))))
6083 (build-system meson-build-system) 6343 (build-system meson-build-system)
6084 (arguments 6344 (arguments
6085 '(#:glib-or-gtk? #t 6345 '(#:glib-or-gtk? #t
@@ -6089,18 +6349,19 @@ GNOME Games, but it may be used by others.")
6089 ;; Don't create 'icon-theme.cache'. 6349 ;; Don't create 'icon-theme.cache'.
6090 (lambda _ 6350 (lambda _
6091 (substitute* "build-aux/meson_post_install.py" 6351 (substitute* "build-aux/meson_post_install.py"
6092 (("gtk-update-icon-cache") (which "true"))) 6352 (("gtk-update-icon-cache") (which "true"))))))))
6093 #t)))))
6094 (native-inputs 6353 (native-inputs
6095 `(("desktop-file-utils" ,desktop-file-utils) 6354 (list desktop-file-utils
6096 ("glib:bin" ,glib "bin") ; for glib-compile-resources 6355 `(,glib "bin") ; for glib-compile-resources
6097 ("intltool" ,intltool) 6356 intltool
6098 ("itstool" ,itstool) 6357 itstool
6099 ("pkg-config" ,pkg-config) 6358 pkg-config
6100 ("vala" ,vala) 6359 vala
6101 ("xmllint" ,libxml2))) 6360 libxml2))
6102 (inputs 6361 (inputs
6103 (list gtk+ libgnome-games-support librsvg)) 6362 (list gtk+
6363 libgnome-games-support-1
6364 librsvg))
6104 (home-page "https://wiki.gnome.org/Apps/Klotski") 6365 (home-page "https://wiki.gnome.org/Apps/Klotski")
6105 (synopsis "Sliding block puzzles") 6366 (synopsis "Sliding block puzzles")
6106 (description 6367 (description
@@ -6113,7 +6374,7 @@ as possible!")
6113(define-public grilo 6374(define-public grilo
6114 (package 6375 (package
6115 (name "grilo") 6376 (name "grilo")
6116 (version "0.3.13") 6377 (version "0.3.15")
6117 (source 6378 (source
6118 (origin 6379 (origin
6119 (method url-fetch) 6380 (method url-fetch)
@@ -6121,11 +6382,18 @@ as possible!")
6121 (version-major+minor version) "/" 6382 (version-major+minor version) "/"
6122 "grilo-" version ".tar.xz")) 6383 "grilo-" version ".tar.xz"))
6123 (sha256 6384 (sha256
6124 (base32 "0ywjvh7xw4ql1q4fvl0q5n06n08pga1g1nc9l7c3x5214gr3fj6i")))) 6385 (base32 "0bbvaxw2das8826663z23y0acbdmcvggwdh64ws9jrk56vvsqlpk"))))
6125 (build-system meson-build-system) 6386 (build-system meson-build-system)
6387 (arguments
6388 (list #:phases #~(modify-phases %standard-phases
6389 (add-before 'unpack 'set-HOME
6390 (lambda _
6391 ;; Tests require write access to HOME.
6392 (setenv "HOME" "/tmp"))))))
6126 (native-inputs 6393 (native-inputs
6127 (list `(,glib "bin") ; for glib-mkenums and glib-genmarshal 6394 (list `(,glib "bin") ; for glib-mkenums and glib-genmarshal
6128 intltool 6395 gettext-minimal
6396 gsettings-desktop-schemas
6129 pkg-config 6397 pkg-config
6130 gobject-introspection 6398 gobject-introspection
6131 gtk-doc/stable 6399 gtk-doc/stable
@@ -6134,9 +6402,9 @@ as possible!")
6134 (list cyrus-sasl 6402 (list cyrus-sasl
6135 glib 6403 glib
6136 gtk+ 6404 gtk+
6137 libxml2
6138 liboauth 6405 liboauth
6139 libsoup-minimal-2 6406 libsoup
6407 libxml2
6140 totem-pl-parser)) 6408 totem-pl-parser))
6141 (native-search-paths 6409 (native-search-paths
6142 (list (search-path-specification 6410 (list (search-path-specification
@@ -6153,7 +6421,7 @@ for application developers.")
6153(define-public grilo-plugins 6421(define-public grilo-plugins
6154 (package 6422 (package
6155 (name "grilo-plugins") 6423 (name "grilo-plugins")
6156 (version "0.3.13") 6424 (version "0.3.15")
6157 (source 6425 (source
6158 (origin 6426 (origin
6159 (method url-fetch) 6427 (method url-fetch)
@@ -6161,33 +6429,31 @@ for application developers.")
6161 (version-major+minor version) "/" 6429 (version-major+minor version) "/"
6162 name "-" version ".tar.xz")) 6430 name "-" version ".tar.xz"))
6163 (sha256 6431 (sha256
6164 (base32 "1y10nnd711qxwgpz6spzp1rnk50fyf11kk1n71a31ab4fgb0ahqw")))) 6432 (base32 "0cxbxg7i9qd1pyfjj7c15x9lawvaw5608jk2apcrac7rakcw6645"))))
6165 (build-system meson-build-system) 6433 (build-system meson-build-system)
6166 (native-inputs 6434 (native-inputs
6167 `(("gettext" ,gettext-minimal) 6435 (list gettext-minimal
6168 ("glib:bin" ,glib "bin") 6436 ;; Gstreamer plugins are required for tests.
6169 ("gtk+:bin" ,gtk+ "bin") 6437 gst-plugins-good
6170 ("itstool" ,itstool) 6438 gst-plugins-bad
6171 ("pkg-config" ,pkg-config))) 6439 `(,glib "bin")
6172 ;; TODO: ahavi, gstreamer 6440 itstool
6173 (inputs 6441 pkg-config))
6174 `(("grilo" ,grilo) 6442 (inputs
6175 ;("gmime" ,gmime) ; unused 6443 (list avahi
6176 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib") 6444 grilo
6177 ("gom" ,gom) 6445 gnome-online-accounts
6178 ;("gssdp" ,gssdp) ; unused 6446 gom
6179 ;("gupnp" ,gupnp) ; unused 6447 gstreamer
6180 ;("gupnp-av" ,gupnp-av) ; unused 6448 json-glib
6181 ("json-glib" ,json-glib) 6449 avahi
6182 ("avahi" ,avahi) 6450 libgdata
6183 ("libgdata" ,libgdata) 6451 libmediaart
6184 ("libmediaart" ,libmediaart) 6452 libsoup
6185 ;("librest" ,rest) ; unused 6453 python-pygobject
6186 ("libsoup" ,libsoup) 6454 totem-pl-parser
6187 ("python-pygobject" ,python-pygobject) 6455 tracker
6188 ("totam-pl-parser" ,totem-pl-parser) 6456 tracker-miners))
6189 ("tracker" ,tracker)
6190 ("tracker-miners" ,tracker-miners)))
6191 (arguments 6457 (arguments
6192 `(#:glib-or-gtk? #t 6458 `(#:glib-or-gtk? #t
6193 ;;Disable lua-factory as it needs missing dependencies 6459 ;;Disable lua-factory as it needs missing dependencies
@@ -6307,155 +6573,151 @@ which can read a large number of file formats.")
6307 (license license:gpl2+))) 6573 (license license:gpl2+)))
6308 6574
6309(define-public rhythmbox 6575(define-public rhythmbox
6310 (package 6576 (package
6311 (name "rhythmbox") 6577 (name "rhythmbox")
6312 (version "3.4.4") 6578 (version "3.4.6")
6313 (source (origin 6579 (source (origin
6314 (method url-fetch) 6580 (method url-fetch)
6315 (uri (string-append "mirror://gnome/sources/rhythmbox/" 6581 (uri (string-append "mirror://gnome/sources/rhythmbox/"
6316 (version-major+minor version) "/" 6582 (version-major+minor version) "/"
6317 "rhythmbox-" version ".tar.xz")) 6583 "rhythmbox-" version ".tar.xz"))
6318 (sha256 6584 (sha256
6319 (base32 6585 (base32
6320 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf")))) 6586 "0d5hbsdk2p8w567mfzy4kk8xn4d227hrbyy857li3r2mrq884mpr"))))
6321 (build-system glib-or-gtk-build-system) 6587 (build-system meson-build-system)
6322 (arguments 6588 (arguments
6323 `(#:configure-flags 6589 (list
6324 (list "--enable-lirc" 6590 #:glib-or-gtk? #t
6325 "--enable-python"
6326 "--enable-vala"
6327 "--with-brasero"
6328 "--with-gudev"
6329 "--with-libsecret")
6330 #:phases 6591 #:phases
6331 (modify-phases %standard-phases 6592 #~(modify-phases %standard-phases
6332 (add-after 6593 (add-after 'unpack 'skip-gtk-update-icon-cache
6333 'install 'wrap-rhythmbox 6594 (lambda _
6334 (lambda* (#:key inputs outputs #:allow-other-keys) 6595 (substitute* "meson.build"
6335 (let ((out (assoc-ref outputs "out")) 6596 (("gtk_update_icon_cache: true")
6336 (gi-typelib-path (getenv "GI_TYPELIB_PATH")) 6597 "gtk_update_icon_cache: false"))))
6337 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")) 6598 (add-after 'install 'wrap-rhythmbox
6338 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")) 6599 (lambda* (#:key outputs #:allow-other-keys)
6339 (python-path (getenv "GUIX_PYTHONPATH"))) 6600 (wrap-program (search-input-file outputs "bin/rhythmbox")
6340 (wrap-program (string-append out "/bin/rhythmbox") 6601 `("GI_TYPELIB_PATH" ":" prefix
6341 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)) 6602 (,(getenv "GI_TYPELIB_PATH")))
6342 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)) 6603 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
6343 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)) 6604 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
6344 `("GUIX_PYTHONPATH" ":" prefix (,python-path)))) 6605 `("GRL_PLUGIN_PATH" ":" prefix
6345 #t))))) 6606 (,(getenv "GRL_PLUGIN_PATH")))
6346 (propagated-inputs 6607 `("GUIX_PYTHONPATH" ":" prefix
6347 (list dconf)) 6608 (,(getenv "GUIX_PYTHONPATH")))))))))
6348 (native-inputs 6609 (propagated-inputs
6349 `(("itstool" ,itstool) 6610 (list dconf))
6350 ("intltool" ,intltool) 6611 (native-inputs
6351 ("glib" ,glib "bin") 6612 (list desktop-file-utils
6352 ("gobject-introspection" ,gobject-introspection) 6613 gettext-minimal
6353 ("desktop-file-utils" ,desktop-file-utils) 6614 gobject-introspection
6354 ("pkg-config" ,pkg-config) 6615 `(,glib "bin")
6355 ("xmllint" ,libxml2))) 6616 itstool
6356 (inputs 6617 pkg-config
6357 `(("json-glib" ,json-glib) 6618 vala))
6358 ("tdb" ,tdb) 6619 (inputs
6359 ("gnome-desktop" ,gnome-desktop) 6620 ;; TODO:
6360 ("python" ,python) 6621 ;; * libgpod
6361 ("python-pygobject" ,python-pygobject) 6622 ;; * mx
6362 ("vala" ,vala) 6623 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
6363 ("gmime" ,gmime) 6624 ;;clutter
6364 ("adwaita-icon-theme" ,adwaita-icon-theme) 6625 ;;clutter-gtk
6365 ("grilo" ,grilo) 6626 ;;clutter-gst
6366 ("grilo-plugins" ,grilo-plugins) 6627 (list adwaita-icon-theme
6367 ("gstreamer" ,gstreamer) 6628 atk
6368 ("gst-plugins-base" ,gst-plugins-base) 6629 bash-minimal
6369 ("gst-plugins-good" ,gst-plugins-good) 6630 brasero
6370 ("totem-pl-parser" ,totem-pl-parser) 6631 json-glib
6371 ("libgudev" ,libgudev) 6632 gmime
6372 ;;("libmtp" ,libmtp) FIXME: Not detected 6633 gnome-desktop
6373 ("libsecret" ,libsecret) 6634 grilo
6374 ("libsoup" ,libsoup) 6635 grilo-plugins
6375 ("libnotify" ,libnotify) 6636 gsettings-desktop-schemas
6376 ("libpeas" ,libpeas) 6637 gst-plugins-base
6377 ("libsoup" ,libsoup-minimal-2) 6638 gst-plugins-good
6378 ("lirc" ,lirc) 6639 gstreamer
6379 ;; TODO: clutter* only used by visualizer plugin, which also requires mx 6640 gtk+
6380 ;;("clutter" ,clutter) 6641 libgudev
6381 ;;("clutter-gtk" ,clutter-gtk) 6642 libnotify
6382 ;;("clutter-gst" ,clutter-gst) 6643 libpeas
6383 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) 6644 libsecret
6384 ("atk" ,atk) 6645 libmtp
6385 ("pango" ,pango) 6646 libsoup-minimal-2
6386 ("gtk+" ,gtk+) 6647 libxml2
6387 ;; TODO: 6648 lirc
6388 ;; * libgpod 6649 pango
6389 ;; * mx 6650 python
6390 ("brasero" ,brasero))) 6651 python-pygobject
6391 (home-page "https://wiki.gnome.org/Apps/Rhythmbox") 6652 tdb
6392 (synopsis "Music player for GNOME") 6653 totem-pl-parser))
6393 (description "Rhythmbox is a music playing application for GNOME. It 6654 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
6655 (synopsis "Music player for GNOME")
6656 (description "Rhythmbox is a music playing application for GNOME. It
6394supports playlists, song ratings, and any codecs installed through gstreamer.") 6657supports playlists, song ratings, and any codecs installed through gstreamer.")
6395 (license license:gpl2+))) 6658 (license license:gpl2+)))
6396 6659
6397(define-public eog 6660(define-public eog
6398 (package 6661 (package
6399 (name "eog") 6662 (name "eog")
6400 (version "40.3") 6663 (version "42.3")
6401 (source (origin 6664 (source (origin
6402 (method url-fetch) 6665 (method url-fetch)
6403 (uri (string-append "mirror://gnome/sources/" name "/" 6666 (uri (string-append "mirror://gnome/sources/" name "/"
6404 (version-major version) "/" 6667 (version-major version) "/"
6405 name "-" version ".tar.xz")) 6668 name "-" version ".tar.xz"))
6406 (sha256 6669 (sha256
6407 (base32 6670 (base32
6408 "0ddjwcd77nw0rxb5x5bz5hd671m8gya9827p8rsnb58x103kpai8")) 6671 "0fpl8wz1j10r59m20d61b7wmp8ga48dd7svqv1a2ip66ig1b7h9h"))))
6409 ;; XXX: Remove when upgrading to 42.0 6672 (build-system meson-build-system)
6410 (patches (search-patches "eog-update-libportal-usage.patch")))) 6673 (arguments
6411 (build-system meson-build-system) 6674 (list
6412 (arguments 6675 #:glib-or-gtk? #t
6413 `(#:glib-or-gtk? #t
6414 #:meson ,meson-0.60
6415 #:configure-flags 6676 #:configure-flags
6416 ;; Otherwise, the RUNPATH will lack the final 'eog' path component. 6677 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
6417 (list (string-append "-Dc_link_args=-Wl,-rpath=" 6678 #~(list (string-append "-Dc_link_args=-Wl,-rpath="
6418 (assoc-ref %outputs "out") "/lib/eog")) 6679 #$output "/lib/eog"))
6419 #:phases 6680 #:phases
6420 (modify-phases %standard-phases 6681 #~(modify-phases %standard-phases
6421 (add-after 'unpack 'skip-gtk-update-icon-cache 6682 (add-after 'unpack 'skip-gtk-update-icon-cache
6422 ;; Don't create 'icon-theme.cache'. 6683 ;; Don't create 'icon-theme.cache'.
6423 (lambda _ 6684 (lambda _
6424 (substitute* "meson_post_install.py" 6685 (substitute* "meson.build"
6425 (("gtk-update-icon-cache") "true")))) 6686 (("gtk_update_icon_cache: true")
6426 (add-after 'install 'wrap-eog 6687 "gtk_update_icon_cache: false"))))
6427 (lambda* (#:key outputs #:allow-other-keys) 6688 (add-after 'install 'wrap-eog
6428 (let ((out (assoc-ref outputs "out")) 6689 (lambda* (#:key outputs #:allow-other-keys)
6429 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) 6690 (let ((gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6430 (wrap-program (string-append out "/bin/eog") 6691 (wrap-program (search-input-file outputs "bin/eog")
6431 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))))))) 6692 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))))))))
6432 (propagated-inputs 6693 (propagated-inputs
6433 (list dconf)) 6694 (list dconf
6434 (native-inputs 6695 libhandy)) ;libhandy is required by eog.pc
6435 `(("intltool" ,intltool) 6696 (native-inputs
6436 ("itstool" ,itstool) 6697 (list gettext-minimal
6437 ("glib" ,glib "bin") 6698 `(,glib "bin")
6438 ("gobject-introspection" ,gobject-introspection) 6699 gobject-introspection
6439 ("pkg-config" ,pkg-config) 6700 itstool
6440 ("xmllint" ,libxml2))) 6701 libxml2
6441 (inputs 6702 pkg-config))
6442 `(("gnome-desktop" ,gnome-desktop) 6703 (inputs
6443 ("shared-mime-info" ,shared-mime-info) 6704 (list adwaita-icon-theme
6444 ("adwaita-icon-theme" ,adwaita-icon-theme) 6705 bash-minimal
6445 ("exempi" ,exempi) 6706 exempi
6446 ("lcms" ,lcms) 6707 gnome-desktop
6447 ("libexif" ,libexif) 6708 gtk
6448 ("libpeas" ,libpeas) 6709 lcms
6449 ("libportal" ,libportal) 6710 libexif
6450 ("libjpeg" ,libjpeg-turbo) 6711 libjpeg-turbo
6451 ("librsvg" ,librsvg) 6712 libpeas
6452 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) 6713 libportal
6453 ("gtk+" ,gtk+))) 6714 librsvg
6454 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome") 6715 shared-mime-info))
6455 (synopsis "GNOME image viewer") 6716 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
6456 (description "Eye of GNOME is the GNOME image viewer. It 6717 (synopsis "GNOME image viewer")
6718 (description "Eye of GNOME is the GNOME image viewer. It
6457supports image conversion, rotation, and slideshows.") 6719supports image conversion, rotation, and slideshows.")
6458 (license license:gpl2+))) 6720 (license license:gpl2+)))
6459 6721
6460(define-public eog-plugins 6722(define-public eog-plugins
6461 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as 6723 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
@@ -6464,7 +6726,7 @@ supports image conversion, rotation, and slideshows.")
6464 ;; 'XDG_DATA_DIRS' appropriately set. 6726 ;; 'XDG_DATA_DIRS' appropriately set.
6465 (package 6727 (package
6466 (name "eog-plugins") 6728 (name "eog-plugins")
6467 (version "3.26.8") 6729 (version "42.1")
6468 (source (origin 6730 (source (origin
6469 (method url-fetch) 6731 (method url-fetch)
6470 (uri (string-append "mirror://gnome/sources/eog-plugins/" 6732 (uri (string-append "mirror://gnome/sources/eog-plugins/"
@@ -6472,30 +6734,22 @@ supports image conversion, rotation, and slideshows.")
6472 "eog-plugins-" version ".tar.xz")) 6734 "eog-plugins-" version ".tar.xz"))
6473 (sha256 6735 (sha256
6474 (base32 6736 (base32
6475 "1dcxdjp7x092wn0iq7975f9b05ksb5kl5mxmyiqmydrja91ryw40")))) 6737 "0prymlrfh66p03va5aj30wazshp7bn80gzcsj9dgsmss2k512wlb"))))
6476 (build-system gnu-build-system) 6738 (build-system meson-build-system)
6477 (arguments
6478 '(#:phases
6479 (modify-phases %standard-phases
6480 (add-after 'install 'fix-plugins-path
6481 ;; XXX: EOG looks its plugins in "share/eog/plugins", not in
6482 ;; "lib/eog/plugins".
6483 (lambda* (#:key outputs #:allow-other-keys)
6484 (let* ((out (assoc-ref outputs "out"))
6485 (plugins (string-append out "/share/eog/plugins")))
6486 (mkdir (dirname plugins))
6487 (symlink (string-append out "/lib/eog/plugins") plugins)))))))
6488 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins") 6739 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
6489 (synopsis "Extensions for the Eye of GNOME image viewer") 6740 (synopsis "Extensions for the Eye of GNOME image viewer")
6490 (native-inputs 6741 (native-inputs
6491 (list pkg-config gettext-minimal)) 6742 (list gettext-minimal
6743 pkg-config
6744 python))
6492 (inputs 6745 (inputs
6493 (list eog 6746 (list eog
6494 glib 6747 glib
6495 gtk+ 6748 gtk+
6496 libpeas 6749 libchamplain
6497 libexif 6750 libexif
6498 libchamplain)) 6751 libgdata
6752 libpeas))
6499 (description 6753 (description
6500 "This package provides plugins for the Eye of GNOME (EOG) image viewer, 6754 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
6501notably: 6755notably:
@@ -6773,7 +7027,7 @@ a secret password store, an adblocker, and a modern UI.")
6773(define-public epiphany 7027(define-public epiphany
6774 (package 7028 (package
6775 (name "epiphany") 7029 (name "epiphany")
6776 (version "42.2") 7030 (version "42.4")
6777 (source (origin 7031 (source (origin
6778 (method url-fetch) 7032 (method url-fetch)
6779 (uri (string-append "mirror://gnome/sources/epiphany/" 7033 (uri (string-append "mirror://gnome/sources/epiphany/"
@@ -6781,7 +7035,7 @@ a secret password store, an adblocker, and a modern UI.")
6781 "epiphany-" version ".tar.xz")) 7035 "epiphany-" version ".tar.xz"))
6782 (sha256 7036 (sha256
6783 (base32 7037 (base32
6784 "0b8rhns3b58f8dnp83mm1g933aqf88d8wrfyyp7jq3fihvw2rh4j")))) 7038 "0q08ixzgp341g5pq6rfy5q75m9bvddvl8na3qa5v5vi056nkh29p"))))
6785 (build-system meson-build-system) 7039 (build-system meson-build-system)
6786 (arguments 7040 (arguments
6787 (list 7041 (list
@@ -6809,33 +7063,37 @@ a secret password store, an adblocker, and a modern UI.")
6809 #:configure-flags 7063 #:configure-flags
6810 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component. 7064 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
6811 #~(list (string-append "-Dc_link_args=-Wl,-rpath=" 7065 #~(list (string-append "-Dc_link_args=-Wl,-rpath="
6812 #$output "/lib/epiphany")))) 7066 #$output "/lib/epiphany")
7067 "-Dsoup2=disabled"))) ;use libsoup 3
6813 (propagated-inputs (list dconf)) 7068 (propagated-inputs (list dconf))
6814 (native-inputs (list desktop-file-utils ; for update-desktop-database 7069 (native-inputs
6815 `(,glib "bin") ; for glib-mkenums 7070 (list desktop-file-utils ; for update-desktop-database
6816 intltool 7071 gettext-minimal
6817 itstool 7072 `(,glib "bin") ; for glib-mkenums
6818 pkg-config 7073 itstool
6819 libxml2 7074 pkg-config
6820 xorg-server-for-tests)) 7075 libxml2
6821 (inputs (list avahi 7076 xorg-server-for-tests))
6822 gcr 7077 (inputs
6823 librsvg ; for loading SVG files 7078 (list avahi
6824 glib-networking 7079 gcr
6825 gnome-desktop 7080 glib-networking
6826 gsettings-desktop-schemas 7081 gnome-desktop
6827 json-glib 7082 gsettings-desktop-schemas
6828 iso-codes 7083 iso-codes
6829 libarchive 7084 json-glib
6830 libdazzle 7085 libarchive
6831 libhandy 7086 libdazzle
6832 libnotify 7087 libhandy
6833 libportal 7088 libnotify
6834 libsecret 7089 libportal
6835 libxslt 7090 librsvg ; for loading SVG files
6836 nettle ; for hogweed 7091 libsecret
6837 sqlite 7092 libsoup
6838 webkitgtk-with-libsoup2)) 7093 libxslt
7094 nettle ; for hogweed
7095 sqlite
7096 webkitgtk))
6839 (home-page "https://wiki.gnome.org/Apps/Web") 7097 (home-page "https://wiki.gnome.org/Apps/Web")
6840 (synopsis "GNOME web browser") 7098 (synopsis "GNOME web browser")
6841 (description 7099 (description
@@ -6846,7 +7104,7 @@ principles are simplicity and standards compliance.")
6846(define-public d-feet 7104(define-public d-feet
6847 (package 7105 (package
6848 (name "d-feet") 7106 (name "d-feet")
6849 (version "0.3.14") 7107 (version "0.3.16")
6850 (source (origin 7108 (source (origin
6851 (method url-fetch) 7109 (method url-fetch)
6852 (uri (string-append "mirror://gnome/sources/" name "/" 7110 (uri (string-append "mirror://gnome/sources/" name "/"
@@ -6854,47 +7112,39 @@ principles are simplicity and standards compliance.")
6854 name "-" version ".tar.xz")) 7112 name "-" version ".tar.xz"))
6855 (sha256 7113 (sha256
6856 (base32 7114 (base32
6857 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f")))) 7115 "1jqw5ndpgyb0zxh0g21ai1911lfrm56vz18xbccfqm4sk95wwcw7"))))
6858 (build-system glib-or-gtk-build-system) 7116 (build-system meson-build-system)
6859 (arguments 7117 (arguments
6860 '(#:out-of-source? #f ; tests need to run in the source directory. 7118 (list
6861 #:phases 7119 #:glib-or-gtk? #t
6862 (modify-phases %standard-phases 7120 #:phases
6863 (add-before 7121 #~(modify-phases %standard-phases
6864 'check 'pre-check 7122 (add-before 'check 'pre-check
6865 (lambda _ 7123 (lambda _
6866 ;; The test suite requires a running X server. 7124 ;; The test suite requires a running X server.
6867 (system "Xvfb :1 &") 7125 (system "Xvfb :1 &")
6868 (setenv "DISPLAY" ":1") 7126 (setenv "DISPLAY" ":1")))
6869 ;; Don't fail on missing '/etc/machine-id'. 7127 (add-before 'install 'disable-gtk-update-icon-cache
6870 (setenv "DBUS_FATAL_WARNINGS" "0") 7128 (lambda _
6871 ;; tests.py and window.py don't meet E402: 7129 (setenv "DESTDIR" "/")))
6872 ;; E402 module level import not at top of file 7130 (add-after 'install 'wrap-program
6873 (substitute* "src/tests/Makefile" 7131 (lambda* (#:key outputs #:allow-other-keys)
6874 (("--ignore=E123") "--ignore=E123,E402")) 7132 (wrap-program (search-input-file outputs "bin/d-feet")
6875 #t))
6876 (add-after
6877 'install 'wrap-program
6878 (lambda* (#:key outputs #:allow-other-keys)
6879 (let ((prog (string-append (assoc-ref outputs "out")
6880 "/bin/d-feet")))
6881 (wrap-program prog
6882 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH"))) 7133 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")))
6883 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))) 7134 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))))
6884 #t))))))
6885 (native-inputs 7135 (native-inputs
6886 `(("intltool" ,intltool) 7136 (list `(,glib "bin")
6887 ("itstool" ,itstool) 7137 intltool
6888 ("pkg-config" ,pkg-config) 7138 itstool
6889 ("python-pep8" ,python-pep8) 7139 libxml2
6890 ("xmllint" ,libxml2) 7140 pkg-config
6891 ("xorg-server" ,xorg-server-for-tests))) 7141 python-pep8
7142 xorg-server-for-tests))
6892 (inputs 7143 (inputs
6893 `(("gobject-introspection" ,gobject-introspection) 7144 (list gobject-introspection
6894 ("gtk+" ,gtk+) 7145 gtk+
6895 ("python" ,python-wrapper) 7146 python-wrapper
6896 ("hicolor-icon-theme" ,hicolor-icon-theme) 7147 python-pygobject))
6897 ("python-pygobject" ,python-pygobject)))
6898 (home-page "https://wiki.gnome.org/Apps/DFeet") 7148 (home-page "https://wiki.gnome.org/Apps/DFeet")
6899 (synopsis "D-Bus debugger") 7149 (synopsis "D-Bus debugger")
6900 (description 7150 (description
@@ -6944,7 +7194,7 @@ jQuery.Syntax JavaScript libraries.")
6944(define-public yelp 7194(define-public yelp
6945 (package 7195 (package
6946 (name "yelp") 7196 (name "yelp")
6947 (version "41.0") 7197 (version "42.1")
6948 (source (origin 7198 (source (origin
6949 (method url-fetch) 7199 (method url-fetch)
6950 (uri (string-append "mirror://gnome/sources/" name "/" 7200 (uri (string-append "mirror://gnome/sources/" name "/"
@@ -6952,15 +7202,22 @@ jQuery.Syntax JavaScript libraries.")
6952 name "-" version ".tar.xz")) 7202 name "-" version ".tar.xz"))
6953 (sha256 7203 (sha256
6954 (base32 7204 (base32
6955 "11shrqass8ak8m10nayqssa6sbrrxa13ffpamvqi1c0yzkxdk9r5")))) 7205 "0h9vf4fx056imjf8ibmn03wg1c3hniipy1nsm2jqi62lp1m19c95"))))
6956 (build-system glib-or-gtk-build-system) 7206 (build-system glib-or-gtk-build-system)
6957 (native-inputs 7207 (native-inputs
6958 (list `(,glib "bin") ; for glib-genmarshal, etc. 7208 (list `(,glib "bin") ; for glib-genmarshal, etc.
6959 intltool itstool pkg-config)) 7209 intltool
7210 itstool
7211 pkg-config))
6960 (propagated-inputs 7212 (propagated-inputs
6961 (list dconf)) 7213 (list dconf))
6962 (inputs 7214 (inputs
6963 (list gsettings-desktop-schemas libxslt sqlite webkitgtk yelp-xsl)) 7215 (list gsettings-desktop-schemas
7216 libhandy
7217 libxslt
7218 sqlite
7219 webkitgtk
7220 yelp-xsl))
6964 (home-page "https://wiki.gnome.org/Apps/Yelp") 7221 (home-page "https://wiki.gnome.org/Apps/Yelp")
6965 (synopsis "GNOME help browser") 7222 (synopsis "GNOME help browser")
6966 (description 7223 (description
@@ -7004,7 +7261,7 @@ wraps things up in a developer-friendly way.")
7004(define-public libgee 7261(define-public libgee
7005 (package 7262 (package
7006 (name "libgee") 7263 (name "libgee")
7007 (version "0.20.3") 7264 (version "0.20.5")
7008 (source (origin 7265 (source (origin
7009 (method url-fetch) 7266 (method url-fetch)
7010 (uri (string-append "mirror://gnome/sources/libgee/" 7267 (uri (string-append "mirror://gnome/sources/libgee/"
@@ -7012,19 +7269,19 @@ wraps things up in a developer-friendly way.")
7012 "libgee-" version ".tar.xz")) 7269 "libgee-" version ".tar.xz"))
7013 (sha256 7270 (sha256
7014 (base32 7271 (base32
7015 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh")))) 7272 "060mbj6ihca315a6wqj47mfzm2881azwm5bl0vwjg9ymay4km1ii"))))
7016 (build-system gnu-build-system) 7273 (build-system gnu-build-system)
7017 (arguments 7274 (arguments
7018 `(#:phases 7275 (list
7019 (modify-phases %standard-phases 7276 #:phases
7020 (add-after 'unpack 'fix-introspection-install-dir 7277 #~(modify-phases %standard-phases
7021 (lambda* (#:key outputs #:allow-other-keys) 7278 (add-after 'unpack 'fix-introspection-install-dir
7022 (let ((out (assoc-ref outputs "out"))) 7279 (lambda _
7023 (substitute* "gee/Makefile.in" 7280 (substitute* "gee/Makefile.in"
7024 (("@INTROSPECTION_GIRDIR@") 7281 (("@INTROSPECTION_GIRDIR@")
7025 (string-append out "/share/gir-1.0/")) 7282 (string-append #$output "/share/gir-1.0/"))
7026 (("@INTROSPECTION_TYPELIBDIR@") 7283 (("@INTROSPECTION_TYPELIBDIR@")
7027 (string-append out "/lib/girepository-1.0/"))))))))) 7284 (string-append #$output "/lib/girepository-1.0/"))))))))
7028 (native-inputs 7285 (native-inputs
7029 (list `(,glib "bin") pkg-config)) 7286 (list `(,glib "bin") pkg-config))
7030 (inputs 7287 (inputs
@@ -7039,7 +7296,7 @@ classes for commonly used data structures.")
7039(define-public gexiv2 7296(define-public gexiv2
7040 (package 7297 (package
7041 (name "gexiv2") 7298 (name "gexiv2")
7042 (version "0.12.2") 7299 (version "0.14.0")
7043 (source (origin 7300 (source (origin
7044 (method url-fetch) 7301 (method url-fetch)
7045 (uri (string-append "mirror://gnome/sources/" name "/" 7302 (uri (string-append "mirror://gnome/sources/" name "/"
@@ -7047,16 +7304,32 @@ classes for commonly used data structures.")
7047 name "-" version ".tar.xz")) 7304 name "-" version ".tar.xz"))
7048 (sha256 7305 (sha256
7049 (base32 7306 (base32
7050 "0k4ljzzz5dwqndw8awvlw3ala8rh3b2rk9i4jzvywc53mi9ba8i3")))) 7307 "17nnsslj2wpizpx742w5lxdzcz5mx6jmsqcrli7zddi0zyk7k0p5"))))
7051 (build-system meson-build-system) 7308 (build-system meson-build-system)
7309 (arguments
7310 (list
7311 #:imported-modules `(,@%meson-build-system-modules
7312 (guix build python-build-system))
7313 #:modules '((guix build meson-build-system)
7314 ((guix build python-build-system) #:prefix python:)
7315 (guix build utils))
7316 #:configure-flags
7317 #~(list (string-append "-Dpython3_girdir="
7318 (python:site-packages %build-inputs %outputs)
7319 "/gi/overrides"))))
7052 (native-inputs 7320 (native-inputs
7053 (list gcr 7321 (list gcr
7054 `(,glib "bin") pkg-config vala)) 7322 `(,glib "bin")
7323 pkg-config
7324 python
7325 python-pygobject
7326 vala))
7055 (propagated-inputs 7327 (propagated-inputs
7056 ;; Listed in "Requires" section of gexiv2.pc 7328 ;; Listed in "Requires" section of gexiv2.pc
7057 (list exiv2)) 7329 (list exiv2))
7058 (inputs 7330 (inputs
7059 (list glib gobject-introspection)) 7331 (list glib
7332 gobject-introspection))
7060 (home-page "https://wiki.gnome.org/Projects/gexiv2") 7333 (home-page "https://wiki.gnome.org/Projects/gexiv2")
7061 (synopsis "GObject wrapper around the Exiv2 photo metadata library") 7334 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
7062 (description 7335 (description
@@ -7068,7 +7341,7 @@ metadata in photo and video files of various formats.")
7068(define-public shotwell 7341(define-public shotwell
7069 (package 7342 (package
7070 (name "shotwell") 7343 (name "shotwell")
7071 (version "0.30.16") 7344 (version "0.31.5")
7072 (source (origin 7345 (source (origin
7073 (method url-fetch) 7346 (method url-fetch)
7074 (uri (string-append "mirror://gnome/sources/shotwell/" 7347 (uri (string-append "mirror://gnome/sources/shotwell/"
@@ -7076,7 +7349,7 @@ metadata in photo and video files of various formats.")
7076 "shotwell-" version ".tar.xz")) 7349 "shotwell-" version ".tar.xz"))
7077 (sha256 7350 (sha256
7078 (base32 7351 (base32
7079 "1yhqfmz49qkls4i6xaznm5ybwzv19jxsqjdic60wn0ykvbxjr269")))) 7352 "06awlix23y1cd89n6v9vip48cg08fjq8v6zaw38k5clrrv38y11v"))))
7080 (build-system meson-build-system) 7353 (build-system meson-build-system)
7081 (arguments 7354 (arguments
7082 '(#:glib-or-gtk? #t 7355 '(#:glib-or-gtk? #t
@@ -7086,31 +7359,31 @@ metadata in photo and video files of various formats.")
7086 (lambda _ 7359 (lambda _
7087 (substitute* "build-aux/meson/postinstall.py" 7360 (substitute* "build-aux/meson/postinstall.py"
7088 (("gtk-update-icon-cache") (which "true")) 7361 (("gtk-update-icon-cache") (which "true"))
7089 (("update-desktop-database") (which "true"))) 7362 (("update-desktop-database") (which "true"))))))))
7090 #t)))))
7091 (propagated-inputs 7363 (propagated-inputs
7092 (list dconf)) 7364 (list dconf))
7093 (native-inputs 7365 (native-inputs
7094 `(("gettext" ,gettext-minimal) 7366 (list gettext-minimal
7095 ("glib:bin" ,glib "bin") 7367 `(,glib "bin")
7096 ("itstool" ,itstool) 7368 itstool
7097 ("pkg-config" ,pkg-config) 7369 pkg-config
7098 ("python" ,python) 7370 python))
7099 ("vala" ,vala)))
7100 (inputs 7371 (inputs
7101 `(("gcr" ,gcr) 7372 (list gcr
7102 ("gexiv2" ,gexiv2) 7373 gexiv2
7103 ("gst-plugins-base" ,gst-plugins-base) 7374 gst-plugins-base
7104 ("gstreamer" ,gstreamer) 7375 gstreamer
7105 ("json-glib" ,json-glib) 7376 json-glib
7106 ("libgdata" ,libgdata) 7377 libgdata
7107 ("libgee" ,libgee) 7378 libgee
7108 ("libgphoto2" ,libgphoto2) 7379 libgphoto2
7109 ("libgudev" ,libgudev) 7380 libgudev
7110 ("libraw" ,libraw) 7381 libraw
7111 ("libxml2" ,libxml2) 7382 libsecret
7112 ("sqlite" ,sqlite) 7383 libwebp
7113 ("webkitgtk" ,webkitgtk-with-libsoup2))) 7384 libxml2
7385 sqlite
7386 webkitgtk))
7114 (home-page "https://wiki.gnome.org/Apps/Shotwell") 7387 (home-page "https://wiki.gnome.org/Apps/Shotwell")
7115 (synopsis "Photo manager for GNOME 3") 7388 (synopsis "Photo manager for GNOME 3")
7116 (description 7389 (description
@@ -7123,7 +7396,7 @@ share them with others via social networking and more.")
7123(define-public file-roller 7396(define-public file-roller
7124 (package 7397 (package
7125 (name "file-roller") 7398 (name "file-roller")
7126 (version "3.40.0") 7399 (version "3.42.0")
7127 (source (origin 7400 (source (origin
7128 (method url-fetch) 7401 (method url-fetch)
7129 (uri (string-append "mirror://gnome/sources/file-roller/" 7402 (uri (string-append "mirror://gnome/sources/file-roller/"
@@ -7131,22 +7404,27 @@ share them with others via social networking and more.")
7131 "file-roller-" version ".tar.xz")) 7404 "file-roller-" version ".tar.xz"))
7132 (sha256 7405 (sha256
7133 (base32 7406 (base32
7134 "039w1dcpa5ypmv6sm634alk9vbcdkyvy595vkh5gn032jsiqca2a")))) 7407 "1iq24g2z7kf1a6kn9asp96lc59r8pxxjvcmm5r7zy47cadnqwhqw"))))
7135 (build-system meson-build-system) 7408 (build-system meson-build-system)
7409 (arguments
7410 (list #:glib-or-gtk? #t
7411 #:phases #~(modify-phases %standard-phases
7412 (add-before 'install 'disable-gtk-update-icon-cache
7413 (lambda _
7414 (setenv "DESTDIR" "/"))))))
7136 (native-inputs 7415 (native-inputs
7137 (list desktop-file-utils ; for update-desktop-database 7416 (list desktop-file-utils
7138 intltool 7417 gettext-minimal
7418 `(,glib "bin")
7139 itstool 7419 itstool
7140 pkg-config 7420 pkg-config
7141 python 7421 python))
7142 `(,gtk+ "bin") ; gtk-update-icon-cache
7143 `(,glib "bin")))
7144 ;; TODO: Add libnautilus. 7422 ;; TODO: Add libnautilus.
7145 (inputs 7423 (inputs
7146 (list gtk+ 7424 (list gtk+
7147 gdk-pixbuf
7148 json-glib 7425 json-glib
7149 libarchive 7426 libarchive
7427 libhandy
7150 libnotify 7428 libnotify
7151 nettle 7429 nettle
7152 libxml2)) 7430 libxml2))
@@ -7160,7 +7438,7 @@ such as gzip tarballs.")
7160(define-public gnome-session 7438(define-public gnome-session
7161 (package 7439 (package
7162 (name "gnome-session") 7440 (name "gnome-session")
7163 (version "40.1") 7441 (version "42.0")
7164 (source (origin 7442 (source (origin
7165 (method url-fetch) 7443 (method url-fetch)
7166 (uri (string-append "mirror://gnome/sources/" name "/" 7444 (uri (string-append "mirror://gnome/sources/" name "/"
@@ -7169,37 +7447,35 @@ such as gzip tarballs.")
7169 (patches (search-patches "gnome-session-support-elogind.patch")) 7447 (patches (search-patches "gnome-session-support-elogind.patch"))
7170 (sha256 7448 (sha256
7171 (base32 7449 (base32
7172 "02z0xr6sv9ibl7awbw9j4y05hf4jk1zgvsbbmh7n27hhjvsvc8pl")))) 7450 "1alwjqr36rd0s132qs2clwnxgilcbylps6lm41lr50mn782hdjiw"))))
7173 (arguments 7451 (arguments
7174 `(#:meson ,meson-0.60 7452 `(#:glib-or-gtk? #t
7175 #:glib-or-gtk? #t
7176 #:phases 7453 #:phases
7177 (modify-phases %standard-phases 7454 (modify-phases %standard-phases
7178 (add-after 'install 'wrap-gnome-session 7455 (add-after 'install 'wrap-gnome-session
7179 (lambda* (#:key inputs outputs #:allow-other-keys) 7456 (lambda* (#:key native-inputs inputs outputs #:allow-other-keys)
7180 ;; Make sure 'gnome-session' finds the 'gsettings' program. 7457 ;; Make sure 'gnome-session' finds the 'gsettings' program.
7181 (let ((glib (assoc-ref inputs "glib:bin")) 7458 (wrap-program (search-input-file outputs "bin/gnome-session")
7182 (out (assoc-ref outputs "out"))) 7459 `("PATH" ":" prefix
7183 (wrap-program (string-append out "/bin/gnome-session") 7460 (,(dirname (search-input-file (or native-inputs inputs)
7184 `("PATH" ":" prefix (,(string-append glib "/bin")))))))) 7461 "bin/gdbus"))))))))
7185
7186 #:configure-flags 7462 #:configure-flags
7187 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error 7463 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
7188 "-Dman=false" ; FIXME: disabled because of docbook validation error 7464 "-Dman=false" ; FIXME: disabled because of docbook validation error
7189 "-Delogind=true" 7465 "-Delogind=true"
7190 "-Dsystemd=false" 7466 "-Dsystemd=false"
7191 "-Dsystemd_session=disable" 7467 "-Dsystemd_session=disable"
7192 "-Dsystemd_journal=false"))) 7468 "-Dsystemd_journal=false")))
7193 (build-system meson-build-system) 7469 (build-system meson-build-system)
7194 (native-inputs 7470 (native-inputs
7195 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. 7471 (list docbook-xml
7196 ("pkg-config" ,pkg-config) 7472 docbook-xsl
7197 ("intltool" ,intltool) 7473 `(,glib "bin") ; for glib-compile-schemas, etc.
7198 ("xsltproc" ,libxslt) 7474 intltool
7199 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES' 7475 libxml2 ;for 'XML_CATALOG_FILES'
7200 ("docbook-xsl" ,docbook-xsl) 7476 libxslt
7201 ("docbook-xml" ,docbook-xml) 7477 pkg-config
7202 ("xmlto" ,xmlto))) 7478 xmlto))
7203 (inputs 7479 (inputs
7204 (list elogind 7480 (list elogind
7205 gnome-desktop 7481 gnome-desktop
@@ -7266,7 +7542,7 @@ configuration program to choose applications starting on login.")
7266 (inputs 7542 (inputs
7267 (list gtk+ readline)) 7543 (list gtk+ readline))
7268 (synopsis "Javascript bindings for GNOME") 7544 (synopsis "Javascript bindings for GNOME")
7269 (home-page "https://live.gnome.org/Gjs") 7545 (home-page "https://wiki.gnome.org/Gjs")
7270 (description 7546 (description
7271 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey 7547 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
7272javascript engine and the GObject introspection framework.") 7548javascript engine and the GObject introspection framework.")
@@ -7275,7 +7551,7 @@ javascript engine and the GObject introspection framework.")
7275(define-public gedit 7551(define-public gedit
7276 (package 7552 (package
7277 (name "gedit") 7553 (name "gedit")
7278 (version "40.1") 7554 (version "42.2")
7279 (source (origin 7555 (source (origin
7280 (method url-fetch) 7556 (method url-fetch)
7281 (uri (string-append "mirror://gnome/sources/" name "/" 7557 (uri (string-append "mirror://gnome/sources/" name "/"
@@ -7283,86 +7559,60 @@ javascript engine and the GObject introspection framework.")
7283 name "-" version ".tar.xz")) 7559 name "-" version ".tar.xz"))
7284 (sha256 7560 (sha256
7285 (base32 7561 (base32
7286 "149ngl9qw6h59546lir1pa7hvw23ppsnqlj9mfqphmmn5jl99qsm")))) 7562 "1jlgzihi4ywvlr4xj2vbnnxzar8j3mwj0jcn8jp6dh0a3w8jjqiw"))))
7287 (build-system meson-build-system) 7563 (build-system meson-build-system)
7288 (arguments 7564 (arguments
7289 `(#:glib-or-gtk? #t 7565 (list
7290 #:meson ,meson-0.60 7566 #:glib-or-gtk? #t
7291 #:configure-flags 7567 #:configure-flags
7292 ;; Otherwise, the RUNPATH will lack the final path component. 7568 ;; Otherwise, the RUNPATH will lack the final path component.
7293 (list (string-append "-Dc_link_args=-Wl,-rpath=" 7569 #~(list (string-append "-Dc_link_args=-Wl,-rpath="
7294 (assoc-ref %outputs "out") "/lib/gedit")) 7570 #$output "/lib/gedit"))
7295 7571 #:phases
7296 ;; XXX: Generated .h files are sometimes used before being built. 7572 #~(modify-phases %standard-phases
7297 #:parallel-build? #f 7573 (add-after 'unpack 'skip-gtk-update-icon-cache
7298 7574 ;; Don't create 'icon-theme.cache'.
7299 #:phases 7575 (lambda _
7300 (modify-phases %standard-phases 7576 (substitute* "build-aux/meson/post_install.py"
7301 (add-after 'unpack 'skip-gtk-update-icon-cache 7577 (("gtk-update-icon-cache") (which "true")))))
7302 ;; Don't create 'icon-theme.cache'. 7578 (add-after 'unpack 'do-not-invoke-git
7303 (lambda _ 7579 (lambda* (#:key inputs #:allow-other-keys)
7304 (substitute* "build-aux/meson/post_install.py" 7580 (substitute* "meson.build"
7305 (("gtk-update-icon-cache") (which "true"))) 7581 ((".*git.*") ""))))
7306 #t)) 7582 (add-after 'install 'wrap-gedit
7307 (add-after 'unpack 'patch-libgd-fetch 7583 (lambda* (#:key outputs #:allow-other-keys)
7308 (lambda* (#:key inputs #:allow-other-keys) 7584 (wrap-program (search-input-file outputs "bin/gedit")
7309 (let ((libgd (assoc-ref inputs "libgd"))) 7585 ;; For plugins.
7310 ;; Calling git is unnecessary because libgd is fetched as a 7586 `("GI_TYPELIB_PATH" ":" prefix (,(getenv "GI_TYPELIB_PATH")))
7311 ;; native input to this package. 7587 `("GUIX_PYTHONPATH" ":" prefix (,(getenv "GUIX_PYTHONPATH")))
7312 (substitute* "meson.build" 7588 ;; For language-specs.
7313 ((".*git.*") "")) 7589 `("XDG_DATA_DIRS" ":" prefix
7314 (copy-recursively libgd "subprojects/libgd") 7590 (,(string-append #$(this-package-input "gtksourceview")
7315 #t))) 7591 "/share")))))))))
7316 (add-after 'install 'wrap-gedit
7317 (lambda* (#:key inputs outputs #:allow-other-keys)
7318 (let ((out (assoc-ref outputs "out"))
7319 (gtksourceview (assoc-ref inputs "gtksourceview"))
7320 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7321 (python-path (getenv "GUIX_PYTHONPATH")))
7322 (wrap-program (string-append out "/bin/gedit")
7323 ;; For plugins.
7324 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7325 `("GUIX_PYTHONPATH" ":" prefix (,python-path))
7326 ;; For language-specs.
7327 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
7328 "/share")))))
7329 #t)))))
7330 (propagated-inputs 7592 (propagated-inputs
7331 (list dconf)) 7593 (list dconf))
7332 (native-inputs 7594 (native-inputs
7333 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database 7595 (list desktop-file-utils ;for update-desktop-database
7334 ("intltool" ,intltool) 7596 `(,glib "bin") ;for glib-mkenums, etc.
7335 ("itstool" ,itstool) 7597 gobject-introspection
7336 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc. 7598 intltool
7337 ("gobject-introspection" ,gobject-introspection) 7599 itstool
7338 ("libgd" 7600 libxml2
7339 ,(origin 7601 pkg-config
7340 (method git-fetch) 7602 python
7341 (uri (git-reference 7603 vala))
7342 (url "https://gitlab.gnome.org/GNOME/libgd")
7343 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
7344 (file-name (git-file-name "libgd" version))
7345 (sha256
7346 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
7347 ("pkg-config" ,pkg-config)))
7348 (inputs 7604 (inputs
7349 (list amtk 7605 (list adwaita-icon-theme
7606 bash-minimal
7350 glib 7607 glib
7608 gsettings-desktop-schemas
7351 gspell 7609 gspell
7352 gtk+ 7610 gtk+
7353 gtksourceview-4 7611 gtksourceview-4
7354 libpeas 7612 libpeas
7355 libxml2
7356 iso-codes
7357 python-pygobject
7358 python
7359 tepl
7360 gsettings-desktop-schemas
7361 libx11
7362 vala
7363 adwaita-icon-theme
7364 libsoup 7613 libsoup
7365 gnome-desktop)) 7614 python
7615 python-pygobject))
7366 (home-page "https://wiki.gnome.org/Apps/Gedit") 7616 (home-page "https://wiki.gnome.org/Apps/Gedit")
7367 (synopsis "GNOME text editor") 7617 (synopsis "GNOME text editor")
7368 (description "While aiming at simplicity and ease of use, gedit is a 7618 (description "While aiming at simplicity and ease of use, gedit is a
@@ -7372,7 +7622,7 @@ powerful general purpose text editor.")
7372(define-public zenity 7622(define-public zenity
7373 (package 7623 (package
7374 (name "zenity") 7624 (name "zenity")
7375 (version "3.32.0") 7625 (version "3.43.0")
7376 (source (origin 7626 (source (origin
7377 (method url-fetch) 7627 (method url-fetch)
7378 (uri (string-append "mirror://gnome/sources/zenity/" 7628 (uri (string-append "mirror://gnome/sources/zenity/"
@@ -7380,12 +7630,17 @@ powerful general purpose text editor.")
7380 "zenity-" version ".tar.xz")) 7630 "zenity-" version ".tar.xz"))
7381 (sha256 7631 (sha256
7382 (base32 7632 (base32
7383 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7")))) 7633 "0czq2vx636xbvg7zbdqkxq41zgm7v1h048awy0cgls0q1hgcmmxh"))))
7384 (build-system gnu-build-system) 7634 (build-system meson-build-system)
7385 (native-inputs 7635 (arguments
7386 (list gettext-minimal itstool pkg-config)) 7636 (list #:phases #~(modify-phases %standard-phases
7387 (inputs 7637 (add-after 'unpack 'disable-gtk-update-icon-cache
7388 (list libnotify webkitgtk)) 7638 ;; The gtk-update-icon-cache tool is only run when
7639 ;; DESTDIR is unset.
7640 (lambda _
7641 (setenv "DESTDIR" "/"))))))
7642 (native-inputs (list gettext-minimal itstool pkg-config))
7643 (inputs (list gtk+))
7389 (synopsis "Display graphical dialog boxes from shell scripts") 7644 (synopsis "Display graphical dialog boxes from shell scripts")
7390 (home-page "https://www.gnome.org") 7645 (home-page "https://www.gnome.org")
7391 (description 7646 (description
@@ -7431,15 +7686,15 @@ to display dialog boxes from the commandline and shell scripts.")
7431 "-Dinstalled_tests=false" 7686 "-Dinstalled_tests=false"
7432 ;; The following flags are needed for the bundled clutter 7687 ;; The following flags are needed for the bundled clutter
7433 (string-append "-Dxwayland_path=" 7688 (string-append "-Dxwayland_path="
7434 (search-input-file %build-inputs "/bin/Xwayland")) 7689 (search-input-file %build-inputs "bin/Xwayland"))
7435 ;; the remaining flags are needed for the bundled cogl 7690 ;; the remaining flags are needed for the bundled cogl
7436 (string-append "-Dopengl_libname=" 7691 (string-append "-Dopengl_libname="
7437 (search-input-file %build-inputs "/lib/libGL.so")) 7692 (search-input-file %build-inputs "lib/libGL.so"))
7438 (string-append "-Dgles2_libname=" 7693 (string-append "-Dgles2_libname="
7439 (search-input-file %build-inputs "/lib/libGLESv2.so")) 7694 (search-input-file %build-inputs "lib/libGLESv2.so"))
7440 "-Degl_device=true" ;false by default 7695 "-Degl_device=true" ;false by default
7441 "-Dwayland_eglstream=true") ;false by default 7696 "-Dwayland_eglstream=true") ;false by default
7442 #:test-options ''("--verbose") 7697 #:test-options '(list "--verbose")
7443 #:phases 7698 #:phases
7444 #~(modify-phases %standard-phases 7699 #~(modify-phases %standard-phases
7445 (add-after 'unpack 'use-RUNPATH-instead-of-RPATH 7700 (add-after 'unpack 'use-RUNPATH-instead-of-RPATH
@@ -7453,8 +7708,7 @@ to display dialog boxes from the commandline and shell scripts.")
7453 (lambda* (#:key inputs #:allow-other-keys) 7708 (lambda* (#:key inputs #:allow-other-keys)
7454 (substitute* "src/wayland/meta-wayland-egl-stream.c" 7709 (substitute* "src/wayland/meta-wayland-egl-stream.c"
7455 (("libnvidia-egl-wayland.so.1") 7710 (("libnvidia-egl-wayland.so.1")
7456 (search-input-file inputs 7711 (search-input-file inputs "lib/libnvidia-egl-wayland.so.1")))))
7457 "/lib/libnvidia-egl-wayland.so.1")))))
7458 (add-before 'configure 'set-udev-dir 7712 (add-before 'configure 'set-udev-dir
7459 (lambda _ 7713 (lambda _
7460 (setenv "PKG_CONFIG_UDEV_UDEVDIR" 7714 (setenv "PKG_CONFIG_UDEV_UDEVDIR"
@@ -7479,7 +7733,12 @@ to display dialog boxes from the commandline and shell scripts.")
7479 (when tests? 7733 (when tests?
7480 ;; Setup (see the 'test-mutter' CI target at 7734 ;; Setup (see the 'test-mutter' CI target at
7481 ;; https://gitlab.gnome.org/GNOME/mutter/-/raw/main/.gitlab-ci.yml). 7735 ;; https://gitlab.gnome.org/GNOME/mutter/-/raw/main/.gitlab-ci.yml).
7482 (setenv "XDG_RUNTIME_DIR" "runtime-dir") 7736 (setenv "HOME" "/tmp")
7737 (setenv "XDG_RUNTIME_DIR" (string-append (getcwd)
7738 "/runtime-dir"))
7739 (mkdir (getenv "XDG_RUNTIME_DIR"))
7740 (chmod (getenv "XDG_RUNTIME_DIR") #o700)
7741
7483 (setenv "GSETTINGS_SCHEMA_DIR" "data") 7742 (setenv "GSETTINGS_SCHEMA_DIR" "data")
7484 (setenv "MUTTER_DEBUG_DUMMY_MODE_SPECS" "800x600@10.0") 7743 (setenv "MUTTER_DEBUG_DUMMY_MODE_SPECS" "800x600@10.0")
7485 (setenv "PIPEWIRE_DEBUG" "2") 7744 (setenv "PIPEWIRE_DEBUG" "2")
@@ -7522,16 +7781,17 @@ to display dialog boxes from the commandline and shell scripts.")
7522 (error "`meson test' exited with status" 7781 (error "`meson test' exited with status"
7523 status)))))))))))) 7782 status))))))))))))
7524 (native-inputs 7783 (native-inputs
7525 (list desktop-file-utils ; for update-desktop-database 7784 (list desktop-file-utils ;for update-desktop-database
7526 gettext-minimal 7785 `(,glib "bin") ;for glib-compile-schemas, etc.
7527 `(,glib "bin") ; for glib-compile-schemas, etc.
7528 gobject-introspection 7786 gobject-introspection
7787 intltool
7529 pkg-config 7788 pkg-config
7530 xvfb-run 7789 xvfb-run
7531 ;; For git build 7790 ;; For git build
7532 autoconf 7791 autoconf
7533 automake 7792 automake
7534 libtool 7793 libtool
7794 wayland-protocols-next
7535 ;; For tests. 7795 ;; For tests.
7536 ;; Warnings are configured to be fatal during the tests; add an icon 7796 ;; Warnings are configured to be fatal during the tests; add an icon
7537 ;; theme to please libxcursor. 7797 ;; theme to please libxcursor.
@@ -7543,29 +7803,28 @@ to display dialog boxes from the commandline and shell scripts.")
7543 python-dbusmock 7803 python-dbusmock
7544 tini)) ;acting as init (zombie reaper) 7804 tini)) ;acting as init (zombie reaper)
7545 (propagated-inputs 7805 (propagated-inputs
7546 (list ;; libmutter.pc refers to these: 7806 (list gsettings-desktop-schemas-next ;required by libmutter.pc
7547 gsettings-desktop-schemas 7807 gtk+ ;required by libmutter.pc
7548 gtk+ 7808 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
7549 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these: 7809 atk
7550 atk 7810 cairo
7551 cairo 7811 eudev
7552 gdk-pixbuf 7812 gdk-pixbuf
7553 glib 7813 glib
7554 json-glib 7814 json-glib
7555 libinput 7815 libinput
7556 libx11 7816 libx11
7557 libxcomposite 7817 libxcomposite
7558 libxcvt 7818 libxcvt
7559 libxdamage 7819 libxdamage
7560 libxext 7820 libxext
7561 libxfixes 7821 libxfixes
7562 libxkbcommon 7822 libxkbcommon
7563 libxml2 7823 libxml2
7564 libxrandr 7824 libxrandr
7565 mesa 7825 mesa
7566 pango 7826 pango
7567 eudev 7827 xinput))
7568 xinput))
7569 (inputs 7828 (inputs
7570 (list egl-wayland ;for wayland-eglstream-protocols 7829 (list egl-wayland ;for wayland-eglstream-protocols
7571 elogind 7830 elogind
@@ -7599,7 +7858,7 @@ window manager.")
7599(define-public gnome-online-accounts 7858(define-public gnome-online-accounts
7600 (package 7859 (package
7601 (name "gnome-online-accounts") 7860 (name "gnome-online-accounts")
7602 (version "3.43.1") 7861 (version "3.45.2")
7603 (source (origin 7862 (source (origin
7604 (method url-fetch) 7863 (method url-fetch)
7605 (uri (string-append "mirror://gnome/sources/" name "/" 7864 (uri (string-append "mirror://gnome/sources/" name "/"
@@ -7607,44 +7866,34 @@ window manager.")
7607 name "-" version ".tar.xz")) 7866 name "-" version ".tar.xz"))
7608 (sha256 7867 (sha256
7609 (base32 7868 (base32
7610 "1s5pmy3hx6hhnyi40r7b773py9kn2qbkxnpxv6149z9fl5ikdjrv")))) 7869 "15zzzndbfba8a497vxb6cmy1y22l3lfn4sx9s9r59kwzd83i6fxn"))))
7611 (outputs '("out" "lib")) 7870 (build-system meson-build-system)
7612 (build-system glib-or-gtk-build-system)
7613 (arguments 7871 (arguments
7614 `(#:configure-flags 7872 (list
7615 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib")) 7873 #:glib-or-gtk? #t
7616 #:phases 7874 #:phases
7617 (modify-phases %standard-phases 7875 #~(modify-phases %standard-phases
7618 (add-before 'configure 'patch-libgoa-output 7876 (add-before 'install 'disable-gtk-update-icon-cache
7619 (lambda* (#:key outputs #:allow-other-keys) 7877 (lambda _
7620 (let ((lib (assoc-ref outputs "lib"))) 7878 (setenv "DESTDIR" "/"))))))
7621 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
7622 (("@prefix@") lib)
7623 (("@exec_prefix@") lib)
7624 (("@libdir@") (string-append lib "/lib"))
7625 (("@includedir@") (string-append lib "/include"))
7626 (("@datadir@") (string-append lib "/share")))
7627 ;; Make sure gobject-introspection knows about the output
7628 ;; too (see <https://bugs.gnu.org/36535>).
7629 (setenv "outputs" "out lib")))))))
7630 (native-inputs 7879 (native-inputs
7631 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. 7880 (list gettext-minimal
7632 ("gobject-introspection" ,gobject-introspection) 7881 `(,glib "bin") ; for glib-compile-schemas, etc.
7633 ("intltool" ,intltool) 7882 gobject-introspection
7634 ("pkg-config" ,pkg-config) 7883 libxslt
7635 ("vala" ,vala) 7884 pkg-config
7636 ("xsltproc" ,libxslt))) 7885 vala))
7637 (propagated-inputs 7886 (propagated-inputs
7638 (list glib ; required by goa-1.0.pc 7887 (list glib ; required by goa-1.0.pc
7639 gtk+)) ; required by goa-backend-1.0.pc 7888 gtk+)) ; required by goa-backend-1.0.pc
7640 (inputs 7889 (inputs
7641 `(("docbook-xsl" ,docbook-xsl) 7890 (list docbook-xsl
7642 ("json-glib" ,json-glib) 7891 gcr
7643 ("libsecret" ,libsecret) 7892 json-glib
7644 ("rest" ,rest) 7893 libsecret
7645 ;; WebKitGtk propagates libsoup 3, which causes the build to fail; so 7894 mit-krb5
7646 ;; use a special variant. 7895 rest-next
7647 ("webkitgtk" ,webkitgtk-with-libsoup2))) 7896 webkitgtk))
7648 (synopsis "Single sign-on framework for GNOME") 7897 (synopsis "Single sign-on framework for GNOME")
7649 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts") 7898 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
7650 (description 7899 (description
@@ -7654,10 +7903,35 @@ for Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare,
7654Microsoft Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.") 7903Microsoft Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
7655 (license license:lgpl2.0+))) 7904 (license license:lgpl2.0+)))
7656 7905
7906(define-public gnome-online-accounts-3.44
7907 (package
7908 (inherit gnome-online-accounts)
7909 (name "gnome-online-accounts")
7910 (version "3.44.0")
7911 (source (origin
7912 (method url-fetch)
7913 (uri (string-append "mirror://gnome/sources/" name "/"
7914 (version-major+minor version) "/"
7915 name "-" version ".tar.xz"))
7916 (sha256
7917 (base32
7918 "0hkkxa3zqyl0i4kw1p3ak4alwxw4wydh9al6fzwbcdgl0r0ms79q"))))
7919 (build-system glib-or-gtk-build-system)
7920 (arguments (substitute-keyword-arguments
7921 (strip-keyword-arguments
7922 '(#:glib-or-gtk?)
7923 (package-arguments gnome-online-accounts))
7924 ((#:phases phases)
7925 #~(modify-phases #$phases
7926 (delete 'disable-gtk-update-icon-cache)))))
7927 (inputs (modify-inputs (package-inputs gnome-online-accounts)
7928 (replace "rest" rest)
7929 (replace "webkitgtk" webkitgtk-with-libsoup2)))))
7930
7657(define-public evolution-data-server 7931(define-public evolution-data-server
7658 (package 7932 (package
7659 (name "evolution-data-server") 7933 (name "evolution-data-server")
7660 (version "3.42.1") 7934 (version "3.45.3")
7661 (source 7935 (source
7662 (origin 7936 (origin
7663 (method url-fetch) 7937 (method url-fetch)
@@ -7665,75 +7939,80 @@ Microsoft Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
7665 (version-major+minor version) "/" 7939 (version-major+minor version) "/"
7666 name "-" version ".tar.xz")) 7940 name "-" version ".tar.xz"))
7667 (sha256 7941 (sha256
7668 (base32 "0a7my8spwcaf2i2fz8ndddi1drv6l9gxq0qblmnkxzyhfwm7zrp6")))) 7942 (base32 "1zjg9b77qmfin9m16rqa6cpqp1rh63pg3bcnkh25vmklslwhvq7a"))))
7669 (build-system cmake-build-system) 7943 (build-system cmake-build-system)
7670 (arguments 7944 (arguments
7671 '(#:configure-flags 7945 (list
7672 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib")) 7946 #:configure-flags
7673 (runpaths (map (lambda (s) 7947 #~(let* ((lib (string-append #$output "/lib"))
7674 (string-append lib "/evolution-data-server/" s)) 7948 (runpaths (map (lambda (s)
7675 '("addressbook-backends" "calendar-backends" 7949 (string-append lib "/evolution-data-server/" s))
7676 "camel-providers" "credential-modules" 7950 '("addressbook-backends" "calendar-backends"
7677 "registry-modules")))) 7951 "camel-providers" "credential-modules"
7678 (list "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support 7952 "registry-modules"))))
7679 "-DENABLE_VALA_BINDINGS=ON" 7953 (list "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
7680 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";" 7954 "-DENABLE_VALA_BINDINGS=ON"
7681 (string-append lib "/evolution-data-server;") 7955 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
7682 (string-join runpaths ";")) 7956 (string-append lib "/evolution-data-server;")
7683 "-DENABLE_INTROSPECTION=ON" ;required for Vala bindings 7957 (string-join runpaths ";"))
7684 "-DWITH_PHONENUMBER=ON")) 7958 "-DENABLE_INTROSPECTION=ON" ;required for Vala bindings
7685 #:phases 7959 "-DENABLE_OAUTH2_WEBKITGTK4=OFF" ;requires webkitgtk-next
7686 (modify-phases %standard-phases 7960 "-DWITH_PHONENUMBER=ON"))
7687 (add-after 'unpack 'disable-failing-tests 7961 #:phases
7688 (lambda _ 7962 #~(modify-phases %standard-phases
7689 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts: 7963 (add-after 'unpack 'disable-failing-tests
7690 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20) 7964 (lambda _
7691 (delete-file-recursively "tests/book-migration") 7965 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
7692 (substitute* "tests/CMakeLists.txt" 7966 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
7693 (("add_subdirectory\\(book-migration\\)") "")))) 7967 (delete-file-recursively "tests/book-migration")
7694 (add-after 'unpack 'patch-paths 7968 (substitute* "tests/CMakeLists.txt"
7695 (lambda _ 7969 (("add_subdirectory\\(book-migration\\)") ""))))
7696 (substitute* '("tests/test-server-utils/e-test-server-utils.c" 7970 (add-after 'unpack 'patch-paths
7697 "tests/libedata-book/data-test-utils.c" 7971 (lambda _
7698 "tests/libedata-book/test-book-cache-utils.c" 7972 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
7699 "tests/libedata-cal/test-cal-cache-utils.c") 7973 "tests/libedata-book/data-test-utils.c"
7700 (("/bin/rm") (which "rm"))))) 7974 "tests/libedata-book/test-book-cache-utils.c"
7701 (add-before 'configure 'dont-override-rpath 7975 "tests/libedata-cal/test-cal-cache-utils.c")
7702 (lambda _ 7976 (("/bin/rm") (which "rm")))))
7703 (substitute* "CMakeLists.txt" 7977 (add-before 'configure 'dont-override-rpath
7704 ;; CMakeLists.txt hard-codes runpath to just the libdir. 7978 (lambda _
7705 ;; Remove it so the configure flag is respected. 7979 (substitute* "CMakeLists.txt"
7706 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))))))) 7980 ;; CMakeLists.txt hard-codes runpath to just the libdir.
7981 ;; Remove it so the configure flag is respected.
7982 (("SET\\(CMAKE_INSTALL_RPATH .*") "")))))))
7707 (native-inputs 7983 (native-inputs
7708 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc. 7984 (list `(,glib "bin") ; for glib-mkenums, etc.
7709 ("gobject-introspection" ,gobject-introspection) 7985 gobject-introspection
7710 ("gperf" ,gperf) 7986 gperf
7711 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) 7987 gsettings-desktop-schemas
7712 ("intltool" ,intltool) 7988 intltool
7713 ("pkg-config" ,pkg-config) 7989 pkg-config
7714 ("protobuf" ,protobuf) 7990 protobuf
7715 ("vala" ,vala) 7991 python-wrapper
7716 ("python" ,python-wrapper))) 7992 vala))
7717 (propagated-inputs 7993 (propagated-inputs
7718 ;; These are all in the Requires field of .pc files. 7994 ;; These are all in the Requires field of .pc files.
7719 `(("gtk+" ,gtk+) 7995 (list glib
7720 ("libical" ,libical) 7996 gtk
7721 ("libsecret" ,libsecret) 7997 gtk+
7722 ("libsoup" ,libsoup-minimal-2) 7998 json-glib
7723 ("nss" ,nss) 7999 libical
7724 ("sqlite" ,sqlite))) 8000 libsecret
8001 libsoup
8002 nss
8003 sqlite))
7725 (inputs 8004 (inputs
7726 `(("bdb" ,bdb) 8005 (list bdb
7727 ("boost" ,boost) 8006 boost
7728 ("gcr" ,gcr) 8007 gcr
7729 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib") 8008 gnome-online-accounts
7730 ("json-glib" ,json-glib) 8009 json-glib
7731 ("libcanberra" ,libcanberra) 8010 libcanberra
7732 ("libgweather" ,libgweather) 8011 libgweather4
7733 ("libphonenumber" ,libphonenumber) 8012 libphonenumber
7734 ("mit-krb5" ,mit-krb5) 8013 mit-krb5
7735 ("openldap" ,openldap) 8014 openldap
7736 ("webkitgtk" ,webkitgtk-with-libsoup2))) 8015 webkitgtk))
7737 (synopsis "Store address books and calendars") 8016 (synopsis "Store address books and calendars")
7738 (home-page "https://wiki.gnome.org/Apps/Evolution") 8017 (home-page "https://wiki.gnome.org/Apps/Evolution")
7739 (description 8018 (description
@@ -7742,6 +8021,30 @@ contacts, tasks, and calendar information. It was originally developed for
7742Evolution (hence the name), but is now used by other packages as well.") 8021Evolution (hence the name), but is now used by other packages as well.")
7743 (license license:lgpl2.0))) 8022 (license license:lgpl2.0)))
7744 8023
8024;;; This version can be used for projects with dependencies stuck on libsoup2.
8025(define-public evolution-data-server-3.44
8026 (package
8027 (inherit evolution-data-server)
8028 (name "evolution-data-server")
8029 (version "3.44.4")
8030 (source
8031 (origin
8032 (method url-fetch)
8033 (uri (string-append "mirror://gnome/sources/" name "/"
8034 (version-major+minor version) "/"
8035 name "-" version ".tar.xz"))
8036 (sha256
8037 (base32 "1sxjrjr31wqbp9g4pf6dwj8rc4mi7c5fbfd489ha92ym7246bin0"))))
8038 (inputs
8039 (modify-inputs (package-inputs evolution-data-server)
8040 (replace "gnome-online-accounts" gnome-online-accounts-3.44)
8041 (replace "libgweather4" libgweather)
8042 (replace "webkitgtk" webkitgtk-with-libsoup2)))
8043 (propagated-inputs
8044 (modify-inputs (package-propagated-inputs evolution-data-server)
8045 (delete "gtk")
8046 (replace "libsoup" libsoup-minimal-2)))))
8047
7745(define-public caribou 8048(define-public caribou
7746 (package 8049 (package
7747 (name "caribou") 8050 (name "caribou")
@@ -7807,7 +8110,7 @@ users.")
7807(define-public network-manager 8110(define-public network-manager
7808 (package 8111 (package
7809 (name "network-manager") 8112 (name "network-manager")
7810 (version "1.32.12") 8113 (version "1.41.2")
7811 (source (origin 8114 (source (origin
7812 (method url-fetch) 8115 (method url-fetch)
7813 (uri (string-append "mirror://gnome/sources/NetworkManager/" 8116 (uri (string-append "mirror://gnome/sources/NetworkManager/"
@@ -7817,138 +8120,135 @@ users.")
7817 "network-manager-meson.patch")) 8120 "network-manager-meson.patch"))
7818 (sha256 8121 (sha256
7819 (base32 8122 (base32
7820 "0jzmz0zw64dgvdn2g7pppr7bkywpbxcbdb1viv6p7zh2lnh3dax8")))) 8123 "0v5a5fw1zwa94ksz6d7hyj14wwdxzmswgm81ryhxmyn3nrcf1akg"))))
7821 (build-system meson-build-system) 8124 (build-system meson-build-system)
7822 (outputs '("out" 8125 (outputs '("out"
7823 "doc")) ; 8 MiB of gtk-doc HTML 8126 "doc")) ; 8 MiB of gtk-doc HTML
7824 (arguments 8127 (arguments
7825 `(#:configure-flags 8128 (list
7826 (let ((out (assoc-ref %outputs "out")) 8129 #:configure-flags
7827 (dhclient (search-input-file %build-inputs "/sbin/dhclient"))) 8130 #~(list
7828 (list 8131 ;; Otherwise, the RUNPATH will lack the final 'NetworkManager' path
7829 ;; Otherwise, the RUNPATH will lack the final 'NetworkManager' path 8132 ;; component.
7830 ;; component. 8133 (string-append "-Dc_link_args=-Wl,-rpath="
7831 (string-append "-Dc_link_args=-Wl,-rpath=" 8134 #$output "/lib:"
7832 out "/lib:" 8135 #$output "/lib/NetworkManager/" #$version)
7833 out "/lib/NetworkManager/" ,version) 8136 "-Dsystemd_journal=false"
7834 "-Dsystemd_journal=false" 8137 "-Dsession_tracking=elogind"
7835 "-Dsession_tracking=elogind" 8138 "-Dsuspend_resume=elogind"
7836 "-Dsuspend_resume=elogind" 8139 "-Dsystemdsystemunitdir=no"
7837 "-Dsystemdsystemunitdir=no" 8140 "-Dsession_tracking_consolekit=false"
7838 "-Dsession_tracking_consolekit=false" 8141 "-Ddhcpcd=no"
7839 "-Ddhcpcd=no" 8142 "-Ddhcpcanon=no"
7840 "-Ddhcpcanon=no" 8143 "-Dcrypto=gnutls"
7841 "-Dcrypto=gnutls" 8144 "-Diwd=true"
7842 "-Diwd=true" 8145 "-Dlibaudit=yes"
7843 "-Dlibaudit=yes" 8146 "-Dqt=false"
7844 "-Dqt=false" 8147 "-Ddocs=true"
7845 "-Ddocs=true" 8148 "--sysconfdir=/etc"
7846 "--sysconfdir=/etc" 8149 "--localstatedir=/var"
7847 "--localstatedir=/var" 8150 (string-append "-Dudev_dir="
7848 (string-append "-Dudev_dir=" 8151 #$output "/lib/udev")
7849 out "/lib/udev") 8152 (string-append "-Ddbus_conf_dir="
7850 (string-append "-Ddbus_conf_dir=" 8153 #$output "/etc/dbus-1/system.d")
7851 out "/etc/dbus-1/system.d") 8154
7852 8155 (string-append "-Ddhclient=" (search-input-file %build-inputs
7853 (string-append "-Ddhclient=" dhclient))) 8156 "/sbin/dhclient")))
7854 #:phases 8157 #:phases
7855 (modify-phases %standard-phases 8158 #~(modify-phases %standard-phases
7856 (add-after 'unpack 'patch-dlopen-call-to-libjansson.so 8159 (add-after 'unpack 'patch-dlopen-call-to-libjansson.so
7857 (lambda* (#:key inputs #:allow-other-keys) 8160 (lambda* (#:key inputs #:allow-other-keys)
7858 (substitute* "src/libnm-glib-aux/nm-json-aux.c" 8161 (substitute* "src/libnm-glib-aux/nm-json-aux.c"
7859 (("(handle = dlopen\\()soname" _ head) 8162 (("(handle = dlopen\\()soname" _ head)
7860 (string-append 8163 (string-append
7861 head "\"" (search-input-file inputs 8164 head "\"" (search-input-file inputs
7862 "lib/libjansson.so") "\""))))) 8165 "lib/libjansson.so") "\"")))))
7863 (add-before 'configure 'pre-configure 8166 (add-before 'configure 'pre-configure
7864 (lambda _ 8167 (lambda _
7865 ;; These tests try to test aspects of network-manager's 8168 ;; These tests try to test aspects of network-manager's
7866 ;; functionality within restricted containers, but they don't 8169 ;; functionality within restricted containers, but they don't
7867 ;; cope with being already in the Guix build jail as that jail 8170 ;; cope with being already in the Guix build jail as that jail
7868 ;; lacks some features that they would like to proxy over (like 8171 ;; lacks some features that they would like to proxy over (like
7869 ;; a /sys mount). 8172 ;; a /sys mount).
7870 (substitute* "src/core/tests/meson.build" 8173 (substitute* "src/core/tests/meson.build"
7871 ((".*test-l3cfg.*") "")) 8174 ((".*test-l3cfg.*") ""))
7872 (substitute* "src/core/devices/tests/meson.build" 8175 (substitute* "src/core/devices/tests/meson.build"
7873 ((".*test-acd.*") "") 8176 ((".*test-acd.*") "")
7874 ((".*test-lldp.*") "")) 8177 ((".*test-lldp.*") ""))
7875 (substitute* "src/core/platform/tests/meson.build" 8178 (substitute* "src/core/platform/tests/meson.build"
7876 ((".*test-address-linux.*") "") 8179 ((".*test-address-linux.*") "")
7877 ((".*test-cleanup-linux.*") "") 8180 ((".*test-cleanup-linux.*") "")
7878 ((".*test-link-linux.*") "") 8181 ((".*test-link-linux.*") "")
7879 ((".*test-lldp.*") "") 8182 ((".*test-lldp.*") "")
7880 ((".*test-route-linux.*") "") 8183 ((".*test-route-linux.*") "")
7881 ((".*test-tc-linux.*") "")))) 8184 ((".*test-tc-linux.*") ""))))
7882 (add-after 'unpack 'patch-docbook-xml 8185 (add-after 'unpack 'patch-docbook-xml
7883 (lambda* (#:key inputs #:allow-other-keys) 8186 (lambda* (#:key inputs #:allow-other-keys)
7884 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml") 8187 (substitute* (find-files "." ".*\\.(xsl|xml)")
7885 "/xml/dtd/docbook"))) 8188 (("http://.*/docbookx\\.dtd")
7886 (substitute* (find-files "." ".*\\.(xsl|xml)") 8189 (search-input-file inputs "xml/dtd/docbook/docbookx.dtd")))))
7887 (("http://.*/docbookx\\.dtd") 8190 (add-before 'check 'pre-check
7888 (string-append xmldoc "/docbookx.dtd")))))) 8191 (lambda _
7889 (add-before 'check 'pre-check 8192 ;; For the missing /etc/machine-id.
7890 (lambda _ 8193 (setenv "DBUS_FATAL_WARNINGS" "0")))
7891 ;; For the missing /etc/machine-id. 8194 (add-before 'install 'no-polkit-magic
7892 (setenv "DBUS_FATAL_WARNINGS" "0"))) 8195 ;; Meson ‘magically’ invokes pkexec, which fails (not setuid).
7893 (add-before 'install 'no-polkit-magic 8196 (lambda _
7894 ;; Meson ‘magically’ invokes pkexec, which fails (not setuid). 8197 (setenv "PKEXEC_UID" "something")))
7895 (lambda _ 8198 (add-after 'install 'move-doc
7896 (setenv "PKEXEC_UID" "something"))) 8199 (lambda _
7897 (add-after 'install 'move-doc 8200 (mkdir-p (string-append #$output:doc "/share"))
7898 (lambda* (#:key outputs #:allow-other-keys) 8201 (for-each (lambda (directory)
7899 (let ((out (assoc-ref outputs "out")) 8202 (copy-recursively (string-append #$output directory)
7900 (doc (assoc-ref outputs "doc"))) 8203 (string-append #$output:doc
7901 (mkdir-p (string-append doc "/share")) 8204 directory))
7902 (for-each (lambda (directory) 8205 (delete-file-recursively
7903 (copy-recursively (string-append out directory) 8206 (string-append #$output directory)))
7904 (string-append doc directory)) 8207 '("/share/doc" "/share/gtk-doc")))))))
7905 (delete-file-recursively
7906 (string-append out directory)))
7907 '("/share/doc" "/share/gtk-doc"))))))))
7908 (propagated-inputs 8208 (propagated-inputs
7909 (list glib)) 8209 (list glib))
7910 (native-inputs 8210 (native-inputs
7911 `(("glib:bin" ,glib "bin") ; for gdbus-codegen 8211 (list docbook-xml
7912 ("gtk-doc" ,gtk-doc/stable) 8212 docbook-xsl
7913 ("gobject-introspection" ,gobject-introspection) 8213 gettext-minimal
7914 ("docbook-xml" ,docbook-xml) 8214 `(,glib "bin") ;for gdbus-codegen
7915 ("docbook-xsl" ,docbook-xsl) 8215 gobject-introspection
7916 ("intltool" ,intltool) 8216 gtk-doc/stable
7917 ("libxslt" ,libxslt) 8217 libxml2
7918 ("libxml2" ,libxml2) 8218 libxslt
7919 ("pkg-config" ,pkg-config) 8219 perl
7920 ("vala" ,vala) 8220 pkg-config
7921 ;; For testing. 8221 python-dbus
7922 ("python" ,python-wrapper) 8222 python-pygobject
7923 ("python-dbus" ,python-dbus) 8223 python-wrapper
7924 ("python-pygobject" ,python-pygobject))) 8224 vala))
7925 (inputs 8225 (inputs
7926 `(("curl" ,curl) 8226 (list audit
7927 ("cyrus-sasl" ,cyrus-sasl) 8227 curl
7928 ("dbus-glib" ,dbus-glib) 8228 cyrus-sasl
7929 ("dnsmasq" ,dnsmasq) 8229 dbus-glib
7930 ("eudev" ,eudev) 8230 dnsmasq
7931 ("gnutls" ,gnutls) 8231 elogind
7932 ("iptables" ,iptables) 8232 eudev
7933 ("isc-dhcp" ,isc-dhcp) 8233 gnutls
7934 ("iwd" ,iwd) ; wpa_supplicant alternative 8234 iptables
7935 ("jansson" ,jansson) 8235 isc-dhcp
7936 ("libaudit" ,audit) 8236 iwd ;wpa_supplicant alternative
7937 ("libgcrypt" ,libgcrypt) 8237 jansson
7938 ("libgudev" ,libgudev) 8238 libgcrypt
7939 ("libndp" ,libndp) 8239 libgudev
7940 ("libnl" ,libnl) 8240 libndp
7941 ("libselinux" ,libselinux) 8241 libnl
7942 ("libsoup" ,libsoup) 8242 libpsl
7943 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info) 8243 libselinux
7944 ("modem-manager" ,modem-manager) 8244 mobile-broadband-provider-info
7945 ("newt" ,newt) ;for the 'nmtui' console interface 8245 modem-manager
7946 ("openresolv" ,openresolv) ; alternative resolv.conf manager 8246 newt ;for the 'nmtui' console interface
7947 ("polkit" ,polkit) 8247 openresolv ;alternative resolv.conf manager
7948 ("ppp" ,ppp) 8248 polkit
7949 ("readline" ,readline) 8249 ppp
7950 ("util-linux" ,util-linux) 8250 readline
7951 ("elogind" ,elogind))) 8251 util-linux))
7952 (synopsis "Network connection manager") 8252 (synopsis "Network connection manager")
7953 (home-page "https://wiki.gnome.org/Projects/NetworkManager") 8253 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7954 (description 8254 (description
@@ -7967,7 +8267,7 @@ services.")
7967(define-public network-manager-openvpn 8267(define-public network-manager-openvpn
7968 (package 8268 (package
7969 (name "network-manager-openvpn") 8269 (name "network-manager-openvpn")
7970 (version "1.8.12") 8270 (version "1.10.0")
7971 (source (origin 8271 (source (origin
7972 (method url-fetch) 8272 (method url-fetch)
7973 (uri (string-append 8273 (uri (string-append
@@ -7976,35 +8276,41 @@ services.")
7976 "/NetworkManager-openvpn-" version ".tar.xz")) 8276 "/NetworkManager-openvpn-" version ".tar.xz"))
7977 (sha256 8277 (sha256
7978 (base32 8278 (base32
7979 "062kh4zj7jfbwy4zzcwpq2m457bzbpm3l18s0ysnw3mgia3siz8f")))) 8279 "00fiyjbp42pdv5h2vdkzxd2rw32ikcinjgxrzdxak61kgw8d8iap"))))
7980 (build-system gnu-build-system) 8280 (build-system gnu-build-system)
7981 (arguments 8281 (arguments
7982 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var") 8282 (list
7983 #:phases 8283 #:configure-flags #~(list "--enable-absolute-paths"
7984 (modify-phases %standard-phases 8284 "--localstatedir=/var"
7985 (add-after 'configure 'patch-path 8285 "--with-gtk4=yes")
7986 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args) 8286 #:phases
7987 (let* ((ovpn (search-input-file inputs "/sbin/openvpn")) 8287 #~(modify-phases %standard-phases
7988 (modprobe (search-input-file inputs "/bin/modprobe")) 8288 (add-after 'configure 'patch-path
7989 (pretty-ovpn (string-append "\"" ovpn "\""))) 8289 (lambda* (#:key inputs #:allow-other-keys #:rest args)
7990 (for-each 8290 (let* ((ovpn (search-input-file inputs "/sbin/openvpn"))
7991 (lambda (file) 8291 (modprobe (search-input-file inputs "/bin/modprobe"))
7992 (substitute* file 8292 (pretty-ovpn (string-append "\"" ovpn "\"")))
7993 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn) 8293 (for-each
7994 (("\"/usr/sbin/openvpn\"") pretty-ovpn) 8294 (lambda (file)
7995 (("\"/sbin/openvpn\"") pretty-ovpn) 8295 (substitute* file
7996 (("/sbin/modprobe") modprobe))) 8296 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
7997 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c"))) 8297 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
7998 #t))))) 8298 (("\"/sbin/openvpn\"") pretty-ovpn)
8299 (("/sbin/modprobe") modprobe)))
8300 '("src/nm-openvpn-service.c"
8301 "properties/nm-openvpn-editor.c"))))))))
7999 (native-inputs 8302 (native-inputs
8000 (list pkg-config intltool)) 8303 (list intltool
8304 `(,glib "bin")
8305 pkg-config))
8001 (inputs 8306 (inputs
8002 (list gtk+ 8307 (list gtk+
8308 gtk
8003 kmod 8309 kmod
8004 openvpn
8005 network-manager
8006 libnma 8310 libnma
8007 libsecret)) 8311 libsecret
8312 network-manager
8313 openvpn))
8008 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN") 8314 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
8009 (synopsis "OpenVPN plug-in for NetworkManager") 8315 (synopsis "OpenVPN plug-in for NetworkManager")
8010 (description 8316 (description
@@ -8016,7 +8322,7 @@ to virtual private networks (VPNs) via OpenVPN.")
8016(define-public network-manager-vpnc 8322(define-public network-manager-vpnc
8017 (package 8323 (package
8018 (name "network-manager-vpnc") 8324 (name "network-manager-vpnc")
8019 (version "1.2.6") 8325 (version "1.2.8")
8020 (source (origin 8326 (source (origin
8021 (method url-fetch) 8327 (method url-fetch)
8022 (uri (string-append 8328 (uri (string-append
@@ -8025,14 +8331,12 @@ to virtual private networks (VPNs) via OpenVPN.")
8025 "/NetworkManager-vpnc-" version ".tar.xz")) 8331 "/NetworkManager-vpnc-" version ".tar.xz"))
8026 (sha256 8332 (sha256
8027 (base32 8333 (base32
8028 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy")))) 8334 "1k7vkalslzmz8zvfy76k7z10b9krm7da917gwzyw7zf8afm32pnn"))))
8029 (build-system gnu-build-system) 8335 (build-system gnu-build-system)
8030 (arguments 8336 (arguments
8031 `(#:configure-flags '("--enable-absolute-paths" 8337 `(#:configure-flags '("--enable-absolute-paths"
8032 "--localstatedir=/var" 8338 "--localstatedir=/var"
8033 ;; libnm-glib has been removed from network-manager 8339 "--with-gtk4=yes")
8034 ;; 1de8383ad9fdfc8f552117e5d109bdfa7005634b
8035 "--with-libnm-glib=no")
8036 #:phases 8340 #:phases
8037 (modify-phases %standard-phases 8341 (modify-phases %standard-phases
8038 (add-after 'configure 'patch-path 8342 (add-after 'configure 'patch-path
@@ -8044,17 +8348,19 @@ to virtual private networks (VPNs) via OpenVPN.")
8044 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn) 8348 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
8045 (("\"/usr/sbin/vpnc\"") pretty-ovpn) 8349 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
8046 (("\"/sbin/vpnc\"") pretty-ovpn) 8350 (("\"/sbin/vpnc\"") pretty-ovpn)
8047 (("/sbin/modprobe") modprobe))) 8351 (("/sbin/modprobe") modprobe))))))))
8048 #t)))))
8049 (native-inputs 8352 (native-inputs
8050 (list pkg-config intltool)) 8353 (list `(,glib "bin")
8354 intltool
8355 pkg-config))
8051 (inputs 8356 (inputs
8052 (list gtk+ 8357 (list gtk+
8358 gtk
8053 kmod 8359 kmod
8054 vpnc 8360 vpnc
8055 network-manager 8361 network-manager
8056 libnma 8362 libnma
8057 libsecret)) 8363 libsecret)) ;TODO: remove after it's the default
8058 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN") 8364 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
8059 (synopsis "VPNC plug-in for NetworkManager") 8365 (synopsis "VPNC plug-in for NetworkManager")
8060 (description 8366 (description
@@ -8066,7 +8372,7 @@ Compatible with Cisco VPN concentrators configured to use IPsec.")
8066(define-public network-manager-openconnect 8372(define-public network-manager-openconnect
8067 (package 8373 (package
8068 (name "network-manager-openconnect") 8374 (name "network-manager-openconnect")
8069 (version "1.2.6") 8375 (version "1.2.8")
8070 (source (origin 8376 (source (origin
8071 (method url-fetch) 8377 (method url-fetch)
8072 (uri (string-append 8378 (uri (string-append
@@ -8075,10 +8381,12 @@ Compatible with Cisco VPN concentrators configured to use IPsec.")
8075 "/NetworkManager-openconnect-" version ".tar.xz")) 8381 "/NetworkManager-openconnect-" version ".tar.xz"))
8076 (sha256 8382 (sha256
8077 (base32 8383 (base32
8078 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m")))) 8384 "1k6d6cv2c9v8gf0f2js6cklr3ijhaanbz0nhvlwy5n42bmwamvax"))))
8079 (build-system gnu-build-system) 8385 (build-system gnu-build-system)
8080 (arguments 8386 (arguments
8081 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var") 8387 `(#:configure-flags '("--enable-absolute-paths"
8388 "--localstatedir=/var"
8389 "--with-gtk4=yes")
8082 #:phases 8390 #:phases
8083 (modify-phases %standard-phases 8391 (modify-phases %standard-phases
8084 (add-after 'configure 'patch-path 8392 (add-after 'configure 'patch-path
@@ -8089,12 +8397,15 @@ Compatible with Cisco VPN concentrators configured to use IPsec.")
8089 (pretty-ovpn (string-append "\"" openconnect "\""))) 8397 (pretty-ovpn (string-append "\"" openconnect "\"")))
8090 (substitute* "src/nm-openconnect-service.c" 8398 (substitute* "src/nm-openconnect-service.c"
8091 (("\"/usr(/local)?/s?bin/openconnect\"") pretty-ovpn) 8399 (("\"/usr(/local)?/s?bin/openconnect\"") pretty-ovpn)
8092 (("/sbin/modprobe") modprobe))) 8400 (("/sbin/modprobe") modprobe))))))))
8093 #t)))))
8094 (native-inputs 8401 (native-inputs
8095 (list intltool libnma pkg-config)) 8402 (list `(,glib "bin")
8403 intltool
8404 libnma
8405 pkg-config))
8096 (inputs 8406 (inputs
8097 (list gcr 8407 (list gcr
8408 gtk
8098 gtk+ 8409 gtk+
8099 kmod 8410 kmod
8100 libsecret 8411 libsecret
@@ -8119,7 +8430,7 @@ Cisco's AnyConnect SSL VPN.")
8119(define-public mobile-broadband-provider-info 8430(define-public mobile-broadband-provider-info
8120 (package 8431 (package
8121 (name "mobile-broadband-provider-info") 8432 (name "mobile-broadband-provider-info")
8122 (version "20190116") 8433 (version "20220725")
8123 (source (origin 8434 (source (origin
8124 (method url-fetch) 8435 (method url-fetch)
8125 (uri (string-append 8436 (uri (string-append
@@ -8128,10 +8439,11 @@ Cisco's AnyConnect SSL VPN.")
8128 "mobile-broadband-provider-info-" version ".tar.xz")) 8439 "mobile-broadband-provider-info-" version ".tar.xz"))
8129 (sha256 8440 (sha256
8130 (base32 8441 (base32
8131 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic")))) 8442 "1k9acdnl4mr6aqh11xbklv2gyww82jddaqmw4aqdzwl7q80swia8"))))
8132 (build-system gnu-build-system) 8443 (build-system gnu-build-system)
8133 (arguments 8444 (arguments
8134 `(#:tests? #f)) ; no tests 8445 `(#:tests? #f)) ; no tests
8446 (native-inputs (list libxslt))
8135 (home-page "https://wiki.gnome.org/Projects/NetworkManager") 8447 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
8136 (synopsis "Database of broadband connection configuration") 8448 (synopsis "Database of broadband connection configuration")
8137 (description "Database of broadband connection configuration.") 8449 (description "Database of broadband connection configuration.")
@@ -8184,7 +8496,7 @@ the available networks and allows users to easily switch between them.")
8184(define-public libxml++ 8496(define-public libxml++
8185 (package 8497 (package
8186 (name "libxml++") 8498 (name "libxml++")
8187 (version "3.2.0") 8499 (version "5.0.2")
8188 (source 8500 (source
8189 (origin 8501 (origin
8190 (method git-fetch) 8502 (method git-fetch)
@@ -8193,37 +8505,41 @@ the available networks and allows users to easily switch between them.")
8193 (commit version))) 8505 (commit version)))
8194 (file-name (git-file-name name version)) 8506 (file-name (git-file-name name version))
8195 (sha256 8507 (sha256
8196 (base32 "0wjz591rjlgbah7dcq8i0yn0zw9d62b7g6r0pppx81ic0cx8n8ga")))) 8508 (base32 "13jlhz57yjxapplflm8aarczxv6ll3d336y1446mr5n4ylkcc1xz"))))
8197 (build-system gnu-build-system) 8509 (build-system gnu-build-system)
8198 (arguments 8510 (arguments
8199 `(#:phases 8511 (list
8200 (modify-phases %standard-phases 8512 #:phases
8201 (add-after 'unpack 'fix-documentation 8513 #~(modify-phases %standard-phases
8202 (lambda* (#:key inputs #:allow-other-keys) 8514 (add-after 'unpack 'fix-documentation
8203 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml") 8515 (lambda* (#:key native-inputs inputs #:allow-other-keys)
8204 "/xml/dtd/docbook")) 8516 (let* ((xsl-version #$(package-version docbook-xsl))
8205 (xsldoc (string-append (assoc-ref inputs "docbook-xsl") 8517 (xsldoc (string-append "xml/xsl/docbook-xsl-"
8206 "/xml/xsl/docbook-xsl-" 8518 xsl-version)))
8207 ,(package-version docbook-xsl)))) 8519 (substitute* '("examples/dom_xpath/example.xml"
8208 (substitute* '("examples/dom_xpath/example.xml" 8520 "docs/manual/libxml++_without_code.xml")
8209 "docs/manual/libxml++_without_code.xml") 8521 (("http://.*/docbookx\\.dtd")
8210 (("http://.*/docbookx\\.dtd") 8522 (search-input-file (or native-inputs inputs)
8211 (string-append xmldoc "/docbookx.dtd"))) 8523 "xml/dtd/docbook/docbookx.dtd")))
8212 (setenv "SGML_CATALOG_FILES" 8524 (setenv "SGML_CATALOG_FILES"
8213 (string-append xmldoc "/catalog.xml")) 8525 (search-input-file (or native-inputs inputs)
8214 (substitute* "docs/manual/docbook-customisation.xsl" 8526 (string-append
8215 (("http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl") 8527 xsldoc "/catalog.xml")))
8216 (string-append xsldoc "/html/chunk.xsl"))))))))) 8528 (substitute* "docs/manual/docbook-customisation.xsl"
8529 (("http://docbook.sourceforge.net/release/xsl\
8530/current/html/chunk.xsl")
8531 (search-input-file (or native-inputs inputs)
8532 (string-append xsldoc
8533 "/html/chunk.xsl"))))))))))
8217 (propagated-inputs 8534 (propagated-inputs
8218 ;; libxml++-3.0.pc refers to all these. 8535 (list libxml2)) ;required by .pc file
8219 (list glibmm-2.64 libxml2))
8220 (native-inputs 8536 (native-inputs
8221 (list autoconf 8537 (list autoconf
8222 automake 8538 automake
8223 doxygen 8539 doxygen
8224 docbook-xml 8540 docbook-xml
8225 docbook-xsl 8541 docbook-xsl
8226 graphviz ; for dot 8542 graphviz ;for dot
8227 libtool 8543 libtool
8228 libxslt 8544 libxslt
8229 mm-common 8545 mm-common
@@ -8242,7 +8558,7 @@ library.")
8242 (package 8558 (package
8243 (inherit libxml++) 8559 (inherit libxml++)
8244 (name "libxml++") 8560 (name "libxml++")
8245 (version "2.40.1") 8561 (version "2.42.2")
8246 (source 8562 (source
8247 (origin 8563 (origin
8248 (method git-fetch) 8564 (method git-fetch)
@@ -8251,12 +8567,14 @@ library.")
8251 (commit version))) 8567 (commit version)))
8252 (file-name (git-file-name name version)) 8568 (file-name (git-file-name name version))
8253 (sha256 8569 (sha256
8254 (base32 "0gbfi4l88w828gmyc9br11l003ylyi4vigp5d1kfgsn0k4cig3y9")))))) 8570 (base32 "05slsbhc25z7kwlc28ydl3dfyp7rgbmz1fxj9z6gcvpg3hkghj2m"))))
8571 (propagated-inputs (modify-inputs (package-propagated-inputs libxml++)
8572 (append glibmm-2.64)))))
8255 8573
8256(define-public gdm 8574(define-public gdm
8257 (package 8575 (package
8258 (name "gdm") 8576 (name "gdm")
8259 (version "40.1") 8577 (version "42.0")
8260 (source (origin 8578 (source (origin
8261 (method url-fetch) 8579 (method url-fetch)
8262 (uri (string-append "mirror://gnome/sources/" name "/" 8580 (uri (string-append "mirror://gnome/sources/" name "/"
@@ -8264,7 +8582,7 @@ library.")
8264 name "-" version ".tar.xz")) 8582 name "-" version ".tar.xz"))
8265 (sha256 8583 (sha256
8266 (base32 8584 (base32
8267 "1zbks7bwbys1pn7sk0aq0dbn09adx51amb441z4z4j28cvma3f5b")) 8585 "0m9qmm3vm81jmqlc30a1fb79hsr4l4lpiw0zjxww3gipd6bsqa53"))
8268 (patches 8586 (patches
8269 (search-patches 8587 (search-patches
8270 "gdm-default-session.patch" 8588 "gdm-default-session.patch"
@@ -8274,185 +8592,186 @@ library.")
8274 "gdm-pass-gdk-pixbuf-loader-env.patch")))) 8592 "gdm-pass-gdk-pixbuf-loader-env.patch"))))
8275 (build-system meson-build-system) 8593 (build-system meson-build-system)
8276 (arguments 8594 (arguments
8277 `(#:glib-or-gtk? #t 8595 (list
8278 #:configure-flags 8596 #:glib-or-gtk? #t
8279 ,#~(list 8597 #:configure-flags
8280 "-Dplymouth=disabled" 8598 #~(list
8281 "-Dsystemd-journal=false" 8599 "-Dplymouth=disabled"
8282 8600 "-Dsystemd-journal=false"
8283 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1, 8601
8284 ;; instead of having to replace it (i.e., stopping the mingetty 8602 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
8285 ;; service for TTY 1 before starting GDM). 8603 ;; instead of having to replace it (i.e., stopping the mingetty
8286 "-Dinitial-vt=7" 8604 ;; service for TTY 1 before starting GDM).
8287 8605 "-Dinitial-vt=7"
8288 ;; Use elogind instead of systemd. 8606
8289 "-Dlogind-provider=elogind" 8607 ;; Use elogind instead of systemd.
8290 "-Dsystemdsystemunitdir=no" 8608 "-Dlogind-provider=elogind"
8291 "-Dsystemduserunitdir=no" 8609 "-Dsystemdsystemunitdir=no"
8292 8610 "-Dsystemduserunitdir=no"
8293 ;; Use '/etc/environment' for locale settings instead of the 8611
8294 ;; systemd-specific '/etc/locale.conf'. 8612 ;; Use '/etc/environment' for locale settings instead of the
8295 "-Dlang-file=/etc/environment" 8613 ;; systemd-specific '/etc/locale.conf'.
8296 8614 "-Dlang-file=/etc/environment"
8297 (string-append "-Dudev-dir=" #$output "/lib/udev") 8615
8298 8616 (string-append "-Dudev-dir=" #$output "/lib/udev")
8299 "--localstatedir=/var" 8617
8300 (string-append "-Ddefault-path=" 8618 "--localstatedir=/var"
8301 (string-join '("/run/setuid-programs" 8619 (string-append "-Ddefault-path="
8302 "/run/current-system/profile/bin" 8620 (string-join '("/run/setuid-programs"
8303 "/run/current-system/profile/sbin") 8621 "/run/current-system/profile/bin"
8304 ":")) 8622 "/run/current-system/profile/sbin")
8305 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the 8623 ":"))
8306 ;; XDG_DATA_DIRS so that it finds its schemas. 8624 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
8307 "--sbindir" (string-append #$output "/bin")) 8625 ;; XDG_DATA_DIRS so that it finds its schemas.
8308 #:phases 8626 "--sbindir" (string-append #$output "/bin"))
8309 (modify-phases %standard-phases 8627 #:phases
8310 (add-before 8628 #~(modify-phases %standard-phases
8311 'configure 'pre-configure 8629 (add-after 'unpack 'patch-paths
8312 (lambda* (#:key inputs outputs #:allow-other-keys) 8630 (lambda* (#:key inputs #:allow-other-keys)
8313 ;; We don't have <systemd/sd-daemon.h>. 8631 (substitute* "daemon/gdm-session.c"
8314 (substitute* '("common/gdm-log.c" 8632 (("dbus-run-session")
8315 "daemon/gdm-server.c" 8633 (search-input-file inputs "bin/dbus-run-session")))))
8316 "daemon/gdm-session-worker.c" 8634 (add-before 'configure 'pre-configure
8317 "daemon/gdm-session-worker-job.c") 8635 (lambda* (#:key inputs #:allow-other-keys)
8318 (("#include <systemd/sd-daemon\\.h>") "")) 8636 ;; We don't have <systemd/sd-daemon.h>.
8319 ;; Use elogind for sd-login. 8637 (substitute* '("common/gdm-log.c"
8320 (substitute* '("common/gdm-common.c" 8638 "daemon/gdm-server.c"
8321 "daemon/gdm-local-display-factory.c" 8639 "daemon/gdm-session-worker.c"
8322 "daemon/gdm-manager.c" 8640 "daemon/gdm-session-worker-job.c")
8323 "libgdm/gdm-user-switching.c") 8641 (("#include <systemd/sd-daemon\\.h>") ""))
8324 (("#include <systemd/sd-login\\.h>") 8642 ;; Use elogind for sd-login.
8325 "#include <elogind/sd-login.h>")) 8643 (substitute* '("common/gdm-common.c"
8326 ;; Look for system-installed sessions in 8644 "daemon/gdm-local-display-factory.c"
8327 ;; /run/current-system/profile/share. 8645 "daemon/gdm-manager.c"
8328 (substitute* '("libgdm/gdm-sessions.c" 8646 "libgdm/gdm-user-switching.c")
8329 "daemon/gdm-session.c" 8647 (("#include <systemd/sd-login\\.h>")
8330 "daemon/gdm-display.c" 8648 "#include <elogind/sd-login.h>"))
8331 "daemon/gdm-launch-environment.c") 8649 ;; Look for system-installed sessions in
8332 (("DATADIR \"/x") 8650 ;; /run/current-system/profile/share.
8333 "\"/run/current-system/profile/share/x") 8651 (substitute* '("libgdm/gdm-sessions.c"
8334 (("DATADIR \"/wayland") 8652 "daemon/gdm-session.c"
8335 "\"/run/current-system/profile/share/wayland") 8653 "daemon/gdm-display.c"
8336 (("DATADIR \"/gnome") 8654 "daemon/gdm-launch-environment.c")
8337 "\"/run/current-system/profile/share/gnome")) 8655 (("DATADIR \"/x")
8338 (let ((propagate '("GDM_CUSTOM_CONF" 8656 "\"/run/current-system/profile/share/x")
8339 "GDM_DBUS_DAEMON" 8657 (("DATADIR \"/wayland")
8340 "GDM_X_SERVER" 8658 "\"/run/current-system/profile/share/wayland")
8341 "GDM_X_SESSION" 8659 (("DATADIR \"/gnome")
8342 ;; XXX: Remove this once GNOME Shell is 8660 "\"/run/current-system/profile/share/gnome"))
8343 ;; a dependency of GDM. 8661 (let ((propagate '("GDM_CUSTOM_CONF"
8344 "XDG_DATA_DIRS"))) 8662 "GDM_DBUS_DAEMON"
8345 (substitute* "daemon/gdm-session.c" 8663 "GDM_X_SERVER"
8346 (("set_up_session_environment \\(self\\);") 8664 "GDM_X_SESSION"
8347 (apply string-append 8665 ;; XXX: Remove this once GNOME Shell is
8348 "set_up_session_environment (self);\n" 8666 ;; a dependency of GDM.
8349 (map (lambda (name) 8667 "XDG_DATA_DIRS")))
8350 (string-append 8668 (substitute* "daemon/gdm-session.c"
8351 "gdm_session_set_environment_variable " 8669 (("set_up_session_environment \\(self\\);")
8352 "(self, \"" name "\"," 8670 (apply string-append
8353 "g_getenv (\"" name "\"));\n")) 8671 "set_up_session_environment (self);\n"
8354 propagate))))) 8672 (map (lambda (name)
8355 ;; Find the configuration file using an environment variable. 8673 (string-append
8356 (substitute* '("common/gdm-settings.c") 8674 "gdm_session_set_environment_variable "
8357 (("GDM_CUSTOM_CONF") 8675 "(self, \"" name "\","
8358 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL" 8676 "g_getenv (\"" name "\"));\n"))
8359 " ? g_getenv(\"GDM_CUSTOM_CONF\")" 8677 propagate)))))
8360 " : GDM_CUSTOM_CONF)"))) 8678 ;; Find the configuration file using an environment variable.
8361 ;; Use service-supplied path to X. 8679 (substitute* '("common/gdm-settings.c")
8362 (substitute* '("daemon/gdm-server.c") 8680 (("GDM_CUSTOM_CONF")
8363 (("\\(X_SERVER X_SERVER_ARG_FORMAT") 8681 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
8364 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")")) 8682 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
8365 (substitute* '("daemon/gdm-wayland-session.c" 8683 " : GDM_CUSTOM_CONF)")))
8366 "daemon/gdm-x-session.c") 8684 ;; Use service-supplied path to X.
8367 (("\"dbus-daemon\"") 8685 (substitute* '("daemon/gdm-server.c")
8368 "g_getenv (\"GDM_DBUS_DAEMON\")") 8686 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
8369 (("X_SERVER") 8687 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
8370 "g_getenv (\"GDM_X_SERVER\")") 8688 (substitute* '("daemon/gdm-wayland-session.c"
8371 (("GDMCONFDIR \"/Xsession\"") 8689 "daemon/gdm-x-session.c")
8372 "g_getenv (\"GDM_X_SESSION\")")) 8690 (("\"dbus-daemon\"")
8373 ;; Use an absolute path for GNOME Session. 8691 "g_getenv (\"GDM_DBUS_DAEMON\")")
8374 (substitute* "daemon/gdm-launch-environment.c" 8692 (("X_SERVER")
8375 (("\"gnome-session\"") 8693 "g_getenv (\"GDM_X_SERVER\")")
8376 (string-append "\"" (assoc-ref inputs "gnome-session") 8694 (("GDMCONFDIR \"/Xsession\"")
8377 "/bin/gnome-session\""))) 8695 "g_getenv (\"GDM_X_SESSION\")"))
8378 ;; Do not automatically select the placeholder session. 8696 ;; Use an absolute path for GNOME Session.
8379 (substitute* "daemon/gdm-session.c" 8697 (substitute* "daemon/gdm-launch-environment.c"
8380 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]") 8698 (("\"gnome-session\"")
8381 (string-append "!g_str_has_suffix (base_name, \".desktop\") || " 8699 (format #f "~s"
8382 "(g_strcmp0(search_dirs[i], \"" 8700 (search-input-file inputs "bin/gnome-session"))))
8383 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/" 8701 ;; Do not automatically select the placeholder session.
8384 "\") == 0 && " 8702 (substitute* "daemon/gdm-session.c"
8385 "g_strcmp0(base_name, \"fail.desktop\") == 0)")) 8703 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
8386 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];") 8704 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
8387 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }")))) 8705 "(g_strcmp0(search_dirs[i], \""
8388 (add-before 'install 'install-logo 8706 #$output "/share/gdm/BuiltInSessions/"
8389 (lambda* (#:key inputs outputs #:allow-other-keys) 8707 "\") == 0 && "
8390 (let* ((out (assoc-ref outputs "out")) 8708 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
8391 (guix-icons (assoc-ref inputs "guix-icons")) 8709 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
8392 (icon 8710 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))))
8393 (string-append guix-icons "/share/icons/hicolor/\ 8711 (add-before 'install 'install-logo
8712 (lambda* (#:key inputs #:allow-other-keys)
8713 (let ((icon (search-input-file inputs "share/icons/hicolor/\
8394scalable/apps/guix-white-icon.svg")) 8714scalable/apps/guix-white-icon.svg"))
8395 (schema 8715 (schema (string-append #$output "/share/glib-2.0/schemas/\
8396 (string-append out "/share/glib-2.0/schemas/\
8397org.gnome.login-screen.gschema.override"))) 8716org.gnome.login-screen.gschema.override")))
8398 (mkdir-p (dirname schema)) 8717 (mkdir-p (dirname schema))
8399 (with-output-to-file schema 8718 (with-output-to-file schema
8400 (lambda () 8719 (lambda ()
8401 (format #t "\ 8720 (format #t "\
8402[org.gnome.login-screen] 8721[org.gnome.login-screen]
8403logo='~a'~%" icon)))))) 8722logo='~a'~%" icon))))))
8404 ;; GDM requires that there be at least one desktop entry 8723 ;; GDM requires that there be at least one desktop entry
8405 ;; file. This phase installs a hidden one that simply 8724 ;; file. This phase installs a hidden one that simply
8406 ;; fails. This enables users to use GDM with a 8725 ;; fails. This enables users to use GDM with a
8407 ;; '~/.xsession' script with no other desktop entry files. 8726 ;; '~/.xsession' script with no other desktop entry files.
8408 ;; See <https://bugs.gnu.org/35068>. 8727 ;; See <https://bugs.gnu.org/35068>.
8409 (add-after 'install 'install-placeholder-desktop-entry 8728 (add-after 'install 'install-placeholder-desktop-entry
8410 (lambda* (#:key inputs outputs #:allow-other-keys) 8729 (lambda _
8411 (let* ((out (assoc-ref outputs "out")) 8730 (let* ((sessions (string-append #$output
8412 (sessions (string-append out "/share/gdm/BuiltInSessions")) 8731 "/share/gdm/BuiltInSessions"))
8413 (fail (string-append sessions "/fail.desktop"))) 8732 (fail (string-append sessions "/fail.desktop")))
8414 (mkdir-p sessions) 8733 (mkdir-p sessions)
8415 (with-output-to-file fail 8734 (with-output-to-file fail
8416 (lambda () 8735 (lambda ()
8417 (for-each 8736 (for-each
8418 display 8737 display
8419 '("[Desktop Entry]\n" 8738 '("[Desktop Entry]\n"
8420 "Encoding=UTF-8\n" 8739 "Encoding=UTF-8\n"
8421 "Type=Application\n" 8740 "Type=Application\n"
8422 "Name=Fail\n" 8741 "Name=Fail\n"
8423 "Comment=This session fails immediately.\n" 8742 "Comment=This session fails immediately.\n"
8424 "NoDisplay=true\n" 8743 "NoDisplay=true\n"
8425 "Exec=false\n"))))))) 8744 "Exec=false\n")))))))
8426 ;; GDM needs GNOME Session to run these applications. We link 8745 ;; GDM needs GNOME Session to run these applications. We link
8427 ;; their autostart files in `share/gdm/greeter/autostart' 8746 ;; their autostart files in `share/gdm/greeter/autostart'
8428 ;; because GDM explicitly tells GNOME Session to look there. 8747 ;; because GDM explicitly tells GNOME Session to look there.
8429 ;; 8748 ;;
8430 ;; XXX: GNOME Shell should be linked here too, but currently 8749 ;; XXX: GNOME Shell should be linked here too, but currently
8431 ;; GNOME Shell depends on GDM. 8750 ;; GNOME Shell depends on GDM.
8432 (add-after 'install 'link-autostart-files 8751 (add-after 'install 'link-autostart-files
8433 (lambda* (#:key inputs outputs #:allow-other-keys) 8752 (lambda* (#:key inputs #:allow-other-keys)
8434 (let* ((out (assoc-ref outputs "out")) 8753 (let ((autostart (string-append #$output "/share/gdm/"
8435 (autostart (string-append out "/share/gdm/"
8436 "greeter/autostart")) 8754 "greeter/autostart"))
8437 (settings (assoc-ref inputs "gnome-settings-daemon"))) 8755 (settings #$(this-package-input "gnome-settings-daemon")))
8438 (mkdir-p autostart) 8756 (mkdir-p autostart)
8439 (with-directory-excursion autostart 8757 (with-directory-excursion autostart
8440 (for-each (lambda (desktop) 8758 (for-each (lambda (desktop)
8441 (symlink desktop (basename desktop))) 8759 (symlink desktop (basename desktop)))
8442 (find-files 8760 (find-files
8443 (string-append settings "/etc/xdg")))))))))) 8761 (string-append settings "/etc/xdg"))))))))))
8444 (native-inputs 8762 (native-inputs
8445 `(("dconf" ,dconf) 8763 (list `(,glib "bin") ;for glib-compile-schemas, etc.
8446 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. 8764 dconf
8447 ("gobject-introspection" ,gobject-introspection) 8765 gobject-introspection
8448 ("guix-icons" ,guix-icons) 8766 guix-icons
8449 ("intltool" ,intltool) 8767 intltool
8450 ("itstool" ,itstool) 8768 itstool
8451 ("pkg-config" ,pkg-config) 8769 libxml2
8452 ("xmllint" ,libxml2))) 8770 pkg-config))
8453 (inputs 8771 (inputs
8454 (list accountsservice 8772 (list accountsservice
8455 check ;for testing 8773 check ;for testing
8774 dbus
8456 elogind 8775 elogind
8457 eudev 8776 eudev
8458 gnome-session 8777 gnome-session
@@ -8460,6 +8779,7 @@ logo='~a'~%" icon))))))
8460 gtk+ 8779 gtk+
8461 iso-codes 8780 iso-codes
8462 libcanberra 8781 libcanberra
8782 libgudev
8463 linux-pam)) 8783 linux-pam))
8464 (synopsis "Display manager for GNOME") 8784 (synopsis "Display manager for GNOME")
8465 (home-page "https://wiki.gnome.org/Projects/GDM/") 8785 (home-page "https://wiki.gnome.org/Projects/GDM/")
@@ -8495,32 +8815,35 @@ usage and information about running processes.")
8495(define-public gnome-bluetooth 8815(define-public gnome-bluetooth
8496 (package 8816 (package
8497 (name "gnome-bluetooth") 8817 (name "gnome-bluetooth")
8498 (version "3.34.5") 8818 (version "42.4")
8499 (source (origin 8819 (source (origin
8500 (method url-fetch) 8820 (method url-fetch)
8501 (uri (string-append "mirror://gnome/sources/gnome-bluetooth/" 8821 (uri (string-append "mirror://gnome/sources/gnome-bluetooth/"
8502 (version-major+minor version) "/" 8822 (version-major version) "/"
8503 "gnome-bluetooth-" version ".tar.xz")) 8823 "gnome-bluetooth-" version ".tar.xz"))
8504 (sha256 8824 (sha256
8505 (base32 8825 (base32
8506 "1a9ynlwwkb3wpg293ym517vmrkk63y809mmcv9a21k5yr199x53c")))) 8826 "1p5wq3rh9p7fhka57qcds6lvphd26yyc18ilncx95jbcvcfcyvqx"))))
8507 (build-system meson-build-system) 8827 (build-system meson-build-system)
8508 (arguments
8509 (list #:meson meson-0.60))
8510 (native-inputs 8828 (native-inputs
8511 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc. 8829 (list gettext-minimal
8512 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache 8830 gobject-introspection
8513 ("gobject-introspection" ,gobject-introspection) 8831 `(,glib "bin") ;for gdbus-codegen, etc.
8514 ("intltool" ,intltool) 8832 libxml2
8515 ("pkg-config" ,pkg-config) 8833 pkg-config
8516 ("python" ,python) 8834 python
8517 ("python-dbus" ,python-dbus) 8835 python-dbus))
8518 ("xmllint" ,libxml2)))
8519 (propagated-inputs 8836 (propagated-inputs
8520 ;; gnome-bluetooth-1.0.pc refers to all these. 8837 ;; These are all required by the gnome-bluetooth .pc file.
8521 (list glib gtk+)) 8838 (list glib
8839 gtk
8840 libadwaita))
8522 (inputs 8841 (inputs
8523 (list eudev libcanberra libnotify python-dbus)) 8842 (list eudev
8843 gsound
8844 libnotify
8845 python-dbus
8846 upower))
8524 (synopsis "GNOME Bluetooth subsystem") 8847 (synopsis "GNOME Bluetooth subsystem")
8525 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth") 8848 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
8526 (description 8849 (description
@@ -8531,7 +8854,7 @@ devices using the GNOME desktop.")
8531(define-public gnome-control-center 8854(define-public gnome-control-center
8532 (package 8855 (package
8533 (name "gnome-control-center") 8856 (name "gnome-control-center")
8534 (version "41.2") 8857 (version "42.3")
8535 (source (origin 8858 (source (origin
8536 (method url-fetch) 8859 (method url-fetch)
8537 (uri (string-append "mirror://gnome/sources/" name "/" 8860 (uri (string-append "mirror://gnome/sources/" name "/"
@@ -8539,86 +8862,68 @@ devices using the GNOME desktop.")
8539 name "-" version ".tar.xz")) 8862 name "-" version ".tar.xz"))
8540 (sha256 8863 (sha256
8541 (base32 8864 (base32
8542 "0j72ixhli621psbrma86qxy0spv6gpjx6k9hg2jih97c6dmzqwc2")) 8865 "0zhw6hcrrcpq1zjkyzr5ipznxnzd2aczrqd7n2y7xbz21mjy62nf"))))
8543 (patches (search-patches
8544 "gnome-control-center-libexecdir.patch"))))
8545 (build-system meson-build-system) 8866 (build-system meson-build-system)
8546 (arguments 8867 (arguments
8547 `(#:glib-or-gtk? #t 8868 (list
8548 #:configure-flags 8869 #:glib-or-gtk? #t
8549 (list "-Dcheese=false" 8870 #:phases
8550 (string-append "-Dgnome_session_libexecdir=" 8871 #~(modify-phases %standard-phases
8551 (assoc-ref %build-inputs "gnome-session") 8872 (add-before 'configure 'patch-paths
8552 "/libexec")) 8873 (lambda* (#:key inputs #:allow-other-keys)
8553 #:phases 8874 (substitute* "panels/datetime/tz.h"
8554 (modify-phases %standard-phases 8875 (("/usr/share/zoneinfo/zone.tab")
8555 (add-before 'configure 'patch-paths 8876 (search-input-file inputs "share/zoneinfo/zone.tab")))
8556 (lambda* (#:key inputs #:allow-other-keys) 8877 (substitute* "tests/datetime/test-endianess.c"
8557 (let ((libc (assoc-ref inputs "libc")) 8878 (("/usr/share/locale")
8558 (tzdata (assoc-ref inputs "tzdata")) 8879 (search-input-directory inputs "share/locale")))
8559 (libgnomekbd (assoc-ref inputs "libgnomekbd")) 8880 (substitute* "panels/region/cc-region-panel.c"
8560 (nm-applet (assoc-ref inputs "network-manager-applet")) 8881 (("\"gkbd-keyboard-display")
8561 (gnome-desktop (assoc-ref inputs "gnome-desktop"))) 8882 (string-append "\"" (search-input-file
8562 (substitute* "panels/datetime/tz.h" 8883 inputs "bin/gkbd-keyboard-display"))))
8563 (("/usr/share/zoneinfo/zone.tab") 8884 (substitute* '("panels/network/net-device-bluetooth.c"
8564 (string-append tzdata "/share/zoneinfo/zone.tab"))) 8885 "panels/network/net-device-mobile.c"
8565 (substitute* "tests/datetime/test-endianess.c" 8886 "panels/network/connection-editor/net-connection-editor.c")
8566 (("/usr/share/locale") 8887 (("\"nm-connection-editor")
8567 (string-append libc "/share/locale"))) 8888 (string-append "\"" (search-input-file
8568 (substitute* "panels/region/cc-region-panel.c" 8889 inputs "bin/nm-connection-editor"))))
8569 (("\"gkbd-keyboard-display") 8890 (substitute* "panels/user-accounts/run-passwd.c"
8570 (string-append "\"" libgnomekbd 8891 (("/usr/bin/passwd")
8571 "/bin/gkbd-keyboard-display"))) 8892 "/run/setuid-programs/passwd"))
8572 (substitute* '("panels/network/net-device-bluetooth.c" 8893 (substitute* "panels/info-overview/cc-info-overview-panel.c"
8573 "panels/network/net-device-mobile.c" 8894 (("DATADIR \"/gnome/gnome-version.xml\"")
8574 "panels/network/connection-editor/net-connection-editor.c") 8895 (format #f "~s" (search-input-file
8575 (("\"nm-connection-editor") 8896 inputs "share/gnome/gnome-version.xml"))))))
8576 (string-append "\"" nm-applet 8897 (add-after 'unpack 'skip-gtk-update-icon-cache
8577 "/bin/nm-connection-editor"))) 8898 ;; Don't create 'icon-theme.cache'.
8578 (substitute* '("panels/user-accounts/run-passwd.c") 8899 (lambda _
8579 (("/usr/bin/passwd") 8900 (substitute* "build-aux/meson/meson_post_install.py"
8580 "/run/setuid-programs/passwd")) 8901 (("gtk-update-icon-cache") (which "true"))))))))
8581 (substitute* "panels/info-overview/cc-info-overview-panel.c"
8582 (("DATADIR \"/gnome/gnome-version.xml\"")
8583 (string-append "\"" gnome-desktop
8584 "/share/gnome/gnome-version.xml\""))))))
8585 (add-after 'unpack 'skip-gtk-update-icon-cache
8586 ;; Don't create 'icon-theme.cache'.
8587 (lambda _
8588 (substitute* "build-aux/meson/meson_post_install.py"
8589 (("gtk-update-icon-cache") (which "true")))))
8590 (add-before 'install 'no-polkit-magic
8591 ;; Meson ‘magically’ invokes pkexec, which fails (not setuid).
8592 (lambda _
8593 (setenv "PKEXEC_UID" "something"))))))
8594 (native-inputs 8902 (native-inputs
8595 (list `(,glib "bin") ;for glib-mkenums, etc. 8903 (list docbook-xsl
8596 intltool 8904 gettext-minimal
8905 `(,glib "bin") ;for glib-mkenums, etc.
8906 libxslt
8597 pkg-config 8907 pkg-config
8598 python 8908 python
8599 libxslt
8600 ;; For tests
8601 hicolor-icon-theme
8602 python-dbusmock 8909 python-dbusmock
8603 xorg-server-for-tests)) 8910 xorg-server-for-tests))
8604 (inputs 8911 (inputs
8605 (list accountsservice 8912 (list accountsservice
8606 clutter-gtk
8607 colord-gtk 8913 colord-gtk
8608 cups 8914 cups
8609 dconf 8915 dconf
8610 docbook-xsl
8611 gcr 8916 gcr
8612 gnome-bluetooth 8917 gnome-bluetooth
8613 gnome-desktop 8918 gnome-desktop
8614 gnome-online-accounts 8919 gnome-online-accounts
8615 `(,gnome-online-accounts "lib")
8616 gnome-session 8920 gnome-session
8617 gnome-settings-daemon 8921 gnome-settings-daemon
8922 gnutls
8618 grilo 8923 grilo
8619 gsound 8924 gsound
8620 ibus 8925 ibus
8621 libcanberra 8926 libadwaita
8622 libgnomekbd 8927 libgnomekbd
8623 libgudev 8928 libgudev
8624 libgtop 8929 libgtop
@@ -8626,7 +8931,6 @@ devices using the GNOME desktop.")
8626 libpwquality 8931 libpwquality
8627 librsvg ;for loading SVG files 8932 librsvg ;for loading SVG files
8628 libsecret 8933 libsecret
8629 libsoup-minimal-2
8630 libxml2 8934 libxml2
8631 libwacom 8935 libwacom
8632 mesa 8936 mesa
@@ -8674,7 +8978,8 @@ properties, screen resolution, and other GNOME parameters.")
8674 #~(list "-Dsystemd=false" 8978 #~(list "-Dsystemd=false"
8675 ;; Otherwise, the RUNPATH will lack the final path component. 8979 ;; Otherwise, the RUNPATH will lack the final path component.
8676 (string-append "-Dc_link_args=-Wl,-rpath=" 8980 (string-append "-Dc_link_args=-Wl,-rpath="
8677 #$output "/lib/gnome-shell")) 8981 #$output "/lib/gnome-shell")
8982 "-Dsoup2=false")
8678 #:modules '((guix build meson-build-system) 8983 #:modules '((guix build meson-build-system)
8679 (guix build utils) 8984 (guix build utils)
8680 (ice-9 match) 8985 (ice-9 match)
@@ -8828,7 +9133,7 @@ like switching to windows and launching applications.")
8828(define-public gtk-vnc 9133(define-public gtk-vnc
8829 (package 9134 (package
8830 (name "gtk-vnc") 9135 (name "gtk-vnc")
8831 (version "1.2.0") 9136 (version "1.3.1")
8832 (source 9137 (source
8833 (origin 9138 (origin
8834 (method url-fetch) 9139 (method url-fetch)
@@ -8837,11 +9142,10 @@ like switching to windows and launching applications.")
8837 (version-major+minor version) "/" 9142 (version-major+minor version) "/"
8838 name "-" version ".tar.xz")) 9143 name "-" version ".tar.xz"))
8839 (sha256 9144 (sha256
8840 (base32 "0jmr6igyzcj2wmx5v5ywaazvdz3hx6a6rys26yb4l4s71l281bvs")))) 9145 (base32 "1kpih1gnp3hmsx4l6pig10zn7gd3s5fwm0k6icax0n859sn669si"))))
8841 (build-system meson-build-system) 9146 (build-system meson-build-system)
8842 (arguments 9147 (arguments
8843 `(#:meson ,meson-0.60 9148 `(#:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
8844 #:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
8845 (native-inputs 9149 (native-inputs
8846 (append 9150 (append
8847 ;; GJS depends on Rust, which is x86_64-only so far, so remove the GJS 9151 ;; GJS depends on Rust, which is x86_64-only so far, so remove the GJS
@@ -8858,7 +9162,8 @@ like switching to windows and launching applications.")
8858 python-wrapper 9162 python-wrapper
8859 vala))) 9163 vala)))
8860 (inputs 9164 (inputs
8861 (list cairo (librsvg-for-system))) 9165 (list cairo
9166 (librsvg-for-system)))
8862 (propagated-inputs 9167 (propagated-inputs
8863 ;; These are all in Requires or Requires.private of the .pc files. 9168 ;; These are all in Requires or Requires.private of the .pc files.
8864 (list cyrus-sasl 9169 (list cyrus-sasl
@@ -8928,6 +9233,11 @@ easy, safe, and automatic.")
8928 "-Dsystemd_user_services=false") 9233 "-Dsystemd_user_services=false")
8929 #:phases 9234 #:phases
8930 (modify-phases %standard-phases 9235 (modify-phases %standard-phases
9236 (add-after 'unpack 'patch-paths
9237 (lambda* (#:key inputs #:allow-other-keys)
9238 (substitute* "utils/trackertestutils/__main__.py"
9239 (("/bin/bash")
9240 (search-input-file inputs "bin/bash")))))
8931 (add-before 'configure 'set-shell 9241 (add-before 'configure 'set-shell
8932 (lambda _ 9242 (lambda _
8933 (setenv "SHELL" (which "bash")))) 9243 (setenv "SHELL" (which "bash"))))
@@ -8948,6 +9258,7 @@ easy, safe, and automatic.")
8948 (native-inputs 9258 (native-inputs
8949 (list gettext-minimal 9259 (list gettext-minimal
8950 `(,glib "bin") 9260 `(,glib "bin")
9261 glibc-utf8-locales
8951 gobject-introspection 9262 gobject-introspection
8952 docbook-xsl 9263 docbook-xsl
8953 docbook-xml 9264 docbook-xml
@@ -8962,7 +9273,8 @@ easy, safe, and automatic.")
8962 python 9273 python
8963 vala)) 9274 vala))
8964 (inputs 9275 (inputs
8965 (list dbus 9276 (list bash-minimal
9277 dbus
8966 libsoup)) 9278 libsoup))
8967 (propagated-inputs 9279 (propagated-inputs
8968 ;; These are in Requires or Requires.private of tracker-sparql-3.0.pc. 9280 ;; These are in Requires or Requires.private of tracker-sparql-3.0.pc.
@@ -9119,7 +9431,7 @@ shared object databases, search tools and indexing.")
9119(define-public nautilus 9431(define-public nautilus
9120 (package 9432 (package
9121 (name "nautilus") 9433 (name "nautilus")
9122 (version "41.1") 9434 (version "42.2")
9123 (source (origin 9435 (source (origin
9124 (method url-fetch) 9436 (method url-fetch)
9125 (uri (string-append "mirror://gnome/sources/" name "/" 9437 (uri (string-append "mirror://gnome/sources/" name "/"
@@ -9127,28 +9439,32 @@ shared object databases, search tools and indexing.")
9127 name "-" version ".tar.xz")) 9439 name "-" version ".tar.xz"))
9128 (sha256 9440 (sha256
9129 (base32 9441 (base32
9130 "0bsqh241m43x3qb3z0mjakjic610ncl95zhjdgls649phnc30qry")) 9442 "1cncyiyh79w1id6a6s2f0rxmgwl65lp4ml4afa0z35jrnwp2s8cr"))))
9131 (patches
9132 ;; This patch is already upstream and can be removed next
9133 ;; release.
9134 (search-patches "nautilus-add-libportal-gtk3.patch"))))
9135 (build-system meson-build-system) 9443 (build-system meson-build-system)
9136 (arguments 9444 (arguments
9137 `(#:glib-or-gtk? #t 9445 (list
9138 #:phases 9446 #:glib-or-gtk? #t
9139 (modify-phases %standard-phases 9447 #:phases
9140 (add-after 'unpack 'make-extensible 9448 #~(modify-phases %standard-phases
9141 (lambda _ 9449 (add-after 'unpack 'disable-tracker-tests
9142 (substitute* "src/nautilus-module.c" 9450 ;; The tracker test hangs in the build container (see:
9143 (("static gboolean initialized = FALSE;" all) 9451 ;; https://gitlab.gnome.org/GNOME/nautilus/-/issues/2486).
9144 (string-append all " 9452 (lambda _
9453 (substitute* "test/automated/displayless/meson.build"
9454 (("^foreach t: tracker_tests" all)
9455 (string-append "tracker_tests = []\n" all)))))
9456 (add-after 'unpack 'make-extensible
9457 (lambda _
9458 (substitute* "src/nautilus-module.c"
9459 (("static gboolean initialized = FALSE;" all)
9460 (string-append all "
9145const char *extension_path; 9461const char *extension_path;
9146char **extension_dirs, **d; 9462char **extension_dirs, **d;
9147") 9463")
9148 ) 9464 )
9149 (("load_module_dir \\(NAUTILUS_EXTENSIONDIR\\);" all) 9465 (("load_module_dir \\(NAUTILUS_EXTENSIONDIR\\);" all)
9150 (string-append all 9466 (string-append all
9151 " 9467 "
9152extension_path = g_getenv (\"NAUTILUS_EXTENSION_PATH\"); 9468extension_path = g_getenv (\"NAUTILUS_EXTENSION_PATH\");
9153if (extension_path) 9469if (extension_path)
9154{ 9470{
@@ -9158,21 +9474,28 @@ if (extension_path)
9158 g_strfreev(extension_dirs); 9474 g_strfreev(extension_dirs);
9159} 9475}
9160"))))) 9476")))))
9161 (add-after 'unpack 'skip-gtk-update-icon-cache 9477 (add-after 'unpack 'skip-gtk-update-icon-cache
9162 ;; Don't create 'icon-theme.cache'. 9478 ;; Don't create 'icon-theme.cache'.
9163 (lambda _ 9479 (lambda _
9164 (substitute* "build-aux/meson/postinstall.py" 9480 (substitute* "build-aux/meson/postinstall.py"
9165 (("gtk-update-icon-cache") "true"))))) 9481 (("gtk-update-icon-cache") "true"))))
9166 ;; XXX: FAIL: check-nautilus 9482 (delete 'check)
9167 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed 9483 (add-after 'install 'check
9168 #:tests? #f)) 9484 (assoc-ref %standard-phases 'check))
9485 (add-before 'check 'pre-check
9486 (lambda _
9487 (setenv "HOME" "/tmp") ;some tests require a writable HOME
9488 (setenv "XDG_DATA_DIRS"
9489 (string-append (getenv "XDG_DATA_DIRS")
9490 ":" #$output "/share")))))))
9169 (native-inputs 9491 (native-inputs
9170 (list desktop-file-utils ; for update-desktop-database 9492 (list desktop-file-utils ;for update-desktop-database
9171 `(,glib "bin") ; for glib-mkenums, etc. 9493 `(,glib "bin") ;for glib-mkenums, etc.
9494 gettext-minimal
9172 gobject-introspection 9495 gobject-introspection
9173 intltool
9174 pkg-config 9496 pkg-config
9175 python)) 9497 python
9498 python-pygobject))
9176 (inputs 9499 (inputs
9177 (list dconf 9500 (list dconf
9178 gexiv2 9501 gexiv2
@@ -9186,7 +9509,6 @@ if (extension_path)
9186 libportal 9509 libportal
9187 libseccomp 9510 libseccomp
9188 libselinux 9511 libselinux
9189 libsoup-minimal-2 ; to satisfy tracker dependencies
9190 tracker 9512 tracker
9191 tracker-miners 9513 tracker-miners
9192 ;; XXX: gtk+ is required by libnautilus-extension.pc 9514 ;; XXX: gtk+ is required by libnautilus-extension.pc
@@ -9212,7 +9534,7 @@ files.")
9212(define-public baobab 9534(define-public baobab
9213 (package 9535 (package
9214 (name "baobab") 9536 (name "baobab")
9215 (version "40.0") 9537 (version "42.0")
9216 (source (origin 9538 (source (origin
9217 (method url-fetch) 9539 (method url-fetch)
9218 (uri (string-append 9540 (uri (string-append
@@ -9221,22 +9543,24 @@ files.")
9221 name "-" version ".tar.xz")) 9543 name "-" version ".tar.xz"))
9222 (sha256 9544 (sha256
9223 (base32 9545 (base32
9224 "19yii3bdgivxrcka1c4g6dpbmql5nyawwhzlsph7z6bs68nambm6")))) 9546 "1p2hg8qxbvdfax9z4qjhdsxia93zrsdq58krx8zjnn5ipbkan6jb"))))
9225 (build-system meson-build-system) 9547 (build-system meson-build-system)
9226 (arguments 9548 (arguments
9227 '(#:glib-or-gtk? #t)) 9549 '(#:glib-or-gtk? #t))
9228 (native-inputs 9550 (native-inputs
9229 `(("intltool" ,intltool) 9551 (list desktop-file-utils ;for update-desktop-database
9230 ("pkg-config" ,pkg-config) 9552 gettext-minimal
9231 ("python" ,python) 9553 `(,glib "bin")
9232 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database 9554 `(,gtk+ "bin") ;for gtk-update-icon-cache
9233 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache 9555 itstool
9234 ("itstool" ,itstool) 9556 libxml2
9235 ("xmllint" ,libxml2) 9557 pkg-config
9236 ("glib" ,glib "bin") 9558 python
9237 ("vala" ,vala))) 9559 vala))
9238 (inputs 9560 (inputs
9239 (list gtk+ libhandy)) 9561 (list gtk
9562 libadwaita
9563 libhandy))
9240 (synopsis "Disk usage analyzer for GNOME") 9564 (synopsis "Disk usage analyzer for GNOME")
9241 (description 9565 (description
9242 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk 9566 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
@@ -9276,7 +9600,7 @@ can add your own files to the collection.")
9276(define-public gnome-screenshot 9600(define-public gnome-screenshot
9277 (package 9601 (package
9278 (name "gnome-screenshot") 9602 (name "gnome-screenshot")
9279 (version "40.0") 9603 (version "41.0")
9280 (source 9604 (source
9281 (origin 9605 (origin
9282 (method url-fetch) 9606 (method url-fetch)
@@ -9285,12 +9609,11 @@ can add your own files to the collection.")
9285 name "-" version ".tar.xz")) 9609 name "-" version ".tar.xz"))
9286 (sha256 9610 (sha256
9287 (base32 9611 (base32
9288 "1qm544ymwibk31s30k47vnn79xg30m18r7l4di0c57g375dak31n")) 9612 "15wmikwk62cdi93gas77nqh4fbhlrxrncyfmcd1gfa34jbn7vnsa"))))
9289 (patches
9290 (search-patches "gnome-screenshot-meson-0.60.patch"))))
9291 (build-system meson-build-system) 9613 (build-system meson-build-system)
9292 (arguments 9614 (arguments
9293 '(#:phases 9615 '(#:glib-or-gtk? #t
9616 #:phases
9294 (modify-phases %standard-phases 9617 (modify-phases %standard-phases
9295 (add-after 'unpack 'skip-gtk-update-icon-cache 9618 (add-after 'unpack 'skip-gtk-update-icon-cache
9296 ;; Don't create 'icon-theme.cache'. 9619 ;; Don't create 'icon-theme.cache'.
@@ -9298,14 +9621,17 @@ can add your own files to the collection.")
9298 (substitute* "build-aux/postinstall.py" 9621 (substitute* "build-aux/postinstall.py"
9299 (("gtk-update-icon-cache") "true"))))))) 9622 (("gtk-update-icon-cache") "true")))))))
9300 (native-inputs 9623 (native-inputs
9301 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. 9624 (list appstream-glib
9302 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database 9625 desktop-file-utils ; for update-desktop-database
9303 ("intltool" ,intltool) 9626 gettext-minimal
9304 ("appstream-glib" ,appstream-glib) 9627 `(,glib "bin") ; for glib-compile-schemas, etc.
9305 ("pkg-config" ,pkg-config) 9628 pkg-config
9306 ("python" ,python))) 9629 python))
9307 (inputs 9630 (inputs
9308 (list gtk+ libcanberra libhandy libx11 libxext)) 9631 (list gtk+
9632 libhandy
9633 libx11
9634 libxext))
9309 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot") 9635 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
9310 (synopsis "Take pictures of your screen") 9636 (synopsis "Take pictures of your screen")
9311 (description 9637 (description
@@ -9379,91 +9705,100 @@ associations for GNOME.")
9379 9705
9380(define-public libgovirt 9706(define-public libgovirt
9381 (package 9707 (package
9382 (name "libgovirt") 9708 (name "libgovirt")
9383 (version "0.3.8") 9709 (version "0.3.9")
9384 (source (origin 9710 (source (origin
9385 (method url-fetch) 9711 (method url-fetch)
9386 (uri (string-append "mirror://gnome/sources/" name "/" 9712 (uri (string-append "mirror://gnome/sources/" name "/"
9387 (version-major+minor version) "/" 9713 (version-major+minor version) "/"
9388 name "-" version ".tar.xz")) 9714 name "-" version ".tar.xz"))
9389 (sha256 9715 (sha256
9390 (base32 9716 (base32
9391 "1y0x1wyakj3ya33hgj0w1jkbcn50q21gmn2zyalxysqp55i1ij8x")))) 9717 "0z118di7cg654f5zb8xn5w60ghgqngsc1p7izr1pw01dkxbw6bxi"))))
9392 (build-system glib-or-gtk-build-system) 9718 (build-system meson-build-system)
9393 (native-inputs 9719 (arguments
9394 (list gettext-minimal 9720 (list #:glib-or-gtk? #t
9395 `(,glib "bin") 9721 #:phases #~(modify-phases %standard-phases
9396 gobject-introspection 9722 (add-after 'unpack 'set-home
9397 gsettings-desktop-schemas 9723 (lambda _
9398 `(,gtk+ "bin") 9724 ;; The tests require a writable HOME.
9399 pkg-config)) 9725 (setenv "HOME" "/tmp"))))))
9400 (inputs 9726 (native-inputs
9401 (list glib-networking ; GIO plugin--for the tests 9727 (list gettext-minimal
9402 rest)) 9728 `(,glib "bin")
9403 (synopsis "GoVirt Library") 9729 glib-networking ; GIO plugin--for the tests
9404 (description "GoVirt is a GObject wrapper for the oVirt REST API.") 9730 gobject-introspection
9405 (home-page "https://gitlab.gnome.org/GNOME/libgovirt") 9731 gsettings-desktop-schemas
9406 (license license:gpl2+))) 9732 pkg-config))
9733 (inputs
9734 (list rest-next))
9735 (synopsis "GoVirt Library")
9736 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
9737 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
9738 (license license:gpl2+)))
9407 9739
9408(define-public gnome-weather 9740(define-public gnome-weather
9409 (package 9741 (package
9410 (name "gnome-weather") 9742 (name "gnome-weather")
9411 (version "40.1") 9743 (version "42.0")
9412 (source (origin 9744 (source (origin
9413 (method url-fetch) 9745 (method url-fetch)
9414 (uri (string-append "mirror://gnome/sources/" name "/" 9746 (uri (string-append "mirror://gnome/sources/" name "/"
9415 (version-major version) "/" 9747 (version-major version) "/"
9416 name "-" version ".tar.xz")) 9748 name "-" version ".tar.xz"))
9417 (sha256 9749 (sha256
9418 (base32 9750 (base32
9419 "0k9wnyinvx6433r07kvjyahgqc605g7gbpf3d0h6vi4p8x61849x")))) 9751 "0rdl0ywdk8jlq819wr1sbdzdvsasz11pp30fylzvprakv28yd7jp"))))
9420 (build-system meson-build-system) 9752 (build-system meson-build-system)
9421 (native-inputs 9753 (arguments
9422 `(("gettext" ,gettext-minimal) 9754 (list
9423 ("glib:bin" ,glib "bin") 9755 #:glib-or-gtk? #t
9424 ("gobject-introspection" ,gobject-introspection)
9425 ("gtk+:bin" ,gtk+ "bin")
9426 ("pkg-config" ,pkg-config)))
9427 (inputs
9428 (list appstream-glib
9429 geoclue
9430 gjs
9431 gnome-desktop
9432 libgweather
9433 libhandy))
9434 (arguments
9435 `(#:glib-or-gtk? #t
9436 #:meson ,meson-0.60
9437 #:phases 9756 #:phases
9438 ,#~(modify-phases %standard-phases 9757 #~(modify-phases %standard-phases
9439 (add-after 'unpack 'fix-service-file 9758 (add-after 'unpack 'fix-service-file
9440 (lambda _ 9759 (lambda _
9441 (substitute* "data/org.gnome.Weather.service.in" 9760 (substitute* "data/org.gnome.Weather.service.in"
9442 (("Exec=[[:graph:]]+") 9761 (("Exec=[[:graph:]]+")
9443 (string-append "Exec=" #$output 9762 (string-append "Exec=" #$output
9444 "/bin/gnome-weather"))))) 9763 "/bin/gnome-weather")))))
9445 (add-after 'install 'fix-desktop-file 9764 (add-after 'unpack 'disable-gtk-update-icon-cache
9446 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some 9765 (lambda _
9447 ;; reason. See https://issues.guix.gnu.org/issue/39324. 9766 (setenv "DESTDIR" "/")))
9448 (lambda _ 9767 (add-after 'install 'fix-desktop-file
9449 (let ((applications 9768 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some
9450 (string-append #$output "/share/applications"))) 9769 ;; reason. See https://issues.guix.gnu.org/issue/39324.
9451 (substitute* (string-append applications 9770 (lambda* (#:key outputs #:allow-other-keys)
9452 "/org.gnome.Weather.desktop") 9771 (substitute* (search-input-file
9453 (("Exec=.*") "Exec=gnome-weather\n"))))) 9772 outputs
9454 (add-after 'install 'wrap 9773 "share/applications/org.gnome.Weather.desktop")
9455 (lambda _ 9774 (("Exec=.*") "Exec=gnome-weather\n"))))
9456 (let ((gi-typelib-path (getenv "GI_TYPELIB_PATH"))) 9775 (add-after 'install 'wrap
9457 ;; GNOME Weather needs the typelib files of GTK+, Pango etc 9776 (lambda* (#:key outputs #:allow-other-keys)
9458 ;; at runtime. 9777 ;; GNOME Weather needs the typelib files of GTK+, Pango etc at
9459 (wrap-program (string-append #$output "/bin/gnome-weather") 9778 ;; runtime.
9460 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))))))) 9779 (wrap-program (search-input-file outputs "bin/gnome-weather")
9461 (synopsis "Weather monitoring for GNOME desktop") 9780 `("GI_TYPELIB_PATH" ":" prefix
9462 (description "GNOME Weather is a small application that allows you to 9781 (,(getenv "GI_TYPELIB_PATH")))))))))
9782 (native-inputs
9783 (list gettext-minimal
9784 `(,glib "bin")
9785 gobject-introspection
9786 pkg-config))
9787 (inputs
9788 (list appstream-glib
9789 bash-minimal
9790 geoclue
9791 gjs
9792 gsettings-desktop-schemas-next
9793 gtk
9794 libadwaita
9795 libgweather4))
9796 (synopsis "Weather monitoring for GNOME desktop")
9797 (description "GNOME Weather is a small application that allows you to
9463monitor the current weather conditions for your city, or anywhere in the 9798monitor the current weather conditions for your city, or anywhere in the
9464world.") 9799world.")
9465 (home-page "https://wiki.gnome.org/Apps/Weather") 9800 (home-page "https://wiki.gnome.org/Apps/Weather")
9466 (license license:gpl2+))) 9801 (license license:gpl2+)))
9467 9802
9468(define-public gnome 9803(define-public gnome
9469 (package 9804 (package
@@ -9726,7 +10061,7 @@ library.")
9726 (native-inputs 10061 (native-inputs
9727 (list gobject-introspection intltool pkg-config)) 10062 (list gobject-introspection intltool pkg-config))
9728 (inputs 10063 (inputs
9729 (list `(,gnome-online-accounts "lib") json-glib rest)) 10064 (list gnome-online-accounts json-glib rest))
9730 (home-page "https://wiki.gnome.org/Projects/Zapojit") 10065 (home-page "https://wiki.gnome.org/Projects/Zapojit")
9731 (synopsis "Library for accessing SkyDrive and Hotmail") 10066 (synopsis "Library for accessing SkyDrive and Hotmail")
9732 (description 10067 (description
@@ -9737,7 +10072,7 @@ Microsoft SkyDrive and Hotmail, using their REST protocols.")
9737(define-public gnome-clocks 10072(define-public gnome-clocks
9738 (package 10073 (package
9739 (name "gnome-clocks") 10074 (name "gnome-clocks")
9740 (version "40.0") 10075 (version "42.0")
9741 (source (origin 10076 (source (origin
9742 (method url-fetch) 10077 (method url-fetch)
9743 (uri (string-append "mirror://gnome/sources/" name "/" 10078 (uri (string-append "mirror://gnome/sources/" name "/"
@@ -9745,7 +10080,7 @@ Microsoft SkyDrive and Hotmail, using their REST protocols.")
9745 name "-" version ".tar.xz")) 10080 name "-" version ".tar.xz"))
9746 (sha256 10081 (sha256
9747 (base32 10082 (base32
9748 "02d3jg46sn8d9gd4dsaly22gg5vkbz2gpq4pmwpvncb4rsqk7sn2")))) 10083 "1q3gvniwd4dkr1ghqpp05zr7qswdhaxqrn8j6bm3qbh39bdihw8f"))))
9749 (build-system meson-build-system) 10084 (build-system meson-build-system)
9750 (arguments 10085 (arguments
9751 '(#:glib-or-gtk? #t 10086 '(#:glib-or-gtk? #t
@@ -9754,24 +10089,24 @@ Microsoft SkyDrive and Hotmail, using their REST protocols.")
9754 (add-after 'unpack 'skip-gtk-update-icon-cache 10089 (add-after 'unpack 'skip-gtk-update-icon-cache
9755 ;; Don't create 'icon-theme.cache'. 10090 ;; Don't create 'icon-theme.cache'.
9756 (lambda _ 10091 (lambda _
9757 (substitute* "build-aux/post-install.py" 10092 (substitute* "meson.build"
9758 (("gtk-update-icon-cache") "true"))))))) 10093 (("gtk_update_icon_cache: true")
10094 "gtk_update_icon_cache: false")))))))
9759 (native-inputs 10095 (native-inputs
9760 `(("vala" ,vala) 10096 (list desktop-file-utils
9761 ("pkg-config" ,pkg-config) 10097 gettext-minimal
9762 ("glib" ,glib "bin") ; for glib-compile-resources 10098 `(,glib "bin") ; for glib-compile-resources
9763 ("desktop-file-utils" ,desktop-file-utils) 10099 itstool
9764 ("gettext" ,gettext-minimal) 10100 pkg-config))
9765 ("itstool" ,itstool)))
9766 (inputs 10101 (inputs
9767 (list glib 10102 (list geoclue
9768 gtk+ 10103 geocode-glib-with-libsoup2
10104 glib
10105 gnome-desktop
9769 gsound 10106 gsound
9770 geoclue 10107 gtk
9771 geocode-glib 10108 libadwaita
9772 libgweather 10109 libgweather4-with-libsoup2))
9773 libhandy
9774 gnome-desktop))
9775 (home-page "https://wiki.gnome.org/Apps/Clocks") 10110 (home-page "https://wiki.gnome.org/Apps/Clocks")
9776 (synopsis "GNOME's clock application") 10111 (synopsis "GNOME's clock application")
9777 (description 10112 (description
@@ -9782,7 +10117,7 @@ desktop. It supports world clock, stop watch, alarms, and count down timer.")
9782(define-public gnome-calendar 10117(define-public gnome-calendar
9783 (package 10118 (package
9784 (name "gnome-calendar") 10119 (name "gnome-calendar")
9785 (version "40.2") 10120 (version "42.2")
9786 (source (origin 10121 (source (origin
9787 (method url-fetch) 10122 (method url-fetch)
9788 (uri (string-append "mirror://gnome/sources/" name "/" 10123 (uri (string-append "mirror://gnome/sources/" name "/"
@@ -9790,36 +10125,33 @@ desktop. It supports world clock, stop watch, alarms, and count down timer.")
9790 name "-" version ".tar.xz")) 10125 name "-" version ".tar.xz"))
9791 (sha256 10126 (sha256
9792 (base32 10127 (base32
9793 "0czasxnmbw2zm21lmxam8qixacagciq3f815s809hn0f9byh2dwy")))) 10128 "1ggvnl2jnc24nzpkjvsk57vpckjzb14a7mmnk6jjm84nmqxccz5f"))))
9794 (build-system meson-build-system) 10129 (build-system meson-build-system)
9795 (arguments 10130 (arguments
9796 `(#:glib-or-gtk? #t 10131 `(#:glib-or-gtk? #t
9797 #:meson ,meson-0.60
9798 ;; gnome-calendar has to be installed before the tests can be run
9799 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
9800 #:tests? #f
9801 #:phases 10132 #:phases
9802 (modify-phases %standard-phases 10133 (modify-phases %standard-phases
9803 (add-after 'unpack 'skip-gtk-update-icon-cache 10134 (add-after 'unpack 'skip-gtk-update-icon-cache
9804 ;; Don't create 'icon-theme.cache'. 10135 ;; Don't create 'icon-theme.cache'.
9805 (lambda _ 10136 (lambda _
9806 (substitute* "build-aux/meson/meson_post_install.py" 10137 (substitute* "meson.build"
9807 (("gtk-update-icon-cache") "true")) 10138 (("gtk_update_icon_cache: true")
9808 #t))))) 10139 "gtk_update_icon_cache: false")))))))
9809 (native-inputs 10140 (native-inputs
9810 `(("gettext" ,gettext-minimal) 10141 (list gettext-minimal
9811 ("glib-bin" ,glib "bin") ; For glib-compile-schemas 10142 `(,glib "bin") ; For glib-compile-schemas
9812 ("pkg-config" ,pkg-config))) 10143 pkg-config))
9813 (inputs 10144 (inputs
9814 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib") 10145 ;; Note: not propagating evolution-data-server-3.44 to keep profiles
9815 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) 10146 ;; clean from libsoup2.
9816 ("libdazzle" ,libdazzle) 10147 (list evolution-data-server-3.44
9817 ("libedataserverui" ,evolution-data-server) 10148 geoclue
9818 ("libgweather" ,libgweather) 10149 geocode-glib-with-libsoup2
9819 ("libhandy" ,libhandy) 10150 gnome-online-accounts-3.44
9820 ("geoclue" ,geoclue))) 10151 gsettings-desktop-schemas
9821 (propagated-inputs 10152 libadwaita
9822 (list evolution-data-server)) 10153 libdazzle
10154 libgweather4-with-libsoup2))
9823 (home-page "https://wiki.gnome.org/Apps/Calendar") 10155 (home-page "https://wiki.gnome.org/Apps/Calendar")
9824 (synopsis "GNOME's calendar application") 10156 (synopsis "GNOME's calendar application")
9825 (description 10157 (description
@@ -9876,7 +10208,7 @@ desktop. It supports multiple calendars, month, week and year view.")
9876 libportal 10208 libportal
9877 python-pygobject 10209 python-pygobject
9878 evolution-data-server 10210 evolution-data-server
9879 `(,gnome-online-accounts "lib") 10211 gnome-online-accounts
9880 gsettings-desktop-schemas)) 10212 gsettings-desktop-schemas))
9881 (home-page "https://wiki.gnome.org/Apps/Todo") 10213 (home-page "https://wiki.gnome.org/Apps/Todo")
9882 (synopsis "GNOME's ToDo Application") 10214 (synopsis "GNOME's ToDo Application")
@@ -9899,7 +10231,6 @@ to perfectly fit the GNOME desktop.")
9899 (build-system meson-build-system) 10231 (build-system meson-build-system)
9900 (arguments 10232 (arguments
9901 `(#:glib-or-gtk? #t 10233 `(#:glib-or-gtk? #t
9902 #:meson ,meson-0.59
9903 #:phases 10234 #:phases
9904 (modify-phases %standard-phases 10235 (modify-phases %standard-phases
9905 (add-after 'unpack 'skip-gtk-update-icon-cache 10236 (add-after 'unpack 'skip-gtk-update-icon-cache
@@ -9915,7 +10246,8 @@ to perfectly fit the GNOME desktop.")
9915 pkg-config 10246 pkg-config
9916 libxml2)) 10247 libxml2))
9917 (inputs 10248 (inputs
9918 (list gsettings-desktop-schemas gtk+)) 10249 (list gsettings-desktop-schemas
10250 gtk+))
9919 (home-page "https://wiki.gnome.org/Apps/Dictionary") 10251 (home-page "https://wiki.gnome.org/Apps/Dictionary")
9920 (synopsis "Look up words in dictionary sources") 10252 (synopsis "Look up words in dictionary sources")
9921 (description 10253 (description
@@ -9926,7 +10258,7 @@ existing databases over the internet.")
9926(define-public gnome-tweaks 10258(define-public gnome-tweaks
9927 (package 10259 (package
9928 (name "gnome-tweaks") 10260 (name "gnome-tweaks")
9929 (version "40.0") 10261 (version "40.10")
9930 (source (origin 10262 (source (origin
9931 (method url-fetch) 10263 (method url-fetch)
9932 (uri (string-append "mirror://gnome/sources/gnome-tweaks/" 10264 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
@@ -9936,41 +10268,40 @@ existing databases over the internet.")
9936 (list (search-patch "gnome-tweaks-search-paths.patch"))) 10268 (list (search-patch "gnome-tweaks-search-paths.patch")))
9937 (sha256 10269 (sha256
9938 (base32 10270 (base32
9939 "0sn3xsjhnini0f2dyi1ymrr3fb8mi7w5j5lsyw11rc5h67h3ypzr")))) 10271 "1z13xy804hld9q8k0vq5y4j5jk7m0ayqzkli8jxpymwrlcrkpzfg"))))
9940 (build-system meson-build-system) 10272 (build-system meson-build-system)
9941 (arguments 10273 (arguments
9942 `(#:glib-or-gtk? #t 10274 (list
9943 #:configure-flags '("-Dlocalstatedir=/tmp" 10275 #:glib-or-gtk? #t
9944 "-Dsysconfdir=/tmp") 10276 #:configure-flags #~(list "-Dlocalstatedir=/tmp"
9945 #:imported-modules ((guix build python-build-system) 10277 "-Dsysconfdir=/tmp")
10278 #:imported-modules `((guix build python-build-system)
9946 ,@%meson-build-system-modules) 10279 ,@%meson-build-system-modules)
9947 #:phases 10280 #:modules '((guix build meson-build-system)
9948 (modify-phases %standard-phases 10281 ((guix build python-build-system) #:prefix python:)
9949 (add-after 'unpack 'skip-gtk-update-icon-cache 10282 (guix build utils))
9950 ;; Don't create 'icon-theme.cache'. 10283 #:phases
9951 (lambda _ 10284 #~(modify-phases %standard-phases
9952 (substitute* "meson-postinstall.py" 10285 (add-after 'unpack 'skip-gtk-update-icon-cache
9953 (("gtk-update-icon-cache") "true")))) 10286 ;; Don't create 'icon-theme.cache'.
9954 (add-after 'install 'wrap 10287 (lambda _
9955 (@@ (guix build python-build-system) wrap)) 10288 (substitute* "meson-postinstall.py"
9956 (add-after 'wrap 'wrap-gi-typelib-and-python 10289 (("gtk-update-icon-cache") "true"))))
9957 (lambda* (#:key inputs outputs #:allow-other-keys) 10290 (add-after 'install 'wrap
9958 (let ((out (assoc-ref outputs "out")) 10291 (assoc-ref python:%standard-phases 'wrap))
9959 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) 10292 (add-after 'wrap 'wrap-gi-typelib-and-python
9960 (let ((python-path 10293 (lambda* (#:key inputs outputs #:allow-other-keys)
9961 (string-append out "/lib/python" 10294 (wrap-program (search-input-file outputs "bin/gnome-tweaks")
9962 ,(version-major+minor 10295 `("GI_TYPELIB_PATH" ":" prefix
9963 (package-version python)) 10296 (,(getenv "GI_TYPELIB_PATH")))
9964 "/site-packages"))) 10297 `("GUIX_PYTHONPATH" ":" prefix
9965 (wrap-program (string-append out "/bin/gnome-tweaks") 10298 (,(python:site-packages inputs outputs)))))))))
9966 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)) 10299 (native-inputs
9967 `("GUIX_PYTHONPATH" ":" prefix (,python-path)))))))))) 10300 (list `(,glib "bin") ; for glib-compile-resources, etc.
9968 (native-inputs 10301 gettext-minimal
9969 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc. 10302 pkg-config))
9970 ("intltool" ,intltool)
9971 ("pkg-config" ,pkg-config)))
9972 (inputs 10303 (inputs
9973 (list bash-minimal ; to execute the wrapper program 10304 (list bash-minimal ; to execute the wrapper program
9974 gnome-desktop 10305 gnome-desktop
9975 gtk+ 10306 gtk+
9976 gobject-introspection 10307 gobject-introspection
@@ -9993,7 +10324,7 @@ GNOME Shell appearance and extension, etc.")
9993(define-public gnome-shell-extensions 10324(define-public gnome-shell-extensions
9994 (package 10325 (package
9995 (name "gnome-shell-extensions") 10326 (name "gnome-shell-extensions")
9996 (version "41.0") 10327 (version "42.3")
9997 (source (origin 10328 (source (origin
9998 (method url-fetch) 10329 (method url-fetch)
9999 (uri (string-append "mirror://gnome/sources/" name "/" 10330 (uri (string-append "mirror://gnome/sources/" name "/"
@@ -10001,14 +10332,14 @@ GNOME Shell appearance and extension, etc.")
10001 name "-" version ".tar.xz")) 10332 name "-" version ".tar.xz"))
10002 (sha256 10333 (sha256
10003 (base32 10334 (base32
10004 "0s7wcsa0ysdgh5zpxpa95id5rz4ajb2r1561v5szjf4b8k0slkyq")))) 10335 "1z3k4bvq8f2s0q9q7i093w4hrz289lci7xlib20aqa4z5sivxhhf"))))
10005 (build-system meson-build-system) 10336 (build-system meson-build-system)
10006 (arguments 10337 (arguments
10007 '(#:configure-flags '("-Dextension_set=all"))) 10338 '(#:configure-flags '("-Dextension_set=all")))
10008 (native-inputs 10339 (native-inputs
10009 `(("glib:bin" ,glib "bin") 10340 (list `(,glib "bin")
10010 ("intltool" ,intltool) 10341 gettext-minimal
10011 ("pkg-config" ,pkg-config))) 10342 pkg-config))
10012 (propagated-inputs 10343 (propagated-inputs
10013 (list glib)) 10344 (list glib))
10014 (synopsis "Extensions for GNOME Shell") 10345 (synopsis "Extensions for GNOME Shell")
@@ -10064,10 +10395,18 @@ compiled.")
10064 (home-page "https://wiki.gnome.org/Projects/Folks") 10395 (home-page "https://wiki.gnome.org/Projects/Folks")
10065 (license license:lgpl2.1+))) 10396 (license license:lgpl2.1+)))
10066 10397
10398(define-public folks-with-libsoup2
10399 (package
10400 (inherit folks)
10401 (name "folks-with-libsoup2")
10402 (inputs
10403 (modify-inputs (package-inputs folks)
10404 (replace "evolution-data-server" evolution-data-server-3.44)))))
10405
10067(define-public gfbgraph 10406(define-public gfbgraph
10068 (package 10407 (package
10069 (name "gfbgraph") 10408 (name "gfbgraph")
10070 (version "0.2.4") 10409 (version "0.2.5")
10071 (source (origin 10410 (source (origin
10072 (method url-fetch) 10411 (method url-fetch)
10073 (uri (string-append 10412 (uri (string-append
@@ -10076,26 +10415,18 @@ compiled.")
10076 "gfbgraph-" version ".tar.xz")) 10415 "gfbgraph-" version ".tar.xz"))
10077 (sha256 10416 (sha256
10078 (base32 10417 (base32
10079 "0yck7dwvjk16a52nafjpi0a39rxwmg0w833brj45acz76lgkjrb0")))) 10418 "1qq3cryhby50xms8zh4s6fmw5p0i7dpg1wvsz5ni78cbyyrq3cww"))))
10080 (build-system glib-or-gtk-build-system) 10419 (build-system glib-or-gtk-build-system)
10081 (arguments 10420 (arguments
10082 `(#:tests? #f ; tests appear to require the network 10421 `(#:configure-flags '("--disable-static")))
10083 #:configure-flags '("--disable-static"
10084 "--enable-gtk-doc"
10085 "--enable-introspection")))
10086 (native-inputs 10422 (native-inputs
10087 (list gobject-introspection 10423 (list gobject-introspection
10088 gtk-doc/stable 10424 gtk-doc/stable
10089 pkg-config 10425 pkg-config))
10090 ;; The 0.2.4 ‘release’ tarball isn't bootstrapped.
10091 autoconf
10092 automake
10093 libtool
10094 which))
10095 (inputs 10426 (inputs
10096 `(("json-glib" ,json-glib) 10427 (list gnome-online-accounts
10097 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib") 10428 json-glib
10098 ("rest" ,rest))) 10429 rest))
10099 (synopsis "GLib/GObject wrapper for the Facebook API") 10430 (synopsis "GLib/GObject wrapper for the Facebook API")
10100 (description "This library allows you to use the Facebook API from 10431 (description "This library allows you to use the Facebook API from
10101GLib/GObject code.") 10432GLib/GObject code.")
@@ -10105,7 +10436,7 @@ GLib/GObject code.")
10105(define-public libgnomekbd 10436(define-public libgnomekbd
10106 (package 10437 (package
10107 (name "libgnomekbd") 10438 (name "libgnomekbd")
10108 (version "3.26.1") 10439 (version "3.28.1")
10109 (source (origin 10440 (source (origin
10110 (method url-fetch) 10441 (method url-fetch)
10111 (uri (string-append "mirror://gnome/sources/libgnomekbd/" 10442 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
@@ -10113,14 +10444,21 @@ GLib/GObject code.")
10113 "libgnomekbd-" version ".tar.xz")) 10444 "libgnomekbd-" version ".tar.xz"))
10114 (sha256 10445 (sha256
10115 (base32 10446 (base32
10116 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp")))) 10447 "0w78ix6f52xv0hw1h6fzqh47pk1fwr077agma19hdh3kdmb5kp12"))))
10117 (build-system gnu-build-system) 10448 (build-system gnu-build-system)
10118 (native-inputs 10449 (native-inputs
10119 (list pkg-config 10450 (list autoconf
10120 `(,glib "bin") intltool)) 10451 automake
10452 `(,glib "bin")
10453 libtool
10454 pkg-config
10455 gettext-minimal
10456 gobject-introspection))
10121 (propagated-inputs 10457 (propagated-inputs
10122 ;; Referred to in .h files and .pc. 10458 ;; Referred to in .h files and .pc.
10123 (list glib gtk+ libxklavier)) 10459 (list glib
10460 gtk+
10461 libxklavier))
10124 (home-page "https://www.gnome.org") 10462 (home-page "https://www.gnome.org")
10125 (synopsis "GNOME keyboard configuration library") 10463 (synopsis "GNOME keyboard configuration library")
10126 (description 10464 (description
@@ -10171,7 +10509,7 @@ handling the startup notification side.")
10171(define-public gnome-calculator 10509(define-public gnome-calculator
10172 (package 10510 (package
10173 (name "gnome-calculator") 10511 (name "gnome-calculator")
10174 (version "41.0") 10512 (version "42.2")
10175 (source 10513 (source
10176 (origin 10514 (origin
10177 (method url-fetch) 10515 (method url-fetch)
@@ -10180,12 +10518,17 @@ handling the startup notification side.")
10180 name "-" version ".tar.xz")) 10518 name "-" version ".tar.xz"))
10181 (sha256 10519 (sha256
10182 (base32 10520 (base32
10183 "16fwwfnw1w8p53ffny6zkff5cfsmg7xax9kmfgb7czjqv15w0vd6")))) 10521 "1866qn0r9xp7b7j1436kry2k3bdh9ikhz2wm41jxcn1nljyb3nik"))))
10184 (build-system meson-build-system) 10522 (build-system meson-build-system)
10185 (arguments 10523 (arguments
10186 '(#:glib-or-gtk? #t 10524 '(#:glib-or-gtk? #t
10187 #:phases 10525 #:phases
10188 (modify-phases %standard-phases 10526 (modify-phases %standard-phases
10527 (add-after 'unpack 'skip-gtk-update-icon-cache
10528 (lambda _
10529 (substitute* "meson.build"
10530 (("gtk_update_icon_cache: true")
10531 "gtk_update_icon_cache: false"))))
10189 (add-before 'check 'pre-check 10532 (add-before 'check 'pre-check
10190 (lambda _ 10533 (lambda _
10191 ;; Tests require a writable HOME. 10534 ;; Tests require a writable HOME.
@@ -10193,14 +10536,14 @@ handling the startup notification side.")
10193 (native-inputs 10536 (native-inputs
10194 (list gettext-minimal 10537 (list gettext-minimal
10195 `(,glib "bin") ;for glib-compile-schemas, gio-2.0. 10538 `(,glib "bin") ;for glib-compile-schemas, gio-2.0.
10196 `(,gtk+ "bin") ;for gtk-update-icon-cache
10197 itstool 10539 itstool
10198 vala
10199 pkg-config 10540 pkg-config
10200 python)) 10541 python
10542 vala))
10201 (inputs 10543 (inputs
10202 (list `(,glib "bin") 10544 (list gsettings-desktop-schemas-next
10203 gtksourceview-4 10545 gtksourceview
10546 libadwaita
10204 libgee 10547 libgee
10205 libhandy 10548 libhandy
10206 libsoup-minimal-2 10549 libsoup-minimal-2
@@ -10415,7 +10758,7 @@ kill/reinice processes.")
10415(define-public python-pyatspi 10758(define-public python-pyatspi
10416 (package 10759 (package
10417 (name "python-pyatspi") 10760 (name "python-pyatspi")
10418 (version "2.34.0") 10761 (version "2.45.90")
10419 (source (origin 10762 (source (origin
10420 (method url-fetch) 10763 (method url-fetch)
10421 (uri (string-append 10764 (uri (string-append
@@ -10424,7 +10767,7 @@ kill/reinice processes.")
10424 "/pyatspi-" version ".tar.xz")) 10767 "/pyatspi-" version ".tar.xz"))
10425 (sha256 10768 (sha256
10426 (base32 10769 (base32
10427 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p")))) 10770 "1fggihg4xmwia0xgjkcraiqk76jvyrj1pcsw99rjh4yn3kygisrh"))))
10428 (build-system gnu-build-system) 10771 (build-system gnu-build-system)
10429 (arguments 10772 (arguments
10430 `(#:phases 10773 `(#:phases
@@ -10435,8 +10778,7 @@ kill/reinice processes.")
10435 (("from gi.repository import Atspi") 10778 (("from gi.repository import Atspi")
10436 "gi.require_version('Gtk', '3.0') 10779 "gi.require_version('Gtk', '3.0')
10437from gi.repository import Gtk 10780from gi.repository import Gtk
10438from gi.repository import Atspi")) 10781from gi.repository import Atspi")))))))
10439 #t)))))
10440 (native-inputs 10782 (native-inputs
10441 (list pkg-config)) 10783 (list pkg-config))
10442 (inputs 10784 (inputs
@@ -10455,7 +10797,7 @@ accessibility infrastructure.")
10455(define-public orca 10797(define-public orca
10456 (package 10798 (package
10457 (name "orca") 10799 (name "orca")
10458 (version "41.0") 10800 (version "42.3")
10459 (source (origin 10801 (source (origin
10460 (method url-fetch) 10802 (method url-fetch)
10461 (uri (string-append 10803 (uri (string-append
@@ -10464,7 +10806,7 @@ accessibility infrastructure.")
10464 name "-" version ".tar.xz")) 10806 name "-" version ".tar.xz"))
10465 (sha256 10807 (sha256
10466 (base32 10808 (base32
10467 "1gflnsv6d5qn5rh1f16yfa0q0yv8yvd0l5lbwrsdg7z18lafb5vn")))) 10809 "097pyav3z5ssic8vwd7v1s7vynpycdpyfr324rr6c7mfzq5vmp7s"))))
10468 (build-system glib-or-gtk-build-system) 10810 (build-system glib-or-gtk-build-system)
10469 (arguments 10811 (arguments
10470 '(#:phases 10812 '(#:phases
@@ -10477,22 +10819,21 @@ accessibility infrastructure.")
10477 (("'xkbcomp'") (format #f "'~a'" xkbcomp)))))) 10819 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))))
10478 (add-after 'install 'wrap-orca 10820 (add-after 'install 'wrap-orca
10479 (lambda* (#:key outputs #:allow-other-keys) 10821 (lambda* (#:key outputs #:allow-other-keys)
10480 (let* ((out (assoc-ref outputs "out")) 10822 (wrap-program (search-input-file outputs "bin/orca")
10481 (prog (string-append out "/bin/orca"))) 10823 `("GI_TYPELIB_PATH" ":" prefix
10482 (wrap-program prog 10824 (,(getenv "GI_TYPELIB_PATH")))
10483 `("GI_TYPELIB_PATH" ":" prefix 10825 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
10484 (,(getenv "GI_TYPELIB_PATH"))) 10826 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
10485 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix 10827 `("GUIX_PYTHONPATH" ":" prefix
10486 (,(getenv "GST_PLUGIN_SYSTEM_PATH"))) 10828 (,(getenv "GUIX_PYTHONPATH")))))))))
10487 `("GUIX_PYTHONPATH" ":" prefix
10488 (,(getenv "GUIX_PYTHONPATH"))))))))))
10489 (native-inputs 10829 (native-inputs
10490 (list intltool 10830 (list gettext-minimal
10491 itstool 10831 itstool
10492 pkg-config 10832 pkg-config
10493 libxml2)) 10833 libxml2))
10494 (inputs 10834 (inputs
10495 (list at-spi2-core 10835 (list at-spi2-atk
10836 bash-minimal
10496 gsettings-desktop-schemas 10837 gsettings-desktop-schemas
10497 gstreamer 10838 gstreamer
10498 gst-plugins-base 10839 gst-plugins-base
@@ -10515,7 +10856,7 @@ that support the Assistive Technology Service Provider Interface (AT-SPI).")
10515(define-public gspell 10856(define-public gspell
10516 (package 10857 (package
10517 (name "gspell") 10858 (name "gspell")
10518 (version "1.8.2") 10859 (version "1.11.1")
10519 (source (origin 10860 (source (origin
10520 (method url-fetch) 10861 (method url-fetch)
10521 (uri (string-append "mirror://gnome/sources/" name "/" 10862 (uri (string-append "mirror://gnome/sources/" name "/"
@@ -10523,13 +10864,18 @@ that support the Assistive Technology Service Provider Interface (AT-SPI).")
10523 name "-" version ".tar.xz")) 10864 name "-" version ".tar.xz"))
10524 (sha256 10865 (sha256
10525 (base32 10866 (base32
10526 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv")) 10867 "14h2w0yzqwaw5dykmhh21sy2c96g17waahg2lxc52xqiyzis8spg"))))
10527 (patches (search-patches "gspell-dash-test.patch"))))
10528 (build-system glib-or-gtk-build-system) 10868 (build-system glib-or-gtk-build-system)
10529 (arguments 10869 (arguments
10530 '(#:configure-flags (list "--enable-vala") 10870 '(#:configure-flags (list "--enable-vala")
10531 #:phases 10871 #:phases
10532 (modify-phases %standard-phases 10872 (modify-phases %standard-phases
10873 (add-after 'unpack 'disable-problematic-tests
10874 (lambda _
10875 (substitute* "testsuite/test-checker.c"
10876 ;; This test is known to fail with Aspell, as a comment
10877 ;; mentions it. Disable it.
10878 ((".*g_test_add_func.*test_dashes.*") ""))))
10533 (add-before 'check 'pre-check 10879 (add-before 'check 'pre-check
10534 (lambda* (#:key inputs #:allow-other-keys) 10880 (lambda* (#:key inputs #:allow-other-keys)
10535 ;; Tests require a running X server. 10881 ;; Tests require a running X server.
@@ -10546,18 +10892,20 @@ that support the Assistive Technology Service Provider Interface (AT-SPI).")
10546 (inputs 10892 (inputs
10547 (list iso-codes)) 10893 (list iso-codes))
10548 (native-inputs 10894 (native-inputs
10549 `(("glib" ,glib "bin") 10895 (list `(,glib "bin")
10550 ("gobject-introspection" ,gobject-introspection) 10896 gobject-introspection
10551 ("pkg-config" ,pkg-config) 10897 pkg-config
10552 ("vala" ,vala) ;for VAPI, needed by Geary 10898 vala ;for VAPI, needed by Geary
10553 ("xmllint" ,libxml2) 10899 libxml2
10554 10900
10555 ;; For tests. 10901 ;; For tests.
10556 ("aspell-dict-en" ,aspell-dict-en) 10902 aspell-dict-en
10557 ("xorg-server" ,xorg-server-for-tests))) 10903 xorg-server-for-tests))
10558 (propagated-inputs 10904 (propagated-inputs
10559 ;; Referred by .pc file. 10905 ;; Referred by .pc file.
10560 (list enchant glib gtk+)) 10906 (list enchant
10907 glib
10908 gtk+))
10561 (home-page "https://wiki.gnome.org/Projects/gspell") 10909 (home-page "https://wiki.gnome.org/Projects/gspell")
10562 (synopsis "GNOME's alternative spell checker") 10910 (synopsis "GNOME's alternative spell checker")
10563 (description 10911 (description
@@ -10616,63 +10964,60 @@ views can be printed as PDF or PostScript files, or exported to HTML.")
10616(define-public lollypop 10964(define-public lollypop
10617 (package 10965 (package
10618 (name "lollypop") 10966 (name "lollypop")
10619 (version "1.4.24") 10967 (version "1.4.35")
10620 (source 10968 (source
10621 (origin 10969 (origin
10622 (method url-fetch) 10970 (method url-fetch)
10623 (uri (string-append "https://adishatz.org/lollypop/" 10971 (uri (string-append "https://adishatz.org/lollypop/"
10624 "lollypop-" version ".tar.xz")) 10972 "lollypop-" version ".tar.xz"))
10625 (sha256 10973 (sha256
10626 (base32 "10cw3x75siibmnbh4zhfmf2vd08fqjs3lj3l4wpk6zj9h22ncfxw")))) 10974 (base32 "0rvwj18x1gs7fgvniijzvlmgmzcgr7il22zclzsn5nkl8xbwgzk0"))))
10627 (build-system meson-build-system) 10975 (build-system meson-build-system)
10628 (arguments 10976 (arguments
10629 `(#:imported-modules 10977 `(#:imported-modules (,@%meson-build-system-modules
10630 (,@%meson-build-system-modules 10978 (guix build python-build-system))
10631 (guix build python-build-system)) 10979 #:modules ((guix build meson-build-system)
10632 #:modules 10980 ((guix build python-build-system) #:prefix python:)
10633 ((guix build meson-build-system) 10981 (guix build utils))
10634 ((guix build python-build-system) #:prefix python:)
10635 (guix build utils))
10636 #:glib-or-gtk? #t 10982 #:glib-or-gtk? #t
10637 #:tests? #f ; no test suite
10638 #:phases 10983 #:phases
10639 (modify-phases %standard-phases 10984 (modify-phases %standard-phases
10985 (add-after 'unpack 'disable-gtk-update-icon-cache
10986 (lambda _
10987 (setenv "DESTDIR" "/")))
10640 (add-after 'install 'wrap-program 10988 (add-after 'install 'wrap-program
10641 (lambda* (#:key outputs #:allow-other-keys) 10989 (lambda* (#:key outputs #:allow-other-keys)
10642 (let ((out (assoc-ref outputs "out")) 10990 (wrap-program (search-input-file outputs "bin/lollypop")
10643 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) 10991 `("GI_TYPELIB_PATH" ":" prefix
10644 (wrap-program (string-append out "/bin/lollypop") 10992 (,(getenv "GI_TYPELIB_PATH"))))))
10645 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
10646 #t))
10647 (add-after 'install 'wrap-python 10993 (add-after 'install 'wrap-python
10648 (assoc-ref python:%standard-phases 'wrap))))) 10994 (assoc-ref python:%standard-phases 'wrap)))))
10649 (native-inputs 10995 (native-inputs
10650 `(("gettext" ,gettext-minimal) 10996 (list gettext-minimal
10651 ("glib:bin" ,glib "bin") ; For glib-compile-resources 10997 `(,glib "bin") ; For glib-compile-resources
10652 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache 10998 pkg-config))
10653 ("pkg-config" ,pkg-config)))
10654 (inputs 10999 (inputs
10655 `(("glib-networking" ,glib-networking) 11000 (list bash-minimal
10656 ("gobject-introspection" ,gobject-introspection) 11001 glib-networking
10657 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) 11002 gobject-introspection
10658 ("gst-plugins-base" ,gst-plugins-base) 11003 gsettings-desktop-schemas
10659 ("libnotify" ,libnotify) 11004 gst-plugins-base
10660 ("libsecret" ,libsecret) 11005 libnotify
10661 ("libhandy" ,libhandy) 11006 libsecret
10662 ("libsoup" ,libsoup-minimal-2) 11007 libhandy
10663 ("python" ,python) 11008 libsoup-minimal-2
10664 ("python-beautifulsoup4" ,python-beautifulsoup4) 11009 python
10665 ("python-gst" ,python-gst) 11010 python-beautifulsoup4
10666 ("python-pil" ,python-pillow) 11011 python-gst
10667 ("python-pycairo" ,python-pycairo) 11012 python-pillow
10668 ("python-pygobject" ,python-pygobject) 11013 python-pycairo
10669 ("python-pylast" ,python-pylast) 11014 python-pygobject
10670 ("totem-pl-parser" ,totem-pl-parser) 11015 python-pylast
10671 ("webkitgtk" ,webkitgtk))) 11016 totem-pl-parser
11017 webkitgtk))
10672 (propagated-inputs 11018 (propagated-inputs
10673 (list ;; gst-plugins-base is required to start Lollypop, 11019 (list gst-plugins-good ;required to start lollypop
10674 ;; the others are required to play streaming. 11020 gst-plugins-ugly)) ;required for streaming
10675 gst-plugins-good gst-plugins-ugly))
10676 (home-page "https://wiki.gnome.org/Apps/Lollypop") 11021 (home-page "https://wiki.gnome.org/Apps/Lollypop")
10677 (synopsis "GNOME music playing application") 11022 (synopsis "GNOME music playing application")
10678 (description 11023 (description
@@ -10707,7 +11052,7 @@ photo-booth-like software, such as Cheese.")
10707(define-public cheese 11052(define-public cheese
10708 (package 11053 (package
10709 (name "cheese") 11054 (name "cheese")
10710 (version "41.0") 11055 (version "41.1")
10711 (source (origin 11056 (source (origin
10712 (method url-fetch) 11057 (method url-fetch)
10713 (uri (string-append "mirror://gnome/sources/" name "/" 11058 (uri (string-append "mirror://gnome/sources/" name "/"
@@ -10715,33 +11060,28 @@ photo-booth-like software, such as Cheese.")
10715 version ".tar.xz")) 11060 version ".tar.xz"))
10716 (sha256 11061 (sha256
10717 (base32 11062 (base32
10718 "1y92glc0d6w323x2bdbc0gdh1jdffvkbv6cwlwm1rx0wgvv1svqh")))) 11063 "0iz5cwndl65j13z5pmv0ansln2lyii0h82q775jgc3vk53560aaj"))))
10719 (arguments 11064 (arguments
10720 `(#:glib-or-gtk? #t 11065 `(#:glib-or-gtk? #t
10721 #:meson ,meson-0.60
10722 ;; Tests require GDK.
10723 #:tests? #f
10724 #:phases 11066 #:phases
10725 (modify-phases %standard-phases 11067 (modify-phases %standard-phases
10726 (add-after 'unpack 'skip-gtk-update-icon-cache 11068 (add-after 'unpack 'skip-gtk-update-icon-cache
10727 (lambda _ 11069 (lambda _
10728 ;; Don't create 'icon-theme.cache' 11070 ;; Don't create 'icon-theme.cache'
10729 (substitute* "meson_post_install.py" 11071 (substitute* "meson_post_install.py"
10730 (("gtk-update-icon-cache") (which "true"))) 11072 (("gtk-update-icon-cache") (which "true")))))
10731 #t))
10732 (add-after 'install 'wrap-cheese 11073 (add-after 'install 'wrap-cheese
10733 (lambda* (#:key inputs outputs #:allow-other-keys) 11074 (lambda* (#:key inputs outputs #:allow-other-keys)
10734 (let ((out (assoc-ref outputs "out")) 11075 (wrap-program (search-input-file outputs "bin/cheese")
10735 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))) 11076 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
10736 (wrap-program (string-append out "/bin/cheese") 11077 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))))))))
10737 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10738 #t)))))
10739 (build-system meson-build-system) 11078 (build-system meson-build-system)
10740 (native-inputs 11079 (native-inputs
10741 (list docbook-xsl 11080 (list docbook-xsl
10742 docbook-xml-4.3 11081 docbook-xml-4.3
10743 gettext-minimal 11082 gettext-minimal
10744 `(,glib "bin") 11083 `(,glib "bin")
11084 gobject-introspection
10745 gtk-doc/stable 11085 gtk-doc/stable
10746 itstool 11086 itstool
10747 libxml2 11087 libxml2
@@ -10749,7 +11089,8 @@ photo-booth-like software, such as Cheese.")
10749 pkg-config 11089 pkg-config
10750 vala)) 11090 vala))
10751 (propagated-inputs 11091 (propagated-inputs
10752 (list gnome-video-effects 11092 (list bash-minimal
11093 gnome-video-effects
10753 clutter 11094 clutter
10754 clutter-gst 11095 clutter-gst
10755 clutter-gtk 11096 clutter-gtk
@@ -10759,7 +11100,6 @@ photo-booth-like software, such as Cheese.")
10759 gstreamer)) 11100 gstreamer))
10760 (inputs 11101 (inputs
10761 (list gnome-desktop 11102 (list gnome-desktop
10762 gobject-introspection
10763 gst-plugins-base 11103 gst-plugins-base
10764 gst-plugins-good 11104 gst-plugins-good
10765 gst-plugins-bad 11105 gst-plugins-bad
@@ -10773,10 +11113,10 @@ photo-booth-like software, such as Cheese.")
10773apply fancy special effects and lets you share the fun with others.") 11113apply fancy special effects and lets you share the fun with others.")
10774 (license license:gpl2+))) 11114 (license license:gpl2+)))
10775 11115
10776(define-public passwordsafe 11116(define-public secrets
10777 (package 11117 (package
10778 (name "passwordsafe") 11118 (name "secrets")
10779 (version "5.1") 11119 (version "6.5")
10780 (source 11120 (source
10781 (origin 11121 (origin
10782 (method git-fetch) 11122 (method git-fetch)
@@ -10785,53 +11125,63 @@ apply fancy special effects and lets you share the fun with others.")
10785 (commit version))) 11125 (commit version)))
10786 (file-name (git-file-name name version)) 11126 (file-name (git-file-name name version))
10787 (sha256 11127 (sha256
10788 (base32 "0kd43j6i017wdsqj6d5gnxhfv4ijnh3xahlw7md2gh51i8p682j6")))) 11128 (base32 "11jd9f0d3fyrs29p8cyzb6i2ib6mzhwwvjnznl55gkggrgnrcb8z"))))
10789 (build-system meson-build-system) 11129 (build-system meson-build-system)
10790 (arguments 11130 (arguments
10791 (list #:glib-or-gtk? #t 11131 (list
10792 #:meson meson-0.59 11132 #:glib-or-gtk? #t
10793 #:phases 11133 #:imported-modules `(,@%meson-build-system-modules
10794 #~(modify-phases %standard-phases 11134 (guix build python-build-system))
10795 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap 11135 #:modules '((guix build meson-build-system)
10796 (lambda* (#:key outputs #:allow-other-keys) 11136 ((guix build python-build-system) #:prefix python:)
10797 (let ((prog (string-append #$output 11137 (guix build utils))
10798 "/bin/gnome-passwordsafe")) 11138 #:phases
10799 (pylib (string-append 11139 #~(modify-phases %standard-phases
10800 #$output "/lib/python" 11140 (add-after 'unpack 'disable-postinstall-script
10801 #$(version-major+minor 11141 (lambda _
10802 (package-version (this-package-input "python"))) 11142 (substitute* "meson.build"
10803 "/site-packages"))) 11143 (("gtk_update_icon_cache: true")
10804 (wrap-program prog 11144 "gtk_update_icon_cache: false"))
10805 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib)) 11145 (setenv "DESTDIR" "/")))
10806 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))))) 11146 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
11147 (lambda* (#:key inputs outputs #:allow-other-keys)
11148 (wrap-program (search-input-file outputs "bin/secrets")
11149 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")
11150 ,(python:site-packages inputs outputs)))
11151 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))))
10807 (native-inputs 11152 (native-inputs
10808 (list desktop-file-utils 11153 (list desktop-file-utils
10809 gettext-minimal 11154 gettext-minimal
10810 `(,glib "bin") 11155 `(,glib "bin")
10811 gobject-introspection 11156 gobject-introspection
10812 `(,gtk+ "bin")
10813 pkg-config)) 11157 pkg-config))
10814 (inputs 11158 (inputs
10815 (list glib 11159 (list bash-minimal
11160 glib
10816 gsettings-desktop-schemas 11161 gsettings-desktop-schemas
10817 gtk+ 11162 gtk
11163 libadwaita
10818 libhandy 11164 libhandy
10819 libpwquality 11165 libpwquality
10820 python 11166 python
10821 python-pygobject 11167 python-pygobject
10822 python-pykeepass)) 11168 python-pykeepass
10823 (home-page "https://gitlab.gnome.org/World/PasswordSafe") 11169 python-pyotp))
11170 (home-page "https://gitlab.gnome.org/World/secrets")
10824 (synopsis "Password manager for the GNOME desktop") 11171 (synopsis "Password manager for the GNOME desktop")
10825 (description 11172 (description
10826 "Password Safe is a password manager which makes use of the KeePass v4 11173 "Secrets is a password manager which makes use of the KeePass v4
10827format. It integrates perfectly with the GNOME desktop and provides an easy 11174format. It integrates perfectly with the GNOME desktop and provides an easy
10828and uncluttered interface for the management of password databases.") 11175and uncluttered interface for the management of password databases.")
10829 (license license:gpl3+))) 11176 (license license:gpl3+)))
10830 11177
11178(define-public passwordsafe
11179 (deprecated-package "passwordsafe" secrets))
11180
10831(define-public sound-juicer 11181(define-public sound-juicer
10832 (package 11182 (package
10833 (name "sound-juicer") 11183 (name "sound-juicer")
10834 (version "3.24.0") 11184 (version "3.38.0")
10835 (source 11185 (source
10836 (origin 11186 (origin
10837 (method url-fetch) 11187 (method url-fetch)
@@ -10840,18 +11190,31 @@ and uncluttered interface for the management of password databases.")
10840 name "-" version ".tar.xz")) 11190 name "-" version ".tar.xz"))
10841 (sha256 11191 (sha256
10842 (base32 11192 (base32
10843 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny")))) 11193 "08d5d81rz9sj3m5paw8fwbgxmhlbr7bcjdzpmzj832qvg8smydxf"))))
10844 (build-system glib-or-gtk-build-system) 11194 (build-system meson-build-system)
11195 (arguments
11196 (list
11197 #:glib-or-gtk? #t
11198 #:phases #~(modify-phases %standard-phases
11199 (add-after 'unpack 'disable-gtk-update-icon-cache
11200 (lambda _
11201 (setenv "DESTDIR" "/"))))))
10845 (native-inputs 11202 (native-inputs
10846 (list desktop-file-utils intltool itstool pkg-config libxml2)) 11203 (list desktop-file-utils
11204 gettext-minimal
11205 `(,glib "bin")
11206 itstool
11207 libxml2
11208 pkg-config
11209 python))
10847 (inputs 11210 (inputs
10848 (list gtk+ 11211 (list brasero
10849 gsettings-desktop-schemas 11212 gsettings-desktop-schemas
10850 gstreamer
10851 gst-plugins-base 11213 gst-plugins-base
10852 gst-plugins-good 11214 gst-plugins-good
11215 gstreamer
11216 gtk+
10853 iso-codes 11217 iso-codes
10854 brasero
10855 libcanberra 11218 libcanberra
10856 libdiscid 11219 libdiscid
10857 libmusicbrainz 11220 libmusicbrainz
@@ -10967,15 +11330,15 @@ micro-pauses and rest breaks, and restricts you to your daily limit.")
10967(define-public ghex 11330(define-public ghex
10968 (package 11331 (package
10969 (name "ghex") 11332 (name "ghex")
10970 (version "3.18.4") 11333 (version "42.3")
10971 (source (origin 11334 (source (origin
10972 (method url-fetch) 11335 (method url-fetch)
10973 (uri (string-append "mirror://gnome/sources/ghex/" 11336 (uri (string-append "mirror://gnome/sources/ghex/"
10974 (version-major+minor version) "/" 11337 (version-major version) "/"
10975 "ghex-" version ".tar.xz")) 11338 "ghex-" version ".tar.xz"))
10976 (sha256 11339 (sha256
10977 (base32 11340 (base32
10978 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2")))) 11341 "1vsd6l78pymdrsgdgj7xhxyrf09j4w08zrbvs8qdn8a9na50zm5d"))))
10979 (build-system meson-build-system) 11342 (build-system meson-build-system)
10980 (arguments 11343 (arguments
10981 '(#:glib-or-gtk? #t 11344 '(#:glib-or-gtk? #t
@@ -10984,20 +11347,19 @@ micro-pauses and rest breaks, and restricts you to your daily limit.")
10984 (add-after 'unpack 'skip-gtk-update-icon-cache 11347 (add-after 'unpack 'skip-gtk-update-icon-cache
10985 ;; Don't create 'icon-theme.cache'. 11348 ;; Don't create 'icon-theme.cache'.
10986 (lambda _ 11349 (lambda _
10987 (substitute* "meson_post_install.py" 11350 (substitute* "meson.build"
10988 (("gtk-update-icon-cache") (which "true"))) 11351 (("gtk_update_icon_cache: true")
10989 #t))))) 11352 "gtk_update_icon_cache: false")))))))
10990 (native-inputs 11353 (native-inputs
10991 `(("pkg-config" ,pkg-config) 11354 (list desktop-file-utils ;for 'desktop-file-validate'
10992 ("glib:bin" ,glib "bin") ; for glib-compile-schemas 11355 gettext-minimal
10993 ("gnome-common" ,gnome-common) 11356 `(,glib "bin") ;for glib-compile-schemas
10994 ("which" ,which) 11357 gnome-common
10995 ("intltool" ,intltool) 11358 pkg-config
10996 ("yelp-tools" ,yelp-tools) 11359 yelp-tools))
10997 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
10998 (inputs 11360 (inputs
10999 `(("atk" ,atk) 11361 (list atk
11000 ("gtk" ,gtk+))) 11362 gtk))
11001 (synopsis "GNOME hexadecimal editor") 11363 (synopsis "GNOME hexadecimal editor")
11002 (description "The GHex program can view and edit files in two ways: 11364 (description "The GHex program can view and edit files in two ways:
11003hexadecimal or ASCII. It is useful for editing binary files in general.") 11365hexadecimal or ASCII. It is useful for editing binary files in general.")
@@ -11007,7 +11369,7 @@ hexadecimal or ASCII. It is useful for editing binary files in general.")
11007(define-public libdazzle 11369(define-public libdazzle
11008 (package 11370 (package
11009 (name "libdazzle") 11371 (name "libdazzle")
11010 (version "3.37.1") 11372 (version "3.44.0")
11011 (source (origin 11373 (source (origin
11012 (method url-fetch) 11374 (method url-fetch)
11013 (uri (string-append "mirror://gnome/sources/libdazzle/" 11375 (uri (string-append "mirror://gnome/sources/libdazzle/"
@@ -11015,7 +11377,7 @@ hexadecimal or ASCII. It is useful for editing binary files in general.")
11015 "libdazzle-" version ".tar.xz")) 11377 "libdazzle-" version ".tar.xz"))
11016 (sha256 11378 (sha256
11017 (base32 11379 (base32
11018 "03r5cr11dc031qa3694bpgm3lajrhiiln67kvl7vjj4q0scf7w7x")))) 11380 "1blfs61ifv4fywl0wbr1cm3rvmgrv06yiqajbnq0qs72nrgf9lrw"))))
11019 (build-system meson-build-system) 11381 (build-system meson-build-system)
11020 (arguments 11382 (arguments
11021 `(#:phases 11383 `(#:phases
@@ -11024,15 +11386,17 @@ hexadecimal or ASCII. It is useful for editing binary files in general.")
11024 (lambda _ 11386 (lambda _
11025 ;; Tests require a running X server. 11387 ;; Tests require a running X server.
11026 (system "Xvfb :1 &") 11388 (system "Xvfb :1 &")
11027 (setenv "DISPLAY" ":1") 11389 (setenv "DISPLAY" ":1"))))))
11028 #t)))))
11029 (native-inputs 11390 (native-inputs
11030 (list `(,glib "bin") ; glib-compile-resources 11391 (list `(,glib "bin") ; glib-compile-resources
11392 gobject-introspection
11031 pkg-config 11393 pkg-config
11032 ;; For tests. 11394 ;; For tests.
11033 xorg-server-for-tests)) 11395 xorg-server-for-tests
11396 vala))
11034 (inputs 11397 (inputs
11035 (list glib gobject-introspection gtk+ vala)) 11398 (list glib
11399 gtk+))
11036 (home-page "https://gitlab.gnome.org/GNOME/libdazzle") 11400 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
11037 (synopsis "Companion library to GObject and Gtk+") 11401 (synopsis "Companion library to GObject and Gtk+")
11038 (description "The libdazzle library is a companion library to GObject and 11402 (description "The libdazzle library is a companion library to GObject and
@@ -11045,7 +11409,7 @@ generic enough to work for everyone.")
11045(define-public evolution 11409(define-public evolution
11046 (package 11410 (package
11047 (name "evolution") 11411 (name "evolution")
11048 (version "3.42.1") 11412 (version "3.45.3")
11049 (source (origin 11413 (source (origin
11050 (method url-fetch) 11414 (method url-fetch)
11051 (uri (string-append "mirror://gnome/sources/evolution/" 11415 (uri (string-append "mirror://gnome/sources/evolution/"
@@ -11053,53 +11417,58 @@ generic enough to work for everyone.")
11053 "evolution-" version ".tar.xz")) 11417 "evolution-" version ".tar.xz"))
11054 (sha256 11418 (sha256
11055 (base32 11419 (base32
11056 "0igfzapdvgfx2gnpwfkjfkn7l5j186wk88ni39vqas1sl7ijlls6")))) 11420 "1q4fa5l7k0rax39iwn2spmzxcr2l73mj3644lf8j9mnp5w774c96"))))
11057 (build-system cmake-build-system) 11421 (build-system cmake-build-system)
11058 (arguments 11422 (arguments
11059 `(#:imported-modules (,@%cmake-build-system-modules 11423 (list
11424 #:imported-modules `(,@%cmake-build-system-modules
11060 (guix build glib-or-gtk-build-system)) 11425 (guix build glib-or-gtk-build-system))
11061 #:modules ((guix build cmake-build-system) 11426 #:modules '((guix build cmake-build-system)
11062 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:) 11427 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
11063 (guix build utils)) 11428 (guix build utils))
11064 #:configure-flags 11429 #:configure-flags
11065 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged 11430 #~(list "-DENABLE_PST_IMPORT=OFF") ;libpst is not packaged
11066 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release 11431 #:phases
11067 ; in four years and cannot be built. 11432 #~(modify-phases %standard-phases
11068 #:phases 11433 ;; The build system attempts to install user interface modules to
11069 (modify-phases %standard-phases 11434 ;; the output directory of the "evolution-data-server" package;
11070 ;; The build system attempts to install user interface modules to the 11435 ;; patch it to install to the same location under #$output prefix.
11071 ;; output directory of the "evolution-data-server" package. This 11436 (add-after 'unpack 'patch-ui-module-dir
11072 ;; change redirects that change. 11437 (lambda* (#:key outputs #:allow-other-keys)
11073 (add-after 'unpack 'patch-ui-module-dir 11438 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
11074 (lambda* (#:key outputs #:allow-other-keys) 11439 (("\\$\\{edsuimoduledir\\}")
11075 (substitute* "src/modules/alarm-notify/CMakeLists.txt" 11440 (string-append
11076 (("\\$\\{edsuimoduledir\\}") 11441 #$output "/lib/evolution-data-server/ui-modules")))
11077 (string-append (assoc-ref outputs "out") 11442 (substitute* "src/modules/rss/camel/CMakeLists.txt"
11078 "/lib/evolution-data-server/ui-modules"))))) 11443 (("\\$\\{camel_providerdir}")
11079 (add-after 'install 'glib-or-gtk-compile-schemas 11444 (string-append
11080 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas)) 11445 #$output "/lib/evolution-data-server/camel-providers")))))
11081 (add-after 'install 'glib-or-gtk-wrap 11446 (add-after 'install 'glib-or-gtk-compile-schemas
11082 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap))))) 11447 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
11083 (native-inputs 11448 (add-after 'install 'glib-or-gtk-wrap
11084 (list `(,glib "bin") ; glib-mkenums 11449 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
11085 pkg-config intltool itstool)) 11450 (native-inputs
11451 (list `(,glib "bin") ;glib-mkenums
11452 intltool
11453 itstool
11454 pkg-config))
11086 (inputs 11455 (inputs
11087 `(("enchant" ,enchant) 11456 (list cmark
11088 ("evolution-data-server" ,evolution-data-server) ; must be the same version 11457 enchant
11089 ("gcr" ,gcr) 11458 evolution-data-server ;must be the same version
11090 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) 11459 gcr
11091 ("gnome-autoar" ,gnome-autoar) 11460 gsettings-desktop-schemas
11092 ("gnome-desktop" ,gnome-desktop) 11461 gnome-autoar
11093 ("gspell" ,gspell) 11462 gnome-desktop
11094 ("highlight" ,highlight) 11463 gspell
11095 ("libcanberra" ,libcanberra) 11464 highlight
11096 ("libgweather" ,libgweather) 11465 libcanberra
11097 ("libnotify" ,libnotify) 11466 libgweather4
11098 ("libsoup" ,libsoup) 11467 libsoup
11099 ("nss" ,nss) 11468 nss
11100 ("openldap" ,openldap) 11469 openldap
11101 ("webkitgtk" ,webkitgtk-with-libsoup2) ; because of evolution-data-server 11470 webkitgtk
11102 ("ytnef" ,ytnef))) 11471 ytnef))
11103 (home-page "https://gitlab.gnome.org/GNOME/evolution") 11472 (home-page "https://gitlab.gnome.org/GNOME/evolution")
11104 (synopsis "Manage your email, contacts and schedule") 11473 (synopsis "Manage your email, contacts and schedule")
11105 (description "Evolution is a personal information management application 11474 (description "Evolution is a personal information management application
@@ -11238,7 +11607,7 @@ tabs, and it supports drag and drop re-ordering of terminals.")
11238(define-public libhandy 11607(define-public libhandy
11239 (package 11608 (package
11240 (name "libhandy") 11609 (name "libhandy")
11241 (version "1.5.0") 11610 (version "1.7.90")
11242 (source 11611 (source
11243 (origin 11612 (origin
11244 (method git-fetch) 11613 (method git-fetch)
@@ -11247,7 +11616,7 @@ tabs, and it supports drag and drop re-ordering of terminals.")
11247 (commit version))) 11616 (commit version)))
11248 (file-name (git-file-name name version)) 11617 (file-name (git-file-name name version))
11249 (sha256 11618 (sha256
11250 (base32 "19gl0xxybraw2iyn6cdi9w7nps825lb2bhav7d2x51wla0lq3kdc")))) 11619 (base32 "1z8sbx7g19c1p8dy0sn0l25qfvrd2j28h269lsqm1y98r818h2k1"))))
11251 (build-system meson-build-system) 11620 (build-system meson-build-system)
11252 (arguments 11621 (arguments
11253 `(#:configure-flags 11622 `(#:configure-flags
@@ -11271,25 +11640,24 @@ tabs, and it supports drag and drop re-ordering of terminals.")
11271 (lambda _ 11640 (lambda _
11272 ;; Tests require a running X server. 11641 ;; Tests require a running X server.
11273 (system "Xvfb :1 &") 11642 (system "Xvfb :1 &")
11274 (setenv "DISPLAY" ":1") 11643 (setenv "DISPLAY" ":1"))))))
11275 #t)))))
11276 (inputs 11644 (inputs
11277 (list gtk+ glade3)) 11645 (list gtk+ glade3))
11278 (native-inputs 11646 (native-inputs
11279 `(("glib:bin" ,glib "bin") 11647 (list gobject-introspection ; for g-ir-scanner
11280 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner 11648 `(,glib "bin")
11281 ("vala" ,vala) 11649 vala
11282 ("libxml2" ,libxml2) 11650 libxml2
11283 ("libxslt" ,libxslt) 11651 libxslt
11284 ("docbook-xsl" ,docbook-xsl) 11652 docbook-xsl
11285 ("docbook-xml" ,docbook-xml-4.3) 11653 docbook-xml-4.3
11286 ("gtk-doc" ,gtk-doc/stable) 11654 gtk-doc/stable
11287 ("pkg-config" ,pkg-config) 11655 pkg-config
11288 ("gettext" ,gettext-minimal) 11656 gettext-minimal
11289 11657
11290 ;; Test suite dependencies. 11658 ;; Test suite dependencies.
11291 ("xorg-server" ,xorg-server-for-tests) 11659 hicolor-icon-theme
11292 ("hicolor-icon-theme" ,hicolor-icon-theme))) 11660 xorg-server-for-tests))
11293 (home-page "https://gitlab.gnome.org/GNOME/libhandy/") 11661 (home-page "https://gitlab.gnome.org/GNOME/libhandy/")
11294 (synopsis "Library full of GTK+ widgets for mobile phones") 11662 (synopsis "Library full of GTK+ widgets for mobile phones")
11295 (description "The aim of the handy library is to help with developing user 11663 (description "The aim of the handy library is to help with developing user
@@ -11318,7 +11686,7 @@ for usage on small and big screens.")
11318(define-public libgit2-glib 11686(define-public libgit2-glib
11319 (package 11687 (package
11320 (name "libgit2-glib") 11688 (name "libgit2-glib")
11321 (version "1.0.0.1") 11689 (version "1.1.0")
11322 (source (origin 11690 (source (origin
11323 (method url-fetch) 11691 (method url-fetch)
11324 (uri (string-append "mirror://gnome/sources/" name "/" 11692 (uri (string-append "mirror://gnome/sources/" name "/"
@@ -11326,7 +11694,7 @@ for usage on small and big screens.")
11326 name "-" version ".tar.xz")) 11694 name "-" version ".tar.xz"))
11327 (sha256 11695 (sha256
11328 (base32 11696 (base32
11329 "0mrb21cgqmbhbxqxwx76yry1ifqj1k4vy6455n6s034m6rlms2j6")))) 11697 "1wqypx0xv20vk0zfh20c474z6rdgbxbklcr2wkhl30dgbmbxg3f3"))))
11330 (build-system meson-build-system) 11698 (build-system meson-build-system)
11331 (native-inputs 11699 (native-inputs
11332 (list `(,glib "bin") ;; For glib-mkenums 11700 (list `(,glib "bin") ;; For glib-mkenums
@@ -11336,10 +11704,9 @@ for usage on small and big screens.")
11336 python-wrapper 11704 python-wrapper
11337 vala)) 11705 vala))
11338 (inputs 11706 (inputs
11339 (list glib libssh2)) 11707 (list libssh2))
11340 (propagated-inputs 11708 (propagated-inputs
11341 (list ;; In Requires of libgit2-glib.pc. 11709 (list glib libgit2)) ;; In Requires of libgit2-glib.pc.
11342 libgit2))
11343 (synopsis "GLib wrapper around the libgit2 Git access library") 11710 (synopsis "GLib wrapper around the libgit2 Git access library")
11344 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git 11711 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
11345access library. It only implements the core plumbing functions, not really the 11712access library. It only implements the core plumbing functions, not really the
@@ -11560,7 +11927,7 @@ index files needed for Adwaita to be used outside of GNOME.")
11560(define-public gnote 11927(define-public gnote
11561 (package 11928 (package
11562 (name "gnote") 11929 (name "gnote")
11563 (version "41.2") 11930 (version "42.1")
11564 (source 11931 (source
11565 (origin 11932 (origin
11566 (method url-fetch) 11933 (method url-fetch)
@@ -11568,7 +11935,7 @@ index files needed for Adwaita to be used outside of GNOME.")
11568 (version-major version) "/" 11935 (version-major version) "/"
11569 "gnote-" version ".tar.xz")) 11936 "gnote-" version ".tar.xz"))
11570 (sha256 11937 (sha256
11571 (base32 "0gs2j988rwfrxckb8qxlkyxnvqsv30q32myqish6hssfa51yzc11")))) 11938 (base32 "0fam3v9na4ndqdc63866bvhcxrzj478jsx34vsh0777d4ixw883c"))))
11572 (build-system meson-build-system) 11939 (build-system meson-build-system)
11573 (arguments 11940 (arguments
11574 `(#:glib-or-gtk? #t 11941 `(#:glib-or-gtk? #t
@@ -11580,9 +11947,9 @@ index files needed for Adwaita to be used outside of GNOME.")
11580 (("gtk-update-icon-cache") "true"))))))) 11947 (("gtk-update-icon-cache") "true")))))))
11581 (native-inputs 11948 (native-inputs
11582 (list desktop-file-utils 11949 (list desktop-file-utils
11950 gettext-minimal
11583 `(,glib "bin") 11951 `(,glib "bin")
11584 gobject-introspection 11952 gobject-introspection
11585 intltool
11586 itstool 11953 itstool
11587 pkg-config 11954 pkg-config
11588 python)) 11955 python))
@@ -11605,7 +11972,7 @@ desktop environment.")
11605(define-public polari 11972(define-public polari
11606 (package 11973 (package
11607 (name "polari") 11974 (name "polari")
11608 (version "41.0") 11975 (version "42.1")
11609 (source (origin 11976 (source (origin
11610 (method url-fetch) 11977 (method url-fetch)
11611 (uri (string-append "mirror://gnome/sources/polari/" 11978 (uri (string-append "mirror://gnome/sources/polari/"
@@ -11613,7 +11980,7 @@ desktop environment.")
11613 "/polari-" version ".tar.xz")) 11980 "/polari-" version ".tar.xz"))
11614 (sha256 11981 (sha256
11615 (base32 11982 (base32
11616 "1ss0x8idwar1q9p9535kzqb8idy7k2r48vrbjiyccw03cs0mzc53")))) 11983 "0gbbjs522a8vdps79m1h3krkizbld61h8r1hn9z41gpc904cz45g"))))
11617 (build-system meson-build-system) 11984 (build-system meson-build-system)
11618 (arguments 11985 (arguments
11619 `(#:glib-or-gtk? #t 11986 `(#:glib-or-gtk? #t
@@ -11621,39 +11988,43 @@ desktop environment.")
11621 (modify-phases %standard-phases 11988 (modify-phases %standard-phases
11622 (add-after 'unpack 'skip-gtk-update-icon-cache 11989 (add-after 'unpack 'skip-gtk-update-icon-cache
11623 (lambda _ 11990 (lambda _
11624 (substitute* "meson/meson-postinstall.sh" 11991 (substitute* "meson.build"
11625 (("gtk-update-icon-cache") (which "true"))))) 11992 (("gtk_update_icon_cache: true")
11993 "gtk_update_icon_cache: false"))))
11626 (add-after 'install 'fix-desktop-file 11994 (add-after 'install 'fix-desktop-file
11627 ;; Hardcode launcher to be on the safe side 11995 ;; Hard-code launcher to be on the safe side.
11628 (lambda* (#:key outputs #:allow-other-keys) 11996 (lambda* (#:key outputs #:allow-other-keys)
11629 (let ((out (assoc-ref outputs "out"))) 11997 (substitute* (search-input-file
11630 (substitute* (string-append out "/share/applications/" 11998 outputs
11631 "org.gnome.Polari.desktop") 11999 "share/applications/org.gnome.Polari.desktop")
11632 (("Exec=.*") (string-append "Exec=" out "/bin/polari\n")))))) 12000 (("Exec=.*")
12001 (string-append "Exec=" (search-input-file outputs "bin/polari")
12002 "\n")))))
11633 (add-after 'glib-or-gtk-wrap 'wrap-typelib 12003 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11634 (lambda* (#:key outputs #:allow-other-keys) 12004 (lambda* (#:key outputs #:allow-other-keys)
11635 (let ((prog (string-append (assoc-ref outputs "out") 12005 (wrap-program (search-input-file outputs "bin/polari")
11636 "/bin/polari"))) 12006 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))))
11637 (wrap-program prog 12007 (native-inputs
11638 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))))) 12008 (list desktop-file-utils
12009 gettext-minimal
12010 `(,glib "bin")
12011 gobject-introspection
12012 pkg-config
12013 yelp-tools))
11639 (inputs 12014 (inputs
11640 (list glib 12015 (list bash-minimal
12016 glib
11641 gsettings-desktop-schemas 12017 gsettings-desktop-schemas
11642 gspell 12018 gspell
11643 gtk 12019 gtk
11644 gjs 12020 gjs
11645 libsecret 12021 libsecret
11646 libsoup-minimal-2 12022 libsoup
11647 telepathy-glib 12023 telepathy-glib
11648 telepathy-logger)) 12024 telepathy-logger))
11649 (native-inputs
11650 (list `(,glib "bin")
11651 gobject-introspection
11652 intltool
11653 pkg-config
11654 yelp-tools))
11655 (propagated-inputs 12025 (propagated-inputs
11656 (list telepathy-idle telepathy-mission-control)) 12026 (list telepathy-idle
12027 telepathy-mission-control))
11657 (synopsis "Simple IRC Client") 12028 (synopsis "Simple IRC Client")
11658 (description 12029 (description
11659 "Polari is a simple Internet Relay Chat (IRC) client that is designed to 12030 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
@@ -11664,7 +12035,7 @@ integrate seamlessly with the GNOME desktop.")
11664(define-public gnome-boxes 12035(define-public gnome-boxes
11665 (package 12036 (package
11666 (name "gnome-boxes") 12037 (name "gnome-boxes")
11667 (version "41.1") 12038 (version "42.3")
11668 (source 12039 (source
11669 (origin 12040 (origin
11670 (method url-fetch) 12041 (method url-fetch)
@@ -11672,34 +12043,35 @@ integrate seamlessly with the GNOME desktop.")
11672 (version-major version) "/" 12043 (version-major version) "/"
11673 "gnome-boxes-" version ".tar.xz")) 12044 "gnome-boxes-" version ".tar.xz"))
11674 (sha256 12045 (sha256
11675 (base32 "1wzhm8n485cqhbai4qshgrwl05ix881g8gjshilrj6vg8p1li79h")) 12046 (base32 "1lv0bdh935qj6wkv3ixg2pcv8yrapj79z02gw4fal3rhz3xggvsn"))))
11676 (patches
11677 (search-patches "gnome-boxes-add-guix-logo.patch"))))
11678 (build-system meson-build-system) 12047 (build-system meson-build-system)
11679 (arguments 12048 (arguments
11680 `(#:glib-or-gtk? #t 12049 (list #:glib-or-gtk? #t
11681 #:meson ,meson-0.60 12050 #:configure-flags #~(list "-Drdp=false"
11682 #:configure-flags (list "-Drdp=false" 12051 (string-append "-Dc_link_args=-Wl,-rpath="
11683 (string-append "-Dc_link_args=-Wl,-rpath=" 12052 #$output
11684 (assoc-ref %outputs "out") 12053 "/lib/gnome-boxes"))
11685 "/lib/gnome-boxes")))) 12054 #:phases #~(modify-phases %standard-phases
11686 (native-inputs 12055 (add-after 'unpack 'disable-gtk-update-icon-cache
11687 (list `(,glib "bin") ;for glib-compile-resources 12056 (lambda _
11688 `(,gtk+ "bin") ;for gtk-update-icon-cache 12057 (setenv "DESTDIR" "/"))))))
11689 desktop-file-utils ;for update-desktop-database 12058 (native-inputs
12059 (list desktop-file-utils ;for update-desktop-database
12060 gettext-minimal
12061 `(,glib "bin") ;for glib-compile-resources
11690 itstool 12062 itstool
11691 intltool
11692 vala
11693 pkg-config 12063 pkg-config
11694 python)) 12064 python
12065 vala))
11695 (inputs 12066 (inputs
11696 (list libarchive 12067 (list glib-networking ;for TLS support
11697 glib-networking ;for TLS support
11698 gsettings-desktop-schemas 12068 gsettings-desktop-schemas
11699 gtk+ 12069 gtk+
11700 gtk-vnc 12070 gtk-vnc
11701 gtksourceview-4 12071 gtksourceview-4
11702 json-glib 12072 json-glib
12073 libarchive
12074 libgudev
11703 libhandy 12075 libhandy
11704 libosinfo 12076 libosinfo
11705 libsecret 12077 libsecret
@@ -11708,12 +12080,11 @@ integrate seamlessly with the GNOME desktop.")
11708 libvirt 12080 libvirt
11709 libvirt-glib 12081 libvirt-glib
11710 libxml2 12082 libxml2
11711 spice-gtk
11712 sparql-query 12083 sparql-query
11713 vte 12084 spice-gtk
11714 webkitgtk-with-libsoup2 ;for webkit2gtk-4.0
11715 tracker 12085 tracker
11716 libgudev)) 12086 vte
12087 webkitgtk-with-libsoup2)) ;for webkit2gtk-4.0
11717 (home-page "https://wiki.gnome.org/Apps/Boxes") 12088 (home-page "https://wiki.gnome.org/Apps/Boxes")
11718 (synopsis "View, access, and manage remote and virtual systems") 12089 (synopsis "View, access, and manage remote and virtual systems")
11719 (description "GNOME Boxes is a simple application to view, access, and 12090 (description "GNOME Boxes is a simple application to view, access, and
@@ -11780,7 +12151,7 @@ these services on the Guix System.")
11780 gcr 12151 gcr
11781 glib 12152 glib
11782 gmime 12153 gmime
11783 `(,gnome-online-accounts "lib") 12154 gnome-online-accounts
11784 gsettings-desktop-schemas 12155 gsettings-desktop-schemas
11785 gspell 12156 gspell
11786 gsound 12157 gsound
@@ -11869,7 +12240,7 @@ card sheets that you’ll find at most office supply stores.")
11869(define-public gnome-latex 12240(define-public gnome-latex
11870 (package 12241 (package
11871 (name "gnome-latex") 12242 (name "gnome-latex")
11872 (version "3.38.0") 12243 (version "3.41.2")
11873 (source 12244 (source
11874 (origin 12245 (origin
11875 (method url-fetch) 12246 (method url-fetch)
@@ -11877,27 +12248,22 @@ card sheets that you’ll find at most office supply stores.")
11877 (version-major+minor version) "/" 12248 (version-major+minor version) "/"
11878 "gnome-latex-" version ".tar.xz")) 12249 "gnome-latex-" version ".tar.xz"))
11879 (sha256 12250 (sha256
11880 (base32 "0xqd49pgi82dygqnxj08i1v22b0vwwhx3zvdinhrx4jny339yam8")))) 12251 (base32 "0cynhmrn99f4f3kddczsc58ak4b9sv2zkfbcyz7z16848nhz047k"))))
11881 (build-system glib-or-gtk-build-system) 12252 (build-system glib-or-gtk-build-system)
11882 (native-inputs 12253 (native-inputs
11883 (list gettext-minimal 12254 (list gettext-minimal
11884 `(,glib "bin") 12255 `(,glib "bin")
11885 gobject-introspection 12256 gobject-introspection
11886 gtk-doc/stable 12257 gtk-doc/stable
11887 intltool
11888 itstool 12258 itstool
11889 pkg-config 12259 pkg-config
11890 vala)) 12260 vala))
11891 (inputs 12261 (inputs
11892 (list amtk 12262 (list dconf
11893 dconf
11894 glib 12263 glib
11895 gsettings-desktop-schemas
11896 gspell 12264 gspell
11897 gtk+
11898 gtksourceview-4
11899 libgee 12265 libgee
11900 tepl-5 12266 tepl
11901 uchardet)) 12267 uchardet))
11902 (home-page "https://wiki.gnome.org/Apps/GNOME-LaTeX") 12268 (home-page "https://wiki.gnome.org/Apps/GNOME-LaTeX")
11903 (synopsis "LaTeX editor for the GNOME desktop") 12269 (synopsis "LaTeX editor for the GNOME desktop")
@@ -11911,7 +12277,7 @@ and toolbars.")
11911(define-public setzer 12277(define-public setzer
11912 (package 12278 (package
11913 (name "setzer") 12279 (name "setzer")
11914 (version "0.4.1") 12280 (version "0.4.8")
11915 (source 12281 (source
11916 (origin 12282 (origin
11917 (method git-fetch) 12283 (method git-fetch)
@@ -11920,45 +12286,42 @@ and toolbars.")
11920 (commit (string-append "v" version)))) 12286 (commit (string-append "v" version))))
11921 (file-name (git-file-name name version)) 12287 (file-name (git-file-name name version))
11922 (sha256 12288 (sha256
11923 (base32 "1rcx2c07jg1ij81pnvg3px49hfbjmkagn68d3gp79z3gcajbp2av")))) 12289 (base32 "12w58v7qsd3xfmrxhij8dby9xnvd82hxqb4wc6di7lqz1ayg5lzc"))))
11924 (build-system meson-build-system) 12290 (build-system meson-build-system)
11925 (arguments 12291 (arguments
11926 `(#:glib-or-gtk? #t 12292 (list
11927 #:phases 12293 #:glib-or-gtk? #t
11928 (modify-phases %standard-phases 12294 #:imported-modules `(,@%meson-build-system-modules
11929 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap 12295 (guix build python-build-system))
11930 (lambda* (#:key outputs #:allow-other-keys) 12296 #:modules '((guix build meson-build-system)
11931 (let ((prog (string-append (assoc-ref outputs "out") 12297 ((guix build python-build-system) #:prefix python:)
11932 "/bin/setzer")) 12298 (guix build utils))
11933 (pylib (string-append (assoc-ref outputs "out") 12299 #:phases
11934 "/lib/python" 12300 #~(modify-phases %standard-phases
11935 ,(version-major+minor 12301 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
11936 (package-version python)) 12302 (lambda* (#:key inputs outputs #:allow-other-keys)
11937 "/site-packages"))) 12303 (wrap-program (search-input-file outputs "bin/setzer")
11938 (wrap-program prog 12304 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")
11939 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib)) 12305 ,(python:site-packages inputs outputs)))
11940 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))) 12306 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))))
11941 #t))))))
11942 (native-inputs 12307 (native-inputs
11943 `(("desktop-file-utils" ,desktop-file-utils) 12308 (list gettext-minimal
11944 ("gettext" ,gettext-minimal) 12309 python))
11945 ("glib:bin" ,glib "bin")
11946 ("gobject-introspection" ,gobject-introspection)
11947 ("gtk+:bin" ,gtk+ "bin")
11948 ("python-wrapper" ,python-wrapper)))
11949 (inputs 12310 (inputs
11950 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas) 12311 (list bash-minimal
11951 ("gspell" ,gspell) 12312 gsettings-desktop-schemas
11952 ("gtk+" ,gtk+) 12313 gspell
11953 ("gtksourceview" ,gtksourceview-4) 12314 gtk+
11954 ("pango" ,pango) 12315 gtksourceview-4
11955 ("poppler" ,poppler) 12316 pango
11956 ("python-pdfminer" ,python-pdfminer-six) 12317 poppler
11957 ("python-pycairo" ,python-pycairo) 12318 python-pdfminer-six
11958 ("python-pygobject" ,python-pygobject) 12319 python-pexpect
11959 ("python-pyxdg" ,python-pyxdg) 12320 python-pycairo
11960 ("webkitgtk" ,webkitgtk) 12321 python-pygobject
11961 ("xdg-utils" ,xdg-utils))) 12322 python-pyxdg
12323 webkitgtk-with-libsoup2
12324 xdg-utils))
11962 (home-page "https://www.cvfosammmm.org/setzer/") 12325 (home-page "https://www.cvfosammmm.org/setzer/")
11963 (synopsis "LaTeX editor written in Python with GTK+") 12326 (synopsis "LaTeX editor written in Python with GTK+")
11964 (description 12327 (description
@@ -11969,44 +12332,43 @@ GTK+. It integrates well with the GNOME desktop environment.")
11969(define-public apostrophe 12332(define-public apostrophe
11970 (package 12333 (package
11971 (name "apostrophe") 12334 (name "apostrophe")
11972 (version "2.5") 12335 (version "2.6.3")
11973 (source (origin 12336 (source (origin
11974 (method git-fetch) 12337 (method git-fetch)
11975 (uri (git-reference 12338 (uri (git-reference
11976 (url "https://gitlab.gnome.org/somas/apostrophe") 12339 (url "https://gitlab.gnome.org/World/apostrophe")
11977 (commit (string-append "v" version)))) 12340 (commit (string-append "v" version))))
11978 (file-name (git-file-name name version)) 12341 (file-name (git-file-name name version))
11979 (sha256 12342 (sha256
11980 (base32 12343 (base32
11981 "06yfiflmj3ip7ppcz41nb3xpgb5ggw5h74w0v87yaqqkq7qh31lp")))) 12344 "0wsvq2434p650cf3vq5w7a6czbk8in0ra7nji45mvwyfahdyn6j4"))))
11982 (build-system meson-build-system) 12345 (build-system meson-build-system)
11983 (arguments 12346 (arguments
11984 `(#:glib-or-gtk? #t 12347 (list
11985 #:meson ,meson-0.59 ;fails with 0.60 12348 #:glib-or-gtk? #t
11986 #:phases 12349 #:imported-modules `(,@%meson-build-system-modules
11987 (modify-phases %standard-phases 12350 (guix build python-build-system))
11988 (add-after 'unpack 'patch-meson 12351 #:modules '((guix build meson-build-system)
11989 (lambda _ 12352 ((guix build python-build-system) #:prefix python:)
11990 (substitute* "build-aux/meson_post_install.py" 12353 (guix build utils))
11991 (("gtk-update-icon-cache") "true")))) 12354 #:phases
11992 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap 12355 #~(modify-phases %standard-phases
11993 (lambda* (#:key inputs outputs #:allow-other-keys) 12356 (add-after 'unpack 'patch-meson
11994 (let ((prog (string-append (assoc-ref outputs "out") 12357 (lambda _
11995 "/bin/apostrophe")) 12358 (substitute* "build-aux/meson_post_install.py"
11996 (pylib (string-append (assoc-ref outputs "out") 12359 (("gtk-update-icon-cache") "true"))))
11997 "/lib/python" 12360 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
11998 ,(version-major+minor 12361 (lambda* (#:key inputs outputs #:allow-other-keys)
11999 (package-version 12362 (wrap-program (search-input-file outputs "bin/apostrophe")
12000 (this-package-input "python"))) 12363 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")
12001 "/site-packages"))) 12364 ,(python:site-packages inputs outputs)))
12002 (wrap-program prog 12365 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
12003 `("PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib)) 12366 `("PATH" prefix (,(dirname
12004 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))) 12367 (search-input-file inputs
12005 `("PATH" prefix (,(dirname 12368 "/bin/pandoc"))))))))))
12006 (search-input-file inputs
12007 "/bin/pandoc")))))))))))
12008 (inputs 12369 (inputs
12009 (list glib 12370 (list bash-minimal
12371 glib
12010 gobject-introspection 12372 gobject-introspection
12011 gspell 12373 gspell
12012 gtk+ 12374 gtk+
@@ -12026,7 +12388,7 @@ GTK+. It integrates well with the GNOME desktop environment.")
12026 `(,glib "bin") 12388 `(,glib "bin")
12027 pkg-config 12389 pkg-config
12028 sassc)) 12390 sassc))
12029 (home-page "https://gitlab.gnome.org/somas/apostrophe") 12391 (home-page "https://gitlab.gnome.org/World/apostrophe")
12030 (synopsis "Markdown editor written in Python with GTK+") 12392 (synopsis "Markdown editor written in Python with GTK+")
12031 (description "Apostrophe is a GTK+ based distraction-free Markdown editor. 12393 (description "Apostrophe is a GTK+ based distraction-free Markdown editor.
12032It uses pandoc as back-end for parsing Markdown.") 12394It uses pandoc as back-end for parsing Markdown.")
@@ -12107,54 +12469,57 @@ your operating-system definition:
12107(define-public piper 12469(define-public piper
12108 (package 12470 (package
12109 (name "piper") 12471 (name "piper")
12110 (version "0.6") 12472 (version "0.7")
12111 (source 12473 (source
12112 (origin 12474 (origin (method git-fetch)
12113 (method git-fetch) 12475 (uri (git-reference
12114 (uri (git-reference 12476 (url "https://github.com/libratbag/piper")
12115 (url "https://github.com/libratbag/piper") 12477 (commit version)))
12116 (commit version))) 12478 (sha256
12117 (sha256 12479 (base32 "0jsvfy0ihdcgnqljfgs41lys1nlz18qvsa0a8ndx3pyr41f8w8wf"))
12118 (base32 "02x4d4n0078slj2pl0rvgayrrxvna6y6vj8fxfamvazsh5xyfzwk")) 12480 (file-name (git-file-name name version))))
12119 (file-name (git-file-name name version))))
12120 (build-system meson-build-system) 12481 (build-system meson-build-system)
12121 (native-inputs
12122 (list gettext-minimal
12123 `(,glib "bin")
12124 gobject-introspection
12125 pkg-config
12126 python-flake8))
12127 (inputs
12128 (list adwaita-icon-theme
12129 gtk+
12130 `(,gtk+ "bin")
12131 libratbag
12132 python
12133 python-evdev
12134 python-lxml
12135 python-pycairo
12136 python-pygobject))
12137 (arguments 12482 (arguments
12138 `(#:imported-modules ((guix build python-build-system) 12483 `(#:imported-modules ((guix build python-build-system)
12139 ,@%meson-build-system-modules) 12484 ,@%meson-build-system-modules)
12140 #:modules (((guix build python-build-system) #:prefix python:) 12485 #:modules (((guix build python-build-system) #:prefix python:)
12141 (guix build meson-build-system) 12486 (guix build meson-build-system)
12142 (guix build utils)) 12487 (guix build utils))
12143 #:tests? #f ;; The flake8 test fails trying to validate piper.in as code.
12144 #:phases 12488 #:phases
12145 (modify-phases %standard-phases 12489 (modify-phases %standard-phases
12146 (add-after 'unpack 'dont-update-gtk-icon-cache 12490 (add-after 'unpack 'dont-update-gtk-icon-cache
12147 (lambda _ 12491 (lambda _
12148 (substitute* "meson.build" 12492 (substitute* "meson.build"
12149 (("meson.add_install_script('meson_install.sh')") "")))) 12493 (("meson.add_install_script\\('meson_install.sh')") ""))))
12150 ;; TODO: Switch to wrap-script when it is fixed. 12494 (add-after 'unpack 'do-not-require-flake8
12495 (lambda _
12496 (substitute* "meson.build"
12497 (("find_program\\('flake8'" all)
12498 (string-append all ", required : false")))))
12151 (add-after 'install 'wrap-python 12499 (add-after 'install 'wrap-python
12152 (assoc-ref python:%standard-phases 'wrap)) 12500 (assoc-ref python:%standard-phases 'wrap))
12153 (add-after 'wrap-python 'wrap 12501 (add-after 'wrap-python 'wrap
12154 (lambda* (#:key outputs #:allow-other-keys) 12502 (lambda* (#:key inputs outputs #:allow-other-keys)
12155 (wrap-program 12503 (wrap-script (search-input-file outputs "bin/piper")
12156 (string-append (assoc-ref outputs "out" )"/bin/piper") 12504 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
12157 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))))) 12505 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")
12506 ,(python:site-packages inputs outputs)))))))))
12507 (native-inputs
12508 (list appstream
12509 gettext-minimal
12510 `(,glib "bin")
12511 gobject-introspection
12512 pkg-config))
12513 (inputs
12514 (list adwaita-icon-theme
12515 gtk+
12516 guile-3.0 ;for wrap-script
12517 libratbag
12518 python
12519 python-evdev
12520 python-lxml
12521 python-pycairo
12522 python-pygobject))
12158 (home-page "https://github.com/libratbag/piper/") 12523 (home-page "https://github.com/libratbag/piper/")
12159 (synopsis "Configure bindings and LEDs on gaming mice") 12524 (synopsis "Configure bindings and LEDs on gaming mice")
12160 (description "Piper is a GTK+ application for configuring gaming mice with 12525 (description "Piper is a GTK+ application for configuring gaming mice with
@@ -12227,7 +12592,7 @@ audio files.")
12227(define-public jsonrpc-glib 12592(define-public jsonrpc-glib
12228 (package 12593 (package
12229 (name "jsonrpc-glib") 12594 (name "jsonrpc-glib")
12230 (version "3.34.0") 12595 (version "3.42.0")
12231 (source (origin 12596 (source (origin
12232 (method url-fetch) 12597 (method url-fetch)
12233 (uri (string-append "mirror://gnome/sources/" name "/" 12598 (uri (string-append "mirror://gnome/sources/" name "/"
@@ -12235,14 +12600,16 @@ audio files.")
12235 name "-" version ".tar.xz")) 12600 name "-" version ".tar.xz"))
12236 (sha256 12601 (sha256
12237 (base32 12602 (base32
12238 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni")))) 12603 "0sr71110gwbv08qwjh410fnhq6v5swn849y4gm314am8gjjqj692"))))
12239 (build-system meson-build-system) 12604 (build-system meson-build-system)
12240 (inputs 12605 (inputs
12241 (list json-glib glib)) 12606 (list glib
12607 json-glib))
12242 (native-inputs 12608 (native-inputs
12243 (list pkg-config 12609 (list `(,glib "bin") ; for glib-genmarshal, etc.
12244 `(,glib "bin") ; for glib-genmarshal, etc. 12610 gobject-introspection
12245 gobject-introspection vala)) 12611 pkg-config
12612 vala))
12246 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib") 12613 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
12247 (synopsis "JSON-RPC library for GLib") 12614 (synopsis "JSON-RPC library for GLib")
12248 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based 12615 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
@@ -12283,7 +12650,7 @@ GObject introspection bindings.")
12283(define-public sysprof 12650(define-public sysprof
12284 (package 12651 (package
12285 (name "sysprof") 12652 (name "sysprof")
12286 (version "3.42.1") 12653 (version "3.45.1")
12287 (source 12654 (source
12288 (origin 12655 (origin
12289 (method url-fetch) 12656 (method url-fetch)
@@ -12291,32 +12658,37 @@ GObject introspection bindings.")
12291 (version-major+minor version) "/" 12658 (version-major+minor version) "/"
12292 "sysprof-" version ".tar.xz")) 12659 "sysprof-" version ".tar.xz"))
12293 (sha256 12660 (sha256
12294 (base32 "0090986ar3lz9m9fy7l5y9ibzzmgsx54cm6gp8ggsxgf0habi5hp")))) 12661 (base32 "16nmr1qs7s2ylhwj58zj6b7in72nw7z72glaz746f2g7dbqs00k4"))))
12295 (build-system meson-build-system) 12662 (build-system meson-build-system)
12296 (arguments 12663 (arguments
12297 `(#:configure-flags 12664 (list
12298 (list (string-append "-Dsystemdunitdir=" 12665 #:configure-flags
12299 %output 12666 #~(list (string-append "-Dsystemdunitdir=" #$output "/share/systemd"))
12300 "/share/systemd")) 12667 #:phases
12301 #:tests? #f ; 3/4 test-model-filter barfs some dbus nonsense 12668 #~(modify-phases %standard-phases
12302 #:phases 12669 (add-after 'unpack 'disable-post-install
12303 (modify-phases %standard-phases 12670 (lambda _
12304 (add-after 'unpack 'patch-install-script 12671 (substitute* "meson.build"
12305 (lambda _ 12672 (("gtk_update_icon_cache: true")
12306 (substitute* "build-aux/meson/post_install.sh" 12673 "gtk_update_icon_cache: false")
12307 (("gtk-update-icon-cache") "true") 12674 (("update_desktop_database: true")
12308 (("update-desktop-database") "true")) 12675 "update_desktop_database: false")))))))
12309 #t)))))
12310 (propagated-inputs 12676 (propagated-inputs
12311 (list polkit)) 12677 (list polkit))
12312 (inputs 12678 (inputs
12313 (list glib gtk+ json-glib libdazzle polkit)) 12679 (list glib-next
12680 gtk
12681 json-glib
12682 libadwaita
12683 libdazzle
12684 libunwind
12685 polkit))
12314 (native-inputs 12686 (native-inputs
12315 `(("gettext" ,gettext-minimal) 12687 (list gettext-minimal
12316 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc. 12688 `(,glib-next "bin") ;for gdbus-codegen, etc.
12317 ("itstool" ,itstool) 12689 itstool
12318 ("pkg-config" ,pkg-config) 12690 libxml2
12319 ("xmllint" ,libxml2))) 12691 pkg-config))
12320 ;; This home page is so woefully out of date as to be essentially useless. 12692 ;; This home page is so woefully out of date as to be essentially useless.
12321 ;; (home-page "http://www.sysprof.com") 12693 ;; (home-page "http://www.sysprof.com")
12322 (home-page "https://wiki.gnome.org/Apps/Sysprof") 12694 (home-page "https://wiki.gnome.org/Apps/Sysprof")
@@ -12330,10 +12702,36 @@ It uses the kernel's built-in @code{ptrace} feature and handles shared
12330libraries. Applications do not need to be recompiled--or even restarted.") 12702libraries. Applications do not need to be recompiled--or even restarted.")
12331 (license license:gpl3+))) 12703 (license license:gpl3+)))
12332 12704
12705(define-public sysprof-3.44
12706 (package
12707 (inherit sysprof)
12708 (name "sysprof")
12709 (version "3.44.0")
12710 (source (origin
12711 (method url-fetch)
12712 (uri (string-append "mirror://gnome/sources/sysprof/"
12713 (version-major+minor version) "/"
12714 "sysprof-" version ".tar.xz"))
12715 (sha256
12716 (base32 "0nq0icbln0ryqzlybr7wyl19mhr3vkqzs6wasn430fwpf5drypdb"))))
12717 (inputs (modify-inputs (package-inputs sysprof)
12718 (replace "glib" glib)
12719 (replace "gtk" gtk+)))
12720 (native-inputs (modify-inputs (package-native-inputs sysprof)
12721 (replace "glib" `(,glib "bin"))))
12722 (arguments (substitute-keyword-arguments (package-arguments sysprof)
12723 ((#:phases phases '%standard-phases)
12724 #~(modify-phases #$phases
12725 (replace 'disable-post-install
12726 (lambda _
12727 (substitute* "build-aux/meson/post_install.sh"
12728 (("gtk-update-icon-cache") "true")
12729 (("update-desktop-database") "true"))))))))))
12730
12333(define-public gnome-builder 12731(define-public gnome-builder
12334 (package 12732 (package
12335 (name "gnome-builder") 12733 (name "gnome-builder")
12336 (version "41.2") 12734 (version "42.1")
12337 (source (origin 12735 (source (origin
12338 (method url-fetch) 12736 (method url-fetch)
12339 (uri (string-append "mirror://gnome/sources/" name "/" 12737 (uri (string-append "mirror://gnome/sources/" name "/"
@@ -12341,20 +12739,12 @@ libraries. Applications do not need to be recompiled--or even restarted.")
12341 name "-" version ".tar.xz")) 12739 name "-" version ".tar.xz"))
12342 (sha256 12740 (sha256
12343 (base32 12741 (base32
12344 "04p031i999dccbnlbysmr6f93x7dji7b559j6yhdsqbqgxb7ncan")) 12742 "02k78mamp1yf9y6wixd864hdf9saw83wdw01f80lhnw60avm2kax"))))
12345 (patches
12346 (search-patches "gnome-builder-update-libportal.patch"))))
12347 (build-system meson-build-system) 12743 (build-system meson-build-system)
12348 (arguments 12744 (arguments
12349 (list 12745 (list
12350 #:glib-or-gtk? #t ;To wrap binaries and compile schemas 12746 #:glib-or-gtk? #t ;To wrap binaries and compile schemas
12351 #:configure-flags 12747 #:configure-flags #~(list "-Dnetwork_tests=false")
12352 #~(list "-Dnetwork_tests=false"
12353 ;; TODO: Enable all plugins...
12354 ;; Flatpak plugin wants libsoup 2
12355 "-Dplugin_flatpak=false"
12356 ;; ... except this one.
12357 "-Dplugin_update_manager=false")
12358 #:phases 12748 #:phases
12359 #~(modify-phases %standard-phases 12749 #~(modify-phases %standard-phases
12360 (add-after 'unpack 'patch-meson 12750 (add-after 'unpack 'patch-meson
@@ -12363,47 +12753,47 @@ libraries. Applications do not need to be recompiled--or even restarted.")
12363 (("gtk-update-icon-cache") "true") 12753 (("gtk-update-icon-cache") "true")
12364 (("update-desktop-database") "true")) 12754 (("update-desktop-database") "true"))
12365 (substitute* "src/libide/meson.build" 12755 (substitute* "src/libide/meson.build"
12366 (("/usr/lib") (string-append (assoc-ref inputs 12756 (("/usr/lib")
12367 "python-pygobject") 12757 (string-append #$(this-package-input "python-pygobject")
12368 "/lib"))))) 12758 "/lib")))))
12369 (add-after 'configure 'fix-ninja
12370 (lambda _
12371 ;; #43296: meson(?) incorrectly assumes we want to link
12372 ;; this PIE against a static libselinux.
12373 (substitute* "build.ninja"
12374 (("libselinux\\.a") "libselinux.so"))))
12375 (add-before 'check 'pre-check 12759 (add-before 'check 'pre-check
12376 (lambda _ 12760 (lambda _
12377 (system "Xvfb :1 &") 12761 (system "Xvfb :1 &")
12378 (setenv "DISPLAY" ":1")))))) 12762 (setenv "DISPLAY" ":1"))))))
12379 (inputs (list cmark 12763 (inputs
12380 clang 12764 (list cmark
12381 devhelp-with-libsoup2 12765 clang
12382 glade3 12766 devhelp-with-libsoup2
12383 gspell 12767 flatpak
12384 gtk+ 12768 glade3
12385 json-glib 12769 gspell
12386 jsonrpc-glib 12770 gtk+
12387 libdazzle 12771 json-glib
12388 libgit2-glib 12772 jsonrpc-glib
12389 libpeas 12773 libdazzle
12390 libportal 12774 libgit2-glib
12391 libsoup-minimal-2 12775 libhandy
12392 llvm 12776 libpeas
12393 python 12777 libportal
12394 python-pygobject 12778 libsoup-minimal-2
12395 sysprof 12779 llvm
12396 template-glib 12780 libostree
12397 vte 12781 python
12398 webkitgtk-with-libsoup2)) 12782 python-pygobject
12399 (propagated-inputs (list gtksourceview-4)) ; needed for settings 12783 sysprof-3.44
12400 (native-inputs (list desktop-file-utils ; for desktop-file-validate 12784 template-glib
12401 `(,glib "bin") 12785 vte
12402 gettext-minimal 12786 webkitgtk-with-libsoup2))
12403 pkg-config 12787 (propagated-inputs
12404 python ; for meson scripts 12788 (list gtksourceview-4)) ;needed for settings
12405 vala 12789 (native-inputs
12406 xorg-server-for-tests)) 12790 (list desktop-file-utils ;for desktop-file-validate
12791 `(,glib "bin")
12792 gettext-minimal
12793 pkg-config
12794 python ;for meson scripts
12795 vala
12796 xorg-server-for-tests))
12407 (home-page "https://wiki.gnome.org/Apps/Builder") 12797 (home-page "https://wiki.gnome.org/Apps/Builder")
12408 (synopsis "Toolsmith for GNOME-based applications") 12798 (synopsis "Toolsmith for GNOME-based applications")
12409 (description 12799 (description
@@ -12442,18 +12832,15 @@ profiler via Sysprof, debugging support, and more.")
12442 (add-after 'unpack 'skip-gtk-update-icon-cache 12832 (add-after 'unpack 'skip-gtk-update-icon-cache
12443 (lambda _ 12833 (lambda _
12444 (substitute* "meson_post_install.py" 12834 (substitute* "meson_post_install.py"
12445 (("gtk-update-icon-cache") (which "true"))) 12835 (("gtk-update-icon-cache") (which "true")))))
12446 #t))
12447 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap 12836 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
12448 (lambda* (#:key outputs #:allow-other-keys) 12837 (lambda* (#:key outputs #:allow-other-keys)
12449 (let ((prog (string-append (assoc-ref outputs "out") 12838 (wrap-program (search-input-file outputs "bin/komikku")
12450 "/bin/komikku"))) 12839 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")))
12451 (wrap-program prog 12840 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))))
12452 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")))
12453 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
12454 #t))))))
12455 (inputs 12841 (inputs
12456 (list gtk+ 12842 (list bash-minimal
12843 gtk+
12457 libhandy 12844 libhandy
12458 libnotify 12845 libnotify
12459 libsecret 12846 libsecret
@@ -12488,58 +12875,35 @@ developed with the aim of being used with the Librem 5 phone.")
12488(define-public libgda 12875(define-public libgda
12489 (package 12876 (package
12490 (name "libgda") 12877 (name "libgda")
12491 (version "5.2.10") 12878 (version "6.0.0")
12492 (source 12879 (source
12493 (origin 12880 (origin
12494 (method git-fetch) 12881 (method url-fetch)
12495 (uri (git-reference 12882 (uri (string-append "mirror://gnome/sources/" name "/"
12496 (url "https://gitlab.gnome.org/GNOME/libgda.git/") 12883 (version-major+minor version) "/"
12497 (commit (string-append "LIBGDA_" (string-replace-substring 12884 name "-" version ".tar.xz"))
12498 version "." "_")))))
12499 (file-name (git-file-name name version))
12500 (sha256 12885 (sha256
12501 (base32 "18rg773gq9v3cdywpmrp12c5xyp97ir9yqjinccpi22sksb1kl8a")) 12886 (base32 "0w564z7krgjk19r39mi5qn4kggpdg9ggbyn9pb4aavb61r14npwr"))
12502 (modules '((guix build utils))) 12887 (patches (search-patches "libgda-cve-2021-39359.patch"
12503 (snippet 12888 "libgda-fix-build.patch"
12504 ;; Remove the bundled sqlite, but keep its header because code relies 12889 "libgda-fix-missing-initialization.patch"
12505 ;; on this header variant. 12890 "libgda-skip-postgresql-tests.patch"))))
12506 '(delete-file "libgda/sqlite/sqlite-src/sqlite3.c")))) 12891 (build-system meson-build-system)
12507 (build-system gnu-build-system) 12892 (native-inputs
12508 (arguments 12893 (list intltool
12509 `(#:configure-flags '("--enable-system-sqlite" "--enable-vala") 12894 iso-codes
12510 ;; There's a race between check_cnc_lock and check_threaded_cnc 12895 `(,glib "bin")
12511 ;; in tests/multi-threading. 12896 gnome-common
12512 #:parallel-tests? #f 12897 gettext-minimal
12513 #:phases 12898 gobject-introspection
12514 (modify-phases %standard-phases 12899 gtk-doc/stable
12515 (add-after 'unpack 'fix-glade-install 12900 pkg-config
12516 (lambda _ 12901 python
12517 (substitute* "configure.ac" 12902 vala
12518 (("`\\$PKG_CONFIG --variable=catalogdir gladeui-2\\.0`") 12903 yelp-tools))
12519 "${datadir}/glade/catalogs")
12520 (("`\\$PKG_CONFIG --variable=pixmapdir gladeui-2\\.0`")
12521 "${datadir}/glade/pixmaps"))
12522 #t))
12523 (add-before 'check 'pre-check
12524 (lambda* (#:key inputs #:allow-other-keys)
12525 ;; Tests require a running X server.
12526 (system "Xvfb :1 &")
12527 (setenv "DISPLAY" ":1")
12528 #t))
12529 (add-after 'install 'symlink-glade-module
12530 (lambda* (#:key outputs #:allow-other-keys)
12531 (let* ((shlib "libgda-ui-5.0.so")
12532 (out (assoc-ref outputs "out"))
12533 (out/lib (string-append out "/lib"))
12534 (moduledir (string-append out/lib "/glade/modules")))
12535 (mkdir-p moduledir)
12536 (symlink (string-append out/lib "/" shlib)
12537 (string-append moduledir "/" shlib))
12538 #t))))))
12539 (propagated-inputs
12540 (list libxml2)) ; required by libgda-5.0.pc
12541 (inputs 12904 (inputs
12542 (list glib 12905 (list json-glib
12906 glib
12543 glade3 12907 glade3
12544 gtk+ 12908 gtk+
12545 libsecret 12909 libsecret
@@ -12547,21 +12911,8 @@ developed with the aim of being used with the Librem 5 phone.")
12547 openssl 12911 openssl
12548 sqlite 12912 sqlite
12549 vala)) 12913 vala))
12550 (native-inputs 12914 (propagated-inputs
12551 `(("autoconf" ,autoconf) 12915 (list libxml2)) ; required by libgda-5.0.pc
12552 ("autoconf-archive" ,autoconf-archive)
12553 ("automake" ,automake)
12554 ("glib:bin" ,glib "bin")
12555 ("gnome-common" ,gnome-common)
12556 ("gobject-introspection" ,gobject-introspection)
12557 ("gtk-doc" ,gtk-doc/stable)
12558 ("intltool" ,intltool)
12559 ("libtool" ,libtool)
12560 ("pkg-config" ,pkg-config)
12561 ("vala" ,vala)
12562 ("which" ,which)
12563 ("xorg-server" ,xorg-server-for-tests)
12564 ("yelp-tools" ,yelp-tools)))
12565 (home-page "https://gitlab.gnome.org/GNOME/libgda") 12916 (home-page "https://gitlab.gnome.org/GNOME/libgda")
12566 (synopsis "Uniform data access") 12917 (synopsis "Uniform data access")
12567 (description 12918 (description
@@ -12574,44 +12925,43 @@ your data.")
12574(define-public gtranslator 12925(define-public gtranslator
12575 (package 12926 (package
12576 (name "gtranslator") 12927 (name "gtranslator")
12577 (version "40.0") 12928 (version "42.0")
12578 (source (origin 12929 (source (origin
12579 (method url-fetch) 12930 (method url-fetch)
12580 (uri (string-append "mirror://gnome/sources/" name "/" 12931 (uri (string-append "mirror://gnome/sources/" name "/"
12581 (version-major version) "/" 12932 (version-major version) "/"
12582 name "-" version ".tar.xz")) 12933 name "-" version ".tar.xz"))
12583 (sha256 12934 (sha256
12584 (base32 12935 (base32
12585 "0d48nc11z0m91scy21ah56ysxns82zvswx8lglvlkig1vqvblgpc")))) 12936 "0fzi48s3wz9mf6c1ndpkby83bgshgn2116nqjq31n1j3wszvqrra"))))
12586 (build-system meson-build-system) 12937 (build-system meson-build-system)
12587 (inputs 12938 (arguments
12588 `(("json-glib" ,json-glib) 12939 (list #:build-type "release" ;otherwise it tries to fetch stuff via git
12589 ("jsonrpc-glib" ,jsonrpc-glib) 12940 #:glib-or-gtk? #t
12590 ("gettext" ,gettext-minimal) 12941 #:phases
12591 ("glib" ,glib) 12942 #~(modify-phases %standard-phases
12592 ("gtk+" ,gtk+) 12943 (add-after 'unpack 'skip-gtk-update-icon-cache
12593 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) 12944 (lambda _
12594 ("gspell" ,gspell) 12945 (substitute* "build-aux/meson/meson_post_install.py"
12595 ("libdazzle" ,libdazzle) 12946 (("gtk-update-icon-cache") (which "true"))))))))
12596 ("libgda" ,libgda)
12597 ("libhandy" ,libhandy)
12598 ("libsoup" ,libsoup-minimal-2)))
12599 (native-inputs 12947 (native-inputs
12600 `(("glib:bin" ,glib "bin") 12948 (list `(,glib-next "bin")
12601 ("itstool" ,itstool) 12949 gettext-minimal
12602 ("pkg-config" ,pkg-config))) 12950 itstool
12951 pkg-config))
12952 (inputs
12953 (list json-glib
12954 jsonrpc-glib
12955 gettext-minimal
12956 glib-next
12957 gsettings-desktop-schemas
12958 gspell
12959 libgda
12960 libhandy
12961 libsoup
12962 pango))
12603 (propagated-inputs 12963 (propagated-inputs
12604 (list gtksourceview-4)) ; required for source view 12964 (list gtksourceview-4)) ; required for source view
12605 (arguments
12606 `(#:build-type "release"
12607 #:glib-or-gtk? #t
12608 #:phases
12609 (modify-phases %standard-phases
12610 (add-after 'unpack 'skip-gtk-update-icon-cache
12611 (lambda _
12612 (substitute* "build-aux/meson/meson_post_install.py"
12613 (("gtk-update-icon-cache") (which "true")))
12614 #t)))))
12615 (home-page "https://wiki.gnome.org/Apps/Gtranslator") 12965 (home-page "https://wiki.gnome.org/Apps/Gtranslator")
12616 (synopsis "Translation making program") 12966 (synopsis "Translation making program")
12617 (description 12967 (description
@@ -12687,7 +13037,7 @@ Document Analysis and Recognition program.")
12687(define-public libadwaita 13037(define-public libadwaita
12688 (package 13038 (package
12689 (name "libadwaita") 13039 (name "libadwaita")
12690 (version "1.1.0") 13040 (version "1.2.rc")
12691 (source (origin 13041 (source (origin
12692 (method url-fetch) 13042 (method url-fetch)
12693 (uri (string-append "mirror://gnome/sources/libadwaita/" 13043 (uri (string-append "mirror://gnome/sources/libadwaita/"
@@ -12695,7 +13045,7 @@ Document Analysis and Recognition program.")
12695 "libadwaita-" version ".tar.xz")) 13045 "libadwaita-" version ".tar.xz"))
12696 (sha256 13046 (sha256
12697 (base32 13047 (base32
12698 "03h14mrm453bn03f48rmpf85pvg5cnzzab27cs1c43417s09ixdg")))) 13048 "1syg7fkpcsw0q6fy3g79myb9m9bvrnh3rjrm6g4bfg1pnlqf1w22"))))
12699 (build-system meson-build-system) 13049 (build-system meson-build-system)
12700 (arguments 13050 (arguments
12701 `(#:phases 13051 `(#:phases
@@ -12706,15 +13056,14 @@ Document Analysis and Recognition program.")
12706 (system "Xvfb :1 &") 13056 (system "Xvfb :1 &")
12707 (setenv "DISPLAY" ":1")))))) 13057 (setenv "DISPLAY" ":1"))))))
12708 (native-inputs 13058 (native-inputs
12709 `(("sassc" ,sassc) 13059 (list gettext-minimal
12710 ("glib:bin" ,glib "bin") 13060 `(,glib "bin")
12711 ("gtk-doc" ,gtk-doc/stable) 13061 gobject-introspection
12712 ("pkg-config" ,pkg-config) 13062 gtk-doc/stable
12713 ("vala" ,vala) 13063 pkg-config
12714 ("xvfb" ,xorg-server-for-tests) 13064 sassc
12715 ("gettext" ,gettext-minimal))) 13065 vala
12716 (inputs 13066 xorg-server-for-tests))
12717 (list gobject-introspection libportal))
12718 (propagated-inputs 13067 (propagated-inputs
12719 (list gtk)) ;libadwaita-1.pc 'Requires' it 13068 (list gtk)) ;libadwaita-1.pc 'Requires' it
12720 (home-page "https://gnome.pages.gitlab.gnome.org/libadwaita/") 13069 (home-page "https://gnome.pages.gitlab.gnome.org/libadwaita/")
diff --git a/gnu/packages/gnucash.scm b/gnu/packages/gnucash.scm
index 01099375d38..0386910ce61 100644
--- a/gnu/packages/gnucash.scm
+++ b/gnu/packages/gnucash.scm
@@ -4,7 +4,7 @@
4;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il> 4;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
5;;; Copyright © 2017 Chris Marusich <cmmarusich@gmail.com> 5;;; Copyright © 2017 Chris Marusich <cmmarusich@gmail.com>
6;;; Copyright © 2017, 2019 Tobias Geerinckx-Rice <me@tobias.gr> 6;;; Copyright © 2017, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
7;;; Copyright © 2019 Maxim Cournoyer <maxim.cournoyer@gmail.com> 7;;; Copyright © 2019, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
8;;; Copyright © 2019, 2021 Guillaume Le Vaillant <glv@posteo.net> 8;;; Copyright © 2019, 2021 Guillaume Le Vaillant <glv@posteo.net>
9;;; Copyright © 2020 Prafulla Giri <pratheblackdiamond@gmail.com> 9;;; Copyright © 2020 Prafulla Giri <pratheblackdiamond@gmail.com>
10;;; Copyright © 2020 Christopher Lam <christopher.lck@gmail.com> 10;;; Copyright © 2020 Christopher Lam <christopher.lck@gmail.com>
@@ -26,12 +26,6 @@
26 26
27(define-module (gnu packages gnucash) 27(define-module (gnu packages gnucash)
28 #:use-module ((guix licenses) #:prefix license:) 28 #:use-module ((guix licenses) #:prefix license:)
29 #:use-module (guix utils)
30 #:use-module (guix packages)
31 #:use-module (guix download)
32 #:use-module (guix build-system gnu)
33 #:use-module (guix build-system cmake)
34 #:use-module (gnu packages)
35 #:use-module (gnu packages autotools) 29 #:use-module (gnu packages autotools)
36 #:use-module (gnu packages base) 30 #:use-module (gnu packages base)
37 #:use-module (gnu packages boost) 31 #:use-module (gnu packages boost)
@@ -42,9 +36,9 @@
42 #:use-module (gnu packages documentation) 36 #:use-module (gnu packages documentation)
43 #:use-module (gnu packages finance) 37 #:use-module (gnu packages finance)
44 #:use-module (gnu packages gettext) 38 #:use-module (gnu packages gettext)
39 #:use-module (gnu packages glib)
45 #:use-module (gnu packages gnome) 40 #:use-module (gnu packages gnome)
46 #:use-module (gnu packages gnupg) 41 #:use-module (gnu packages gnupg)
47 #:use-module (gnu packages glib)
48 #:use-module (gnu packages gtk) 42 #:use-module (gnu packages gtk)
49 #:use-module (gnu packages guile) 43 #:use-module (gnu packages guile)
50 #:use-module (gnu packages icu4c) 44 #:use-module (gnu packages icu4c)
@@ -56,155 +50,146 @@
56 #:use-module (gnu packages tls) 50 #:use-module (gnu packages tls)
57 #:use-module (gnu packages web) 51 #:use-module (gnu packages web)
58 #:use-module (gnu packages webkit) 52 #:use-module (gnu packages webkit)
59 #:use-module (gnu packages xml)) 53 #:use-module (gnu packages xml)
54 #:use-module (gnu packages)
55 #:use-module (guix build-system cmake)
56 #:use-module (guix build-system gnu)
57 #:use-module (guix download)
58 #:use-module (guix gexp)
59 #:use-module (guix packages)
60 #:use-module (guix utils))
60 61
61(define-public gnucash 62(define-public gnucash
62 ;; TODO: Unbundle libraries such as guile-json found under the "borrowed/" 63 ;; TODO: Unbundle libraries such as guile-json found under the "borrowed/"
63 ;; directory. 64 ;; directory.
64 (package 65 (package
65 (name "gnucash") 66 (name "gnucash")
66 (version "4.10") 67 (version "4.11")
67 (source 68 (source
68 (origin 69 (origin
69 (method url-fetch) 70 (method url-fetch)
70 (uri (string-append "mirror://sourceforge/gnucash/gnucash%20%28stable%29/" 71 (uri (string-append "mirror://sourceforge/gnucash/gnucash%20%28stable%29/"
71 version "/gnucash-" version ".tar.bz2")) 72 version "/gnucash-" version ".tar.bz2"))
72 (sha256 73 (sha256
73 (base32 "0fy9p5fgi2i0x7acg5fnkfdrxxd3dypi3ykvnj53hfbfky8vpm3z")))) 74 (base32 "069b216dkpjs9hp32s4bhi6f76lbc81qvbmjmz0dxq3v1piys57q"))))
74 (build-system cmake-build-system)
75 (inputs
76 `(("guile" ,guile-3.0)
77 ("boost" ,boost)
78 ("icu4c" ,icu4c)
79 ("glib" ,glib)
80 ("gtk" ,gtk+)
81 ("libdbi" ,libdbi)
82 ("libdbi-drivers" ,libdbi-drivers)
83 ("libofx" ,libofx)
84 ("libxml2" ,libxml2)
85 ("libxslt" ,libxslt)
86 ("webkitgtk" ,webkitgtk-with-libsoup2)
87 ("aqbanking" ,aqbanking)
88 ("python" ,python)
89 ("perl-date-manip" ,perl-date-manip)
90 ("perl-finance-quote" ,perl-finance-quote)
91 ("tzdata" ,tzdata-for-tests)))
92 (native-inputs
93 `(("glib" ,glib "bin") ; glib-compile-schemas, etc.
94 ("intltool" ,intltool)
95 ("gmp" ,gmp)
96 ("googlemock" ,(package-source googletest))
97 ("googletest" ,googletest)
98 ("gnucash-docs" ,gnucash-docs)
99 ("swig" ,swig)
100 ("pkg-config" ,pkg-config)))
101 (propagated-inputs
102 ;; dconf is required at runtime according to README.dependencies.
103 (list dconf))
104 (outputs '("out" "doc" "debug" "python")) 75 (outputs '("out" "doc" "debug" "python"))
76 (build-system cmake-build-system)
105 (arguments 77 (arguments
106 `(#:test-target "check" 78 (list
107 #:configure-flags '("-DWITH_PYTHON=ON") 79 #:test-target "check"
108 #:make-flags '("GUILE_AUTO_COMPILE=0") 80 #:configure-flags #~(list "-DWITH_PYTHON=ON")
109 #:modules ((guix build cmake-build-system) 81 #:make-flags #~(list "GUILE_AUTO_COMPILE=0")
110 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:) 82 #:imported-modules `(,@%gnu-build-system-modules
111 (guix build utils))
112 #:imported-modules (,@%gnu-build-system-modules
113 (guix build cmake-build-system) 83 (guix build cmake-build-system)
114 (guix build glib-or-gtk-build-system)) 84 (guix build glib-or-gtk-build-system))
115 #:phases 85 #:modules '((guix build cmake-build-system)
116 (modify-phases %standard-phases 86 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
117 (add-after 'unpack 'unpack-gmock 87 (guix build utils))
118 (lambda* (#:key inputs #:allow-other-keys) 88 #:phases
119 (mkdir "gmock") 89 #~(modify-phases %standard-phases
120 (copy-recursively (assoc-ref inputs "googlemock") "gmock") 90 (add-after 'unpack 'set-env-vars
121 (setenv "GMOCK_ROOT" (string-append (getcwd) "/gmock/googlemock")) 91 (lambda* (#:key inputs #:allow-other-keys)
122 #t)) 92 ;; At least one test is time-related and requires this
123 (add-after 'unpack 'set-env-vars 93 ;; environment variable.
124 (lambda* (#:key inputs #:allow-other-keys) 94 (setenv "TZDIR" (search-input-directory inputs "share/zoneinfo"))
125 (let ((tzdata (assoc-ref inputs "tzdata"))) 95 (substitute* "CMakeLists.txt"
126 ;; At least one test is time-related and requires this 96 (("set\\(SHELL /bin/bash\\)")
127 ;; environment variable. 97 (string-append "set(SHELL " (which "bash") ")")))))
128 (setenv "TZDIR" 98 ;; After wrapping gnc-fq-check and gnc-fq-helper we can no longer
129 (string-append tzdata 99 ;; execute them with perl, so execute them directly instead.
130 "/share/zoneinfo")) 100 (add-after 'unpack 'fix-finance-quote-check
131 (substitute* "CMakeLists.txt" 101 (lambda _
132 (("set\\(SHELL /bin/bash\\)") 102 (substitute* "gnucash/price-quotes.scm"
133 (string-append "set(SHELL " (which "bash") ")"))) 103 (("\"perl\" \"-w\" ") ""))))
134 #t))) 104 ;; The qof test requires the en_US, en_GB, and fr_FR locales.
135 ;; After wrapping gnc-fq-check and gnc-fq-helper we can no longer 105 (add-before 'check 'install-locales
136 ;; execute them with perl, so execute them directly instead. 106 (lambda _
137 (add-after 'unpack 'fix-finance-quote-check 107 (setenv "LOCPATH" (getcwd))
138 (lambda _ 108 (invoke "localedef" "-i" "en_US" "-f" "UTF-8" "./en_US.UTF-8")
139 (substitute* "gnucash/price-quotes.scm" 109 (invoke "localedef" "-i" "en_GB" "-f" "UTF-8" "./en_GB.UTF-8")
140 (("\"perl\" \"-w\" ") "")) 110 (invoke "localedef" "-i" "fr_FR" "-f" "UTF-8" "./fr_FR.UTF-8")))
141 #t)) 111 ;; There is about 100 MiB of documentation.
142 ;; The qof test requires the en_US, en_GB, and fr_FR locales. 112 (add-after 'install 'install-docs
143 (add-before 'check 'install-locales 113 (lambda _
144 (lambda _ 114 (mkdir-p (string-append #$output:doc "/share"))
145 (setenv "LOCPATH" (getcwd)) 115 (symlink (string-append
146 (invoke "localedef" "-i" "en_US" "-f" "UTF-8" "./en_US.UTF-8") 116 #$(this-package-native-input "gnucash-docs")
147 (invoke "localedef" "-i" "en_GB" "-f" "UTF-8" "./en_GB.UTF-8") 117 "/share/gnome")
148 (invoke "localedef" "-i" "fr_FR" "-f" "UTF-8" "./fr_FR.UTF-8") 118 (string-append #$output:doc "/share/gnome"))))
149 #t)) 119 (add-after 'install 'split-python-bindings
150 ;; There are about 100 megabytes of documentation. 120 (lambda _
151 (add-after 'install 'install-docs 121 (let ((python-bindings (string-append
152 (lambda* (#:key inputs outputs #:allow-other-keys)
153 (let ((docs (assoc-ref inputs "gnucash-docs"))
154 (doc-output (assoc-ref outputs "doc")))
155 (mkdir-p (string-append doc-output "/share"))
156 (symlink (string-append docs "/share/gnome")
157 (string-append doc-output "/share/gnome"))
158 #t)))
159 (add-after 'install 'split-python-bindings
160 (lambda* (#:key inputs outputs #:allow-other-keys)
161 (let* ((out (assoc-ref outputs "out"))
162 (python-output (assoc-ref outputs "python"))
163 (python-bindings (string-append
164 "lib/python" 122 "lib/python"
165 ,(version-major+minor 123 #$(version-major+minor
166 (package-version python))))) 124 (package-version python)))))
167 (mkdir-p (string-append python-output "/" python-bindings)) 125 (mkdir-p (string-append #$output:python "/" python-bindings))
168 (copy-recursively 126 (copy-recursively
169 (string-append out "/" python-bindings) 127 (string-append #$output "/" python-bindings)
170 (string-append python-output "/" python-bindings)) 128 (string-append #$output:python "/" python-bindings))
171 (delete-file-recursively 129 (delete-file-recursively
172 (string-append out "/" python-bindings))))) 130 (string-append #$output "/" python-bindings)))))
173 (add-after 'install-docs 'wrap-programs 131 (add-after 'install-docs 'wrap-programs
174 (lambda* (#:key inputs outputs #:allow-other-keys) 132 (lambda* (#:key inputs outputs #:allow-other-keys)
175 (for-each (lambda (prog) 133 (for-each
176 (wrap-program (string-append (assoc-ref outputs "out") 134 (lambda (prog)
177 "/bin/" prog) 135 (wrap-program (search-input-file
178 `("GNC_DBD_DIR" = 136 outputs (string-append "bin/" prog))
179 (,(string-append 137 `("GNC_DBD_DIR" =
180 (assoc-ref inputs "libdbi-drivers") 138 (,(search-input-directory inputs "lib/dbd")))
181 "/lib/dbd"))) 139 `("PERL5LIB" ":" prefix
182 `("PERL5LIB" ":" prefix 140 ,(map (lambda (o)
183 ,(map (lambda (o) 141 (string-append o "/lib/perl5/site_perl/"
184 (string-append o "/lib/perl5/site_perl/" 142 #$(package-version perl)))
185 ,(package-version perl))) 143 (if (string=? prog "gnc-fq-helper")
186 (if (string=? prog "gnc-fq-helper") 144 (list
187 (list 145 #$@(transitive-input-references
188 ,@(transitive-input-references 146 'inputs
189 'inputs 147 (map (lambda (l)
190 (map (lambda (l) 148 (assoc l (package-inputs this-package)))
191 (assoc l (package-inputs this-package))) 149 '("perl-finance-quote"
192 '("perl-finance-quote" 150 "perl-date-manip"))))
193 "perl-date-manip")))) 151 (list
194 (list 152 #$@(transitive-input-references
195 ,@(transitive-input-references 153 'inputs
196 'inputs 154 (map (lambda (l)
197 (map (lambda (l) 155 (assoc l (package-inputs this-package)))
198 (assoc l (package-inputs this-package))) 156 '("perl-finance-quote")))))))))
199 '("perl-finance-quote"))))))))) 157 '("gnucash"
200 '("gnucash" 158 "gnc-fq-check"
201 "gnc-fq-check" 159 "gnc-fq-helper"
202 "gnc-fq-helper" 160 "gnc-fq-dump"))))
203 "gnc-fq-dump")))) 161 (add-after 'install 'glib-or-gtk-compile-schemas
204 (add-after 'install 'glib-or-gtk-compile-schemas 162 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
205 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas)) 163 (add-after 'install 'glib-or-gtk-wrap
206 (add-after 'install 'glib-or-gtk-wrap 164 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
207 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap))))) 165 (native-inputs
166 (list gmp
167 `(,glib "bin") ;glib-compile-schemas, etc.
168 gnucash-docs
169 googletest
170 intltool
171 pkg-config
172 swig))
173 (inputs
174 (list aqbanking
175 boost
176 glib
177 gtk+
178 guile-3.0
179 icu4c
180 libdbi
181 libdbi-drivers
182 libofx
183 libxml2
184 libxslt
185 perl-date-manip
186 perl-finance-quote
187 python
188 tzdata-for-tests
189 webkitgtk-with-libsoup2))
190 (propagated-inputs
191 ;; dconf is required at runtime according to README.dependencies.
192 (list dconf))
208 (home-page "https://www.gnucash.org/") 193 (home-page "https://www.gnucash.org/")
209 (synopsis "Personal and small business financial accounting software") 194 (synopsis "Personal and small business financial accounting software")
210 (description 195 (description
@@ -221,30 +206,31 @@ installed as well as Yelp, the Gnome help browser.")
221;; This package is not public, since we use it to build the "doc" output of 206;; This package is not public, since we use it to build the "doc" output of
222;; the gnucash package (see above). It would be confusing if it were public. 207;; the gnucash package (see above). It would be confusing if it were public.
223(define gnucash-docs 208(define gnucash-docs
224 (let ((revision "")) ;set to the empty string when no revision 209 (let ((revision "")) ;set to the empty string when no revision
225 (package 210 (package
226 (name "gnucash-docs") 211 (name "gnucash-docs")
227 (version (package-version gnucash)) 212 (version (package-version gnucash))
228 (source 213 (source
229 (origin 214 (origin
230 (method url-fetch) 215 (method url-fetch)
231 (uri (string-append "mirror://sourceforge/gnucash/gnucash%20%28stable%29/" 216 (uri (string-append
232 version "/gnucash-docs-" version ".1" revision ".tar.gz")) 217 "mirror://sourceforge/gnucash/gnucash%20%28stable%29/"
218 version "/gnucash-docs-" version revision ".tar.gz"))
233 (sha256 219 (sha256
234 (base32 "0cf2m1lgpq6if89w8anz522nar5kwpfzi0kacymw17m42fzxz0cg")))) 220 (base32 "162qq8p76grczdnsd4qbpxn1d8ap6l2n1a00a601v5hij7rqwfx8"))))
235 (build-system cmake-build-system) 221 (build-system cmake-build-system)
236 ;; These are native-inputs because they are only required for building the 222 ;; These are native-inputs because they are only required for building the
237 ;; documentation. 223 ;; documentation.
238 (native-inputs 224 (native-inputs
239 `(("libxml2" ,libxml2) 225 ;; The "check" target needs docbook-xml package to validate the DocBook
240 ;; The "check" target needs the docbook xml package for validating the 226 ;; XML during the tests.
241 ;; DocBook XML during the tests. 227 (list docbook-xml
242 ("docbook-xml" ,docbook-xml) 228 docbook-xsl
243 ("libxslt" ,libxslt) 229 libxml2
244 ("docbook-xsl" ,docbook-xsl) 230 libxslt
245 ("scrollkeeper" ,scrollkeeper))) 231 scrollkeeper))
246 (arguments 232 (arguments
247 `(#:tests? #f)) ;no test target 233 `(#:tests? #f)) ;no test target
248 (home-page "https://www.gnucash.org/") 234 (home-page "https://www.gnucash.org/")
249 (synopsis "Documentation for GnuCash") 235 (synopsis "Documentation for GnuCash")
250 (description 236 (description
diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index 78318cfab94..e05970f98c1 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -210,8 +210,8 @@ fractional-second-digits-append-item.js")
210 (propagated-inputs 210 (propagated-inputs
211 (list nspr)) ; in the Requires.private field of mozjs-*.pc 211 (list nspr)) ; in the Requires.private field of mozjs-*.pc
212 (home-page 212 (home-page
213 "https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey") 213 "https://spidermonkey.dev/")
214 (synopsis "Mozilla javascript engine") 214 (synopsis "Mozilla JavaScript engine")
215 (description "SpiderMonkey is Mozilla's JavaScript engine written 215 (description "SpiderMonkey is Mozilla's JavaScript engine written
216in C/C++.") 216in C/C++.")
217 (license license:mpl2.0))) ; and others for some files 217 (license license:mpl2.0))) ; and others for some files
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 932deba3adf..590b56ea6a4 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -567,109 +567,100 @@ printing and other features typical of a source code editor.")
567 (home-page "https://developer.gnome.org/gtksourceview/"))) 567 (home-page "https://developer.gnome.org/gtksourceview/")))
568 568
569(define-public gtksourceview 569(define-public gtksourceview
570 (package 570 (package
571 (name "gtksourceview") 571 (name "gtksourceview")
572 (version "5.4.2") 572 (version "5.5.1")
573 (source (origin 573 (source (origin
574 (method url-fetch) 574 (method url-fetch)
575 (uri (string-append "mirror://gnome/sources/gtksourceview/" 575 (uri (string-append "mirror://gnome/sources/gtksourceview/"
576 (version-major+minor version) "/" 576 (version-major+minor version) "/"
577 "gtksourceview-" version ".tar.xz")) 577 "gtksourceview-" version ".tar.xz"))
578 (sha256 578 (sha256
579 (base32 579 (base32
580 "1rwxnzq2vvck5ni5zsfnmnx2kgasi3a2n29w93g106c4xc3hw55d")))) 580 "068dqhacvs65gnmrryahm6qs0q050admlpqqi1gy8wgh2p6qrraa"))))
581 (build-system meson-build-system) 581 (build-system meson-build-system)
582 (arguments 582 (arguments
583 (list 583 '(#:phases
584 #:phases 584 (modify-phases %standard-phases
585 #~(modify-phases %standard-phases 585 (add-after 'unpack 'disable-gtk-update-icon-cache
586 (add-after 'unpack 'patch-build
587 (lambda _ 586 (lambda _
588 (substitute* "meson.build" 587 (substitute* "meson.build"
589 (("gnome.post_install" all) 588 (("gtk_update_icon_cache: true")
590 (string-append "# " all))))) 589 "gtk_update_icon_cache: false"))))
591 (add-before 'check 'pre-check 590 (add-before 'check 'pre-check
592 (lambda* (#:key inputs native-inputs #:allow-other-kgeys) 591 (lambda* (#:key native-inputs inputs #:allow-other-keys)
593 (let ((Xvfb (search-input-file (or native-inputs inputs) 592 (let ((Xvfb (search-input-file (or native-inputs inputs)
594 "/bin/Xvfb"))) 593 "bin/Xvfb")))
595 ;; Tests require a running X server. 594 ;; Tests require a running X server.
596 (system (format #f "~a :1 &" Xvfb)) 595 (system (string-append Xvfb " :1 &"))
597 (setenv "DISPLAY" ":1") 596 (setenv "DISPLAY" ":1")
598 ;; For the missing /etc/machine-id. 597 ;; For the missing /etc/machine-id.
599 (setenv "DBUS_FATAL_WARNINGS" "0") 598 (setenv "DBUS_FATAL_WARNINGS" "0")))))))
600 #t)))))) 599 (native-inputs
601 (native-inputs 600 (list `(,glib "bin") ; for glib-genmarshal, etc.
602 (list `(,glib "bin") ; for glib-genmarshal, etc. 601 gettext-minimal
603 intltool 602 gi-docgen
604 itstool 603 gobject-introspection-next
605 gobject-introspection 604 pkg-config
606 pkg-config 605 vala
607 vala 606 ;; For testing.
608 ;; For testing. 607 xorg-server-for-tests
609 xorg-server-for-tests 608 shared-mime-info))
610 shared-mime-info)) 609 (propagated-inputs
611 (propagated-inputs 610 ;; gtksourceview-5.pc refers to all these.
612 ;; gtksourceview-5.0.pc refers to all these. 611 (list fontconfig
613 (list glib gtk libxml2 pcre2)) 612 fribidi
614 (home-page "https://wiki.gnome.org/Projects/GtkSourceView") 613 glib-next
615 (synopsis "GNOME source code widget") 614 gtk
616 (description "GtkSourceView is a text widget that extends the standard 615 libxml2
616 pango
617 pcre2))
618 (home-page "https://wiki.gnome.org/Projects/GtkSourceView")
619 (synopsis "GNOME source code widget")
620 (description "GtkSourceView is a text widget that extends the standard
617GTK+ text widget GtkTextView. It improves GtkTextView by implementing syntax 621GTK+ text widget GtkTextView. It improves GtkTextView by implementing syntax
618highlighting and other features typical of a source code editor.") 622highlighting and other features typical of a source code editor.")
619 (license license:lgpl2.1+))) 623 (license license:lgpl2.1+)))
620 624
625;;; This older version is used by tepl.
621(define-public gtksourceview-4 626(define-public gtksourceview-4
622 (package 627 (package
623 (inherit gtksourceview) 628 (inherit gtksourceview)
624 (version "4.2.0") 629 (version "4.8.3")
625 (source (origin 630 (source (origin
626 (method url-fetch) 631 (method url-fetch)
627 (uri (string-append "mirror://gnome/sources/gtksourceview/" 632 (uri (string-append "mirror://gnome/sources/gtksourceview/"
628 (version-major+minor version) "/" 633 (version-major+minor version) "/"
629 "gtksourceview-" version ".tar.xz")) 634 "gtksourceview-" version ".tar.xz"))
630 (sha256 635 (sha256
631 (base32 636 (base32
632 "0xgnjj7jd56wbl99s76sa1vjq9bkz4mdsxwgwlcphg689liyncf4")))) 637 "10n61sa0g447nx73yapb00z57shp48gfvk1lv1s29ji0cd81j063"))))
633 (build-system gnu-build-system) 638 (native-inputs
634 (arguments 639 (modify-inputs (package-native-inputs gtksourceview)
635 '(#:phases 640 (replace "gobject-introspection" gobject-introspection)))
636 (modify-phases %standard-phases 641 (propagated-inputs
637 (add-before 642 (modify-inputs (package-propagated-inputs gtksourceview)
638 'check 'pre-check 643 (replace "gtk" gtk+)
639 (lambda* (#:key inputs #:allow-other-keys) 644 (replace "glib" glib)))))
640 (let ((xorg-server (assoc-ref inputs "xorg-server")))
641 ;; Tests require a running X server.
642 (system (format #f "~a/bin/Xvfb :1 &" xorg-server))
643 (setenv "DISPLAY" ":1")
644 ;; For the missing /etc/machine-id.
645 (setenv "DBUS_FATAL_WARNINGS" "0")
646 #t))))))
647 (native-inputs
648 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
649 ("intltool" ,intltool)
650 ("itstool" ,itstool)
651 ("gobject-introspection" ,gobject-introspection)
652 ("pkg-config" ,pkg-config)
653 ("vala" ,vala)
654 ;; For testing.
655 ("xorg-server" ,xorg-server-for-tests)
656 ("shared-mime-info" ,shared-mime-info)))
657 (propagated-inputs
658 ;; gtksourceview-3.0.pc refers to all these.
659 (list glib gtk+ libxml2))))
660 645
661(define-public gtksourceview-3 646(define-public gtksourceview-3
662 (package (inherit gtksourceview-4) 647 (package
663 (name "gtksourceview") 648 (inherit gtksourceview-4)
664 (version "3.24.10") 649 (name "gtksourceview")
665 (source (origin 650 (version "3.24.11")
666 (method url-fetch) 651 (source (origin
667 (uri (string-append "mirror://gnome/sources/" name "/" 652 (method url-fetch)
668 (version-major+minor version) "/" 653 (uri (string-append "mirror://gnome/sources/" name "/"
669 name "-" version ".tar.xz")) 654 (version-major+minor version) "/"
670 (sha256 655 name "-" version ".tar.xz"))
671 (base32 656 (sha256
672 "16ym7jwiki4s1pilwr4incx0yg7ll94f1cajrnpndkxxs36hcm5b")))))) 657 (base32
658 "1zbpj283b5ycz767hqz5kdq02wzsga65pp4fykvhg8xj6x50f6v9"))))
659 (build-system gnu-build-system)
660 (arguments (substitute-keyword-arguments (package-arguments gtksourceview)
661 ((#:phases phases)
662 `(modify-phases ,phases
663 (delete 'disable-gtk-update-icon-cache)))))))
673 664
674(define-public gdk-pixbuf 665(define-public gdk-pixbuf
675 (package 666 (package
@@ -992,9 +983,7 @@ application suites.")
992 fribidi 983 fribidi
993 fontconfig 984 fontconfig
994 freetype 985 freetype
995 (if (target-x86-64?) 986 (librsvg-for-system)
996 librsvg
997 librsvg-2.40)
998 glib 987 glib
999 libcloudproviders-minimal 988 libcloudproviders-minimal
1000 libepoxy 989 libepoxy
@@ -1103,7 +1092,7 @@ application suites.")
1103(define-public gtk 1092(define-public gtk
1104 (package 1093 (package
1105 (name "gtk") 1094 (name "gtk")
1106 (version "4.6.7") 1095 (version "4.8.0")
1107 (source 1096 (source
1108 (origin 1097 (origin
1109 (method url-fetch) 1098 (method url-fetch)
@@ -1111,110 +1100,111 @@ application suites.")
1111 (version-major+minor version) "/" 1100 (version-major+minor version) "/"
1112 name "-" version ".tar.xz")) 1101 name "-" version ".tar.xz"))
1113 (sha256 1102 (sha256
1114 (base32 "1s0hn1mqw9zzr99bgc5bj90am2x6vr5g5q23mmzmqajy9dy2xzgg")) 1103 (base32 "0zxxvjnbmaahvm9lwm007dzgc0yl8qamkp1467c5kqyi6ws21mn8"))
1115 (patches 1104 (patches
1116 (search-patches "gtk4-respect-GUIX_GTK4_PATH.patch")))) 1105 (search-patches "gtk4-respect-GUIX_GTK4_PATH.patch"))))
1117 (build-system meson-build-system) 1106 (build-system meson-build-system)
1118 (outputs '("out" "bin" "doc")) 1107 (outputs '("out" "bin" "doc"))
1119 (arguments 1108 (arguments
1120 `(#:modules ((guix build utils) 1109 (list
1110 #:modules '((guix build utils)
1121 (guix build meson-build-system) 1111 (guix build meson-build-system)
1122 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)) 1112 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:))
1123 #:configure-flags 1113 #:configure-flags
1124 (list 1114 #~(list
1125 "-Dbroadway-backend=true" ;for broadway display-backend 1115 "-Dbroadway-backend=true" ;for broadway display-backend
1126 "-Dcloudproviders=enabled" ;for cloud-providers support 1116 "-Dcloudproviders=enabled" ;for cloud-providers support
1127 "-Dtracker=enabled" ;for filechooser search support 1117 "-Dtracker=enabled" ;for filechooser search support
1128 "-Dcolord=enabled" ;for color printing support 1118 "-Dcolord=enabled" ;for color printing support
1129 ,@(if (%current-target-system) 1119 #$@(if (%current-target-system)
1130 ;; If true, gtkdoc-scangobj will try to execute a 1120 ;; If true, gtkdoc-scangobj will try to execute a
1131 ;; cross-compiled binary. 1121 ;; cross-compiled binary.
1132 '("-Dgtk_doc=false") 1122 '("-Dgtk_doc=false")
1133 '("-Dgtk_doc=true")) 1123 '("-Dgtk_doc=true"))
1134 "-Dman-pages=true") 1124 "-Dman-pages=true")
1135 #:parallel-tests? #f ;parallel tests are not supported 1125 #:test-options '(list "--setup=x11" ;defaults to wayland
1136 #:test-options '("--setup=x11" ;defaults to wayland 1126 ;; Use the same test options as upstream uses for
1137 ;; Use the same test options as upstream uses for 1127 ;; their CI.
1138 ;; their CI. 1128 "--suite=gtk"
1139 "--suite=gtk" 1129 "--no-suite=gsk-compare-broadway")
1140 "--no-suite=gsk-compare-broadway") 1130 #:phases
1141 #:phases 1131 #~(modify-phases %standard-phases
1142 (modify-phases %standard-phases 1132 (add-after 'unpack 'generate-gdk-pixbuf-loaders-cache-file
1143 (add-after 'unpack 'generate-gdk-pixbuf-loaders-cache-file 1133 (assoc-ref glib-or-gtk:%standard-phases
1144 (assoc-ref glib-or-gtk:%standard-phases 1134 'generate-gdk-pixbuf-loaders-cache-file))
1145 'generate-gdk-pixbuf-loaders-cache-file)) 1135 (add-after 'unpack 'patch-rst2man
1146 (add-after 'unpack 'patch-rst2man 1136 (lambda _
1147 (lambda _ 1137 (substitute* "docs/reference/gtk/meson.build"
1148 (substitute* "docs/reference/gtk/meson.build" 1138 (("find_program\\('rst2man'")
1149 (("find_program\\('rst2man'") "find_program('rst2man.py'")))) 1139 "find_program('rst2man.py'"))))
1150 (add-after 'unpack 'patch 1140 (add-after 'unpack 'patch
1151 (lambda* (#:key inputs native-inputs outputs #:allow-other-keys) 1141 (lambda* (#:key inputs native-inputs outputs #:allow-other-keys)
1152 ;; Correct DTD resources of docbook. 1142 ;; Correct DTD resources of docbook.
1153 (substitute* (find-files "docs" "\\.xml$") 1143 (substitute* (find-files "docs" "\\.xml$")
1154 (("http://www.oasis-open.org/docbook/xml/4.3/") 1144 (("http://www.oasis-open.org/docbook/xml/4.3/")
1155 (string-append 1145 (string-append #$(this-package-native-input "docbook-xml")
1156 (assoc-ref (or native-inputs inputs) "docbook-xml-4.3") 1146 "/xml/dtd/docbook/")))
1157 "/xml/dtd/docbook/"))) 1147 ;; Disable building of icon cache.
1158 ;; Disable building of icon cache. 1148 (substitute* "meson.build"
1159 (substitute* "meson.build" 1149 (("gtk_update_icon_cache: true")
1160 (("gtk_update_icon_cache: true") 1150 "gtk_update_icon_cache: false"))
1161 "gtk_update_icon_cache: false")) 1151 ;; Disable failing tests.
1162 ;; Disable failing tests. 1152 (substitute* (find-files "testsuite" "meson.build")
1163 (substitute* (find-files "testsuite" "meson.build") 1153 (("[ \t]*'empty-text.node',") "")
1164 (("[ \t]*'empty-text.node',") "") 1154 (("[ \t]*'testswitch.node',") "")
1165 (("[ \t]*'testswitch.node',") "") 1155 (("[ \t]*'widgetfactory.node',") "")
1166 (("[ \t]*'widgetfactory.node',") "") 1156 ;; The unaligned-offscreen test fails for unknown reasons, also
1167 ;; The unaligned-offscreen test fails for unknown reasons, also 1157 ;; on different distributions (see:
1168 ;; on different distributions (see: 1158 ;; https://gitlab.gnome.org/GNOME/gtk/-/issues/4889).
1169 ;; https://gitlab.gnome.org/GNOME/gtk/-/issues/4889). 1159 ((" 'unaligned-offscreen',") ""))
1170 ((" 'unaligned-offscreen',") "")) 1160 (substitute* "testsuite/reftests/meson.build"
1171 (substitute* "testsuite/reftests/meson.build" 1161 (("[ \t]*'label-wrap-justify.ui',") "")
1172 (("[ \t]*'label-wrap-justify.ui',") "")))) 1162 ;; The inscription-markup.ui fails due to /etc/machine-id
1173 (add-before 'build 'set-cache 1163 ;; related warnings (see:
1174 (lambda _ 1164 ;; https://gitlab.gnome.org/GNOME/gtk/-/issues/5169).
1175 (setenv "XDG_CACHE_HOME" (getcwd)))) 1165 (("[ \t]*'inscription-markup.ui',") ""))))
1176 (add-before 'check 'pre-check 1166 (add-before 'build 'set-cache
1177 (lambda* (#:key inputs #:allow-other-keys) 1167 (lambda _
1178 ;; Tests require a running X server. 1168 (setenv "XDG_CACHE_HOME" (getcwd))))
1179 (system "Xvfb :1 +extension GLX &") 1169 (add-before 'check 'pre-check
1180 (setenv "DISPLAY" ":1") 1170 (lambda* (#:key inputs #:allow-other-keys)
1181 ;; Tests write to $HOME. 1171 ;; Tests require a running X server.
1182 (setenv "HOME" (getcwd)) 1172 (system "Xvfb :1 +extension GLX &")
1183 ;; Tests look for those variables. 1173 (setenv "DISPLAY" ":1")
1184 (setenv "XDG_RUNTIME_DIR" (getcwd)) 1174 ;; Tests write to $HOME.
1185 ;; For missing '/etc/machine-id'. 1175 (setenv "HOME" (getcwd))
1186 (setenv "DBUS_FATAL_WARNINGS" "0") 1176 ;; Tests look for those variables.
1187 ;; Required for the calendar test. 1177 (setenv "XDG_RUNTIME_DIR" (getcwd))
1188 (setenv "TZDIR" (search-input-directory inputs 1178 ;; For missing '/etc/machine-id'.
1189 "share/zoneinfo")))) 1179 (setenv "DBUS_FATAL_WARNINGS" "0")
1190 (add-after 'install 'move-files 1180 ;; Required for the calendar test.
1191 (lambda* (#:key outputs #:allow-other-keys) 1181 (setenv "TZDIR" (search-input-directory inputs
1192 (let* ((out (assoc-ref outputs "out")) 1182 "share/zoneinfo"))))
1193 (bin (assoc-ref outputs "bin")) 1183 (add-after 'install 'move-files
1194 (doc (assoc-ref outputs "doc"))) 1184 (lambda _
1195 (for-each mkdir-p 1185 (for-each mkdir-p
1196 (list 1186 (list
1197 (string-append bin "/bin") 1187 (string-append #$output:bin "/bin")
1198 (string-append bin "/share/applications") 1188 (string-append #$output:bin "/share/applications")
1199 (string-append bin "/share/icons") 1189 (string-append #$output:bin "/share/icons")
1200 (string-append bin "/share/man") 1190 (string-append #$output:bin "/share/man")
1201 (string-append bin "/share/metainfo") 1191 (string-append #$output:bin "/share/metainfo")
1202 (string-append doc "/share/doc"))) 1192 (string-append #$output:doc "/share/doc")))
1203 ;; Move programs and related files to output 'bin'. 1193 ;; Move programs and related files to output 'bin'.
1204 (for-each (lambda (dir) 1194 (for-each (lambda (dir)
1205 (rename-file 1195 (rename-file
1206 (string-append out dir) 1196 (string-append #$output dir)
1207 (string-append bin dir))) 1197 (string-append #$output:bin dir)))
1208 (list 1198 (list
1209 "/bin" 1199 "/bin"
1210 "/share/applications" 1200 "/share/applications"
1211 "/share/icons" 1201 "/share/icons"
1212 "/share/man" 1202 "/share/man"
1213 "/share/metainfo")) 1203 "/share/metainfo"))
1214 ;; Move HTML documentation to output 'doc'. 1204 ;; Move HTML documentation to output 'doc'.
1215 (rename-file 1205 (rename-file
1216 (string-append out "/share/doc") 1206 (string-append #$output "/share/doc")
1217 (string-append doc "/share/doc")))))))) 1207 (string-append #$output:doc "/share/doc")))))))
1218 (native-inputs 1208 (native-inputs
1219 (list docbook-xml-4.3 1209 (list docbook-xml-4.3
1220 docbook-xsl 1210 docbook-xsl
@@ -1254,7 +1244,6 @@ application suites.")
1254 libgudev ;for gstreamer-gl 1244 libgudev ;for gstreamer-gl
1255 libjpeg-turbo 1245 libjpeg-turbo
1256 libpng 1246 libpng
1257 librsvg
1258 libtiff 1247 libtiff
1259 python 1248 python
1260 rest 1249 rest
@@ -1263,7 +1252,7 @@ application suites.")
1263 ;; Following dependencies are referenced in .pc files. 1252 ;; Following dependencies are referenced in .pc files.
1264 (list cairo 1253 (list cairo
1265 fontconfig 1254 fontconfig
1266 librsvg 1255 (librsvg-for-system)
1267 glib 1256 glib
1268 graphene 1257 graphene
1269 libepoxy 1258 libepoxy
@@ -2542,15 +2531,13 @@ shell scripts. Example of how to use @code{yad} can be consulted at
2542 (inputs (list gtk+)) 2531 (inputs (list gtk+))
2543 (native-inputs (list pkg-config)) 2532 (native-inputs (list pkg-config))
2544 (arguments 2533 (arguments
2545 `(#:tests? #f ; no check 2534 (list
2546 #:make-flags 2535 #:tests? #f ; no check target
2547 (list (string-append "CC=" ,(cc-for-target)) 2536 #:make-flags #~(list (string-append "CC=" #$(cc-for-target))
2548 ;; makefile uses PREFIX for the binary location 2537 (string-append "PREFIX=" #$output))
2549 (string-append "PREFIX=" (assoc-ref %outputs "out") 2538 #:phases
2550 "/bin")) 2539 #~(modify-phases %standard-phases
2551 #:phases 2540 (delete 'configure)))) ; no configure script
2552 (modify-phases %standard-phases
2553 (delete 'configure)))) ; no configure script
2554 (synopsis "Drag and drop source/target for X") 2541 (synopsis "Drag and drop source/target for X")
2555 (description 2542 (description
2556 "Dragon is a lightweight drag-and-drop source for X where you can run: 2543 "Dragon is a lightweight drag-and-drop source for X where you can run:
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 43eb448c7ef..db653f8c937 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -30,6 +30,7 @@
30;;; Copyright © 2020 Christine Lemmer-Webber <cwebber@dustycloud.org> 30;;; Copyright © 2020 Christine Lemmer-Webber <cwebber@dustycloud.org>
31;;; Copyright © 2021, 2022 Alice BRENON <alice.brenon@ens-lyon.fr> 31;;; Copyright © 2021, 2022 Alice BRENON <alice.brenon@ens-lyon.fr>
32;;; Copyright © 2021 John Kehayias <john.kehayias@protonmail.com> 32;;; Copyright © 2021 John Kehayias <john.kehayias@protonmail.com>
33;;; Copyright © 2022 jgart <jgart@dismail.de>
33;;; 34;;;
34;;; This file is part of GNU Guix. 35;;; This file is part of GNU Guix.
35;;; 36;;;
@@ -75,6 +76,7 @@
75 #:use-module (gnu packages xorg) 76 #:use-module (gnu packages xorg)
76 #:use-module (guix build-system haskell) 77 #:use-module (guix build-system haskell)
77 #:use-module (guix download) 78 #:use-module (guix download)
79 #:use-module (guix gexp)
78 #:use-module (guix git-download) 80 #:use-module (guix git-download)
79 #:use-module (guix utils) 81 #:use-module (guix utils)
80 #:use-module ((guix licenses) #:prefix license:) 82 #:use-module ((guix licenses) #:prefix license:)
@@ -297,14 +299,13 @@ systems.")
297 "042lrkn0dbpjn5ivj6j26jzb1fwrj8c1aj18ykxja89isg0hiali")))) 299 "042lrkn0dbpjn5ivj6j26jzb1fwrj8c1aj18ykxja89isg0hiali"))))
298 (build-system haskell-build-system) 300 (build-system haskell-build-system)
299 (arguments 301 (arguments
300 `(#:phases 302 (list #:phases
301 (modify-phases %standard-phases 303 #~(modify-phases %standard-phases
302 (add-before 'check 'set-check-variables 304 (add-before 'check 'set-check-variables
303 (lambda _ 305 (lambda _
304 (setenv "PATH" (string-append (getcwd) "/dist/build/alex:" 306 (setenv "PATH" (string-append (getcwd) "/dist/build/alex:"
305 (getenv "PATH"))) 307 (getenv "PATH")))
306 (setenv "alex_datadir" (string-append (getcwd) "/data")) 308 (setenv "alex_datadir" (string-append (getcwd) "/data")))))))
307 #t)))))
308 (inputs (list ghc-quickcheck)) 309 (inputs (list ghc-quickcheck))
309 (native-inputs 310 (native-inputs
310 (list which)) 311 (list which))
@@ -16099,6 +16100,24 @@ data Dec a
16099@end example") 16100@end example")
16100 (license license:bsd-3))) 16101 (license license:bsd-3)))
16101 16102
16103(define-public ghc-ansi2html
16104 (package
16105 (name "ghc-ansi2html")
16106 (version "0.9")
16107 (source (origin
16108 (method url-fetch)
16109 (uri (hackage-uri "Ansi2Html" version))
16110 (sha256
16111 (base32
16112 "1dqq1rnx1w0cn4w11knmxvn7qy4lg4m39dgw4rs6r2pjqzgrwarh"))))
16113 (build-system haskell-build-system)
16114 (home-page "http://janzzstimmpfle.de/~jens/software/Ansi2Html/")
16115 (synopsis "Convert ANSI Terminal Sequences to nice HTML markup")
16116 (description
16117 "This package enables integration of terminal screen state in html
16118pages.")
16119 (license license:bsd-3)))
16120
16102(define-public ghc-singleton-bool 16121(define-public ghc-singleton-bool
16103 (package 16122 (package
16104 (name "ghc-singleton-bool") 16123 (name "ghc-singleton-bool")
diff --git a/gnu/packages/ibus.scm b/gnu/packages/ibus.scm
index 0343f58f2cc..4be80ecbe0d 100644
--- a/gnu/packages/ibus.scm
+++ b/gnu/packages/ibus.scm
@@ -41,6 +41,7 @@
41 #:use-module (gnu packages) 41 #:use-module (gnu packages)
42 #:use-module (gnu packages anthy) 42 #:use-module (gnu packages anthy)
43 #:use-module (gnu packages autotools) 43 #:use-module (gnu packages autotools)
44 #:use-module (gnu packages bash)
44 #:use-module (gnu packages base) 45 #:use-module (gnu packages base)
45 #:use-module (gnu packages boost) 46 #:use-module (gnu packages boost)
46 #:use-module (gnu packages check) 47 #:use-module (gnu packages check)
@@ -71,7 +72,7 @@
71(define-public ibus 72(define-public ibus
72 (package 73 (package
73 (name "ibus") 74 (name "ibus")
74 (version "1.5.24") 75 (version "1.5.27")
75 (source (origin 76 (source (origin
76 (method url-fetch) 77 (method url-fetch)
77 (uri (string-append "https://github.com/ibus/ibus/" 78 (uri (string-append "https://github.com/ibus/ibus/"
@@ -79,143 +80,149 @@
79 version "/ibus-" version ".tar.gz")) 80 version "/ibus-" version ".tar.gz"))
80 (sha256 81 (sha256
81 (base32 82 (base32
82 "07s2ly75xv50bqg37mn37i9akqvcfd45k2mbplxrsqk3a2b3mwxb")))) 83 "1pwppcy0xpidxa7db9lykjjjj1rcjrqf5l88f77hgxlnvdddmyvf"))))
83 (build-system glib-or-gtk-build-system) 84 (build-system glib-or-gtk-build-system)
84 (outputs '("out" "doc")) 85 (outputs '("out" "doc"))
85 (arguments 86 (arguments
86 `(#:parallel-build? #f ; race condition discovered with emoji support 87 (list
87 #:configure-flags (list "--enable-python-library" 88 #:configure-flags #~(list "--enable-python-library"
88 "--enable-gtk-doc" 89 "--enable-gtk-doc"
89 "--enable-memconf" 90 "--enable-memconf"
90 (string-append 91 (string-append
91 "--with-unicode-emoji-dir=" 92 "--with-unicode-emoji-dir="
92 (assoc-ref %build-inputs "unicode-emoji") 93 (search-input-directory %build-inputs
93 "/share/unicode/emoji") 94 "share/unicode/emoji"))
94 (string-append 95 (string-append
95 "--with-emoji-annotation-dir=" 96 "--with-emoji-annotation-dir="
96 (assoc-ref %build-inputs "unicode-cldr-common") 97 (search-input-directory
97 "/share/unicode/cldr/common/annotations") 98 %build-inputs
98 (string-append "--with-ucd-dir=" 99 "share/unicode/cldr/common/annotations"))
99 (assoc-ref %build-inputs "ucd") 100 (string-append
100 "/share/ucd") 101 "--with-ucd-dir="
101 "--enable-wayland") 102 (search-input-directory %build-inputs
102 #:phases 103 "share/ucd"))
103 (modify-phases %standard-phases 104 "--enable-wayland"
104 (add-after 'unpack 'disable-failing-tests 105 "--disable-systemd-services")
105 (lambda _ 106 #:make-flags
106 ;; These tests require /etc/machine-id. 107 ;; The GUI tests not only require a DISPLAY, but also a window manager
107 (with-directory-excursion "src/tests" 108 ;; since IBus needs to receive focus-in/out events to test IBus with GTK
108 (substitute* '("ibus-share.c" "ibus-compose.c" 109 ;; applications (see: https://github.com/ibus/ibus/issues/2307).
109 "ibus-keypress.c") 110 #~(list (string-append "DISABLE_GUI_TESTS=ibus-compose "
110 (("[ \t]*return g_test_run \\(\\);") ""))))) 111 "ibus-inputcontext-create "
111 (add-after 'unpack 'patch-docbook-xml 112 "xkb-latin-layouts "))
112 (lambda* (#:key inputs #:allow-other-keys) 113 #:phases
113 (with-directory-excursion "docs/reference/ibus" 114 #~(modify-phases %standard-phases
114 (substitute* "ibus-docs.sgml.in" 115 (add-after 'unpack 'disable-failing-tests
115 (("http://www.oasis-open.org/docbook/xml/4.1.2/") 116 (lambda _
116 (string-append (assoc-ref inputs "docbook-xml") 117 ;; These tests require /etc/machine-id.
117 "/xml/dtd/docbook/")))))) 118 (with-directory-excursion "src/tests"
118 (add-after 'unpack 'patch-python-target-directories 119 (substitute* '("ibus-share.c" "ibus-compose.c"
119 (lambda* (#:key outputs #:allow-other-keys) 120 "ibus-keypress.c")
120 (let ((root (string-append (assoc-ref outputs "out") 121 (("[ \t]*return g_test_run \\(\\);") "")))))
121 "/lib/python" 122 (add-after 'unpack 'patch-docbook-xml
122 ,(version-major+minor (package-version python)) 123 (lambda* (#:key inputs #:allow-other-keys)
123 "/site-packages"))) 124 (with-directory-excursion "docs/reference/ibus"
124 (substitute* "configure" 125 (substitute* "ibus-docs.sgml.in"
125 (("(py2?overridesdir)=.*" _ var) 126 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
126 (string-append var "=" root "/gi/overrides/")) 127 (string-append #$(this-package-native-input "docbook-xml")
127 (("(pkgpython2dir=).*" _ var) 128 "/xml/dtd/docbook/"))))))
128 (string-append var root "/ibus")))))) 129 (add-after 'unpack 'patch-python-target-directories
129 (add-before 'configure 'disable-dconf-update 130 (lambda _
130 (lambda _ 131 (let ((root (string-append #$output
131 (substitute* "data/dconf/Makefile.in" 132 "/lib/python"
132 (("dconf update") "echo dconf update")))) 133 #$(version-major+minor
133 (add-after 'unpack 'delete-generated-files 134 (package-version python))
134 (lambda _ 135 "/site-packages")))
135 (for-each (lambda (file) 136 (substitute* "configure"
136 (let ((c (string-append (string-drop-right file 4) "c"))) 137 (("(py2?overridesdir)=.*" _ var)
137 (when (file-exists? c) 138 (string-append var "=" root "/gi/overrides/"))
138 (format #t "deleting ~a\n" c) 139 (("(pkgpython2dir=).*" _ var)
139 (delete-file c)))) 140 (string-append var root "/ibus"))))))
140 (find-files "." "\\.vala")))) 141 (add-before 'configure 'disable-dconf-update
141 (add-after 'unpack 'fix-paths 142 (lambda _
142 (lambda* (#:key inputs #:allow-other-keys) 143 (substitute* "data/dconf/Makefile.in"
143 (substitute* "src/ibusenginesimple.c" 144 (("dconf update") "echo dconf update"))))
144 (("/usr/share/X11/locale") 145 (add-after 'unpack 'delete-generated-files
145 (search-input-directory inputs 146 (lambda _
146 "share/X11/locale"))) 147 (for-each (lambda (file)
147 (substitute* "ui/gtk3/xkblayout.vala" 148 (let ((c (string-append (string-drop-right file 4) "c")))
148 (("\"(setxkbmap|xmodmap)\"" _ prog) 149 (when (file-exists? c)
149 (string-append "\"" 150 (format #t "deleting ~a\n" c)
150 (search-input-file inputs 151 (delete-file c))))
151 (string-append "bin/" prog)) 152 (find-files "." "\\.vala"))))
152 "\""))))) 153 (add-after 'unpack 'fix-paths
153 (add-before 'check 'pre-check 154 (lambda* (#:key inputs #:allow-other-keys)
154 (lambda _ 155 (substitute* "src/ibusenginesimple.c"
155 ;; Tests write to $HOME. 156 (("/usr/share/X11/locale")
156 (setenv "HOME" (getcwd)) 157 (search-input-directory inputs "share/X11/locale")))
157 ;; Tests look for $XDG_RUNTIME_DIR. 158 (substitute* "ui/gtk3/xkblayout.vala"
158 (setenv "XDG_RUNTIME_DIR" (getcwd)) 159 (("\"(setxkbmap|xmodmap)\"" _ prog)
159 ;; For missing '/etc/machine-id'. 160 (format #f "~s" (search-input-file
160 (setenv "DBUS_FATAL_WARNINGS" "0") 161 inputs (string-append "bin/" prog)))))))
161 ;; Tests require a running X server. 162 (add-before 'check 'pre-check
162 (system "Xvfb :1 +extension GLX &") 163 (lambda _
163 (setenv "DISPLAY" ":1") 164 ;; Tests write to $HOME.
164 ;; Tests require running iBus daemon. 165 (setenv "HOME" (getcwd))
165 (system "./bus/ibus-daemon --daemonize"))) 166 ;; Tests look for $XDG_RUNTIME_DIR.
166 (add-after 'install 'move-doc 167 (setenv "XDG_RUNTIME_DIR" (getcwd))
167 (lambda* (#:key outputs #:allow-other-keys) 168 ;; For missing '/etc/machine-id'.
168 (let* ((out (assoc-ref outputs "out")) 169 (setenv "DBUS_FATAL_WARNINGS" "0")
169 (doc (assoc-ref outputs "doc"))) 170 ;; Tests require a running X server.
170 (mkdir-p (string-append doc "/share")) 171 (system "Xvfb :1 +extension GLX &")
171 (rename-file 172 (setenv "DISPLAY" ":1")
172 (string-append out "/share/gtk-doc") 173 ;; Tests require running iBus daemon.
173 (string-append doc "/share/gtk-doc"))))) 174 (system "./bus/ibus-daemon --daemonize")))
174 (add-after 'wrap-program 'wrap-with-additional-paths 175 (add-after 'install 'move-doc
175 (lambda* (#:key outputs #:allow-other-keys) 176 (lambda _
176 ;; Make sure 'ibus-setup' runs with the correct PYTHONPATH and 177 (mkdir-p (string-append #$output:doc "/share"))
177 ;; GI_TYPELIB_PATH. 178 (rename-file
178 (let ((out (assoc-ref outputs "out"))) 179 (string-append #$output "/share/gtk-doc")
179 (wrap-program (string-append out "/bin/ibus-setup") 180 (string-append #$output:doc "/share/gtk-doc"))))
180 `("GUIX_PYTHONPATH" ":" prefix (,(getenv "GUIX_PYTHONPATH"))) 181 (add-after 'wrap-program 'wrap-with-additional-paths
181 `("GI_TYPELIB_PATH" ":" prefix 182 (lambda* (#:key outputs #:allow-other-keys)
182 (,(getenv "GI_TYPELIB_PATH") 183 ;; Make sure 'ibus-setup' runs with the correct PYTHONPATH and
183 ,(string-append out "/lib/girepository-1.0")))))))))) 184 ;; GI_TYPELIB_PATH.
185 (wrap-program (search-input-file outputs "bin/ibus-setup")
186 `("GUIX_PYTHONPATH" ":" prefix (,(getenv "GUIX_PYTHONPATH")))
187 `("GI_TYPELIB_PATH" ":" prefix
188 (,(getenv "GI_TYPELIB_PATH")
189 ,(string-append #$output "/lib/girepository-1.0")))))))))
184 (inputs 190 (inputs
185 `(("dbus" ,dbus) 191 (list bash-minimal
186 ("dconf" ,dconf) 192 dbus
187 ("glib" ,glib) 193 dconf
188 ("gtk2" ,gtk+-2) 194 glib
189 ("gtk+" ,gtk+) 195 gtk+-2
190 ("iso-codes" ,iso-codes) 196 gtk+
191 ("json-glib" ,json-glib) 197 iso-codes
192 ("libnotify" ,libnotify) 198 json-glib
193 ("libx11" ,libx11) 199 libnotify
194 ("libxkbcommon" ,libxkbcommon) 200 libx11
195 ("libxtst" ,libxtst) 201 libxkbcommon
196 ("pygobject" ,python-pygobject) 202 libxtst
197 ("python" ,python) 203 python-pygobject
198 ("python-dbus" ,python-dbus) 204 python
199 ("setxkbmap" ,setxkbmap) 205 python-dbus
200 ("ucd" ,ucd) 206 setxkbmap
201 ("unicode-cldr-common" ,unicode-cldr-common) 207 ucd
202 ("unicode-emoji" ,unicode-emoji) 208 unicode-cldr-common
203 ("wayland" ,wayland) 209 unicode-emoji
204 ("xmodmap" ,xmodmap))) 210 wayland
211 xmodmap))
205 (native-inputs 212 (native-inputs
206 `(("docbook-xml" ,docbook-xml-4.1.2) 213 (list docbook-xml-4.1.2
207 ("glib" ,glib "bin") ; for glib-genmarshal 214 `(,glib "bin") ;for glib-genmarshal
208 ("gettext" ,gettext-minimal) 215 gettext-minimal
209 ("gnome-common" ,gnome-common) 216 gnome-common
210 ("gobject-introspection" ,gobject-introspection) ; for g-ir-compiler 217 gobject-introspection ;for g-ir-compiler
211 ("gtk+:bin" ,gtk+ "bin") 218 `(,gtk+ "bin")
212 ("gtk-doc" ,gtk-doc) 219 gtk-doc
213 ("perl" ,perl) 220 perl
214 ("pkg-config" ,pkg-config) 221 pkg-config
215 ("python-wrapper" ,python-wrapper) 222 python-wrapper
216 ("vala" ,vala) 223 vala
217 ("which" ,which) 224 which
218 ("xorg-server" ,xorg-server-for-tests))) 225 xorg-server-for-tests))
219 (native-search-paths 226 (native-search-paths
220 (list (search-path-specification 227 (list (search-path-specification
221 (variable "IBUS_COMPONENT_PATH") 228 (variable "IBUS_COMPONENT_PATH")
diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm
index 0225f726519..aa8efd97c6e 100644
--- a/gnu/packages/image-processing.scm
+++ b/gnu/packages/image-processing.scm
@@ -391,7 +391,7 @@ many popular formats.")
391 mesa 391 mesa
392 netcdf 392 netcdf
393 libpng 393 libpng
394 proj 394 proj-7
395 python 395 python
396 ;("pugixml" ,pugixml) 396 ;("pugixml" ,pugixml)
397 sqlite 397 sqlite
diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index ccc36007b4d..d1e04c3ae0b 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -2,7 +2,7 @@
2;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz> 2;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
3;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr> 3;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
4;;; Copyright © 2019, 2020 Martin Becze <mjbecze@riseup.net> 4;;; Copyright © 2019, 2020 Martin Becze <mjbecze@riseup.net>
5;;; Copyright © 2020, 2021 Michael Rohleder <mike@rohleder.de> 5;;; Copyright © 2020, 2021, 2022 Michael Rohleder <mike@rohleder.de>
6;;; 6;;;
7;;; This file is part of GNU Guix. 7;;; This file is part of GNU Guix.
8;;; 8;;;
@@ -22,6 +22,7 @@
22(define-module (gnu packages ipfs) 22(define-module (gnu packages ipfs)
23 #:use-module ((guix licenses) #:prefix license:) 23 #:use-module ((guix licenses) #:prefix license:)
24 #:use-module (guix packages) 24 #:use-module (guix packages)
25 #:use-module (guix gexp)
25 #:use-module (guix git-download) 26 #:use-module (guix git-download)
26 #:use-module (guix download) 27 #:use-module (guix download)
27 #:use-module (guix build-system go) 28 #:use-module (guix build-system go)
@@ -229,10 +230,28 @@ written in Go.")
229 (file-name (string-append name "-" version "-source")))) 230 (file-name (string-append name "-" version "-source"))))
230 (build-system go-build-system) 231 (build-system go-build-system)
231 (arguments 232 (arguments
232 `(#:unpack-path "github.com/ipfs/go-ipfs" 233 (list
233 #:import-path "github.com/ipfs/go-ipfs/cmd/ipfs")) 234 #:unpack-path "github.com/ipfs/go-ipfs"
235 #:import-path "github.com/ipfs/go-ipfs/cmd/ipfs"
236 #:phases
237 #~(modify-phases %standard-phases
238 ;; https://github.com/ipfs/kubo/blob/master/docs/command-completion.md
239 (add-after 'install 'install-bashcompletion
240 (lambda _
241 (let ((completiondir (string-append #$output
242 "/etc/bash_completion.d")))
243 (mkdir-p completiondir)
244 (with-output-to-file (string-append completiondir "/ipfs")
245 (lambda _
246 (invoke #$(if (%current-target-system)
247 "ipfs"
248 #~(string-append #$output "/bin/ipfs"))
249 "commands" "completion" "bash")))))))))
234 (native-inputs 250 (native-inputs
235 (list python-minimal-wrapper zsh)) 251 (append (if (%current-target-system)
252 (list this-package)
253 '())
254 (list python-minimal-wrapper zsh)))
236 (home-page "https://ipfs.io") 255 (home-page "https://ipfs.io")
237 (synopsis "Go implementation of IPFS, a peer-to-peer hypermedia protocol") 256 (synopsis "Go implementation of IPFS, a peer-to-peer hypermedia protocol")
238 (description "IPFS is a global, versioned, peer-to-peer file system. It 257 (description "IPFS is a global, versioned, peer-to-peer file system. It
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index ce6bc4fe9d8..8b3b172ae9a 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -8081,12 +8081,14 @@ more efficient storage-wise than an uncompressed bitmap (as implemented in the
8081 (name "java-slf4j-api") 8081 (name "java-slf4j-api")
8082 (version "1.7.25") 8082 (version "1.7.25")
8083 (source (origin 8083 (source (origin
8084 (method url-fetch) 8084 (method git-fetch)
8085 (uri (string-append "https://www.slf4j.org/dist/slf4j-" 8085 (uri (git-reference
8086 version ".tar.gz")) 8086 (url "https://github.com/qos-ch/slf4j")
8087 (commit (string-append "v_" version))))
8088 (file-name (git-file-name name version))
8087 (sha256 8089 (sha256
8088 (base32 8090 (base32
8089 "13j51sgzmhhdrfa74gkal5zpip7r1440dh7zsi2c8bpb2zs1v8kb")) 8091 "15n42zq3k1iyn752nwdcbs44hxns2rmxhglwjfr4np7lxx56apjl"))
8090 (modules '((guix build utils))) 8092 (modules '((guix build utils)))
8091 ;; Delete bundled jars. 8093 ;; Delete bundled jars.
8092 (snippet 8094 (snippet
@@ -8182,6 +8184,38 @@ all events to System.err. Only messages of level INFO and higher are
8182printed.") 8184printed.")
8183 (license license:expat))) 8185 (license license:expat)))
8184 8186
8187(define-public java-slf4j-nop
8188 (package
8189 (name "java-slf4j-nop")
8190 (version "1.7.25")
8191 (source (package-source java-slf4j-api))
8192 (build-system ant-build-system)
8193 (arguments
8194 `(#:jar-name "slf4j-nop.jar"
8195 #:source-dir "slf4j-nop/src/main"
8196 #:test-dir "slf4j-nop/src/test"
8197 #:phases (modify-phases %standard-phases
8198 ;; The tests need some test classes from slf4j-api
8199 (add-before 'check 'build-slf4j-api-test-helpers
8200 (lambda _
8201 ;; Add current dir to CLASSPATH ...
8202 (setenv "CLASSPATH"
8203 (string-append (getcwd) ":"
8204 (getenv "CLASSPATH")))
8205 ;; ... and build test helper classes here:
8206 (apply invoke
8207 `("javac" "-d" "."
8208 ,@(find-files "slf4j-api/src/test" ".*\\.java")))))
8209 (replace 'install
8210 (install-from-pom "slf4j-nop/pom.xml")))))
8211 (propagated-inputs (list java-slf4j-api))
8212 (native-inputs (list java-junit java-hamcrest-core))
8213 (home-page "https://www.slf4j.org/")
8214 (synopsis "SLF4J binding that silently discards all logging messages")
8215 (description "Binding/provider for NOP, an implementation that silently
8216discards all logging messages.")
8217 (license license:expat)))
8218
8185(define-public antlr2 8219(define-public antlr2
8186 (package 8220 (package
8187 (name "antlr2") 8221 (name "antlr2")
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 6103f0cdd22..34007406498 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -44,7 +44,7 @@
44;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org> 44;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
45;;; Copyright © 2020 Morgan Smith <Morgan.J.Smith@outlook.com> 45;;; Copyright © 2020 Morgan Smith <Morgan.J.Smith@outlook.com>
46;;; Copyright © 2020 John Soo <jsoo1@asu.edu> 46;;; Copyright © 2020 John Soo <jsoo1@asu.edu>
47;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de> 47;;; Copyright © 2020, 2022 Michael Rohleder <mike@rohleder.de>
48;;; Copyright © 2020 Anders Thuné <asse.97@gmail.com> 48;;; Copyright © 2020 Anders Thuné <asse.97@gmail.com>
49;;; Copyright © 2020, 2021 Greg Hogan <code@greghogan.com> 49;;; Copyright © 2020, 2021 Greg Hogan <code@greghogan.com>
50;;; Copyright © 2020 Zhu Zihao <all_but_last@163.com> 50;;; Copyright © 2020 Zhu Zihao <all_but_last@163.com>
@@ -1469,7 +1469,7 @@ supported under @file{/sys/class/backlight/}.")
1469(define-public v4l2loopback-linux-module 1469(define-public v4l2loopback-linux-module
1470 (package 1470 (package
1471 (name "v4l2loopback-linux-module") 1471 (name "v4l2loopback-linux-module")
1472 (version "0.12.5") 1472 (version "0.12.7")
1473 (source (origin 1473 (source (origin
1474 (method git-fetch) 1474 (method git-fetch)
1475 (uri (git-reference 1475 (uri (git-reference
@@ -1478,7 +1478,7 @@ supported under @file{/sys/class/backlight/}.")
1478 (file-name (git-file-name name version)) 1478 (file-name (git-file-name name version))
1479 (sha256 1479 (sha256
1480 (base32 1480 (base32
1481 "1qi4l6yam8nrlmc3zwkrz9vph0xsj1cgmkqci4652mbpbzigg7vn")))) 1481 "1yghxl7gjr1zxi3a1kiz6d7yh68z64xayzm925zan4jqhrwv1h68"))))
1482 (build-system linux-module-build-system) 1482 (build-system linux-module-build-system)
1483 (arguments 1483 (arguments
1484 (list #:tests? #f)) ; no test suite 1484 (list #:tests? #f)) ; no test suite
@@ -8655,11 +8655,11 @@ of Linux application development.")
8655 (base32 8655 (base32
8656 "066g4ri2k8pdflclvr2919f6x98gmqrqyj1xyiingw2nn2pwgcf1")))) 8656 "066g4ri2k8pdflclvr2919f6x98gmqrqyj1xyiingw2nn2pwgcf1"))))
8657 (arguments 8657 (arguments
8658 '(#:configure-flags 8658 (list
8659 (list (string-append "-Dudevrulesdir=" (assoc-ref %outputs "out") 8659 #:configure-flags
8660 "/lib/udev/rules.d") 8660 #~(list (string-append "-Dudevrulesdir=" #$output "/lib/udev/rules.d")
8661 "-Dsystemd=disabled" 8661 "-Dsystemd=disabled"
8662 "-Dsession-managers=[]"))) 8662 "-Dsession-managers=[]")))
8663 (inputs (modify-inputs (package-inputs pipewire) 8663 (inputs (modify-inputs (package-inputs pipewire)
8664 (prepend avahi 8664 (prepend avahi
8665 bluez 8665 bluez
@@ -9291,3 +9291,30 @@ desktop.")
9291directly from the kernel device and prints a device description and the events 9291directly from the kernel device and prints a device description and the events
9292with the value and the symbolic name.") 9292with the value and the symbolic name.")
9293 (license license:gpl2+))) 9293 (license license:gpl2+)))
9294
9295(define-public tp-smapi-module
9296 (package
9297 (name "tp-smapi-module")
9298 (version "0.43")
9299 (source (origin
9300 (method git-fetch)
9301 (uri (git-reference
9302 (url "https://github.com/linux-thinkpad/tp_smapi")
9303 (commit (string-append "tp-smapi/" version))))
9304 (file-name (git-file-name name version))
9305 (sha256
9306 (base32
9307 "1rjb0njckczc2mj05cagvj0lkyvmyk6bw7wkiinv81lw8m90g77g"))))
9308 (build-system linux-module-build-system)
9309 (arguments
9310 `(#:tests? #f)) ;there are none.
9311 (home-page "https://github.com/linux-thinkpad/tp_smapi")
9312 (synopsis
9313 "Linux Kernel module exposing features of ThinkPad hardware")
9314 (description
9315 "This package provides a Linux Kernel module that allows to control
9316battery charging of specific ThinkPad laptops. It also includes an improved
9317version of the HDAPS driver. The underlying hardware interfaces are
9318@acronym{SMAPI, System Management Application Program Interface} and direct
9319access to the embedded controller.")
9320 (license license:gpl2+)))
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index d07eace4799..07fca27e1eb 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -35,6 +35,8 @@
35;;; Copyright © 2022 Paul A. Patience <paul@apatience.com> 35;;; Copyright © 2022 Paul A. Patience <paul@apatience.com>
36;;; Copyright © 2022 Thomas Albers Raviola <thomas@thomaslabs.org> 36;;; Copyright © 2022 Thomas Albers Raviola <thomas@thomaslabs.org>
37;;; Copyright © 2022 Arun Isaac <arunisaac@systemreboot.net> 37;;; Copyright © 2022 Arun Isaac <arunisaac@systemreboot.net>
38;;; Copyright © 2022 Trevor Richards <trev@trevdev.ca>
39;;; Copyright © 2022 Artyom Bologov <mail@aartaka.me>
38;;; 40;;;
39;;; This file is part of GNU Guix. 41;;; This file is part of GNU Guix.
40;;; 42;;;
@@ -184,6 +186,34 @@ portable between implementations.")
184(define-public ecl-alexandria 186(define-public ecl-alexandria
185 (sbcl-package->ecl-package sbcl-alexandria)) 187 (sbcl-package->ecl-package sbcl-alexandria))
186 188
189(define-public sbcl-alea
190 (package
191 (name "sbcl-alea")
192 (version "1.0")
193 (source
194 (origin
195 (method git-fetch)
196 (uri (git-reference
197 (url "https://github.com/eXodiquas/alea")
198 (commit (string-append "v" version))))
199 (file-name (git-file-name "cl-alea" version))
200 (sha256
201 (base32 "0nd9fdjli22ygfw3c8k9nh7d36c92866hics5aij6x7ly1q781gz"))))
202 (build-system asdf-build-system/sbcl)
203 (native-inputs (list sbcl-fiveam))
204 (synopsis "Dice rolling library")
205 (description
206 "This package provides a Common Lisp library for dice rolling and working
207with dice-roll statistics.")
208 (home-page "https://github.com/eXodiquas/alea")
209 (license license:expat)))
210
211(define-public cl-alea
212 (sbcl-package->cl-source-package sbcl-alea))
213
214(define-public ecl-alea
215 (sbcl-package->ecl-package sbcl-alea))
216
187(define-public sbcl-map-bind 217(define-public sbcl-map-bind
188 (let ((commit "532d55d93540c632e22b2cd264b5daa5f9d3d900") 218 (let ((commit "532d55d93540c632e22b2cd264b5daa5f9d3d900")
189 (revision "0")) 219 (revision "0"))
@@ -292,6 +322,37 @@ collection.")
292(define-public cl-bodge-utilities 322(define-public cl-bodge-utilities
293 (sbcl-package->cl-source-package sbcl-bodge-utilities)) 323 (sbcl-package->cl-source-package sbcl-bodge-utilities))
294 324
325(define-public sbcl-meta
326 (let ((commit "74faea662139fbbfb9c99341aaed989f5b0e9da3")
327 (revision "0"))
328 (package
329 (name "sbcl-meta")
330 (version (git-version "1.0.0" revision commit))
331 (source
332 (origin
333 (method git-fetch)
334 (uri (git-reference
335 (url "https://gitlab.common-lisp.net/frideau/meta")
336 (commit commit)))
337 (file-name (git-file-name "cl-meta" version))
338 (sha256
339 (base32 "08s53zj3mcx82kszp1bg2vsb4kydvkc70kj4hpq9h1l5a1wh44cy"))))
340 (build-system asdf-build-system/sbcl)
341 (inputs
342 (list sbcl-named-readtables))
343 (home-page "https://gitlab.common-lisp.net/frideau/meta")
344 (synopsis "Recursive-descent parser DSL for Common Lisp")
345 (description
346 "This package provides a recursive-descent parser DSL for Common Lisp.
347It's intended as a simpler alternative to parser generators.")
348 (license license:bsd-2))))
349
350(define-public cl-meta
351 (sbcl-package->cl-source-package sbcl-meta))
352
353(define-public ecl-meta
354 (sbcl-package->ecl-package sbcl-meta))
355
295(define-public sbcl-bodge-queue 356(define-public sbcl-bodge-queue
296 (let ((commit "948c9a501dcd412689952d09eb7453ec2722336a") 357 (let ((commit "948c9a501dcd412689952d09eb7453ec2722336a")
297 (revision "0")) 358 (revision "0"))
@@ -3808,6 +3869,37 @@ and designers will be able to understand the embedded HTML.")
3808(define-public cl-markup-reader 3869(define-public cl-markup-reader
3809 (sbcl-package->cl-source-package sbcl-markup-reader)) 3870 (sbcl-package->cl-source-package sbcl-markup-reader))
3810 3871
3872(define-public sbcl-xml-emitter
3873 (package
3874 (name "sbcl-xml-emitter")
3875 (version "1.1.0")
3876 (source (origin
3877 (method git-fetch)
3878 (uri (git-reference
3879 (url "https://github.com/VitoVan/xml-emitter")
3880 (commit version)))
3881 (file-name (git-file-name "cl-xml-emitter" version))
3882 (sha256
3883 (base32
3884 "1w9yx8gc4imimvjqkhq8yzpg3kjrp2y37rjix5c1lnz4s7bxvhk9"))))
3885 (build-system asdf-build-system/sbcl)
3886 (native-inputs (list sbcl-1am))
3887 (inputs (list sbcl-cl-utilities))
3888 (synopsis "Common lisp library for emitting XML output")
3889 (description
3890 "This package provides functions to emit XML, with some complexity for
3891handling indentation. It can be used to produce all sorts of useful XML
3892output; it has an RSS 2.0 emitter built in, so you can make RSS feeds
3893trivially.")
3894 (home-page "https://www.cliki.net/xml-emitter")
3895 (license license:expat)))
3896
3897(define-public cl-xml-emitter
3898 (sbcl-package->cl-source-package sbcl-xml-emitter))
3899
3900(define-public ecl-xml-emitter
3901 (sbcl-package->ecl-package sbcl-xml-emitter))
3902
3811(define-public sbcl-cl-mustache 3903(define-public sbcl-cl-mustache
3812 (package 3904 (package
3813 (name "sbcl-cl-mustache") 3905 (name "sbcl-cl-mustache")
@@ -7375,8 +7467,8 @@ cl-plumbing libraries.")
7375 (sbcl-package->ecl-package sbcl-cl-octet-streams)) 7467 (sbcl-package->ecl-package sbcl-cl-octet-streams))
7376 7468
7377(define-public sbcl-lzlib 7469(define-public sbcl-lzlib
7378 (let ((commit "c8102fc8c959b7c418eb60657bd6c8b875f10ba9") 7470 (let ((commit "22767ca12d1c1bd59a7ae1f9c5ef7d2e937206bb")
7379 (revision "1")) 7471 (revision "2"))
7380 (package 7472 (package
7381 (name "sbcl-lzlib") 7473 (name "sbcl-lzlib")
7382 (version (git-version "2.0" revision commit)) 7474 (version (git-version "2.0" revision commit))
@@ -7388,7 +7480,7 @@ cl-plumbing libraries.")
7388 (commit commit))) 7480 (commit commit)))
7389 (file-name (git-file-name "cl-lzlib" version)) 7481 (file-name (git-file-name "cl-lzlib" version))
7390 (sha256 7482 (sha256
7391 (base32 "1glg1y1s1mqgypvxp0ss11cicrddri006wqwhy47lgq7mk5853zz")))) 7483 (base32 "1dxzlkay7aqcs65h2f7j7rl4sdjija60dshlahzyllfw174p9d3m"))))
7392 (build-system asdf-build-system/sbcl) 7484 (build-system asdf-build-system/sbcl)
7393 (native-inputs 7485 (native-inputs
7394 (list sbcl-fiveam)) 7486 (list sbcl-fiveam))
@@ -22041,6 +22133,106 @@ instead of #'FOO.
22041(define-public ecl-nkeymaps 22133(define-public ecl-nkeymaps
22042 (sbcl-package->ecl-package sbcl-nkeymaps)) 22134 (sbcl-package->ecl-package sbcl-nkeymaps))
22043 22135
22136(define-public sbcl-njson
22137 (package
22138 (name "sbcl-njson")
22139 (version "0.1.0")
22140 (source (origin
22141 (method git-fetch)
22142 (uri (git-reference
22143 (url "https://github.com/atlas-engineer/njson")
22144 (commit version)))
22145 (file-name (git-file-name "cl-njson" version))
22146 (sha256
22147 (base32
22148 "0lv3q1841s4avii1jp89r91jq21sids2ycpy2id0kzhrljzhmy6j"))))
22149 (build-system asdf-build-system/sbcl)
22150 (inputs (list sbcl-cl-json))
22151 (native-inputs (list sbcl-lisp-unit2))
22152 (home-page "https://github.com/atlas-engineer/njson")
22153 (synopsis "JSON handling framework for Common Lisp")
22154 (description
22155 "NJSON aims to make it convenient for one to decode, encode,
22156and process JSON data, in the minimum keystrokes/minutes possible.
22157
22158NJSON is parser-independent, with existing Common Lisp JSON parsers being
22159loadable as additional system. @code{cl-json} is included by default, though.
22160Conveniences that NJSON provides are:
22161
22162@itemize
22163
22164@item @code{encode} and @code{decode} as single entry points for JSON reading
22165and writing, be it from streams/string/files, or from those.
22166
22167@item @code{jget}, @code{jrem}, @code{jtruep}, and their aliases to
22168access/delete the decoded objects' properties and check their truth value
22169without the need to worry about the low-level details of how these values are
22170decoded.
22171
22172@item @code{jif}, @code{jwhen}, @code{jor}, @code{jand}, and other macros
22173mimicking Lisp ones, while using truth values of JSON-decoded data.
22174
22175@end itemize\n")
22176 (license license:bsd-3)))
22177
22178(define-public cl-njson
22179 (sbcl-package->cl-source-package sbcl-njson))
22180
22181(define-public ecl-njson
22182 (sbcl-package->ecl-package sbcl-njson))
22183
22184(define-public sbcl-nactivitypub
22185 (package
22186 (name "sbcl-nactivitypub")
22187 (version "0.0.1")
22188 (source (origin
22189 (method git-fetch)
22190 (uri (git-reference
22191 (url "https://github.com/atlas-engineer/nactivitypub")
22192 (commit version)))
22193 (file-name (git-file-name "cl-nactivitypub" version))
22194 (sha256
22195 (base32
22196 "07n8a9cfzc96kwsb6z4v5ns09ad2qyq45bjb779azcs7ds144a6r"))))
22197 (build-system asdf-build-system/sbcl)
22198 (inputs (list sbcl-cl-str
22199 sbcl-dexador
22200 sbcl-local-time
22201 sbcl-lparallel
22202 sbcl-njson
22203 sbcl-quri
22204 sbcl-serapeum))
22205 (home-page "https://github.com/atlas-engineer/nactivitypub")
22206 (synopsis
22207 "Common Lisp implementation of ActivityPub and ActivityStreams standards")
22208 (description
22209 "This package provides a Common Lisp implementation of ActivityPub and
22210ActivityStreams standards for social networking.
22211
22212Features:
22213@itemize
22214
22215@item Parsing and un-parsing ActivityStreams JSON-LD objects to/from CLOS
22216objects with convenient accessors on those.
22217
22218@item Sending and fetching ActivityStreams objects to/from the
22219ActivityStreams-enabled HTTP(S) URLs.
22220
22221@item Semantic info extraction with methods like @code{name*}, @code{url*},
22222@code{author*}, and @code{published*}.
22223
22224@item No reliance on JSON parser. @code{njson} is used for parser-independent
22225JSON handling. Load the parser backend you prefer!
22226
22227@end itemize")
22228 (license license:bsd-3)))
22229
22230(define-public cl-nactivitypub
22231 (sbcl-package->cl-source-package sbcl-nactivitypub))
22232
22233(define-public ecl-nactivitypub
22234 (sbcl-package->ecl-package sbcl-nactivitypub))
22235
22044(define-public sbcl-utils-kt 22236(define-public sbcl-utils-kt
22045 (let ((commit "4adfe2889036ab5ffdd3cc2182ca2cc692bf11ff")) 22237 (let ((commit "4adfe2889036ab5ffdd3cc2182ca2cc692bf11ff"))
22046 (package 22238 (package
@@ -23874,6 +24066,67 @@ processing named definitions.")
23874(define-public ecl-definitions-systems 24066(define-public ecl-definitions-systems
23875 (sbcl-package->ecl-package sbcl-definitions-systems)) 24067 (sbcl-package->ecl-package sbcl-definitions-systems))
23876 24068
24069(define-public sbcl-draw-cons-tree
24070 (let ((commit "04334f5885a85cd7127db8dda3f6d6686a0438b1")
24071 (revision "0"))
24072 (package
24073 (name "sbcl-draw-cons-tree")
24074 (version (git-version "1.0" revision commit))
24075 ;; https://github.com/quicklisp/quicklisp-projects/issues/2149
24076 (source
24077 (origin
24078 (method git-fetch)
24079 (uri (git-reference
24080 (url "https://github.com/phoe/draw-cons-tree")
24081 (commit commit)))
24082 (file-name (git-file-name "cl-draw-cons-tree" version))
24083 (sha256
24084 (base32 "1523bdkq8a5qn0qp9q7r16w47y6jb0hkfj7hbjfj6mg3xv001s3x"))))
24085 (build-system asdf-build-system/sbcl)
24086 (native-inputs
24087 (list sbcl-fiveam sbcl-split-sequence))
24088 (inputs
24089 (list sbcl-alexandria))
24090 (synopsis "Draw an ascii picture of a cons tree")
24091 (description
24092 "@code{cl-draw-cons-tree} draws a cons tree in ASCII-art style.")
24093 (home-page "https://github.com/phoe/draw-cons-tree/")
24094 (license license:unlicense))))
24095
24096(define-public cl-draw-cons-tree
24097 (sbcl-package->cl-source-package sbcl-draw-cons-tree))
24098
24099(define-public ecl-draw-cons-tree
24100 (sbcl-package->ecl-package sbcl-draw-cons-tree))
24101
24102(define-public sbcl-cl-morse
24103 (package
24104 (name "sbcl-cl-morse")
24105 (version "1.0.0")
24106 (source
24107 (origin
24108 (method git-fetch)
24109 (uri (git-reference
24110 (url "https://github.com/em7/cl-morse")
24111 (commit (string-append "v" version))))
24112 (file-name (git-file-name "cl-morse" version))
24113 (sha256
24114 (base32 "01sh34nhbsx2dsrb2r1vkd4j8lzm9gjd5jfi8a4cs4m3djjwhh5i"))))
24115 (build-system asdf-build-system/sbcl)
24116 (inputs (list sbcl-cl-ppcre))
24117 (native-inputs (list sbcl-fiveam))
24118 (home-page "https://github.com/em7/cl-morse")
24119 (synopsis "Morse code translation library for Common Lisp")
24120 (description
24121 "@code{cl-morse} is a Morse code translation library for Common Lisp.")
24122 (license license:bsd-3)))
24123
24124(define-public cl-morse
24125 (sbcl-package->cl-source-package sbcl-cl-morse))
24126
24127(define-public ecl-cl-morse
24128 (sbcl-package->ecl-package sbcl-cl-morse))
24129
23877(define-public sbcl-smug 24130(define-public sbcl-smug
23878 (let ((commit "647a2428df297e1dd183ba7c19574bdb1320ae79") 24131 (let ((commit "647a2428df297e1dd183ba7c19574bdb1320ae79")
23879 (revision "0")) 24132 (revision "0"))
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index e9c623dda3e..77706c88ae3 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -988,7 +988,7 @@ the HTML documentation of TXR.")
988(define-public txr 988(define-public txr
989 (package 989 (package
990 (name "txr") 990 (name "txr")
991 (version "280") 991 (version "281")
992 (source 992 (source
993 (origin 993 (origin
994 (method git-fetch) 994 (method git-fetch)
@@ -997,7 +997,7 @@ the HTML documentation of TXR.")
997 (commit (string-append "txr-" version)))) 997 (commit (string-append "txr-" version))))
998 (file-name (git-file-name name version)) 998 (file-name (git-file-name name version))
999 (sha256 999 (sha256
1000 (base32 "1ni2yb9dggldgizfp13mvrw5vzk13pg74dpk2lyn9dijqvs293s4")))) 1000 (base32 "18sncprahl41hcy9l6mc4vwlaiamkwrs805974g4vci4waccb37k"))))
1001 (build-system gnu-build-system) 1001 (build-system gnu-build-system)
1002 (arguments 1002 (arguments
1003 `(#:configure-flags 1003 `(#:configure-flags
@@ -1236,7 +1236,7 @@ including a built-in database engine and a GUI system.")
1236(define-public janet 1236(define-public janet
1237 (package 1237 (package
1238 (name "janet") 1238 (name "janet")
1239 (version "1.24.0") 1239 (version "1.24.1")
1240 (source 1240 (source
1241 (origin 1241 (origin
1242 (method git-fetch) 1242 (method git-fetch)
@@ -1245,7 +1245,7 @@ including a built-in database engine and a GUI system.")
1245 (commit (string-append "v" version)))) 1245 (commit (string-append "v" version))))
1246 (file-name (git-file-name name version)) 1246 (file-name (git-file-name name version))
1247 (sha256 1247 (sha256
1248 (base32 "07kyjzbj5g197008n9qwpdnagylzlv8x4zbsf2d233mpskv3dixi")))) 1248 (base32 "1zaf2z2x5mgfp2nwj3q6pmcj558mw1772a09xn8b8na0cahxlrmq"))))
1249 (build-system gnu-build-system) 1249 (build-system gnu-build-system)
1250 (arguments 1250 (arguments
1251 (list #:make-flags 1251 (list #:make-flags
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index c61428486c0..0a120659788 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -1097,7 +1097,7 @@ computing environments.")
1097(define-public python-scikit-learn 1097(define-public python-scikit-learn
1098 (package 1098 (package
1099 (name "python-scikit-learn") 1099 (name "python-scikit-learn")
1100 (version "1.0.2") 1100 (version "1.1.2")
1101 (source 1101 (source
1102 (origin 1102 (origin
1103 (method git-fetch) 1103 (method git-fetch)
@@ -1107,7 +1107,7 @@ computing environments.")
1107 (file-name (git-file-name name version)) 1107 (file-name (git-file-name name version))
1108 (sha256 1108 (sha256
1109 (base32 1109 (base32
1110 "1rli53544vlsnmx4v4xcb8fdqcy5n3zksl4plwp76gsmrppb2lig")))) 1110 "0wcngyfm2fl3vgyi2aq6j5fvky5185xjzgip64968wqj1hmir5nv"))))
1111 (build-system python-build-system) 1111 (build-system python-build-system)
1112 (arguments 1112 (arguments
1113 `(#:phases 1113 `(#:phases
@@ -1128,10 +1128,14 @@ computing environments.")
1128 ;; Some tests require write access to $HOME. 1128 ;; Some tests require write access to $HOME.
1129 (setenv "HOME" "/tmp") 1129 (setenv "HOME" "/tmp")
1130 1130
1131 (invoke "pytest" "sklearn" "-m" "not network" 1131 ;; Step out of the source directory to avoid interference;
1132 "-n" (number->string (parallel-job-count)) 1132 ;; we want to run the installed code with extensions etc.
1133 ;; This test tries to access the internet. 1133 (with-directory-excursion "/tmp"
1134 "-k" "not test_load_boston_alternative"))))))) 1134 (invoke "pytest" "-vv" "--pyargs" "sklearn"
1135 "-m" "not network"
1136 "-n" (number->string (parallel-job-count))
1137 ;; This test tries to access the internet.
1138 "-k" "not test_load_boston_alternative"))))))))
1135 (inputs (list openblas)) 1139 (inputs (list openblas))
1136 (native-inputs 1140 (native-inputs
1137 (list python-cython 1141 (list python-cython
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 520d70a0e2b..43b4a668905 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -24,7 +24,7 @@
24;;; Copyright © 2020 Reza Alizadeh Majd <r.majd@pantherx.org> 24;;; Copyright © 2020 Reza Alizadeh Majd <r.majd@pantherx.org>
25;;; Copyright © 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de> 25;;; Copyright © 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de>
26;;; Copyright © 2020 Mason Hock <chaosmonk@riseup.net> 26;;; Copyright © 2020 Mason Hock <chaosmonk@riseup.net>
27;;; Copyright © 2020, 2021 Michael Rohleder <mike@rohleder.de> 27;;; Copyright © 2020, 2021, 2022 Michael Rohleder <mike@rohleder.de>
28;;; Copyright © 2020, 2022 Raghav Gururajan <rg@raghavgururajan.name> 28;;; Copyright © 2020, 2022 Raghav Gururajan <rg@raghavgururajan.name>
29;;; Copyright © 2020, 2021 Robert Karszniewicz <avoidr@posteo.de> 29;;; Copyright © 2020, 2021 Robert Karszniewicz <avoidr@posteo.de>
30;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org> 30;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
@@ -2338,7 +2338,7 @@ QMatrixClient project.")
2338(define-public mtxclient 2338(define-public mtxclient
2339 (package 2339 (package
2340 (name "mtxclient") 2340 (name "mtxclient")
2341 (version "0.8.0") 2341 (version "0.8.2")
2342 (source 2342 (source
2343 (origin 2343 (origin
2344 (method git-fetch) 2344 (method git-fetch)
@@ -2347,7 +2347,7 @@ QMatrixClient project.")
2347 (commit (string-append "v" version)))) 2347 (commit (string-append "v" version))))
2348 (file-name (git-file-name name version)) 2348 (file-name (git-file-name name version))
2349 (sha256 2349 (sha256
2350 (base32 "0gkzgq6rzanvgyk47d25nqz7m0lwa3kz5pc0m4w0ada38xwhy2j9")))) 2350 (base32 "041ckjvfxapv1q6x9xd8q70x43cz10x7p11aql58lnc0jp0kwry7"))))
2351 (arguments 2351 (arguments
2352 `(#:configure-flags 2352 `(#:configure-flags
2353 (list 2353 (list
@@ -2383,7 +2383,7 @@ for the Matrix protocol. It is built on to of @code{Boost.Asio}.")
2383(define-public nheko 2383(define-public nheko
2384 (package 2384 (package
2385 (name "nheko") 2385 (name "nheko")
2386 (version "0.10.0") 2386 (version "0.10.1")
2387 (source 2387 (source
2388 (origin 2388 (origin
2389 (method git-fetch) 2389 (method git-fetch)
@@ -2392,7 +2392,7 @@ for the Matrix protocol. It is built on to of @code{Boost.Asio}.")
2392 (commit (string-append "v" version)))) 2392 (commit (string-append "v" version))))
2393 (file-name (git-file-name name version)) 2393 (file-name (git-file-name name version))
2394 (sha256 2394 (sha256
2395 (base32 "1n7czmv8mamaphpr2cnppddpgmb914pjd7msxng0fim6w7bhil14")) 2395 (base32 "0a3wvv7vzh60hvyzy6776v6wa9d6n020684dqbcl4dw608mf4ahk"))
2396 (modules '((guix build utils))) 2396 (modules '((guix build utils)))
2397 (snippet 2397 (snippet
2398 '(begin 2398 '(begin
@@ -2805,10 +2805,10 @@ validating international phone numbers.")
2805 (license license:asl2.0))) 2805 (license license:asl2.0)))
2806 2806
2807(define-public chatty 2807(define-public chatty
2808 (package 2808 (package
2809 (name "chatty") 2809 (name "chatty")
2810 (version "0.6.7") 2810 (version "0.6.7")
2811 (source (origin 2811 (source (origin
2812 (method git-fetch) 2812 (method git-fetch)
2813 (uri (git-reference 2813 (uri (git-reference
2814 (url "https://source.puri.sm/Librem5/chatty.git") 2814 (url "https://source.puri.sm/Librem5/chatty.git")
@@ -2823,51 +2823,52 @@ validating international phone numbers.")
2823 (sha256 2823 (sha256
2824 (base32 2824 (base32
2825 "11q07vjrrjf3k00kk41vm79brpq0qigz7l328br3g0li979kz32v")))) 2825 "11q07vjrrjf3k00kk41vm79brpq0qigz7l328br3g0li979kz32v"))))
2826 (build-system meson-build-system) 2826 (build-system meson-build-system)
2827 (arguments 2827 (arguments
2828 '(#:phases 2828 '(#:glib-or-gtk? #t
2829 (modify-phases %standard-phases 2829 #:phases
2830 (add-after 'unpack 'skip-updating-desktop-database 2830 (modify-phases %standard-phases
2831 (lambda _ 2831 (add-after 'unpack 'skip-updating-desktop-database
2832 (substitute* "meson.build" 2832 (lambda _
2833 (("meson.add_install_script.*") "")))) 2833 (substitute* "meson.build"
2834 (add-before 'check 'pre-check 2834 (("meson.add_install_script.*") ""))))
2835 (lambda* (#:key tests? #:allow-other-keys) 2835 (add-before 'check 'pre-check
2836 (when tests? 2836 (lambda* (#:key tests? #:allow-other-keys)
2837 ;; One test requires a running Xorg server. Start one. 2837 (when tests?
2838 (system "Xvfb :1 &") 2838 ;; One test requires a running Xorg server. Start one.
2839 (setenv "DISPLAY" ":1") 2839 (system "Xvfb :1 &")
2840 ;; HOME must be writable for writing configuration files. 2840 (setenv "DISPLAY" ":1")
2841 (setenv "HOME" "/tmp"))))))) 2841 ;; HOME must be writable for writing configuration files.
2842 (native-inputs 2842 (setenv "HOME" "/tmp")))))))
2843 (list gettext-minimal 2843 (native-inputs
2844 `(,glib "bin") 2844 (list gettext-minimal
2845 pkg-config 2845 `(,glib "bin")
2846 protobuf 2846 pkg-config
2847 xorg-server-for-tests)) 2847 protobuf
2848 (inputs 2848 xorg-server-for-tests))
2849 (list feedbackd 2849 (inputs
2850 folks 2850 (list feedbackd
2851 gnome-desktop 2851 folks-with-libsoup2
2852 gsettings-desktop-schemas 2852 gnome-desktop
2853 gspell 2853 gsettings-desktop-schemas
2854 json-glib 2854 gspell
2855 libgcrypt 2855 json-glib
2856 libgee 2856 libgcrypt
2857 libhandy 2857 libgee
2858 libolm 2858 libhandy
2859 libphonenumber 2859 libolm
2860 modem-manager 2860 libphonenumber
2861 pidgin 2861 modem-manager
2862 purple-mm-sms 2862 pidgin
2863 sqlite)) 2863 purple-mm-sms
2864 (propagated-inputs 2864 sqlite))
2865 (list adwaita-icon-theme evolution-data-server)) 2865 (propagated-inputs
2866 (synopsis "Mobile client for XMPP and SMS messaging") 2866 (list adwaita-icon-theme evolution-data-server-3.44))
2867 (description "Chatty is a chat program for XMPP and SMS. It works on mobile 2867 (synopsis "Mobile client for XMPP and SMS messaging")
2868 (description "Chatty is a chat program for XMPP and SMS. It works on mobile
2868as well as on desktop platforms. It's based on libpurple and ModemManager.") 2869as well as on desktop platforms. It's based on libpurple and ModemManager.")
2869 (home-page "https://source.puri.sm/Librem5/chatty") 2870 (home-page "https://source.puri.sm/Librem5/chatty")
2870 (license license:gpl3+))) 2871 (license license:gpl3+)))
2871 2872
2872(define-public mosquitto 2873(define-public mosquitto
2873 (package 2874 (package
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 17010e6e82c..079e2331266 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -6895,3 +6895,9 @@ sending MIDI, OSC, and UDP to your audio/visual interfaces like Ableton,
6895Renoise, VCV Rack, or SuperCollider.") 6895Renoise, VCV Rack, or SuperCollider.")
6896 (home-page "https://100r.co/site/orca.html") 6896 (home-page "https://100r.co/site/orca.html")
6897 (license license:expat)))) 6897 (license license:expat))))
6898
6899;;;
6900;;; Avoid adding new packages to the end of this file. To reduce the chances
6901;;; of a merge conflict, place them above by existing packages with similar
6902;;; functionality or similar names.
6903;;;
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index f57aae2d248..ee4d91bd2a0 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -24,7 +24,7 @@
24;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org> 24;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org>
25;;; Copyright © 2018 Theodoros Foradis <theodoros@foradis.org> 25;;; Copyright © 2018 Theodoros Foradis <theodoros@foradis.org>
26;;; Copyright © 2018, 2020-2022 Marius Bakke <marius@gnu.org> 26;;; Copyright © 2018, 2020-2022 Marius Bakke <marius@gnu.org>
27;;; Copyright © 2018, 2020, 2021 Oleg Pykhalov <go.wigust@gmail.com> 27;;; Copyright © 2018, 2020, 2021, 2022 Oleg Pykhalov <go.wigust@gmail.com>
28;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz> 28;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
29;;; Copyright © 2019, 2020, 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com> 29;;; Copyright © 2019, 2020, 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
30;;; Copyright © 2019 Vasile Dumitrascu <va511e@yahoo.com> 30;;; Copyright © 2019 Vasile Dumitrascu <va511e@yahoo.com>
@@ -2731,7 +2731,7 @@ procedure calls (RPCs).")
2731(define-public openvswitch 2731(define-public openvswitch
2732 (package 2732 (package
2733 (name "openvswitch") 2733 (name "openvswitch")
2734 (version "2.16.1") 2734 (version "3.0.0")
2735 (source (origin 2735 (source (origin
2736 (method url-fetch) 2736 (method url-fetch)
2737 (uri (string-append 2737 (uri (string-append
@@ -2739,7 +2739,7 @@ procedure calls (RPCs).")
2739 version ".tar.gz")) 2739 version ".tar.gz"))
2740 (sha256 2740 (sha256
2741 (base32 2741 (base32
2742 "1x0k0pw6jykrfgb8rq56bp2ghxd433d55pmr8mxy9gbzw1nc1vbi")))) 2742 "17hr7x9iahhmskp70pv59v4bsn86r2jmbaw37vs03jsz3k1a57gs"))))
2743 (build-system gnu-build-system) 2743 (build-system gnu-build-system)
2744 (arguments 2744 (arguments
2745 '(#:configure-flags 2745 '(#:configure-flags
@@ -2751,18 +2751,22 @@ procedure calls (RPCs).")
2751 (modify-phases %standard-phases 2751 (modify-phases %standard-phases
2752 (add-after 'unpack 'use-absolute-/bin/sh 2752 (add-after 'unpack 'use-absolute-/bin/sh
2753 (lambda* (#:key inputs #:allow-other-keys) 2753 (lambda* (#:key inputs #:allow-other-keys)
2754 (let* ((bash (assoc-ref inputs "bash-minimal"))) 2754 (let ((/bin/sh (search-input-file inputs "bin/sh")))
2755 (substitute* "ovsdb/ovsdb-server.c" 2755 (substitute* "ovsdb/ovsdb-server.c"
2756 (("/bin/sh") (string-append bash "/bin/sh")))))) 2756 (("/bin/sh") /bin/sh)))))
2757 (add-before 'check 'adjust-tests 2757 (add-before 'check 'adjust-tests
2758 (lambda* (#:key inputs #:allow-other-keys) 2758 (lambda* (#:key inputs #:allow-other-keys)
2759 (let* ((bash (assoc-ref inputs "bash-minimal")) 2759 (let ((/bin/sh (search-input-file inputs "bin/sh")))
2760 (/bin/sh (string-append bash "/bin/sh")))
2761 (with-fluids ((%default-port-encoding "ISO-8859-1")) 2760 (with-fluids ((%default-port-encoding "ISO-8859-1"))
2762 (substitute* (find-files "tests" ".*(run|testsuite)$") 2761 (substitute* (find-files "tests" ".*(run|testsuite)$")
2763 (("#! /bin/sh") 2762 (("#! /bin/sh")
2764 (string-append "#! " /bin/sh)) 2763 (string-append "#! " /bin/sh))
2765 2764
2765 ;; grep 3.8 emits a warning for 'egrep' which breaks
2766 ;; expected output; adjust accordingly.
2767 (("egrep")
2768 "grep -E")
2769
2766 ;; The tests use 'kill -0' to check whether a test has 2770 ;; The tests use 'kill -0' to check whether a test has
2767 ;; completed, but it does not work in the build container 2771 ;; completed, but it does not work in the build container
2768 ;; because zombies are not reaped automatically (PID 1 is 2772 ;; because zombies are not reaped automatically (PID 1 is
@@ -2789,13 +2793,14 @@ ps --no-header -p $1 -o state= | grep -qv '^Z$'"
2789 "DBDIR=/tmp" 2793 "DBDIR=/tmp"
2790 "install")))))) 2794 "install"))))))
2791 (native-inputs 2795 (native-inputs
2792 `(("perl" ,perl) 2796 (list perl
2793 ("pkg-config" ,pkg-config) 2797 pkg-config
2794 ("python" ,python-wrapper) 2798 python-wrapper
2795 ;; for testing 2799
2796 ("bash" ,bash) ;for 'compgen' 2800 ;; For testing.
2797 ("procps" ,procps) 2801 bash ;for 'compgen'
2798 ("util-linux" ,util-linux))) 2802 procps
2803 util-linux))
2799 (inputs 2804 (inputs
2800 (list bash-minimal libcap-ng openssl)) 2805 (list bash-minimal libcap-ng openssl))
2801 (synopsis "Virtual network switch") 2806 (synopsis "Virtual network switch")
@@ -2805,6 +2810,8 @@ ps --no-header -p $1 -o state= | grep -qv '^Z$'"
2805massive network automation through programmatic extension, while still 2810massive network automation through programmatic extension, while still
2806supporting standard management interfaces and protocols (e.g. NetFlow, sFlow, 2811supporting standard management interfaces and protocols (e.g. NetFlow, sFlow,
2807IPFIX, RSPAN, CLI, LACP, 802.1ag).") 2812IPFIX, RSPAN, CLI, LACP, 802.1ag).")
2813 (properties
2814 '((release-monitoring-url . "https://www.openvswitch.org/download/")))
2808 (license ; see debian/copyright for detail 2815 (license ; see debian/copyright for detail
2809 (list license:lgpl2.1 ; xenserver and utilities/bugtool 2816 (list license:lgpl2.1 ; xenserver and utilities/bugtool
2810 license:gpl2 ; datapath 2817 license:gpl2 ; datapath
@@ -3090,8 +3097,9 @@ can be whipped up with little effort.")
3090 (sha256 3097 (sha256
3091 (base32 "0haanralbvd12pvkyihgkmx9ld74dnzm1s7mzparfandl416ibff")))) 3098 (base32 "0haanralbvd12pvkyihgkmx9ld74dnzm1s7mzparfandl416ibff"))))
3092 (build-system gnu-build-system) 3099 (build-system gnu-build-system)
3100 (native-inputs (list pkg-config))
3093 (inputs 3101 (inputs
3094 (list libcap ncurses)) 3102 (list jansson libcap ncurses))
3095 (arguments 3103 (arguments
3096 `(#:tests? #f)) ; tests require network access 3104 `(#:tests? #f)) ; tests require network access
3097 (home-page "https://www.bitwizard.nl/mtr/") 3105 (home-page "https://www.bitwizard.nl/mtr/")
diff --git a/gnu/packages/ntp.scm b/gnu/packages/ntp.scm
index 949d4486ef7..b942703ff3f 100644
--- a/gnu/packages/ntp.scm
+++ b/gnu/packages/ntp.scm
@@ -129,7 +129,17 @@ time-stamping or reference clock, sub-microsecond accuracy is possible.")
129 (file-name "ntp-gcc-compat.patch") 129 (file-name "ntp-gcc-compat.patch")
130 (sha256 130 (sha256
131 (base32 131 (base32
132 "13d28sg45rflc7kqiv30asrhna8n69wlpwx16l65rravgpvp90h2"))))) 132 "13d28sg45rflc7kqiv30asrhna8n69wlpwx16l65rravgpvp90h2")))
133 ;; And another one that fixes the build with glibc 2.34:
134 ;; <https://bugs.ntp.org/show_bug.cgi?id=3741>.
135 (origin
136 (method url-fetch)
137 (uri "https://bugs.ntp.org/attachment.cgi?id=1814\
138&action=diff&collapsed=&headers=1&format=raw")
139 (file-name "ntp-glibc-compat.patch")
140 (sha256
141 (base32
142 "0z8ndaw3l086mbm42v9gfgxild1yvg0anxf3724lsalvgqlndcj4")))))
133 (modules '((guix build utils))) 143 (modules '((guix build utils)))
134 (snippet 144 (snippet
135 '(begin 145 '(begin
diff --git a/gnu/packages/patches/cmake-curl-certificates-3.24.patch b/gnu/packages/patches/cmake-curl-certificates-3.24.patch
new file mode 100644
index 00000000000..ca29c9001e2
--- /dev/null
+++ b/gnu/packages/patches/cmake-curl-certificates-3.24.patch
@@ -0,0 +1,21 @@
1Submitted upstream at https://gitlab.kitware.com/cmake/cmake/-/merge_requests/7670.
2
3diff --git a/Source/cmCurl.cxx b/Source/cmCurl.cxx
4index 28ee24dfe9..fc5405213a 100644
5--- a/Source/cmCurl.cxx
6+++ b/Source/cmCurl.cxx
7@@ -38,6 +38,14 @@ std::string cmCurlSetCAInfo(::CURL* curl, const std::string& cafile)
8 ::CURLcode res = ::curl_easy_setopt(curl, CURLOPT_CAINFO, cafile.c_str());
9 check_curl_result(res, "Unable to set TLS/SSL Verify CAINFO: ");
10 }
11+ /* Honor the user-configurable OpenSSL environment variables. */
12+ else if (cmSystemTools::GetEnv("SSL_CERT_FILE", e)) {
13+ ::CURLcode res = ::curl_easy_setopt(curl, CURLOPT_CAINFO, e.c_str());
14+ check_curl_result(res, "Unable to set TLS/SSL Verify CAINFO: ");
15+ } else if (cmSystemTools::GetEnv("SSL_CERT_DIR", e)) {
16+ ::CURLcode res = ::curl_easy_setopt(curl, CURLOPT_CAPATH, e.c_str());
17+ check_curl_result(res, "Unable to set TLS/SSL Verify CAINFO: ");
18+ }
19 #ifdef CMAKE_FIND_CAFILE
20 # define CMAKE_CAFILE_FEDORA "/etc/pki/tls/certs/ca-bundle.crt"
21 else if (cmSystemTools::FileExists(CMAKE_CAFILE_FEDORA, true)) {
diff --git a/gnu/packages/patches/cmh-support-fplll.patch b/gnu/packages/patches/cmh-support-fplll.patch
deleted file mode 100644
index fae04f456bd..00000000000
--- a/gnu/packages/patches/cmh-support-fplll.patch
+++ /dev/null
@@ -1,27 +0,0 @@
1Patch from the CMH git, after the 1.1.0 release.
2
3From 2328c819317dda2171217002268f57c74cedc476 Mon Sep 17 00:00:00 2001
4From: =?UTF-8?q?Emmanuel=20Thom=C3=A9?= <Emmanuel.Thome@inria.fr>
5Date: Tue, 7 Jun 2022 12:17:05 -0700
6Subject: [PATCH] patch suggested by @x-YVicto
7
8---
9 src/lll.cpp | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/src/lll.cpp b/src/lll.cpp
13index 83dab07..f005931 100644
14--- a/src/lll.cpp
15+++ b/src/lll.cpp
16@@ -37,7 +37,7 @@
17 #ifdef HAVE_FPLLL
18 static void lll_fplll (mpz_t *v, mpz_t **M, const int m, const int n)
19 {
20- ZZ_mat <mpz_t> Mp (m, n);
21+ fplll::ZZ_mat <mpz_t> Mp (m, n);
22 int i, j;
23
24 for (i = 0; i < m; i++)
25--
262.36.1
27
diff --git a/gnu/packages/patches/emacs-kv-fix-tests.patch b/gnu/packages/patches/emacs-kv-fix-tests.patch
new file mode 100644
index 00000000000..35a6bf004c4
--- /dev/null
+++ b/gnu/packages/patches/emacs-kv-fix-tests.patch
@@ -0,0 +1,30 @@
1From 4702849bfe7462fb6c6303786dac1b670c8f0f8f Mon Sep 17 00:00:00 2001
2From: Andrew Tropin <andrew@trop.in>
3Date: Wed, 14 Sep 2022 09:17:31 +0300
4Subject: [PATCH] remove copypasted kvaq test
5
6---
7 kv-tests.el | 7 -------
8 1 file changed, 7 deletions(-)
9
10diff --git a/kv-tests.el b/kv-tests.el
11index 1713e5e..abd6a24 100644
12--- a/kv-tests.el
13+++ b/kv-tests.el
14@@ -105,13 +105,6 @@
15 (should-not (equal "b" (kvaq "a" '((:a . :b)("a" . "b")))))
16 (should-not (kvaq "b" '((:a . :b)("a" . "b")))))
17
18-(ert-deftest kvaq ()
19- "Test the simple assq."
20- (should (equal :b (kvaq :a '((:a . :b)("a" . "b")))))
21- (should (equal 2 (kvaq 1 '((1 . 2)("a" . "b")))))
22- (should-not (equal "b" (kvaq "a" '((:a . :b)("a" . "b")))))
23- (should-not (kvaq "b" '((:a . :b)("a" . "b")))))
24-
25 (ert-deftest kvaqc ()
26 "Test the simple assq."
27 (should (equal :b (kvaqc :a '((:a . :b)("a" . "b")))))
28--
292.37.3
30
diff --git a/gnu/packages/patches/emacs-yasnippet-fix-tests.patch b/gnu/packages/patches/emacs-yasnippet-fix-tests.patch
index 475352d8dbd..c70cc75d927 100644
--- a/gnu/packages/patches/emacs-yasnippet-fix-tests.patch
+++ b/gnu/packages/patches/emacs-yasnippet-fix-tests.patch
@@ -9,12 +9,13 @@ Content-Transfer-Encoding: 8bit
9- Emacs 28 has a new mode ‘lisp-data-mode’ for Lisp data. 9- Emacs 28 has a new mode ‘lisp-data-mode’ for Lisp data.
10- A test that was temporarily broken passes again. 10- A test that was temporarily broken passes again.
11- The default for ‘org-adapt-indentation’ has changed. 11- The default for ‘org-adapt-indentation’ has changed.
12- buffer-list may be called with arguments when native-comp is enabled.
12--- 13---
13 yasnippet-tests.el | 41 ++++++++++++++++++++++++++--------------- 14 yasnippet-tests.el | 45 ++++++++++++++++++++++++++++-----------------
14 1 file changed, 26 insertions(+), 15 deletions(-) 15 1 file changed, 28 insertions(+), 17 deletions(-)
15 16
16diff --git a/yasnippet-tests.el b/yasnippet-tests.el 17diff --git a/yasnippet-tests.el b/yasnippet-tests.el
17index b8a7980f..9fadf00c 100644 18index f7ca2bb..7618ab7 100644
18--- a/yasnippet-tests.el 19--- a/yasnippet-tests.el
19+++ b/yasnippet-tests.el 20+++ b/yasnippet-tests.el
20@@ -1,6 +1,6 @@ 21@@ -1,6 +1,6 @@
@@ -55,7 +56,21 @@ index b8a7980f..9fadf00c 100644
55 ;; Some org-mode versions leave trailing whitespace, some don't. 56 ;; Some org-mode versions leave trailing whitespace, some don't.
56 (delete-trailing-whitespace) 57 (delete-trailing-whitespace)
57 (should (equal expected (buffer-string)))))) 58 (should (equal expected (buffer-string))))))
58@@ -1390,7 +1393,9 @@ hello ${1:$(when (stringp yas-text) (funcall func yas-text))} foo${1:$$(concat \ 59@@ -1195,11 +1198,11 @@ hello ${1:$(when (stringp yas-text) (funcall func yas-text))} foo${1:$$(concat \
60 (let ((saved-sym (make-symbol "yas--buffer-list")))
61 `(let ((,saved-sym (symbol-function 'buffer-list)))
62 (cl-letf (((symbol-function 'buffer-list)
63- (lambda ()
64+ (lambda (&rest args)
65 (cl-remove-if (lambda (buf)
66 (with-current-buffer buf
67 (eq major-mode 'lisp-interaction-mode)))
68- (funcall ,saved-sym)))))
69+ (funcall ,saved-sym args)))))
70 ,@body))))
71
72
73@@ -1356,7 +1359,9 @@ hello ${1:$(when (stringp yas-text) (funcall func yas-text))} foo${1:$$(concat \
59 ,@(if (fboundp 'prog-mode) 74 ,@(if (fboundp 'prog-mode)
60 '(prog-mode)) 75 '(prog-mode))
61 emacs-lisp-mode 76 emacs-lisp-mode
@@ -66,7 +81,7 @@ index b8a7980f..9fadf00c 100644
66 (observed (yas--modes-to-activate))) 81 (observed (yas--modes-to-activate)))
67 (should (equal major-mode (car observed))) 82 (should (equal major-mode (car observed)))
68 (should (equal (sort expected #'string<) (sort observed #'string<)))))))) 83 (should (equal (sort expected #'string<) (sort observed #'string<))))))))
69@@ -1418,7 +1423,11 @@ hello ${1:$(when (stringp yas-text) (funcall func yas-text))} foo${1:$$(concat \ 84@@ -1384,7 +1389,11 @@ hello ${1:$(when (stringp yas-text) (funcall func yas-text))} foo${1:$$(concat \
70 '(prog-mode)) 85 '(prog-mode))
71 emacs-lisp-mode 86 emacs-lisp-mode
72 and-also-this-one 87 and-also-this-one
@@ -79,7 +94,7 @@ index b8a7980f..9fadf00c 100644
79 (observed (yas--modes-to-activate))) 94 (observed (yas--modes-to-activate)))
80 (should (equal expected-first 95 (should (equal expected-first
81 (cl-subseq observed 0 (length expected-first)))) 96 (cl-subseq observed 0 (length expected-first))))
82@@ -1691,9 +1700,11 @@ TODO: be meaner" 97@@ -1657,9 +1666,11 @@ TODO: be meaner"
83 "Test expansion of snippets in org source blocks." 98 "Test expansion of snippets in org source blocks."
84 ;; org 9+ no longer runs fontification for text-mode, so our hacks 99 ;; org 9+ no longer runs fontification for text-mode, so our hacks
85 ;; don't work. Note that old ert doesn't have skipping, so we have 100 ;; don't work. Note that old ert doesn't have skipping, so we have
@@ -93,3 +108,6 @@ index b8a7980f..9fadf00c 100644
93 :passed :failed) 108 :passed :failed)
94 (let ((text-mode-hook #'yas-minor-mode)) 109 (let ((text-mode-hook #'yas-minor-mode))
95 (do-yas-org-native-tab-in-source-block "text"))) 110 (do-yas-org-native-tab-in-source-block "text")))
111--
1122.37.2
113
diff --git a/gnu/packages/patches/eog-update-libportal-usage.patch b/gnu/packages/patches/eog-update-libportal-usage.patch
deleted file mode 100644
index 220a16ddc4e..00000000000
--- a/gnu/packages/patches/eog-update-libportal-usage.patch
+++ /dev/null
@@ -1,40 +0,0 @@
1Fix eog to work with libportal-0.5
2
3This patch is extracted from upstream, see here
4https://gitlab.gnome.org/GNOME/eog/-/commit/a06e6325907e136678b0bbe7058c25d688034afd
5
6diff --git a/meson.build b/meson.build
7index 9a32e4bb..9d49aa45 100644
8--- a/meson.build
9+++ b/meson.build
10@@ -165,10 +165,14 @@ config_h.set('HAVE_EXEMPI', enable_xmp)
11 # xdg-desktop-portal support with libportal (optional)
12 enable_libportal = get_option('libportal')
13 if enable_libportal
14- libportal_dep = dependency('libportal', version: '>= 0.3', required: false)
15+ libportal_dep = dependency('libportal', version: '>= 0.5', required: false)
16 assert(libportal_dep.found() and cc.has_header('libportal/portal.h', dependencies: libportal_dep),
17 'xdg-desktop-portal support requested but library not found. Please use -Dlibportal=false')
18
19- common_deps += libportal_dep
20+ libportal_gtk3_dep = dependency('libportal-gtk3', version: '>= 0.5', required: false)
21+ assert(libportal_gtk3_dep.found() and cc.has_header('libportal-gtk3/portal-gtk3.h', dependencies: libportal_gtk3_dep),
22+ 'xdg-desktop-portal support requested but library not found. Please use -Dlibportal=false')
23+
24+ common_deps += [libportal_dep, libportal_gtk3_dep]
25 endif
26 config_h.set('HAVE_LIBPORTAL', enable_libportal)
27
28diff --git a/src/eog-util.c b/src/eog-util.c
29index 90b9768e..56d23472 100644
30--- a/src/eog-util.c
31+++ b/src/eog-util.c
32@@ -45,7 +45,7 @@
33 #include <glib/gi18n.h>
34 #ifdef HAVE_LIBPORTAL
35 #include <libportal/portal.h>
36-#include <libportal/portal-gtk3.h>
37+#include <libportal-gtk3/portal-gtk3.h>
38 #endif
39
40 void
diff --git a/gnu/packages/patches/gdm-default-session.patch b/gnu/packages/patches/gdm-default-session.patch
index 8325b6102b7..27f7035bfb4 100644
--- a/gnu/packages/patches/gdm-default-session.patch
+++ b/gnu/packages/patches/gdm-default-session.patch
@@ -4,12 +4,14 @@ and not in the directories listed in $XDG_DATA_DIRS. The latter includes
4/run/current-system/profile, and only then. 4/run/current-system/profile, and only then.
5 5
6Fixes <https://bugs.gnu.org/37831>. 6Fixes <https://bugs.gnu.org/37831>.
7--- a/daemon/gdm-session.c 2021-07-23 15:16:15.164201000 +0000 7diff --git a/daemon/gdm-session.c b/daemon/gdm-session.c
8+++ b/daemon/gdm-session.c 2021-09-26 08:18:58.730134555 +0000 8index 4b709731..3b83fcd3 100644
9@@ -354,25 +354,19 @@ 9--- a/daemon/gdm-session.c
10+++ b/daemon/gdm-session.c
11@@ -362,16 +362,15 @@ get_system_session_dirs (GdmSession *self,
10 GArray *search_array = NULL; 12 GArray *search_array = NULL;
11 char **search_dirs; 13 char **search_dirs;
12 int i; 14 int i, j;
13- const gchar * const *system_data_dirs = g_get_system_data_dirs (); 15- const gchar * const *system_data_dirs = g_get_system_data_dirs ();
14 16
15 static const char *x_search_dirs[] = { 17 static const char *x_search_dirs[] = {
@@ -25,43 +27,44 @@ Fixes <https://bugs.gnu.org/37831>.
25 27
26 search_array = g_array_new (TRUE, TRUE, sizeof (char *)); 28 search_array = g_array_new (TRUE, TRUE, sizeof (char *));
27 29
28 if (type == NULL || g_str_equal (type, "x11")) { 30@@ -380,11 +379,6 @@ get_system_session_dirs (GdmSession *self,
29- for (i = 0; system_data_dirs[i]; i++) {
30- gchar *dir = g_build_filename (system_data_dirs[i], "xsessions", NULL);
31- g_array_append_val (search_array, dir);
32- }
33-
34 g_array_append_vals (search_array, x_search_dirs, G_N_ELEMENTS (x_search_dirs));
35 }
36 31
37@@ -382,16 +376,7 @@ 32 if (g_str_equal (supported_type, "x11") &&
38 #ifdef ENABLE_USER_DISPLAY_SERVER 33 (type == NULL || g_str_equal (type, supported_type))) {
39 g_array_prepend_val (search_array, wayland_search_dir); 34- for (i = 0; system_data_dirs[i]; i++) {
35- gchar *dir = g_build_filename (system_data_dirs[i], "xsessions", NULL);
36- g_array_append_val (search_array, dir);
37- }
38-
39 g_array_append_vals (search_array, x_search_dirs, G_N_ELEMENTS (x_search_dirs));
40 }
40 41
41- for (i = 0; system_data_dirs[i]; i++) { 42@@ -392,11 +386,6 @@ get_system_session_dirs (GdmSession *self,
42- gchar *dir = g_build_filename (system_data_dirs[i], "wayland-sessions", NULL); 43 #ifdef ENABLE_WAYLAND_SUPPORT
43- g_array_insert_val (search_array, i, dir); 44 if (g_str_equal (supported_type, "wayland") &&
44- } 45 (type == NULL || g_str_equal (type, supported_type))) {
45 #else 46- for (i = 0; system_data_dirs[i]; i++) {
46- for (i = 0; system_data_dirs[i]; i++) { 47- gchar *dir = g_build_filename (system_data_dirs[i], "wayland-sessions", NULL);
47- gchar *dir = g_build_filename (system_data_dirs[i], "wayland-sessions", NULL); 48- g_array_append_val (search_array, dir);
48- g_array_append_val (search_array, dir); 49- }
49- }
50- 50-
51 g_array_append_val (search_array, wayland_search_dir); 51 g_array_append_val (search_array, wayland_search_dir);
52 }
52 #endif 53 #endif
53 } 54diff --git a/libgdm/gdm-sessions.c b/libgdm/gdm-sessions.c
54diff -ur a/libgdm/gdm-sessions.c b/libgdm/gdm-sessions.c 55index d8b4d5cd..7ed8de91 100644
55--- a/libgdm/gdm-sessions.c 2019-10-07 04:53:35.000000000 -0400 56--- a/libgdm/gdm-sessions.c
56+++ b/libgdm/gdm-sessions.c 2020-04-18 18:31:42.491348691 -0400 57+++ b/libgdm/gdm-sessions.c
57@@ -245,35 +245,23 @@ 58@@ -275,7 +275,7 @@ collect_sessions (void)
58 "/etc/X11/sessions/", 59 "/etc/X11/sessions/",
59 DMCONFDIR "/Sessions/", 60 DMCONFDIR "/Sessions/",
60 DATADIR "/gdm/BuiltInSessions/", 61 DATADIR "/gdm/BuiltInSessions/",
61- DATADIR "/xsessions/", 62- DATADIR "/xsessions/",
62+ "/run/current-system/profile/share/xsessions/" 63+ "/run/current-system/profile/share/xsessions/"
63 }; 64 };
64 65 const gchar *supported_session_types_env = NULL;
66 g_auto (GStrv) supported_session_types = NULL;
67@@ -288,29 +288,17 @@ collect_sessions (void)
65 names_seen_before = g_hash_table_new (g_str_hash, g_str_equal); 68 names_seen_before = g_hash_table_new (g_str_hash, g_str_equal);
66 xorg_search_array = g_ptr_array_new_with_free_func (g_free); 69 xorg_search_array = g_ptr_array_new_with_free_func (g_free);
67 70
diff --git a/gnu/packages/patches/gdm-elogind-support.patch b/gnu/packages/patches/gdm-elogind-support.patch
index 39cd12dd227..5c8e3bd6105 100644
--- a/gnu/packages/patches/gdm-elogind-support.patch
+++ b/gnu/packages/patches/gdm-elogind-support.patch
@@ -19,7 +19,7 @@ system and user units.
19 6 files changed, 66 insertions(+), 42 deletions(-) 19 6 files changed, 66 insertions(+), 42 deletions(-)
20 20
21diff --git a/common/meson.build b/common/meson.build 21diff --git a/common/meson.build b/common/meson.build
22index 074dd92e1..bca58f7c4 100644 22index 074dd92e..bca58f7c 100644
23--- a/common/meson.build 23--- a/common/meson.build
24+++ b/common/meson.build 24+++ b/common/meson.build
25@@ -11,7 +11,7 @@ libgdmcommon_src = files( 25@@ -11,7 +11,7 @@ libgdmcommon_src = files(
@@ -32,10 +32,10 @@ index 074dd92e1..bca58f7c4 100644
32 gio_dep, 32 gio_dep,
33 gio_unix_dep, 33 gio_unix_dep,
34diff --git a/data/meson.build b/data/meson.build 34diff --git a/data/meson.build b/data/meson.build
35index 7c5222eaf..403336c31 100644 35index 2dec4c23..c3452e1c 100644
36--- a/data/meson.build 36--- a/data/meson.build
37+++ b/data/meson.build 37+++ b/data/meson.build
38@@ -168,41 +168,53 @@ else 38@@ -164,41 +164,53 @@ else
39 service_config.set('PLYMOUTH_QUIT_SERVICE', '') 39 service_config.set('PLYMOUTH_QUIT_SERVICE', '')
40 endif 40 endif
41 41
@@ -115,7 +115,7 @@ index 7c5222eaf..403336c31 100644
115 # XSession 115 # XSession
116 if get_option('gdm-xsession') 116 if get_option('gdm-xsession')
117diff --git a/libgdm/meson.build b/libgdm/meson.build 117diff --git a/libgdm/meson.build b/libgdm/meson.build
118index 3f8cafbb7..83e95151b 100644 118index 3f8cafbb..83e95151 100644
119--- a/libgdm/meson.build 119--- a/libgdm/meson.build
120+++ b/libgdm/meson.build 120+++ b/libgdm/meson.build
121@@ -56,7 +56,7 @@ libgdm_deps = [ 121@@ -56,7 +56,7 @@ libgdm_deps = [
@@ -128,12 +128,12 @@ index 3f8cafbb7..83e95151b 100644
128 ] 128 ]
129 129
130diff --git a/meson.build b/meson.build 130diff --git a/meson.build b/meson.build
131index e6fcf4b8b..a86a486b7 100644 131index 845f673e..d0ca41ef 100644
132--- a/meson.build 132--- a/meson.build
133+++ b/meson.build 133+++ b/meson.build
134@@ -92,21 +92,30 @@ xdmcp_dep = cc.find_library('Xdmcp', required: get_option('xdmcp')) 134@@ -96,21 +96,30 @@ xdmcp_dep = cc.find_library('Xdmcp', required: get_option('xdmcp'))
135 if xdmcp_dep.found() and get_option('tcp-wrappers') 135 if xdmcp_dep.found() and get_option('tcp-wrappers')
136 libwrap_dep = cc.find_library('libwrap') 136 libwrap_dep = cc.find_library('wrap')
137 endif 137 endif
138-# systemd 138-# systemd
139-systemd_dep = dependency('systemd') 139-systemd_dep = dependency('systemd')
@@ -175,7 +175,7 @@ index e6fcf4b8b..a86a486b7 100644
175 # Plymouth 175 # Plymouth
176 plymouth_dep = dependency('ply-boot-client', required: get_option('plymouth')) 176 plymouth_dep = dependency('ply-boot-client', required: get_option('plymouth'))
177 # Check for Solaris auditing API (ADT) 177 # Check for Solaris auditing API (ADT)
178@@ -313,6 +322,7 @@ summary({ 178@@ -319,6 +328,7 @@ summary({
179 'PAM Syslog': have_pam_syslog, 179 'PAM Syslog': have_pam_syslog,
180 'Supports PAM Extensions': pam_extensions_supported, 180 'Supports PAM Extensions': pam_extensions_supported,
181 'SeLinux': libselinux_dep.found(), 181 'SeLinux': libselinux_dep.found(),
@@ -184,7 +184,7 @@ index e6fcf4b8b..a86a486b7 100644
184 'Use UserDisplayServer': get_option('user-display-server'), 184 'Use UserDisplayServer': get_option('user-display-server'),
185 'Use SystemdJournal': get_option('systemd-journal'), 185 'Use SystemdJournal': get_option('systemd-journal'),
186diff --git a/meson_options.txt b/meson_options.txt 186diff --git a/meson_options.txt b/meson_options.txt
187index 14e0b908b..5135d7d66 100644 187index 14e0b908..5135d7d6 100644
188--- a/meson_options.txt 188--- a/meson_options.txt
189+++ b/meson_options.txt 189+++ b/meson_options.txt
190@@ -12,6 +12,7 @@ option('initial-vt', type: 'integer', value: 1, description: 'Initial virtual te 190@@ -12,6 +12,7 @@ option('initial-vt', type: 'integer', value: 1, description: 'Initial virtual te
@@ -206,6 +206,3 @@ index 14e0b908b..5135d7d66 100644
206 option('tcp-wrappers', type: 'boolean', value: false, description: 'Use TCP wrappers.') 206 option('tcp-wrappers', type: 'boolean', value: false, description: 'Use TCP wrappers.')
207 option('udev-dir', type: 'string', value: '', description: 'Directory for udev rules file.') 207 option('udev-dir', type: 'string', value: '', description: 'Directory for udev rules file.')
208 option('user', type: 'string', value: 'gdm', description: 'GDM\'s username.') 208 option('user', type: 'string', value: 'gdm', description: 'GDM\'s username.')
209--
210GitLab
211
diff --git a/gnu/packages/patches/gdm-pass-gdk-pixbuf-loader-env.patch b/gnu/packages/patches/gdm-pass-gdk-pixbuf-loader-env.patch
index 4341e3fc308..2c095c80031 100644
--- a/gnu/packages/patches/gdm-pass-gdk-pixbuf-loader-env.patch
+++ b/gnu/packages/patches/gdm-pass-gdk-pixbuf-loader-env.patch
@@ -1,17 +1,11 @@
1From 444250fce55f916af993bc855930c6809686e4bd Mon Sep 17 00:00:00 2001
2From: Josselin Poiret <dev@jpoiret.xyz> 1From: Josselin Poiret <dev@jpoiret.xyz>
3Date: Tue, 23 Nov 2021 18:39:39 +0000 2Date: Tue, 23 Nov 2021 18:39:39 +0000
4Subject: [PATCH] Make GDM pass GDK_PIXBUF_MODULE_FILE to sessions 3Subject: [PATCH] Make GDM pass GDK_PIXBUF_MODULE_FILE to sessions
5
6---
7 daemon/gdm-launch-environment.c | 1 +
8 1 file changed, 1 insertion(+)
9
10diff --git a/daemon/gdm-launch-environment.c b/daemon/gdm-launch-environment.c 4diff --git a/daemon/gdm-launch-environment.c b/daemon/gdm-launch-environment.c
11index 14ecfac2..3e618321 100644 5index 932c3e8a..a50dcc8c 100644
12--- a/daemon/gdm-launch-environment.c 6--- a/daemon/gdm-launch-environment.c
13+++ b/daemon/gdm-launch-environment.c 7+++ b/daemon/gdm-launch-environment.c
14@@ -158,6 +158,7 @@ build_launch_environment (GdmLaunchEnvironment *launch_environment, 8@@ -157,6 +157,7 @@ build_launch_environment (GdmLaunchEnvironment *launch_environment,
15 "WINDOWPATH", 9 "WINDOWPATH",
16 "XCURSOR_PATH", 10 "XCURSOR_PATH",
17 "XDG_CONFIG_DIRS", 11 "XDG_CONFIG_DIRS",
@@ -19,6 +13,3 @@ index 14ecfac2..3e618321 100644
19 NULL 13 NULL
20 }; 14 };
21 char *system_data_dirs; 15 char *system_data_dirs;
22--
232.33.1
24
diff --git a/gnu/packages/patches/gdm-remove-hardcoded-xwayland-path.patch b/gnu/packages/patches/gdm-remove-hardcoded-xwayland-path.patch
index 366fb916688..83d56ddf697 100644
--- a/gnu/packages/patches/gdm-remove-hardcoded-xwayland-path.patch
+++ b/gnu/packages/patches/gdm-remove-hardcoded-xwayland-path.patch
@@ -1,22 +1,28 @@
1Remove check for hardcoded Xwayland path in gdm. 1Remove check for hardcoded Xwayland path in gdm.
2 2
3---
4 daemon/gdm-local-display-factory.c | 2 +-
5 1 file changed, 1 insertion(+), 1 deletion(-)
6
7diff --git a/daemon/gdm-local-display-factory.c b/daemon/gdm-local-display-factory.c 3diff --git a/daemon/gdm-local-display-factory.c b/daemon/gdm-local-display-factory.c
8index da1093bb..37355c06 100644 4index 7de7b99c..065325f4 100644
9--- a/daemon/gdm-local-display-factory.c 5--- a/daemon/gdm-local-display-factory.c
10+++ b/daemon/gdm-local-display-factory.c 6+++ b/daemon/gdm-local-display-factory.c
11@@ -203,7 +203,7 @@ gdm_local_display_factory_use_wayland (void) 7@@ -245,9 +245,9 @@ struct GdmDisplayServerConfiguration {
8 const char *session_type;
9 } display_server_configuration[] = {
12 #ifdef ENABLE_WAYLAND_SUPPORT 10 #ifdef ENABLE_WAYLAND_SUPPORT
13 gboolean wayland_enabled = FALSE; 11- { "wayland", GDM_KEY_WAYLAND_ENABLE, "/usr/bin/Xwayland", "wayland" },
14 if (gdm_settings_direct_get_boolean (GDM_KEY_WAYLAND_ENABLE, &wayland_enabled)) { 12+ { "wayland", GDM_KEY_WAYLAND_ENABLE, "", "wayland" },
15- if (wayland_enabled && g_file_test ("/usr/bin/Xwayland", G_FILE_TEST_IS_EXECUTABLE) )
16+ if (wayland_enabled)
17 return TRUE;
18 }
19 #endif 13 #endif
20-- 14- { "xorg", GDM_KEY_XORG_ENABLE, "/usr/bin/Xorg", "x11" },
212.33.0 15+ { "xorg", GDM_KEY_XORG_ENABLE, "", "x11" },
22 16 { NULL, NULL, NULL },
17 };
18
19@@ -269,9 +269,6 @@ display_server_enabled (GdmLocalDisplayFactory *factory,
20 if (!gdm_settings_direct_get_boolean (key, &enabled) || !enabled)
21 return FALSE;
22
23- if (!g_file_test (binary, G_FILE_TEST_IS_EXECUTABLE))
24- return FALSE;
25-
26 return TRUE;
27 }
28
diff --git a/gnu/packages/patches/gdm-wayland-session-wrapper-from-env.patch b/gnu/packages/patches/gdm-wayland-session-wrapper-from-env.patch
index 44ab6a94711..6ea0daf6a73 100644
--- a/gnu/packages/patches/gdm-wayland-session-wrapper-from-env.patch
+++ b/gnu/packages/patches/gdm-wayland-session-wrapper-from-env.patch
@@ -1,14 +1,10 @@
1Get wayland-session wrapper from environment. 1Get wayland-session wrapper from environment.
2 2
3---
4 daemon/gdm-session.c | 6 ++++--
5 1 file changed, 4 insertions(+), 2 deletions(-)
6
7diff --git a/daemon/gdm-session.c b/daemon/gdm-session.c 3diff --git a/daemon/gdm-session.c b/daemon/gdm-session.c
8index 4e303e70..1deca4e9 100644 4index 3b83fcd3..e60e6a57 100644
9--- a/daemon/gdm-session.c 5--- a/daemon/gdm-session.c
10+++ b/daemon/gdm-session.c 6+++ b/daemon/gdm-session.c
11@@ -2888,8 +2888,9 @@ gdm_session_start_session (GdmSession *self, 7@@ -2933,8 +2933,9 @@ gdm_session_start_session (GdmSession *self,
12 allow_remote_connections? "--allow-remote-connections " : "", 8 allow_remote_connections? "--allow-remote-connections " : "",
13 command); 9 command);
14 } else { 10 } else {
@@ -19,7 +15,7 @@ index 4e303e70..1deca4e9 100644
19 command); 15 command);
20 } 16 }
21 } else if (run_xsession_script) { 17 } else if (run_xsession_script) {
22@@ -2942,8 +2942,9 @@ 18@@ -2965,8 +2966,9 @@ gdm_session_start_session (GdmSession *self,
23 register_session ? "--register-session " : "", 19 register_session ? "--register-session " : "",
24 self->selected_program); 20 self->selected_program);
25 } else { 21 } else {
@@ -30,6 +26,3 @@ index 4e303e70..1deca4e9 100644
30 self->selected_program); 26 self->selected_program);
31 } 27 }
32 } else { 28 } else {
33--
342.33.0
35
diff --git a/gnu/packages/patches/geoclue-config.patch b/gnu/packages/patches/geoclue-config.patch
index dd35b90be53..e4ef6f2d331 100644
--- a/gnu/packages/patches/geoclue-config.patch
+++ b/gnu/packages/patches/geoclue-config.patch
@@ -1,25 +1,27 @@
1Allow the configuration file to be specified via an environment variable. 1Allow the configuration file to be specified via an environment variable.
2 2
3--- geoclue-2.1.10/src/gclue-config.c 2015-04-07 09:50:07.721074380 +0200 3diff --git a/src/gclue-config.c b/src/gclue-config.c
4+++ geoclue-2.1.10/src/gclue-config.c 2015-04-07 10:27:26.613171960 +0200 4index 7ab2a67..e41f3df 100644
5@@ -235,6 +235,11 @@ 5--- a/src/gclue-config.c
6+++ b/src/gclue-config.c
7@@ -332,6 +332,11 @@ static void
6 gclue_config_init (GClueConfig *config) 8 gclue_config_init (GClueConfig *config)
7 { 9 {
8 GError *error = NULL; 10 GError *error = NULL;
9+ const char *config_file_path; 11+ const char *config_file_path;
10+ 12+
11+ config_file_path = g_getenv ("GEOCLUE_CONFIG_FILE"); 13+ config_file_path = g_getenv ("GEOCLUE_CONFIG_FILE");
12+ if (config_file_path == NULL) 14+ if (!config_file_path)
13+ config_file_path = CONFIG_FILE_PATH; 15+ config_file_path = CONFIG_FILE_PATH;
14 16
15 config->priv = 17 config->priv = gclue_config_get_instance_private(config);
16 G_TYPE_INSTANCE_GET_PRIVATE (config,
17@@ -242,7 +247,7 @@
18 GClueConfigPrivate);
19 config->priv->key_file = g_key_file_new (); 18 config->priv->key_file = g_key_file_new ();
20 g_key_file_load_from_file (config->priv->key_file, 19@@ -341,7 +346,7 @@ gclue_config_init (GClueConfig *config)
21- CONFIG_FILE_PATH,
22+ config_file_path,
23 0,
24 &error); 20 &error);
25 if (error != NULL) { 21 if (error != NULL) {
22 g_critical ("Failed to load configuration file '%s': %s",
23- CONFIG_FILE_PATH, error->message);
24+ config_file_path, error->message);
25 g_error_free (error);
26
27 return;
diff --git a/gnu/packages/patches/gnome-boxes-add-guix-logo.patch b/gnu/packages/patches/gnome-boxes-add-guix-logo.patch
deleted file mode 100644
index e5706750834..00000000000
--- a/gnu/packages/patches/gnome-boxes-add-guix-logo.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1Taken from upstream commit: 9091c6849652fa083297bc12645d8c57a962874a.
2
3diff --git a/data/osinfo/guix-1.3.xml b/data/osinfo/guix-1.3.xml
4new file mode 100644
5index 00000000..d4e1c167
6--- /dev/null
7+++ b/data/osinfo/guix-1.3.xml
8@@ -0,0 +1,9 @@
9+<libosinfo version="0.0.1">
10+
11+ <!-- Please read README.logos for any questions about usage of product logos in Boxes. !-->
12+
13+ <os id="http://guix.gnu.org/guix/1.3">
14+ <logo>https://gitlab.gnome.org/GNOME/gnome-boxes-logos/-/raw/master/logos/guix.svg</logo>
15+ </os>
16+
17+</libosinfo>
18diff --git a/data/osinfo/meson.build b/data/osinfo/meson.build
19index 46ff1570..d5531e60 100644
20--- a/data/osinfo/meson.build
21+++ b/data/osinfo/meson.build
22@@ -7,6 +7,7 @@ osinfo_db = [
23 ['freedos-1.2.xml', 'gnome-boxes/osinfo/os/freedos.org'],
24 ['gnome-nightly.xml', 'gnome-boxes/osinfo/os/gnome.org'],
25 ['gnome-3.38.xml', 'gnome-boxes/osinfo/os/gnome.org'],
26+ ['guix-1.3.xml', 'gnome-boxes/osinfo/os/guix.gnu.org'],
27 ['manjaro-19.0.xml', 'gnome-boxes/osinfo/os/manjaro.org'],
28 ['nixos-20.03.xml', 'gnome-boxes/osinfo/os/nixos.org'],
29 ['opensuse-10.2.xml', 'gnome-boxes/osinfo/os/opensuse.org'],
30--
312.34.0
32
diff --git a/gnu/packages/patches/gnome-builder-update-libportal.patch b/gnu/packages/patches/gnome-builder-update-libportal.patch
deleted file mode 100644
index 1cf7f32132f..00000000000
--- a/gnu/packages/patches/gnome-builder-update-libportal.patch
+++ /dev/null
@@ -1,93 +0,0 @@
1From b3bfa0df53a3749c3b73cb6c4bad5cab3fa549a1 Mon Sep 17 00:00:00 2001
2From: Abderrahim Kitouni <akitouni@gnome.org>
3Date: Sat, 25 Dec 2021 16:25:43 +0100
4Subject: [PATCH] build: use libportal 0.5
5
6This partly reverts 2aea4bd7d0ced77a7d0778517b4505af5dea2dac
7---
8 build-aux/flatpak/org.gnome.Builder.json | 7 ++++---
9 meson.build | 2 +-
10 src/gstyle/gstyle-color-panel.c | 2 +-
11 src/plugins/devhelp/gbp-devhelp-page.c | 2 +-
12 src/plugins/open-with-external/gbp-owe-workbench-addin.c | 2 +-
13 5 files changed, 8 insertions(+), 7 deletions(-)
14
15diff --git a/build-aux/flatpak/org.gnome.Builder.json b/build-aux/flatpak/org.gnome.Builder.json
16index 02ac31ede..a32d29b92 100644
17--- a/build-aux/flatpak/org.gnome.Builder.json
18+++ b/build-aux/flatpak/org.gnome.Builder.json
19@@ -601,15 +601,16 @@
20 "name" : "libportal",
21 "config-opts" : [
22 "--libdir=/app/lib",
23- "--buildtype=debugoptimized"
24+ "--buildtype=debugoptimized",
25+ "-Dbackends=gtk3"
26 ],
27 "buildsystem" : "meson",
28 "builddir" : true,
29 "sources" : [
30 {
31 "type" : "archive",
32- "url" : "https://github.com/flatpak/libportal/releases/download/0.4/libportal-0.4.tar.xz",
33- "sha256" : "3cd5f50907831cf236b40aa14c5a14ccbbf08828cecb3286efa82ce03cacef28"
34+ "url" : "https://github.com/flatpak/libportal/releases/download/0.5/libportal-0.5.tar.xz",
35+ "sha256" : "d8c8cb18a34e5eeb26a39c94044c955995b01de0e139caac5e18c076cf821b3b"
36 }
37 ]
38 },
39diff --git a/meson.build b/meson.build
40index 01737034b..494e0d752 100644
41--- a/meson.build
42+++ b/meson.build
43@@ -284,7 +284,7 @@ libjsonrpc_glib_dep = dependency('jsonrpc-glib-1.0', version: '>= 3.41.0')
44 libm_dep = cc.find_library('m', required: false)
45 libpangoft2_dep = dependency('pangoft2', version: '>= 1.38.0')
46 libpeas_dep = dependency('libpeas-1.0', version: '>= 1.22.0')
47-libportal_dep = dependency('libportal', version: '>= 0.3', required: false)
48+libportal_dep = dependency('libportal-gtk3', required: false)
49 libtemplate_glib_dep = dependency('template-glib-1.0', version: '>= 3.28.0')
50 libvte_dep = dependency('vte-2.91', version: '>= 0.65.0')
51 libwebkit_dep = dependency('webkit2gtk-4.0', version: '>= 2.26', required: false)
52diff --git a/src/gstyle/gstyle-color-panel.c b/src/gstyle/gstyle-color-panel.c
53index 15742a7be..a6295c168 100644
54--- a/src/gstyle/gstyle-color-panel.c
55+++ b/src/gstyle/gstyle-color-panel.c
56@@ -30,7 +30,7 @@
57 #include "gstyle-color.h"
58
59 #include <libportal/portal.h>
60-#include <libportal/portal-gtk3.h>
61+#include <libportal-gtk3/portal-gtk3.h>
62
63 #define HSV_TO_SCALE_FACTOR (1.0 / 256.0)
64 #define CIELAB_L_TO_SCALE_FACTOR (100.0 / 256.0)
65diff --git a/src/plugins/devhelp/gbp-devhelp-page.c b/src/plugins/devhelp/gbp-devhelp-page.c
66index 5d5c52b0d..2ac788414 100644
67--- a/src/plugins/devhelp/gbp-devhelp-page.c
68+++ b/src/plugins/devhelp/gbp-devhelp-page.c
69@@ -25,7 +25,7 @@
70 #include <webkit2/webkit2.h>
71
72 #include <libportal/portal.h>
73-#include <libportal/portal-gtk3.h>
74+#include <libportal-gtk3/portal-gtk3.h>
75
76 #include "gbp-devhelp-page.h"
77 #include "gbp-devhelp-search.h"
78diff --git a/src/plugins/open-with-external/gbp-owe-workbench-addin.c b/src/plugins/open-with-external/gbp-owe-workbench-addin.c
79index 51d2da844..816fe643f 100644
80--- a/src/plugins/open-with-external/gbp-owe-workbench-addin.c
81+++ b/src/plugins/open-with-external/gbp-owe-workbench-addin.c
82@@ -23,7 +23,7 @@
83 #include "gbp-owe-workbench-addin.h"
84
85 #include <libportal/portal.h>
86-#include <libportal/portal-gtk3.h>
87+#include <libportal-gtk3/portal-gtk3.h>
88
89 struct _GbpOweWorkbenchAddin
90 {
91--
92GitLab
93
diff --git a/gnu/packages/patches/gnome-screenshot-meson-0.60.patch b/gnu/packages/patches/gnome-screenshot-meson-0.60.patch
deleted file mode 100644
index c80ce9d6a37..00000000000
--- a/gnu/packages/patches/gnome-screenshot-meson-0.60.patch
+++ /dev/null
@@ -1,39 +0,0 @@
1Fixes build issue with Meson 0.60.0. Taken from upstream
2https://gitlab.gnome.org/GNOME/gnome-screenshot/-/merge_requests/57
3
4From b60dad3c2536c17bd201f74ad8e40eb74385ed9f Mon Sep 17 00:00:00 2001
5From: Jack Hill <jackhill@jackhill.us>
6Date: Thu, 18 Nov 2021 00:46:58 -0500
7Subject: [PATCH] meson: remove extraneous positional argument
8
9* data/meson.build (desktop_file)
10 (metainfo_file): Remove extraneous positional argument.
11
12Closes #186
13---
14 data/meson.build | 2 --
15 1 file changed, 2 deletions(-)
16
17diff --git a/data/meson.build b/data/meson.build
18index fd570b3..4e2e2e8 100644
19--- a/data/meson.build
20+++ b/data/meson.build
21@@ -1,7 +1,6 @@
22 gnome = import('gnome')
23
24 desktop_file = i18n.merge_file(
25- 'desktop',
26 type: 'desktop',
27 input: 'org.gnome.Screenshot.desktop.in',
28 output: 'org.gnome.Screenshot.desktop',
29@@ -23,7 +22,6 @@ if desktop_file_validate.found()
30 endif
31
32 metainfo_file = i18n.merge_file(
33- 'appdata',
34 input: 'org.gnome.Screenshot.metainfo.xml.in',
35 output: 'org.gnome.Screenshot.metainfo.xml',
36 po_dir: join_paths(meson.current_source_dir(), '../po'),
37--
382.33.1
39
diff --git a/gnu/packages/patches/gobject-introspection-absolute-shlib-path-1.72.patch b/gnu/packages/patches/gobject-introspection-absolute-shlib-path-1.72.patch
new file mode 100644
index 00000000000..8bb86467c08
--- /dev/null
+++ b/gnu/packages/patches/gobject-introspection-absolute-shlib-path-1.72.patch
@@ -0,0 +1,173 @@
1Names of libraries included in typelib files are opened by dlopen.
2Here we add the full path.
3
4This patch was provided by Luca Bruno <lucabru@src.gnome.org>,
5for 'gobject-introspection' 1.40.0 in Nix.
6
7It has since been updated to work with newer versions of
8gobject-introspection.
9
10diff --git a/giscanner/scannermain.py b/giscanner/scannermain.py
11index 1d39ab84..e12ed24e 100644
12--- a/giscanner/scannermain.py
13+++ b/giscanner/scannermain.py
14@@ -95,6 +95,39 @@ def get_windows_option_group(parser):
15 return group
16
17
18+def _get_default_fallback_libpath():
19+ # Newer multiple-output-optimized stdenv has an environment variable
20+ # $outputLib which in turn specifies another variable which then is used as
21+ # the destination for the library contents (${!outputLib}/lib).
22+ store_path = os.environ.get(os.environ.get("outputLib")) if "outputLib" in os.environ else None
23+ if store_path is None:
24+ outputs = os.environ.get("outputs", "out").split()
25+ if "lib" in outputs:
26+ # For multiple output derivations let's try whether there is a $lib
27+ # environment variable and use that as the base store path.
28+ store_path = os.environ.get("lib")
29+ elif "out" in outputs:
30+ # Otherwise we have a single output derivation, so the libraries
31+ # most certainly will end up in "$out/lib".
32+ store_path = os.environ.get("out")
33+
34+ if store_path is not None:
35+ # Even if we have a $lib as output, there still should be a $lib/lib
36+ # directory.
37+ return os.path.join(store_path, 'lib')
38+ else:
39+ # If we haven't found a possible scenario, let's return an empty string
40+ # so that the shared library won't be prepended with a path.
41+ #
42+ # Note that this doesn't mean that all hope is lost, because after all
43+ # we can still use --fallback-library-path to set one.
44+ #
45+ # Also, we're not returning None, because that would make it very
46+ # difficult to disable adding fallback paths altogether using something
47+ # like: --fallback-library-path=""
48+ return ""
49+
50+
51 def _get_option_parser():
52 parser = optparse.OptionParser('%prog [options] sources',
53 version='%prog ' + giscanner.__version__)
54@@ -220,6 +253,10 @@ match the namespace prefix.""")
55 parser.add_option("", "--compiler",
56 action="store", dest="compiler", default=None,
57 help="the C compiler to use internally")
58+ parser.add_option("", "--fallback-library-path",
59+ action="store", dest="fallback_libpath",
60+ default=_get_default_fallback_libpath(),
61+ help="Path to prepend to unknown shared libraries")
62
63 group = get_preprocessor_option_group(parser)
64 parser.add_option_group(group)
65diff --git a/giscanner/shlibs.py b/giscanner/shlibs.py
66index 9f8ab5df..8aa37c99 100644
67--- a/giscanner/shlibs.py
68+++ b/giscanner/shlibs.py
69@@ -57,6 +57,14 @@ def _ldd_library_pattern(library_name):
70 $""" % re.escape(library_name), re.VERBOSE)
71
72
73+def _ldd_library_guix_pattern(library_name):
74+ store_dir = re.escape(
75+ os.environ.get("NIX_STORE", default="/gnu/store")
76+ )
77+ pattern = r'(%s(?:/[^/]*)+lib%s[^A-Za-z0-9_-][^\s\(\)]*)'
78+ return re.compile(pattern % (store_dir, re.escape(library_name)))
79+
80+
81 # This is a what we do for non-la files. We assume that we are on an
82 # ELF-like system where ldd exists and the soname extracted with ldd is
83 # a filename that can be opened with dlopen().
84@@ -108,7 +116,8 @@ def _resolve_non_libtool(options, binary, libraries):
85 output = output.decode("utf-8", "replace")
86
87 shlibs = resolve_from_ldd_output(libraries, output)
88- return list(map(sanitize_shlib_path, shlibs))
89+ fallback_libpath = options.fallback_libpath or "";
90+ return list(map(lambda p: os.path.join(fallback_libpath, p), map(sanitize_shlib_path, shlibs)))
91
92
93 def sanitize_shlib_path(lib):
94@@ -117,19 +126,18 @@ def sanitize_shlib_path(lib):
95 # In case we get relative paths on macOS (like @rpath) then we fall
96 # back to the basename as well:
97 # https://gitlab.gnome.org/GNOME/gobject-introspection/issues/222
98- if sys.platform == "darwin":
99- if not os.path.isabs(lib):
100- return os.path.basename(lib)
101- return lib
102- else:
103+
104+ # Always use absolute paths if available
105+ if not os.path.isabs(lib):
106 return os.path.basename(lib)
107+ return lib
108
109
110 def resolve_from_ldd_output(libraries, output):
111 patterns = {}
112 for library in libraries:
113 if not os.path.isfile(library):
114- patterns[library] = _ldd_library_pattern(library)
115+ patterns[library] = (_ldd_library_pattern(library), _ldd_library_guix_pattern(library))
116 if len(patterns) == 0:
117 return []
118
119@@ -141,8 +149,12 @@ def resolve_from_ldd_output(libraries, output):
120 if line.endswith(':'):
121 continue
122 for word in line.split():
123- for library, pattern in patterns.items():
124- m = pattern.match(word)
125+ for library, (pattern, guix_pattern) in patterns.items():
126+ store_dir = os.environ.get("NIX_STORE", default="/gnu/store")
127+ if line.find(store_dir) != -1:
128+ m = guix_pattern.match(word)
129+ else:
130+ m = pattern.match(word)
131 if m:
132 del patterns[library]
133 shlibs.append(m.group())
134diff --git a/giscanner/utils.py b/giscanner/utils.py
135index 31c7ea48..630002a8 100644
136--- a/giscanner/utils.py
137+++ b/giscanner/utils.py
138@@ -114,16 +114,11 @@ def extract_libtool_shlib(la_file):
139 if dlname is None:
140 return None
141
142- # Darwin uses absolute paths where possible; since the libtool files never
143- # contain absolute paths, use the libdir field
144- if platform.system() == 'Darwin':
145- dlbasename = os.path.basename(dlname)
146- libdir = _extract_libdir_field(la_file)
147- if libdir is None:
148- return dlbasename
149- return libdir + '/' + dlbasename
150- # Older libtools had a path rather than the raw dlname
151- return os.path.basename(dlname)
152+ dlbasename = os.path.basename(dlname)
153+ libdir = _extract_libdir_field(la_file)
154+ if libdir is None:
155+ return dlbasename
156+ return libdir + '/' + dlbasename
157
158
159 # Returns arguments for invoking libtool, if applicable, otherwise None
160diff --git a/tests/scanner/test_shlibs.py b/tests/scanner/test_shlibs.py
161index a8337c60..7f123103 100644
162--- a/tests/scanner/test_shlibs.py
163+++ b/tests/scanner/test_shlibs.py
164@@ -40,7 +40,8 @@ class TestLddParser(unittest.TestCase):
165
166 self.assertEqual(
167 sanitize_shlib_path('/foo/bar'),
168- '/foo/bar' if sys.platform == 'darwin' else 'bar')
169+ # Always use an absolute filename for Guix
170+ '/foo/bar')
171
172 def test_unresolved_library(self):
173 output = ''
diff --git a/gnu/packages/patches/gobject-introspection-cc-1.72.patch b/gnu/packages/patches/gobject-introspection-cc-1.72.patch
new file mode 100644
index 00000000000..d3b1df82af1
--- /dev/null
+++ b/gnu/packages/patches/gobject-introspection-cc-1.72.patch
@@ -0,0 +1,15 @@
1Use gcc as the default C compiler if CC is not set.
2
3diff --git a/giscanner/__init__.py b/giscanner/__init__.py
4index 7c2f365a..607fe341 100644
5--- a/giscanner/__init__.py
6+++ b/giscanner/__init__.py
7@@ -21,6 +21,8 @@ import os
8 builddir = os.environ.get('UNINSTALLED_INTROSPECTION_BUILDDIR')
9 if builddir is not None:
10 __path__.append(os.path.join(builddir, 'giscanner')) # type: ignore # mypy issue #1422
11+if not 'CC' in os.environ:
12+ os.environ['CC'] = 'gcc'
13 try:
14 from ._version import __version__
15 except ImportError:
diff --git a/gnu/packages/patches/gpaste-fix-paths.patch b/gnu/packages/patches/gpaste-fix-paths.patch
index be63878fe6b..bacecd61a91 100644
--- a/gnu/packages/patches/gpaste-fix-paths.patch
+++ b/gnu/packages/patches/gpaste-fix-paths.patch
@@ -1,5 +1,7 @@
1This is copied from NixOS, which is under MIT licence. 1This is copied from NixOS, which is under MIT licence.
2https://github.com/NixOS/nixpkgs/blob/master/pkgs/desktops/gnome/misc/gpaste/ 2https://github.com/NixOS/nixpkgs/blob/master/pkgs/desktops/gnome/misc/gpaste/
3diff --git a/src/gnome-shell/extension.js b/src/gnome-shell/extension.js
4index c8773fd6..9efbed67 100644
3--- a/src/gnome-shell/extension.js 5--- a/src/gnome-shell/extension.js
4+++ b/src/gnome-shell/extension.js 6+++ b/src/gnome-shell/extension.js
5@@ -6,6 +6,8 @@ 7@@ -6,6 +6,8 @@
@@ -10,15 +12,34 @@ https://github.com/NixOS/nixpkgs/blob/master/pkgs/desktops/gnome/misc/gpaste/
10+ 12+
11 imports.gi.versions.Clutter = Config.LIBMUTTER_API_VERSION; 13 imports.gi.versions.Clutter = Config.LIBMUTTER_API_VERSION;
12 imports.gi.versions.GLib = '2.0'; 14 imports.gi.versions.GLib = '2.0';
13 imports.gi.versions.GPaste = '1.0'; 15 imports.gi.versions.GPaste = '2';
16diff --git a/src/gnome-shell/prefs.js b/src/gnome-shell/prefs.js
17index 32244ab2..74b85572 100644
14--- a/src/gnome-shell/prefs.js 18--- a/src/gnome-shell/prefs.js
15+++ b/src/gnome-shell/prefs.js 19+++ b/src/gnome-shell/prefs.js
16@@ -6,6 +6,8 @@ 20@@ -6,6 +6,8 @@
17 21
18 const Gettext = imports.gettext; 22 imports.gi.versions.GPasteGtk = '4';
19 23
20+imports.gi.GIRepository.Repository.prepend_search_path('@typelibPath@'); 24+imports.gi.GIRepository.Repository.prepend_search_path('@typelibPath@');
21+ 25+
22 //const { GPaste } = imports.gi;
23
24 const ExtensionUtils = imports.misc.extensionUtils; 26 const ExtensionUtils = imports.misc.extensionUtils;
27
28 const { GPasteGtk } = imports.gi;
29diff --git a/src/libgpaste/gpaste/gpaste-settings.c b/src/libgpaste/gpaste/gpaste-settings.c
30index 7e53eb64..57c399fc 100644
31--- a/src/libgpaste/gpaste/gpaste-settings.c
32+++ b/src/libgpaste/gpaste/gpaste-settings.c
33@@ -1013,7 +1013,11 @@ create_g_settings (void)
34 }
35 else
36 {
37- return g_settings_new (G_PASTE_SETTINGS_NAME);
38+ // library used by introspection requires schemas but we cannot set XDG_DATA_DIRS for the library
39+ GSettingsSchemaSource *schema_source = g_settings_schema_source_new_from_directory ("@gschemasCompiled@", NULL, FALSE, NULL);
40+ g_autoptr (GSettingsSchema) schema = g_settings_schema_source_lookup (schema_source, G_PASTE_SETTINGS_NAME, FALSE);
41+ g_settings_schema_source_unref (schema_source);
42+ return g_settings_new_full (schema, NULL, NULL);
43 }
44 }
45
diff --git a/gnu/packages/patches/gspell-dash-test.patch b/gnu/packages/patches/gspell-dash-test.patch
deleted file mode 100644
index 1c9d77cfbaa..00000000000
--- a/gnu/packages/patches/gspell-dash-test.patch
+++ /dev/null
@@ -1,22 +0,0 @@
1Somehow, Aspell 0.60.6.1 and aspell-dict-en-2016.11.20-0 don't consider
2this a valid spelling. Skip it.
3
4TODO: Migrate to using hunspell. According to upstream, this bug won't be fixed.
5See https://bugzilla.gnome.org/show_bug.cgi?id=772406.
6--- a/testsuite/test-checker.c 2017-03-24 09:50:50.000000000 -0400
7+++ b/testsuite/test-checker.c 2017-06-15 21:47:07.116173895 -0400
8@@ -105,10 +105,11 @@
9 * be considered deprecated, it is better to use hunspell, so WONTFIX.
10 * For more details, see:
11 * https://bugzilla.gnome.org/show_bug.cgi?id=772406
12+ *
13+ * correctly_spelled = gspell_checker_check_word (checker, "spell-checking", -1, &error);
14+ * g_assert_no_error (error);
15+ * g_assert (correctly_spelled);
16 */
17- correctly_spelled = gspell_checker_check_word (checker, "spell-checking", -1, &error);
18- g_assert_no_error (error);
19- g_assert (correctly_spelled);
20
21 correctly_spelled = gspell_checker_check_word (checker, "nrst-auie", -1, &error);
22 g_assert_no_error (error);
diff --git a/gnu/packages/patches/hedgewars-network-bsd.patch b/gnu/packages/patches/hedgewars-network-bsd.patch
deleted file mode 100644
index 311ce8bf098..00000000000
--- a/gnu/packages/patches/hedgewars-network-bsd.patch
+++ /dev/null
@@ -1,150 +0,0 @@
1From f813f3d5b63bb5be1b5e0b44930e77656c547aad Mon Sep 17 00:00:00 2001
2From: Jens Petersen <none@none>
3Date: Wed, 8 Jul 2020 17:02:45 +0300
4Subject: [PATCH] update server network
5
6---
7 gameServer/Actions.hs | 2 +-
8 gameServer/CMakeLists.txt | 3 ++-
9 gameServer/ClientIO.hs | 4 ++--
10 gameServer/CoreTypes.hs | 2 +-
11 gameServer/OfficialServer/checker.hs | 5 ++---
12 gameServer/Utils.hs | 6 +-----
13 gameServer/hedgewars-server.cabal | 3 ++-
14 gameServer/hedgewars-server.hs | 5 +++--
15 8 files changed, 14 insertions(+), 16 deletions(-)
16
17diff --git a/gameServer/Actions.hs b/gameServer/Actions.hs
18index 125d6ea832..c42d17b9a9 100644
19--- a/gameServer/Actions.hs
20+++ b/gameServer/Actions.hs
21@@ -709,7 +709,7 @@ processAction RestartServer = do
22 args <- gets (runArgs . serverInfo)
23 io $ do
24 noticeM "Core" "Closing listening socket"
25- sClose sock
26+ close sock
27 noticeM "Core" "Spawning new server"
28 _ <- createProcess (proc "./hedgewars-server" args)
29 return ()
30diff --git a/gameServer/CMakeLists.txt b/gameServer/CMakeLists.txt
31index 5f2c882563..e71650c70c 100644
32--- a/gameServer/CMakeLists.txt
33+++ b/gameServer/CMakeLists.txt
34@@ -9,7 +9,8 @@ check_haskell_package_exists(base "Control.Exception" mask 1)
35 check_haskell_package_exists(containers "Data.Map" size 1)
36 check_haskell_package_exists(vector "Data.Vector" length 1)
37 check_haskell_package_exists(bytestring "Data.ByteString" pack 1)
38-check_haskell_package_exists(network "Network.BSD" getHostName 0)
39+check_haskell_package_exists(network "Network.Socket" defaultHints 0)
40+check_haskell_package_exists(network-bsd "Network.BSD" getHostName 0)
41 check_haskell_package_exists(time "Data.Time" getCurrentTime 0)
42 check_haskell_package_exists(mtl "Control.Monad.State" fix 1)
43 check_haskell_package_exists(sandi "Codec.Binary.Base64" encode 1)
44diff --git a/gameServer/ClientIO.hs b/gameServer/ClientIO.hs
45index 46dd40ed9f..0c97bde932 100644
46--- a/gameServer/ClientIO.hs
47+++ b/gameServer/ClientIO.hs
48@@ -23,7 +23,7 @@ import qualified Control.Exception as Exception
49 import Control.Monad.State
50 import Control.Concurrent.Chan
51 import Control.Concurrent
52-import Network
53+import Network.Socket hiding (recv)
54 import Network.Socket.ByteString
55 import qualified Data.ByteString.Char8 as B
56 ----------------
57@@ -90,7 +90,7 @@ clientSendLoop s tId chan ci = do
58 sendAll s $ B.unlines answer `B.snoc` '\n'
59
60 if isQuit answer then
61- sClose s
62+ close s
63 else
64 clientSendLoop s tId chan ci
65
66diff --git a/gameServer/CoreTypes.hs b/gameServer/CoreTypes.hs
67index f547df483a..72f35807e3 100644
68--- a/gameServer/CoreTypes.hs
69+++ b/gameServer/CoreTypes.hs
70@@ -23,7 +23,7 @@ import Control.Concurrent
71 import Data.Word
72 import qualified Data.Map as Map
73 import Data.Time
74-import Network
75+import Network.Socket
76 import Data.Function
77 import Data.ByteString.Char8 as B
78 import Data.Unique
79diff --git a/gameServer/OfficialServer/checker.hs b/gameServer/OfficialServer/checker.hs
80index 37df3208b9..b4ecb8fc57 100644
81--- a/gameServer/OfficialServer/checker.hs
82+++ b/gameServer/OfficialServer/checker.hs
83@@ -28,8 +28,7 @@ import System.Directory
84 import Control.Monad.State
85 import Control.Concurrent.Chan
86 import Control.Concurrent
87-import Network
88-import Network.BSD
89+import Network.BSD hiding (recv)
90 import Network.Socket hiding (recv, sClose)
91 import Network.Socket.ByteString
92 import qualified Data.ByteString.Char8 as B
93@@ -207,7 +206,7 @@ main = withSocketsDo . forever $ do
94
95 Exception.bracket
96 setupConnection
97- (\s -> noticeM "Core" "Shutting down" >> sClose s)
98+ (\s -> noticeM "Core" "Shutting down" >> close s)
99 (session login password (d ++ "/.hedgewars") exeFullname dataPrefix)
100 where
101 setupConnection = do
102diff --git a/gameServer/Utils.hs b/gameServer/Utils.hs
103index 3d81b7f7c6..9fd80c01ba 100644
104--- a/gameServer/Utils.hs
105+++ b/gameServer/Utils.hs
106@@ -41,11 +41,7 @@ import CoreTypes
107
108
109 sockAddr2String :: SockAddr -> IO B.ByteString
110-sockAddr2String (SockAddrInet _ hostAddr) = liftM B.pack $ inet_ntoa hostAddr
111-sockAddr2String (SockAddrInet6 _ _ (a, b, c, d) _) =
112- return $ B.pack $ (foldr1 (.)
113- $ List.intersperse (':':)
114- $ concatMap (\n -> (\(a0, a1) -> [showHex a0, showHex a1]) $ divMod n 65536) [a, b, c, d]) []
115+sockAddr2String = liftM (B.pack . fromJust . fst) . getNameInfo [] True False
116
117 maybeRead :: Read a => String -> Maybe a
118 maybeRead s = case reads s of
119diff --git a/gameServer/hedgewars-server.cabal b/gameServer/hedgewars-server.cabal
120index 3c7f2418c9..9f764fd997 100644
121--- a/gameServer/hedgewars-server.cabal
122+++ b/gameServer/hedgewars-server.cabal
123@@ -57,7 +57,8 @@ Executable checker
124 containers,
125 vector,
126 bytestring,
127- network >= 2.3 && < 3.0,
128+ network >= 2.3,
129+ network-bsd,
130 mtl >= 2,
131 sandi,
132 hslogger,
133diff --git a/gameServer/hedgewars-server.hs b/gameServer/hedgewars-server.hs
134index e47ae2891d..7e6ab8fa38 100644
135--- a/gameServer/hedgewars-server.hs
136+++ b/gameServer/hedgewars-server.hs
137@@ -50,10 +50,11 @@ server si = do
138 proto <- getProtocolNumber "tcp"
139 E.bracket
140 (socket AF_INET Stream proto)
141- sClose
142+ close
143 (\sock -> do
144 setSocketOption sock ReuseAddr 1
145- bindSocket sock (SockAddrInet (listenPort si) iNADDR_ANY)
146+ iNADDR_ANY <- addrAddress . head <$> getAddrInfo Nothing (Just "0") (Just (show (listenPort si)))
147+ bind sock iNADDR_ANY
148 listen sock maxListenQueue
149 startServer si{serverSocket = Just sock}
150 )
diff --git a/gnu/packages/patches/libgda-cve-2021-39359.patch b/gnu/packages/patches/libgda-cve-2021-39359.patch
new file mode 100644
index 00000000000..5e14e793931
--- /dev/null
+++ b/gnu/packages/patches/libgda-cve-2021-39359.patch
@@ -0,0 +1,33 @@
1From bebdffb4de586fb43fd07ac549121f4b22f6812d Mon Sep 17 00:00:00 2001
2From: "Douglas R. Reno" <renodr@linuxfromscratch.org>
3Date: Mon, 18 Oct 2021 13:18:01 -0500
4Subject: [PATCH] Fix CVE-2021-39359 by forcing TLS certificate validation
5
6This was done by adding "ssl-use-system-ca-file", TRUE to the options
7for each soup_session_new_with_options() call that was made.
8
9Tested on Linux From Scratch 11.0 and Debian 11.
10
11Fixes #249
12---
13 providers/web/gda-web-provider.c | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
15
16diff --git a/providers/web/gda-web-provider.c b/providers/web/gda-web-provider.c
17index cf8d14dc3..cc818895f 100644
18--- a/providers/web/gda-web-provider.c
19+++ b/providers/web/gda-web-provider.c
20@@ -355,8 +355,8 @@ gda_web_provider_open_connection (GdaServerProvider *provider, GdaConnection *cn
21 g_rec_mutex_init (& (cdata->mutex));
22 cdata->server_id = NULL;
23 cdata->forced_closing = FALSE;
24- cdata->worker_session = soup_session_new ();
25- cdata->front_session = soup_session_new_with_options ("max-conns-per-host", 1, NULL);
26+ cdata->worker_session = soup_session_new_with_options ("ssl-use-system-ca-file", TRUE, NULL);
27+ cdata->front_session = soup_session_new_with_options ("max-conns-per-host", 1, "ssl-use-system-ca-file", TRUE, NULL);
28 if (use_ssl) {
29 server_url = g_string_new ("https://");
30 g_print ("USING SSL\n");
31--
32GitLab
33
diff --git a/gnu/packages/patches/libgda-fix-build.patch b/gnu/packages/patches/libgda-fix-build.patch
new file mode 100644
index 00000000000..35f5b9694bc
--- /dev/null
+++ b/gnu/packages/patches/libgda-fix-build.patch
@@ -0,0 +1,131 @@
1Taken from upstream.
2
3From 4c2369083c5941ffada100e4a7e4702e681585e3 Mon Sep 17 00:00:00 2001
4From: taozuhong <taozuhong@gmail.com>
5Date: Tue, 11 Jan 2022 15:03:28 +0800
6Subject: [PATCH] fixed compile error
7
8---
9 libgda/Gda-6.0-custom.vala | 3 +++
10 libgda/sql-parser/lemon.c | 39 +++++++++++++++++++-------------------
11 2 files changed, 22 insertions(+), 20 deletions(-)
12
13diff --git a/libgda/Gda-6.0-custom.vala b/libgda/Gda-6.0-custom.vala
14index d046c5c24..4d1408648 100644
15--- a/libgda/Gda-6.0-custom.vala
16+++ b/libgda/Gda-6.0-custom.vala
17@@ -92,7 +92,10 @@ namespace Gda {
18 [CCode (cheader_filename = "libgda.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gda_sql_statement_get_type ()")]
19 [Compact]
20 public class SqlStatement {
21+ #if VALA_0_50
22+ #else
23 public static Gda.SqlStatementContentsInfo get_contents_infos (Gda.SqlStatementType type);
24+ #endif
25 }
26
27 }
28diff --git a/libgda/sql-parser/lemon.c b/libgda/sql-parser/lemon.c
29index a6fe75bb9..a3c727777 100644
30--- a/libgda/sql-parser/lemon.c
31+++ b/libgda/sql-parser/lemon.c
32@@ -11,6 +11,7 @@
33 #include <string.h>
34 #include <ctype.h>
35 #include <stdlib.h>
36+#include <stdint.h>
37 #include <assert.h>
38 #include <gio/gio.h>
39
40@@ -40,7 +41,7 @@ static const char **made_files = NULL;
41 static int made_files_count = 0;
42 static int successful_exit = 0;
43
44-static char *msort(char*,char**,int(*)(const char*,const char*));
45+static uintptr_t msort(uintptr_t, uintptr_t*, int(*)(const uintptr_t, const uintptr_t));
46
47 /*
48 ** Compilers are getting increasingly pedantic about type conversions
49@@ -396,8 +397,7 @@ static int actioncmp(
50 static struct action *Action_sort(
51 struct action *ap
52 ){
53- ap = (struct action *)msort((char *)ap,(char **)&ap->next,
54- (int(*)(const char*,const char*))actioncmp);
55+ ap = (struct action *)msort(ap, &ap->next, actioncmp);
56 return ap;
57 }
58
59@@ -1277,14 +1277,14 @@ void Configlist_closure(struct lemon *lemp)
60
61 /* Sort the configuration list */
62 void Configlist_sort(){
63- current = (struct config *)msort((char *)current,(char **)&(current->next),Configcmp);
64+ current = (struct config *)msort(current, &(current->next), Configcmp);
65 currentend = 0;
66 return;
67 }
68
69 /* Sort the basis configuration list */
70 void Configlist_sortbasis(){
71- basis = (struct config *)msort((char *)current,(char **)&(current->bp),Configcmp);
72+ basis = (struct config *)msort(current, &(current->bp), Configcmp);
73 basisend = 0;
74 return;
75 }
76@@ -1577,7 +1577,7 @@ int main(G_GNUC_UNUSED int argc, char **argv)
77 /*
78 ** Return a pointer to the next structure in the linked list.
79 */
80-#define NEXT(A) (*(char**)(((unsigned long)A)+offset))
81+#define NEXT(A) (*(uintptr_t *)(((uintptr_t)A)+offset))
82
83 /*
84 ** Inputs:
85@@ -1594,13 +1594,13 @@ int main(G_GNUC_UNUSED int argc, char **argv)
86 ** The "next" pointers for elements in the lists a and b are
87 ** changed.
88 */
89-static char *merge(
90- char *a,
91- char *b,
92- int (*cmp)(const char*,const char*),
93- int offset
94+static uintptr_t merge(
95+ uintptr_t a,
96+ uintptr_t b,
97+ int (*cmp)(const uintptr_t, const uintptr_t),
98+ uintptr_t offset
99 ){
100- char *ptr, *head;
101+ uintptr_t ptr, *head;
102
103 if( a==0 ){
104 head = b;
105@@ -1646,16 +1646,15 @@ static char *merge(
106 ** The "next" pointers for elements in list are changed.
107 */
108 #define LISTSIZE 30
109-static char *msort(
110- char *list,
111- char **next,
112- int (*cmp)(const char*,const char*)
113+static uintptr_t msort(
114+ uintptr_t list,
115+ uintptr_t *next,
116+ int (*cmp)(const uintptr_t, const uintptr_t)
117 ){
118- unsigned long offset;
119- char *ep;
120- char *set[LISTSIZE];
121+ uintptr_t ep;
122+ uintptr_t set[LISTSIZE];
123 int i;
124- offset = (unsigned long)next - (unsigned long)list;
125+ uintptr_t offset = (uintptr_t)next - (uintptr_t)list;
126 for(i=0; i<LISTSIZE; i++) set[i] = 0;
127 while( list ){
128 ep = list;
129--
130GitLab
131
diff --git a/gnu/packages/patches/libgda-fix-missing-initialization.patch b/gnu/packages/patches/libgda-fix-missing-initialization.patch
new file mode 100644
index 00000000000..59c4a21e284
--- /dev/null
+++ b/gnu/packages/patches/libgda-fix-missing-initialization.patch
@@ -0,0 +1,26 @@
1Taken from upstream.
2
3From a4a3930ecfc4dc815b7a18dbb7338c165ea08f4e Mon Sep 17 00:00:00 2001
4From: Pavlo Solntsev <p.sun.fun@gmail.com>
5Date: Sun, 19 Sep 2021 22:54:33 -0500
6Subject: [PATCH] Test: Fixing missing initialization
7
8---
9 libgda/thread-wrapper/test-itsignaler.c | 1 +
10 1 file changed, 1 insertion(+)
11
12diff --git a/libgda/thread-wrapper/test-itsignaler.c b/libgda/thread-wrapper/test-itsignaler.c
13index d0c15ae17..7ac4e958a 100644
14--- a/libgda/thread-wrapper/test-itsignaler.c
15+++ b/libgda/thread-wrapper/test-itsignaler.c
16@@ -203,6 +203,7 @@ test2 (void)
17 CbData cbdata;
18 cbdata.counter = 0;
19 cbdata.loop = loop;
20+ cbdata.its = its;
21 itsignaler_add (its, NULL, (ITSignalerFunc) source_callback, &cbdata, NULL);
22 itsignaler_unref (its);
23 g_mutex_unlock (&mutex);
24--
25GitLab
26
diff --git a/gnu/packages/patches/libgda-skip-postgresql-tests.patch b/gnu/packages/patches/libgda-skip-postgresql-tests.patch
new file mode 100644
index 00000000000..28fef585ac9
--- /dev/null
+++ b/gnu/packages/patches/libgda-skip-postgresql-tests.patch
@@ -0,0 +1,91 @@
1Taken from upstream.
2
3From b0cd77e588620465b78f7c017d3f240e13936aa3 Mon Sep 17 00:00:00 2001
4From: Pavlo Solntsev <p.sun.fun@gmail.com>
5Date: Sun, 19 Sep 2021 22:51:38 -0500
6Subject: [PATCH] Test: Skip test if no server available
7
8Two variables will be checked. If they set
9and provide all needed information the test
10will be executed. If they are not set, the test
11will return TRUE and will terminate with
12termination status EXIT_SUCCESS.
13---
14 tests/db/check-db-catalog-postgresql.c | 16 ++++++++++++++++
15 tests/test-server-operation-postgresql.c | 16 ++++++++++++++++
16 2 files changed, 32 insertions(+)
17
18diff --git a/tests/db/check-db-catalog-postgresql.c b/tests/db/check-db-catalog-postgresql.c
19index 5b8e9395c..bf9a8942c 100644
20--- a/tests/db/check-db-catalog-postgresql.c
21+++ b/tests/db/check-db-catalog-postgresql.c
22@@ -25,6 +25,9 @@
23 #include <libgda/libgda.h>
24 #include "../test-cnc-utils.h"
25
26+#define PROVIDER_DB_CREATE_PARAMS "POSTGRESQL_DBCREATE_PARAMS"
27+#define PROVIDER_CNC_PARAMS "POSTGRESQL_CNC_PARAMS"
28+
29 typedef struct {
30 GdaDbCatalog *catalog;
31 GdaConnection *cnc;
32@@ -359,6 +362,19 @@ main (gint argc,
33 {
34 setlocale (LC_ALL,"");
35
36+ const gchar *db_create_str;
37+ const gchar *cnc_params;
38+
39+ db_create_str = g_getenv (PROVIDER_DB_CREATE_PARAMS);
40+ cnc_params = g_getenv (PROVIDER_CNC_PARAMS);
41+
42+ if (!db_create_str || !cnc_params) {
43+ g_print ("Please set POSTGRESQL_DBCREATE_PARAMS and POSTGRESQL_CNC_PARAMS variable"
44+ "with dbname, host, user and port (usually 5432)\n");
45+ g_print ("Test will not be performed\n");
46+ return EXIT_SUCCESS;
47+ }
48+
49 g_test_init (&argc,&argv,NULL);
50
51 g_test_add ("/test-db-postgresql/meta-tables",
52diff --git a/tests/test-server-operation-postgresql.c b/tests/test-server-operation-postgresql.c
53index 37796c4be..860f41a18 100644
54--- a/tests/test-server-operation-postgresql.c
55+++ b/tests/test-server-operation-postgresql.c
56@@ -38,9 +38,12 @@
57 #include <glib/gi18n.h>
58 #include <locale.h>
59 #include <libgda/libgda.h>
60+/*#include <stdlib.h>*/
61 #include "test-cnc-utils.h"
62
63 #define PROVIDER_NAME "PostgreSQL"
64+#define PROVIDER_DB_CREATE_PARAMS "POSTGRESQL_DBCREATE_PARAMS"
65+#define PROVIDER_CNC_PARAMS "POSTGRESQL_CNC_PARAMS"
66
67 #define GDA_PGSQL_ERROR_HANDLE(e) (g_print("Error: %s: %s\n", G_STRLOC, e && e->message ? e->message : "No default"));
68
69@@ -1335,6 +1338,19 @@ main(gint argc, gchar *argv[])
70 {
71 setlocale (LC_ALL,"");
72
73+ const gchar *db_create_str;
74+ const gchar *cnc_params;
75+
76+ db_create_str = g_getenv (PROVIDER_DB_CREATE_PARAMS);
77+ cnc_params = g_getenv (PROVIDER_CNC_PARAMS);
78+
79+ if (!db_create_str || !cnc_params) {
80+ g_print ("Please set POSTGRESQL_DBCREATE_PARAMS and POSTGRESQL_CNC_PARAMS variable"
81+ "with dbname, host, user and port (usually 5432)\n");
82+ g_print ("Test will not be performed\n");
83+ return EXIT_SUCCESS;
84+ }
85+
86 g_test_init (&argc,&argv,NULL);
87
88 g_test_add ("/test-server-operation-sqlite/old-so-module",
89--
90GitLab
91
diff --git a/gnu/packages/patches/nautilus-add-libportal-gtk3.patch b/gnu/packages/patches/nautilus-add-libportal-gtk3.patch
deleted file mode 100644
index cefa47cc644..00000000000
--- a/gnu/packages/patches/nautilus-add-libportal-gtk3.patch
+++ /dev/null
@@ -1,61 +0,0 @@
1From 55cfd66ccca391fc144f5863ff6bfc1f3b137e2d Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Ant=C3=B3nio=20Fernandes?= <antoniojpfernandes@gmail.com>
3Date: Tue, 21 Dec 2021 17:42:27 +0000
4Subject: [PATCH] general: Add libportal-gtk3 dependency
5
6The portal-gtk3.h header has been moved into a separate library which
7binds gtk3 explicitly.
8
9https://github.com/flatpak/libportal/pull/53
10---
11 build-aux/flatpak/org.gnome.Nautilus.json | 5 +++-- ;; Changes removed in Guix
12 build-aux/flatpak/org.gnome.Nautilus.yml | 3 ++- ;; Changes removed in Guix
13 meson.build | 4 +++-
14 src/meson.build | 1 +
15 src/nautilus-files-view.c | 2 +-
16 5 files changed, 10 insertions(+), 5 deletions(-)
17
18diff --git a/meson.build b/meson.build
19index 927216636..4626fa0bb 100644
20--- a/meson.build
21+++ b/meson.build
22@@ -122,8 +122,10 @@ gnome_desktop = dependency('gnome-desktop-3.0', version: '>= 3.0.0')
23 gtk = dependency('gtk+-3.0', version: '>= 3.22.27')
24 libhandy = dependency('libhandy-1', version: '>= 1.1.90')
25 libportal = []
26+libportal_gtk3 = []
27 if get_option('libportal')
28- libportal = dependency('libportal', version: '>= 0.3')
29+ libportal = dependency('libportal', version: '>= 0.5')
30+ libportal_gtk3 = dependency('libportal-gtk3', version: '>= 0.5')
31 endif
32 selinux = []
33 if get_option('selinux')
34diff --git a/src/meson.build b/src/meson.build
35index 682d6f3a3..d7fb76d53 100644
36--- a/src/meson.build
37+++ b/src/meson.build
38@@ -285,6 +285,7 @@ nautilus_deps = [
39 libgd_dep,
40 libhandy,
41 libportal,
42+ libportal_gtk3,
43 nautilus_extension,
44 selinux,
45 tracker_sparql,
46diff --git a/src/nautilus-files-view.c b/src/nautilus-files-view.c
47index dfb7fb26c..a24005a11 100644
48--- a/src/nautilus-files-view.c
49+++ b/src/nautilus-files-view.c
50@@ -93,7 +93,7 @@
51
52 #ifdef HAVE_LIBPORTAL
53 #include <libportal/portal.h>
54-#include <libportal/portal-gtk3.h>
55+#include <libportal-gtk3/portal-gtk3.h>
56 #endif
57
58 /* Minimum starting update inverval */
59--
60GitLab
61
diff --git a/gnu/packages/patches/network-manager-plugin-path.patch b/gnu/packages/patches/network-manager-plugin-path.patch
index ec6767aaac3..cd2447cf039 100644
--- a/gnu/packages/patches/network-manager-plugin-path.patch
+++ b/gnu/packages/patches/network-manager-plugin-path.patch
@@ -3,39 +3,47 @@ From: =?UTF-8?q?Tom=C3=A1=C5=A1=20=C4=8Cech?= <sleep_walker@gnu.org>
3Date: Wed, 3 Jul 2019 13:31:54 +0200 3Date: Wed, 3 Jul 2019 13:31:54 +0200
4Subject: [PATCH] respect NM_VPN_PLUGIN_DIR 4Subject: [PATCH] respect NM_VPN_PLUGIN_DIR
5 5
6--- a/src/core/vpn/nm-vpn-manager.c 2021-10-29 13:20:01.062917840 -0400 6Rebased by Maxim Cournoyer on 2022/08/23.
7+++ b/src/core/vpn/nm-vpn-manager.c 2021-10-29 13:26:46.094397018 -0400 7
8@@ -211,6 +211,7 @@ 8diff --git a/src/core/vpn/nm-vpn-manager.c b/src/core/vpn/nm-vpn-manager.c
9 GSList * infos, *info; 9index 6bf8edaee5..9bd960ba86 100644
10 const char * conf_dir_etc = _nm_vpn_plugin_info_get_default_dir_etc(); 10--- a/src/core/vpn/nm-vpn-manager.c
11 const char * conf_dir_lib = _nm_vpn_plugin_info_get_default_dir_lib(); 11+++ b/src/core/vpn/nm-vpn-manager.c
12+ const char * conf_dir_user = _nm_vpn_plugin_info_get_default_dir_user (); 12@@ -209,8 +209,9 @@ nm_vpn_manager_init(NMVpnManager *self)
13 NMVpnManagerPrivate *priv = NM_VPN_MANAGER_GET_PRIVATE(self);
14 GFile *file;
15 GSList *infos, *info;
16- const char *conf_dir_etc = _nm_vpn_plugin_info_get_default_dir_etc();
17- const char *conf_dir_lib = _nm_vpn_plugin_info_get_default_dir_lib();
18+ const char *conf_dir_etc = _nm_vpn_plugin_info_get_default_dir_etc();
19+ const char *conf_dir_lib = _nm_vpn_plugin_info_get_default_dir_lib();
20+ const char *conf_dir_user = _nm_vpn_plugin_info_get_default_dir_user();
13 21
14 /* Watch the VPN directory for changes */ 22 /* Watch the VPN directory for changes */
15 file = g_file_new_for_path(conf_dir_lib); 23 file = g_file_new_for_path(conf_dir_lib);
16@@ -229,6 +230,14 @@ 24@@ -229,6 +230,14 @@ nm_vpn_manager_init(NMVpnManager *self)
17 g_signal_connect(priv->monitor_etc, "changed", G_CALLBACK(vpn_dir_changed), self); 25 g_signal_connect(priv->monitor_etc, "changed", G_CALLBACK(vpn_dir_changed), self);
18 } 26 }
19 27
20+ file = g_file_new_for_path (conf_dir_user); 28+ file = g_file_new_for_path(conf_dir_user);
21+ priv->monitor_etc = g_file_monitor_directory (file, G_FILE_MONITOR_NONE, NULL, NULL); 29+ priv->monitor_etc = g_file_monitor_directory(file, G_FILE_MONITOR_NONE, NULL, NULL);
22+ g_object_unref (file); 30+ g_object_unref(file);
23+ if (priv->monitor_etc) { 31+ if (priv->monitor_etc) {
24+ priv->monitor_id_etc = 32+ priv->monitor_id_etc =
25+ g_signal_connect (priv->monitor_etc, "changed", G_CALLBACK (vpn_dir_changed), self); 33+ g_signal_connect(priv->monitor_etc, "changed", G_CALLBACK(vpn_dir_changed), self);
26+ } 34+ }
27+ 35+
28 /* first read conf_dir_lib. The name files are not really user configuration, but 36 /* first read conf_dir_lib. The name files are not really user configuration, but
29 * plugin configuration. Hence we expect ~newer~ plugins to install their files 37 * plugin configuration. Hence we expect ~newer~ plugins to install their files
30 * in /usr/lib/NetworkManager. We want to prefer those files. 38 * in /usr/lib/NetworkManager. We want to prefer those files.
31@@ -243,6 +252,11 @@ 39@@ -243,6 +252,11 @@ nm_vpn_manager_init(NMVpnManager *self)
32 try_add_plugin(self, info->data); 40 try_add_plugin(self, info->data);
33 g_slist_free_full(infos, g_object_unref); 41 g_slist_free_full(infos, g_object_unref);
34 42
35+ infos = _nm_vpn_plugin_info_list_load_dir(conf_dir_user, TRUE, 0, NULL, NULL); 43+ infos = _nm_vpn_plugin_info_list_load_dir(conf_dir_user, TRUE, 0, NULL, NULL);
36+ for (info = infos; info; info = info->next) 44+ for (info = infos; info; info = info->next)
37+ try_add_plugin (self, info->data); 45+ try_add_plugin(self, info->data);
38+ g_slist_free_full (infos, g_object_unref); 46+ g_slist_free_full(infos, g_object_unref);
39+ 47+
40 priv->active_services = g_hash_table_new_full(nm_str_hash, g_str_equal, g_free, NULL); 48 priv->active_services = g_hash_table_new_full(nm_str_hash, g_str_equal, g_free, NULL);
41 } 49 }
diff --git a/gnu/packages/patchutils.scm b/gnu/packages/patchutils.scm
index fdbcb8e1e13..dd5e6bae9a8 100644
--- a/gnu/packages/patchutils.scm
+++ b/gnu/packages/patchutils.scm
@@ -4,6 +4,7 @@
4;;; Copyright © 2018–2022 Tobias Geerinckx-Rice <me@tobias.gr> 4;;; Copyright © 2018–2022 Tobias Geerinckx-Rice <me@tobias.gr>
5;;; Copyright © 2019 Christopher Baines <mail@cbaines.net> 5;;; Copyright © 2019 Christopher Baines <mail@cbaines.net>
6;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz> 6;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
7;;; Copyright © 2022 jgart <jgart@dismail.de>
7;;; 8;;;
8;;; This file is part of GNU Guix. 9;;; This file is part of GNU Guix.
9;;; 10;;;
@@ -21,6 +22,7 @@
21;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. 22;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
22 23
23(define-module (gnu packages patchutils) 24(define-module (gnu packages patchutils)
25 #:use-module (guix gexp)
24 #:use-module (guix utils) 26 #:use-module (guix utils)
25 #:use-module (guix packages) 27 #:use-module (guix packages)
26 #:use-module (guix licenses) 28 #:use-module (guix licenses)
@@ -40,6 +42,7 @@
40 #:use-module (gnu packages gettext) 42 #:use-module (gnu packages gettext)
41 #:use-module (gnu packages glib) 43 #:use-module (gnu packages glib)
42 #:use-module (gnu packages gnome) 44 #:use-module (gnu packages gnome)
45 #:use-module (gnu packages groff)
43 #:use-module (gnu packages gtk) 46 #:use-module (gnu packages gtk)
44 #:use-module (gnu packages less) 47 #:use-module (gnu packages less)
45 #:use-module (gnu packages mail) 48 #:use-module (gnu packages mail)
@@ -441,6 +444,41 @@ Users can login allowing them to change the state of patches.")
441 (home-page "http://jk.ozlabs.org/projects/patchwork/") 444 (home-page "http://jk.ozlabs.org/projects/patchwork/")
442 (license gpl2+))) 445 (license gpl2+)))
443 446
447(define-public wiggle
448 (package
449 (name "wiggle")
450 (version "1.3")
451 (source (origin
452 (method git-fetch)
453 (uri (git-reference
454 (url "https://github.com/neilbrown/wiggle")
455 (commit (string-append "v" version))))
456 (file-name (git-file-name name version))
457 (sha256
458 (base32
459 "18ilzr9sbal1j8p1d94ilm1j5blac5cngvcvjpdmgmpw6diy2ldf"))))
460 (build-system gnu-build-system)
461 (arguments
462 (list
463 #:make-flags
464 #~(list "CFLAGS=-I. -O3" "INSTALL=install" "STRIP=-s"
465 (string-append "CC=" #$(cc-for-target))
466 (string-append "BINDIR=" #$output "/bin")
467 (string-append "MANDIR=" #$output "/share/man")
468 (string-append "PREFIX=" #$output))
469 #:test-target "test"
470 #:phases
471 #~(modify-phases %standard-phases
472 (delete 'configure))))
473 (home-page "http://neil.brown.name/wiggle/")
474 (inputs (list ncurses))
475 (native-inputs (list groff))
476 (synopsis "Apply patches with conflicts")
477 (description
478 "@code{wiggle} attempts to apply patches to a target file even if the
479patches do not match perfectly.")
480 (license gpl2+)))
481
444(define-public pwclient 482(define-public pwclient
445 (package 483 (package
446 (name "pwclient") 484 (name "pwclient")
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 09ecd252bca..3580476e337 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -315,6 +315,25 @@ When present, Poppler is able to correctly render CJK and Cyrillic text.")
315 (license (list license:bsd-3 315 (license (list license:bsd-3
316 license:gpl2)))) 316 license:gpl2))))
317 317
318;; XXX: Remove it on core-updates. It is only needed for evince 42.3 that
319;; requires a recent poppler.
320(define-public poppler-next
321 (package/inherit poppler
322 (name "poppler-next")
323 (version "22.09.0")
324 (source (origin
325 (method url-fetch)
326 (uri (string-append "https://poppler.freedesktop.org/poppler-"
327 version ".tar.xz"))
328 (sha256
329 (base32
330 "0bhyli95h3dkirjc0ibh08s4nim6rn7f38sbfzdwln8k454gga6p"))))
331 (native-inputs
332 (list pkg-config
333 `(,glib "bin") ; glib-mkenums, etc.
334 gobject-introspection
335 python)) ))
336
318(define-public poppler-qt5 337(define-public poppler-qt5
319 (package/inherit poppler 338 (package/inherit poppler
320 (name "poppler-qt5") 339 (name "poppler-qt5")
diff --git a/gnu/packages/pkg-config.scm b/gnu/packages/pkg-config.scm
index 770426d7793..6263e90f1fa 100644
--- a/gnu/packages/pkg-config.scm
+++ b/gnu/packages/pkg-config.scm
@@ -2,6 +2,7 @@
2;;; Copyright © 2012, 2013, 2014, 2016 Ludovic Courtès <ludo@gnu.org> 2;;; Copyright © 2012, 2013, 2014, 2016 Ludovic Courtès <ludo@gnu.org>
3;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com> 3;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
4;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be> 4;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
5;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
5;;; 6;;;
6;;; This file is part of GNU Guix. 7;;; This file is part of GNU Guix.
7;;; 8;;;
@@ -167,3 +168,26 @@ exec ~a \"$@\""
167 (inherit original) 168 (inherit original)
168 (variable "PKG_CONFIG_PATH_FOR_BUILD"))) 169 (variable "PKG_CONFIG_PATH_FOR_BUILD")))
169 (package-native-search-paths %pkg-config))))) 170 (package-native-search-paths %pkg-config)))))
171
172(define-public pkgconf
173 (package
174 (name "pkgconf")
175 (version "1.9.3")
176 (source (origin
177 (method url-fetch)
178 (uri (string-append "https://distfiles.dereferenced.org/"
179 name "/" name "-" version ".tar.xz"))
180 (sha256
181 (base32
182 "17b9cl2s99pzgblaj0yg49k3m0by5x78vwg4879vckymhys5bcsz"))))
183 (build-system gnu-build-system)
184 (arguments (list #:tests? #f)) ;TODO: package kyua
185 (home-page "http://pkgconf.org/")
186 (synopsis "Package compiler and linker metadata toolkit")
187 (description "@command{pkgconf} is a program which helps to configure
188compiler and linker flags for development libraries. It is similar to
189pkg-config from freedesktop.org. @code{libpkgconf} is a library which
190provides access to most of pkgconf's functionality, to allow other tooling
191such as compilers and IDEs to discover and use libraries configured by
192pkgconf.")
193 (license isc)))
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 8143088d11d..35483453264 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -835,7 +835,7 @@ of Pandas
835(define-public python-pingouin 835(define-public python-pingouin
836 (package 836 (package
837 (name "python-pingouin") 837 (name "python-pingouin")
838 (version "0.5.1") 838 (version "0.5.2")
839 (source 839 (source
840 ;; The PyPI tarball does not contain the tests. 840 ;; The PyPI tarball does not contain the tests.
841 (origin 841 (origin
@@ -846,18 +846,25 @@ of Pandas
846 (file-name (git-file-name name version)) 846 (file-name (git-file-name name version))
847 (sha256 847 (sha256
848 (base32 848 (base32
849 "10v3mwcmyc7rd2957cbmfcw66yw2y0fz7zcfyx46q8slbmd1d8d4")))) 849 "0czy7cpn6xx9fs6wbz6rq2lpkb1a89bzxj1anf2f9in1m5qyrh83"))))
850 (build-system python-build-system) 850 (build-system python-build-system)
851 (arguments 851 (arguments
852 `(#:phases 852 `(#:phases
853 (modify-phases %standard-phases 853 (modify-phases %standard-phases
854 (add-after 'unpack 'loosen-requirements
855 (lambda _
856 (substitute* '("requirements.txt" "setup.py")
857 ;; Remove sklearn pinning since it works fine with 1.1.2:
858 ;; https://github.com/raphaelvallat/pingouin/pull/300
859 (("scikit-learn<1\\.1\\.0")
860 "scikit-learn"))))
854 ;; On loading, Pingouin uses the outdated package to check if a newer 861 ;; On loading, Pingouin uses the outdated package to check if a newer
855 ;; version is available on PyPI. This check adds an extra dependency 862 ;; version is available on PyPI. This check adds an extra dependency
856 ;; and is irrelevant to Guix users. So, disable it. 863 ;; and is irrelevant to Guix users. So, disable it.
857 (add-after 'unpack 'remove-outdated-check 864 (add-after 'unpack 'remove-outdated-check
858 (lambda _ 865 (lambda _
859 (substitute* "setup.py" 866 (substitute* "setup.py"
860 (("'outdated',") "")) 867 (("\"outdated\",") ""))
861 (substitute* "pingouin/__init__.py" 868 (substitute* "pingouin/__init__.py"
862 (("^from outdated[^\n]*") "") 869 (("^from outdated[^\n]*") "")
863 (("^warn_if_outdated[^\n]*") "")))) 870 (("^warn_if_outdated[^\n]*") ""))))
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index d2bfe29b6f7..9bdc139f218 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4984,12 +4984,17 @@ hard or impossible to fix in cssselect.")
4984 ;; The tests are prone to get stuck. Use pytest-timeout’s --timeout 4984 ;; The tests are prone to get stuck. Use pytest-timeout’s --timeout
4985 ;; flag to get a meaningful idea about where. 4985 ;; flag to get a meaningful idea about where.
4986 (invoke "pytest" "-vv" "--timeout=300" 4986 (invoke "pytest" "-vv" "--timeout=300"
4987 "-k" ,(string-append 4987 "--timeout-method=thread"
4988 "-k" (string-append
4988 ;; Timeout, because SIGINT cannot be sent to child. 4989 ;; Timeout, because SIGINT cannot be sent to child.
4989 "not test_signals_sigint_pycode_continue " 4990 "not test_signals_sigint_pycode_continue "
4990 "and not test_signals_sigint_pycode_stop " 4991 "and not test_signals_sigint_pycode_stop "
4991 "and not test_signals_sigint_uvcode " 4992 "and not test_signals_sigint_uvcode "
4992 "and not test_signals_sigint_uvcode_two_loop_runs " 4993 "and not test_signals_sigint_uvcode_two_loop_runs "
4994 ;; This test is racy and prone to get stuck on
4995 ;; various platforms, possibly a aiohttp issue:
4996 ;; https://github.com/MagicStack/uvloop/issues/412
4997 "and not test_remote_shutdown_receives_trailing_data "
4993 ;; It looks like pytest is preventing 4998 ;; It looks like pytest is preventing
4994 ;; custom stdout/stderr redirection, 4999 ;; custom stdout/stderr redirection,
4995 ;; even with -s. 5000 ;; even with -s.
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 109878a1a01..72bb8412081 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4381,6 +4381,18 @@ via commands such as @command{rst2man}, as well as supporting Python code.")
4381 ;; licensed under the PFSL, BSD 2-clause, and GPLv3+ licenses. 4381 ;; licensed under the PFSL, BSD 2-clause, and GPLv3+ licenses.
4382 (license (list license:public-domain license:psfl license:bsd-2 license:gpl3+)))) 4382 (license (list license:public-domain license:psfl license:bsd-2 license:gpl3+))))
4383 4383
4384;; TODO: Make this the default in the next rebuild cycle.
4385(define-public python-docutils-0.19
4386 (package
4387 (inherit python-docutils)
4388 (version "0.19")
4389 (source (origin
4390 (method url-fetch)
4391 (uri (pypi-uri "docutils" version))
4392 (sha256
4393 (base32
4394 "1rprvir116g5rz2bgzkzgyn6mv0z8582rz7bgxbpy2y3adkmm69k"))))))
4395
4384;; awscli refuses to be built with docutils < 0.16. 4396;; awscli refuses to be built with docutils < 0.16.
4385(define-public python-docutils-0.15 4397(define-public python-docutils-0.15
4386 (package 4398 (package
@@ -10469,21 +10481,20 @@ plugin for flake8 to check PEP-8 naming conventions.")
10469 (invoke "pytest") #t)))))) 10481 (invoke "pytest") #t))))))
10470 (native-inputs (list python-mock python-pytest python-testpath)))) 10482 (native-inputs (list python-mock python-pytest python-testpath))))
10471 10483
10472 10484(define-public python-pyproject-metadata
10473(define-public python-pep621
10474 (package 10485 (package
10475 (name "python-pep621") 10486 (name "python-pyproject-metadata")
10476 (version "0.4.0") 10487 (version "0.6.1")
10477 (source 10488 (source
10478 (origin 10489 (origin
10479 (method git-fetch) 10490 (method git-fetch)
10480 (uri (git-reference 10491 (uri (git-reference
10481 (url "https://github.com/FFY00/python-pep621") 10492 (url "https://github.com/FFY00/python-pyproject-metadata")
10482 (commit version))) 10493 (commit version)))
10483 (file-name (git-file-name name version)) 10494 (file-name (git-file-name name version))
10484 (sha256 10495 (sha256
10485 (base32 10496 (base32
10486 "0nzig7bmzf0xx5svxlf065mrzihr0ci4p1yaxka9flqjba98flpr")))) 10497 "00zahgw9zjfqwf0218bj5k732aibnn68cq1p8f0wmbirb7fy5k31"))))
10487 (build-system python-build-system) 10498 (build-system python-build-system)
10488 (arguments 10499 (arguments
10489 (list 10500 (list
@@ -10511,7 +10522,7 @@ plugin for flake8 to check PEP-8 naming conventions.")
10511 "install" "--no-deps" "--prefix" #$output whl))))))) 10522 "install" "--no-deps" "--prefix" #$output whl)))))))
10512 (propagated-inputs (list python-packaging)) 10523 (propagated-inputs (list python-packaging))
10513 (native-inputs (list python-pypa-build python-pytest python-tomli)) 10524 (native-inputs (list python-pypa-build python-pytest python-tomli))
10514 (home-page "https://github.com/FFY00/python-pep621") 10525 (home-page "https://github.com/FFY00/python-pyproject-metadata")
10515 (synopsis "Dataclass for PEP 621 metadata") 10526 (synopsis "Dataclass for PEP 621 metadata")
10516 (description "This project does not implement the parsing of 10527 (description "This project does not implement the parsing of
10517@file{pyproject.toml} containing PEP 621 metadata. Instead, given a Python 10528@file{pyproject.toml} containing PEP 621 metadata. Instead, given a Python
@@ -10520,6 +10531,10 @@ validate this input and generate a PEP 643-compliant metadata
10520file (e.g. @file{PKG-INFO}).") 10531file (e.g. @file{PKG-INFO}).")
10521 (license license:expat))) 10532 (license license:expat)))
10522 10533
10534;; pep621 was renamed to pyproject-metadata.
10535(define-public python-pep621
10536 (deprecated-package "python-pep621" python-pyproject-metadata))
10537
10523(define-public python-pyflakes 10538(define-public python-pyflakes
10524 (package 10539 (package
10525 (name "python-pyflakes") 10540 (name "python-pyflakes")
@@ -18813,21 +18828,20 @@ from the header, as well as section details and data available.")
18813(define-public python-qrcode 18828(define-public python-qrcode
18814 (package 18829 (package
18815 (name "python-qrcode") 18830 (name "python-qrcode")
18816 (version "6.1") 18831 (version "7.3.1")
18817 (source 18832 (source
18818 (origin 18833 (origin
18819 (method url-fetch) 18834 (method url-fetch)
18820 (uri (pypi-uri "qrcode" version)) 18835 (uri (pypi-uri "qrcode" version))
18821 (sha256 18836 (sha256
18822 (base32 "0sa3n298b9jpz6zn0birnjii3mg9sihjq28n9nzjlzv09y2m6ljh")))) 18837 (base32 "0y35jlwfvkgn9341lzshyaqgpp61vysjh107vhdd96ya83r6ynip"))))
18823 (build-system python-build-system) 18838 (build-system python-build-system)
18824 (arguments 18839 (arguments
18825 ;; FIXME: Tests require packaging 'pymaging'. 18840 ;; FIXME: Tests require packaging 'pymaging'.
18826 '(#:tests? #f)) 18841 '(#:tests? #f))
18827 (propagated-inputs 18842 (propagated-inputs
18828 (list python-lxml ; for SVG output 18843 (list python-lxml ; for SVG output
18829 python-pillow ; for PNG output 18844 python-pillow)) ; for PNG output
18830 python-six))
18831 (home-page "https://github.com/lincolnloop/python-qrcode") 18845 (home-page "https://github.com/lincolnloop/python-qrcode")
18832 (synopsis "QR Code image generator") 18846 (synopsis "QR Code image generator")
18833 (description "This package provides a pure Python QR Code generator 18847 (description "This package provides a pure Python QR Code generator
@@ -20623,14 +20637,14 @@ ignoring formatting changes.")
20623(define-public python-tqdm 20637(define-public python-tqdm
20624 (package 20638 (package
20625 (name "python-tqdm") 20639 (name "python-tqdm")
20626 (version "4.62.3") 20640 (version "4.64.1")
20627 (source 20641 (source
20628 (origin 20642 (origin
20629 (method url-fetch) 20643 (method url-fetch)
20630 (uri (pypi-uri "tqdm" version)) 20644 (uri (pypi-uri "tqdm" version))
20631 (sha256 20645 (sha256
20632 (base32 20646 (base32
20633 "03cjj8jl8iybvfjbpvdql5qfslzfv043g7w6nx8rhv2h2xrdwnfk")))) 20647 "1r7i9kswpnrx4ppfvzz6discb04j1rqkqxdwa2sc2la900m6hksz"))))
20634 (build-system python-build-system) 20648 (build-system python-build-system)
20635 (arguments 20649 (arguments
20636 '(#:phases (modify-phases %standard-phases 20650 '(#:phases (modify-phases %standard-phases
@@ -23485,13 +23499,13 @@ source via the Abstract Syntax Tree.")
23485(define-public python-astunparse 23499(define-public python-astunparse
23486 (package 23500 (package
23487 (name "python-astunparse") 23501 (name "python-astunparse")
23488 (version "1.6.2") 23502 (version "1.6.3")
23489 (source 23503 (source
23490 (origin 23504 (origin
23491 (method url-fetch) 23505 (method url-fetch)
23492 (uri (pypi-uri "astunparse" version)) 23506 (uri (pypi-uri "astunparse" version))
23493 (sha256 23507 (sha256
23494 (base32 "0rzbc44xcvzjhhiy7wac96mgal5mcjz1mfq8rmvgswskf4kf9cys")))) 23508 (base32 "0wh8jjvwafxc7rvbyb13cdwndkicm7cry1bd8p1q9l7has23mnas"))))
23495 (build-system python-build-system) 23509 (build-system python-build-system)
23496 (arguments '(#:tests? #f)) ; there are none 23510 (arguments '(#:tests? #f)) ; there are none
23497 (propagated-inputs 23511 (propagated-inputs
@@ -23506,17 +23520,25 @@ distribution.")
23506(define-public python-gast 23520(define-public python-gast
23507 (package 23521 (package
23508 (name "python-gast") 23522 (name "python-gast")
23509 (version "0.5.2") 23523 (version "0.5.3")
23510 (source 23524 (source
23511 (origin 23525 (origin
23512 (method url-fetch) 23526 (method url-fetch)
23513 (uri (pypi-uri "gast" version)) 23527 (uri (pypi-uri "gast" version))
23514 (sha256 23528 (sha256
23515 (base32 "1xv77kzghiqfm4fnvlv0p878ma152dvcfkly3jij89lqigxcw7zq")))) 23529 (base32 "1sidaczriw54pfkj3523y9j9q2harrczc1qqgnfaylz641ca5gng"))))
23516 (build-system python-build-system) 23530 (build-system python-build-system)
23531 (arguments
23532 '(#:phases (modify-phases %standard-phases
23533 (replace 'check
23534 (lambda* (#:key tests? #:allow-other-keys)
23535 (when tests?
23536 (invoke "pytest" "-vv")))))))
23537 (native-inputs
23538 (list python-pytest))
23517 (propagated-inputs 23539 (propagated-inputs
23518 (list python-astunparse)) 23540 (list python-astunparse))
23519 (home-page "https://pypi.org/project/gast/") 23541 (home-page "https://github.com/serge-sans-paille/gast/")
23520 (synopsis "Generic Python AST that abstracts the underlying Python version") 23542 (synopsis "Generic Python AST that abstracts the underlying Python version")
23521 (description 23543 (description
23522 "GAST provides a compatibility layer between the AST of various Python 23544 "GAST provides a compatibility layer between the AST of various Python
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index a1ef352263f..541e1e6c060 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -1381,7 +1381,7 @@ set of plugins for interacting with pulseaudio and GStreamer.")))
1381 (description "The @code{qtshadertools} module provides APIs and tools 1381 (description "The @code{qtshadertools} module provides APIs and tools
1382supporting shader pipeline functionality as offered in Qt Quick to operate on 1382supporting shader pipeline functionality as offered in Qt Quick to operate on
1383Vulkan, OpenGL and other main graphic APIs.") 1383Vulkan, OpenGL and other main graphic APIs.")
1384 (license (package-home-page qtbase)))) 1384 (license (package-license qtbase))))
1385 1385
1386(define-public qtmultimedia 1386(define-public qtmultimedia
1387 (package 1387 (package
@@ -4233,3 +4233,9 @@ and import their menus over DBus.")
4233services using the XML based SOAP protocol and without the need for a dedicated 4233services using the XML based SOAP protocol and without the need for a dedicated
4234web server.") 4234web server.")
4235 (license (list license:gpl2 license:gpl3)))) 4235 (license (list license:gpl2 license:gpl3))))
4236
4237;;;
4238;;; Avoid adding new packages to the end of this file. To reduce the chances
4239;;; of a merge conflict, place them above by existing packages with similar
4240;;; functionality or similar names.
4241;;;
diff --git a/gnu/packages/rsync.scm b/gnu/packages/rsync.scm
index 5f549ef2343..98cd33baef1 100644
--- a/gnu/packages/rsync.scm
+++ b/gnu/packages/rsync.scm
@@ -29,6 +29,7 @@
29 #:use-module (gnu packages digest) 29 #:use-module (gnu packages digest)
30 #:use-module (gnu packages perl) 30 #:use-module (gnu packages perl)
31 #:use-module (gnu packages popt) 31 #:use-module (gnu packages popt)
32 #:use-module (gnu packages tls)
32 #:use-module ((guix licenses) #:prefix license:) 33 #:use-module ((guix licenses) #:prefix license:)
33 #:use-module (guix packages) 34 #:use-module (guix packages)
34 #:use-module (guix download) 35 #:use-module (guix download)
@@ -39,27 +40,26 @@
39(define-public rsync 40(define-public rsync
40 (package 41 (package
41 (name "rsync") 42 (name "rsync")
42 (version "3.2.5") 43 (version "3.2.6")
43 (source (origin 44 (source (origin
44 (method url-fetch) 45 (method url-fetch)
45 (uri (string-append "https://rsync.samba.org/ftp/rsync/src/rsync-" 46 (uri (string-append "https://rsync.samba.org/ftp/rsync/src/rsync-"
46 version ".tar.gz")) 47 version ".tar.gz"))
47 (sha256 48 (sha256
48 (base32 49 (base32
49 "1flsqq01dmbz0m2vwn4sj46zb9yxlrfc6xy3gf393xyd6lbd5i1a")))) 50 "1lslaj1s7mpgf4v5lxhhiyy4ffmxaxy9cbplx8gx8dvqnax6aczv"))))
50 (build-system gnu-build-system) 51 (build-system gnu-build-system)
51 (arguments 52 (arguments
52 `(#:configure-flags 53 `(#:configure-flags
53 ;; The bundled copies are preferred by default. 54 ;; The bundled copies are preferred by default.
54 (list "--without-included-zlib" 55 (list "--without-included-zlib"
55 "--without-included-popt" 56 "--without-included-popt")))
56 ;; Avoid these dependencies for now.
57 "--disable-openssl")))
58 (native-inputs 57 (native-inputs
59 (list perl)) 58 (list perl))
60 (inputs 59 (inputs
61 (list acl 60 (list acl
62 lz4 61 lz4
62 openssl
63 popt 63 popt
64 xxhash 64 xxhash
65 zlib 65 zlib
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 2fb43f13cbf..d6e87956980 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -557,13 +557,33 @@ safety and thread safety guarantees.")
557 rust-1.57 "1.58.1" "1iq7kj16qfpkx8gvw50d8rf7glbm6s0pj2y1qkrz7mi56vfsyfd8")) 557 rust-1.57 "1.58.1" "1iq7kj16qfpkx8gvw50d8rf7glbm6s0pj2y1qkrz7mi56vfsyfd8"))
558 558
559(define rust-1.59 559(define rust-1.59
560 (rust-bootstrapped-package 560 (let ((base-rust
561 ;; Verified that it *doesn't* build with 1.57. e.g.: 561 (rust-bootstrapped-package
562 ;; * error: `doc(primitive)` should never have been stable 562 ;; Verified that it *doesn't* build with 1.57. e.g.:
563 ;; * error[E0522]: definition of an unknown language item: 563 ;; * error: `doc(primitive)` should never have been stable
564 ;; `generator_return` 564 ;; * error[E0522]: definition of an unknown language item:
565 ;; * error[E0206]: the trait `Copy` may not be implemented for this type 565 ;; `generator_return`
566 rust-1.58 "1.59.0" "1yc5bwcbmbwyvpfq7zvra78l0r8y3lbv60kbr62fzz2vx2pfxj57")) 566 ;; * error[E0206]: the trait `Copy` may not be implemented for this type
567 rust-1.58 "1.59.0" "1yc5bwcbmbwyvpfq7zvra78l0r8y3lbv60kbr62fzz2vx2pfxj57")))
568 (package
569 (inherit base-rust)
570 (arguments
571 (if (target-riscv64?)
572 (substitute-keyword-arguments (package-arguments base-rust)
573 ((#:phases phases)
574 `(modify-phases ,phases
575 (add-after 'unpack 'revert-riscv-pause-instruction
576 (lambda _
577 ;; This fails with:
578 ;; error: unknown directive, referring to '.insn'.
579 ;; This is due to building with llvm < 14.
580 ;; https://github.com/rust-lang/stdarch/issues/1291
581 ;; Partial roll-back from this commit:
582 ;; https://github.com/rust-lang/stdarch/pull/1271
583 (substitute*
584 "library/stdarch/crates/core_arch/src/riscv_shared/mod.rs"
585 (("\\.insn i 0x0F, 0, x0, x0, 0x010") ".word 0x0100000F")))))))
586 (package-arguments base-rust))))))
567 587
568(define rust-1.60 588(define rust-1.60
569 (rust-bootstrapped-package 589 (rust-bootstrapped-package
diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index 48de75783e5..2523889a8df 100644
--- a/gnu/packages/sdl.scm
+++ b/gnu/packages/sdl.scm
@@ -13,6 +13,7 @@
13;;; Copyright © 2019 Pierre Neidhardt <mail@ambrevar.xyz> 13;;; Copyright © 2019 Pierre Neidhardt <mail@ambrevar.xyz>
14;;; Copyright © 2020 Timotej Lazar <timotej.lazar@araneo.si> 14;;; Copyright © 2020 Timotej Lazar <timotej.lazar@araneo.si>
15;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com> 15;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
16;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
16;;; 17;;;
17;;; This file is part of GNU Guix. 18;;; This file is part of GNU Guix.
18;;; 19;;;
@@ -34,6 +35,7 @@
34 #:use-module (srfi srfi-1) 35 #:use-module (srfi srfi-1)
35 #:use-module (srfi srfi-26) 36 #:use-module (srfi srfi-26)
36 #:use-module (gnu packages) 37 #:use-module (gnu packages)
38 #:use-module (guix gexp)
37 #:use-module ((guix licenses) #:prefix license:) 39 #:use-module ((guix licenses) #:prefix license:)
38 #:use-module (guix packages) 40 #:use-module (guix packages)
39 #:use-module (guix download) 41 #:use-module (guix download)
@@ -113,7 +115,7 @@ joystick, and graphics hardware.")
113 (package 115 (package
114 (inherit sdl) 116 (inherit sdl)
115 (name "sdl2") 117 (name "sdl2")
116 (version "2.0.18") 118 (version "2.24.0")
117 (source (origin 119 (source (origin
118 (method url-fetch) 120 (method url-fetch)
119 (uri 121 (uri
@@ -121,37 +123,36 @@ joystick, and graphics hardware.")
121 version ".tar.gz")) 123 version ".tar.gz"))
122 (sha256 124 (sha256
123 (base32 125 (base32
124 "073iwmggkvvl82fssqb7xzbb4awraprjig6zxav0p8dz7pbhrm4l")))) 126 "15vd9najhjh6s9z9hhx7zp51iby690a1g3h7kcwjvyb82x5w7r4i"))))
125 (arguments 127 (arguments
126 (substitute-keyword-arguments (package-arguments sdl) 128 (substitute-keyword-arguments (package-arguments sdl)
127 ((#:configure-flags flags) 129 ((#:configure-flags flags)
128 `(append '("--disable-wayland-shared" "--enable-video-kmsdrm" 130 #~(append '("--disable-wayland-shared" "--enable-video-kmsdrm"
129 "--disable-kmsdrm-shared") 131 "--disable-kmsdrm-shared")
130 ,flags)) 132 #$flags))
131 ((#:make-flags flags ''()) 133 ((#:make-flags flags ''())
132 `(cons* 134 #~(cons*
133 ;; SDL dlopens libudev, so make sure it is in rpath. This overrides 135 ;; SDL dlopens libudev, so make sure it is in rpath. This overrides
134 ;; the LDFLAG set in sdl’s configure-flags, which isn’t necessary 136 ;; the LDFLAG set in sdl’s configure-flags, which isn’t necessary
135 ;; as sdl2 includes Mesa by default. 137 ;; as sdl2 includes Mesa by default.
136 (string-append "LDFLAGS=-Wl,-rpath," 138 (string-append "LDFLAGS=-Wl,-rpath,"
137 (assoc-ref %build-inputs "eudev") "/lib") 139 #$(this-package-input "eudev") "/lib")
138 ,flags)))) 140 #$flags))))
139 (inputs 141 (inputs
140 ;; SDL2 needs to be built with ibus support otherwise some systems 142 ;; SDL2 needs to be built with ibus support otherwise some systems
141 ;; experience a bug where input events are doubled. 143 ;; experience a bug where input events are doubled.
142 ;; 144 ;;
143 ;; For more information, see: https://dev.solus-project.com/T1721 145 ;; For more information, see: https://dev.solus-project.com/T1721
144 (modify-inputs (package-inputs sdl) 146 (modify-inputs (package-inputs sdl)
145 (prepend 147 (append dbus
146 dbus 148 eudev ;for discovering input devices
147 eudev ;for discovering input devices 149 fcitx ;helps with CJK input
148 fcitx ;helps with CJK input 150 glib
149 glib 151 ibus
150 ibus 152 libxkbcommon
151 libxkbcommon 153 libxcursor ;enables X11 cursor support
152 libxcursor 154 wayland
153 wayland ;enables X11 cursor support 155 wayland-protocols)))
154 wayland-protocols)))
155 (license license:bsd-3))) 156 (license license:bsd-3)))
156 157
157(define-public libmikmod 158(define-public libmikmod
diff --git a/gnu/packages/search.scm b/gnu/packages/search.scm
index 84c4af68a34..82be343dab2 100644
--- a/gnu/packages/search.scm
+++ b/gnu/packages/search.scm
@@ -11,6 +11,7 @@
11;;; Copyright © 2021, 2022 Nicolas Goaziou <mail@nicolasgoaziou.fr> 11;;; Copyright © 2021, 2022 Nicolas Goaziou <mail@nicolasgoaziou.fr>
12;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com> 12;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com>
13;;; Copyright © 2022 Arun Isaac <arunisaac@systemreboot.net> 13;;; Copyright © 2022 Arun Isaac <arunisaac@systemreboot.net>
14;;; Copyright © 2022 Michael Rohleder <mike@rohleder.de>
14;;; 15;;;
15;;; This file is part of GNU Guix. 16;;; This file is part of GNU Guix.
16;;; 17;;;
@@ -361,20 +362,21 @@ Search Engine. It is written in C and based on GTK3.")
361(define-public recoll 362(define-public recoll
362 (package 363 (package
363 (name "recoll") 364 (name "recoll")
364 (version "1.31.2") 365 (version "1.32.7")
365 (source 366 (source
366 (origin 367 (origin
367 (method url-fetch) 368 (method url-fetch)
368 (uri (string-append "https://www.lesbonscomptes.com/recoll/" 369 (uri (string-append "https://www.lesbonscomptes.com/recoll/"
369 "recoll-" version ".tar.gz")) 370 "recoll-" version ".tar.gz"))
370 (sha256 371 (sha256
371 (base32 "0m1w5hf2n09lbzmzvlrm2lks4lci9vvjxy2mcmgb2avgly7v5vfk")))) 372 (base32 "1fkx6dk8s808ay4hf7ycfcs38kywmavsjqm02pwrnl8bpgsac26a"))))
372 (build-system gnu-build-system) 373 (build-system gnu-build-system)
373 (arguments 374 (arguments
374 `(#:configure-flags 375 `(#:configure-flags
375 (list "--disable-webkit" 376 (list "--disable-webkit"
376 "--disable-python-module" 377 "--disable-python-module"
377 "--without-systemd" 378 "--without-systemd"
379 "--with-inotify"
378 (string-append "QMAKEPATH=" (assoc-ref %build-inputs "qtbase") 380 (string-append "QMAKEPATH=" (assoc-ref %build-inputs "qtbase")
379 "/bin/qmake")) 381 "/bin/qmake"))
380 #:phases 382 #:phases
diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm
index 06860dc5b2d..e70b9ef7063 100644
--- a/gnu/packages/shellutils.scm
+++ b/gnu/packages/shellutils.scm
@@ -57,6 +57,7 @@
57 #:use-module (gnu packages readline) 57 #:use-module (gnu packages readline)
58 #:use-module (gnu packages ruby) 58 #:use-module (gnu packages ruby)
59 #:use-module (gnu packages shells) 59 #:use-module (gnu packages shells)
60 #:use-module (gnu packages textutils)
60 #:use-module (gnu packages tmux) 61 #:use-module (gnu packages tmux)
61 #:use-module (gnu packages vim)) 62 #:use-module (gnu packages vim))
62 63
@@ -271,6 +272,38 @@ interactive terminal. This helps in reviewing commands before running them,
271particularly in catching syntax errors.") 272particularly in catching syntax errors.")
272 (license license:bsd-3))) 273 (license license:bsd-3)))
273 274
275(define-public grml-zsh-config
276 (package
277 (name "grml-zsh-config")
278 (version "0.19.3")
279 (source (origin
280 (method url-fetch)
281 (uri (string-append
282 "https://deb.grml.org/pool/main/g/grml-etc-core/grml-etc-core_"
283 version ".tar.gz"))
284 (sha256
285 (base32
286 "05fri77028znjnvmh8mz3424rn8ilysj7hn8br2hk1qwkp4zzwp9"))))
287 (build-system copy-build-system)
288 (arguments
289 (list
290 #:phases
291 #~(modify-phases
292 %standard-phases
293 (add-before 'install 'make-doc
294 (lambda _ (with-directory-excursion "doc" (invoke "make")))))
295 #:install-plan
296 #~'(("etc/skel/.zshrc" "etc/skel/.zshrc")
297 ("etc/zsh/keephack" "etc/zsh/keephack")
298 ("etc/zsh/zshrc" "etc/zsh/zshrc")
299 ("doc/grmlzshrc.5" "share/man/man5/grmlzshrc.5"))))
300 (native-inputs (list txt2tags))
301 (home-page "https://grml.org/zsh/")
302 (synopsis "Grml's zsh configuration")
303 (description "This package provides an interactive setup for zsh
304preconfigured by the Grml project.")
305 (license license:gpl2)))
306
274(define-public sh-z 307(define-public sh-z
275 (package 308 (package
276 (name "sh-z") 309 (name "sh-z")
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index dc3a90bbcb7..85902a8d967 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -3,7 +3,7 @@
3;;; Copyright © 2015, 2017, 2019, 2020, 2021 Ricardo Wurmus <rekado@elephly.net> 3;;; Copyright © 2015, 2017, 2019, 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
4;;; Copyright © 2015, 2016, 2017 Leo Famulari <leo@famulari.name> 4;;; Copyright © 2015, 2016, 2017 Leo Famulari <leo@famulari.name>
5;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com> 5;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
6;;; Copyright © 2016, 2017, 2018, 2019 Marius Bakke <mbakke@fastmail.com> 6;;; Copyright © 2016-2019, 2022 Marius Bakke <marius@gnu.org>
7;;; Copyright © 2017 Danny Milosavljevic <dannym+a@scratchpost.org> 7;;; Copyright © 2017 Danny Milosavljevic <dannym+a@scratchpost.org>
8;;; Copyright © 2017, 2018, 2020 Tobias Geerinckx-Rice <me@tobias.gr> 8;;; Copyright © 2017, 2018, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
9;;; Copyright © 2017 Frederick M. Muriithi <fredmanglis@gmail.com> 9;;; Copyright © 2017 Frederick M. Muriithi <fredmanglis@gmail.com>
@@ -385,6 +385,33 @@ grid layout. It is no longer maintained and users are encouraged to use
385@code{sphinx-design} instead.") 385@code{sphinx-design} instead.")
386 (license license:expat))) 386 (license license:expat)))
387 387
388(define-public python-sphinx-tabs
389 (package
390 (name "python-sphinx-tabs")
391 (version "3.4.1")
392 (home-page "https://github.com/executablebooks/sphinx-tabs")
393 (source (origin
394 (method url-fetch)
395 (uri (pypi-uri "sphinx-tabs" version))
396 (sha256
397 (base32
398 "0cmqw5ck2jcxqyf5ibz543idspq0g0fdzxh3fpah1r0nhfg9z86j"))))
399 (build-system python-build-system)
400 (arguments
401 '(#:tests? #f ;TODO: requires sphinx-testing and rinohtype
402 #:phases (modify-phases %standard-phases
403 (add-after 'unpack 'loosen-docutils-requirement
404 (lambda _
405 (substitute* "setup.py"
406 (("docutils~=0\\.18\\.0")
407 "docutils>=0.17.0")))))))
408 (propagated-inputs
409 (list python-docutils python-pygments python-sphinx))
410 (synopsis "Tabbed views for Sphinx")
411 (description
412 "Create tabbed content in Sphinx documentation when building HTML.")
413 (license license:expat)))
414
388(define-public python-sphinxcontrib-programoutput 415(define-public python-sphinxcontrib-programoutput
389 (package 416 (package
390 (name "python-sphinxcontrib-programoutput") 417 (name "python-sphinxcontrib-programoutput")
@@ -986,7 +1013,7 @@ automated way to document command-line programs. It scans
986(define-public python-sphinx-theme-builder 1013(define-public python-sphinx-theme-builder
987 (package 1014 (package
988 (name "python-sphinx-theme-builder") 1015 (name "python-sphinx-theme-builder")
989 (version "0.2.0a14") 1016 (version "0.2.0b1")
990 (source 1017 (source
991 (origin 1018 (origin
992 (method git-fetch) ;no tests in pypi archive 1019 (method git-fetch) ;no tests in pypi archive
@@ -996,7 +1023,7 @@ automated way to document command-line programs. It scans
996 (file-name (git-file-name name version)) 1023 (file-name (git-file-name name version))
997 (sha256 1024 (sha256
998 (base32 1025 (base32
999 "1brqp34q716gglliallbgq4m63hl3nk8j6w8wcl8f2vvnkch6v98")))) 1026 "15gvwzd4l3wcmd6fns8xvv44yzxmamr1nfn28mp12sdw2y10v2ba"))))
1000 (build-system python-build-system) 1027 (build-system python-build-system)
1001 (arguments 1028 (arguments
1002 (list 1029 (list
@@ -1023,7 +1050,7 @@ automated way to document command-line programs. It scans
1023 python-click 1050 python-click
1024 python-nodeenv 1051 python-nodeenv
1025 python-packaging 1052 python-packaging
1026 python-pep621 1053 python-pyproject-metadata
1027 python-rich 1054 python-rich
1028 python-sphinx-autobuild 1055 python-sphinx-autobuild
1029 python-tomli)) 1056 python-tomli))
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 1f2553fa74f..93625b0fe93 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -11965,7 +11965,8 @@ lines in a document. Package options include @code{singlespacing},
11965@code{onehalfspacing}, and @code{doublespacing}. Alternatively the spacing 11965@code{onehalfspacing}, and @code{doublespacing}. Alternatively the spacing
11966can be changed as required with the @code{\\singlespacing}, 11966can be changed as required with the @code{\\singlespacing},
11967@code{\\onehalfspacing}, and @code{\\doublespacing} commands. Other size 11967@code{\\onehalfspacing}, and @code{\\doublespacing} commands. Other size
11968spacings also available."))) 11968spacings also available.")
11969 (license license:lppl)))
11969 11970
11970(define-public texlive-pgfgantt 11971(define-public texlive-pgfgantt
11971 (package 11972 (package
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index 7898d520f0c..2264e3ccb6b 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -68,6 +68,7 @@
68 #:use-module (gnu packages pkg-config) 68 #:use-module (gnu packages pkg-config)
69 #:use-module (gnu packages python) 69 #:use-module (gnu packages python)
70 #:use-module (gnu packages python-build) 70 #:use-module (gnu packages python-build)
71 #:use-module (gnu packages python-check)
71 #:use-module (gnu packages python-xyz) 72 #:use-module (gnu packages python-xyz)
72 #:use-module (gnu packages readline) 73 #:use-module (gnu packages readline)
73 #:use-module (gnu packages ruby) 74 #:use-module (gnu packages ruby)
@@ -972,6 +973,25 @@ source code.")
972and Cython.") 973and Cython.")
973 (license license:expat)))) 974 (license license:expat))))
974 975
976(define-public txt2tags
977 (package
978 (name "txt2tags")
979 (version "3.7")
980 (source (origin
981 (method url-fetch)
982 (uri (pypi-uri "txt2tags" version))
983 (sha256
984 (base32
985 "12hpnvdy7dgarq6ini9jp7dp2zcmvpax04zbl3jb84kd423r75i7"))))
986 (build-system python-build-system)
987 (native-inputs (list python-tox))
988 (home-page "https://txt2tags.org")
989 (synopsis "Convert between markup languages")
990 (description
991 "txt2tags is a document generator. It reads a text file with minimal
992markup and converts it to multiple formats.")
993 (license license:gpl2)))
994
975(define-public go-github.com-mattn-go-runewidth 995(define-public go-github.com-mattn-go-runewidth
976 (let ((commit "703b5e6b11ae25aeb2af9ebb5d5fdf8fa2575211") 996 (let ((commit "703b5e6b11ae25aeb2af9ebb5d5fdf8fa2575211")
977 (version "0.0.4") 997 (version "0.0.4")
diff --git a/gnu/packages/uml.scm b/gnu/packages/uml.scm
index 603bbd0678c..6b9f023dd2c 100644
--- a/gnu/packages/uml.scm
+++ b/gnu/packages/uml.scm
@@ -3,6 +3,7 @@
3;;; Copyright © 2019 Arun Isaac <arunisaac@systemreboot.net> 3;;; Copyright © 2019 Arun Isaac <arunisaac@systemreboot.net>
4;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr> 4;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
5;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de> 5;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
6;;; Copyright © 2022 jgart <jgart@dismail.de>
6;;; 7;;;
7;;; This file is part of GNU Guix. 8;;; This file is part of GNU Guix.
8;;; 9;;;
@@ -31,14 +32,14 @@
31(define-public plantuml 32(define-public plantuml
32 (package 33 (package
33 (name "plantuml") 34 (name "plantuml")
34 (version "1.2022.3") 35 (version "1.2022.7")
35 (source (origin 36 (source (origin
36 (method url-fetch) 37 (method url-fetch)
37 (uri (string-append "mirror://sourceforge/plantuml/" 38 (uri (string-append "mirror://sourceforge/plantuml/"
38 version "/plantuml-" version ".tar.gz")) 39 version "/plantuml-" version ".tar.gz"))
39 (sha256 40 (sha256
40 (base32 41 (base32
41 "1k5c97iicdvamkcdaz7c2b79qaciz5gvgs7n67as7hcbm2q85q3b")))) 42 "0lcvp6hdlzgh6ia14zzdc6h9hn8xrm9w9dcx5jpzhs8nbygkazvj"))))
42 (build-system ant-build-system) 43 (build-system ant-build-system)
43 (arguments 44 (arguments
44 `(#:tests? #f ; no tests 45 `(#:tests? #f ; no tests
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 813037a4212..2c94a8ac4c1 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -1734,7 +1734,7 @@ execution of any hook written in any language before every commit.")
1734(define-public mercurial 1734(define-public mercurial
1735 (package 1735 (package
1736 (name "mercurial") 1736 (name "mercurial")
1737 (version "6.2.1") 1737 (version "6.2.2")
1738 (source (origin 1738 (source (origin
1739 (method url-fetch) 1739 (method url-fetch)
1740 (uri (string-append "https://www.mercurial-scm.org/" 1740 (uri (string-append "https://www.mercurial-scm.org/"
@@ -1743,7 +1743,14 @@ execution of any hook written in any language before every commit.")
1743 "mercurial-openssl-compat.patch")) 1743 "mercurial-openssl-compat.patch"))
1744 (sha256 1744 (sha256
1745 (base32 1745 (base32
1746 "1nl2726szaxyrxlyssrsir5c6vb4ci0i6g969i6xaahw1nidgica")))) 1746 "1pr00hdk3l9095fhq6302fgj0wmbqhqs93y4r457ba4pyjjrvyly"))
1747 (modules '((guix build utils)))
1748 (snippet
1749 '(substitute* (find-files "tests" "\\.(t|sh)$")
1750 ;; grep 3.8 emits deprecation warnings for 'egrep' and
1751 ;; 'fgrep' which breaks expected test output.
1752 (("egrep") "grep -E")
1753 (("fgrep") "grep -F")))))
1747 (build-system gnu-build-system) 1754 (build-system gnu-build-system)
1748 (arguments 1755 (arguments
1749 `(#:make-flags 1756 `(#:make-flags
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index ee360fc0b6e..8c0f187be1b 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -2293,7 +2293,7 @@ the last played position, etc.")
2293(define-public gallery-dl 2293(define-public gallery-dl
2294 (package 2294 (package
2295 (name "gallery-dl") 2295 (name "gallery-dl")
2296 (version "1.20.5") 2296 (version "1.23.0")
2297 (source (origin 2297 (source (origin
2298 (method url-fetch) 2298 (method url-fetch)
2299 (uri (string-append "https://github.com/mikf/gallery-dl" 2299 (uri (string-append "https://github.com/mikf/gallery-dl"
@@ -2301,7 +2301,7 @@ the last played position, etc.")
2301 version ".tar.gz")) 2301 version ".tar.gz"))
2302 (sha256 2302 (sha256
2303 (base32 2303 (base32
2304 "0149hd4nh7bk2yqjdnvrkvag5mwgsb6gxrgfcd88q4cv3k2ji42h")))) 2304 "12rhzf8cwsvlg0vxzydgc7x04gmccxkjk8ghb5s8lk0gjp7ysqkh"))))
2305 (build-system python-build-system) 2305 (build-system python-build-system)
2306 (inputs (list python-requests ffmpeg)) 2306 (inputs (list python-requests ffmpeg))
2307 (home-page "https://github.com/mikf/gallery-dl") 2307 (home-page "https://github.com/mikf/gallery-dl")
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 2860894bbd6..cebcc9742df 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -61,6 +61,7 @@
61 #:use-module (gnu packages cluster) 61 #:use-module (gnu packages cluster)
62 #:use-module (gnu packages cmake) 62 #:use-module (gnu packages cmake)
63 #:use-module (gnu packages compression) 63 #:use-module (gnu packages compression)
64 #:use-module (gnu packages containers)
64 #:use-module (gnu packages cross-base) 65 #:use-module (gnu packages cross-base)
65 #:use-module (gnu packages curl) 66 #:use-module (gnu packages curl)
66 #:use-module (gnu packages cyrus-sasl) 67 #:use-module (gnu packages cyrus-sasl)
@@ -172,8 +173,10 @@
172 (modules '((guix build utils))) 173 (modules '((guix build utils)))
173 (snippet 174 (snippet
174 '(begin 175 '(begin
175 ;; Delete the bundled meson copy. 176 ;; Delete bundled code that we provide externally.
176 (delete-file-recursively "meson"))))) 177 ;; TODO: Unbundle SeaBIOS!
178 (for-each delete-file-recursively
179 '("dtc" "meson" "slirp"))))))
177 (outputs '("out" "static" "doc")) ;5.3 MiB of HTML docs 180 (outputs '("out" "static" "doc")) ;5.3 MiB of HTML docs
178 (build-system gnu-build-system) 181 (build-system gnu-build-system)
179 (arguments 182 (arguments
@@ -190,6 +193,8 @@
190 (string-append "--host-cc=" gcc) 193 (string-append "--host-cc=" gcc)
191 (string-append "--prefix=" out) 194 (string-append "--prefix=" out)
192 "--sysconfdir=/etc" 195 "--sysconfdir=/etc"
196 "--enable-slirp=system"
197 "--enable-fdt=system"
193 (string-append "--smbd=" out "/libexec/samba-wrapper") 198 (string-append "--smbd=" out "/libexec/samba-wrapper")
194 "--disable-debug-info" ;for space considerations 199 "--disable-debug-info" ;for space considerations
195 ;; The binaries need to be linked against -lrt. 200 ;; The binaries need to be linked against -lrt.
@@ -329,6 +334,7 @@ exec smbd $@")))
329 (inputs 334 (inputs
330 (list alsa-lib 335 (list alsa-lib
331 bash-minimal 336 bash-minimal
337 dtc
332 glib 338 glib
333 gtk+ 339 gtk+
334 libaio 340 libaio
@@ -339,6 +345,7 @@ exec smbd $@")))
339 libjpeg-turbo 345 libjpeg-turbo
340 libpng 346 libpng
341 libseccomp 347 libseccomp
348 libslirp
342 liburing 349 liburing
343 libusb ;USB pass-through support 350 libusb ;USB pass-through support
344 mesa 351 mesa
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index e2ae3626e7a..e92cb22d7da 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -5809,14 +5809,14 @@ tools like SSH (Secure Shell) to reach the outside world.")
5809(define-public stunnel 5809(define-public stunnel
5810 (package 5810 (package
5811 (name "stunnel") 5811 (name "stunnel")
5812 (version "5.61") 5812 (version "5.66")
5813 (source 5813 (source
5814 (origin 5814 (origin
5815 (method url-fetch) 5815 (method url-fetch)
5816 (uri (string-append "https://www.stunnel.org/downloads/stunnel-" 5816 (uri (string-append "https://www.stunnel.org/downloads/stunnel-"
5817 version ".tar.gz")) 5817 version ".tar.gz"))
5818 (sha256 5818 (sha256
5819 (base32 "0yjx07r5wc987s4z0wm37381fa3az2s4mrhyjxypx3rd92k0rsli")))) 5819 (base32 "172pkzp8qilj0gd92bhdi96739gjpgbcav5c7a4gd98s9mq7i0am"))))
5820 (build-system gnu-build-system) 5820 (build-system gnu-build-system)
5821 (arguments 5821 (arguments
5822 (list #:configure-flags 5822 (list #:configure-flags
@@ -8256,3 +8256,9 @@ You can feed it URLs one at a time, or schedule regular imports. It saves
8256snapshots of the URLs you feed it in several formats.") 8256snapshots of the URLs you feed it in several formats.")
8257 (home-page "https://archivebox.io/") 8257 (home-page "https://archivebox.io/")
8258 (license license:expat))) 8258 (license license:expat)))
8259
8260;;;
8261;;; Avoid adding new packages to the end of this file. To reduce the chances
8262;;; of a merge conflict, place them above by existing packages with similar
8263;;; functionality or similar names.
8264;;;
diff --git a/gnu/packages/webkit.scm b/gnu/packages/webkit.scm
index 89cd7ebd6b7..aa7f7aafe8a 100644
--- a/gnu/packages/webkit.scm
+++ b/gnu/packages/webkit.scm
@@ -124,7 +124,7 @@ the WPE-flavored port of WebKit.")
124engine that uses Wayland for graphics output.") 124engine that uses Wayland for graphics output.")
125 (license license:bsd-2))) 125 (license license:bsd-2)))
126 126
127(define %webkit-version "2.36.7") 127(define %webkit-version "2.36.7") ;webkit2gtk4
128 128
129(define-public webkitgtk 129(define-public webkitgtk
130 (package 130 (package
@@ -279,11 +279,46 @@ propagated by default) such as @code{gst-plugins-good} and
279 license:bsd-2 279 license:bsd-2
280 license:bsd-3)))) 280 license:bsd-3))))
281 281
282;;; Required by gnome-online-accounts as webkitgtk propagates libsoup 3, which 282(define-public webkitgtk-next
283;;; causes the build to fail. Also required by e.g. emacs-next-pgtk, 283 (package
284;;; emacs-xwidgets, and some other GNOME packages for webkit2gtk-4.0. See 284 (inherit webkitgtk)
285;;; also the upstream tracker for libsoup 3: 285 (name "webkitgtk")
286;;; https://gitlab.gnome.org/GNOME/libsoup/-/issues/218 286 (version "2.37.91") ;webkit2gtk5
287 (source (origin
288 (inherit (package-source webkitgtk))
289 (method url-fetch)
290 (uri (string-append "https://www.webkitgtk.org/releases/"
291 name "-" version ".tar.xz"))
292 (sha256
293 (base32 "0r2d1dbx6s8bad011dkmx7j34gcxlz9bs14pip1qn7n1rhgxb3qi"))))
294 (build-system cmake-build-system)
295 (arguments
296 (substitute-keyword-arguments (package-arguments webkitgtk)
297 ((#:configure-flags flags)
298 #~(cons* "-DENABLE_INTROSPECTION=ON"
299 "-DUSE_GTK4=ON"
300 (delete "-DENABLE_GTKDOC=ON" #$flags)))
301 ((#:phases phases)
302 #~(modify-phases #$phases
303 (add-before 'build 'set-CC
304 (lambda _
305 ;; Some Perl scripts check for the CC environment variable, else
306 ;; use /usr/bin/gcc.
307 (setenv "CC" "gcc")))))))
308 (native-inputs
309 (modify-inputs (package-native-inputs webkitgtk)
310 (delete "docbook-xml" "gtk-doc")
311 (append gi-docgen)))
312 (propagated-inputs
313 (modify-inputs (package-propagated-inputs webkitgtk)
314 (replace "gtk+" gtk)))
315 (inputs
316 (modify-inputs (package-inputs webkitgtk)
317 (delete "gtk+-2" "libnotify")))))
318
319;;; Required by e.g. emacs-next-pgtk, emacs-xwidgets, and some other GNOME
320;;; packages for webkit2gtk-4.0. See also the upstream tracker for libsoup 3:
321;;; https://gitlab.gnome.org/GNOME/libsoup/-/issues/218.
287(define-public webkitgtk-with-libsoup2 322(define-public webkitgtk-with-libsoup2
288 (package/inherit webkitgtk 323 (package/inherit webkitgtk
289 (name "webkitgtk-with-libsoup2") 324 (name "webkitgtk-with-libsoup2")
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index f6ddc1ee554..87bed6e8b94 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -56,6 +56,7 @@
56;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com> 56;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
57;;; Copyright © 2022 muradm <mail@muradm.net> 57;;; Copyright © 2022 muradm <mail@muradm.net>
58;;; Copyright © 2022 Elais Player <elais@fastmail.com> 58;;; Copyright © 2022 Elais Player <elais@fastmail.com>
59;;; Copyright © 2022 Trevor Richards <trev@trevdev.ca>
59;;; 60;;;
60;;; This file is part of GNU Guix. 61;;; This file is part of GNU Guix.
61;;; 62;;;
@@ -1653,7 +1654,7 @@ modules for building a Wayland compositor.")
1653(define-public swaylock 1654(define-public swaylock
1654 (package 1655 (package
1655 (name "swaylock") 1656 (name "swaylock")
1656 (version "1.5") 1657 (version "1.6")
1657 (source 1658 (source
1658 (origin 1659 (origin
1659 (method git-fetch) 1660 (method git-fetch)
@@ -1662,12 +1663,12 @@ modules for building a Wayland compositor.")
1662 (commit version))) 1663 (commit version)))
1663 (file-name (git-file-name name version)) 1664 (file-name (git-file-name name version))
1664 (sha256 1665 (sha256
1665 (base32 "0r95p4w11dwm5ra614vddz83r8j7z6gd120z2vcchy7m9b0f15kf")))) 1666 (base32 "1ihdvx6gdinzabvnazjmkk3ajrp7ngg0jzfwcjqn4hcjv64s0lam"))))
1666 (build-system meson-build-system) 1667 (build-system meson-build-system)
1667 (inputs (list cairo gdk-pixbuf libxkbcommon 1668 (inputs (list cairo gdk-pixbuf libxkbcommon
1668 ;("linux-pam" ,linux-pam) ; FIXME: Doesn't work. 1669 ;("linux-pam" ,linux-pam) ; FIXME: Doesn't work.
1669 wayland)) 1670 wayland))
1670 (native-inputs (list pango pkg-config scdoc wayland-protocols)) 1671 (native-inputs (list pango pkg-config scdoc wayland-protocols-next))
1671 (home-page "https://github.com/swaywm/sway") 1672 (home-page "https://github.com/swaywm/sway")
1672 (synopsis "Screen locking utility for Wayland compositors") 1673 (synopsis "Screen locking utility for Wayland compositors")
1673 (description "Swaylock is a screen locking utility for Wayland compositors.") 1674 (description "Swaylock is a screen locking utility for Wayland compositors.")
@@ -1729,7 +1730,7 @@ display a clock or apply image manipulation techniques to the background image."
1729(define-public waybar 1730(define-public waybar
1730 (package 1731 (package
1731 (name "waybar") 1732 (name "waybar")
1732 (version "0.9.9") 1733 (version "0.9.13")
1733 (source 1734 (source
1734 (origin 1735 (origin
1735 (method git-fetch) 1736 (method git-fetch)
@@ -1738,7 +1739,7 @@ display a clock or apply image manipulation techniques to the background image."
1738 (commit version))) 1739 (commit version)))
1739 (file-name (git-file-name name version)) 1740 (file-name (git-file-name name version))
1740 (sha256 1741 (sha256
1741 (base32 "0bp9ygqv3kawwxf53j1r98r0xxg81cx00jsmymmlrd8psgsd6yy9")))) 1742 (base32 "15fy21cipih80amv78g7g4k2gylf107phbv0fjacn3w3n0i3cf2k"))))
1742 (build-system meson-build-system) 1743 (build-system meson-build-system)
1743 (inputs (list date 1744 (inputs (list date
1744 fmt 1745 fmt
@@ -2256,6 +2257,29 @@ one in Emacs.")
2256PNG files.") 2257PNG files.")
2257 (license license:gpl3+))) 2258 (license license:gpl3+)))
2258 2259
2260(define-public sbcl-stumpwm-notify
2261 (package
2262 (inherit stumpwm-contrib)
2263 (name "sbcl-stumpwm-notify")
2264 (build-system asdf-build-system/sbcl)
2265 (inputs
2266 (list sbcl-bordeaux-threads
2267 sbcl-dbus
2268 sbcl-xml-emitter
2269 (list stumpwm "lib")))
2270 (arguments
2271 '(#:asd-systems '("notify")
2272 #:phases
2273 (modify-phases %standard-phases
2274 (add-after 'unpack 'chdir
2275 (lambda _ (chdir "util/notify"))))))
2276 (home-page "https://github.com/stumpwm/stumpwm-contrib")
2277 (synopsis "Notifications server for StumpWM")
2278 (description "This module implements org.freedesktop.Notifications
2279interface[fn:dbus-spec]. It shows notifications using stumpwm:message
2280by default.")
2281 (license license:gpl3+)))
2282
2259(define-public lemonbar 2283(define-public lemonbar
2260 (package 2284 (package
2261 (name "lemonbar") 2285 (name "lemonbar")
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index a88d9afa7af..0d595992ccd 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -42,7 +42,7 @@
42;;; Copyright © 2020 James Smith <jsubuntuxp@disroot.org> 42;;; Copyright © 2020 James Smith <jsubuntuxp@disroot.org>
43;;; Copyright © 2020 B. Wilson <elaexuotee@wilsonb.com> 43;;; Copyright © 2020 B. Wilson <elaexuotee@wilsonb.com>
44;;; Copyright © 2020, 2021 Zheng Junjie <873216071@qq.com> 44;;; Copyright © 2020, 2021 Zheng Junjie <873216071@qq.com>
45;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com> 45;;; Copyright © 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
46;;; Copyright © 2021, 2022 Nicolas Goaziou <mail@nicolasgoaziou.fr> 46;;; Copyright © 2021, 2022 Nicolas Goaziou <mail@nicolasgoaziou.fr>
47;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz> 47;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
48;;; Copyright © 2021 Renzo Poddighe <renzo@poddighe.nl> 48;;; Copyright © 2021 Renzo Poddighe <renzo@poddighe.nl>
@@ -1344,28 +1344,39 @@ Escape key when Left Control is pressed and released on its own.")
1344(define-public libwacom 1344(define-public libwacom
1345 (package 1345 (package
1346 (name "libwacom") 1346 (name "libwacom")
1347 (version "1.10") 1347 (version "2.4.0")
1348 (source (origin 1348 (source (origin
1349 (method url-fetch) 1349 (method url-fetch)
1350 (uri (string-append 1350 (uri (string-append
1351 "https://github.com/linuxwacom/libwacom/releases/download/" 1351 "https://github.com/linuxwacom/libwacom/releases/download/"
1352 "libwacom-" version "/libwacom-" version ".tar.bz2")) 1352 "libwacom-" version "/libwacom-" version ".tar.xz"))
1353 (sha256 1353 (sha256
1354 (base32 1354 (base32
1355 "14aj4ss1chxxgaprs9sfriia2ch9wj9rqay0ndkzk1m7jx2qrjgn")))) 1355 "056l5dndd8654bmwlxxhvx8082s7pp9bg0wm68zb56iz3rv25l6h"))))
1356 (build-system glib-or-gtk-build-system) 1356 (build-system meson-build-system)
1357 (arguments 1357 (arguments
1358 `(#:configure-flags '("--disable-static"))) 1358 (list
1359 #:configure-flags #~(list "--default-library=shared")
1360 #:phases #~(modify-phases %standard-phases
1361 (add-after 'unpack 'fix-tests
1362 (lambda _
1363 ;; Do not attempt to run systemd-specific commands.
1364 (substitute* "test/test_udev_rules.py"
1365 (("(systemd-hwdb|systemctl)")
1366 "true")))))))
1359 (native-inputs 1367 (native-inputs
1360 (list pkg-config 1368 (list pkg-config
1361 ;; For tests. 1369 ;; For tests.
1362 python)) 1370 python
1371 python-evdev
1372 python-libevdev
1373 python-pytest
1374 python-pyudev))
1363 (inputs 1375 (inputs
1364 (list gtk+ libgudev eudev libxml2)) 1376 (list gtk+ eudev libxml2))
1365 (propagated-inputs 1377 (propagated-inputs
1366 ;; libwacom includes header files that include GLib, and libinput uses 1378 ;; libwacom.pc 'Requires' these:
1367 ;; those header files. 1379 (list glib libgudev))
1368 (list glib))
1369 (home-page "https://linuxwacom.github.io/") 1380 (home-page "https://linuxwacom.github.io/")
1370 (synopsis "Helper library for Wacom tablet settings") 1381 (synopsis "Helper library for Wacom tablet settings")
1371 (description 1382 (description
@@ -1378,7 +1389,7 @@ Wacom tablet applet.")
1378(define-public xf86-input-wacom 1389(define-public xf86-input-wacom
1379 (package 1390 (package
1380 (name "xf86-input-wacom") 1391 (name "xf86-input-wacom")
1381 (version "0.39.0") 1392 (version "1.1.0")
1382 (source 1393 (source
1383 (origin 1394 (origin
1384 (method url-fetch) 1395 (method url-fetch)
@@ -1387,25 +1398,19 @@ Wacom tablet applet.")
1387 "xf86-input-wacom-" version "/" 1398 "xf86-input-wacom-" version "/"
1388 "xf86-input-wacom-" version ".tar.bz2")) 1399 "xf86-input-wacom-" version ".tar.bz2"))
1389 (sha256 1400 (sha256
1390 (base32 "11qk58az6qwii774ga45h5yqzipwn56f0d74kdbajqdv45p85gqj")))) 1401 (base32 "04ks577ag2yir7kssv8zhig4rx9xqj2wifmlrcmy4k9lgw379di3"))))
1391 (arguments 1402 (arguments
1392 `(#:configure-flags 1403 (list #:configure-flags
1393 (list (string-append "--with-sdkdir=" 1404 #~(list (string-append "--with-sdkdir=" #$output "/include/xorg")
1394 (assoc-ref %outputs "out") 1405 (string-append "--with-xorg-conf-dir=" #$output
1395 "/include/xorg") 1406 "/share/X11/xorg.conf.d"))))
1396 (string-append "--with-xorg-conf-dir="
1397 (assoc-ref %outputs "out")
1398 "/share/X11/xorg.conf.d"))))
1399 (build-system gnu-build-system) 1407 (build-system gnu-build-system)
1400 (native-inputs 1408 (native-inputs (list pkg-config))
1401 (list pkg-config)) 1409 (inputs (list xorg-server libxrandr libxinerama libxi eudev))
1402 (inputs
1403 (list xorg-server libxrandr libxinerama libxi eudev))
1404 (home-page "https://linuxwacom.github.io/") 1410 (home-page "https://linuxwacom.github.io/")
1405 (synopsis "Wacom input driver for X") 1411 (synopsis "Wacom input driver for X")
1406 (description 1412 (description "The xf86-input-wacom driver is the wacom-specific X11 input
1407 "The xf86-input-wacom driver is the wacom-specific X11 input driver for 1413driver for the X.Org X Server version 1.7 and later (X11R7.5 or later).")
1408the X.Org X Server version 1.7 and later (X11R7.5 or later).")
1409 (license license:x11))) 1414 (license license:x11)))
1410 1415
1411(define-public redshift 1416(define-public redshift
@@ -1576,7 +1581,7 @@ to an arbitrary balanced color.")
1576(define-public gammastep 1581(define-public gammastep
1577 (package 1582 (package
1578 (name "gammastep") 1583 (name "gammastep")
1579 (version "2.0.8") 1584 (version "2.0.9")
1580 (source 1585 (source
1581 (origin 1586 (origin
1582 (method git-fetch) 1587 (method git-fetch)
@@ -1585,20 +1590,20 @@ to an arbitrary balanced color.")
1585 (commit (string-append "v" version)))) 1590 (commit (string-append "v" version))))
1586 (file-name (git-file-name name version)) 1591 (file-name (git-file-name name version))
1587 (sha256 1592 (sha256
1588 (base32 "071f3iqdbblb3awnx48j19kspk6l2g3658za80i2mf4gacgq9fm1")))) 1593 (base32 "1rcciccnwhxh97wlr9gcirdxv33za369jsrgrfzcp3042824pm8i"))))
1589 (build-system gnu-build-system) 1594 (build-system gnu-build-system)
1590 (arguments 1595 (arguments
1591 `(#:phases 1596 (list
1592 (modify-phases %standard-phases 1597 #:phases
1593 (add-after 'install 'wrap-python-and-typelib 1598 #~(modify-phases %standard-phases
1594 (lambda* (#:key outputs #:allow-other-keys) 1599 (add-after 'install 'wrap-python-and-typelib
1595 ;; Gammastep GUI needs Typelib files from GTK and access 1600 (lambda _
1596 ;; to Python libraries. 1601 ;; Gammastep GUI needs Typelib files from GTK and access to
1597 (wrap-program (string-append (assoc-ref outputs "out") 1602 ;; Python libraries.
1598 "/bin/gammastep-indicator") 1603 (wrap-program (string-append #$output "/bin/gammastep-indicator")
1599 `("PYTHONPATH" ":" prefix (,(getenv "GUIX_PYTHONPATH"))) 1604 `("PYTHONPATH" ":" prefix (,(getenv "GUIX_PYTHONPATH")))
1600 `("GI_TYPELIB_PATH" ":" prefix 1605 `("GI_TYPELIB_PATH" ":" prefix
1601 (,(getenv "GI_TYPELIB_PATH"))))))))) 1606 (,(getenv "GI_TYPELIB_PATH")))))))))
1602 (native-inputs 1607 (native-inputs
1603 (list autoconf 1608 (list autoconf
1604 automake 1609 automake
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index 0ec0863f726..1b8562a6196 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -24,7 +24,7 @@
24;;; Copyright © 2020 Liliana Marie Prikler <liliana.prikler@gmail.com> 24;;; Copyright © 2020 Liliana Marie Prikler <liliana.prikler@gmail.com>
25;;; Copyright © 2020 Florian Pelz <pelzflorian@pelzflorian.de> 25;;; Copyright © 2020 Florian Pelz <pelzflorian@pelzflorian.de>
26;;; Copyright © 2020, 2021 Michael Rohleder <mike@rohleder.de> 26;;; Copyright © 2020, 2021 Michael Rohleder <mike@rohleder.de>
27;;; Copyright © 2020, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com> 27;;; Copyright © 2020, 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
28;;; Copyright © 2020 Jean-Baptiste Note <jean-baptiste.note@m4x.org> 28;;; Copyright © 2020 Jean-Baptiste Note <jean-baptiste.note@m4x.org>
29;;; Copyright © 2021 Matthew James Kraai <kraai@ftbfs.org> 29;;; Copyright © 2021 Matthew James Kraai <kraai@ftbfs.org>
30;;; Copyright © 2021 Nicolò Balzarotti <nicolo@nixo.xyz> 30;;; Copyright © 2021 Nicolò Balzarotti <nicolo@nixo.xyz>
@@ -5314,7 +5314,7 @@ application-facing EGL functions.")
5314(define-public egl-wayland 5314(define-public egl-wayland
5315 (package 5315 (package
5316 (name "egl-wayland") 5316 (name "egl-wayland")
5317 (version "1.1.9") 5317 (version "1.1.10")
5318 (source 5318 (source
5319 (origin 5319 (origin
5320 (method git-fetch) 5320 (method git-fetch)
@@ -5323,7 +5323,7 @@ application-facing EGL functions.")
5323 (commit version))) 5323 (commit version)))
5324 (file-name (git-file-name name version)) 5324 (file-name (git-file-name name version))
5325 (sha256 5325 (sha256
5326 (base32 "1iz86cpc4v7izckrcslllnw0vvvgsxg1sr65yb8s9d0f8xa8djdd")))) 5326 (base32 "13hdczhsicp4bfkcjg2npslwjaqrajjv867gxjnmvk77scr09dvm"))))
5327 (build-system meson-build-system) 5327 (build-system meson-build-system)
5328 (native-inputs 5328 (native-inputs
5329 (list libglvnd ;needed for headers 5329 (list libglvnd ;needed for headers
@@ -6696,66 +6696,68 @@ box, and a calendar. It uses GTK+, and will match your desktop theme.")
6696(define-public xvfb-run 6696(define-public xvfb-run
6697 (package 6697 (package
6698 (name "xvfb-run") 6698 (name "xvfb-run")
6699 (version "1.20.10-3") 6699 (version "1.20.11-1")
6700 (source 6700 (source
6701 (origin 6701 (origin
6702 (method url-fetch) 6702 (method url-fetch)
6703 (uri (string-append "mirror://debian/pool/main/x/xorg-server/" 6703 (uri (string-append "mirror://debian/pool/main/x/xorg-server/"
6704 "xorg-server_" version ".diff.gz")) 6704 "xorg-server_" version ".diff.gz"))
6705 (sha256 6705 (sha256
6706 (base32 "08gs9ni8ss8rw4n9cql1s8q05mj517vk1vm1varj1dsx75k4j25v")))) 6706 (base32 "0hq8a2rw2ginxsifrpj3rsf2shxl69ylkc1650ij5vwjhxdr82hh"))))
6707 (build-system gnu-build-system) 6707 (build-system gnu-build-system)
6708 (arguments 6708 (arguments
6709 `(#:phases 6709 (list
6710 (modify-phases %standard-phases 6710 #:phases
6711 (replace 'unpack 6711 #~(modify-phases %standard-phases
6712 ;; Apply the source patch to an empty directory. 6712 (replace 'unpack
6713 (lambda* (#:key inputs #:allow-other-keys) 6713 ;; Apply the source patch to an empty directory.
6714 (let* ((source (assoc-ref inputs "source")) 6714 (lambda* (#:key inputs #:allow-other-keys)
6715 (diff.gz (basename source)) 6715 (let* ((diff.gz (basename #$source))
6716 (diff (substring diff.gz 0 (string-rindex diff.gz #\.)))) 6716 (diff (substring diff.gz 0 (string-rindex diff.gz #\.))))
6717 (mkdir "source") 6717 (mkdir "source")
6718 (chdir "source") 6718 (chdir "source")
6719 (copy-file source diff.gz) 6719 (copy-file #$source diff.gz)
6720 (invoke "gunzip" diff.gz) 6720 (invoke "gunzip" diff.gz)
6721 (invoke "patch" "-Np1" "-i" diff) 6721 (invoke "patch" "-Np1" "-i" diff)
6722 (chdir "debian/local")))) 6722 (chdir "debian/local"))))
6723 (delete 'configure) ; nothing to configure 6723 (delete 'configure) ; nothing to configure
6724 (replace 'build 6724 (replace 'build
6725 (lambda _ 6725 (lambda* (#:key inputs #:allow-other-keys)
6726 (chmod "xvfb-run" #o755) 6726 (chmod "xvfb-run" #o755)
6727 (substitute* "xvfb-run" 6727 (substitute* "xvfb-run"
6728 (("(\\(| )(fmt|stty|awk|cat|kill|getopt|mktemp|touch|rm|mcookie)" 6728 (("(\\(| )(fmt|stty|awk|cat|kill|getopt|mktemp|touch|rm|mcookie)"
6729 _ prefix command) 6729 _ prefix command)
6730 (string-append prefix (which command))) 6730 (string-append prefix (which command)))
6731 ;; These also feature in UI messages, so be more strict. 6731 ;; These also feature in UI messages, so be more strict.
6732 (("(AUTHFILE |command -v |exec )(Xvfb|xauth)" 6732 (("(AUTHFILE |command -v |exec )(Xvfb|xauth)"
6733 _ prefix command) 6733 _ prefix command)
6734 (string-append prefix (which command)))))) 6734 (string-append prefix
6735 (replace 'check 6735 (search-input-file
6736 ;; There are no tests included. Here we test whether we can run 6736 inputs (string-append "bin/" command)))))))
6737 ;; a simple client and whether xvfb-run --help succeeds 6737 (replace 'check
6738 ;; without xvfb-run itself relying on $PATH. 6738 ;; There are no tests included. Here we test whether we can run
6739 (lambda* (#:key tests? #:allow-other-keys) 6739 ;; a simple client and whether xvfb-run --help succeeds
6740 (when tests? 6740 ;; without xvfb-run itself relying on $PATH.
6741 (let ((old-PATH (getenv "PATH")) 6741 (lambda* (#:key tests? #:allow-other-keys)
6742 (xterm (which "xterm"))) 6742 (when tests?
6743 (unsetenv "PATH") 6743 (let ((old-PATH (getenv "PATH"))
6744 (invoke "./xvfb-run" xterm "-e" "true") 6744 (xterm (which "xterm")))
6745 (invoke "./xvfb-run" "--help") 6745 (unsetenv "PATH")
6746 (setenv "PATH" old-PATH))))) 6746 (invoke "./xvfb-run" xterm "-e" "true")
6747 (replace 'install 6747 (invoke "./xvfb-run" "--help")
6748 (lambda* (#:key outputs #:allow-other-keys) 6748 (setenv "PATH" old-PATH)))))
6749 (let* ((out (assoc-ref outputs "out")) 6749 (replace 'install
6750 (bin (string-append out "/bin")) 6750 (lambda _
6751 (man (string-append out "/share/man/man1"))) 6751 (let ((bin (string-append #$output "/bin"))
6752 (install-file "xvfb-run" bin) 6752 (man (string-append #$output "/share/man/man1")))
6753 (install-file "xvfb-run.1" man))))))) 6753 (install-file "xvfb-run" bin)
6754 (install-file "xvfb-run.1" man)))))))
6754 (inputs 6755 (inputs
6755 (list util-linux ; for getopt 6756 (list util-linux ; for getopt
6756 xauth xorg-server)) 6757 xauth
6758 xorg-server))
6757 (native-inputs 6759 (native-inputs
6758 (list xterm)) ; for the test 6760 (list xterm)) ; for the test
6759 ;; This script is not part of the upstream xorg-server. It is provided only 6761 ;; This script is not part of the upstream xorg-server. It is provided only
6760 ;; as a patch added to Debian's package. 6762 ;; as a patch added to Debian's package.
6761 (home-page "https://packages.debian.org/sid/xorg-server-source") 6763 (home-page "https://packages.debian.org/sid/xorg-server-source")
@@ -6766,7 +6768,7 @@ within a virtual X server environment. It sets up an X authority file or uses
6766an existing user-specified one, writes a cookie to it, and then starts the 6768an existing user-specified one, writes a cookie to it, and then starts the
6767@command{Xvfb} X server as a background process. It also takes care of killing 6769@command{Xvfb} X server as a background process. It also takes care of killing
6768the server and cleaning up before returning the exit status of the command.") 6770the server and cleaning up before returning the exit status of the command.")
6769 (license (list license:x11 ; the script 6771 (license (list license:x11 ; the script
6770 license:gpl2+)))) ; the man page 6772 license:gpl2+)))) ; the man page
6771 6773
6772(define-public setroot 6774(define-public setroot