[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/2] gnu: Add gtksourceview.
From: |
John Darrington |
Subject: |
Re: [PATCH 1/2] gnu: Add gtksourceview. |
Date: |
Sun, 8 Nov 2015 18:47:26 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Doesn't this already exist ? In gnu/packages/gtk+
The version there seems to be better too, because it doesn't disable the tests.
J'
On Sat, Nov 07, 2015 at 11:18:36PM -0600, David Hashe wrote:
* gnu/packages/gnome.scm (gtksourceview): New variable.
---
gnu/packages/gnome.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 5440433..9bd1c31 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3659,3 +3659,37 @@ environment that allows users to view, unpack, and
create compressed archives
such as gzip tarballs.")
(home-page "http://fileroller.sourceforge.net/")
(license license:gpl2+)))
+
+(define-public gtksourceview
+ (package
+ (name "gtksourceview")
+ (version "3.16.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnome/sources/" name "/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "030v7x1dmx5blqi9jcknsjd91jppbpl7f4z69k8c8kklr939i7k6"))))
+ (build-system glib-or-gtk-build-system)
+ (arguments
+ '(#:tests? #f)) ; Tries to open graphical display during testing and
fails
+ (native-inputs
+ `(("intltool" ,intltool)
+ ("itstool", itstool)
+ ("gobject-introspection" ,gobject-introspection)
+ ("pkg-config" ,pkg-config)))
+ (inputs
+ `(("glib" ,glib)
+ ("gtk+" ,gtk+)
+ ("libxml2" ,libxml2)
+ ("pango" ,pango)
+ ("gdk-pixbuf" ,gdk-pixbuf)
+ ("vala" ,vala)))
+ (home-page "https://wiki.gnome.org/Projects/GtkSourceView ")
+ (synopsis "GNOME source code widget")
+ (description "GtkSourceView is a text widget that extends the standard
+GTK+ text widget GtkTextView. It improves GtkTextView by implementing
syntax
+highlighting and other features typical of a source code editor.")
+ (license license:lgpl2.1+)))
--
1.9.1
--
Avoid eavesdropping. Send strong encryted email.
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.
signature.asc
Description: Digital signature
Re: [PATCH 1/2] gnu: Add gtksourceview., 宋文武, 2015/11/08
Re: [PATCH 1/2] gnu: Add gtksourceview.,
John Darrington <=