diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-09-08 10:04:18 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-09-13 02:04:36 -0400 |
commit | b90710642e044fe38dc7a4a16b1414234a5c8e29 (patch) | |
tree | 126b71aeaf33ae05ca9db3d41863dbb9555bbe03 /gnu/packages/gnome.scm | |
parent | 5dd3acd0a0941ff9764959b313aae48095c66312 (diff) | |
download | guix-b90710642e044fe38dc7a4a16b1414234a5c8e29.tar guix-b90710642e044fe38dc7a4a16b1414234a5c8e29.tar.gz |
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.
Diffstat (limited to 'gnu/packages/gnome.scm')
-rw-r--r-- | gnu/packages/gnome.scm | 31 |
1 files changed, 24 insertions, 7 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index ab1ce2e039..f2bdbaf5f5 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -1047,7 +1047,7 @@ between different kinds of computer systems.") (define-public tepl (package (name "tepl") - (version "6.00.0") + (version "6.1.2") (source (origin (method url-fetch) @@ -1057,20 +1057,37 @@ between different kinds of computer systems.") name "-" version ".tar.xz")) (sha256 (base32 - "0qvs7s86gqyyrzi0r5fbrj8zczlgv8xhdjswgbgc1afwjnl9fqx8")))) + "16x14j3nvsjj7jb2qmxpzygnlcy7sd7p6skv0sqshkwdlp4jxzha")))) (build-system meson-build-system) (arguments `(#: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 - (list `(,glib "bin") gobject-introspection pkg-config)) + (list `(,glib "bin") + gobject-introspection + gtk-doc + libxml2 + pkg-config + xorg-server-for-tests)) (inputs + (list uchardet)) + (propagated-inputs + ;; These are all required by tepl6.pc. (list amtk glib + gsettings-desktop-schemas gtk+ - gtksourceview-4 - libxml2 - uchardet)) + gtksourceview-4)) (synopsis "Text editor product line") (description "Tepl is a library that eases the development of GtkSourceView-based text editors and IDEs.") |