public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/asymptote] rawhide: update tinyexr bundle to 3.4.0
@ 2026-11-24 19:36 Tom spot Callaway
  0 siblings, 0 replies; only message in thread
From: Tom spot Callaway @ 2026-11-24 19:36 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/asymptote
Branch : rawhide
Commit : 61edb3c192cb723ab4ad735d98f94d651801bb7f
Author : Tom spot Callaway <spotaws@amazon.com>
Date   : 2026-11-24T14:33:07-05:00
Stats  : +34/-4 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/asymptote/c/61edb3c192cb723ab4ad735d98f94d651801bb7f?branch=rawhide

Log:
update tinyexr bundle to 3.4.0

---
diff --git a/.gitignore b/.gitignore
index 4452687..759a593 100644
--- a/.gitignore
+++ b/.gitignore
@@ -63,3 +63,4 @@ asymptote-2.03.src.tgz
 /asymptote-3.09.src.tgz
 /asymptote-3.13.src.tgz
 /asymptote-3.16.src.tgz
+/v3.4.0.tar.gz

diff --git a/asymptote-tinyexr-3.4.0.patch b/asymptote-tinyexr-3.4.0.patch
new file mode 100644
index 0000000..dce2cec
--- /dev/null
+++ b/asymptote-tinyexr-3.4.0.patch
@@ -0,0 +1,12 @@
+diff -up asymptote-3.16/Makefile.in.tinyexr-3.4.0 asymptote-3.16/Makefile.in
+--- asymptote-3.16/Makefile.in.tinyexr-3.4.0	2026-11-24 14:17:44.480027643 -0500
++++ asymptote-3.16/Makefile.in	2026-11-24 14:18:08.815664357 -0500
+@@ -449,7 +449,7 @@ define install-license-files
+ 	${INSTALL} -p -m 644 LspCpp/LICENSE $(1)/LspCpp-LICENSE.txt
+ 	${INSTALL} -p -m 644 libatomic_ops/LICENSE $(1)/libatomic_ops-LICENSE.txt
+ 	${INSTALL} -p -m 644 libatomic_ops/COPYING $(1)/libatomic_ops-COPYING.txt
+-	${INSTALL} -p -m 644 tinyexr/LICENSE.txt $(1)/tinyexr-LICENSE.txt
++	${INSTALL} -p -m 644 tinyexr/LICENSE $(1)/tinyexr-LICENSE.txt
+ 	${INSTALL} -p -m 644 gc/README.md $(1)/gc-LICENSE.txt
+ 	${INSTALL} -p -m 644 webgl/gl-matrix-license $(1)/gl-matrix-LICENSE.md
+ endef

diff --git a/asymptote.spec b/asymptote.spec
index a633711..76f597d 100644
--- a/asymptote.spec
+++ b/asymptote.spec
@@ -1,6 +1,8 @@
+%global tinyexrv 3.4.0
+
 Name:           asymptote
 Version:        3.16
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Descriptive vector graphics language
 
 # LGPL-3.0-or-later: the project as a whole
@@ -38,6 +40,9 @@ URL:            https://asymptote.sourceforge.io/
 Source0:        https://download.sourceforge.net/sourceforge/asymptote/asymptote-%{version}.src.tgz
 Source1:        io.github.vectorgraphics.asymptote.desktop
 Source2:        io.github.vectorgraphics.asymptote.metainfo.xml
+# Need current tinyexr for security fixes
+Source3:        https://github.com/syoyo/tinyexr/archive/refs/tags/v%{tinyexrv}.tar.gz
+
 Patch0:         asymptote-2.84-settings.patch
 # This doesn't need to go upstream. We put the info file in the topdir, not a subdir, so we need this fix.
 Patch1:         asymptote-2.73-info-path-fix.patch
@@ -46,9 +51,11 @@ Patch2:         asymptote-3.13-flexiblas.patch
 # Unbundle glew
 Patch3:         asymptote-3.16-unbundle-glew.patch
 # Fix gc linking
-Patch4:		asymptote-3.16-gc-link-fix.patch
+Patch4:         asymptote-3.16-gc-link-fix.patch
 # Fix 32bit architectures (why???)
-Patch5:		asymptote-3.16-vulkan-32bit-handles.patch
+Patch5:         asymptote-3.16-vulkan-32bit-handles.patch
+# Adjust for tinyexr 3.4.0
+Patch6:         asymptote-tinyexr-%{tinyexrv}.patch
 
 BuildRequires:  gcc-c++
 BuildRequires:  bison, flex
@@ -103,7 +110,7 @@ Recommends:     evince, xdg-utils
 
 Provides:       bundled(LspCpp) = 1.0.0
 Provides:       bundled(gl-matrix) = 2.4.0
-Provides:       bundled(tinyexr) = 1.0.1
+Provides:       bundled(tinyexr) = %{tinyexrv}
 
 %global texpkgdir   %{_texmf}/tex/latex/%{name}
 
@@ -121,6 +128,7 @@ that LaTeX does for scientific text.
 %patch -P3 -p1 -b .glew
 %patch -P4 -p1 -b .gcfix
 %patch -P5 -p1 -b .32bit
+%patch -P6 -p1 -b .tinyexr-%{tinyexrv}
 sed -i 's/\r//' doc/CAD1.asy
 
 # Make sure the bundled glew cannot be used
@@ -137,6 +145,11 @@ for f in GUI/*.py; do
   fi
 done
 
+# replace tinyexr bundle
+mv tinyexr tinyexr.old
+tar xf %{SOURCE3}
+mv tinyexr-%{tinyexrv} tinyexr
+
 %build
 export CPPFLAGS='-I%{_includedir}/eigen3 -I%{_includedir}/tirpc'
 export LIBS='-lflexiblas '
@@ -221,6 +234,9 @@ fi
 %{_emacs_sitelispdir}/%{name}/
 
 %changelog
+* Tue Nov 24 2026 Tom Callaway <spot@fedoraproject.org> - 3.16-2
+- update bundled copy of tinyexr to 3.4.0
+
 * Mon Nov 16 2026 Tom Callaway <spot@fedoraproject.org> - 3.16-1
 - update to 3.16
 

diff --git a/sources b/sources
index 70b4d02..57beb38 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
 SHA512 (asymptote-3.16.src.tgz) = ab415e0a127a362f51b50a1fa14809e6ba939bab13ba0aba8c15ad6f2f7d1ffd7413eca5c0227167465e018fe379f1b4143ff00e161a839346a959e2822029ba
+SHA512 (v3.4.0.tar.gz) = c113dcb6668906164dc3af38f8e295f0b22caf316f3cb5ecff0e84ed77a5a7084f9bfa65be2d91ad163c615c3e43cc5dbef723ac87566bf596a8f4ee71daabb3

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-24 19:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-24 19:36 [rpms/asymptote] rawhide: update tinyexr bundle to 3.4.0 Tom spot Callaway

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox