public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/asymptote] f45: 3.13
@ 2026-08-29 17:03 Tom spot Callaway
  0 siblings, 0 replies; 2+ messages in thread
From: Tom spot Callaway @ 2026-08-29 17:03 UTC (permalink / raw)
  To: git-commits

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread
* [rpms/asymptote] f45: 3.13
@ 2026-08-29 17:03 Tom spot Callaway
  0 siblings, 0 replies; 2+ messages in thread
From: Tom spot Callaway @ 2026-08-29 17:03 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/asymptote
Branch : f45
Commit : 5cd9ea55be125ca663704d8361d1004af577eec5
Author : Tom spot Callaway <spotaws@amazon.com>
Date   : 2026-08-28T13:46:13-04:00
Stats  : +9/-8 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/asymptote/c/5cd9ea55be125ca663704d8361d1004af577eec5?branch=f45

Log:
3.13

---
diff --git a/asymptote.spec b/asymptote.spec
index 098d110..9728b31 100644
--- a/asymptote.spec
+++ b/asymptote.spec
@@ -1,6 +1,6 @@
 Name:           asymptote
-Version:        3.09
-Release:        2%{?dist}
+Version:        3.13
+Release:        1%{?dist}
 Summary:        Descriptive vector graphics language
 
 # LGPL-3.0-or-later: the project as a whole
@@ -42,11 +42,11 @@ 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
 # Link with flexiblas instead of gslcblas
-Patch2:         asymptote-3.00-flexiblas.patch
+Patch2:         asymptote-3.13-flexiblas.patch
 # Unbundle glew
-Patch3:         asymptote-3.00-unbundle-glew.patch
+Patch3:         asymptote-3.13-unbundle-glew.patch
 # Fix gc linking
-Patch4:		asymptote-3.00-gc-link-fix.patch
+Patch4:		asymptote-3.13-gc-link-fix.patch
 
 BuildRequires:  gcc-c++
 BuildRequires:  bison, flex
@@ -95,6 +95,7 @@ Requires:       texlive-dvisvgm
 Requires:       python3-qt5
 Requires:       python3-cson
 Requires:       python3-numpy
+Requires:       python3-pyside6
 Recommends:     evince, xdg-utils
 
 Provides:       bundled(LspCpp) = 1.0.0
@@ -169,9 +170,6 @@ pushd %{buildroot}%{_datadir}/vim/vimfiles/ftdetect
 ln -s ../../../%{name}/asy_filetype.vim .
 popd
 
-# Move info file
-mv %{buildroot}%{_infodir}/asymptote/asymptote.info %{buildroot}%{_infodir}/asymptote.info
-
 # Copy icon to scalable icon dir
 mkdir -p %{buildroot}%{_datadir}/icons/hicolor/scalable/apps
 cp -p doc/icon.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/asy.svg
@@ -211,6 +209,9 @@ chmod 755 %{buildroot}%{_datadir}/%{name}/{asy-kate.sh,asymptote.py}
 %{_emacs_sitelispdir}/%{name}/
 
 %changelog
+* Fri Aug 28 2026 Tom Callaway <spot@fedoraproject.org> - 3.13-1
+- update to 3.13
+
 * Wed Jul 15 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.09-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-08-29 17:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-29 17:03 [rpms/asymptote] f45: 3.13 Tom spot Callaway
  -- strict thread matches above, loose matches on Subject: below --
2026-08-29 17:03 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