From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46016) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eqNsb-0000Jl-Jm for guix-patches@gnu.org; Mon, 26 Feb 2018 13:52:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eqNsY-0006Fd-FX for guix-patches@gnu.org; Mon, 26 Feb 2018 13:52:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:54224) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eqNsY-0006FX-AO for guix-patches@gnu.org; Mon, 26 Feb 2018 13:52:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eqNsY-0001j6-3V for guix-patches@gnu.org; Mon, 26 Feb 2018 13:52:02 -0500 Subject: [bug#30598] [PATCH 4/5] gnu: Add perl-gtk2. References: <87sh9qvuhz.fsf@gmail.com> In-Reply-To: <87sh9qvuhz.fsf@gmail.com> Resent-Message-ID: From: Alex Vong Date: Tue, 27 Feb 2018 02:51:02 +0800 Message-ID: <87371nmvop.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 30598@debbugs.gnu.org Cc: alexvong1995@gmail.com --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: inline; filename=0004-gnu-Add-perl-gtk2.patch Content-Transfer-Encoding: quoted-printable From=2092c6e1eedf87c38eb24a76aff41e8a1366ea6ebc Mon Sep 17 00:00:00 2001 From: Alex Vong Date: Sun, 25 Feb 2018 06:51:09 +0800 Subject: [PATCH 4/5] gnu: Add perl-gtk2. * gnu/packages/gtk.scm (perl-gtk2): New public variable. =2D-- gnu/packages/gtk.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm index 2939e4f64..1eb1bffb6 100644 =2D-- a/gnu/packages/gtk.scm +++ b/gnu/packages/gtk.scm @@ -17,6 +17,7 @@ ;;; Copyright =C2=A9 2017 Roel Janssen ;;; Copyright =C2=A9 2017, 2018 Tobias Geerinckx-Rice ;;; Copyright =C2=A9 2017 Marius Bakke +;;; Copyright =C2=A9 2018 Alex Vong ;;; ;;; This file is part of GNU Guix. ;;; @@ -40,6 +41,7 @@ #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix build-system gnu) + #:use-module (guix build-system perl) #:use-module (guix build-system python) #:use-module (guix build-system waf) #:use-module (gnu packages) @@ -1238,6 +1240,33 @@ targeted at GTK 2.x, and can be used in conjunction = with gnome-python to write GNOME applications.") (license license:lgpl2.1+))) =20 +(define-public perl-gtk2 + (package + (name "perl-gtk2") + (version "1.24992") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/X/XA/XAOC/Gtk2= -" + version ".tar.gz")) + (sha256 + (base32 + "1044rj3wbfmgaif2jb0k28m2aczli6ai2n5yvn6pr7zjyw16kvd2")))) + (build-system perl-build-system) + (native-inputs + `(("perl-extutils-depends" ,perl-extutils-depends) + ("perl-extutils-pkgconfig" ,perl-extutils-pkgconfig))) + (inputs + `(("gtk+" ,gtk+-2))) + (propagated-inputs + `(("perl-pango" ,perl-pango))) + (home-page "http://search.cpan.org/dist/Gtk2/") + (synopsis "Perl interface to the 2.x series of the Gimp Toolkit librar= y") + (description "Perl bindings to the 2.x series of the Gtk+ widget set. +This module allows you to write graphical user interfaces in a Perlish and +object-oriented way, freeing you from the casting and memory management in= C, +yet remaining very close in spirit to original API.") + (license license:lgpl2.1+))) + (define-public girara (package (name "girara") =2D-=20 2.16.2 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQTdXC2pN4kXBjiMDs8cGaIXrbrArQUCWpRXFgAKCRAcGaIXrbrA rZcuAP0Vd4Sktekvtc6zBcblrg/HlJqtTSJFGMnHkE2hB69eDAEA4ixk4761GM3Q 83dLN80bA6KGxXbNeKNo+1vQXGvwLgs= =mAOb -----END PGP SIGNATURE----- --==-=-=--