public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Tom spot Callaway <spotaws@amazon.com>
To: git-commits@fedoraproject.org
Subject: [rpms/asymptote] f45: update to 3.16
Date: Tue, 24 Nov 2026 18:20:04 GMT [thread overview]
Message-ID: <179554440415.1.10889672394815592112.rpms-asymptote-7bdd513d0cae@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/asymptote
Branch : f45
Commit : 7bdd513d0cae050bc91646a1f986a0ef57833c50
Author : Tom spot Callaway <spotaws@amazon.com>
Date : 2026-11-17T09:37:59-05:00
Stats : +98/-74 in 7 file(s)
URL : https://src.fedoraproject.org/rpms/asymptote/c/7bdd513d0cae050bc91646a1f986a0ef57833c50?branch=f45
Log:
update to 3.16
---
diff --git a/.gitignore b/.gitignore
index c834383..4452687 100644
--- a/.gitignore
+++ b/.gitignore
@@ -62,3 +62,4 @@ asymptote-2.03.src.tgz
/asymptote-3.06.src.tgz
/asymptote-3.09.src.tgz
/asymptote-3.13.src.tgz
+/asymptote-3.16.src.tgz
diff --git a/asymptote-3.13-gc-link-fix.patch b/asymptote-3.13-gc-link-fix.patch
deleted file mode 100644
index 5e8b24b..0000000
--- a/asymptote-3.13-gc-link-fix.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up asymptote-3.13/configure.ac.gcfix asymptote-3.13/configure.ac
---- asymptote-3.13/configure.ac.gcfix 2026-08-28 13:37:25.463738429 -0400
-+++ asymptote-3.13/configure.ac 2026-08-28 13:38:01.121191901 -0400
-@@ -404,7 +404,7 @@ AC_ARG_ENABLE(gc,
-
- if test "x$enable_gc" != "xno" ; then
- AC_DEFINE(USEGC,1,[GC Enabled])
-- GCLIB="\$(GC)/.libs/libgc.a"
-+ GCLIB="-lgc "
- INCL=$INCL"-I\$(GC)/include "
- AC_MSG_NOTICE([$GCNAME is enabled])
- else
diff --git a/asymptote-3.13-unbundle-glew.patch b/asymptote-3.13-unbundle-glew.patch
deleted file mode 100644
index aea15af..0000000
--- a/asymptote-3.13-unbundle-glew.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-diff -up asymptote-3.13/configure.ac.glew asymptote-3.13/configure.ac
---- asymptote-3.13/configure.ac.glew 2026-08-28 13:34:21.307548143 -0400
-+++ asymptote-3.13/configure.ac 2026-08-28 13:35:22.043458119 -0400
-@@ -663,7 +663,7 @@ case "$OSTYPE" in
- [AC_DEFINE(HAVE_LIBGL,1,
- DEFINE_LIB([GL]))
- ASY_GL_LIBS="-lGL "
-- GLEW="glew.o "
-+ GLEW="-lGLEW "
- INCL=$INCL" -Ibackports/glew/include"],
- AC_MSG_NOTICE([*** Could not find libGL: will compile without OpenGL support ***]))
- LIBS=$LIBS_SAVE
-diff -up asymptote-3.13/glrender.h.glew asymptote-3.13/glrender.h
---- asymptote-3.13/glrender.h.glew 2026-07-09 15:44:45.000000000 -0400
-+++ asymptote-3.13/glrender.h 2026-08-28 13:35:58.664023930 -0400
-@@ -19,6 +19,7 @@
- #define GL_SILENCE_DEPRECATION
- #endif
- #include "GL/glew.h"
-+#define APIENTRY
-
- #ifdef __APPLE__
- #include <OpenGL/gl.h>
-diff -up asymptote-3.13/Makefile.in.glew asymptote-3.13/Makefile.in
---- asymptote-3.13/Makefile.in.glew 2026-07-09 15:44:45.000000000 -0400
-+++ asymptote-3.13/Makefile.in 2026-08-28 13:36:44.366330481 -0400
-@@ -303,7 +303,7 @@ doc/version.texi: version.txt
- echo @set Datadir @datadir@ >> $@
- echo @set Docdir @docdir@ >> $@
-
--asymptote.so: $(COREFILES:=.pic.o) glew.o
-+asymptote.so: $(COREFILES:=.pic.o)
- $(CXX) $(OPTS) -shared -o asymptote.so revision.o $(COREFILES:=.pic.o) $(SHAREDLIBS)
-
- $(LSP_ROOT)/liblspcpp.a: $(GCLIB)
-@@ -604,19 +604,6 @@ check-all: asy FORCE
- ./wce
- $(MAKE) -C tests all
-
--glew.o: glew.c config.h
-- $(CC) $(GLEWOPTS) -o $@ -c $<
--
--# glew.c needs its own .d rule because MAKEDEPEND contains -std=c++17 (via
--# PREPROC_OPTS), which clang rejects for C files. Use GLEWOPTS instead, and
--# strip MACOS_ARCH_FLAGS since clang rejects multiple -arch with -M.
--glew.d: glew.c config.h
-- @echo Creating $@; \
-- rm -f $@; \
-- $(CC) $(filter-out $(MACOS_ARCH_FLAGS),$(GLEWOPTS)) -O0 -M -MG -MP -DDEPEND $< > $@.$$$$ 2>/dev/null && \
-- sed 's,\(glew\)\.o[ :]*,\1.o : ,g' < $@.$$$$ > $@; \
-- rm -f $@.$$$$
--
- .SUFFIXES: .c .cc .o .d .ui .py
- %.o: %.cc $(GENERATEDENUMS:=.h) $(RUNTIME_FILES:=.cc)
- $(CXX) $(OPTS) -o $@ -c $<
diff --git a/asymptote-3.16-gc-link-fix.patch b/asymptote-3.16-gc-link-fix.patch
new file mode 100644
index 0000000..d504387
--- /dev/null
+++ b/asymptote-3.16-gc-link-fix.patch
@@ -0,0 +1,32 @@
+diff -up asymptote-3.16/configure.ac.gcfix asymptote-3.16/configure.ac
+--- asymptote-3.16/configure.ac.gcfix 2026-11-16 16:27:52.549884719 -0500
++++ asymptote-3.16/configure.ac 2026-11-16 16:27:52.551080703 -0500
+@@ -478,7 +478,7 @@ AC_ARG_ENABLE(gc,
+
+ if test "x$enable_gc" != "xno" ; then
+ AC_DEFINE(USEGC,1,[GC Enabled])
+- GCLIB="\$(GC)/.libs/libgc.a"
++ GCLIB="-lgc "
+ INCL=$INCL"-I\$(GC)/include "
+ AC_MSG_NOTICE([$GCNAME is enabled])
+ else
+diff -up asymptote-3.16/Makefile.in.gcfix asymptote-3.16/Makefile.in
+--- asymptote-3.16/Makefile.in.gcfix 2026-11-16 16:29:18.650555544 -0500
++++ asymptote-3.16/Makefile.in 2026-11-16 16:29:43.326102762 -0500
+@@ -339,16 +339,6 @@ $(GCSTAMP): FORCE
+ $(SILENT_MAKE)echo "$(GCBUILDFLAGS)" > $@.tmp; \
+ if cmp -s $@.tmp $@; then rm -f $@.tmp; else mv $@.tmp $@; fi
+
+-# Depending on the stamp rebuilds gc when its build settings change: otherwise a
+-# reconfigure that turns on, say, universal macOS binaries would leave the old
+-# library in place and asy would fail to link against it.
+-$(GCLIB): $(GCSTAMP)
+- -cd $(GC) && ln -sf ../libatomic_ops libatomic_ops
+- cd $(GC) && \
+- ./configure CC="$(CC)" CXX="$(CXX)" CFLAGS="$(MACOS_CFLAGS) $(GC_CFLAGS)" CXXFLAGS="$(MACOS_CFLAGS) $(CXXFLAGS)" $(GCOPTIONS)
+- $(MAKE) -C $(GC) all CFLAGS_EXTRA="$(MACOS_CFLAGS)"
+- $(MAKE) -C $(GC) check CFLAGS_EXTRA="$(MACOS_CFLAGS)"
+-
+ sty: doc/version.texi
+ cd doc && $(MAKE) asy-latex.pdf
+
diff --git a/asymptote-3.16-unbundle-glew.patch b/asymptote-3.16-unbundle-glew.patch
new file mode 100644
index 0000000..59258d1
--- /dev/null
+++ b/asymptote-3.16-unbundle-glew.patch
@@ -0,0 +1,55 @@
+diff -up asymptote-3.16/configure.ac.glew asymptote-3.16/configure.ac
+--- asymptote-3.16/configure.ac.glew 2026-11-16 15:54:02.871241545 -0500
++++ asymptote-3.16/configure.ac 2026-11-16 15:54:02.872445918 -0500
+@@ -739,7 +739,7 @@ case "$OSTYPE" in
+ [AC_DEFINE(HAVE_LIBGL,1,
+ DEFINE_LIB([GL]))
+ ASY_GL_LIBS="-lGL "
+- GLEW="glew.o "
++ GLEW="-lGLEW "
+ INCL=$INCL" -Ibackports/glew/include"],
+ AC_MSG_NOTICE([*** Could not find libGL: will compile without OpenGL support ***]))
+ LIBS=$LIBS_SAVE
+diff -up asymptote-3.16/glrender.h.glew asymptote-3.16/glrender.h
+--- asymptote-3.16/glrender.h.glew 2026-11-13 17:44:41.000000000 -0500
++++ asymptote-3.16/glrender.h 2026-11-16 15:54:02.872609469 -0500
+@@ -19,6 +19,7 @@
+ #define GL_SILENCE_DEPRECATION
+ #endif
+ #include "GL/glew.h"
++#define APIENTRY
+
+ #ifdef __APPLE__
+ #include <OpenGL/gl.h>
+diff -up asymptote-3.16/Makefile.in.glew asymptote-3.16/Makefile.in
+--- asymptote-3.16/Makefile.in.glew 2026-11-13 17:44:41.000000000 -0500
++++ asymptote-3.16/Makefile.in 2026-11-16 15:55:04.877056456 -0500
+@@ -322,7 +322,7 @@ doc/version.texi: version.txt
+ echo @set Datadir @datadir@ >> $@
+ echo @set Docdir @docdir@ >> $@
+
+-asymptote.so: $(COREFILES:=.pic.o) glew.o
++asymptote.so: $(COREFILES:=.pic.o)
+ $(CXX) $(OPTS) -shared -o asymptote.so revision.o $(COREFILES:=.pic.o) $(SHAREDLIBS)
+
+ $(LSP_ROOT)/build/liblspcpp.a: $(GCLIB)
+@@ -655,19 +655,6 @@ check-all: asy FORCE
+ ./wce
+ $(MAKE) -C tests all
+
+-glew.o: glew.c config.h
+- $(CC) $(GLEWOPTS) -o $@ -c $<
+-
+-# glew.c needs its own .d rule because MAKEDEPEND contains -std=c++17 (via
+-# PREPROC_OPTS), which clang rejects for C files. Use GLEWOPTS instead, and
+-# strip MACOS_ARCH_FLAGS since clang rejects multiple -arch with -M.
+-glew.d: glew.c config.h
+- @echo Creating $@; \
+- rm -f $@; \
+- $(CC) $(filter-out $(MACOS_ARCH_FLAGS),$(GLEWOPTS)) -O0 -M -MG -MP -DDEPEND $< > $@.$$$$ 2>/dev/null && \
+- sed 's,\(glew\)\.o[ :]*,\1.o : ,g' < $@.$$$$ > $@; \
+- rm -f $@.$$$$
+-
+ .SUFFIXES: .c .cc .o .d .ui .py
+ %.o: %.cc $(GENERATEDENUMS:=.h) $(RUNTIME_FILES:=.cc)
+ $(CXX) $(OPTS) -o $@ -c $<
diff --git a/asymptote.spec b/asymptote.spec
index a1ba017..ee0b58b 100644
--- a/asymptote.spec
+++ b/asymptote.spec
@@ -1,6 +1,6 @@
Name: asymptote
-Version: 3.13
-Release: 2%{?dist}
+Version: 3.16
+Release: 1%{?dist}
Summary: Descriptive vector graphics language
# LGPL-3.0-or-later: the project as a whole
@@ -44,9 +44,9 @@ Patch1: asymptote-2.73-info-path-fix.patch
# Link with flexiblas instead of gslcblas
Patch2: asymptote-3.13-flexiblas.patch
# Unbundle glew
-Patch3: asymptote-3.13-unbundle-glew.patch
+Patch3: asymptote-3.16-unbundle-glew.patch
# Fix gc linking
-Patch4: asymptote-3.13-gc-link-fix.patch
+Patch4: asymptote-3.16-gc-link-fix.patch
BuildRequires: gcc-c++
BuildRequires: bison, flex
@@ -86,7 +86,7 @@ BuildRequires: ghostscript-tools-dvipdf
BuildRequires: glm-devel, glslang-devel
BuildRequires: boost-devel, rapidjson-devel
BuildRequires: cmake, make, python3-qt5
-BuildRequires: vulkan-headers, glfw-devel
+BuildRequires: vulkan-headers, glfw-devel, vulkan-devel
Requires: emacs-filesystem >= %{?_emacs_version}%{!?_emacs_version:0}
Requires: hicolor-icon-theme
@@ -123,7 +123,7 @@ sed -i 's/\r//' doc/CAD1.asy
# Make sure the bundled glew cannot be used
rm -rf GL
-autoreconf -i
+autoreconf -ifv
# Remove useless shebangs
for f in GUI/*.py; do
@@ -218,6 +218,9 @@ fi
%{_emacs_sitelispdir}/%{name}/
%changelog
+* Mon Nov 16 2026 Tom Callaway <spot@fedoraproject.org> - 3.16-1
+- update to 3.16
+
* Fri Sep 25 2026 Tom Callaway <spot@fedoraproject.org> - 3.13-2
- address issue where asy-faq.html changed from directory to file
- fix missing BR (glslang-devel)
diff --git a/sources b/sources
index cbb7c1c..70b4d02 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (asymptote-3.13.src.tgz) = 94a36d5ec2b78e6858dc5b2154d0b91686789b569af74a2f3fb36485e9fd164607721ae1541ba05faaf4c3aff351e31607309f39efa8f38c1d66eb0280a15392
+SHA512 (asymptote-3.16.src.tgz) = ab415e0a127a362f51b50a1fa14809e6ba939bab13ba0aba8c15ad6f2f7d1ffd7413eca5c0227167465e018fe379f1b4143ff00e161a839346a959e2822029ba
reply other threads:[~2026-11-24 18:20 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=179554440415.1.10889672394815592112.rpms-asymptote-7bdd513d0cae@fedoraproject.org \
--to=spotaws@amazon.com \
--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