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.84
Date: Tue, 09 Jun 2026 20:12:13 GMT [thread overview]
Message-ID: <178103593363.1.14742025667210401807.rpms-perl-GD-953a4285f10d@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/perl-GD
Branch : epel9
Commit : 953a4285f10d0c8e0335c7d939ad1963c4800a6d
Author : Paul Howarth <paul@city-fan.org>
Date : 2026-01-05T09:59:58+00:00
Stats : +44/-8 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/perl-GD/c/953a4285f10d0c8e0335c7d939ad1963c4800a6d?branch=epel9
Log:
Update to 2.84
- New upstream release 2.84
- Added Makefile.PL --with and --without options to bypass autodetection
errors or upstream libgd or subsequent library errors (GH#55)
- Better support MSWin32 without gdlib.pc (requires manual --options and
--lib_gd_path)
- Work around broken ExtUtils::PkgConfig->find (GH#61)
- Fixed snprintf for newer MSVC (>= VS 2015)
- Added GD::Image::supported() image types method
- Added newFromTiffData() method
- Fixed t/GD.t for unsupported image types
- Add GIFANIM to the default since 2.0.33 (GH#56)
- Honor PKG_CONFIG_PATH for finding gdlib.pc (GH#57)
- Add demos/png2jpeg.pl
- Don't disable XPM support if GD config doesn't explicitly require -lX11
- Use %{make_build} and %{make_install}
---
diff --git a/GD-2.84-XPM.patch b/GD-2.84-XPM.patch
new file mode 100644
index 0000000..d93435b
--- /dev/null
+++ b/GD-2.84-XPM.patch
@@ -0,0 +1,11 @@
+--- Makefile.PL
++++ Makefile.PL
+@@ -273,7 +273,7 @@ if( defined($options) )
+ $JPEG = $options =~ m/JPEG/i;
+ $GD2 = $options =~ m/GD2/i;
+ $FT = $options =~ m/FT|FREETYPE/i;
+- $XPM = $options =~ m/XPM/i && join(' ',@LIBS) =~ m/X11/;
++ $XPM = $options =~ m/XPM/i;
+ # strawberry has -lXpm without -lX11
+ if (!$XPM && join(' ',@LIBS) =~ m/-lXpm/) {
+ print "Remove -lXpm and XPM feature without -lX11\n" if $options =~ m/XPM/i;
diff --git a/perl-GD.spec b/perl-GD.spec
index 3f56b49..3f04a9d 100644
--- a/perl-GD.spec
+++ b/perl-GD.spec
@@ -1,11 +1,12 @@
Name: perl-GD
-Version: 2.83
-Release: 5%{?dist}
+Version: 2.84
+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
Patch1: GD-2.77-cflags.patch
+Patch2: GD-2.84-XPM.patch
# Module Build
BuildRequires: coreutils
BuildRequires: findutils
@@ -17,7 +18,7 @@ BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(Config)
BuildRequires: perl(ExtUtils::Constant) >= 0.23
-BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(ExtUtils::PkgConfig)
BuildRequires: perl(File::Basename)
BuildRequires: perl(File::Spec)
@@ -60,18 +61,25 @@ create PNG images on the fly or modify existing files.
# Upstream wants -Wformat=1 but we don't
%patch -P 1
+# Don't disable XPM support if GD config doesn't explicitly require -lX11
+%patch -P 2
+
# Fix shellbangs in sample scripts
perl -pi -e 's|/usr/local/bin/perl\b|%{__perl}|' \
demos/{*.{pl,cgi},truetype_test}
+chmod -c -x demos/png2jpeg.pl
%build
-perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
-make
+perl Makefile.PL \
+ INSTALLDIRS=vendor \
+ NO_PACKLIST=1 \
+ NO_PERLLOCAL=1 \
+ OPTIMIZE="%{optflags}"
+%{make_build}
%install
-make pure_install DESTDIR=%{buildroot}
+%{make_install}
find %{buildroot} -type f -name '*.bs' -empty -delete
-find %{buildroot} -type f -name .packlist -delete
%{_fixperms} -c %{buildroot}
%check
@@ -93,6 +101,23 @@ make test TEST_VERBOSE=1
%{_mandir}/man3/GD::Simple.3*
%changelog
+* Mon Jan 5 2026 Paul Howarth <paul@city-fan.org> - 2.84-1
+- Update to 2.84
+ - Added Makefile.PL --with and --without options to bypass autodetection
+ errors or upstream libgd or subsequent library errors (GH#55)
+ - Better support MSWin32 without gdlib.pc (requires manual --options and
+ --lib_gd_path)
+ - Work around broken ExtUtils::PkgConfig->find (GH#61)
+ - Fixed snprintf for newer MSVC (>= VS 2015)
+ - Added GD::Image::supported() image types method
+ - Added newFromTiffData() method
+ - Fixed t/GD.t for unsupported image types
+ - Add GIFANIM to the default since 2.0.33 (GH#56)
+ - Honor PKG_CONFIG_PATH for finding gdlib.pc (GH#57)
+ - Add demos/png2jpeg.pl
+- Don't disable XPM support if GD config doesn't explicitly require -lX11
+- Use %%{make_build} and %%{make_install}
+
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.83-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
diff --git a/sources b/sources
index bf2ce81..5d150ab 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (GD-2.83.tar.gz) = 65080a18ff675b7997a4425dcd9c8171e7d4cd5d53f499541caa7a0d85399ecffa04cae742ffcf8a0f2102a446ea46ecac45293fe14637b6d8a56d589c8c95cf
+SHA512 (GD-2.84.tar.gz) = 2de86591f9e1032389f79262649148e3a49f4633b1d749e8f02474d995f48942cc513a0c0ee0cac34030b75736e7e1ec9b0474d5ee5eea18ba40291f6ae3977c
reply other threads:[~2026-06-09 20:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=178103593363.1.14742025667210401807.rpms-perl-GD-953a4285f10d@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