Search Criteria
Package Details: perl-sdl 2.548-15
Package Actions
Git Clone URL: | https://aur.archlinux.org/perl-sdl.git (read-only, click to copy) |
---|---|
Package Base: | perl-sdl |
Description: | Simple DirectMedia Layer for Perl |
Upstream URL: | https://metacpan.org/dist/SDL |
Keywords: | perl |
Licenses: | LGPL |
Submitter: | arojas |
Maintainer: | lighterowl |
Last Packager: | lighterowl |
Votes: | 5 |
Popularity: | 0.021186 |
First Submitted: | 2022-04-01 18:12 (UTC) |
Last Updated: | 2025-06-12 19:59 (UTC) |
Dependencies (17)
- perl (perl-gitAUR)
- perl-alien-sdlAUR
- perl-cpan (perl-gitAUR, perl)
- perl-file-sharedir
- perl-scalar-list-utils (perl-gitAUR, perl)
- perl-tie-simple
- sdl_gfx
- sdl_image
- sdl_mixer
- sdl_net
- sdl_pangoAUR
- sdl_ttf
- perl-capture-tiny (make)
- perl-extutils-cbuilder (perl-gitAUR, perl) (make)
- perl-module-build (make)
- perl-test-most (make)
- perl-test-simple (perl-gitAUR, perl) (make)
Required by (1)
Sources (8)
- avoid-undefined-import.diff
- github-pr304-dont-use-deprecated-macro.diff
- github-pr306-distinguish-owned-and-borrowed.diff
- github-pr308-fix-reference-counting-in-set_event_filter.diff
- github-pr309-fix-boot-sdl-declaration.diff
- github-pr310-core-surface-test-use-4bpp.diff
- https://cpan.metacpan.org/authors/id/F/FR/FROGGS/SDL-2.548.tar.gz
- surface-xs-declare-calc-offset-earlier.diff
Latest Comments
1 2 Next › Last »
lighterowl commented on 2025-06-12 19:58 (UTC)
Thanks DarkShadow44.
I believe the proper value that the test should be using is 4 indeed and this is probably due to a bugfix in SDL itself but I wasn't able to track down the exact commit. See GitHub PR for more info : https://github.com/PerlGameDev/SDL/pull/310
The issue you're referencing has already been fixed in GitHub so I just added a patch generated from the relevant commit.
DarkShadow44 commented on 2025-06-10 20:56 (UTC)
Fails for compile for me
Also got a test failure, but that seems unrelated
I had to disable the tests.
Proposing the following fix: https://gist.github.com/DarkShadow44/fd16336557c93b12cbdf771f7f8b5074 Not 100% sure if that's correct, but it works for frozen bubble, so there's that.
lighterowl commented on 2024-10-25 15:07 (UTC)
Hi @MarsSeed , thanks for the kind words, I adopted that package.
MarsSeed commented on 2024-10-25 14:59 (UTC)
Hi @lighterowl,
I have orphaned the companion package, perl-alien-sdl due little free time and winding down my active focus on Arch Linux.
You might wanna take it under your competent ownership. :)
Cheers.
ketmorco commented on 2024-09-10 18:46 (UTC)
Looks like that works, thanks!
lighterowl commented on 2024-09-02 17:54 (UTC)
Thanks, this is now fixed, must be a compiler/makepkg related change as this should've failed much earlier.
Also added a patch from PR 308 to fix a test failure.
MarsSeed commented on 2024-09-02 08:06 (UTC)
I can verify, this is happening on my end too, in clean chroot. I've rebuilt all AUR dependencies (perl-alien-sdl, sdl_pango) before testing this build.
ketmorco commented on 2024-09-01 21:16 (UTC)
Getting an issue with:
lib/SDLx/Surface.xs: In function ‘get_pixel32’: lib/SDLx/Surface.xs:25:25: error: implicit declaration of function ‘_calc_offset’ [-Wimplicit-function-declaration] 25 | void* s = pixels + _calc_offset(surface, x, y); | ^
~~~ error building lib/SDLx/Surface.o from 'lib/SDLx/Surface.c' at /usr/share/perl5/core_perl/ExtUtils/CBuilder/Base.pm line 185. ==> ERROR: A failure occurred in build().lighterowl commented on 2023-08-09 19:17 (UTC)
Thanks.
core_video.t
worked for me out of the box so I didn't worry too much about it. I added the diff for the PR you mentioned and it still passes, so at least it's not more broken than before.MarsSeed commented on 2023-08-09 00:54 (UTC)
It seems this relatively recent, still open PR#306 fixes a bug relating to
SDL_Surface *
reference ownership, preventing a use-after-free crash manifesting as the reported test failure int/core_video.t
.1 2 Next › Last »