From mboxrd@z Thu Jan 1 00:00:00 1970 From: iyzsong@member.fsf.org (=?utf-8?B?5a6L5paH5q2m?=) Subject: Re: [PATCH 1/2] gnu: Add gtksourceview. Date: Sun, 08 Nov 2015 20:03:46 +0800 Message-ID: <87wptsvgt9.fsf@member.fsf.org> References: <1446959917-25693-1-git-send-email-david.hashe@dhashe.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZvOhZ-0003wf-5g for guix-devel@gnu.org; Sun, 08 Nov 2015 07:04:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZvOhV-00040z-Vp for guix-devel@gnu.org; Sun, 08 Nov 2015 07:04:05 -0500 Received: from m50-133.163.com ([123.125.50.133]:33829) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZvOhU-0003zu-Mv for guix-devel@gnu.org; Sun, 08 Nov 2015 07:04:01 -0500 In-Reply-To: <1446959917-25693-1-git-send-email-david.hashe@dhashe.com> (David Hashe's message of "Sat, 7 Nov 2015 23:18:36 -0600") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: David Hashe Cc: guix-devel@gnu.org David Hashe writes: > * 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") Why not use the latest stable 3.18.x? > + (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 ") extra space ^ > + (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 We use two spaces after period ^ > +highlighting and other features typical of a source code editor.") > + (license license:lgpl2.1+)))