Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ecc192cd9d | ||
|
|
49d9128945 |
3 changed files with 51 additions and 1 deletions
|
|
@ -0,0 +1,29 @@
|
|||
From 39c0ab8fc0b2277ece593b9b50f79f6e1ccd1fc5 Mon Sep 17 00:00:00 2001
|
||||
From: Daniel Kamil Kozar <dkk089@gmail.com>
|
||||
Date: Thu, 12 Jun 2025 21:43:54 +0200
|
||||
Subject: [PATCH] core_surface.t: test/data/icon.bmp is really 4 bits per pixel
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
||||
---
|
||||
t/core_surface.t | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/t/core_surface.t b/t/core_surface.t
|
||||
index 897536b6..baa962aa 100644
|
||||
--- a/t/core_surface.t
|
||||
+++ b/t/core_surface.t
|
||||
@@ -51,7 +51,7 @@ is( $image->h, 32, 'image has height' );
|
||||
|
||||
my $pixel_format = $image->format;
|
||||
isa_ok( $pixel_format, 'SDL::PixelFormat' );
|
||||
-is( $pixel_format->BitsPerPixel, 8, ' BitsPerPixel' );
|
||||
+is( $pixel_format->BitsPerPixel, 4, ' BitsPerPixel' );
|
||||
is( $pixel_format->BytesPerPixel, 1, ' BytesPerPixel' );
|
||||
is( $pixel_format->Rloss, 8, ' Rloss' );
|
||||
is( $pixel_format->Gloss, 8, ' Gloss' );
|
||||
--
|
||||
2.50.1
|
||||
|
||||
15
gating.yaml
Normal file
15
gating.yaml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
--- !Policy
|
||||
product_versions:
|
||||
- fedora-rawhide
|
||||
decision_context: bodhi_update_push_stable
|
||||
subject_type: koji_build
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpmdeplint.functional}
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- fedora-*
|
||||
decision_context: bodhi_update_push_stable
|
||||
subject_type: koji_build
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.installability.functional}
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis}
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
Name: perl-SDL
|
||||
Version: 2.548
|
||||
Release: 27%{?dist}
|
||||
Release: 28%{?dist}
|
||||
Summary: Simple DirectMedia Layer for Perl
|
||||
# COPYING: GPL-2.0 text
|
||||
# lib/pods/SDL.pod: GPL-1.0-or-later OR Artistic-1.0-Perl
|
||||
|
|
@ -58,6 +58,9 @@ Patch3: SDL-2.548-Fix-reference-counting-in-set_event_filter.patch
|
|||
# <https://github.com/PerlGameDev/SDL/issues/294>, in upstream after 2.548,
|
||||
# <https://github.com/PerlGameDev/SDL/pull/309>
|
||||
Patch4: SDL-2.548-Fix-building-in-ISO-C23.patch
|
||||
# Adapt t/core_surface.t test to SDL3, incompatible with SDL2, bug #2341036,
|
||||
# proposed to upstream, <https://github.com/PerlGameDev/SDL/pull/310>
|
||||
Patch5: SDL-2.548-core_surface.t-test-data-icon.bmp-is-really-4-bits-p.patch
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
BuildRequires: libGLU-devel
|
||||
|
|
@ -186,6 +189,9 @@ find %{buildroot} -type f -name '*.bs' -a -size 0 -delete
|
|||
%{_mandir}/man3/Module::Build::SDL.*
|
||||
|
||||
%changelog
|
||||
* Fri Jul 11 2025 Petr Pisar <ppisar@redhat.com> - 2.548-28
|
||||
- Adapt t/core_surface.t test to SDL3 (bug #2341036)
|
||||
|
||||
* Tue Feb 11 2025 Petr Pisar <ppisar@redhat.com> - 2.548-27
|
||||
- Adapt to GCC 15 (bug #2341036)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue