diff --git a/2.90.tar.gz b/2.90.tar.gz deleted file mode 100644 index 07fe955..0000000 --- a/2.90.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:29ab94557ac4a9b3b10839a37e4d7aff9a9912d2424797f17590739d30bac76a -size 12549692 diff --git a/2.97.tar.gz b/2.97.tar.gz new file mode 100644 index 0000000..a756f72 --- /dev/null +++ b/2.97.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d38cfcc72b8f06cc098648de0b8e196ad9c2c0f9cc1e8cca13579c387a64ddb7 +size 27136385 diff --git a/asymptote.changes b/asymptote.changes index 3df9970..2c54dcb 100644 --- a/asymptote.changes +++ b/asymptote.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Sun Feb 9 17:46:26 UTC 2025 - Jan Engelhardt + +- Update to release 2.97 + * By default, orthographic projections now use ``center=true``; + the camera and target are automatically centered within the + scene. + * Triangle groups are used for indexed surfaces drawn with the + render option tessellate=true. + * GLSL error reporting was restored. + * New keywords ``autounravel`` and ``using`` were added. +- Add use-system-libs.patch + ------------------------------------------------------------------- Thu Jul 18 04:04:22 UTC 2024 - Jan Engelhardt diff --git a/asymptote.spec b/asymptote.spec index b0706f6..40b337c 100644 --- a/asymptote.spec +++ b/asymptote.spec @@ -1,7 +1,7 @@ # # spec file for package asymptote # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %bcond_with lsp Name: asymptote -Version: 2.90 +Version: 2.97 Release: 0 Summary: 2D & 3D TeX-Aware vector graphics language License: LGPL-3.0-or-later @@ -27,6 +27,7 @@ URL: https://asymptote.sourceforge.io/ #Git-Clone: https://github.com/vectorgraphics/asymptote Source: https://github.com/vectorgraphics/asymptote/archive/refs/tags/%version.tar.gz +Patch1: use-system-libs.patch BuildRequires: automake BuildRequires: bison BuildRequires: flex @@ -39,6 +40,7 @@ BuildRequires: libboost_program_options-devel BuildRequires: libboost_system-devel BuildRequires: libboost_thread-devel %endif +BuildRequires: libtool BuildRequires: makeinfo BuildRequires: ncurses-devel BuildRequires: python-rpm-macros @@ -73,7 +75,7 @@ for scientific text. %prep %autosetup -rm -fv libatomic_ops-*.tar.gz gc-*.tar.gz +rm -Rfv libatomic_ops gc %build if [ ! -e configure ]; then autoreconf -fiv; fi diff --git a/use-system-libs.patch b/use-system-libs.patch new file mode 100644 index 0000000..47b18a9 --- /dev/null +++ b/use-system-libs.patch @@ -0,0 +1,35 @@ +--- + configure.ac | 4 ++-- + memory.h | 4 ++-- + 2 files changed, 4 insertions(+), 4 deletions(-) + +Index: asymptote-2.97/configure.ac +=================================================================== +--- asymptote-2.97.orig/configure.ac ++++ asymptote-2.97/configure.ac +@@ -479,8 +479,8 @@ 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" +- INCL=$INCL" -I\$(GC)/include" ++ GCLIB="$(pkg-config bdw-gc --libs)" ++ INCL="$INCL $(pkg-config bdw-gc --cflags)" + AC_MSG_NOTICE([$GCNAME is enabled]) + fi + else +Index: asymptote-2.97/memory.h +=================================================================== +--- asymptote-2.97.orig/memory.h ++++ asymptote-2.97/memory.h +@@ -69,8 +69,8 @@ void* asy_malloc_atomic(size_t n); + #define GC_MALLOC(sz) asy_malloc(sz) + #define GC_MALLOC_ATOMIC(sz) asy_malloc_atomic(sz) + +-#include +-#include ++#include ++#include + + #define gc_allocator gc_allocator_ignore_off_page +