diff --git a/.gitignore b/.gitignore index 7fecd0f..80af1cf 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,4 @@ asymptote-2.03.src.tgz /asymptote-2.47.src.tgz /asymptote-2.48.src.tgz /asymptote-2.52.src.tgz +/asymptote-2.55.src.tgz diff --git a/asymptote-2.55-settings.patch b/asymptote-2.55-settings.patch new file mode 100644 index 0000000..876cab8 --- /dev/null +++ b/asymptote-2.55-settings.patch @@ -0,0 +1,16 @@ +diff -up asymptote-2.55/settings.cc.settings asymptote-2.55/settings.cc +--- asymptote-2.55/settings.cc.settings 2019-09-30 06:47:32.464160386 -0400 ++++ asymptote-2.55/settings.cc 2019-09-30 06:48:48.419518013 -0400 +@@ -98,9 +98,9 @@ string defaultPSViewer="open"; + string defaultPDFViewer="open"; + string defaultHTMLViewer="open"; + #else +-string defaultPSViewer="gv"; +-string defaultPDFViewer="acroread"; +-string defaultHTMLViewer="google-chrome"; ++string defaultPSViewer="evince"; ++string defaultPDFViewer="evince"; ++string defaultHTMLViewer="chromium"; + #endif + string defaultGhostscript="gs"; + string defaultGhostscriptLibrary=""; diff --git a/asymptote.spec b/asymptote.spec index 043533d..284de21 100644 --- a/asymptote.spec +++ b/asymptote.spec @@ -1,8 +1,10 @@ %{!?_texmf: %global _texmf %(eval "echo `kpsewhich -expand-var '$TEXMFMAIN'`")} +%global optflags %{optflags} -DGLM_ENABLE_EXPERIMENTAL + Name: asymptote -Version: 2.52 -Release: 2%{?dist} +Version: 2.55 +Release: 1%{?dist} Summary: Descriptive vector graphics language License: LGPLv3+ URL: http://asymptote.sourceforge.net/ @@ -10,7 +12,7 @@ Source0: http://download.sourceforge.net/sourceforge/asymptote/asymptote- Source1: asy.gif Source2: xasy.desktop Source3: asymptote.sty.204 -Patch0: asymptote-2.52-settings.patch +Patch0: asymptote-2.55-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. Patch3: asymptote-2.08-info-path-fix.patch # Use libtirpc if found @@ -62,6 +64,9 @@ Requires: python3-qt5 Requires: python3-cson, python3-speg Requires: python3-tkinter Requires: python3-imaging-tk +Requires: python3-numpy +Recommends: evince, chromium + # for /usr/bin/texhash Requires(post): texlive-kpathsea-bin, tex-kpathsea Requires(postun): texlive-kpathsea-bin, tex-kpathsea @@ -177,6 +182,11 @@ texhash >/dev/null 2>&1 || : %{_xemacs_sitelispdir}/%{name}/*.el %changelog +* Mon Sep 30 2019 Tom Callaway - 2.55-1 +- update to 2.55 +- fix missing numpy dependendency +- add recommends for tools configured in settings + * Tue Aug 20 2019 Susi Lehtola - 2.52-2 - Rebuilt for GSL 2.6. diff --git a/sources b/sources index 79cf573..6d530cc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (asymptote-2.52.src.tgz) = b6f51ec91ee4fd3a2307650b1445380a883b604cbe3b3ea885887f15e923c391c2185c411ef759564aa538017958d692159a462e6b0eb134850de1e67413ec57 +SHA512 (asymptote-2.55.src.tgz) = ff058974c157ed8e13a22f98122b89c7f559f5fa2bb09fd5d719c97b06bc819b79e87c287d10eb6a97c7cb9257c668c42c29d29582056ed01ba21f99bd35e289