guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

81/108: gnu: Add tepl.


From: guix-commits
Subject: 81/108: gnu: Add tepl.
Date: Sat, 25 Apr 2020 15:23:00 -0400 (EDT)

kkebreau pushed a commit to branch wip-gnome3.36
in repository guix.

commit bf1d70af104613cbe814f390df63980d2576543b
Author: Kei Kebreau <address@hidden>
AuthorDate: Tue Apr 21 19:28:12 2020 -0400

    gnu: Add tepl.
    
    * gnu/packages/gnome.scm (tepl): New variable.
---
 gnu/packages/gnome.scm | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index f98bdf3..cad4819 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -6031,6 +6031,60 @@ javascript engine and the GObject introspection 
framework.")
 powerful general purpose text editor.")
     (license license:gpl2+)))
 
+(define-public tepl
+  (package
+    (name "tepl")
+    (version "4.4.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://gnome/sources/tepl/"
+                                  (version-major+minor version) "/"
+                                  "tepl-" version ".tar.xz"))
+              (sha256
+               (base32
+                "0mm2z849hnni7597an05mrv0dckrxjngpf2xfa0g5s17i8x6gxp6"))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'disable-failing-test
+           (lambda _
+             ;; FIXME: test-file-metadata fails with
+             ;; (./test-file-metadata:11481): Tepl-WARNING **: 22:04:30.659:
+             ;; GVfs metadata is not supported. Fallback to 
TeplMetadataManager.
+             ;; Either GVfs is not correctly installed or GVfs metadata are not
+             ;; supported on this platform. In the latter case, you should
+             ;; configure Tepl with --disable-gvfs-metadata.
+             (substitute* "testsuite/Makefile.in"
+               (("test-file-metadata") ""))
+             #t))
+         (add-before 'check 'pre-check
+           (lambda* (#:key inputs #:allow-other-keys)
+             ;; Tests require a running X server.
+             (system "Xvfb :1 &")
+             (setenv "DISPLAY" ":1")
+             #t)))))
+    (native-inputs
+     `(("glib:bin" ,glib "bin")
+       ("gobject-introspection" ,gobject-introspection)
+       ("gtk-doc" ,gtk-doc)
+       ("pkg-config" ,pkg-config)
+       ("vala" ,vala)
+       ("xorg-server" ,xorg-server-for-tests)))
+    (propagated-inputs
+     `(;; tepl-4.pc refers to these
+       ("amtk" ,amtk)
+       ("glib" ,glib)
+       ("gtk+" ,gtk+)
+       ("gtksourceview" ,gtksourceview)
+       ("libxml2" ,libxml2)
+       ("uchardet" ,uchardet)))
+    (home-page "https://wiki.gnome.org/Projects/Tepl";)
+    (synopsis "Library for the development of GtkSourceView-based text 
editors")
+    (description "Tepl is a library that eases the development of
+GtkSourceView-based text editors and IDEs.")
+    (license license:lgpl2.1+)))
+
 (define-public zenity
   (package
     (name "zenity")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]