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: 3.13
Date: Sat, 29 Aug 2026 17:03:22 GMT [thread overview]
Message-ID: <178802300258.1.17708204372308705725.rpms-asymptote-372e8f9ed567@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/asymptote
Branch : f45
Commit : 372e8f9ed567a421e06923e3d665bc75a722f641
Author : Tom spot Callaway <spotaws@amazon.com>
Date : 2026-08-28T13:46:48-04:00
Stats : +80/-71 in 8 file(s)
URL : https://src.fedoraproject.org/rpms/asymptote/c/372e8f9ed567a421e06923e3d665bc75a722f641?branch=f45
Log:
3.13
---
diff --git a/.gitignore b/.gitignore
index 8c5eee3..c834383 100644
--- a/.gitignore
+++ b/.gitignore
@@ -61,3 +61,4 @@ asymptote-2.03.src.tgz
/asymptote-3.01.src.tgz
/asymptote-3.06.src.tgz
/asymptote-3.09.src.tgz
+/asymptote-3.13.src.tgz
diff --git a/asymptote-3.00-flexiblas.patch b/asymptote-3.00-flexiblas.patch
deleted file mode 100644
index 33d2418..0000000
--- a/asymptote-3.00-flexiblas.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -up asymptote-3.00/configure.ac.flexiblas asymptote-3.00/configure.ac
---- asymptote-3.00/configure.ac.flexiblas 2025-02-20 15:52:54.950607499 -0500
-+++ asymptote-3.00/configure.ac 2025-02-20 15:53:31.286290888 -0500
-@@ -582,7 +582,8 @@ if test "x$with_vcpkg" != "xno"; then #
- ADD_VCPKG_LIB_FOR_PKGCONFIG(gsl)
- else
- PKG_CONFIG(CPPFLAGS,$CPPFLAGS,--cflags,gsl)
-- PKG_CONFIG(LDFLAGS,$LDFLAGS,--libs,gsl)
-+ # PKG_CONFIG(LDFLAGS,$LDFLAGS,--libs,gsl)
-+ LDFLAGS="$LDFLAGS -lgsl -lflexiblas"
- AC_CHECK_HEADER(gsl/gsl_sf.h,
- CHECK_LIB_STATIC(gsl,gsl,gsl_sf_debye_6,HAVE_LIBGSL,
- AC_MSG_NOTICE([*** Could not find libgsl: will compile without optional special functions. ***])),
diff --git a/asymptote-3.00-gc-link-fix.patch b/asymptote-3.00-gc-link-fix.patch
deleted file mode 100644
index 07ae889..0000000
--- a/asymptote-3.00-gc-link-fix.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up asymptote-3.00/configure.ac.gcfix asymptote-3.00/configure.ac
---- asymptote-3.00/configure.ac.gcfix 2025-02-20 16:40:40.060177301 -0500
-+++ asymptote-3.00/configure.ac 2025-02-20 16:40:47.533014041 -0500
-@@ -477,7 +477,7 @@ AC_ARG_ENABLE(gc,
- if test "x$enable_gc" != "xno" ; then
- if test "x$with_vcpkg" == "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])
- fi
diff --git a/asymptote-3.00-unbundle-glew.patch b/asymptote-3.00-unbundle-glew.patch
deleted file mode 100644
index d91013b..0000000
--- a/asymptote-3.00-unbundle-glew.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-diff -up asymptote-3.05/configure.ac.orig asymptote-3.05/configure.ac
---- asymptote-3.05/configure.ac.orig 2026-01-20 16:38:18.394270454 -0700
-+++ asymptote-3.05/configure.ac 2026-01-20 16:38:41.129893318 -0700
-@@ -665,7 +665,7 @@ case "$OSTYPE" in
- [AC_DEFINE(HAVE_LIBGL,1,
- DEFINE_LIB([GL]))
- LIBS=$LIBS"-lGL "
-- GLEW="glew.o "
-+ GLEW="-lGLEW "
- INCL=$INCL" -Ibackports/glew/include"],
- AC_MSG_NOTICE([*** Could not find libGL: will compile without OpenGL support ***]))
- esac
-diff -up asymptote-3.05/glrender.h.orig asymptote-3.05/glrender.h
---- asymptote-3.05/glrender.h.orig 2025-07-03 14:47:01.000000000 -0600
-+++ asymptote-3.05/glrender.h 2026-01-20 16:38:41.130212973 -0700
-@@ -25,6 +25,7 @@
- #define GL_SILENCE_DEPRECATION
- #endif
- #include <GL/glew.h>
-+#define APIENTRY
-
- #ifdef __APPLE__
- #include <OpenGL/gl.h>
-diff -up asymptote-3.05/Makefile.in.orig asymptote-3.05/Makefile.in
---- asymptote-3.05/Makefile.in.orig 2025-07-03 14:47:01.000000000 -0600
-+++ asymptote-3.05/Makefile.in 2026-01-20 16:38:41.130446889 -0700
-@@ -165,7 +165,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:
-@@ -415,9 +415,6 @@ check-all: asy FORCE
- ./wce
- $(MAKE) -C tests all
-
--glew.o: glew.c config.h
-- $(CC) $(GLEWOPTS) -o $@ -c $<
--
- .SUFFIXES: .c .cc .o .d .ui .py
- %.o: %.cc $(GENERATEDENUMS:=.h) $(RUNTIME_FILES:=.cc)
- $(CXX) $(OPTS) -o $@ -c $<
diff --git a/asymptote-3.13-flexiblas.patch b/asymptote-3.13-flexiblas.patch
new file mode 100644
index 0000000..6ea51ad
--- /dev/null
+++ b/asymptote-3.13-flexiblas.patch
@@ -0,0 +1,11 @@
+diff -up asymptote-3.13/configure.ac.flexiblas asymptote-3.13/configure.ac
+--- asymptote-3.13/configure.ac.flexiblas 2026-08-28 13:33:29.480530284 -0400
++++ asymptote-3.13/configure.ac 2026-08-28 13:33:45.534258880 -0400
+@@ -484,6 +484,7 @@ AC_ARG_ENABLE(gsl,
+
+ if test "x$enable_gsl" != "xno"; then
+ PKG_CONFIG(CPPFLAGS,$CPPFLAGS,--cflags,gsl)
++ LDFLAGS="$LDFLAGS -lgsl -lflexiblas"
+ AC_CHECK_HEADER(gsl/gsl_sf.h,
+ CHECK_LIB_STATIC(gsl,gsl,gsl_sf_debye_6,HAVE_LIBGSL,
+ AC_MSG_NOTICE([*** Could not find libgsl: will compile without optional special functions. ***])),
diff --git a/asymptote-3.13-gc-link-fix.patch b/asymptote-3.13-gc-link-fix.patch
new file mode 100644
index 0000000..5e8b24b
--- /dev/null
+++ b/asymptote-3.13-gc-link-fix.patch
@@ -0,0 +1,12 @@
+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
new file mode 100644
index 0000000..aea15af
--- /dev/null
+++ b/asymptote-3.13-unbundle-glew.patch
@@ -0,0 +1,55 @@
+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/sources b/sources
index fda8a8c..cbb7c1c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (asymptote-3.09.src.tgz) = e8c361bd49e175d0a75a8080d1f83bdb59b94e8667ecb2be9a09d70ef4b2f0e82257cb560065b0c64a736ff378568451697d964402c906028b00a14996b3dbcc
+SHA512 (asymptote-3.13.src.tgz) = 94a36d5ec2b78e6858dc5b2154d0b91686789b569af74a2f3fb36485e9fd164607721ae1541ba05faaf4c3aff351e31607309f39efa8f38c1d66eb0280a15392
next reply other threads:[~2026-08-29 17:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-29 17:03 Tom spot Callaway [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-08-29 17:03 [rpms/asymptote] f45: 3.13 Tom spot Callaway
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=178802300258.1.17708204372308705725.rpms-asymptote-372e8f9ed567@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