From: Andreas Enge <andreas@enge.fr>
To: Malte Frank Gerdes <malte.f.gerdes@gmail.com>
Cc: 43906@debbugs.gnu.org
Subject: [bug#43906] [PATCH v3] perl-wx
Date: Thu, 9 Feb 2023 21:47:18 +0100 [thread overview]
Message-ID: <Y+Vb1ieJBGCQzwgH@jurong> (raw)
In-Reply-To: <865z7esz81.fsf_-_@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 771 bytes --]
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
[-- Attachment #2: 0001-gnu-Add-perl-wx.patch --]
[-- Type: text/plain, Size: 1997 bytes --]
From f12b8bd68c62c48a5655cda36b38ee7e13a5aa00 Mon Sep 17 00:00:00 2001
Message-Id: <f12b8bd68c62c48a5655cda36b38ee7e13a5aa00.1675975292.git.andreas@enge.fr>
From: Andreas Enge <andreas@enge.fr>
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)))
--
2.39.1
next prev parent reply other threads:[~2023-02-09 20:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-10 13:52 [bug#43906] [PATCH] Add missing dependencies of Slic3r Malte Frank Gerdes
2020-10-10 19:53 ` Andreas Enge
2020-10-10 20:26 ` Tobias Geerinckx-Rice via Guix-patches via
2020-10-13 19:27 ` [bug#43906] [PATCH v2] perl-alien-wxwidgets Malte Frank Gerdes
2023-02-09 20:47 ` Andreas Enge [this message]
2023-02-18 11:05 ` bug#43906: [PATCH v3] perl-wx Andreas Enge
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Y+Vb1ieJBGCQzwgH@jurong \
--to=andreas@enge.fr \
--cc=43906@debbugs.gnu.org \
--cc=malte.f.gerdes@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).