From patchwork Wed Jun 30 03:17:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30812 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 044E827BC81; Wed, 30 Jun 2021 04:19:59 +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 C35D327BC78 for ; Wed, 30 Jun 2021 04:19:58 +0100 (BST) Received: from localhost ([::1]:50862 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lyQlZ-0003ys-RB for patchwork@mira.cbaines.net; Tue, 29 Jun 2021 23:19:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60070) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyQkh-0002Td-VN for guix-patches@gnu.org; Tue, 29 Jun 2021 23:19:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44565) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lyQkh-0003OO-NZ for guix-patches@gnu.org; Tue, 29 Jun 2021 23:19:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lyQkh-000713-Ja for guix-patches@gnu.org; Tue, 29 Jun 2021 23:19:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49210] [PATCH v3 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:19:03 +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.162502309826812 (code B ref 49210); Wed, 30 Jun 2021 03:19:03 +0000 Received: (at 49210) by debbugs.gnu.org; 30 Jun 2021 03:18:18 +0000 Received: from localhost ([127.0.0.1]:56086 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyQjx-0006yN-K6 for submit@debbugs.gnu.org; Tue, 29 Jun 2021 23:18:17 -0400 Received: from out0.migadu.com ([94.23.1.103]:31738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyQjj-0006wH-PZ for 49210@debbugs.gnu.org; Tue, 29 Jun 2021 23:18:04 -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=1625023083; 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=M1NvQWyZASUaHRiL7d6rHZG2AxzlEGk6D8oZ/PONk+3+pUpGUAkJXV8qVnZTCVZ7+cItRC 0SSNYhIv4GFa/5/dDGMt4lsM9228h51bU6HGG1tYfAItMqssmyoRZwvc9bjVauYsobJV/t dYGY7HSDxxvEYyjoDzs9ItSCT4eMznzWsGGxGPzxwNpzTvjTM2kpxC8fTd0kDjoBREJPxN 4rOXPDb9CXAuMxKBn2NtMBmgBA6IyHuUIq6vAlZwxpHwqP8qE0Cl9jifEsv3pem0iLK5+4 F7ZQ0adLY62GHiYghAW23vm0FWxOSvfUCZGag/WkPUDD3KizewTkBkt9hb0URQ== Date: Tue, 29 Jun 2021 23:17:43 -0400 Message-Id: <20210630031753.14653-6-rg@raghavgururajan.name> In-Reply-To: <20210630031753.14653-1-rg@raghavgururajan.name> References: <20210630031753.14653-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")