From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45327) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eqNql-000806-6I for guix-patches@gnu.org; Mon, 26 Feb 2018 13:50:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eqNqf-0004Fj-79 for guix-patches@gnu.org; Mon, 26 Feb 2018 13:50:11 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:54205) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eqNqf-0004Fe-1f for guix-patches@gnu.org; Mon, 26 Feb 2018 13:50:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eqNqc-0001et-EZ for guix-patches@gnu.org; Mon, 26 Feb 2018 13:50:04 -0500 Subject: [bug#30598] [PATCH 1/5] gnu: Add perl-cairo. References: <87sh9qvuhz.fsf@gmail.com> In-Reply-To: <87sh9qvuhz.fsf@gmail.com> Resent-Message-ID: From: Alex Vong Date: Tue, 27 Feb 2018 02:49:19 +0800 Message-ID: <87fu5nmvrk.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=0001-gnu-Add-perl-cairo.patch Content-Transfer-Encoding: quoted-printable From=20f541d27bcc6e7670e612ee83478a1ccec891cfec Mon Sep 17 00:00:00 2001 From: Alex Vong Date: Sun, 25 Feb 2018 06:48:47 +0800 Subject: [PATCH 1/5] gnu: Add perl-cairo. * gnu/packages/perl.scm (perl-cairo): 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 cef42847c..c9de36a45 100644 =2D-- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -19,6 +19,7 @@ ;;; Copyright =C2=A9 2017 Leo Famulari ;;; Copyright =C2=A9 2017 Christopher Allan Webber ;;; Copyright =C2=A9 2018 Oleg Pykhalov +;;; Copyright =C2=A9 2018 Alex Vong ;;; ;;; This file is part of GNU Guix. ;;; @@ -45,6 +46,7 @@ #:use-module (guix build-system perl) #:use-module (gnu packages base) #:use-module (gnu packages compression) + #:use-module (gnu packages gtk) #:use-module (gnu packages perl-check) #:use-module (gnu packages perl-web) #:use-module (gnu packages pkg-config)) @@ -680,6 +682,31 @@ processes can safely access the cache at the same time= . It uses a basic LRU algorithm to keep the most used entries in the cache.") (license (package-license perl)))) =20 +(define-public perl-cairo + (package + (name "perl-cairo") + (version "1.106") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/X/XA/XAOC/Cairo-" + version ".tar.gz")) + (sha256 + (base32 + "1i25kks408c54k2zxskvg54l5k3qadzm8n72ffga9jy7ic0h6j76")))) + (build-system perl-build-system) + (native-inputs + `(("perl-extutils-depends" ,perl-extutils-depends) + ("perl-extutils-pkgconfig" ,perl-extutils-pkgconfig))) + (inputs + `(("cairo" ,cairo))) + (home-page "http://search.cpan.org/dist/Cairo/") + (synopsis "Perl interface to the cairo 2d vector graphics library") + (description "Cairo provides Perl bindings for the vector graphics lib= rary +cairo. It supports multiple output targets, including PNG, PDF and SVG. = Cairo +produces identical output on all those targets.") + (license lgpl2.1+))) + (define-public perl-capture-tiny (package (name "perl-capture-tiny") =2D-=20 2.16.2 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQTdXC2pN4kXBjiMDs8cGaIXrbrArQUCWpRWrwAKCRAcGaIXrbrA rX5zAP9BGYgGECnCtZJDCMWp6xXUMcvBcKjCKFQEFLi9jAGA3QEAwMaJifqd4S47 QXYjHxq0IvKncS+GZFE2E95wOvSf7gg= =5F7i -----END PGP SIGNATURE----- --==-=-=--