Package Details: perl-wx 0.9932-6

Git Clone URL: https://aur.archlinux.org/perl-wx.git (read-only, click to copy)
Package Base: perl-wx
Description: Interface to the wxWidgets cross-platform GUI toolkit
Upstream URL: https://metacpan.org/dist/Wx
Licenses: GPL, PerlArtistic
Submitter: None
Maintainer: swiftgeek
Last Packager: swiftgeek
Votes: 59
Popularity: 0.000001
First Submitted: 2007-09-20 07:29 (UTC)
Last Updated: 2025-06-15 21:29 (UTC)

Latest Comments

1 2 3 4 5 6 .. 14 Next › Last »

Skeleton3284 commented on 2025-09-20 02:02 (UTC) (edited on 2025-09-20 02:03 (UTC) by Skeleton3284)

Has bug affecting package: perl-wx-perl-processstream

Details: https://groups.google.com/g/linux.debian.bugs.dist/c/66azxiQcVOg

Patch:

From 41bcb4f309b5a8f13dfa9c6d417369938cbe6060 Mon Sep 17 00:00:00 2001
From: Niko Tyni <ntyni@debian.org>
Date: Sun, 10 Jul 2022 16:53:10 +0100
Subject: [PATCH] Explicitly return a string SV from Wx::InputStream::READLINE

Perl 5.35.9 changed SV integer / string handling slightly, resulting in
the return value from READLINE() to evaluate as false regardless of its
string contents, because it is initially created as the integer 0 and no
longer gets marked as a valid string. This broke the Wx-Perl-ProcessStream
distribution test suite.

Fix the regression by explicitly setting SvPOK on the return value,
mirroring the sibling READ() method.

Bug-Debian: https://bugs.debian.org/1014295
---
 XS/Stream.xs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/XS/Stream.xs b/XS/Stream.xs
index b6ef184..f680394 100644
--- a/XS/Stream.xs
+++ b/XS/Stream.xs
@@ -97,6 +97,7 @@ Wx_InputStream::READLINE()
     if( THIS->Eof() ) { XSRETURN_UNDEF; }
     RETVAL = newSViv( 0 );
     buff = SvPV_nolen( RETVAL );
+    SvPOK_on( RETVAL );

     while( THIS->CanRead() && THIS->Read( &c, 1 ).LastRead() != 0 )
     {
-- 
2.35.2

bartus commented on 2025-06-14 12:13 (UTC)

@kamazeuci: wxgtk3 is no longer named in privides in the wxwidgets package in the extra repo: https://gitlab.archlinux.org/archlinux/packaging/packages/wxwidgets/-/commit/4ae50eba64c974e7f72df935283059225771c735

Please use the wxwidgets-gtk3 package in the depends[] array.

kamazeuci commented on 2025-06-09 22:07 (UTC)

I can't update my system because wxwidgets-gtk3 (3.2.8.1-2) breaks dependency 'wxgtk3' required by perl-wx

sl1pkn07 commented on 2024-09-16 01:16 (UTC)

ok. i fixed my problem: damm you wxUSE_UNICODE_UTF8!!!

as note, check() works for me

greetings

GaryScottMartin commented on 2024-09-09 22:02 (UTC)

Same problem as micwoj92. My log is virtually identical.

micwoj92 commented on 2024-07-07 21:09 (UTC)

Check fails, log here: https://gist.github.com/micwoj92/83a3cbd1569676daf27d7a33258cfee0

MarsSeed commented on 2023-08-11 17:14 (UTC)

Hi,

Please kindly make this depend directly on wxwidgets-gtk3 and not the legacy name wxgtk3. To allow users to use other providers of the former, which are available on AUR (wxwidgets-gtk3-git, wxwidgets-gtk3-light, wxwidgets-gtk3-wayland-perf). Thank you in advance.

sl1pkn07 commented on 2023-02-25 19:47 (UTC) (edited on 2023-02-25 19:52 (UTC) by sl1pkn07)

rebuild perl-alien-wxwidgets not works for me (i mean. perl-alien-wxwidgets builds and detect the right wx version and install everithyng OK, but fails if, se the next statement), perl-wx fails as pointed out in https://aur.archlinux.org/packages/perl-wx#comment-901006

greetigs

mat commented on 2023-02-10 14:00 (UTC)

Ah, yes, I see, it gets wx from perl-alien-wxwidgets, which has not been updated after the latest wx updates :( Thank you for the pointer.

swiftgeek commented on 2023-02-08 13:57 (UTC) (edited on 2023-02-08 13:59 (UTC) by swiftgeek)

Sorry miswrote, correction:

(...) or perl-alien-wxwidgets needs a rebuild