From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46433) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1epjKS-0006X4-0H for guix-patches@gnu.org; Sat, 24 Feb 2018 18:34:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1epjKM-0003s9-Pk for guix-patches@gnu.org; Sat, 24 Feb 2018 18:34:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:51361) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1epjKM-0003rY-Ll for guix-patches@gnu.org; Sat, 24 Feb 2018 18:34:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1epjKM-0003KX-Ds for guix-patches@gnu.org; Sat, 24 Feb 2018 18:34: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: Sun, 25 Feb 2018 07:33:21 +0800 Message-ID: <87bmgevu7y.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 Content-Disposition: inline; filename=0004-gnu-Add-perl-gtk2.patch Content-Transfer-Encoding: quoted-printable From=208e946345fa5948e4990dfc84d2b5a7defb7f24e7 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/perl.scm (perl-gtk2): New public variable. =2D-- gnu/packages/perl.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 9ec581abf..7dfd21009 100644 =2D-- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -3843,6 +3843,33 @@ up the Gnome environment, and are used in many unrel= ated projects.") the abstract data structures.") (license (package-license perl)))) =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 lgpl2.1+))) + (define-public perl-guard (package (name "perl-guard") =2D-=20 2.16.2 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQTdXC2pN4kXBjiMDs8cGaIXrbrArQUCWpH2QQAKCRAcGaIXrbrA rbvLAP9ufBe3NDOWJtPOf8hVT4gvfQ/dbFLHYAcmevG1UAH1ywEAkE0ARvyJ5s7a uDwJCFv/o/RTUwe6ux8rm5w8xaiJAwI= =M70V -----END PGP SIGNATURE----- --==-=-=--