From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: Re: [PATCH 1/2] gnu: Add vte. Date: Sun, 14 Dec 2014 09:08:04 -0500 Message-ID: <874msyfhob.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> References: <1418535265-17233-1-git-send-email-iyzsong@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40905) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y09qD-00032V-4T for guix-devel@gnu.org; Sun, 14 Dec 2014 09:08:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y09qB-0004FF-K3 for guix-devel@gnu.org; Sun, 14 Dec 2014 09:08:09 -0500 Received: from mail.fsf.org ([208.118.235.13]:54859) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y09qB-0004F5-H7 for guix-devel@gnu.org; Sun, 14 Dec 2014 09:08:07 -0500 In-Reply-To: <1418535265-17233-1-git-send-email-iyzsong@gmail.com> 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: =?utf-8?B?5a6L5paH5q2m?= , guix-devel@gnu.org =E5=AE=8B=E6=96=87=E6=AD=A6 writes: > * gnu/packages/gnome.scm (vte, vte-0): New variables. > --- > gnu/packages/gnome.scm | 57 ++++++++++++++++++++++++++++++++++++++++++++= +++++- > 1 file changed, 56 insertions(+), 1 deletion(-) > > diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm > index 5d84f4e..7087727 100644 > --- a/gnu/packages/gnome.scm > +++ b/gnu/packages/gnome.scm > @@ -47,7 +47,8 @@ > #:use-module (gnu packages gl) > #:use-module (gnu packages compression) > #:use-module (gnu packages xorg) > - #:use-module (gnu packages xdisorg)) > + #:use-module (gnu packages xdisorg) > + #:use-module (gnu packages ncurses)) >=20=20 > (define-public brasero > (package > @@ -1324,3 +1325,57 @@ language features to GNOME developers without impo= sing any additional runtime > requirements and without using a different ABI compared to applications = and > libraries written in C.") > (license license:lgpl2.1+))) > + > +(define-public vte > + (package > + (name "vte") > + (version "0.38.2") > + (source (origin > + (method url-fetch) > + (uri (string-append "mirror://gnome/sources/" name "/" > + (version-major+minor version) "/" > + name "-" version ".tar.xz")) > + (sha256 > + (base32 > + "1rbxrigff9yszbgdw0gw4c2saz4d1hbbpz21phzxx14w49wvmnmj"))= )) > + (build-system gnu-build-system) > + (native-inputs > + `(("pkg-config" ,pkg-config) > + ("intltool" ,intltool) > + ("vala" ,vala) > + ("gobject-introspection" ,gobject-introspection) > + ("glib" ,glib "bin") ; for glib-genmarshal, etc. > + ("xmllint" ,libxml2))) > + (propagated-inputs > + `(("gtk+" ,gtk+))) ; required by libvte-2.91.pc > + (home-page "http://www.gnome.org/") > + (synopsis "Virtual Terminal Emulator") > + (description > + "VTE is a library (libvte) implementing a terminal emulator widget = for > +GTK+, and a minimal sample application (vte) using that. Vte is mainly = used in > +gnome-terminal, but can also be used to embed a console/terminal in game= s, > +editors, IDEs, etc.") > + (license license:lgpl2.1+))) > + > +;; stable version for gtk2, required by xfce4-terminal. > +(define-public vte-0 Maybe call this one 'vte-gtk2'? 'vte-0' isn't very descriptive. > + (package (inherit vte) > + (name "vte") > + (version "0.28.2") > + (source (origin > + (method url-fetch) > + (uri (string-append "mirror://gnome/sources/" name "/" > + (version-major+minor version) "/" > + name "-" version ".tar.xz")) > + (sha256 > + (base32 > + "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))= )) > + (arguments > + '(#:configure-flags '("--disable-python"))) > + (native-inputs > + `(("pkg-config" ,pkg-config) > + ("intltool" ,intltool) > + ("glib" ,glib "bin"))) ; for glib-genmarshal, etc. > + (propagated-inputs > + `(("gtk+" ,gtk+-2) ; required by libvte.pc > + ("ncurses" ,ncurses))))) ; required by libvte.la > --=20 > 2.1.2 > > Looks good otherwise! --=20 David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate