[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#30598] [PATCH 4/5] gnu: Add perl-gtk2.
From: |
Alex Vong |
Subject: |
[bug#30598] [PATCH 4/5] gnu: Add perl-gtk2. |
Date: |
Sun, 25 Feb 2018 07:33:21 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
From 8e946345fa5948e4990dfc84d2b5a7defb7f24e7 Mon Sep 17 00:00:00 2001
From: Alex Vong <address@hidden>
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.
---
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
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -3843,6 +3843,33 @@ up the Gnome environment, and are used in many unrelated
projects.")
the abstract data structures.")
(license (package-license perl))))
+(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 library")
+ (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")
--
2.16.2
signature.asc
Description: PGP signature
- [bug#30598] [PATCH 0/5] gnu: Add youtube-viewer., Alex Vong, 2018/02/24
- [bug#30598] [PATCH 1/5] gnu: Add perl-cairo., Alex Vong, 2018/02/24
- [bug#30598] [PATCH 2/5] gnu: Add perl-glib., Alex Vong, 2018/02/24
- [bug#30598] [PATCH 3/5] gnu: Add perl-pango., Alex Vong, 2018/02/24
- [bug#30598] [PATCH 4/5] gnu: Add perl-gtk2.,
Alex Vong <=
- [bug#30598] [PATCH 5/5] gnu: Add youtube-viewer., Alex Vong, 2018/02/24
- [bug#30598] [PATCH 0/5] gnu: Add youtube-viewer., Marius Bakke, 2018/02/25
- [bug#30598] [PATCH 2/5] gnu: Add perl-glib., Alex Vong, 2018/02/26
- [bug#30598] [PATCH 1/5] gnu: Add perl-cairo., Alex Vong, 2018/02/26
- [bug#30598] [PATCH 3/5] gnu: Add perl-pango., Alex Vong, 2018/02/26
- [bug#30598] [PATCH 4/5] gnu: Add perl-gtk2., Alex Vong, 2018/02/26
- [bug#30598] [PATCH 5/5] gnu: Add youtube-viewer., Alex Vong, 2018/02/26