Archived
1
0
Fork 0

gnu: at-spi2-atk: Update to 2.38.0.

* gnu/packages/gtk.scm (at-spi2-atk) [version]: Update to 2.38.0
[arguments]<#:glib-or-gtk?>: New argument.
[native-inputs]: Add gobject-introspection.
[inputs]: Add glib.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
This commit is contained in:
Raghav Gururajan 2021-03-26 10:13:08 -04:00
parent e2e527f0b4
commit a14de3946c
No known key found for this signature in database
GPG key ID: 45A8B1E86BCD10A6

View file

@ -783,42 +783,44 @@ is part of the GNOME accessibility project.")
(define-public at-spi2-atk (define-public at-spi2-atk
(package (package
(name "at-spi2-atk") (name "at-spi2-atk")
(version "2.34.1") (version "2.38.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
"05ncp7s5nddjinffs26mcvpbd63vk1m3cv5y530p3plgfhqgjvbp")))) "0ks6r9sx27l80n3a7yjmkilxv48cqj183wc7cap3caw2myjhi86g"))))
(build-system meson-build-system) (build-system meson-build-system)
(arguments (arguments
'(#:phases `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
(modify-phases %standard-phases #:phases
(replace 'check (modify-phases %standard-phases
;; Run test-suite under a dbus session. (replace 'check
(lambda _ ;; Run test-suite under a dbus session.
(setenv "DBUS_FATAL_WARNINGS" "0") (lambda _
(invoke "dbus-launch" "meson" "test")))))) (setenv "DBUS_FATAL_WARNINGS" "0")
(propagated-inputs (invoke "dbus-launch" "meson" "test"))))))
;; TODO: Replace by at-spi2-core-minimal in the next staging window, or (propagated-inputs
;; when Inkscape 0.92 is upgraded to 1.0 to avoid a cycle. ;; TODO: Replace by at-spi2-core-minimal in the next staging window, or
`(("at-spi2-core" ,at-spi2-core))) ; required by atk-bridge-2.0.pc ;; when Inkscape 0.92 is upgraded to 1.0 to avoid a cycle.
(inputs `(("at-spi2-core" ,at-spi2-core))) ; required by atk-bridge-2.0.pc
`(("atk" ,atk))) (inputs
(native-inputs `(("atk" ,atk)
`(("pkg-config" ,pkg-config) ("glib" ,glib)))
;; For tests. (native-inputs
("dbus" ,dbus) `(("dbus" ,dbus) ; For tests
("libxml2" ,libxml2))) ("gobject-introspection" ,gobject-introspection)
(synopsis "Assistive Technology Service Provider Interface, ATK bindings") ("libxml2" ,libxml2)
(description ("pkg-config" ,pkg-config)))
"The Assistive Technology Service Provider Interface (synopsis "Assistive Technology Service Provider Interface, ATK bindings")
(description
"The Assistive Technology Service Provider Interface
is part of the GNOME accessibility project.") is part of the GNOME accessibility project.")
(license license:lgpl2.0+) (license license:lgpl2.0+)
(home-page "https://projects.gnome.org/accessibility/"))) (home-page "https://projects.gnome.org/accessibility/")))
(define-public gtk+-2 (define-public gtk+-2
(package (package