From patchwork Sun Jul 4 01:03:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 31111 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 A26AB27BC83; Sun, 4 Jul 2021 02:04:19 +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 3BD5727BC78 for ; Sun, 4 Jul 2021 02:04:19 +0100 (BST) Received: from localhost ([::1]:50720 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lzqYU-0004J9-8N for patchwork@mira.cbaines.net; Sat, 03 Jul 2021 21:04:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46356) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lzqYG-0003ow-HT for guix-patches@gnu.org; Sat, 03 Jul 2021 21:04:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56873) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lzqYG-0004tp-A9 for guix-patches@gnu.org; Sat, 03 Jul 2021 21:04:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lzqYG-0006Gq-79 for guix-patches@gnu.org; Sat, 03 Jul 2021 21:04:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49210] [PATCH v5 06/16] gnu: Add perl-gtk3. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 04 Jul 2021 01:04: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.162536061523940 (code B ref 49210); Sun, 04 Jul 2021 01:04:04 +0000 Received: (at 49210) by debbugs.gnu.org; 4 Jul 2021 01:03:35 +0000 Received: from localhost ([127.0.0.1]:40151 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzqXm-0006Dt-Hx for submit@debbugs.gnu.org; Sat, 03 Jul 2021 21:03:35 -0400 Received: from out0.migadu.com ([94.23.1.103]:58418) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzqXi-0006Ch-52 for 49210@debbugs.gnu.org; Sat, 03 Jul 2021 21:03:30 -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=1625360609; 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=eSica/mxVwedpfKHyXaOKxH5NBykf8RpnY/pAmvCwzf5PTP71o8jaOn9y74bUpriG5K9cq em/tUPquNkuZQqXE7rnvzPxgSHOU17w6hztk0wMlwN2SfnpnZE06uwLWEhU+n7ahWla6OJ YyTMHVbD04eqcE8LrxTheL0xJHBM4LMczSxuw/FJCa0ohVTKh054QM8b88wz5mzt3O7DKU eb1oDYqok6E0q4CQl1Dzuvhma1jYv9mZedtqmx318vjQRhv4XoWcdw8abmuByJIgjudZws DQBeeKiJOBB3KCducoJ0mJ4JWgwaIjRJl/FcqpDFem93ZUfdf8uDEID8h1uGNQ== Date: Sat, 3 Jul 2021 21:03:10 -0400 Message-Id: <20210704010320.5458-6-rg@raghavgururajan.name> In-Reply-To: <20210704010320.5458-1-rg@raghavgururajan.name> References: <20210704010320.5458-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")