gnu: gtranslator: Update to 42.0.

* gnu/packages/gnome.scm (gtranslator): Update to 42.0.  Move input fields
after arguments.
[build-type]: Add comment.
[native-inputs]: Remove labels.
[propagated-inputs]: Replace gtksourceview with gtksourceview-4.
[inputs]: Remove labels.  Remove libdazzle and gtk+.  Replace glib with glib-next.
Replace libsoup-minimal-2 with libsoup.  Add pango-next.
This commit is contained in:
Maxim Cournoyer 2022-09-08 15:26:07 -04:00
parent 7ad9360bd6
commit 68e3592f5d
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -12754,44 +12754,43 @@ (define-public libgda
(define-public gtranslator
(package
(name "gtranslator")
(version "40.0")
(source (origin
(version "42.0")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/"
(version-major version) "/"
name "-" version ".tar.xz"))
(sha256
(base32
"0d48nc11z0m91scy21ah56ysxns82zvswx8lglvlkig1vqvblgpc"))))
"0fzi48s3wz9mf6c1ndpkby83bgshgn2116nqjq31n1j3wszvqrra"))))
(build-system meson-build-system)
(inputs
`(("json-glib" ,json-glib)
("jsonrpc-glib" ,jsonrpc-glib)
("gettext" ,gettext-minimal)
("glib" ,glib)
("gtk+" ,gtk+)
("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
("gspell" ,gspell)
("libdazzle" ,libdazzle)
("libgda" ,libgda)
("libhandy" ,libhandy)
("libsoup" ,libsoup-minimal-2)))
(native-inputs
`(("glib:bin" ,glib "bin")
("itstool" ,itstool)
("pkg-config" ,pkg-config)))
(propagated-inputs
(list gtksourceview)) ; required for source view
(arguments
`(#:build-type "release"
#:glib-or-gtk? #t
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'skip-gtk-update-icon-cache
(lambda _
(substitute* "build-aux/meson/meson_post_install.py"
(("gtk-update-icon-cache") (which "true")))
#t)))))
(list #:build-type "release" ;otherwise it tries to fetch stuff via git
#:glib-or-gtk? #t
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'skip-gtk-update-icon-cache
(lambda _
(substitute* "build-aux/meson/meson_post_install.py"
(("gtk-update-icon-cache") (which "true"))))))))
(native-inputs
(list `(,glib-next "bin")
gettext-minimal
itstool
pkg-config))
(inputs
(list json-glib
jsonrpc-glib
gettext-minimal
glib-next
gsettings-desktop-schemas
gspell
libgda
libhandy
libsoup
pango-next))
(propagated-inputs
(list gtksourceview-4)) ; required for source view
(home-page "https://wiki.gnome.org/Apps/Gtranslator")
(synopsis "Translation making program")
(description