From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QFFVKLXm22B1JAEAgWs5BA (envelope-from ) for ; Wed, 30 Jun 2021 05:36:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id MRbtI7Xm22D6PAAAbx9fmQ (envelope-from ) for ; Wed, 30 Jun 2021 03:36:21 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 69EB5CD55 for ; Wed, 30 Jun 2021 05:36:21 +0200 (CEST) Received: from localhost ([::1]:53396 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lyR1Q-0006kv-EX for larch@yhetil.org; Tue, 29 Jun 2021 23:36:20 -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 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches From: Raghav Gururajan via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.00 Authentication-Results: aspmx1.migadu.com; none X-Migadu-Queue-Id: 69EB5CD55 X-Spam-Score: -4.00 X-Migadu-Scanner: scn0.migadu.com X-TUID: 06mb5x+/EZbe * 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") -- 2.32.0