gnu: phodav: Update to 3.0.

* gnu/packages/gnome.scm (phodav): Update to 3.0.
[native-inputs]: Remove labels.
[inputs]: Replace libsoup-minimal-2 with libsoup.
This commit is contained in:
Maxim Cournoyer 2022-09-08 16:56:35 -04:00
parent c0e51f87d8
commit 776b59df4e
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -1183,46 +1183,48 @@ Library reference documentation.")
(define-public phodav (define-public phodav
(package (package
(name "phodav") (name "phodav")
(version "2.5") (version "3.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/" (uri (string-append "mirror://gnome/sources/" name "/"
(version-major+minor version) "/" (version-major+minor version) "/"
name "-" version ".tar.xz")) name "-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"045rdzf8isqmzix12lkz6z073b5qvcqq6ad028advm5gf36skw3i")))) "1l9qs70yvwi9r8ph081mrsdy412kk0m9l9pgy77hsc2hdp8c4bir"))))
(build-system meson-build-system) (build-system meson-build-system)
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'fix-udev-rules-directory (add-after 'unpack 'fix-udev-rules-directory
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")) (let* ((out (assoc-ref outputs "out"))
(rules (string-append out "/lib/udev/rules.d"))) (rules (string-append out "/lib/udev/rules.d")))
(substitute* "data/meson.build" (substitute* "data/meson.build"
(("udev\\.get_pkgconfig_variable\\('udevdir'\\)") (("udev\\.get_pkgconfig_variable\\('udevdir'\\)")
(format #f "'~a'" rules)))))) (format #f "'~a'" rules))))))
(add-before 'check 'set-temporary-home (add-before 'check 'set-temporary-home
;; Tests want to write into HOME. ;; Tests want to write into HOME.
(lambda _ (lambda _
(setenv "HOME" "/tmp")))))) (setenv "HOME" "/tmp"))))))
(native-inputs (native-inputs
`(("docbook-xml" ,docbook-xml-4.3) (list docbook-xml-4.3
("gettext" ,gettext-minimal) gettext-minimal
("glib:bin" ,glib "bin") `(,glib "bin")
("gsettings-desktop-schemas" ,gsettings-desktop-schemas) gsettings-desktop-schemas
("gtk-doc" ,gtk-doc/stable) gtk-doc/stable
("pkg-config" ,pkg-config))) pkg-config))
(inputs (inputs
(list avahi libgudev libsoup-minimal-2)) (list avahi
(synopsis "WebDav server implementation using libsoup") libgudev
(description "PhoDav was initially developed as a file-sharing mechanism for Spice, libsoup))
(synopsis "WebDav server implementation using libsoup")
(description "PhoDav was initially developed as a file-sharing mechanism for Spice,
but it is generic enough to be reused in other projects, but it is generic enough to be reused in other projects,
in particular in the GNOME desktop.") in particular in the GNOME desktop.")
(home-page "https://wiki.gnome.org/phodav") (home-page "https://wiki.gnome.org/phodav")
(license license:lgpl2.1+))) (license license:lgpl2.1+)))
(define-public gnome-color-manager (define-public gnome-color-manager
(package (package