From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44902) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1epjJT-0005yR-0L for guix-patches@gnu.org; Sat, 24 Feb 2018 18:33:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1epjJO-0001T7-2h for guix-patches@gnu.org; Sat, 24 Feb 2018 18:33:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:51353) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1epjJN-0001Rq-RW for guix-patches@gnu.org; Sat, 24 Feb 2018 18:33:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1epjJN-0003Hc-I0 for guix-patches@gnu.org; Sat, 24 Feb 2018 18:33:01 -0500 Subject: [bug#30598] [PATCH 2/5] gnu: Add perl-glib. References: <87sh9qvuhz.fsf@gmail.com> In-Reply-To: <87sh9qvuhz.fsf@gmail.com> Resent-Message-ID: From: Alex Vong Date: Sun, 25 Feb 2018 07:31:59 +0800 Message-ID: <87k1v2vua8.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=0002-gnu-Add-perl-glib.patch Content-Transfer-Encoding: quoted-printable From=2034eca4250f6cd4e4ce7e7c5850f25bbb7f6ab9f7 Mon Sep 17 00:00:00 2001 From: Alex Vong Date: Sun, 25 Feb 2018 06:49:54 +0800 Subject: [PATCH 2/5] gnu: Add perl-glib. * gnu/packages/perl.scm (perl-glib): New public variable. =2D-- gnu/packages/perl.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index c9de36a45..628019986 100644 =2D-- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -46,6 +46,7 @@ #:use-module (guix build-system perl) #:use-module (gnu packages base) #:use-module (gnu packages compression) + #:use-module (gnu packages glib) #:use-module (gnu packages gtk) #:use-module (gnu packages perl-check) #:use-module (gnu packages perl-web) @@ -3794,6 +3795,33 @@ vaguely inspired by John Ousterhout's Tk_ParseArgv.") "Getopt-Tabular-" version)) (license (package-license perl)))) =20 +(define-public perl-glib + (package + (name "perl-glib") + (version "1.326") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/X/XA/XAOC/Glib-" + version ".tar.gz")) + (sha256 + (base32 + "0prn9kkdpwjq9qmzqashbhk3pq4gvlrmvm3b10xf1dhc48406382")))) + (build-system perl-build-system) + (native-inputs + `(("perl-extutils-depends" ,perl-extutils-depends) + ("perl-extutils-pkgconfig" ,perl-extutils-pkgconfig))) + (inputs + `(("glib" ,glib))) + (home-page "http://search.cpan.org/dist/Glib/") + (synopsis "Perl wrappers for the GLib utility and Object libraries") + (description "This module provides perl access to GLib and GLib's GObj= ect +libraries. GLib is a portability and utility library; GObject provides a +generic type system with inheritance and a powerful signal system. Togeth= er +these libraries are used as the foundation for many of the libraries that = make +up the Gnome environment, and are used in many unrelated projects.") + (license lgpl2.1+))) + (define-public perl-graph (package (name "perl-graph") =2D-=20 2.16.2 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQTdXC2pN4kXBjiMDs8cGaIXrbrArQUCWpH17wAKCRAcGaIXrbrA rQECAP4kUPE3hGSrBy5Bw6VQfeoVuAYWwFF+NflT1j3uzIqUIAEA7FZHw3VmsZ4u /rJc5afKD9R4MsVX5QDuS0rg+Bh+xwY= =RbuL -----END PGP SIGNATURE----- --==-=-=--