From patchwork Wed Jun 30 03:35:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30824 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 1587327BC81; Wed, 30 Jun 2021 04:36:24 +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 A805027BC78 for ; Wed, 30 Jun 2021 04:36:23 +0100 (BST) Received: from localhost ([::1]:53396 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lyR1S-0006kv-OR for patchwork@mira.cbaines.net; Tue, 29 Jun 2021 23:36:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35318) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyR1A-000677-RP for guix-patches@gnu.org; Tue, 29 Jun 2021 23:36:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44630) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lyR1A-0001wT-Js for guix-patches@gnu.org; Tue, 29 Jun 2021 23:36:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lyR1A-0007TL-HF for guix-patches@gnu.org; Tue, 29 Jun 2021 23:36:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49210] [PATCH v4 06/16] gnu: Add perl-gtk3. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 30 Jun 2021 03:36: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.162502415128651 (code B ref 49210); Wed, 30 Jun 2021 03:36:04 +0000 Received: (at 49210) by debbugs.gnu.org; 30 Jun 2021 03:35:51 +0000 Received: from localhost ([127.0.0.1]:56163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyR0x-0007Rr-2R for submit@debbugs.gnu.org; Tue, 29 Jun 2021 23:35:51 -0400 Received: from out0.migadu.com ([94.23.1.103]:35635) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyR0q-0007Qh-PF for 49210@debbugs.gnu.org; Tue, 29 Jun 2021 23:35:45 -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=1625024144; 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=fMyvNzcC9z9Im/AAxKmkyabmntVGdTiMpjSUDsCT5Sk+8IXz+5sueCss9tJMpL1NIMqBMc 6FMZcBLwVRQhDCJzsLXZmZOkprOIS6t+ecw0xRYbTY9QS/GTCQ5kzZJ6Qu41ydzOCZcT57 yqkmmmfSfGjD9VMBT3ap+VxC/30RdIIW3I6rAfJdq5v5DzNVSzmiJ1/jzZlbcsuCwp1udI kwbUBPSD2Q2MA5S6fByG3o/TcseJYpo/niN6TxhJIC++phbX8Xj5tpxK2DWDCrf5D26IIN V6l2c9oKDH2M4SJfy0sCrMYLgPn4hWHLRbsOdgAXdOlPPojt91AC49GhpQrNdA== Date: Tue, 29 Jun 2021 23:35:28 -0400 Message-Id: <20210630033538.15059-6-rg@raghavgururajan.name> In-Reply-To: <20210630033538.15059-1-rg@raghavgururajan.name> References: <20210630033538.15059-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")