1
0
forked from pool/asymptote

5 Commits

Author SHA256 Message Date
321beee4e1 asymptote 3.04 2025-06-05 21:18:21 +02:00
3b53200ba8 asymptote 3.01 2025-03-14 09:01:27 +01:00
3af800cfa4 asymptote 2.99 2025-02-13 13:49:47 +01:00
b9f96ca6a3 asymptote 2.97 2025-02-09 20:26:22 +01:00
5d7dcd7e05 asymptote 2.90 2024-07-18 06:13:43 +02:00
5 changed files with 90 additions and 7 deletions

BIN
2.89.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
3.04.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,49 @@
-------------------------------------------------------------------
Thu Jun 5 19:16:02 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.04
* TINYEXR: Disable thread usage as it is causing issues with libgc.
* Removed some obsolete code.
* Fix race condition between embedded WebGL scenes.
-------------------------------------------------------------------
Fri Mar 14 08:01:14 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.01
* A floating point exception was fixed.
-------------------------------------------------------------------
Thu Feb 13 12:45:28 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2.99
* Build system updates only
-------------------------------------------------------------------
Sun Feb 9 17:46:26 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- 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 <jengelh@inai.de>
- Update to release 2.90
* Support templated access with imported and top-level
structure types, templated access with types containing
static fields, and templated imports for parameter types
defined in imported modules.
* Decouple scaling of each dimension with a fixed version of
the original 2-variable simplex method.
* Fix approximate transparency rendering for GPUs without SSBO
support.
-------------------------------------------------------------------
Thu Jun 13 08:26:44 UTC 2024 - Markéta Machová <mmachova@suse.com>

View File

@@ -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,15 +18,16 @@
%bcond_with lsp
Name: asymptote
Version: 2.89
Version: 3.04
Release: 0
Summary: 2D & 3D TeX-Aware vector graphics language
License: LGPL-3.0-or-later
Group: Productivity/Scientific/Math
URL: https://asymptote.sourceforge.io/
#Git-Clone: https://github.com/vectorgraphics/asymptote
Source: https://github.com/vectorgraphics/asymptote/archive/refs/tags/%version.tar.gz
#NEWS: https://asymptote.sourceforge.io/ReleaseNotes
Patch1: use-system-libs.patch
BuildRequires: automake
BuildRequires: bison
BuildRequires: flex
@@ -60,6 +61,7 @@ BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(zlib)
BuildRequires: tex(media9.sty)
BuildRequires: tex(parskip.sty)
BuildRequires: tex(type1cm.sty)
Conflicts: texlive-asymptote
Conflicts: texlive-asymptote-bin
Conflicts: texlive-asymptote-doc
@@ -72,7 +74,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

35
use-system-libs.patch Normal file
View File

@@ -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 <gc_allocator.h>
-#include <gc_cpp.h>
+#include <gc/gc_allocator.h>
+#include <gc/gc_cpp.h>
#define gc_allocator gc_allocator_ignore_off_page