forked from pool/asymptote
asymptote 2.97
This commit is contained in:
parent
5d7dcd7e05
commit
b9f96ca6a3
BIN
2.90.tar.gz
(Stored with Git LFS)
BIN
2.90.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
2.97.tar.gz
(Stored with Git LFS)
Normal file
BIN
2.97.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Thu Jul 18 04:04:22 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package asymptote
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%bcond_with lsp
|
%bcond_with lsp
|
||||||
Name: asymptote
|
Name: asymptote
|
||||||
Version: 2.90
|
Version: 2.97
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: 2D & 3D TeX-Aware vector graphics language
|
Summary: 2D & 3D TeX-Aware vector graphics language
|
||||||
License: LGPL-3.0-or-later
|
License: LGPL-3.0-or-later
|
||||||
@ -27,6 +27,7 @@ URL: https://asymptote.sourceforge.io/
|
|||||||
|
|
||||||
#Git-Clone: https://github.com/vectorgraphics/asymptote
|
#Git-Clone: https://github.com/vectorgraphics/asymptote
|
||||||
Source: https://github.com/vectorgraphics/asymptote/archive/refs/tags/%version.tar.gz
|
Source: https://github.com/vectorgraphics/asymptote/archive/refs/tags/%version.tar.gz
|
||||||
|
Patch1: use-system-libs.patch
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
@ -39,6 +40,7 @@ BuildRequires: libboost_program_options-devel
|
|||||||
BuildRequires: libboost_system-devel
|
BuildRequires: libboost_system-devel
|
||||||
BuildRequires: libboost_thread-devel
|
BuildRequires: libboost_thread-devel
|
||||||
%endif
|
%endif
|
||||||
|
BuildRequires: libtool
|
||||||
BuildRequires: makeinfo
|
BuildRequires: makeinfo
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@ -73,7 +75,7 @@ for scientific text.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup
|
%autosetup
|
||||||
rm -fv libatomic_ops-*.tar.gz gc-*.tar.gz
|
rm -Rfv libatomic_ops gc
|
||||||
|
|
||||||
%build
|
%build
|
||||||
if [ ! -e configure ]; then autoreconf -fiv; fi
|
if [ ! -e configure ]; then autoreconf -fiv; fi
|
||||||
|
35
use-system-libs.patch
Normal file
35
use-system-libs.patch
Normal 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
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user