public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/stb] rawhide: Remove stb_image_resize2, now maintained and packaged separately
Date: Thu, 22 Oct 2026 13:22:51 GMT [thread overview]
Message-ID: <179267537167.1.421602466897292095.rpms-stb-b8d04aa7bafd@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/stb
Branch : rawhide
Commit : b8d04aa7bafdc4e34ea4a6c244425418215cbe67
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-10-22T13:58:46+01:00
Stats : +4/-42 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/stb/c/b8d04aa7bafdc4e34ea4a6c244425418215cbe67?branch=rawhide
Log:
Remove stb_image_resize2, now maintained and packaged separately
---
diff --git a/stb.spec b/stb.spec
index fc9874c..4a71727 100644
--- a/stb.spec
+++ b/stb.spec
@@ -22,11 +22,6 @@
# drop it.
%bcond stb_image_resize 1
# This is deprecated upstream as an stb library; it’s actively developed, but
-# in a separate repository, https://github.com/nothings/stb_image_resize.
-# We continue to ship the copy from the deprecated/ directory until we can
-# introduce a new source package to replace it.
-%bcond stb_image_resize2 1
-# This is deprecated upstream as an stb library; it’s actively developed, but
# in a separate repository, https://github.com/nothings/stb_sprintf, and a new
# source package should be introduced if stb_sprintf is ever needed at all.
# We continue to ship the copy from the deprecated/ directory in stable
@@ -305,9 +300,6 @@ Patch: cve-2026-79516.patch
%if %{with stb_image_resize}
%global stb_image_resize_version 0.97
%endif
-%if %{with stb_image_resize2}
-%global stb_image_resize2_version 2.18
-%endif
%global stb_image_write_version 1.16
%if %{with stb_include}
%global stb_include_version 0.2
@@ -374,10 +366,10 @@ Requires: stb_image-static = %{stb_image_version}%{snapinfo}-%{release}
Requires: stb_image_resize-devel%{?_isa} = %{stb_image_resize_version}%{snapinfo}-%{release}
Requires: stb_image_resize-static = %{stb_image_resize_version}%{snapinfo}-%{release}
%endif
-%if %{with stb_image_resize2}
-Requires: stb_image_resize2-devel%{?_isa} = %{stb_image_resize2_version}%{snapinfo}-%{release}
-Requires: stb_image_resize2-static = %{stb_image_resize2_version}%{snapinfo}-%{release}
-%endif
+# These are now packaged separately in the stb_image_resize package. We depend
+# on them only for backwards-compatibility.
+Requires: stb_image_resize2-devel%{?_isa}
+Requires: stb_image_resize2-static
Requires: stb_image_write-devel%{?_isa} = %{stb_image_write_version}%{snapinfo}-%{release}
Requires: stb_image_write-static = %{stb_image_write_version}%{snapinfo}-%{release}
%if %{with stb_include}
@@ -580,19 +572,6 @@ deprecated by its developer; consider porting to stb_image_resize2 instead.
%endif
-%if %{with stb_image_resize2}
-%package -n stb_image_resize2-devel
-Summary: Resize images larger/smaller with good quality
-Version: %{stb_image_resize2_version}%{snapinfo}
-License: MIT OR Unlicense
-
-Provides: stb_image_resize2-static = %{stb_image_resize2_version}%{snapinfo}-%{release}
-
-%description -n stb_image_resize2-devel
-Image resizing.
-%endif
-
-
%package -n stb_image_write-devel
Summary: Image writing to disk: PNG, TGA, BMP
Version: %{stb_image_write_version}%{snapinfo}
@@ -899,10 +878,6 @@ rm '%{buildroot}%{_includedir}/stb/stb_include.h'
install -D --preserve-timestamps --mode=0644 \
--target='%{buildroot}%{_includedir}/stb' deprecated/stb_image_resize.h
%endif
-%if %{with stb_image_resize2}
-install -D --preserve-timestamps --mode=0644 \
- --target='%{buildroot}%{_includedir}/stb' deprecated/stb_image_resize2.h
-%endif
%if %{with stb_sprintf}
install -D --preserve-timestamps --mode=0644 \
--target='%{buildroot}%{_includedir}/stb' deprecated/stb_sprintf.h
@@ -954,9 +929,6 @@ done <<'EOF'
%if %{with stb_image_resize}
%{stb_image_resize_version} stb_image_resize.h
%endif
-%if %{with stb_image_resize2}
-%{stb_image_resize2_version} stb_image_resize2.h
-%endif
%{stb_image_write_version} stb_image_write.h
%if %{with stb_include}
%{stb_include_version} stb_include.h
@@ -1072,16 +1044,6 @@ EOF
%endif
-%if %{with stb_image_resize2}
-%files -n stb_image_resize2-devel
-%license LICENSE
-# Directory has shared ownership across stb subpackages:
-%dir %{_includedir}/stb
-%{_includedir}/stb/stb_image_resize2.h
-%{_includedir}/stb_image_resize2.h
-%endif
-
-
%files -n stb_image_write-devel
%license LICENSE
# Directory has shared ownership across stb subpackages:
reply other threads:[~2026-10-22 13:22 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=179267537167.1.421602466897292095.rpms-stb-b8d04aa7bafd@fedoraproject.org \
--to=code@musicinmybrain.net \
--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