From patchwork Thu Jun 24 14:45:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30671 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C237427BC81; Thu, 24 Jun 2021 15:47:17 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 88C9A27BC78 for ; Thu, 24 Jun 2021 15:47:17 +0100 (BST) Received: from localhost ([::1]:52846 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lwQdQ-0002nl-I6 for patchwork@mira.cbaines.net; Thu, 24 Jun 2021 10:47:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35564) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwQdE-0002hd-NG for guix-patches@gnu.org; Thu, 24 Jun 2021 10:47:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60441) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lwQdE-0001Ud-94 for guix-patches@gnu.org; Thu, 24 Jun 2021 10:47:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lwQdE-0003mw-8V for guix-patches@gnu.org; Thu, 24 Jun 2021 10:47:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49210] [PATCH v1 06/16] gnu: Add perl-gtk3. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 24 Jun 2021 14:47:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49210 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 49210@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 49210-submit@debbugs.gnu.org id=B49210.162454598614402 (code B ref 49210); Thu, 24 Jun 2021 14:47:04 +0000 Received: (at 49210) by debbugs.gnu.org; 24 Jun 2021 14:46:26 +0000 Received: from localhost ([127.0.0.1]:43729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwQcc-0003k8-3j for submit@debbugs.gnu.org; Thu, 24 Jun 2021 10:46:26 -0400 Received: from out0.migadu.com ([94.23.1.103]:56093) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwQcG-0003hx-V7 for 49210@debbugs.gnu.org; Thu, 24 Jun 2021 10:46:05 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1624545964; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Z/8Gg7BnDpOrrzx2C8RTa1ljNZfPisJD0Sub+ITDGw8=; b=k2j1HE5qeNsVCY2aojkR7RnvVDurNC5cRxiwAQCm7HViP8FJ4D8OFvubLyXpTzT/H9i76j HBmel3xD0k2pxEbIXutpqTqPbUoKsKajJJ541oAawf6NjSoKAuRQn+JBIuEiRPlWuGG6RC 45CVzpJQfKwgsrNBPFY8QTICCMrctFcYESOYYrRSOvGQHQxwajtBU17TauxQcxZCBSSoox dnw5SvXBb6l9Eav17vx258ikSmeP9Do//kZ2i+IZi5ohaF4Hi1TQp29AZ4KEZDbBAcc3Ak Xep+E4mo63Th873HCqvAztVI07MHKc4vstVo02rHIJMihydv3F+YCeu6ttsVuA== Date: Thu, 24 Jun 2021 10:45:46 -0400 Message-Id: <20210624144556.9671-6-rg@raghavgururajan.name> In-Reply-To: <20210624144556.9671-1-rg@raghavgururajan.name> References: <20210624144556.9671-1-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * gnu/packages/gtk.scm (perl-gtk3): New variable. --- gnu/packages/gtk.scm | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm index bc30905444..d92b9aa3e4 100644 --- a/gnu/packages/gtk.scm +++ b/gnu/packages/gtk.scm @@ -1657,6 +1657,48 @@ object-oriented way, freeing you from the casting and memory management in C, yet remaining very close in spirit to original API.") (license license:lgpl2.1+))) +(define-public perl-gtk3 + (package + (name "perl-gtk3") + (version "0.038") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/X/XA/XAOC/Gtk3-" + version ".tar.gz")) + (sha256 + (base32 "1k3sfcvxxx7ir7ail7w1lkmr4np0k3criljzw5wir63lmbr4pp3h")))) + (build-system perl-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda _ + ;; Tests require a running X server. + (system "Xvfb :1 +extension GLX &") + (setenv "DISPLAY" ":1")))))) + (native-inputs + `(("adwaita-icon-theme" ,adwaita-icon-theme) + ("gtk+:bin" ,gtk+ "bin") + ("gobject-introspection" ,gobject-introspection) + ("perl-extutils-depends" ,perl-extutils-depends) + ("perl-extutils-pkgconfig" ,perl-extutils-pkgconfig) + ("perl-test-simple" ,perl-test-simple) + ("xorg-server" ,xorg-server-for-tests))) + (propagated-inputs + `(("gtk+" ,gtk+) + ("perl-cairo-gobject" ,perl-cairo-gobject) + ("perl-carp" ,perl-carp) + ("perl-exporter" ,perl-exporter) + ("perl-glib-object-introspection" ,perl-glib-object-introspection))) + (home-page "https://metacpan.org/dist/Gtk3") + (synopsis "Perl interface to the 3.x series of the gtk+ toolkit") + (description "Perl bindings to the 3.x series of the gtk+ toolkit. +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 license:lgpl2.1+))) + (define-public perl-pango (package (name "perl-pango")