From: Alex Vong <alexvong1995@gmail.com>
To: 30598@debbugs.gnu.org
Cc: alexvong1995@gmail.com
Subject: [bug#30598] [PATCH 1/5] gnu: Add perl-cairo.
Date: Sun, 25 Feb 2018 07:30:37 +0800 [thread overview]
Message-ID: <87o9kevuci.fsf@gmail.com> (raw)
In-Reply-To: <87sh9qvuhz.fsf@gmail.com>
[-- Attachment #1.1: 0001-gnu-Add-perl-cairo.patch --]
[-- Type: text/x-diff, Size: 2447 bytes --]
From 3099c40fff2441df1451b16665839c8cf92cf75b Mon Sep 17 00:00:00 2001
From: Alex Vong <alexvong1995@gmail.com>
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.
---
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
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -19,6 +19,7 @@
;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
;;; Copyright © 2017 Christopher Allan Webber <cwebber@dustycloud.org>
;;; Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com>
+;;; Copyright © 2018 Alex Vong <alexvong1995@gmail.com>
;;;
;;; 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))))
+(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 library
+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")
--
2.16.2
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]
next prev parent reply other threads:[~2018-02-24 23:31 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-24 23:27 [bug#30598] [PATCH 0/5] gnu: Add youtube-viewer Alex Vong
2018-02-24 23:30 ` Alex Vong [this message]
2018-02-24 23:31 ` [bug#30598] [PATCH 2/5] gnu: Add perl-glib Alex Vong
2018-02-24 23:32 ` [bug#30598] [PATCH 3/5] gnu: Add perl-pango Alex Vong
2018-02-24 23:33 ` [bug#30598] [PATCH 4/5] gnu: Add perl-gtk2 Alex Vong
2018-02-24 23:33 ` [bug#30598] [PATCH 5/5] gnu: Add youtube-viewer Alex Vong
2018-02-26 0:58 ` Marius Bakke
2018-02-26 1:03 ` [bug#30598] [PATCH 0/5] " Marius Bakke
2018-02-26 19:30 ` Alex Vong
2018-02-28 16:07 ` bug#30598: " Marius Bakke
2018-02-26 18:49 ` [bug#30598] [PATCH 1/5] gnu: Add perl-cairo Alex Vong
2018-02-26 18:49 ` [bug#30598] [PATCH 2/5] gnu: Add perl-glib Alex Vong
2018-02-26 18:50 ` [bug#30598] [PATCH 3/5] gnu: Add perl-pango Alex Vong
2018-02-26 18:51 ` [bug#30598] [PATCH 4/5] gnu: Add perl-gtk2 Alex Vong
2018-02-26 18:51 ` [bug#30598] [PATCH 5/5] gnu: Add youtube-viewer Alex Vong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o9kevuci.fsf@gmail.com \
--to=alexvong1995@gmail.com \
--cc=30598@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.