gnu: gnome-terminal: Update to 3.44.1.

* gnu/packages/gnome.scm (gnome-terminal): Update to 3.44.1.
[build-system]: Use meson-build-system.
[configure-flags]: Remove argument.
[glib-or-gtk?]: New argument.
[phases]{patch-/bin/true}: Delete phase.
{patch-build-system}: New phase.
[native-inputs]: Delete labels and sort.  Replace intltool with
gettext-minimal.  Add python.
[inputs]: Sort.  Add gnome-shell and nautilus.
This commit is contained in:
Maxim Cournoyer 2022-09-05 21:43:13 -04:00
parent e50781c1a3
commit 4f99135131
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -5314,7 +5314,7 @@ (define-public gnome-sudoku
(define-public gnome-terminal (define-public gnome-terminal
(package (package
(name "gnome-terminal") (name "gnome-terminal")
(version "3.40.3") (version "3.44.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -5323,35 +5323,46 @@ (define-public gnome-terminal
name "-" version ".tar.xz")) name "-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"08hsic7sn32xw12i3j0ard2bhfhp8gmzqm0pa8xzl5l1jhzsmsfb")))) "0yykb64yi1h0g65q890jf5awjr2sdvfda4xbxnmajcgj3zp20vzv"))))
(build-system glib-or-gtk-build-system) (build-system meson-build-system)
(arguments (arguments
'(#:configure-flags (list
(list "--disable-migration" "--disable-search-provider" #:glib-or-gtk? #t
"--without-nautilus-extension") #:phases
#:phases #~(modify-phases %standard-phases
(modify-phases %standard-phases (add-after 'unpack 'patch-build-system
(add-before 'configure 'patch-/bin/true ;; The build system looks for a dbus file from gnome-shell in the
(lambda _ ;; installation tree of teh package it is configuring...
(substitute* "configure" (lambda* (#:key inputs #:allow-other-keys)
(("/bin/true") (which "true")))))))) (substitute* "src/meson.build"
(("gt_prefix.*'org.gnome.ShellSearchProvider2.xml'")
(format #f "'~a'" (search-input-file
inputs "share/dbus-1/interfaces/\
org.gnome.ShellSearchProvider2.xml"))))))
(add-before 'install 'disable-gtk-update-icon-cache
(lambda _
(setenv "DESTDIR" "/"))))))
(native-inputs (native-inputs
`(("docbook-xsl" ,docbook-xsl) (list desktop-file-utils
("pkg-config" ,pkg-config) docbook-xsl
("desktop-file-utils" ,desktop-file-utils) gettext-minimal
("intltool" ,intltool) `(,glib "bin")
("itstool" ,itstool) itstool
("libxslt" ,libxslt) libxml2
("xmllint" ,libxml2))) libxslt
pkg-config
python))
(propagated-inputs (propagated-inputs
(list dconf)) (list dconf))
(inputs (inputs
(list gtk+ (list gnome-shell
vte
gnutls gnutls
gsettings-desktop-schemas gsettings-desktop-schemas
gtk+
nautilus ;for extension
`(,util-linux "lib") `(,util-linux "lib")
vala)) vala
vte))
(home-page "https://wiki.gnome.org/Apps/Terminal") (home-page "https://wiki.gnome.org/Apps/Terminal")
(synopsis "Terminal emulator") (synopsis "Terminal emulator")
(description (description