diff options
48 files changed, 1827 insertions, 936 deletions
diff --git a/.gitignore b/.gitignore index 66c2ea39a5..4f7308b295 100644 --- a/.gitignore +++ b/.gitignore @@ -138,8 +138,7 @@ /t-*/ /test-env /test-tmp -/tests/*.trs -/tests/services/*.trs +/tests/**/*.trs GPATH GRTAGS GTAGS diff --git a/gnu/local.mk b/gnu/local.mk index 0c5e68ee08..bd568cc095 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -542,6 +542,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/orange.scm \ %D%/packages/orpheus.scm \ %D%/packages/ots.scm \ + %D%/packages/oyacc.scm \ %D%/packages/package-management.scm \ %D%/packages/pantheon.scm \ %D%/packages/parallel.scm \ @@ -2035,6 +2036,8 @@ dist_patch_DATA = \ %D%/packages/patches/pango-skip-libthai-test.patch \ %D%/packages/patches/password-store-tree-compat.patch \ %D%/packages/patches/pciutils-hurd64.patch \ + %D%/packages/patches/pcsxr-find-harfbuzz.patch \ + %D%/packages/patches/pcsxr-fix-definitions.patch \ %D%/packages/patches/pdl-2.019-glut-bitmap-fonts.patch \ %D%/packages/patches/pdl-2.100-reproducibility.patch \ %D%/packages/patches/petri-foo-0.1.87-fix-recent-file-not-exist.patch \ diff --git a/gnu/packages/abiword.scm b/gnu/packages/abiword.scm index d3b08323f7..55cf07ab6b 100644 --- a/gnu/packages/abiword.scm +++ b/gnu/packages/abiword.scm @@ -25,11 +25,16 @@ (define-module (gnu packages abiword) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) - #:use-module (guix download) #:use-module (guix build-system glib-or-gtk) #:use-module (guix gexp) + #:use-module (guix git-download) #:use-module (gnu packages) + #:use-module (gnu packages aspell) + #:use-module (gnu packages bash) + #:use-module (gnu packages gnupg) + #:use-module (gnu packages autogen) #:use-module (gnu packages autotools) + #:use-module (gnu packages base) #:use-module (gnu packages boost) #:use-module (gnu packages compression) #:use-module (gnu packages enchant) @@ -40,30 +45,31 @@ #:use-module (gnu packages gtk) #:use-module (gnu packages image) #:use-module (gnu packages ots) + #:use-module (gnu packages perl) #:use-module (gnu packages popt) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages readline) + #:use-module (gnu packages xorg) #:use-module (gnu packages wv) #:use-module (gnu packages xml)) (define-public abiword (package (name "abiword") - (version "3.0.5") + (version "3.0.7") (source - (origin - (method url-fetch) - (uri - ;; XXX: The main site <https://www.abisource.com/> is down. Only a (partial) - ;; mirror is available at <http://www.nl.abisource.com/>. - (string-append "http://www.nl.abisource.com/downloads/abiword/" version - "/source/abiword-" version ".tar.gz")) - (sha256 - (base32 "1d1179pnslijpjhz1q155fsc828rrlqf7lsn2inqsl3hk5z28mqj")) - (patches - (search-patches "abiword-explictly-cast-bools.patch")))) - + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.gnome.org/World/AbiWord/") + (commit (string-append "release-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0hp11vdfm70n840ib19szxkibfs0v1hhklslz4xipfwrdvpwk1km")) + (patches + (search-patches "abiword-explictly-cast-bools.patch")))) (build-system glib-or-gtk-build-system) (arguments ;; NOTE: rsvg is disabled, since Abiword (list #:configure-flags ;; supports it directly, and its BS is broken. @@ -80,6 +86,7 @@ "pdb " "pdf " "presentation " "s5 " "sdw " "t602 " "urldict " "wikipedia " "wml " "xslfo") "--enable-introspection" + "--enable-scripting" (string-append "--with-gir-dir=" #$output "/share/gir-1.0") @@ -93,22 +100,34 @@ ;; Manually starting the X server before the test phase did not help ;; the tests to pass. #:tests? #f + #:phases + #~(modify-phases %standard-phases + ;; FIXME: Use #:bootstrap-scripts instead. + (add-before 'bootstrap 'bootstrap-common + (lambda _ + (substitute* "autogen-common.sh" + (("/bin/sh") + (string-append + #$(this-package-native-input "bash-minimal") + "/bin/sh")))))) #:make-flags #~(list "gtk_update_icon_cache=true"))) (inputs - (list boost + (list aspell + boost enchant fontconfig fribidi - glib goffice gtk+ + libgcrypt libchamplain libglade libgsf libjpeg-turbo libpng (librsvg-for-system) + libxft libxml2 libxslt ots @@ -118,13 +137,22 @@ wv zlib)) (native-inputs - (list gobject-introspection + (list `(,glib "bin") + autoconf + autoconf-archive + autogen + automake + bash-minimal + findutils + grep intltool - `(,glib "bin") libtool + perl pkg-config - python-wrapper)) - (home-page "http://www.nl.abisource.com/") + python-wrapper + sed + gobject-introspection)) + (home-page "https://gitlab.gnome.org/World/AbiWord/") (synopsis "Word processing program") ;; HACKERS: The comment below is here so that it shows up early in the diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 7012b5dd3b..cfbff824d3 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -4641,7 +4641,7 @@ information tool.") (define-public fastfetch (package (name "fastfetch") - (version "2.48.1") + (version "2.49.0") (source (origin (method git-fetch) @@ -4650,7 +4650,7 @@ information tool.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "1gzpmc7vx5dqfjbga6facfqxybgb1hps6h2y9blngjwsskicsi7v")) + (base32 "1mka26ga6jmrimkl93xf97pg8y1k3b41vsb3ds61wi6n257daprk")) (modules '((guix build utils))) (snippet '(begin (delete-file-recursively "src/3rdparty"))))) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index a96b4661fd..745120b85c 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -1967,6 +1967,50 @@ support for reading and writing various compression algorithms including: @url{http://facebook.github.io/zstd/,Zstandard}.") (license license:bsd-3)))) +(define-public python-asdf-transform-schemas + (hidden-package + (package + (name "python-asdf-transform-schemas") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "asdf_transform_schemas" version)) + (sha256 + (base32 "0clp3a2ldfhvsh5c7zqd7nr2bvv62a89aaf8p4a2vzgzjvhghl0g")))) + (build-system pyproject-build-system) + (arguments + (list + ;; XXX: Check why all tests fail in this file. + #:test-flags #~(list "--deselect=tests/test_invalid.py"))) + (native-inputs + (list python-asdf-bootstrap + python-pytest + python-setuptools-next + python-setuptools-scm + python-wheel)) + (propagated-inputs + (list python-asdf-standard)) + (home-page "https://github.com/asdf-format/asdf-transform-schemas") + (synopsis "ASDF schemas for transforms") + (description + "This package provides ASDF schemas for validating transform tags. +Users should not need to install this directly; instead, install an +implementation package such as asdf-astropy.") + (license license:bsd-3)))) + +(define-public python-asdf-transform-schemas-bootstrap + (hidden-package + (package/inherit python-asdf-transform-schemas + (arguments + (list #:tests? #f + #:phases #~(modify-phases %standard-phases + (delete 'sanity-check)))) + (native-inputs + (list python-setuptools-next + python-wheel)) + (propagated-inputs '())))) + (define-public python-asdf-zarr (package (name "python-asdf-zarr") @@ -4453,6 +4497,34 @@ semi-analytic models, to cosmological hydrodynamic simulations, and even observationally-derived galaxy merger catalogs.") (license license:expat))) +(define-public python-hvpy + (package + (name "python-hvpy") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "hvpy" version)) + (sha256 + (base32 "0bly1bgp0axxhzzf5imqsgmms41z8cxbjahxsibvb55dk94gwig6")))) + (build-system pyproject-build-system) + (arguments + (list #:tests? #f)) ; Requires HTTP(S) access to api.beta.helioviewer.org + (native-inputs + (list python-pytest + python-pytest-astropy + python-setuptools + python-wheel)) + (propagated-inputs + (list python-pydantic-2 + python-pydantic-settings + python-requests)) + (home-page "https://helioviewer.org/") + (synopsis "Helioviewer Python API Wrapper") + (description "@code{hvpy} is a Python API wrapper around the formal +@url{Helioviewer API, https://api.helioviewer.org/docs/v2/}.") + (license license:bsd-2))) + (define-public python-irispy-lmsal (package (name "python-irispy-lmsal") @@ -4662,6 +4734,89 @@ Telescope,JWST} from a set of input dark current files and a set of flat field files.") (license license:bsd-3))) +(define-public python-kanon + (package + (name "python-kanon") + (version "0.6.6") + (source + (origin + (method git-fetch) ; no release in PyPI + (uri (git-reference + (url "https://github.com/ALFA-project-erc/kanon") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0sg9yrsas5xmhbw6mhfyxsxh9i060af6v02whr9fqgv687fiyrhc")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags + #~(list ;"--numprocesses" "auto" + ;; XXX: This tests failing a lot. + "-k" (string-append "not test_attribute_forwardin" + " and not test_declination" + " and not test_init_basedquantity" + " and not test_ptolemy_viz" + " and not test_ptolemy_viz" + " and not test_quantity" + " and not test_read" + " and not test_shifting" + " and not test_sun_true_position" + " and not test_sun_true_position") + "--ignore=kanon/tables/__init__.py") + #:phases + #~(modify-phases %standard-phases + ;; See <https://github.com/ALFA-project-erc/kanon/issues/149>. + (delete 'sanity-check) + (add-after 'unpack 'relax-requirements + (lambda _ + (substitute* "pyproject.toml" + (("version = \"0.0.0\"") (string-append "version = \"" #$version "\"")) + ;; RuntimeError: Unable to detect version control + ;; system. Checked: Git. Not installed: Mercurial, Darcs, + ;; Subversion, Bazaar, Fossil, Pijul. See + ;; <https://github.com/blacklanternsecurity/bbot/issues/1257>. + (("enable = true") "enable = false")))) + (add-before 'check 'prepare-test-environment + (lambda _ + (setenv "HOME" "/tmp")))))) + (native-inputs + (list git-minimal/pinned + python-poetry-core + python-poetry-dynamic-versioning + python-pytest-astropy + python-pytest-xdist + python-requests-mock)) + (propagated-inputs + (list python-astropy-6 + python-matplotlib + python-numpy + python-pandas + python-requests + python-scipy + ;; Optional + python-ipykernel + python-papermill)) + (home-page "https://dishas.obspm.fr") + (synopsis "History of astronomy") + (description "This package provides a history of astronomy library. +Current Features: +@itemize +@item define standard positional numeral systems with standard arithmetics +(BasedReal) +@item set your own precision contexts and algorithms on arithmetical +operations (PrecisionContext) +@item keep track of all operations +@item build or import ancient astronomical tables +@item perform arithmetical and statistical operations +@item support for BasedReal values +@item define new calendar types +@item date conversions +@item collection of mathematical models used for all kinds of geocentric +astronomical tables +@end itemize") + (license license:bsd-3))) + (define-public python-lenstronomy (package (name "python-lenstronomy") @@ -5273,6 +5428,56 @@ position-frequency slice.") (list python-setuptools python-wheel))))) +(define-public python-pyerfa + (package + (name "python-pyerfa") + (version "2.0.1.5") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pyerfa" version)) + (sha256 + (base32 "1h7nw61wqx9qsznnl8qandixr6c1n3f65hyqwzanav44wi7v5mhp")) + (modules '((guix build utils))) + (snippet + #~(begin + ;; Remove bundled submodule library. + (delete-file-recursively "liberfa"))))) + (build-system pyproject-build-system) + (arguments + (list + ;; Disable only one failing test: + ;; AttributeError: __warningregistry__ + ;; See https://github.com/liberfa/pyerfa/issues/126 + #:test-flags #~(list "-k" "not test_errwarn_reporting") + #:phases + #~(modify-phases %standard-phases + (add-before 'build 'use-system-liberfa + (lambda _ + (setenv "PYERFA_USE_SYSTEM_LIBERFA" "1"))) + (add-before 'check 'build-extensions + (lambda _ + (invoke "python" "setup.py" "build_ext" "--inplace")))))) + (native-inputs + (list python-pytest-doctestplus + python-pytest + python-setuptools + python-setuptools-scm + python-wheel)) + (inputs + (list erfa)) + (propagated-inputs + (list python-numpy)) + (home-page "https://github.com/liberfa/pyerfa") + (synopsis "Python bindings for ERFA") + (description + "PyERFA is the Python wrapper for the ERFA library (Essential +Routines for Fundamental Astronomy), a C library containing key algorithms for +astronomy, which is based on the SOFA library published by the International +Astronomical Union (IAU). All C routines are wrapped as Numpy universal +functions, so that they can be called with scalar or array inputs.") + (license license:bsd-3))) + (define-public python-pyhalo (package (name "python-pyhalo") @@ -6186,34 +6391,6 @@ instruments.") (license (list license:bsd-3 ; licenses/LICENSE.rst, same as python-astropy license:expat)))) ; licenses/KOSMOS_LICENSE -(define-public python-hvpy - (package - (name "python-hvpy") - (version "1.1.0") - (source - (origin - (method url-fetch) - (uri (pypi-uri "hvpy" version)) - (sha256 - (base32 "0bly1bgp0axxhzzf5imqsgmms41z8cxbjahxsibvb55dk94gwig6")))) - (build-system pyproject-build-system) - (arguments - (list #:tests? #f)) ; Requires HTTP(S) access to api.beta.helioviewer.org - (native-inputs - (list python-pytest - python-pytest-astropy - python-setuptools - python-wheel)) - (propagated-inputs - (list python-pydantic-2 - python-pydantic-settings - python-requests)) - (home-page "https://helioviewer.org/") - (synopsis "Helioviewer Python API Wrapper") - (description "@code{hvpy} is a Python API wrapper around the formal -@url{Helioviewer API, https://api.helioviewer.org/docs/v2/}.") - (license license:bsd-2))) - (define-public python-jplephem (package (name "python-jplephem") @@ -6248,89 +6425,6 @@ Astronomical Almanac to within 0.0005 arcseconds (half a @emph{mas} or milliarcsecond).") (license license:expat))) -(define-public python-kanon - (package - (name "python-kanon") - (version "0.6.6") - (source - (origin - (method git-fetch) ; no release in PyPI - (uri (git-reference - (url "https://github.com/ALFA-project-erc/kanon") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "0sg9yrsas5xmhbw6mhfyxsxh9i060af6v02whr9fqgv687fiyrhc")))) - (build-system pyproject-build-system) - (arguments - (list - #:test-flags - #~(list ;"--numprocesses" "auto" - ;; XXX: This tests failing a lot. - "-k" (string-append "not test_attribute_forwardin" - " and not test_declination" - " and not test_init_basedquantity" - " and not test_ptolemy_viz" - " and not test_ptolemy_viz" - " and not test_quantity" - " and not test_read" - " and not test_shifting" - " and not test_sun_true_position" - " and not test_sun_true_position") - "--ignore=kanon/tables/__init__.py") - #:phases - #~(modify-phases %standard-phases - ;; See <https://github.com/ALFA-project-erc/kanon/issues/149>. - (delete 'sanity-check) - (add-after 'unpack 'relax-requirements - (lambda _ - (substitute* "pyproject.toml" - (("version = \"0.0.0\"") (string-append "version = \"" #$version "\"")) - ;; RuntimeError: Unable to detect version control - ;; system. Checked: Git. Not installed: Mercurial, Darcs, - ;; Subversion, Bazaar, Fossil, Pijul. See - ;; <https://github.com/blacklanternsecurity/bbot/issues/1257>. - (("enable = true") "enable = false")))) - (add-before 'check 'prepare-test-environment - (lambda _ - (setenv "HOME" "/tmp")))))) - (native-inputs - (list git-minimal/pinned - python-poetry-core - python-poetry-dynamic-versioning - python-pytest-astropy - python-pytest-xdist - python-requests-mock)) - (propagated-inputs - (list python-astropy-6 - python-matplotlib - python-numpy - python-pandas - python-requests - python-scipy - ;; Optional - python-ipykernel - python-papermill)) - (home-page "https://dishas.obspm.fr") - (synopsis "History of astronomy") - (description "This package provides a history of astronomy library. -Current Features: -@itemize -@item define standard positional numeral systems with standard arithmetics -(BasedReal) -@item set your own precision contexts and algorithms on arithmetical -operations (PrecisionContext) -@item keep track of all operations -@item build or import ancient astronomical tables -@item perform arithmetical and statistical operations -@item support for BasedReal values -@item define new calendar types -@item date conversions -@item collection of mathematical models used for all kinds of geocentric -astronomical tables -@end itemize") - (license license:bsd-3))) - (define-public python-photutils (package (name "python-photutils") @@ -7211,56 +7305,6 @@ science instruments plus the fine guidance sensor, including both direct imaging, coronagraphic, and spectroscopic modes.") (license license:bsd-3))) -(define-public python-pyerfa - (package - (name "python-pyerfa") - (version "2.0.1.5") - (source - (origin - (method url-fetch) - (uri (pypi-uri "pyerfa" version)) - (sha256 - (base32 "1h7nw61wqx9qsznnl8qandixr6c1n3f65hyqwzanav44wi7v5mhp")) - (modules '((guix build utils))) - (snippet - #~(begin - ;; Remove bundled submodule library. - (delete-file-recursively "liberfa"))))) - (build-system pyproject-build-system) - (arguments - (list - ;; Disable only one failing test: - ;; AttributeError: __warningregistry__ - ;; See https://github.com/liberfa/pyerfa/issues/126 - #:test-flags #~(list "-k" "not test_errwarn_reporting") - #:phases - #~(modify-phases %standard-phases - (add-before 'build 'use-system-liberfa - (lambda _ - (setenv "PYERFA_USE_SYSTEM_LIBERFA" "1"))) - (add-before 'check 'build-extensions - (lambda _ - (invoke "python" "setup.py" "build_ext" "--inplace")))))) - (native-inputs - (list python-pytest-doctestplus - python-pytest - python-setuptools - python-setuptools-scm - python-wheel)) - (inputs - (list erfa)) - (propagated-inputs - (list python-numpy)) - (home-page "https://github.com/liberfa/pyerfa") - (synopsis "Python bindings for ERFA") - (description - "PyERFA is the Python wrapper for the ERFA library (Essential -Routines for Fundamental Astronomy), a C library containing key algorithms for -astronomy, which is based on the SOFA library published by the International -Astronomical Union (IAU). All C routines are wrapped as Numpy universal -functions, so that they can be called with scalar or array inputs.") - (license license:bsd-3))) - (define-public python-pynbody (package (name "python-pynbody") @@ -7628,50 +7672,6 @@ and use. Unlike FITS, the metadata is highly structured and is designed up-front for extensibility.") (license license:bsd-3))) -(define-public python-asdf-transform-schemas - (hidden-package - (package - (name "python-asdf-transform-schemas") - (version "0.6.0") - (source - (origin - (method url-fetch) - (uri (pypi-uri "asdf_transform_schemas" version)) - (sha256 - (base32 "0clp3a2ldfhvsh5c7zqd7nr2bvv62a89aaf8p4a2vzgzjvhghl0g")))) - (build-system pyproject-build-system) - (arguments - (list - ;; XXX: Check why all tests fail in this file. - #:test-flags #~(list "--deselect=tests/test_invalid.py"))) - (native-inputs - (list python-asdf-bootstrap - python-pytest - python-setuptools-next - python-setuptools-scm - python-wheel)) - (propagated-inputs - (list python-asdf-standard)) - (home-page "https://github.com/asdf-format/asdf-transform-schemas") - (synopsis "ASDF schemas for transforms") - (description - "This package provides ASDF schemas for validating transform tags. -Users should not need to install this directly; instead, install an -implementation package such as asdf-astropy.") - (license license:bsd-3)))) - -(define-public python-asdf-transform-schemas-bootstrap - (hidden-package - (package/inherit python-asdf-transform-schemas - (arguments - (list #:tests? #f - #:phases #~(modify-phases %standard-phases - (delete 'sanity-check)))) - (native-inputs - (list python-setuptools-next - python-wheel)) - (propagated-inputs '())))) - (define-public python-asdf-coordinates-schemas (hidden-package (package diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index c481b5a3de..622ce50020 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -2850,6 +2850,11 @@ partial release of the General MIDI sound set.") (string-append "--ldflags=-Wl,-rpath=" #$output "/lib")) #:phases '(modify-phases %standard-phases + (add-after 'unpack 'fix-includes + (lambda _ + (substitute* "src/LV2/DSP/gx_common.h" + (("#include <cstdlib>" all) + (string-append all "\n#include <cstdint>"))))) (add-after 'unpack 'python3.11-compatibility (lambda _ (substitute* "wscript" @@ -6450,7 +6455,7 @@ as is the case with audio plugins.") (define-public carla (package (name "carla") - (version "2.4.1") + (version "2.5.10") (source (origin (method git-fetch) @@ -6460,7 +6465,7 @@ as is the case with audio plugins.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "01ngkmfcxyg1bb4qmfvlkkjbx4lx62akxqhizl8zmqnhfcy4p9bx")))) + (base32 "1p7nvydnmg5l457w3089bwj1a5z509ydlpwvf19k86i348a1lm6v")))) (build-system gnu-build-system) (arguments (list #:tests? #f ; no "check" target diff --git a/gnu/packages/bdw-gc.scm b/gnu/packages/bdw-gc.scm index ea8cf4bb99..f7c3768145 100644 --- a/gnu/packages/bdw-gc.scm +++ b/gnu/packages/bdw-gc.scm @@ -39,7 +39,7 @@ (version "8.2.8") (source (origin (method url-fetch) - (uri (list (string-append "https://github.com/ivmai/bdwgc/releases" + (uri (list (string-append "https://github.com/bdwgc/bdwgc/releases" "/download/v" version "/gc-" version ".tar.gz") (string-append "https://www.hboehm.info/gc/gc_source" @@ -73,7 +73,7 @@ ((target-ppc64le?) (list #:make-flags ;; This is a known workaround upstream. - ;; https://github.com/ivmai/bdwgc/issues/479 + ;; https://github.com/bdwgc/bdwgc/issues/479 #~(list "CFLAGS_EXTRA=-DNO_SOFT_VDB"))) ((target-ppc32?) (list #:make-flags @@ -129,7 +129,7 @@ C or C++ programs, though that is not its primary goal.") (version "7.6.12") (source (origin (method url-fetch) - (uri (string-append "https://github.com/ivmai/bdwgc/releases" + (uri (string-append "https://github.com/bdwgc/bdwgc/releases" "/download/v" version "/gc-" version ".tar.gz")) (sha256 (base32 @@ -153,7 +153,7 @@ C or C++ programs, though that is not its primary goal.") (source (origin (method url-fetch) (uri (string-append - "https://github.com/ivmai/libatomic_ops/releases/download/v" + "https://github.com/bdwgc/libatomic_ops/releases/download/v" version "/libatomic_ops-" version ".tar.gz")) (sha256 (base32 @@ -182,7 +182,7 @@ C or C++ programs, though that is not its primary goal.") memory update operations on a number of architectures. These might allow you to write code that does more interesting things in signal handlers, write lock-free code, experiment with thread programming paradigms, etc.") - (home-page "https://github.com/ivmai/libatomic_ops/") + (home-page "https://github.com/bdwgc/libatomic_ops/") ;; Some source files are X11-style, others are GPLv2+. (license gpl2+))) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 4ca7998cc7..e14d74b186 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -12324,7 +12324,7 @@ of these reads to align data quickly through a hash-based indexing scheme.") (define-public sortmerna (package (name "sortmerna") - (version "4.3.4") + (version "4.3.7") (source (origin (method git-fetch) @@ -12334,7 +12334,7 @@ of these reads to align data quickly through a hash-based indexing scheme.") (file-name (git-file-name name version)) (sha256 (base32 - "0f8jfc8vsq6llhbb92p9yv7nbp566yqwfcmq3g2hw0n7d8hyl3a8")))) + "14p3zi6ysnrs2l33r5mc0fr0la2jnnxmqdcif02fppln8w31j753")))) (build-system cmake-build-system) (outputs '("out" ;for binaries "db")) ;for sequence databases @@ -12359,6 +12359,11 @@ of these reads to align data quickly through a hash-based indexing scheme.") "/include")) #:phases '(modify-phases %standard-phases + (add-after 'unpack 'fix-includes + (lambda _ + (substitute* "src/sortmerna/kseq_load.cpp" + (("#include <iostream>" all) + (string-append all "\n#include <cstdint>"))))) (add-after 'unpack 'find-concurrentqueue-headers (lambda* (#:key inputs #:allow-other-keys) ;; Ensure that headers can be found diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 503fa18a55..1e8ed923bd 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -2793,6 +2793,8 @@ RAR, RPM, DEB, tar, and ZIP. It cannot perform functions for archives, whose archiver is not installed.") (license license:gpl2+))) +;; XXX: This software is abandoned since 2018. It may be removed as soon as +;; the build breaks; see also the discussion at #1734. (define-public tarsplitter (package (name "tarsplitter") diff --git a/gnu/packages/containers.scm b/gnu/packages/containers.scm index 1a2aa6b75d..eb1f3b3b53 100644 --- a/gnu/packages/containers.scm +++ b/gnu/packages/containers.scm @@ -285,7 +285,7 @@ contents, and discovering ways to shrink the size of Docker/OCI image.") (define-public libslirp (package (name "libslirp") - (version "4.7.0") + (version "4.9.1") (source (origin (method git-fetch) @@ -293,7 +293,7 @@ contents, and discovering ways to shrink the size of Docker/OCI image.") (url "https://gitlab.freedesktop.org/slirp/libslirp") (commit (string-append "v" version)))) (sha256 - (base32 "0dny8187a8qh6akaa37aa9b5pjxx88f02wh6achp4mygff0ipxba")) + (base32 "1jlqda5k5wm0ql0fymkr3dbf1d71gxcj7896r8mz8s1i264gg8rh")) (file-name (git-file-name name version)))) (build-system meson-build-system) (propagated-inputs @@ -311,7 +311,7 @@ containers or various tools.") (define-public slirp4netns (package (name "slirp4netns") - (version "1.3.2") + (version "1.3.3") (source (origin (method git-fetch) @@ -319,7 +319,7 @@ containers or various tools.") (url "https://github.com/rootless-containers/slirp4netns") (commit (string-append "v" version)))) (sha256 - (base32 "13lw48b89583smblp2d4kxb1j23k2qx3i2j5zi91sxwnnn4ndks2")) + (base32 "165z1ccsb8w901965rlzcrbln17l1jdg9k7vsiamlx0q06v24b96")) (file-name (git-file-name name version)))) (build-system gnu-build-system) (arguments diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 2bfa37ea90..2020a8ec95 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -1996,7 +1996,7 @@ including field and record folding.") (define-public rocksdb (package (name "rocksdb") - (version "6.26.1") + (version "10.4.2") (source (origin (method git-fetch) (uri (git-reference @@ -2005,7 +2005,7 @@ including field and record folding.") (file-name (git-file-name name version)) (sha256 (base32 - "0mylma106w93kxhj89g9y1ccdq7m9m94wrmv5nyr17yc1zsk87sg")) + "1cgr33qv639fyx067sg8nsy8mnfac9xgmmw2qwi2bcmir777ma4q")) (modules '((guix build utils))) (snippet '(begin diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm index 130b2e0877..7c8202dd71 100644 --- a/gnu/packages/emulators.scm +++ b/gnu/packages/emulators.scm @@ -3571,59 +3571,58 @@ assembler, and debugger for the Intel 8085 microprocessor. (define-public pcsxr ;; No release since 2017. - (let ((commit "6484236cb0281e8040ff6c8078c87899a3407534")) + (let ((commit "666604321bf2d3dd5e5f58b534cfce41e72ad7d1") + (revision "1")) (package (name "pcsxr") - ;; Version is tagged here: https://github.com/frealgagu/PCSX-Reloaded - (version "1.9.95") + ;; From CMakeLists.txt. + (version (git-version "1.9.94" revision commit)) (source (origin (method git-fetch) (uri (git-reference - (url "https://github.com/pcsxr/PCSX-Reloaded") + (url "https://github.com/MaddTheSane/PCSX-Reloaded") (commit commit))) + (patches (search-patches "pcsxr-find-harfbuzz.patch" + "pcsxr-fix-definitions.patch")) (sha256 - (base32 - "138mayp7zi9v4l3lm5f6xxkds619w1fgg769zm8s45c84jbz7dza")) + (base32 "0lcypcawnipm02m3wnjsrm9r10llabncx78ramk7iw03a646dngj")) (file-name (git-file-name name commit)))) (build-system cmake-build-system) (arguments - `(#:tests? #f ;no "test" target - #:configure-flags - (list "-DSND_BACKEND=pulse" - "-DENABLE_CCDDA='ON'" - "-DUSE_LIBARCHIVE='ON'" - "-DUSE_LIBCDIO='ON'") - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'cd-subdir - (lambda _ (chdir "pcsxr") #t)) - (add-before 'configure 'fix-cdio-lookup - (lambda* (#:key inputs #:allow-other-keys) - (substitute* "cmake/FindCdio.cmake" - (("/usr/include/cdio") - (search-input-directory inputs "/include/cdio"))))) - (add-after 'install 'wrap-program - (lambda* (#:key inputs outputs #:allow-other-keys) - (wrap-program (string-append (assoc-ref outputs "out") - "/bin/pcsxr") - ;; For GtkFileChooserDialog. - `("GSETTINGS_SCHEMA_DIR" = - (,(string-append (assoc-ref inputs "gtk+") - "/share/glib-2.0/schemas"))))))))) - (native-inputs - (list pkg-config intltool - `(,glib "bin"))) - (inputs - (list bash-minimal - libcdio - sdl2 - gtk+ - ffmpeg-4 - libxv - libarchive - pulseaudio)) - (home-page "https://archive.codeplex.com/?p=pcsxr") + (list + #:tests? #f ;no "test" target + #:configure-flags + #~(list "-DSND_BACKEND=pulse" + "-DENABLE_CCDDA='ON'" + "-DUSE_LIBARCHIVE='ON'" + "-DUSE_LIBCDIO='ON'" + "-DCMAKE_C_FLAGS=-Wno-incompatible-pointer-types") + #:phases + #~(modify-phases %standard-phases + (add-before 'configure 'fix-cdio-lookup + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "cmake/FindCdio.cmake" + (("/usr/include/cdio") + (search-input-directory inputs "/include/cdio"))))) + (add-after 'install 'wrap-program + (lambda* (#:key inputs #:allow-other-keys) + (wrap-program (string-append #$output "/bin/pcsxr") + ;; For GtkFileChooserDialog. + `("GSETTINGS_SCHEMA_DIR" = + (,(string-append (assoc-ref inputs "gtk+") + "/share/glib-2.0/schemas"))))))))) + (native-inputs (list pkg-config intltool + `(,glib "bin"))) + (inputs (list bash-minimal + libcdio + sdl2 + gtk+ + ffmpeg-4 + libxv + libarchive + pulseaudio)) + (home-page "https://github.com/MaddTheSane/PCSX-Reloaded") (synopsis "PlayStation emulator") (description "A PlayStation emulator based on PCSX-df Project with bugfixes and diff --git a/gnu/packages/fediverse.scm b/gnu/packages/fediverse.scm index 5378c9437e..167742e5cf 100644 --- a/gnu/packages/fediverse.scm +++ b/gnu/packages/fediverse.scm @@ -265,7 +265,7 @@ seamlessly with your desktop environment.") (define-public snac2 (package (name "snac") - (version "2.80") + (version "2.81") (source (origin (method git-fetch) @@ -274,7 +274,7 @@ seamlessly with your desktop environment.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "1npplr8mdw876g27473myyyghhizaffx46jvl8hiqx90qix4kzzi")))) + (base32 "12wnd7r9k1fmf9yikczhiplbjjvpi66c7n22hs6xla3qqm7vwcm3")))) (build-system gnu-build-system) (inputs (list curl openssl)) (arguments diff --git a/gnu/packages/fltk.scm b/gnu/packages/fltk.scm index 4ea711924e..6ee675778c 100644 --- a/gnu/packages/fltk.scm +++ b/gnu/packages/fltk.scm @@ -103,14 +103,14 @@ UI builder called FLUID that can be used to create applications in minutes.") (define-public fltk (package (inherit fltk-1.3) - (version "1.4.3") + (version "1.4.4") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/fltk/fltk") (commit (string-append "release-" version)))) (sha256 - (base32 "0v14a5x00h0ylvvvz26pj05c6zl3m5s5viiy5zlnjqjfliqdy0ci")))))) + (base32 "1nfl37c9yplp4gxjjlajysfj2vsr47xjlcq78ambd7im4wbjgj76")))))) (define-public ntk diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index e2af4d567b..506578fb11 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -5991,16 +5991,6 @@ coordinates) using the Nominatim service. geocode-glib caches requests for faster results and to avoid unnecessary server load.") (license license:lgpl2.0+))) -(define-public geocode-glib-with-libsoup2 - (package - (inherit geocode-glib) - (name "geocode-glib-with-libsoup2") - (arguments (substitute-keyword-arguments (package-arguments geocode-glib) - ((#:configure-flags flags ''()) - #~(delete "-Dsoup2=false" #$flags)))) - (inputs (modify-inputs (package-inputs geocode-glib) - (replace "libsoup" libsoup-minimal-2))))) - (define-public upower (package (name "upower") @@ -8518,30 +8508,6 @@ contacts, tasks, and calendar information. It was originally developed for Evolution (hence the name), but is now used by other packages as well.") (license license:lgpl2.0))) -;;; This version can be used for projects with dependencies stuck on libsoup2. -(define-public evolution-data-server-3.44 - (package - (inherit evolution-data-server) - (name "evolution-data-server") - (version "3.44.4") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://gnome/sources/" name "/" - (version-major+minor version) "/" - name "-" version ".tar.xz")) - (sha256 - (base32 "1sxjrjr31wqbp9g4pf6dwj8rc4mi7c5fbfd489ha92ym7246bin0")))) - (inputs - (modify-inputs (package-inputs evolution-data-server) - (replace "gnome-online-accounts" gnome-online-accounts-3.44) - (replace "libgweather4" libgweather) - (replace "webkitgtk-for-gtk3" webkitgtk-with-libsoup2))) - (propagated-inputs - (modify-inputs (package-propagated-inputs evolution-data-server) - (delete "gtk") - (replace "libsoup" libsoup-minimal-2))))) - (define-public caribou (package (name "caribou") @@ -11299,14 +11265,6 @@ compiled.") (home-page "https://wiki.gnome.org/Projects/Folks") (license license:lgpl2.1+))) -(define-public folks-with-libsoup2 - (package - (inherit folks) - (name "folks-with-libsoup2") - (inputs - (modify-inputs (package-inputs folks) - (replace "evolution-data-server" evolution-data-server-3.44))))) - (define-public gfbgraph (package (name "gfbgraph") diff --git a/gnu/packages/gnunet.scm b/gnu/packages/gnunet.scm index d2ec53ac48..013e974dfa 100644 --- a/gnu/packages/gnunet.scm +++ b/gnu/packages/gnunet.scm @@ -165,14 +165,14 @@ tool to extract metadata from a file and print the results.") (define-public libmicrohttpd (package (name "libmicrohttpd") - (version "1.0.1") + (version "1.0.2") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/libmicrohttpd/libmicrohttpd-" version ".tar.gz")) (sha256 (base32 - "151bi13xx8dz5c9v33chp6ch5q8wmbxb9z7l37g4vqsdkgy0k7m8")))) + "1ix843yqhcl8d5gh5652pw2scx4p5n836ca80ymms5rl136lycnz")))) (build-system gnu-build-system) (arguments (list #:configure-flags diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index b34570a810..7ace87bc11 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -7593,6 +7593,28 @@ termios API is used. GNU Guile doesn't have an interface for that built in. This module implements this interface by use of Guile's dynamic FFI.") (license license:bsd-2))) +(define-public guile-bstructs + (package + (name "guile-bstructs") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://files.dthompson.us/releases" + "/guile-bstructs/guile-bstructs-" version ".tar.gz")) + (sha256 + (base32 "0f847aiyzhrlvd2jmckyqrkrvi7i9mg8rmyhbh7fs1vzykcf67wb")))) + (build-system gnu-build-system) + (native-inputs (list autoconf automake pkg-config texinfo)) + (inputs (list guile-3.0)) + (synopsis "Efficient binary structures for Guile") + (description + "Guile-bstructs provides an efficient implementation of +low-level binary structures for Guile Scheme inspired by Chez Scheme's +ftypes.") + (home-page "https://dthompson.us/projects/guile-bstructs.html") + (license license:asl2.0))) + (define-public guile-goblins (package (name "guile-goblins") diff --git a/gnu/packages/icu4c.scm b/gnu/packages/icu4c.scm index 952d550892..d322fb6c3e 100644 --- a/gnu/packages/icu4c.scm +++ b/gnu/packages/icu4c.scm @@ -164,42 +164,6 @@ C/C++ part.") (base32 "0gjg1zrnqk4vmidqgqx4xbz05898px212gnff8242is7zrmv9b6z")))))) -(define-public icu4c-70 - (package - (inherit icu4c) - (version "70.1") - (source (origin - (method url-fetch) - (uri (icu4c-uri version)) - (sha256 - (base32 - "1m9zgkaf5lyh65nyc6n0n5bs2f5k53nnj1ih6nskpwbvq4l5884d")))) - (arguments - (if (target-riscv64?) - (substitute-keyword-arguments (package-arguments icu4c) - ((#:phases phases) - #~(modify-phases #$phases - (replace 'disable-failing-test - ;; It is unknown why these tests are failing. - (lambda _ - (substitute* "source/test/cintltst/ucptrietest.c" - ((".*addTest.*") "")) - (substitute* "source/test/intltest/numbertest_api.cpp" - (("(TESTCASE_AUTO\\(unitUsage\\));" all) - (string-append "//" all)))))))) - (package-arguments icu4c))))) - -(define-public icu4c-69 - (package - (inherit icu4c) - (version "69.1") - (source (origin - (method url-fetch) - (uri (icu4c-uri version)) - (sha256 - (base32 - "0icps0avkwy5df3wwc5kybxcg63hcgk4phdh9g244g0xrmx7pfjc")))))) - (define-public icu4c-build-root (package (inherit icu4c) diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm index 22ad2308a5..ab30dfa31d 100644 --- a/gnu/packages/image-processing.scm +++ b/gnu/packages/image-processing.scm @@ -496,7 +496,7 @@ different data arrays similar to those available in the numdiff software.") (define-public opencv (package (name "opencv") - (version "4.11.0") + (version "4.12.0") (source (origin (method git-fetch) (uri (git-reference @@ -510,8 +510,7 @@ different data arrays similar to those available in the numdiff software.") ;; available in Guix. (with-directory-excursion "3rdparty" (for-each delete-file-recursively - '("carotene" - "cpufeatures" + '("cpufeatures" "flatbuffers" "ffmpeg" "include" @@ -525,7 +524,6 @@ different data arrays similar to those available in the numdiff software.") "libwebp" "openexr" "openjpeg" - "openvx" "protobuf" ;;"quirc" "tbb" @@ -535,7 +533,7 @@ different data arrays similar to those available in the numdiff software.") (for-each delete-file (find-files "." "\\.jar$")))) (sha256 (base32 - "1ha0230yw9ihybmg2b3mkk9vbnlgzlwx597v2hm14y403047zvgb")))) + "1n5qif1ispmdby1cmwf9f8isdx07phyhb19jsmgrw5bk3k23dcyy")))) (build-system cmake-build-system) (arguments `(#:parallel-tests? #f @@ -719,7 +717,7 @@ different data arrays similar to those available in the numdiff software.") (file-name (git-file-name "opencv_extra" version)) (sha256 (base32 - "1zs8ps01vq1pvs5zmpw0wd7xc2l85yqd85vksdj8kddkx6alda8j")))) + "0awang2hl7z194rlnic38ry6fgxy8b7k2qqasinjqznxab4dkhvz")))) ("opencv-contrib" ,(origin (method git-fetch) @@ -728,7 +726,7 @@ different data arrays similar to those available in the numdiff software.") (file-name (git-file-name "opencv_contrib" version)) (sha256 (base32 - "0wsvd7pnj0p6dvdl4x4r46dkrkxkd61v411ih30j3wa9l7m7vmv0")))))) + "1ai1kanlq1wr3173q86yfj6r9h3kkvjx18cakjr31jkb25qyrmny")))))) (inputs (list eigen ffmpeg-4 diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm index d1926c3426..097207a089 100644 --- a/gnu/packages/kde-plasma.scm +++ b/gnu/packages/kde-plasma.scm @@ -72,6 +72,7 @@ #:use-module (gnu packages libusb) #:use-module (gnu packages lsof) #:use-module (gnu packages networking) + #:use-module (gnu packages markup) #:use-module (gnu packages maths) #:use-module (gnu packages messaging) #:use-module (gnu packages multiprecision) @@ -271,6 +272,7 @@ Breeze is the default theme for the KDE Plasma desktop.") (build-system qt-build-system) (arguments (list #:qtbase qtbase + #:test-exclude "flatpaktest" #:phases #~(modify-phases %standard-phases (add-after 'unpack 'remove-qmlmodule-required @@ -282,13 +284,12 @@ Breeze is the default theme for the KDE Plasma desktop.") (lambda _ (setenv "LDFLAGS" (string-append "-Wl,-rpath=" #$output "/lib/plasma-discover")))) - (replace 'check + (add-before 'check 'check-setup (lambda* (#:key tests? #:allow-other-keys) (when tests? (setenv "XDG_DATA_DIRS" (string-append (getcwd) - ":" (getenv "XDG_DATA_DIRS"))) - (invoke "ctest" "-E" "knsbackendtest"))))))) + ":" (getenv "XDG_DATA_DIRS"))))))))) (native-inputs (list extra-cmake-modules pkg-config)) (inputs (list appstream-qt6 attica @@ -314,14 +315,17 @@ Breeze is the default theme for the KDE Plasma desktop.") kdeclarative kcmutils kidletime + libostree ; required by flatpak + markdown packagekit-qt6 purpose + qcoro-qt6 qt5compat qtdeclarative qtsvg + qtwebview qcoro-qt6)) ;; -- The following features have been disabled: - ;; * Ostree, Library to manage ostree repository. Required to build the rpm-ostree backend ;; * RpmOstree, rpm-ostree binary to manage the system. Required to build the rpm-ostree backend ;; ;; -- The following OPTIONAL packages have not been found: @@ -1955,7 +1959,8 @@ on QtMultimedia and @command{yt-dlp}.") kstatusnotifieritem qtdeclarative)) (propagated-inputs (list plasma-workspace)) - (arguments (list #:qtbase qtbase)) + (arguments (list #:tests? #f ; no tests + #:qtbase qtbase)) (home-page "https://invent.kde.org/plasma/plasma-browser-integration") (synopsis "Integrate browsers into the Plasma Desktop") (description @@ -3125,7 +3130,8 @@ of a Plasma shell.") plasma-workspace qtdeclarative qtwebengine)) - (arguments (list #:qtbase qtbase)) + (arguments (list #:qtbase qtbase + #:tests? #f)) ; no tests (synopsis "Control center to configure Plasma Desktop") (description "This package provides configuration UI for Plasma Desktop.") (home-page "https://invent.kde.org/plasma/systemsettings") diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index 6d0a742a08..bf2ffd0f9b 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -1160,7 +1160,7 @@ libraries for Machine Learning, Neural Nets and statistical estimation.") (define-public picolisp (package (name "picolisp") - (version "24.9") + (version "25.6") (supported-systems '("aarch64-linux" "powerpc64le-linux" "x86_64-linux")) @@ -1169,7 +1169,7 @@ libraries for Machine Learning, Neural Nets and statistical estimation.") (method url-fetch) (uri (string-append "https://software-lab.de/picoLisp-" version ".tgz")) (sha256 - (base32 "1bsp14vjzvlav813mxzgigcdrmsxhrrhlhdzfdvdq6havacm0cwf")))) + (base32 "0cr1w4lcszipfp7d0pk7v42dzqrd6i7b498f81lqymijgp3v4vkd")))) (build-system gnu-build-system) (inputs (list clang readline libffi openssl pkg-config)) (arguments diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm index 7ebd79e6f6..7fb07cab0c 100644 --- a/gnu/packages/lua.scm +++ b/gnu/packages/lua.scm @@ -134,7 +134,7 @@ for configuration, scripting, and rapid prototyping.") (define-public lua-5.4 (package (inherit lua) - (version "5.4.6") + (version "5.4.8") (arguments (substitute-keyword-arguments (package-arguments lua) ((#:make-flags flags) @@ -145,7 +145,7 @@ for configuration, scripting, and rapid prototyping.") (uri (string-append "https://www.lua.org/ftp/lua-" version ".tar.gz")) (sha256 - (base32 "125dncwz8syhxk034m4fpahq7vsprfnwdqfxlffbb83arfws2pkx")) + (base32 "1bi90r9nzmqhjwhr8ysffhmhq30wxxcpqwmbxr33wyaf2npds62g")) (patches (search-patches "lua-5.4-pkgconfig.patch" "lua-5.4-liblua-so.patch")))))) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 4d8ff4b5e3..061cb934a4 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -763,11 +763,13 @@ Performance is achieved by using the LLVM JIT compiler.") (string-append (assoc-ref outputs "out") "/bin") "^test-"))))))) - (inputs (list curl glslang python python-gguf - vulkan-headers vulkan-loader)) - (native-inputs (list pkg-config shaderc bash-minimal)) + (inputs + (list curl glslang python-gguf python-minimal openblas spirv-headers + spirv-tools vulkan-headers vulkan-loader)) + (native-inputs + (list bash-minimal pkg-config shaderc)) (propagated-inputs - (list python-numpy python-pytorch python-sentencepiece openblas)) + (list python-numpy python-pytorch python-sentencepiece)) (properties '((tunable? . #true))) ;use AVX512, FMA, etc. when available (home-page "https://github.com/ggml-org/llama.cpp") (synopsis "Port of Facebook's LLaMA model in C/C++") diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 0627370086..9dcc4660d0 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -113,6 +113,7 @@ #:use-module (gnu packages fontutils) #:use-module (gnu packages freedesktop) #:use-module (gnu packages gawk) + #:use-module (gnu packages gcc) #:use-module (gnu packages gdb) #:use-module (gnu packages gettext) #:use-module (gnu packages ghostscript) @@ -323,14 +324,14 @@ completely independent from the extension API.") (define-public mailutils (package (name "mailutils") - (version "3.19") + (version "3.20") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/mailutils/mailutils-" version ".tar.xz")) (sha256 (base32 - "0iczhhqfp7nkcasf7iy7lkxk7wgifxhrj3bbr7c8lnvc0ch0s8sh")) + "0ag8d9fafzyjk53iyknzvb82risv1jf4wgnann5ii9fx3smzmwx8")) (patches (search-patches "mailutils-variable-lookup.patch")))) (build-system gnu-build-system) @@ -1228,6 +1229,12 @@ and corrections. It is based on a Bayesian filter.") #:tests? #f #:phases #~(modify-phases %standard-phases + ;; See: https://github.com/OfflineIMAP/offlineimap3/pull/205. + (add-after 'unpack 'fix-issue-205 + (lambda _ + (substitute* "offlineimap/localeval.py" + (("import importlib.util\n") + "import importlib.util\nimport importlib.machinery\n")))) (add-after 'build 'build-documentation (lambda _ (substitute* "docs/Makefile" @@ -4830,7 +4837,7 @@ on RFC 3501 and original @code{imaplib} module.") (define-public rspamd (package (name "rspamd") - (version "3.6") + (version "3.12.1") (source (origin (method git-fetch) @@ -4838,16 +4845,26 @@ on RFC 3501 and original @code{imaplib} module.") (url "https://github.com/rspamd/rspamd") (commit version))) (sha256 - (base32 "1ra18c3wczbdqrg9p69k04smjskjkdpxcfff9ff4yi7pmqjaxr8s")) + (base32 "0li75dqqy0irrvv2jddmll2adf15cywif982ijj034hldg9162bc")) (file-name (git-file-name name version)))) (build-system cmake-build-system) (arguments - '(#:configure-flags '("-DENABLE_LUAJIT=ON" - "-DLOCAL_CONFDIR=/etc/rspamd"))) + (list #:configure-flags #~(list "-DENABLE_LUAJIT=ON" + "-DLOCAL_CONFDIR=/etc/rspamd") + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "make" "run-test" + "-j" (number->string (parallel-job-count))))))))) (inputs (list file glib icu4c + libarchive + libbfd + libiberty libsodium luajit openssl diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 8a32f2a75a..df35fc8229 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -2905,7 +2905,7 @@ validating international phone numbers.") (define-public chatty (package (name "chatty") - (version "0.6.7") + (version "0.7.3") (source (origin (method git-fetch) (uri (git-reference @@ -2920,7 +2920,7 @@ validating international phone numbers.") (file-name (git-file-name name version)) (sha256 (base32 - "11q07vjrrjf3k00kk41vm79brpq0qigz7l328br3g0li979kz32v")))) + "0d6z0mgl1xx384ph5lw3p5rpg3w1ninzyxjjjas3z8i7fyk47inf")))) (build-system meson-build-system) (arguments '(#:glib-or-gtk? #t @@ -2947,7 +2947,7 @@ validating international phone numbers.") xorg-server-for-tests)) (inputs (list feedbackd - folks-with-libsoup2 + folks gnome-desktop gsettings-desktop-schemas gspell @@ -2962,7 +2962,7 @@ validating international phone numbers.") purple-mm-sms sqlite)) (propagated-inputs - (list adwaita-icon-theme evolution-data-server-3.44)) + (list adwaita-icon-theme evolution-data-server)) (synopsis "Mobile client for XMPP and SMS messaging") (description "Chatty is a chat program for XMPP and SMS. It works on mobile as well as on desktop platforms. It's based on libpurple and ModemManager.") diff --git a/gnu/packages/oyacc.scm b/gnu/packages/oyacc.scm new file mode 100644 index 0000000000..4510b640fe --- /dev/null +++ b/gnu/packages/oyacc.scm @@ -0,0 +1,52 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2025 Anderson Torres <anderson.torres.8519@gmail.com> +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. + +(define-module (gnu packages oyacc) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix gexp) + #:use-module (guix git-download) + #:use-module (guix build-system gnu)) + +(define-public oyacc + (package + (name "oyacc") + (version "6.6") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ibara/yacc") + (commit (string-append name "-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1a2nyg2nnh1las40klnp037sapaaph86kjx258cpqcwnk4cv3rnx")))) + (build-system gnu-build-system) + (arguments + (list + #:test-target "test" + #:make-flags + #~(list (string-append "BINDIR=" #$output "/bin") + (string-append "MANDIR=" #$output "/share/man/man1")))) + (synopsis "Portable YACC from OpenBSD") + (description + "@command{oyacc} is a portable version of the OpenBSD's +@acronym{yacc, Yet Another Compiler Compiler} program, with no dependencies +besides libc.") + (home-page "https://github.com/ibara/yacc") + (license license:bsd-2))) diff --git a/gnu/packages/pantheon.scm b/gnu/packages/pantheon.scm index 2e4fa08d5a..b17197a858 100644 --- a/gnu/packages/pantheon.scm +++ b/gnu/packages/pantheon.scm @@ -173,10 +173,10 @@ desktop.") (symlink bin link))))))) (inputs (list clutter - evolution-data-server-3.44 - folks-with-libsoup2 + evolution-data-server + folks geoclue - geocode-glib-with-libsoup2 + geocode-glib granite-6 glib gtk diff --git a/gnu/packages/patches/pcsxr-find-harfbuzz.patch b/gnu/packages/patches/pcsxr-find-harfbuzz.patch new file mode 100644 index 0000000000..69932d719e --- /dev/null +++ b/gnu/packages/patches/pcsxr-find-harfbuzz.patch @@ -0,0 +1,21 @@ +The .cmake files this project includes don't play well with harfbuzz's internal .cmake file. +This patch works around the issues present in the project's CMake configuration. + +diff --git a/cmake/FindPango.cmake b/cmake/FindPango.cmake +index 2a7da99d..c08fbaab 100644 +--- a/cmake/FindPango.cmake ++++ b/cmake/FindPango.cmake +@@ -74,6 +74,13 @@ foreach(pango_dep ${Pango_DEPS}) + set_property (TARGET "${Pango}" APPEND PROPERTY INTERFACE_LINK_LIBRARIES "${${pango_dep}}") + endforeach(pango_dep) + ++if(NOT HARFBUZZ_INCLUDE_DIR) ++find_package(harfbuzz) ++endif() ++ ++list(APPEND Pango_INCLUDE_DIRS ${HARFBUZZ_INCLUDE_DIR}) ++set_property (TARGET "${Pango}" APPEND PROPERTY INTERFACE_LINK_LIBRARIES "harfbuzz::harfbuzz") ++ + include(FindPackageHandleStandardArgs) + find_package_handle_standard_args(Pango + REQUIRED_VARS diff --git a/gnu/packages/patches/pcsxr-fix-definitions.patch b/gnu/packages/patches/pcsxr-fix-definitions.patch new file mode 100644 index 0000000000..8ec389ec09 --- /dev/null +++ b/gnu/packages/patches/pcsxr-fix-definitions.patch @@ -0,0 +1,137 @@ +There are a lot of global variable definitions that aren't valid on modern compilers. According to upstream's Dockerfile, +this project is meant to compile with GCC 6! So there are some declarations that need to be changed. + +diff --git a/gui/Linux.h b/gui/Linux.h +index 2a939050..99404d93 100644 +--- a/gui/Linux.h ++++ b/gui/Linux.h +@@ -44,8 +44,8 @@ + + extern gboolean UseGui; + extern int StatesC; +-char cfgfile[MAXPATHLEN]; /* ADB Comment this out - make a local var, or at least use gchar funcs */ +-char cfgfile_basename[MAXPATHLEN]; /* ADB Comment this out - make a local var, or at least use gchar funcs */ ++extern char cfgfile[MAXPATHLEN]; /* ADB Comment this out - make a local var, or at least use gchar funcs */ ++extern char cfgfile_basename[MAXPATHLEN]; /* ADB Comment this out - make a local var, or at least use gchar funcs */ + + int LoadConfig(); + void SaveConfig(); +diff --git a/gui/LnxMain.c b/gui/LnxMain.c +index d6dd9316..02002bc1 100644 +--- a/gui/LnxMain.c ++++ b/gui/LnxMain.c +@@ -49,6 +49,9 @@ enum { + + gboolean UseGui = TRUE; + ++char cfgfile[MAXPATHLEN] = {0}; ++char cfgfile_basename[MAXPATHLEN] = {0}; ++ + static void CreateMemcard(char *filename, char *conf_mcd) { + gchar *mcd; + struct stat buf; +diff --git a/plugins/bladesio1/sio1.c b/plugins/bladesio1/sio1.c +index 17ac4b65..c6fd585a 100644 +--- a/plugins/bladesio1/sio1.c ++++ b/plugins/bladesio1/sio1.c +@@ -55,8 +55,6 @@ static const unsigned char build = 1; + + static void (CALLBACK *irqCallback)(void) = 0; + +-Settings settings; +- + /* sio status flags. + */ + enum { +diff --git a/plugins/dfinput/pad.h b/plugins/dfinput/pad.h +index 8337fe7e..6d44851d 100644 +--- a/plugins/dfinput/pad.h ++++ b/plugins/dfinput/pad.h +@@ -151,7 +151,7 @@ typedef struct tagKeyDef { + enum { ANALOG_XP = 0, ANALOG_XM, ANALOG_YP, ANALOG_YM }; + + #if SDL_VERSION_ATLEAST(2,0,0) +-SDL_GameControllerButton controllerMap[DKEY_TOTAL]; ++extern SDL_GameControllerButton controllerMap[DKEY_TOTAL]; + #endif + + typedef struct tagPadDef { +diff --git a/plugins/dfnet/cfg.c b/plugins/dfnet/cfg.c +index 921efbe3..1057426a 100644 +--- a/plugins/dfnet/cfg.c ++++ b/plugins/dfnet/cfg.c +@@ -11,6 +11,8 @@ + + #include "dfnet.h" + ++Config conf; ++ + #define CFG_FILENAME "dfnet.cfg" + + void SaveConf() { +diff --git a/plugins/dfnet/dfnet.c b/plugins/dfnet/dfnet.c +index 6c6ec5f9..ddc92169 100644 +--- a/plugins/dfnet/dfnet.c ++++ b/plugins/dfnet/dfnet.c +@@ -24,6 +24,9 @@ const unsigned char build = 3; // increase that with each version + + static char *libraryName = N_("Socket Driver"); + ++fd_set rset; ++fd_set wset; ++ + unsigned long CALLBACK PSEgetLibType(void) { + return PSE_LT_NET; + } +diff --git a/plugins/dfnet/dfnet.h b/plugins/dfnet/dfnet.h +index 937814f5..e2699ad3 100644 +--- a/plugins/dfnet/dfnet.h ++++ b/plugins/dfnet/dfnet.h +@@ -56,7 +56,7 @@ __private_extern char* PLUGLOC(char* toloc); + + typedef void* HWND; + +-struct timeval tm; ++extern struct timeval tm; + + #define CALLBACK + +@@ -70,24 +70,24 @@ typedef struct { + char ipAddress[32]; + } Config; + +-Config conf; ++extern Config conf; + + void LoadConf(void); + void SaveConf(void); + +-int sock; +-char *PadSendData; +-char *PadRecvData; +-char PadSendSize; +-char PadRecvSize; +-char PadSize[2]; +-int PadCount; +-int PadCountMax; +-int PadInit; +-int Ping; +-volatile int WaitCancel; +-fd_set rset; +-fd_set wset; ++extern int sock; ++extern char *PadSendData; ++extern char *PadRecvData; ++extern char PadSendSize; ++extern char PadRecvSize; ++extern char PadSize[2]; ++extern int PadCount; ++extern int PadCountMax; ++extern int PadInit; ++extern int Ping; ++extern volatile int WaitCancel; ++extern fd_set rset; ++extern fd_set wset; + + long sockInit(void); + long sockShutdown(void); diff --git a/gnu/packages/prolog.scm b/gnu/packages/prolog.scm index cf6700543c..4744f39579 100644 --- a/gnu/packages/prolog.scm +++ b/gnu/packages/prolog.scm @@ -185,7 +185,7 @@ it.") (define-public trealla (package (name "trealla") - (version "2.79.22") + (version "2.80.4") (source (origin (method git-fetch) @@ -194,7 +194,7 @@ it.") (url "https://github.com/trealla-prolog/trealla") (commit (string-append "v" version)))) (sha256 - (base32 "1fhk9lsj71a3l5j0dvn2qjmj85r2ixianjqlf5j5s4d7h08amm2y")) + (base32 "1sbfrzsjakfkbjvw8hl344l0cnf65nia8b7xxb6y7370k47mkil1")) (file-name (git-file-name name version)))) (build-system gnu-build-system) (native-inputs diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e24cd2288f..e7b3b98c96 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -885,6 +885,24 @@ comparison operators, as defined in the original processes, in parallel, in the console, with an interactive TUI.") (license license:expat))) +(define-public python-orderly-set + (package + (name "python-orderly-set") + (version "5.5.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "orderly_set" version)) + (sha256 + (base32 "1kp64m0nabhhb0zxr4f8idrmniraahnfwq41gx7adbyqwk48awg8")))) + (build-system pyproject-build-system) + (native-inputs (list python-flit-core python-pytest)) + (home-page "https://github.com/seperman/orderly-set") + (synopsis "Multiple implementations of Ordered Set") + (description "Orderly Set is a package containing multiple implementations +of Ordered Set.") + (license license:expat))) + (define-public python-pastel (package (name "python-pastel") @@ -931,6 +949,42 @@ your terminal.") edit distance algorithm for Python in Cython for high performance.") (license license:bsd-3))) +(define-public python-safety-schemas + (package + (name "python-safety-schemas") + (version "0.0.14") + (source + (origin + (method url-fetch) + (uri (pypi-uri "safety_schemas" version)) + (sha256 + (base32 "0smgszbd3nb7jh61cgpycqhcvfwwdyaai5amw8mmf6g9b5x3z5a9")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags + #~(list "-k" (string-join + ;; These tests are failing for unknown reasons. + ;; (AssertionError). + (list "not test_model[ConfigModel-ConfigModel]" + "test_model[MetadataModel-MetadataModel]" + "test_model[PolicyFileModel-PolicyFileModel]" + "test_model[ProjectModel-ProjectModel]" + "test_model[ReportModel-ReportModel]") + " and not ")))) + (propagated-inputs (list python-dparse + python-packaging + python-pydantic-2 + python-ruamel.yaml + python-typing-extensions)) + (native-inputs (list python-deepdiff python-hatchling python-pytest)) + ;; Source code is not yet published outside of PyPI: + ;; https://github.com/pyupio/safety/issues/494 + (home-page "https://pypi.org/project/safety-schemas/") + (synopsis "Schemas for Safety tools") + (description "This package contains models and schemas used by Safety.") + (license license:expat))) + (define-public python-senf (package (name "python-senf") @@ -23131,23 +23185,16 @@ implementation has been adapted, improved, and fixed from Molten.") (define-public python-shellingham (package (name "python-shellingham") - (version "1.5.1") + (version "1.5.4") (source (origin (method url-fetch) (uri (pypi-uri "shellingham" version)) (sha256 - (base32 "0iawv24xx6vhwbhqlxyyg901f8pf6abqyfg0711v1bvlipx83g21")))) - (build-system python-build-system) - (arguments - '(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "python" "-m" "pytest" "-v"))))))) + (base32 "1ph46hv920ha9clwxgrllbrphh0ww4v4pjmkbb9mnzj8kmrs1g4d")))) + (build-system pyproject-build-system) (native-inputs - (list python-pytest python-pytest-mock)) + (list python-pytest python-pytest-mock python-setuptools python-wheel)) (home-page "https://github.com/sarugaku/shellingham") (synopsis "Tool to detect surrounding shell") (description @@ -24695,28 +24742,28 @@ JSON) codec.") (define-public python-nltk (package (name "python-nltk") - (version "3.6.2") - (source (origin - (method url-fetch) - (uri (pypi-uri "nltk" version ".zip")) - (sha256 - (base32 - "1sq32lwgij9h8rsksymnxxr7bqfw3vgx5ijw4azbj6k2xnmmdmap")))) - (build-system python-build-system) + (version "3.9.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "nltk" version)) + (sha256 + (base32 "0s78gayd45vl1wvpa0a44ydij6ybb7xfar8jz2j8kgg47nyjglc7")))) + (build-system pyproject-build-system) (arguments - '(;; The tests require some extra resources to be downloaded. - ;; TODO Try packaging these resources. - #:tests? #f)) - (propagated-inputs - (list python-click python-joblib python-regex python-tqdm)) - (native-inputs - (list unzip)) - (home-page "http://nltk.org/") + ;; Tests require some extra resources to be downloaded. + ;; TODO Try packaging these resources. + '(#:tests? #f)) + (propagated-inputs (list python-click python-joblib python-regex + python-tqdm)) + (native-inputs (list python-setuptools python-wheel)) + (home-page "https://www.nltk.org/") (synopsis "Natural Language Toolkit") - (description "It provides interfaces to over 50 corpora and lexical - resources such as WordNet, along with a suite of text processing libraries - for classification, tokenization, stemming, tagging, parsing, and semantic - reasoning, wrappers for natural language processing libraries.") + (description + "NLTK provides interfaces to over 50 corpora and lexical resources such as +WordNet, along with a suite of text processing libraries for classification, +tokenization, stemming, tagging, parsing, and semantic reasoning, wrappers for +natural language processing libraries.") (license license:asl2.0))) (define-public python-pymongo @@ -28647,35 +28694,21 @@ source bytes using the UTF-8 encoding and then rewrites Python 3.6 style (define-public python-typer (package (name "python-typer") - (version "0.6.1") + (version "0.16.0") (source (origin (method git-fetch) (uri (git-reference - (url "https://github.com/tiangolo/typer") + (url "https://github.com/fastapi/typer") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "1knv353qhkl2imav3jfp6bgq47m8wkkqhq1dzmqg2sv8rsy7zgl7")))) + (base32 "1axd3840b2vipfp9l36cnh5ipbsladizmjadgsnpnk502qily7sq")))) (build-system pyproject-build-system) (arguments (list - #:test-flags - '(let ((disabled-tests (list "test_show_completion" - "test_install_completion"))) - (list "-k" (string-append "not " - (string-join disabled-tests - " and not ")))) #:phases #~(modify-phases %standard-phases - ;; Unfortunately, this doesn't seem to be enough to fix these two - ;; tests, but we'll patch this anyway. - (add-after 'unpack 'patch-shell-reference - (lambda _ - (substitute* "tests/test_completion/test_completion.py" - (("\"bash\"") (string-append "\"" (which "bash") "\"")) - (("\"/bin/bash\"") - (string-append "\"" (which "bash") "\""))))) (add-before 'check 'pre-check (lambda* (#:key tests? #:allow-other-keys) (when tests? @@ -28683,12 +28716,14 @@ source bytes using the UTF-8 encoding and then rewrites Python 3.6 style ;; This is for completion tests (with-output-to-file "/tmp/.bashrc" (lambda _ (display "# dummy"))))))))) - (propagated-inputs - (list python-click)) - (native-inputs - (list python-coverage python-flit python-pytest python-rich - python-shellingham)) - (home-page "https://github.com/tiangolo/typer") + (propagated-inputs (list python-click + python-rich + python-shellingham + python-typing-extensions)) + (native-inputs (list python-coverage ; this is required in tests + python-pdm-backend + python-pytest)) + (home-page "https://github.com/fastapi/typer") (synopsis "Typer builds CLI based on Python type hints") (description "Typer is a library for building CLI applications. It's based on Python @@ -34286,19 +34321,16 @@ dates in almost any string formats commonly found on web pages.") (define-public python-dparse (package (name "python-dparse") - (version "0.5.1") + (version "0.6.4") (source - (origin - (method url-fetch) - (uri (pypi-uri "dparse" version)) - (sha256 - (base32 - "0rzkg3nymsbwdjc0ms2bsajkda02jipwyp3xk97qj71f21lz3dd1")))) - (build-system python-build-system) - (native-inputs - (list python-pytest)) - (propagated-inputs - (list python-packaging python-pyyaml python-toml)) + (origin + (method url-fetch) + (uri (pypi-uri "dparse" version)) + (sha256 + (base32 "06i069hij4i53hikrsv332h2ibwfchr42b68hii6rhzdwcwrrclh")))) + (build-system pyproject-build-system) + (native-inputs (list python-hatchling python-pytest)) + (propagated-inputs (list python-packaging python-toml)) (home-page "https://github.com/pyupio/dparse") (synopsis "Parser for Python dependency files") (description "This package provides a parser for Python dependency files.") @@ -34333,31 +34365,55 @@ facility for filtering those results.") (define-public python-safety (package (name "python-safety") - (version "1.9.0") + (version "3.6.0") (source - (origin - (method url-fetch) - (uri (pypi-uri "safety" version)) - (sha256 - (base32 - "1j801xsxfzavjbzhhc934awvnk1b7jc0qsw3jp3ys0241mlj1gr3")))) - (build-system python-build-system) + (origin + (method url-fetch) + (uri (pypi-uri "safety" version)) + (sha256 + (base32 "1qzplv044yfr8w41h0qmjc8lj2admk029azsqbax70wzd4kzh858")))) + (build-system pyproject-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'disable-tests - (lambda _ - (substitute* "tests/test_safety.py" - ;; requires network - (("def test_check_live") "def _test_check_live")) - #t))))) - (propagated-inputs - (list python-click python-dparse python-packaging python-requests)) + (list + #:test-flags + #~(list "-k" (string-join + ;; test_announcements fails with AssertionError. + (list "not test_announcements_if_is_not_tty" + ;; Tests below need a network connection. + "test_check_live" + "test_check_live_cached" + "test_get_packages_licenses_without_api_key") + " and not ")) + #:phases #~(modify-phases %standard-phases + (add-before 'check 'set-home ; some tests run mkdir + (lambda _ + (setenv "HOME" "/tmp")))))) + (native-inputs (list nss-certs-for-test python-hatchling python-pytest)) + (propagated-inputs (list python-authlib + python-click + python-dparse + python-filelock + python-httpx + python-jinja2 + python-marshmallow + python-nltk + python-packaging + python-psutil + python-pydantic-2 + python-requests + python-ruamel.yaml + python-safety-schemas + python-tenacity + python-tomli + python-tomlkit + python-typer + python-typing-extensions)) (home-page "https://github.com/pyupio/safety") (synopsis "Check installed dependencies for known vulnerabilities") - (description "Safety checks installed dependencies for known vulnerabilities. + (description + "Safety checks installed dependencies for known vulnerabilities. By default it uses the open Python vulnerability database Safety DB.") - (license license:expat))) + (license license:expat))) (define-public python-pypandoc (package @@ -38807,26 +38863,31 @@ object, which can be useful if you want to force your objects into a table.") (define-public python-deepdiff (package (name "python-deepdiff") - (version "6.3.0") + (version "8.5.0") (source (origin (method url-fetch) (uri (pypi-uri "deepdiff" version)) (sha256 (base32 - "0i5nnb3nppi2vgbhiakpxiagyhx7l1f50hzcl8fcgica4bkz2fva")))) + "1l8wvirgif61cqwsqzd3kf8slzlrjnffmqxnrfwxak4dz8lkbpd4")))) (build-system pyproject-build-system) - (propagated-inputs (list python-ordered-set)) + (arguments + ;; Ignore Polars test (not packaged). + (list #:test-flags #~(list "-k" "not test_polars"))) + (propagated-inputs (list python-click ; for CLI + python-pyyaml ; for CLI + python-orderly-set + python-orjson)) ; for optimization (native-inputs - (list python-click - python-dateutil + (list python-flit-core python-jsonpickle - python-mock python-numpy + python-pandas + python-pydantic-2 python-pytest - python-pyyaml - python-setuptools - python-wheel - python-toml)) + python-pytest-benchmark + python-pytz + python-tomli-w)) (home-page "https://github.com/seperman/deepdiff") (synopsis "Deep difference and search of any Python object/data") (description diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 1538cf1dd8..b55488b1f5 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1078,14 +1078,14 @@ def contents() -> str: (define-public python-3.12 (package (name "python-next") - (version "3.12.2") + (version "3.12.11") (source (origin (method url-fetch) (uri (string-append "https://www.python.org/ftp/python/" version "/Python-" version ".tar.xz")) (sha256 - (base32 "0w6qyfhc912xxav9x9pifwca40b4l49vy52wai9j0gc1mhni2a5y")) + (base32 "1nvskza80hzzh0x3w6i79jxkkrvl9x1ld9am3fqik6hygx5v42y3")) (patches (search-patches "python-3-deterministic-build-info.patch" "python-3.12-fix-tests.patch" "python-3-hurd-configure.patch")) diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm index aec39961d9..ae7cf5fb27 100644 --- a/gnu/packages/scheme.scm +++ b/gnu/packages/scheme.scm @@ -105,152 +105,116 @@ #:use-module (srfi srfi-1) #:use-module (ice-9 match)) -(define (mit-scheme-source-directory system version) - (string-append "mit-scheme-" - (if (or (string-prefix? "x86_64" system) - (string-prefix? "i686" system)) - "" - "c-") - version)) - (define-public mit-scheme (package (name "mit-scheme") - (version "11.2") - (source #f) ; see below + (version "12.1") + (source #f) ; See below. (outputs '("out" "doc")) (build-system gnu-build-system) (arguments - `(#:modules ((guix build gnu-build-system) - (guix build utils) - (srfi srfi-1)) - #:phases - (modify-phases %standard-phases - (replace 'unpack - (lambda* (#:key inputs #:allow-other-keys) - (invoke "tar" "xzvf" - (assoc-ref inputs "source")) - (chdir ,(mit-scheme-source-directory (%current-system) - version)) - ;; Delete these dangling symlinks since they break - ;; `patch-shebangs'. - (for-each delete-file - (find-files "src/compiler" "^make\\.")) - (chdir "src") - #t)) - (add-after 'unpack 'patch-/bin/sh - (lambda _ - (setenv "CONFIG_SHELL" (which "sh")) - (substitute* '("../tests/ffi/autogen.sh" - "../tests/ffi/autobuild.sh" - "../tests/ffi/test-ffi.sh" - "../tests/runtime/test-process.scm" - "runtime/unxprm.scm") - (("/bin/sh") (which "sh")) - (("\\./autogen\\.sh") - (string-append (which "sh") " autogen.sh")) - (("\\./configure") - (string-append (which "sh") " configure"))) - #t)) - ;; disable array-parameter warnings that become errors while - ;; compiling microcode target - (add-before 'configure 'set-flags - (lambda* (#:key inputs #:allow-other-keys) - (setenv "CFLAGS" "-Wno-array-parameter") - (setenv "CPPFLAGS" "-Wno-array-parameter"))) - (replace 'build - (lambda* (#:key system outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out"))) - (if (or (string-prefix? "x86_64" system) - (string-prefix? "i686" system)) - (invoke "make" "compile-microcode") - (invoke "./etc/make-liarc.sh" - (string-append "--prefix=" out))) - #t))) - (add-after 'configure 'configure-doc - (lambda* (#:key outputs inputs #:allow-other-keys) - (with-directory-excursion "../doc" - (let* ((out (assoc-ref outputs "out")) - (bash (assoc-ref inputs "bash")) - (bin/sh (string-append bash "/bin/sh"))) - (invoke bin/sh "./configure" - (string-append "--prefix=" out) - (string-append "SHELL=" bin/sh)) - #t)))) - (add-after 'build 'build-doc - (lambda* _ - (with-directory-excursion "../doc" - (invoke "make")) - #t)) - (add-after 'install 'install-doc - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (doc (assoc-ref outputs "doc")) - (old-doc-dir (string-append out "/share/doc")) - (new-doc/mit-scheme-dir - (string-append doc "/share/doc/" ,name "-" ,version))) - (with-directory-excursion "../doc" - (for-each (lambda (target) - (invoke "make" target)) - '("install-info-gz" "install-man" - "install-html" "install-pdf"))) - (mkdir-p new-doc/mit-scheme-dir) - (copy-recursively - (string-append old-doc-dir "/" ,name) - new-doc/mit-scheme-dir) - (delete-file-recursively old-doc-dir) - #t)))))) + (list + ;; XXX: Some makefile dependencies are probably wrong, leading to + ;; missing files when building in parallel. + #:parallel-build? #f + #:make-flags #~(list "compile-microcode") + #:phases + #~(modify-phases %standard-phases + ;; MIT/GNU Scheme is not bootstrappable, so it's recommended to + ;; compile from the architecture-specific tarballs, which contain + ;; pre-built binaries. It leads to more efficient code than when + ;; building the tarball that contains generated C code instead of + ;; those binaries. + (replace 'unpack + (lambda* (#:key inputs #:allow-other-keys) + ((assoc-ref %standard-phases 'unpack) + #:inputs inputs + #:source + #+(origin + (method url-fetch) + (uri + (string-append + "mirror://gnu/mit-scheme/stable.pkg/" version + "/mit-scheme-" + (cond + ((target-x86-64?) + (string-append version "-x86-64")) + ((target-aarch64?) + (string-append version "-aarch64le")) + (else + ;; XXX: According to the manual, it should exist, but + ;; seems dropped/forgotten starting from version 10.1. + (string-append "c-" version))) + ".tar.gz")) + (sha256 + (cond + ((target-x86-64?) + (base32 + "035f92vni0vqmgj9hq2i7vwasz7crx52wll4823vhfkm1qdv5ywc")) + ((target-aarch64?) + (base32 + "12ra9bc93x8g07impbd8jr6djjzwpb9qvh9zhxvvrba3332zx3vh")) + (else + (base32 "\ +aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")))))) + (chdir "src"))) + (add-after 'unpack 'patch-/bin/sh + (lambda* (#:key inputs native-inputs #:allow-other-keys) + (let ((sh (search-input-file (or native-inputs inputs) + "bin/sh"))) + (setenv "CONFIG_SHELL" sh) + (substitute* '("../tests/ffi/autogen.sh" + "../tests/ffi/autobuild.sh" + "../tests/ffi/test-ffi.sh" + "../tests/runtime/test-process.scm" + "runtime/unxprm.scm") + (("/bin/sh") + sh) + (("\\./autogen\\.sh") + (string-append sh " autogen.sh")) + (("\\./configure") + (string-append sh " configure")))))) + (add-after 'configure 'configure-doc + (lambda* (#:key inputs native-inputs #:allow-other-keys) + (with-directory-excursion "../doc" + (let* ((sh (search-input-file (or native-inputs inputs) + "bin/sh"))) + (mkdir-p #$output:doc) + (invoke sh "./configure" + (string-append "SHELL=" sh) + (string-append "--prefix=" #$output:doc) + (string-append "--docdir=" #$output:doc + "/share/doc/" #$name "-" #$version)))))) + (add-after 'build 'build-doc + (lambda _ + (with-directory-excursion "../doc" + (invoke "make" "install")))) + (add-after 'install 'fixup-install + (lambda _ + (let ((share (string-append #$output "/share")) + (dest (string-append #$output:doc "/share/info/"))) + (for-each + (lambda (file) (install-file file dest)) + (find-files share "\\.info\\.gz$")) + (delete-file-recursively share)))) + (add-before 'check 'disable-slow-tests + (lambda* (#:key inputs native-inputs #:allow-other-keys) + (setenv "FAST" "y") + (setenv "SHELL" (search-input-file (or native-inputs inputs) + "bin/sh"))))))) (native-inputs - `(;; Autoconf, Automake, and Libtool are necessary for the FFI tests. - ("autoconf" ,autoconf) - ("automake" ,automake) - ("libtool" ,libtool) - ("texlive" ,(texlive-local-tree - (list texlive-epsf - texlive-texinfo))) - ("texinfo" ,texinfo) - ("ghostscript" ,ghostscript) - ("m4" ,m4))) - (inputs - `(("libx11" ,libx11) - ("ncurses" ,ncurses) - - ("source" - - ;; MIT/GNU Scheme is not bootstrappable, so it's recommended to - ;; compile from the architecture-specific tarballs, which contain - ;; pre-built binaries. It leads to more efficient code than when - ;; building the tarball that contains generated C code instead of - ;; those binaries. - ,(origin - (method url-fetch) - (uri (string-append "mirror://gnu/mit-scheme/stable.pkg/" - version "/mit-scheme-" - (match (%current-system) - ("x86_64-linux" - (string-append version "-x86-64")) - ("aarch64-linux" - (string-append version "-aarch64le")) - (_ - (string-append "c-" version))) - ".tar.gz")) - (sha256 - (match (%current-system) - ("x86_64-linux" - (base32 - "17822hs9y07vcviv2af17p3va7qh79dird49nj50bwi9rz64ia3w")) - ("aarch64-linux" - (base32 - "11maixldk20wqb5js5p4imq221zz9nf27649v9pqkdf8fv7rnrs9")) - (_ - (base32 - "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")))))))) - - ;; Fails to build on MIPS, see <http://bugs.gnu.org/18221>. - ;; Also, the portable C version of MIT/GNU Scheme did not work in time for - ;; release in version 10.1. - (supported-systems '("x86_64-linux" "i686-linux")) - + ;; XXX: Autoconf, Automake, and Libtool are necessary for the FFI tests. + (list bash-minimal + autoconf + automake + libtool + (texlive-local-tree (list texlive-epsf texlive-texinfo)) + texinfo + ghostscript + m4)) + (inputs (list libx11 ncurses)) + ;; XXX: Fails to build on MIPS, see <http://bugs.gnu.org/18221>. + (supported-systems '("x86_64-linux" "aarch64-linux")) (home-page "https://www.gnu.org/software/mit-scheme/") (synopsis "Scheme implementation with integrated editor and debugger") (description diff --git a/gnu/packages/skribilo.scm b/gnu/packages/skribilo.scm index 32132371a5..be72a39d33 100644 --- a/gnu/packages/skribilo.scm +++ b/gnu/packages/skribilo.scm @@ -78,7 +78,6 @@ (inputs (list guile-3.0 imagemagick ghostscript ; for 'convert' - ploticus lout)) ;; The 'skribilo' command needs them, and for people using Skribilo as a diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm index dae4719b51..30a1370c6d 100644 --- a/gnu/packages/syndication.scm +++ b/gnu/packages/syndication.scm @@ -8,6 +8,7 @@ ;;; Copyright © 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2024 Luis Guilherme Coelho <lgcoelho@disroot.org> ;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com> +;;; Copyright © 2025 Ashish SHUKLA <ashish.is@lostca.se> ;;; ;;; This file is part of GNU Guix. ;;; @@ -355,7 +356,7 @@ file system, and many more features.") (define-public newsraft (package (name "newsraft") - (version "0.28") + (version "0.32") (source (origin (method git-fetch) @@ -364,7 +365,7 @@ file system, and many more features.") (commit (string-append name "-" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "10i5khna9wpaisarmzym9dvfaq91mnf1wvwsymnzl052d4n106l9")))) + (base32 "1jdj1820k7dsgpv2ks9amr71lvq1nl1y95jgfqb02fkid1gana4v")))) (build-system gnu-build-system) (arguments (list diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm index e1c69ceb60..baf526b4fe 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -959,7 +959,7 @@ Wordstar-, EMACS-, Pico, Nedit or vi-like key bindings. e3 can be used on (define-public mg (package (name "mg") - (version "20240709") + (version "20250523") (source (origin (method git-fetch) (uri (git-reference @@ -968,7 +968,7 @@ Wordstar-, EMACS-, Pico, Nedit or vi-like key bindings. e3 can be used on (file-name (git-file-name name version)) (sha256 (base32 - "02q3976glcih0icqvfz2fxrc723si57q080ba4ali5hw4wwggnk4")) + "1a08jvljmysangmwzv9ga84iy0s7afr7vb1gabivrxagkb5j70f5")) (modules '((guix build utils))) (snippet '(begin (substitute* "GNUmakefile" diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index a2fdd1858b..f950fa050e 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -21,7 +21,7 @@ ;;; Copyright © 2018 Sou Bunnbu <iyzsong@member.fsf.org> ;;; Copyright © 2018 Christopher Baines <mail@cbaines.net> ;;; Copyright © 2018 Timothy Sample <samplet@ngyro.com> -;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net> +;;; Copyright © 2018, 2025 Arun Isaac <arunisaac@systemreboot.net> ;;; Copyright © 2019 Jovany Leandro G.C <bit4bit@riseup.net> ;;; Copyright © 2019 Kei Kebreau <kkebreau@posteo.net> ;;; Copyright © 2019, 2020 Alex Griffin <a@ajgrf.com> @@ -1853,10 +1853,17 @@ a built-in cache to decrease server I/O pressure.") ;; because it is used as the shebang of generated scripts that ;; are invoked during the test phase. (string-append "SHELL_PATH=" - (search-input-file %build-inputs "/bin/sh")))))) + (search-input-file %build-inputs "/bin/sh")))) + ((#:phases phases #~%standard-phases) + #~(modify-phases #$phases + (replace 'unpack-git + (lambda _ + ;; Unpack the source of git into the 'git' directory. + (invoke "tar" "--strip-components=1" "-C" "git" "-xf" + #$(this-package-input "git-source.tar.xz")))))))) (inputs (modify-inputs (package-inputs cgit) - (replace "git-source" + (replace "git-source.tar.xz" ;; cgit-pink is tightly bound to git. Use GIT_VER from the Makefile, ;; which may not match the current (package-version git). (origin diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index cbdb31e3fe..ab4c76a11a 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -72,6 +72,7 @@ ;;; Copyright © 2024 aurtzy <aurtzy@gmail.com> ;;; Copyright © 2025 Formbi <formbi@protonmail.com> ;;; Copyright © 2025 Sharlatan Hellseher <sharlatanus@gmail.ccom> +;;; Copyright © 2025 VnPower <vnpower@loang.net> ;;; ;;; This file is part of GNU Guix. ;;; @@ -3016,6 +3017,31 @@ To load this plugin, specify the following option when starting mpv: @file{$HOME/.config/mpv/scripts}.") (license license:expat))) +(define-public mpvpaper + (package + (name "mpvpaper") + (version "1.8") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/GhostNaN/mpvpaper") + (commit version))) + (sha256 + (base32 "0pzc6f5r85qd0dgp6aa6pp8ba2m7ghzd3pc4xnqnarh2bx55jf95")) + (file-name (git-file-name name version)))) + (build-system meson-build-system) + (inputs + (list mpv libdisplay-info wlroots)) + (native-inputs + (list pkg-config cmake-minimal)) + (home-page "https://github.com/GhostNaN/mpvpaper") + (synopsis + "Video wallpaper program for wlroots-based wayland compositors") + (description "The mpvpaper package provides a wallpaper program for +wlroots-based wayland compositors, allowing you to play videos as your +wallpaper using mpv.") + (license license:gpl3))) + (define-public libvpx (package (name "libvpx") @@ -3231,7 +3257,7 @@ YouTube.com and many more sites.") (define-public yt-dlp (package (name "yt-dlp") - (version "2025.06.30") + (version "2025.07.21") (source (origin (method git-fetch) @@ -3243,7 +3269,7 @@ YouTube.com and many more sites.") (snippet '(substitute* "pyproject.toml" (("^.*Programming Language :: Python :: 3\\.13.*$") ""))) (sha256 - (base32 "14pk2rk5vm9469ghkvciaz74fihbl8dfi27qj6xnxv71hpm5w03p")))) + (base32 "051y9pb2imdrpi065d9l2xfmd68l22ahbz90z81yqv7kv84j9mal")))) (build-system pyproject-build-system) (arguments `(#:tests? ,(not (%current-target-system)) @@ -3277,7 +3303,17 @@ YouTube.com and many more sites.") (replace 'check (lambda* (#:key tests? test-flags #:allow-other-keys) (when tests? - (apply invoke "pytest" "-k" "not download" test-flags))))))) + (apply invoke "pytest" + "-k" + (string-append + "not download" + ;; TestHTTPRequestHandler tests are disabled due to + ;; https://github.com/yt-dlp/yt-dlp/issues/13927 + " and not " + "test_incompleteread" + " and not " + "test_partial_read_then_full_read") + test-flags))))))) (inputs (list ffmpeg python-brotli python-certifi python-mutagen @@ -5914,7 +5950,7 @@ It counts more than 100 plugins.") (define-public motion (package (name "motion") - (version "4.5.1") + (version "4.7.0") (home-page "https://motion-project.github.io/") (source (origin (method git-fetch) @@ -5923,7 +5959,7 @@ It counts more than 100 plugins.") (commit (string-append "release-" version)))) (sha256 (base32 - "09j919bba75d05rkqpib5rcmn1ff5nvn4ss8yy4fi6iz0lnacffx")) + "1pwsl1v0aqh5k5608siy0614lyf5bscy9a47ha8i5vqsbqxy4s3c")) (file-name (git-file-name name version)))) (build-system gnu-build-system) (native-inputs diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index 143c884198..0b9a07d271 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -169,6 +169,8 @@ #:use-module (gnu packages tls) #:use-module (gnu packages web) #:use-module (gnu packages wget) + #:use-module (gnu packages vnc) + #:use-module (gnu packages wxwidgets) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) @@ -2659,28 +2661,54 @@ by default and can be made read-only.") (define-public bochs (package (name "bochs") - (version "2.8") - (source - (origin - (method url-fetch) - (uri (string-append "https://sourceforge.net/projects/bochs/files/bochs/" - version "/bochs-" version ".tar.gz")) - (sha256 - (base32 "0n80v8wjd9i3rhc51sq7n7xw2paz7g1scsrmkxx1yhfqyypi6nx8")))) + (version "3.0") + (source (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/bochs/bochs/" version + "/bochs-" version ".tar.gz")) + (sha256 + (base32 + "1al1fx8dbb0ny7a4wbngnz8pqav0nl6rhakb434jqnpka4mm8vyb")))) (build-system gnu-build-system) (arguments - `(#:tests? #f)) ; no tests exist - (inputs - (list libxrandr)) - (home-page "https://bochs.sourceforge.net/") - (synopsis "Emulator for x86 PC") - (description - "Bochs is an emulator which can emulate Intel x86 CPU, common I/O -devices, and a custom BIOS. It can also be compiled to emulate many different -x86 CPUs, from early 386 to the most recent x86-64 Intel and AMD processors. -Bochs can run most Operating Systems inside the emulation including Linux, -DOS or Microsoft Windows.") - (license license:lgpl2.0+))) + (list #:tests? #f ;no test suite + #:configure-flags + ;; Enable support for more modern machine emulation not enabled by + ;; default. + #~(list "--enable-x86-64" + "--enable-smp" + "--enable-all-optimizations" + "--enable-readline" + "--enable-avx" + "--enable-evex" + "--enable-amx" + "--enable-vmx=2" + "--enable-svm" + "--enable-protection-keys" + "--enable-cet" + "--enable-es1370" + "--enable-sb16" + "--enable-uintr" + "--enable-3dnow" + "--enable-usb" + "--enable-usb-ohci" + "--enable-usb-ehci" + "--enable-usb-xhci" + "--enable-pnic" + "--enable-e1000" + "--enable-using-libslirp" + "--with-vncsrv"))) + (native-inputs (list pkg-config)) + (inputs (list libslirp libx11 libvnc readline wxwidgets)) + (home-page "https://bochs.sourceforge.io/") + (synopsis "IA-32 (x86) PC emulator") + (description "Bochs is a highly portable IA-32 (x86) PC emulator written +in C++. It includes emulation of the Intel x86 CPU, common I/O devices, and a +custom BIOS. Bochs can be compiled to emulate many different x86 CPUs, from +early 386 to the most recent x86-64 Intel and AMD processors. Bochs is +capable of running most operating systems inside the emulation including +GNU/Linux, DOS or Microsoft Windows.") + (license license:lgpl2.1+))) (define-public xen (package diff --git a/gnu/packages/vnc.scm b/gnu/packages/vnc.scm index c7883d1bbc..e260a17437 100644 --- a/gnu/packages/vnc.scm +++ b/gnu/packages/vnc.scm @@ -1,5 +1,4 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2019 Todor Kondić <tk.code@protonmail.com> ;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com> ;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com> ;;; Copyright © 2020 Marius Bakke <marius@gnu.org> @@ -174,235 +173,6 @@ RDP, VNC, SPICE, NX, XDMCP, SSH and EXEC network protocols are supported.") (license license:gpl2+))) -(define-public tigervnc-client - (package - (name "tigervnc-client") - (version "1.14.1") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/TigerVNC/tigervnc") - (commit (string-append "v" version)))) - (sha256 - (base32 "1n6slj7i93gvf0ji4mb3azycv3c4wqzfd7zlx9260b79jv8jvsln")) - (file-name (git-file-name name version)))) - (build-system cmake-build-system) - (arguments - '(#:tests? #f ; tests that do exists are not automated - #:phases (modify-phases %standard-phases - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (with-directory-excursion "vncviewer" - (invoke "make" "install"))))))) - (native-inputs - (list autoconf gettext-minimal automake)) - (inputs - (list zlib - gnutls - libjpeg-turbo - ;;ffmpeg ;TODO: add this for h264 encoding - fltk-1.3 - linux-pam - libx11 - libxext - libxtst - libxrandr - libxdamage - pixman)) - (home-page "https://tigervnc.org/") - (synopsis "High-performance VNC remote desktop client") - (description "TigerVNC implements a @acronym{VNC, Virtual Network Computing} -client and server. @dfn{VNC} is a remote display system that lets you view and -interact with a virtual desktop environment running on another computer on the -network. Client and server may be running on different operating systems and -architectures. - -TigerVNC uses a variant of Tight encoding that is greatly accelerated by the use -of the libjpeg-turbo JPEG codec and performs fast enough to run even 3D or video -applications. It also provides extensions for advanced authentication methods -and @acronym{TLS, Transport-Level Security} encryption. - -This package installs only the VNC client (@command{vncviewer}), the application -used to connect to VNC servers such as the tigervnc-server package.") - (license license:gpl2))) - -(define %tigervnc-client-source (package-source tigervnc-client)) - -;; A VNC server is, in fact, an X server so it seems like a good idea to build -;; on the work already done for xorg-server package. This is not entirely -;; compatible with the recommendation in BUILDING.txt where the client is -;; built first, then the source code of the X server is copied into a subdir -;; of the build directory, patched with VNC additions and then build and -;; installed as Xvnc. The procedure was turned around, where TigerVNC code is -;; downloaded and built inside the Guix X server build dir. Also, the VNC -;; patching process for the X server is automated in a straightforward manner. -(define-public tigervnc-server - (package - (inherit xorg-server) - (name "tigervnc-server") - (version (package-version tigervnc-client)) - (source - (origin - (inherit (package-source xorg-server)) - (modules '((guix build utils))) - (snippet - #~(begin - ;; Copy the VNC extension into the xorg-server sources. - (copy-recursively #$(file-append %tigervnc-client-source - "/unix/xserver") - ".") - ;; Include a full copy of tigervnc-client sources, so that the - ;; complete sources involved are available and can be edited during - ;; the build. - (copy-recursively #$%tigervnc-client-source "tigervnc-client") - ;; Adjust the VNC extension build system files so that it refers - ;; to it. - (substitute* "hw/vnc/Makefile.am" - (("(TIGERVNC_SRCDIR=).*" _ head) - (string-append head "$(CURDIR)/../../tigervnc-client\n")) - (("(TIGERVNC_BUILDDIR=).*" _ head) - (string-append head - "$(CURDIR)/../../tigervnc-client/build\n"))) - ;; Ensure the Autotools build system gets re-bootstrapped. - (delete-file "configure"))) - ;; Patch the xorg-server build system so that it builds the VNC - ;; extension. - (patches (cons (file-append %tigervnc-client-source - "/unix/xserver21.patch") - (origin-patches (package-source xorg-server)))) - (file-name (string-append name "-" version ".tar.xz")))) - (arguments - (substitute-keyword-arguments - (package-arguments xorg-server) - ((#:tests? #f #f) - #f) - ((#:configure-flags flags) - #~(cons* "--with-pic" ; taken from BUILDING.txt - "--without-dtrace" - "--disable-static" - "--disable-dri2" - "--disable-xinerama" - "--disable-xvfb" - "--disable-xnest" - "--disable-xorg" - "--disable-dmx" - "--disable-xwin" - "--disable-xephyr" - "--disable-kdrive" - "--disable-config-hal" - "--disable-config-udev" - "--disable-dri2" - "--enable-glx" - (delete "--enable-xephyr" #$flags))) - ((#:modules modules) - `(append '((ice-9 ftw) - (ice-9 match) - (guix build utils) - (guix build gnu-build-system)) - modules)) - ((#:phases phases) - #~(modify-phases #$phases - (add-after 'unpack 'adjust-pam-config - (lambda _ - (substitute* "tigervnc-client/unix/vncserver/tigervnc.pam" - (("pam_systemd.so") - "pam_elogind.so")))) - (add-after 'unpack 'patch-paths - (lambda* (#:key inputs #:allow-other-keys) - (substitute* "tigervnc-client/unix/vncserver/vncserver.in" - (("`mcookie`") - (format #f "`~a`" (search-input-file inputs "bin/mcookie"))) - ;; Adjust the places where the vncserver script looks for - ;; X11 fonts. - (("'/usr/share/X11/fonts'" all) - (format #f "'~a', '~a', ~a" - "/run/current-system/profile/share/fonts/X11" - (string-append #$(this-package-input "font-alias") - "share/fonts/X11") - all)) - ;; Adjust the location where .desktop files will be saved. - (("/usr/share/xsessions") - "/run/current-system/profile/share/xsessions") - ;; Do not require a system-provided Xsession shell script. - ;; Guix System has none, causing the for loop to iterate - ;; over an empty list. - (("\"/etc/X11/xinit/Xsession\", \"/etc/X11/Xsession\"") - "()") - (("if \\(not defined \\$Xsession)") - "if (0)") - (("@cmd, \\$Xsession,") - "@cmd,")))) - (add-before 'build 'build-tigervnc - (lambda* (#:key parallel-build? #:allow-other-keys) - (mkdir-p "tigervnc-client/build") - (with-directory-excursion "tigervnc-client/build" - (invoke "cmake" "-G" "Unix Makefiles" - (string-append "-DCMAKE_INSTALL_PREFIX=" #$output) - "..") - (invoke "make" "-j" (number->string (if parallel-build? - (parallel-job-count) - 1)))))) - (replace 'build - (lambda* (#:key parallel-build? #:allow-other-keys) - (invoke "make" "-j" (number->string (if parallel-build? - (parallel-job-count) - 1))))) - (add-before 'install 'install-tigervnc-aux - (lambda _ - (invoke "make" "-C" "tigervnc-client/build/unix" "install"))) - (replace 'install - (lambda _ - (invoke "make" "install"))) - (add-after 'install 'wrap-vncserver - (lambda* (#:key inputs outputs #:allow-other-keys) - (wrap-script (search-input-file outputs "libexec/vncserver") - (list "PATH" 'prefix - (map (lambda (p) - (dirname (search-input-file inputs p))) - '("bin/uname" - "bin/xauth" - "bin/xinit")))))))))) - (native-inputs - (modify-inputs (append (package-native-inputs xorg-server) - (package-native-inputs tigervnc-client)) - (append %tigervnc-client-source - autoconf - automake - libtool - gettext-minimal - font-util - cmake-minimal - perl))) - (inputs - (modify-inputs (append (package-inputs xorg-server) - (package-inputs tigervnc-client)) - (prepend coreutils - font-alias - guile-3.0 - perl - util-linux - xauth - xinit))) - (propagated-inputs - (modify-inputs (package-propagated-inputs xorg-server) - (prepend xauth))) - (synopsis "High-performance VNC remote desktop server based on Xorg") - (description "TigerVNC implements a @acronym{VNC, Virtual Network Computing} -client and server. @dfn{VNC} is a remote display system that lets you view and -interact with a virtual desktop environment running on another computer on the -network. Client and server may be running on different operating systems and -architectures. - -TigerVNC uses a variant of Tight encoding that is greatly accelerated by the use -of the libjpeg-turbo JPEG codec and performs fast enough to run even 3D or video -applications. It also provides extensions for advanced authentication methods -and @acronym{TLS, Transport-Level Security} encryption. - -This package installs the VNC server. Permitted users can log into a graphical -session on the machine where the server is running, using a VNC client such as -the tigervnc-client package."))) - (define-public turbovnc (package (name "turbovnc") diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm index 58a4c758a4..e511423525 100644 --- a/gnu/packages/vpn.scm +++ b/gnu/packages/vpn.scm @@ -22,7 +22,7 @@ ;;; Copyright © 2022 Lu hui <luhux76@gmail.com> ;;; Copyright © 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2022 Jean-Pierre De Jesus DIAZ <me@jeandudey.tech> -;;; Copyright © 2022 Arun Isaac <arunisaac@systemreboot.net> +;;; Copyright © 2022, 2025 Arun Isaac <arunisaac@systemreboot.net> ;;; Copyright © 2024 Allan Adair <allan@adair.no> ;;; Copyright © 2025 Janneke Nieuwenhuizen <janneke@gnu.org> ;;; @@ -811,7 +811,7 @@ others.") python-attrs python-colorama python-keyring - python-lxml + python-lxml-4.9 python-prompt-toolkit python-requests python-pyqt diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index a9b5f732ab..8c1f887a29 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -6345,7 +6345,7 @@ developed as part of the NetSurf project.") "0750q884ax8wygl64wq03zdjj8h838ch3f8jdfkv4gz809zj4my3")))) (build-system gnu-build-system) (native-inputs - (list netsurf-buildsystem pkg-config gperf-3.0)) + (list netsurf-buildsystem pkg-config gperf)) (inputs (list libwapcaplet)) (propagated-inputs @@ -9694,6 +9694,7 @@ It contains the code shared by all Kiwix ports.") (build-system qt-build-system) (arguments (list + #:qtbase qtbase #:tests? #f ; no tests #:modules '((guix build qt-build-system) ((guix build gnu-build-system) #:prefix gnu:) @@ -9715,17 +9716,17 @@ It contains the code shared by all Kiwix ports.") libmicrohttpd libzim pugixml - qtbase-5 - qtdeclarative-5 - qtwebchannel-5 - qtwebengine-5 - qtwayland-5 + qtbase + qtdeclarative + qtwebchannel + qtwebengine + qtwayland xapian zlib `(,zstd "lib"))) (native-inputs (list pkg-config - qtbase-5)) + qtbase)) (home-page "https://wiki.kiwix.org/wiki/Software") (synopsis "Viewer and manager of ZIM files") (description "Kiwix Desktop allows you to enjoy a lot of different content diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 92f86c25f8..80adb463ec 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -2327,7 +2327,7 @@ corners, shadows, inactive window dimming, etc.") (define-public swaylock (package (name "swaylock") - (version "1.8.0") + (version "1.8.3") (source (origin (method git-fetch) @@ -2336,7 +2336,7 @@ corners, shadows, inactive window dimming, etc.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1n4m5nk2jj4f0p11760zdd51ncsb469d06hm0f5487v01p3igq6p")))) + (base32 "01zwlfpf3s8wd8gl2sjfch1z66mqx9n2plgbdang7plqc3r01474")))) (build-system meson-build-system) (inputs (append (if (%current-target-system) (list wayland-protocols) diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm index d1678fa2f8..4de513599d 100644 --- a/gnu/packages/xorg.scm +++ b/gnu/packages/xorg.scm @@ -14,17 +14,18 @@ ;;; Copyright © 2017-2022 Marius Bakke <marius@gnu.org> ;;; Copyright © 2017, 2018, 2019 Rutger Helling <rhelling@mykolab.com> ;;; Copyright © 2017, 2020 Arun Isaac <arunisaac@systemreboot.net> -;;; Copyright © 2018–2022 Tobias Geerinckx-Rice <me@tobias.gr> +;;; Copyright © 2018–2022, 2024 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2018 Kei Kebreau <kkebreau@posteo.net> ;;; Copyright © 2018, 2020, 2022 Oleg Pykhalov <go.wigust@gmail.com> ;;; Copyright © 2018 Benjamin Slade <slade@jnanam.net> ;;; Copyright © 2019 nee <nee@cock.li> ;;; Copyright © 2019 Yoshinori Arai <kumagusu08@gmail.com> ;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com> +;;; Copyright © 2019 Todor Kondić <tk.code@protonmail.com> ;;; Copyright © 2020 Liliana Marie Prikler <liliana.prikler@gmail.com> ;;; Copyright © 2020 Florian Pelz <pelzflorian@pelzflorian.de> ;;; Copyright © 2020, 2021 Michael Rohleder <mike@rohleder.de> -;;; Copyright © 2020, 2021, 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com> +;;; Copyright © 2020-2023, 2025 Maxim Cournoyer <maxim@guixotic.coop> ;;; Copyright © 2020 Jean-Baptiste Note <jean-baptiste.note@m4x.org> ;;; Copyright © 2021 Matthew James Kraai <kraai@ftbfs.org> ;;; Copyright © 2021 Nicolò Balzarotti <nicolo@nixo.xyz> @@ -65,6 +66,7 @@ #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) + #:use-module (guix build-system cmake) #:use-module (guix build-system copy) #:use-module (guix build-system gnu) #:use-module (guix build-system haskell) @@ -81,11 +83,13 @@ #:use-module (gnu packages bash) #:use-module (gnu packages bison) #:use-module (gnu packages check) + #:use-module (gnu packages cmake) #:use-module (gnu packages cups) #:use-module (gnu packages compression) #:use-module (gnu packages digest) #:use-module (gnu packages emacs) #:use-module (gnu packages flex) + #:use-module (gnu packages fltk) #:use-module (gnu packages fonts) #:use-module (gnu packages fontutils) #:use-module (gnu packages freedesktop) @@ -95,6 +99,7 @@ #:use-module (gnu packages gnupg) #:use-module (gnu packages gperf) #:use-module (gnu packages gtk) + #:use-module (gnu packages guile) #:use-module (gnu packages haskell) #:use-module (gnu packages haskell-apps) #:use-module (gnu packages haskell-check) @@ -108,6 +113,7 @@ #:use-module (gnu packages llvm) #:use-module (gnu packages m4) #:use-module (gnu packages ncurses) + #:use-module (gnu packages nettle) #:use-module (gnu packages onc-rpc) #:use-module (gnu packages pciutils) #:use-module (gnu packages perl) @@ -121,7 +127,9 @@ #:use-module (gnu packages python-xyz) #:use-module (gnu packages qt) #:use-module (gnu packages spice) + #:use-module (gnu packages tls) #:use-module (gnu packages video) + #:use-module (gnu packages vnc) #:use-module (gnu packages xiph) #:use-module (gnu packages xml) #:use-module (gnu packages xdisorg)) @@ -5363,6 +5371,250 @@ draggable titlebars and borders.") (package (inherit xorg-server)))) +;;; XXX: Not really at home, but unless we break the inheritance between +;;; tigervnc-server and xorg-server, it must live here to avoid cyclic module +;;; dependencies. +(define-public tigervnc-client + ;; The latest version doesn't build with GCC 14 when enabling ffmpeg + ;; support; pick the latest commit from the master branch. + (let ((commit "83e9c55d4c6a4a989d056a6ed9613bde74bcc50b") + (revision "0")) + (package + (name "tigervnc-client") + (version (git-version "1.15.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/TigerVNC/tigervnc") + (commit commit))) + (sha256 + (base32 "1gqa5lbin4qb2k6iapd4hjxk85byaj6zs8vx0az30i7v18jib1c6")) + (file-name (git-file-name name version)))) + (build-system cmake-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key parallel-tests? tests? #:allow-other-keys) + (when tests? + (invoke "ctest" "-j" (if parallel-tests? + (number->string (parallel-job-count)) + "1") + "--test-dir" "tests/unit/")))) + (replace 'install + (lambda _ + (with-directory-excursion "vncviewer" + (invoke "make" "install"))))))) + (native-inputs (list appstream gettext-minimal googletest)) + (inputs + (list ffmpeg + fltk-1.3 + gnutls + libjpeg-turbo + libx11 + libxdamage + libxext + libxrandr + libxtst + linux-pam + nettle + pixman + zlib)) + (home-page "https://tigervnc.org/") + (synopsis "High-performance VNC remote desktop client") + (description "TigerVNC implements a @acronym{VNC, Virtual Network Computing} +client and server. @dfn{VNC} is a remote display system that lets you view and +interact with a virtual desktop environment running on another computer on the +network. Client and server may be running on different operating systems and +architectures. + +TigerVNC uses a variant of Tight encoding that is greatly accelerated by the use +of the libjpeg-turbo JPEG codec and performs fast enough to run even 3D or video +applications. It also provides extensions for advanced authentication methods +and @acronym{TLS, Transport-Level Security} encryption. + +This package installs only the VNC client (@command{vncviewer}), the application +used to connect to VNC servers such as the tigervnc-server package.") + (license license:gpl2+)))) + +(define %tigervnc-client-source (package-source tigervnc-client)) + +;; A VNC server is, in fact, an X server so it seems like a good idea to build +;; on the work already done for xorg-server package. This is not entirely +;; compatible with the recommendation in BUILDING.txt where the client is +;; built first, then the source code of the X server is copied into a subdir +;; of the build directory, patched with VNC additions and then build and +;; installed as Xvnc. The procedure was turned around, where TigerVNC code is +;; downloaded and built inside the Guix X server build dir. Also, the VNC +;; patching process for the X server is automated in a straightforward manner. +(define-public tigervnc-server + (package + (inherit xorg-server) + (name "tigervnc-server") + (version (package-version tigervnc-client)) + (source + (origin + (inherit (package-source xorg-server)) + (modules '((guix build utils))) + (snippet + #~(begin + ;; Copy the VNC extension into the xorg-server sources. + (copy-recursively #$(file-append %tigervnc-client-source + "/unix/xserver") + ".") + ;; Include a full copy of tigervnc-client sources, so that the + ;; complete sources involved are available and can be edited during + ;; the build. + (copy-recursively #$%tigervnc-client-source "tigervnc-client") + ;; Adjust the VNC extension build system files so that it refers + ;; to it. + (substitute* "hw/vnc/Makefile.am" + (("(TIGERVNC_SRCDIR=).*" _ head) + (string-append head "$(CURDIR)/../../tigervnc-client\n")) + (("(TIGERVNC_BUILDDIR=).*" _ head) + (string-append head + "$(CURDIR)/../../tigervnc-client/build\n"))) + ;; Ensure the Autotools build system gets re-bootstrapped. + (delete-file "configure"))) + ;; Patch the xorg-server build system so that it builds the VNC + ;; extension. + (patches (cons (file-append %tigervnc-client-source + "/unix/xserver21.patch") + (origin-patches (package-source xorg-server)))) + (file-name (string-append name "-" version ".tar.xz")))) + (arguments + (substitute-keyword-arguments + (package-arguments xorg-server) + ((#:tests? #f #f) + #f) + ((#:configure-flags flags) + #~(cons* "--with-pic" ; taken from BUILDING.txt + "--without-dtrace" + "--disable-static" + "--disable-dri2" + "--disable-xinerama" + "--disable-xvfb" + "--disable-xnest" + "--disable-xorg" + "--disable-dmx" + "--disable-xwin" + "--disable-xephyr" + "--disable-kdrive" + "--disable-config-hal" + "--disable-config-udev" + "--disable-dri2" + "--enable-glx" + (delete "--enable-xephyr" #$flags))) + ((#:modules modules) + `(append '((ice-9 ftw) + (ice-9 match) + (guix build utils) + (guix build gnu-build-system)) + modules)) + ((#:phases phases) + #~(modify-phases #$phases + (add-after 'unpack 'adjust-pam-config + (lambda _ + (substitute* "tigervnc-client/unix/vncserver/tigervnc.pam" + (("pam_systemd.so") + "pam_elogind.so")))) + (add-after 'unpack 'patch-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "tigervnc-client/unix/vncserver/vncserver.in" + (("`mcookie`") + (format #f "`~a`" (search-input-file inputs "bin/mcookie"))) + ;; Adjust the places where the vncserver script looks for + ;; X11 fonts. + (("'/usr/share/X11/fonts'" all) + (format #f "'~a', '~a', ~a" + "/run/current-system/profile/share/fonts/X11" + (string-append #$(this-package-input "font-alias") + "share/fonts/X11") + all)) + ;; Adjust the location where .desktop files will be saved. + (("/usr/share/xsessions") + "/run/current-system/profile/share/xsessions") + ;; Do not require a system-provided Xsession shell script. + ;; Guix System has none, causing the for loop to iterate + ;; over an empty list. + (("\"/etc/X11/xinit/Xsession\", \"/etc/X11/Xsession\"") + "()") + (("if \\(not defined \\$Xsession)") + "if (0)") + (("@cmd, \\$Xsession,") + "@cmd,")))) + (add-before 'build 'build-tigervnc + (lambda* (#:key parallel-build? #:allow-other-keys) + (mkdir-p "tigervnc-client/build") + (with-directory-excursion "tigervnc-client/build" + (invoke "cmake" "-G" "Unix Makefiles" + (string-append "-DCMAKE_INSTALL_PREFIX=" #$output) + "..") + (invoke "make" "-j" (number->string (if parallel-build? + (parallel-job-count) + 1)))))) + (replace 'build + (lambda* (#:key parallel-build? #:allow-other-keys) + (invoke "make" "-j" (number->string (if parallel-build? + (parallel-job-count) + 1))))) + (add-before 'install 'install-tigervnc-aux + (lambda _ + (invoke "make" "-C" "tigervnc-client/build/unix" "install"))) + (replace 'install + (lambda _ + (invoke "make" "install"))) + (add-after 'install 'wrap-vncserver + (lambda* (#:key inputs outputs #:allow-other-keys) + (wrap-script (search-input-file outputs "libexec/vncserver") + (list "PATH" 'prefix + (map (lambda (p) + (dirname (search-input-file inputs p))) + '("bin/uname" + "bin/xauth" + "bin/xinit")))))))))) + (native-inputs + (modify-inputs (append (package-native-inputs xorg-server) + (package-native-inputs tigervnc-client)) + (append (package-source tigervnc-client) + autoconf + automake + libtool + gettext-minimal + font-util + cmake + perl))) + (inputs + (modify-inputs (append (package-inputs xorg-server) + (package-inputs tigervnc-client)) + (prepend coreutils + font-alias + guile-3.0 + perl + util-linux + xauth + xinit))) + (propagated-inputs + (modify-inputs (package-propagated-inputs xorg-server) + (prepend xauth))) + (synopsis "High-performance VNC remote desktop server based on Xorg") + (description "TigerVNC implements a @acronym{VNC, Virtual Network Computing} +client and server. @dfn{VNC} is a remote display system that lets you view and +interact with a virtual desktop environment running on another computer on the +network. Client and server may be running on different operating systems and +architectures. + +TigerVNC uses a variant of Tight encoding that is greatly accelerated by the use +of the libjpeg-turbo JPEG codec and performs fast enough to run even 3D or video +applications. It also provides extensions for advanced authentication methods +and @acronym{TLS, Transport-Level Security} encryption. + +This package installs the VNC server. Permitted users can log into a graphical +session on the machine where the server is running, using a VNC client such as +the tigervnc-client package."))) + (define-public eglexternalplatform (package (name "eglexternalplatform") diff --git a/gnu/services/linux.scm b/gnu/services/linux.scm index 80c35717a9..a0720f7073 100644 --- a/gnu/services/linux.scm +++ b/gnu/services/linux.scm @@ -705,6 +705,8 @@ placed in a udev rules file." (provision (list (string->symbol name))) ;; Make sure the homes are already present (requirement requirement) + (modules `((ice-9 match) + ,@%default-modules)) (stop #~(lambda args (match (quote #$policy) diff --git a/gnu/services/vnc.scm b/gnu/services/vnc.scm index 0b18830d2b..2cfa4d90e5 100644 --- a/gnu/services/vnc.scm +++ b/gnu/services/vnc.scm @@ -19,6 +19,7 @@ (define-module (gnu services vnc) #:use-module (gnu packages admin) #:use-module (gnu packages vnc) + #:use-module (gnu packages xorg) #:use-module ((gnu services) #:hide (delete)) #:use-module (gnu system shadow) #:use-module (gnu services configuration) diff --git a/guix/lint.scm b/guix/lint.scm index f09fb24347..2033aa36f1 100644 --- a/guix/lint.scm +++ b/guix/lint.scm @@ -8,7 +8,7 @@ ;;; Copyright © 2017 Alex Kost <alezost@gmail.com> ;;; Copyright © 2017, 2021 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2017, 2018, 2020, 2024, 2025 Efraim Flashner <efraim@flashner.co.il> -;;; Copyright © 2018, 2019 Arun Isaac <arunisaac@systemreboot.net> +;;; Copyright © 2018, 2019, 2025 Arun Isaac <arunisaac@systemreboot.net> ;;; Copyright © 2020 Chris Marusich <cmmarusich@gmail.com> ;;; Copyright © 2020 Timothy Sample <samplet@ngyro.com> ;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz> @@ -640,7 +640,7 @@ of a package, and INPUT-NAMES, a list of package specifications such as (map (lambda (input) (make-warning package - (G_ "'~a' should probably switched for its minimal variant") + (G_ "'~a' should probably be switched for its minimal variant") (list input) #:field 'inputs)) (package-input-intersection (package-direct-inputs package) diff --git a/po/packages/POTFILES.in b/po/packages/POTFILES.in index 4775986c57..c2a6894846 100644 --- a/po/packages/POTFILES.in +++ b/po/packages/POTFILES.in @@ -1,58 +1,609 @@ # List of source files which contain translatable strings. These should be # only package modules (currently it's only a subset of them, but eventually # all of them should be listed here.) Strings of the tools are in 'po/guix'. +gnu/packages/abduco.scm gnu/packages/abiword.scm +gnu/packages/accessibility.scm +gnu/packages/acct.scm +gnu/packages/acl.scm +gnu/packages/ada.scm +gnu/packages/admin.scm +gnu/packages/adns.scm +gnu/packages/agda.scm +gnu/packages/aidc.scm +gnu/packages/algebra.scm +gnu/packages/android.scm +gnu/packages/animation.scm +gnu/packages/anthy.scm +gnu/packages/antivirus.scm +gnu/packages/apl.scm +gnu/packages/apparmor.scm +gnu/packages/appimage.scm +gnu/packages/apple.scm +gnu/packages/apr.scm +gnu/packages/arcan.scm gnu/packages/aspell.scm +gnu/packages/assembly.scm +gnu/packages/astronomy.scm +gnu/packages/attr.scm gnu/packages/audio.scm +gnu/packages/augeas.scm +gnu/packages/authentication.scm +gnu/packages/autogen.scm +gnu/packages/autotools.scm +gnu/packages/avahi.scm +gnu/packages/avr-xyz.scm +gnu/packages/avr.scm +gnu/packages/axoloti.scm gnu/packages/backup.scm +gnu/packages/barrier.scm gnu/packages/base.scm +gnu/packages/bash.scm +gnu/packages/batik.scm +gnu/packages/bdw-gc.scm +gnu/packages/benchmark.scm +gnu/packages/bioconductor.scm +gnu/packages/bioinformatics.scm +gnu/packages/bison.scm gnu/packages/bittorrent.scm +gnu/packages/books.scm +gnu/packages/boost.scm +gnu/packages/bootloaders.scm +gnu/packages/bqn.scm +gnu/packages/browser-extensions.scm +gnu/packages/build-tools.scm +gnu/packages/busybox.scm +gnu/packages/c.scm +gnu/packages/c2rust.scm +gnu/packages/calcurse.scm +gnu/packages/calendar.scm +gnu/packages/ccache.scm +gnu/packages/cdrom.scm +gnu/packages/cedille.scm gnu/packages/certs.scm +gnu/packages/check.scm +gnu/packages/chemistry.scm +gnu/packages/chez.scm +gnu/packages/chicken.scm +gnu/packages/chromium.scm +gnu/packages/ci.scm +gnu/packages/cinnamon.scm +gnu/packages/clifm.scm +gnu/packages/clojure.scm +gnu/packages/cluster.scm +gnu/packages/cmake.scm +gnu/packages/cobol.scm +gnu/packages/code.scm +gnu/packages/commencement.scm gnu/packages/compression.scm +gnu/packages/compton.scm +gnu/packages/configuration-management.scm +gnu/packages/conky.scm +gnu/packages/connman.scm +gnu/packages/containers.scm +gnu/packages/convmv.scm +gnu/packages/cook.scm +gnu/packages/coq.scm +gnu/packages/cpio.scm +gnu/packages/cpp.scm +gnu/packages/cppi.scm +gnu/packages/cran.scm +gnu/packages/crates-apple.scm +gnu/packages/crates-audio.scm +gnu/packages/crates-check.scm +gnu/packages/crates-compression.scm +gnu/packages/crates-crypto.scm +gnu/packages/crates-database.scm +gnu/packages/crates-graphics.scm +gnu/packages/crates-gtk.scm +gnu/packages/crates-io.scm +gnu/packages/crates-shell.scm +gnu/packages/crates-tls.scm +gnu/packages/crates-vcs.scm +gnu/packages/crates-web.scm +gnu/packages/crates-windows.scm +gnu/packages/cross-base.scm +gnu/packages/cross-toolchain.scm +gnu/packages/crypto.scm +gnu/packages/cryptsetup.scm +gnu/packages/cups.scm +gnu/packages/curl.scm +gnu/packages/cvassistant.scm +gnu/packages/cybersecurity.scm +gnu/packages/cyrus-sasl.scm +gnu/packages/darwin.scm +gnu/packages/data-language.scm gnu/packages/databases.scm +gnu/packages/datamash.scm +gnu/packages/datastructures.scm +gnu/packages/dav.scm +gnu/packages/dbm.scm +gnu/packages/dc.scm +gnu/packages/debian.scm gnu/packages/debug.scm +gnu/packages/decker.scm gnu/packages/dejagnu.scm +gnu/packages/dezyne.scm +gnu/packages/dhall.scm +gnu/packages/dico.scm +gnu/packages/dictd.scm +gnu/packages/dictionaries.scm +gnu/packages/diffoscope.scm +gnu/packages/digest.scm +gnu/packages/direct-connect.scm +gnu/packages/disk.scm +gnu/packages/display-managers.scm +gnu/packages/distributed.scm +gnu/packages/django.scm +gnu/packages/djvu.scm +gnu/packages/dlang.scm +gnu/packages/dns.scm +gnu/packages/docbook.scm +gnu/packages/docker.scm +gnu/packages/documentation.scm +gnu/packages/dotnet.scm +gnu/packages/dpdk.scm +gnu/packages/dvtm.scm +gnu/packages/easyrpg.scm +gnu/packages/ebook.scm +gnu/packages/education.scm +gnu/packages/efi.scm +gnu/packages/electronics.scm +gnu/packages/elf.scm +gnu/packages/elixir-xyz.scm +gnu/packages/elixir.scm +gnu/packages/elm.scm +gnu/packages/emacs-build.scm +gnu/packages/emacs-xyz.scm +gnu/packages/emacs.scm +gnu/packages/embedded.scm +gnu/packages/emulators.scm +gnu/packages/enchant.scm +gnu/packages/engineering.scm +gnu/packages/enlightenment.scm +gnu/packages/entr.scm +gnu/packages/erlang-xyz.scm +gnu/packages/erlang.scm +gnu/packages/esolangs.scm +gnu/packages/fabric-management.scm +gnu/packages/fcitx.scm +gnu/packages/fcitx5.scm +gnu/packages/fediverse.scm +gnu/packages/figlet.scm +gnu/packages/file-systems.scm +gnu/packages/file.scm +gnu/packages/finance.scm +gnu/packages/firmware.scm +gnu/packages/flashing-tools.scm +gnu/packages/flex.scm +gnu/packages/fltk.scm +gnu/packages/fonts.scm +gnu/packages/fontutils.scm +gnu/packages/forth.scm +gnu/packages/fortran-check.scm +gnu/packages/fortran-xyz.scm +gnu/packages/fpga.scm +gnu/packages/freedesktop.scm +gnu/packages/freeipmi.scm +gnu/packages/fribidi.scm +gnu/packages/fsf.scm +gnu/packages/ftp.scm +gnu/packages/fvwm.scm +gnu/packages/gambas.scm gnu/packages/games.scm +gnu/packages/gawk.scm gnu/packages/gcc.scm +gnu/packages/gd.scm +gnu/packages/gdb.scm +gnu/packages/genimage.scm gnu/packages/gettext.scm -gnu/packages/gimp.scm +gnu/packages/gkrellm.scm +gnu/packages/gnome-xyz.scm gnu/packages/gnome.scm -gnu/packages/gnuzilla.scm -gnu/packages/gtk.scm -gnu/packages/guile.scm +gnu/packages/gnu-doc.scm +gnu/packages/gnucash.scm +gnu/packages/gnupg.scm +gnu/packages/gnustep.scm +gnu/packages/gobby.scm +gnu/packages/golang-crypto.scm +gnu/packages/golang-maths.scm +gnu/packages/golang-xyz.scm +gnu/packages/golang.scm +gnu/packages/gpodder.scm +gnu/packages/gps.scm +gnu/packages/graph.scm +gnu/packages/graphics.scm +gnu/packages/graphviz.scm +gnu/packages/groovy.scm +gnu/packages/gsasl.scm +gnu/packages/gstreamer.scm +gnu/packages/guile-wm.scm +gnu/packages/gv.scm +gnu/packages/haskell-check.scm +gnu/packages/haskell-crypto.scm +gnu/packages/haskell-web.scm +gnu/packages/haskell-xyz.scm +gnu/packages/haskell.scm +gnu/packages/haxe.scm +gnu/packages/heads.scm +gnu/packages/hexedit.scm +gnu/packages/high-availability.scm +gnu/packages/hugs.scm +gnu/packages/hurd.scm +gnu/packages/i2p.scm +gnu/packages/ibus.scm gnu/packages/imagemagick.scm -gnu/packages/image.scm -gnu/packages/image-viewers.scm -gnu/packages/inkscape.scm +gnu/packages/inferno.scm +gnu/packages/inklingreader.scm +gnu/packages/installers.scm +gnu/packages/instrumentation.scm +gnu/packages/irods.scm +gnu/packages/jami.scm +gnu/packages/java-maths.scm +gnu/packages/java.scm gnu/packages/jemalloc.scm +gnu/packages/jose.scm +gnu/packages/julia-xyz.scm +gnu/packages/julia.scm +gnu/packages/kde-internet.scm +gnu/packages/kde-multimedia.scm +gnu/packages/kde-pim.scm +gnu/packages/kde-plasma.scm +gnu/packages/kde.scm +gnu/packages/kerberos.scm +gnu/packages/kodi.scm +gnu/packages/language.scm +gnu/packages/lean.scm +gnu/packages/lego.scm gnu/packages/less.scm gnu/packages/lesstif.scm +gnu/packages/libdaemon.scm +gnu/packages/libevent.scm +gnu/packages/libffcall.scm +gnu/packages/libidn.scm gnu/packages/libreoffice.scm +gnu/packages/libsigsegv.scm +gnu/packages/libunistring.scm +gnu/packages/libunwind.scm +gnu/packages/license.scm +gnu/packages/linphone.scm gnu/packages/linux.scm +gnu/packages/lirc.scm +gnu/packages/lisp.scm +gnu/packages/llvm.scm gnu/packages/lout.scm -gnu/packages/messaging.scm +gnu/packages/lsof.scm +gnu/packages/lua.scm +gnu/packages/lxqt.scm +gnu/packages/m4.scm +gnu/packages/machine-learning.scm +gnu/packages/magic-wormhole.scm +gnu/packages/mail.scm +gnu/packages/markup.scm +gnu/packages/maven.scm +gnu/packages/mc.scm +gnu/packages/mcrypt.scm +gnu/packages/microcom.scm +gnu/packages/minetest.scm +gnu/packages/monitoring.scm +gnu/packages/moreutils.scm +gnu/packages/motti.scm gnu/packages/mpd.scm +gnu/packages/mpi.scm +gnu/packages/multiprecision.scm +gnu/packages/myrddin.scm +gnu/packages/ncurses.scm gnu/packages/netpbm.scm gnu/packages/nettle.scm -gnu/packages/networking.scm +gnu/packages/nfs.scm +gnu/packages/nicotine.scm +gnu/packages/ninja.scm +gnu/packages/nss.scm +gnu/packages/ntp.scm +gnu/packages/nutrition.scm +gnu/packages/nvi.scm +gnu/packages/nx.scm +gnu/packages/opencl.scm +gnu/packages/openkinect.scm +gnu/packages/openpgp.scm +gnu/packages/orange.scm +gnu/packages/ots.scm +gnu/packages/pascal.scm +gnu/packages/password-utils.scm +gnu/packages/patchutils.scm +gnu/packages/patool.scm gnu/packages/pdf.scm gnu/packages/pem.scm +gnu/packages/pep.scm +gnu/packages/perl-check.scm +gnu/packages/perl-maths.scm +gnu/packages/perl-web.scm gnu/packages/perl.scm gnu/packages/photo.scm +gnu/packages/php-xyz.scm +gnu/packages/piet.scm +gnu/packages/plan9.scm +gnu/packages/poedit.scm +gnu/packages/polkit.scm +gnu/packages/popt.scm +gnu/packages/pretty-print.scm +gnu/packages/printers.scm +gnu/packages/profiling.scm +gnu/packages/prometheus.scm +gnu/packages/pth.scm +gnu/packages/pure.scm +gnu/packages/pv.scm +gnu/packages/pypy.scm +gnu/packages/python-build.scm +gnu/packages/python-crypto.scm +gnu/packages/python-graphics.scm +gnu/packages/python-science.scm +gnu/packages/python.scm +gnu/packages/rails.scm gnu/packages/ratpoison.scm +gnu/packages/rcm.scm +gnu/packages/rdesktop.scm gnu/packages/readline.scm +gnu/packages/rednotebook.scm +gnu/packages/regex.scm +gnu/packages/robotics.scm +gnu/packages/rocm.scm +gnu/packages/rpc.scm +gnu/packages/rpm.scm +gnu/packages/rrdtool.scm +gnu/packages/ruby-xyz.scm +gnu/packages/rust-apps.scm +gnu/packages/sagemath.scm +gnu/packages/sawfish.scm gnu/packages/scanner.scm gnu/packages/scheme.scm -gnu/packages/search.scm -gnu/packages/serveez.scm -gnu/packages/shells.scm +gnu/packages/screen.scm +gnu/packages/scsi.scm +gnu/packages/security-token.scm +gnu/packages/serialization.scm +gnu/packages/shellutils.scm +gnu/packages/skribilo.scm +gnu/packages/spice.scm +gnu/packages/sssd.scm +gnu/packages/storage.scm +gnu/packages/sugar.scm +gnu/packages/sync.scm +gnu/packages/syncthing.scm +gnu/packages/tcl.scm +gnu/packages/telegram.scm gnu/packages/telephony.scm +gnu/packages/terraform.scm gnu/packages/tex.scm gnu/packages/texinfo.scm +gnu/packages/text-editors.scm +gnu/packages/tls.scm +gnu/packages/tor.scm +gnu/packages/toys.scm +gnu/packages/tree-sitter.scm +gnu/packages/tryton.scm +gnu/packages/uglifyjs.scm +gnu/packages/uml.scm +gnu/packages/unicode.scm +gnu/packages/unrtf.scm +gnu/packages/uucp.scm +gnu/packages/valgrind.scm +gnu/packages/vim.scm +gnu/packages/vpn.scm +gnu/packages/game-development.scm +gnu/packages/gcal.scm +gnu/packages/genealogy.scm +gnu/packages/geo.scm +gnu/packages/ghostscript.scm +gnu/packages/gimp.scm +gnu/packages/gl.scm +gnu/packages/glib.scm +gnu/packages/gnu-pw-mgr.scm +gnu/packages/gnunet.scm +gnu/packages/gnuzilla.scm +gnu/packages/golang-apps.scm +gnu/packages/golang-build.scm +gnu/packages/golang-check.scm +gnu/packages/golang-compression.scm +gnu/packages/golang-vcs.scm +gnu/packages/golang-web.scm +gnu/packages/gperf.scm +gnu/packages/groff.scm +gnu/packages/gtk.scm +gnu/packages/guile-xyz.scm +gnu/packages/guile.scm +gnu/packages/gxmessage.scm +gnu/packages/hardware.scm +gnu/packages/haskell-apps.scm +gnu/packages/hunspell.scm +gnu/packages/hyperledger.scm +gnu/packages/icu4c.scm +gnu/packages/idris.scm +gnu/packages/idutils.scm +gnu/packages/image-processing.scm +gnu/packages/image-viewers.scm +gnu/packages/image.scm +gnu/packages/inkscape.scm +gnu/packages/ipfs.scm +gnu/packages/irc.scm +gnu/packages/iso-codes.scm +gnu/packages/java-bootstrap.scm +gnu/packages/java-compression.scm +gnu/packages/java-graphics.scm +gnu/packages/java-rdf.scm +gnu/packages/java-xml.scm +gnu/packages/javascript.scm +gnu/packages/julia-jll.scm +gnu/packages/jupyter.scm +gnu/packages/kawa.scm +gnu/packages/kde-frameworks.scm +gnu/packages/kde-games.scm +gnu/packages/kde-office.scm +gnu/packages/kde-systemtools.scm +gnu/packages/kde-utils.scm +gnu/packages/lc0.scm +gnu/packages/ld-wrapper.in +gnu/packages/libbsd.scm +gnu/packages/libcanberra.scm +gnu/packages/libedit.scm +gnu/packages/libffi.scm +gnu/packages/libftdi.scm +gnu/packages/libphidget.scm +gnu/packages/librewolf.scm +gnu/packages/libusb.scm +gnu/packages/lighting.scm +gnu/packages/lisp-check.scm +gnu/packages/lisp-xyz.scm +gnu/packages/llvm-meta.scm +gnu/packages/logging.scm +gnu/packages/logo.scm +gnu/packages/luanti.scm +gnu/packages/lxde.scm +gnu/packages/make-bootstrap.scm +gnu/packages/man.scm +gnu/packages/marst.scm +gnu/packages/mate.scm +gnu/packages/maths.scm +gnu/packages/matrix.scm +gnu/packages/maven-parent-pom.scm +gnu/packages/medical.scm +gnu/packages/mercury.scm +gnu/packages/mes.scm +gnu/packages/messaging.scm +gnu/packages/mingw.scm +gnu/packages/moe.scm +gnu/packages/mold.scm +gnu/packages/mp3.scm +gnu/packages/mtools.scm +gnu/packages/music.scm +gnu/packages/musl.scm +gnu/packages/ncdu.scm +gnu/packages/networking.scm +gnu/packages/nickle.scm +gnu/packages/nim.scm +gnu/packages/node-xyz.scm +gnu/packages/node.scm +gnu/packages/notcurses.scm +gnu/packages/noweb.scm +gnu/packages/nushell.scm +gnu/packages/ocaml.scm +gnu/packages/ocr.scm +gnu/packages/onc-rpc.scm +gnu/packages/openbox.scm +gnu/packages/opencog.scm +gnu/packages/openldap.scm +gnu/packages/openstack.scm +gnu/packages/orpheus.scm +gnu/packages/package-management.scm +gnu/packages/pantheon.scm +gnu/packages/parallel.scm +gnu/packages/pciutils.scm +gnu/packages/pcre.scm +gnu/packages/perl-compression.scm +gnu/packages/perl6.scm +gnu/packages/phabricator.scm +gnu/packages/php.scm +gnu/packages/pikchr.scm +gnu/packages/pkg-config.scm +gnu/packages/plotutils.scm +gnu/packages/postmarketos.scm +gnu/packages/potassco.scm +gnu/packages/power.scm +gnu/packages/presentation.scm +gnu/packages/prolog.scm +gnu/packages/protobuf.scm +gnu/packages/pulseaudio.scm +gnu/packages/pumpio.scm +gnu/packages/purescript.scm +gnu/packages/python-check.scm +gnu/packages/python-compression.scm +gnu/packages/python-web.scm +gnu/packages/python-xyz.scm +gnu/packages/qt.scm +gnu/packages/quantum.scm +gnu/packages/racket.scm +gnu/packages/radio.scm +gnu/packages/ragel.scm +gnu/packages/raspberry-pi.scm +gnu/packages/rdf.scm +gnu/packages/re2c.scm +gnu/packages/rsync.scm +gnu/packages/ruby-check.scm +gnu/packages/ruby.scm +gnu/packages/rush.scm +gnu/packages/rust.scm +gnu/packages/samba.scm +gnu/packages/scribus.scm +gnu/packages/sdl.scm +gnu/packages/search.scm +gnu/packages/selinux.scm +gnu/packages/sequoia.scm +gnu/packages/serveez.scm +gnu/packages/shells.scm +gnu/packages/simh.scm +gnu/packages/simulation.scm +gnu/packages/skarnet.scm +gnu/packages/slang.scm +gnu/packages/smalltalk.scm +gnu/packages/sml.scm +gnu/packages/solidity.scm +gnu/packages/sourcehut.scm +gnu/packages/specifications.scm +gnu/packages/speech.scm +gnu/packages/sphinx.scm +gnu/packages/spreadsheet.scm +gnu/packages/sqlite.scm +gnu/packages/squirrel.scm +gnu/packages/ssh.scm +gnu/packages/statistics.scm +gnu/packages/stb.scm +gnu/packages/stenography.scm +gnu/packages/suckless.scm +gnu/packages/swig.scm +gnu/packages/sycl.scm +gnu/packages/syndication.scm +gnu/packages/synergy.scm +gnu/packages/task-management.scm +gnu/packages/task-runners.scm +gnu/packages/tbb.scm +gnu/packages/terminals.scm +gnu/packages/texlive.scm gnu/packages/textutils.scm +gnu/packages/time.scm +gnu/packages/tmux.scm +gnu/packages/toolkits.scm +gnu/packages/tor-browsers.scm +gnu/packages/tv.scm +gnu/packages/upnp.scm +gnu/packages/usb-modeswitch.scm gnu/packages/version-control.scm -gnu/packages/virtualization.scm -gnu/packages/webkit.scm -gnu/packages/web.scm +gnu/packages/video.scm +gnu/packages/vlang.scm +gnu/packages/vnc.scm +gnu/packages/w3m.scm +gnu/packages/wdiff.scm +gnu/packages/weather.scm +gnu/packages/wm.scm gnu/packages/wordnet.scm +gnu/packages/vulkan.scm +gnu/packages/web-browsers.scm +gnu/packages/web.scm +gnu/packages/webkit.scm +gnu/packages/wireservice.scm +gnu/packages/xfce.scm +gnu/packages/xml.scm +gnu/packages/zwave.scm gnu/packages/xiph.scm +gnu/packages/zig.scm +gnu/packages/virtualization.scm +gnu/packages/wget.scm +gnu/packages/wine.scm +gnu/packages/wv.scm +gnu/packages/xdisorg.scm +gnu/packages/zig-xyz.scm +gnu/packages/zile.scm +gnu/packages/fluidplug.scm +gnu/packages/oyacc.scm +gnu/packages/wxwidgets.scm +gnu/packages/xfig.scm +gnu/packages/xnee.scm +gnu/packages/xorg.scm |