public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Paul Howarth <paul@city-fan.org>
To: git-commits@fedoraproject.org
Subject: [rpms/perl-GD] epel9: Update to 2.76
Date: Tue, 09 Jun 2026 20:12:06 GMT	[thread overview]
Message-ID: <178103592650.1.8944710256592598631.rpms-perl-GD-586a43eebcc5@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/perl-GD
            Branch : epel9
            Commit : 586a43eebcc51efd99fec43e202973754154ad86
            Author : Paul Howarth <paul@city-fan.org>
            Date   : 2023-05-29T10:59:07+01:00
            Stats  : +22/-39 in 5 file(s)
            URL    : https://src.fedoraproject.org/rpms/perl-GD/c/586a43eebcc51efd99fec43e202973754154ad86?branch=epel9

            Log:
            Update to 2.76

- New upstream release 2.76
  - Add BMP support with libgd 2.1.0 (GH#49J
  - Don't link to -lXPM without XPM nor X11 (GH#45)
  - Rename ANIMGIF feature to GIFANIM
  - Fix unused variable failure in GH CI (CPAN RT#141125)

---
diff --git a/GD-2.70-cflags.patch b/GD-2.70-cflags.patch
deleted file mode 100644
index fab1d98..0000000
--- a/GD-2.70-cflags.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.PL
-+++ Makefile.PL
-@@ -259,7 +259,7 @@ print F $DEFINES,"\n";
- close F;
- 
- my $CCFLAGS = $Config{ccflags};
--$CCFLAGS .= " -Wall -Wextra -Wformat=1" if $Config{gccversion} and $] > 5.020;
-+$CCFLAGS .= " -Wall -Wextra" if $Config{gccversion} and $] > 5.020;
- # hardened CFLAGS for testing
- #$CCFLAGS .= ' -D_GNU_SOURCE -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches';
- 

diff --git a/GD-2.74-utf8.patch b/GD-2.74-utf8.patch
deleted file mode 100644
index fd44f41..0000000
--- a/GD-2.74-utf8.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- ChangeLog
-+++ ChangeLog
-@@ -3,7 +3,7 @@
-         * added Github actions (for PR's)
-         * fix poly->transform documentation RT #140043
-         * fix GD,GD2 detection and tests RT #139399 (since libgd 2.3.3)
--          fixed tests by H�kon H�gland.
-+          fixed tests by Håkon Hægland.
-         * POD: Remove indirect object constructors from example code snippet (PR #39)
-         * patch from Ben Crowell that fixes incorrect behaviour of GD::Simple->fontMetrics
-         * fix cross-compilation if gdlib.pc has no cflags by Fabrice Fontaine
-@@ -145,7 +145,7 @@
- 2.18	This version needs libgd 2.0.28 or higher.
- 	Fixed documentation bug in synopsis of GD::Simple.
- 	Updated Polyline to version 0.20
--2.17	Added animated GIF patches from Jaakko Hyv�tti.
-+2.17	Added animated GIF patches from Jaakko Hyvätti.
- 	Added dynamic bitmapped font loading support.
- 	Added fontconfig support.
- 	Added a simplified API called GD::Simple.

diff --git a/GD-2.77-cflags.patch b/GD-2.77-cflags.patch
new file mode 100644
index 0000000..087b860
--- /dev/null
+++ b/GD-2.77-cflags.patch
@@ -0,0 +1,11 @@
+--- Makefile.PL
++++ Makefile.PL
+@@ -339,7 +339,7 @@ print F $DEFINES,"\n";
+ close F;
+ 
+ my $CCFLAGS = $Config{ccflags};
+-$CCFLAGS .= " -Wall -Wextra -Wformat=1" if $Config{gccversion} and $] > 5.020;
++$CCFLAGS .= " -Wall -Wextra" if $Config{gccversion} and $] > 5.020;
+ # hardened CFLAGS for testing
+ #$CCFLAGS .= ' -D_GNU_SOURCE -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches';
+ my $LDDLFLAGS = $Config{lddlflags};

diff --git a/perl-GD.spec b/perl-GD.spec
index 192e4ad..e3e3582 100644
--- a/perl-GD.spec
+++ b/perl-GD.spec
@@ -1,12 +1,11 @@
 Name:           perl-GD
-Version:        2.76
-Release:        4%{?dist}
+Version:        2.77
+Release:        1%{?dist}
 Summary:        Perl interface to the GD graphics library
 License:        GPL-1.0-or-later OR Artistic-2.0
 URL:            https://metacpan.org/release/GD
 Source0:        https://cpan.metacpan.org/modules/by-module/GD/GD-%{version}.tar.gz
-Patch0:         GD-2.74-utf8.patch
-Patch1:         GD-2.70-cflags.patch
+Patch1:         GD-2.77-cflags.patch
 # Module Build
 BuildRequires:  coreutils
 BuildRequires:  findutils
@@ -54,9 +53,6 @@ create PNG images on the fly or modify existing files.
 %prep
 %setup -q -n GD-%{version}
 
-# Re-code documentation as UTF8
-%patch -P 0
-
 # Upstream wants -Wformat=1 but we don't
 %patch -P 1
 
@@ -93,6 +89,13 @@ make test TEST_VERBOSE=1
 %{_mandir}/man3/GD::Simple.3*
 
 %changelog
+* Mon May 29 2023 Paul Howarth <paul@city-fan.org> - 2.77-1
+- Update to 2.76
+  - Add BMP support with libgd 2.1.0 (GH#49J
+  - Don't link to -lXPM without XPM nor X11 (GH#45)
+  - Rename ANIMGIF feature to GIFANIM
+  - Fix unused variable failure in GH CI (CPAN RT#141125)
+
 * Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.76-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
 

diff --git a/sources b/sources
index 3f75a16..5aab806 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (GD-2.76.tar.gz) = 31c2d61440a7fef9804aed677ee5568f6c237e678cf5a2b7f48e98326ef7cddbf3624ce3965e6711ef9cec4148881a0cb4352c19b91ead4b78835fafaeefbe4d
+SHA512 (GD-2.77.tar.gz) = de794793bdd4d965bf42a5de0f0d622f037700d9db0e94a1cc20dad8dc1b35003dd15bf3352da1dc63072e079ee91367620806f992d0d3dd0c63baa016fa5268

             reply	other threads:[~2026-06-09 20:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-09 20:12 Paul Howarth [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-06-09 20:12 [rpms/perl-GD] epel9: Update to 2.76 Paul Howarth

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178103592650.1.8944710256592598631.rpms-perl-GD-586a43eebcc5@fedoraproject.org \
    --to=paul@city-fan.org \
    --cc=git-commits@fedoraproject.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox