1
0
forked from pool/asymptote

- Update to release 2.80

OBS-URL: https://build.opensuse.org/package/show/science/asymptote?expand=0&rev=11
This commit is contained in:
Jan Engelhardt 2022-04-21 10:17:20 +00:00 committed by Git OBS Bridge
parent a7b1626c2b
commit dedfefd93d
4 changed files with 31 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7d706813a435c0c9d540e5521191774446fd11d1dc8cc0cd2ab03cd51cb56aab
size 2216339

3
2.80.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5cf468779e05fbcf6633351fc33d847cc41e78ba2885a3978e907a8785ebed72
size 12512510

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Thu Apr 21 09:55:30 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2.80
* Compression of empty transparent pixel counts and other
optimizations were implemented in the transparency shader. A
weighted least-squares fit was added.
* LSP: Add basic Language Server Protocol. server code to
Asymptote.
* Add preliminary v3d standard.
-------------------------------------------------------------------
Fri May 7 13:24:15 UTC 2021 - Jan Engelhardt <jengelh@inai.de>

View File

@ -16,13 +16,14 @@
#
%bcond_with lsp
Name: asymptote
Version: 2.70
Version: 2.80
Release: 0
Summary: 2D & 3D TeX-Aware vector graphics language
License: LGPL-3.0-or-later
Group: Productivity/Scientific/Math
URL: https://asymptote.sf.net/
URL: https://asymptote.sourceforge.io/
#Git-Clone: https://github.com/vectorgraphics/asymptote
Source: https://github.com/vectorgraphics/asymptote/archive/refs/tags/%version.tar.gz
@ -30,6 +31,14 @@ BuildRequires: automake
BuildRequires: bison
BuildRequires: flex
BuildRequires: gcc-c++
%if %{with lsp}
BuildRequires: libboost_chrono-devel
BuildRequires: libboost_date_time-devel
BuildRequires: libboost_filesystem-devel
BuildRequires: libboost_program_options-devel
BuildRequires: libboost_system-devel
BuildRequires: libboost_thread-devel
%endif
BuildRequires: makeinfo
BuildRequires: ncurses-devel
BuildRequires: readline-devel
@ -48,6 +57,7 @@ BuildRequires: pkgconfig(libglvnd)
BuildRequires: pkgconfig(libtirpc)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(zlib)
BuildRequires: tex(media9.sty)
BuildRequires: tex(parskip.sty)
Conflicts: texlive-asymptote
Conflicts: texlive-asymptote-bin
@ -60,7 +70,7 @@ provides for figures the same quality of typesetting that LaTeX does
for scientific text.
%prep
%autosetup -p1
%autosetup
rm -fv libatomic_ops-*.tar.gz gc-*.tar.gz
%build
@ -71,6 +81,9 @@ if [ ! -e configure ]; then autoreconf -fiv; fi
%install
%make_install
mv "%buildroot/usr/local/share"/* "%buildroot/%_datadir/"
chmod a-x "%buildroot/%_datadir/asymptote/shaders"/*.glsl
find "%buildroot/%_datadir/asymptote/GUI" -type f -name "*.py" \
-exec perl -i -lpe 's{^#!/usr/bin/env }{#!/usr/bin/}g' {} +
%files
%_bindir/asy
@ -82,4 +95,5 @@ mv "%buildroot/usr/local/share"/* "%buildroot/%_datadir/"
%_mandir/*/*asy.1*
%license LICENSE*
# curated changelog: see https://downloads.sf.net/asymptote/2.80/README
%changelog