gnu: tepl: Update to 6.1.2 and enable tests.

* gnu/packages/gnome.scm (tepl): Update to 6.1.2.
[tests?]: Delete argument.
[phases]: New argument.
[native-inputs]: Move gsettings-desktop-schemas to propagated-inputs.
[inputs]: Move libxml2 to native-inputs.  Move amtk, glib,
gsettings-desktop-schemas, gtk+ and gtksourceview-4 to...
[propagated-inputs]: ... here.
This commit is contained in:
Maxim Cournoyer 2022-09-08 10:04:18 -04:00
parent 5dd3acd0a0
commit b90710642e
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -1047,7 +1047,7 @@ between different kinds of computer systems.")
(define-public tepl (define-public tepl
(package (package
(name "tepl") (name "tepl")
(version "6.00.0") (version "6.1.2")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -1057,20 +1057,37 @@ between different kinds of computer systems.")
name "-" version ".tar.xz")) name "-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"0qvs7s86gqyyrzi0r5fbrj8zczlgv8xhdjswgbgc1afwjnl9fqx8")))) "16x14j3nvsjj7jb2qmxpzygnlcy7sd7p6skv0sqshkwdlp4jxzha"))))
(build-system meson-build-system) (build-system meson-build-system)
(arguments (arguments
`(#:glib-or-gtk? #t `(#:glib-or-gtk? #t
#:tests? #f)) ; FIX-ME: Requires gvfs #:phases (modify-phases %standard-phases
(add-after 'unpack 'disable-problematic-tests
(lambda _
;; Only keep unit tests, as the interactive tests have
;; other dependencies.
(substitute* "tests/meson.build"
((".*'interactive-tests'.*") ""))))
(add-before 'check 'start-xserver
(lambda _
(system "Xvfb :1 &")
(setenv "DISPLAY" ":1"))))))
(native-inputs (native-inputs
(list `(,glib "bin") gobject-introspection pkg-config)) (list `(,glib "bin")
gobject-introspection
gtk-doc
libxml2
pkg-config
xorg-server-for-tests))
(inputs (inputs
(list uchardet))
(propagated-inputs
;; These are all required by tepl6.pc.
(list amtk (list amtk
glib glib
gsettings-desktop-schemas
gtk+ gtk+
gtksourceview-4 gtksourceview-4))
libxml2
uchardet))
(synopsis "Text editor product line") (synopsis "Text editor product line")
(description "Tepl is a library that eases the development of (description "Tepl is a library that eases the development of
GtkSourceView-based text editors and IDEs.") GtkSourceView-based text editors and IDEs.")