From patchwork Thu Feb 9 20:47:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Enge X-Patchwork-Id: 46777 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 CBD5C16586; Thu, 9 Feb 2023 20:48:15 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id BD2B71654E for ; Thu, 9 Feb 2023 20:48:14 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pQDpv-0006TW-8O; Thu, 09 Feb 2023 15:48:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pQDpr-0006Jq-GI for guix-patches@gnu.org; Thu, 09 Feb 2023 15:48:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pQDpr-0006FA-2c for guix-patches@gnu.org; Thu, 09 Feb 2023 15:48:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pQDpq-0007Od-CY for guix-patches@gnu.org; Thu, 09 Feb 2023 15:48:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#43906] [PATCH v3] perl-wx Resent-From: Andreas Enge Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 09 Feb 2023 20:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43906 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Malte Frank Gerdes Cc: 43906@debbugs.gnu.org Received: via spool by 43906-submit@debbugs.gnu.org id=B43906.167597565028272 (code B ref 43906); Thu, 09 Feb 2023 20:48:02 +0000 Received: (at 43906) by debbugs.gnu.org; 9 Feb 2023 20:47:30 +0000 Received: from localhost ([127.0.0.1]:33844 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQDpJ-0007Lv-Gb for submit@debbugs.gnu.org; Thu, 09 Feb 2023 15:47:29 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:52938) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQDpH-0007Lf-Aj for 43906@debbugs.gnu.org; Thu, 09 Feb 2023 15:47:28 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id AB06C45A; Thu, 9 Feb 2023 21:47:20 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PiVZ95jLNSlp; Thu, 9 Feb 2023 21:47:19 +0100 (CET) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 88FCA268; Thu, 9 Feb 2023 21:47:19 +0100 (CET) Date: Thu, 9 Feb 2023 21:47:18 +0100 From: Andreas Enge Message-ID: References: <86ft6m2nou.fsf@gmail.com> <20201010195303.GA27775@jurong> <865z7esz81.fsf_-_@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <865z7esz81.fsf_-_@gmail.com> 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Hello, in the meantime, perl-data-uuid had already been added to Guix. I have reimported perl-net-bonjour and perl-growl-gntp and pushed them. Then I have adapted your perl-alien-wxwidgets to modern conventions and pushed it. perl-wx as attached fails with the following message, so I did not test perl-wx-glcanvas: No such 'link' library: 'adv' at /tmp/guix-build-perl-wx-0.9932.drv-0/Wx-0.9932/build/Wx/build/MakeMaker.pm line 212. It looks as if the wxwidgets are not found, which makes me wonder if the perl-alien-wxwidgets package is correct... Is there still interest in slic3r? Wikipedia claims that prusa-slicer (which we have) is an improved fork, but maybe it work only with Prusa printers? If there is no interest, I am going to close the bug. Andreas From f12b8bd68c62c48a5655cda36b38ee7e13a5aa00 Mon Sep 17 00:00:00 2001 Message-Id: From: Andreas Enge Date: Thu, 9 Feb 2023 21:40:09 +0100 Subject: [PATCH] gnu: Add perl-wx. * gnu/packages/wxwidgets.scm (perl-wx): New variable. --- gnu/packages/wxwidgets.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/wxwidgets.scm b/gnu/packages/wxwidgets.scm index c62fc20fec..719a2db56c 100644 --- a/gnu/packages/wxwidgets.scm +++ b/gnu/packages/wxwidgets.scm @@ -371,3 +371,31 @@ (define-public perl-alien-wxwidgets (description "Alien::wxWidgets is a Perl module for detecting and getting configuration settings from an installed wxWidgets package.") (license l:perl-license))) + +(define-public perl-wx + (package + (name "perl-wx") + (version "0.9932") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/M/MD/MDOOTSON/Wx-" + version ".tar.gz")) + (sha256 + (base32 + "0w0vcpk8bmklh16c0z1vxgipnmvdw7cckcmay7k7cihgb99vdz8w")))) + (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 &") + (setenv "DISPLAY" ":1")))))) + (native-inputs (list perl-alien-wxwidgets perl-extutils-xspp + xorg-server-for-tests wxwidgets)) + (propagated-inputs (list perl-alien-wxwidgets)) + (home-page "https://metacpan.org/release/Wx") + (synopsis "Perl interface to the wxWidgets cross-platform GUI toolkit") + (description "The Wx module is a Perl wrapper for the wxWidgets +cross-platform GUI toolkit.") + (license l:perl-license)))