diff options
author | haha662 | 2023-01-23 16:39:59 -0500 |
---|---|---|
committer | haha662 | 2023-01-23 16:39:59 -0500 |
commit | 8b98192a153a53dbcb2aaecd61c4af9457fb2851 (patch) | |
tree | 9fa4ab8ab7be50c23c3851c334c1f8f89e50ee93 | |
parent | bc0412362427962fb1f3af5c27d944b88690873c (diff) | |
download | aur-8b98192a153a53dbcb2aaecd61c4af9457fb2851.tar.gz |
upgpkg: ds9 8.3-5
Revert "upgpkg: ds9 8.4.1-1"
This reverts commit 55ebdcd1836b27d2344ca0ed5ccb90b60133032c.
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 25 | ||||
-rw-r--r-- | format-security.patch | 81 |
3 files changed, 108 insertions, 14 deletions
@@ -1,7 +1,7 @@ pkgbase = ds9 pkgdesc = SAOImage DS9: Astronomical Data Visualization Application - pkgver = 8.4.1 - pkgrel = 1 + pkgver = 8.3 + pkgrel = 5 url = http://hea-www.harvard.edu/RD/ds9/ arch = x86_64 license = GPL2 @@ -11,11 +11,15 @@ pkgbase = ds9 makedepends = libxft makedepends = tcl makedepends = zip - source = https://github.com/SAOImageDS9/SAOImageDS9/archive/v8.4.1.tar.gz + conflicts = ds9-bin + options = !strip + source = https://github.com/SAOImageDS9/SAOImageDS9/archive/v8.3.tar.gz source = ds9.desktop source = ds9.png - sha256sums = 1c6e23b79c9747f78afa9dcdd5da2fc086156acdfc61ff09a5507cdfca3dce71 - sha256sums = ee493d31fed473493cc95a177f753fb73c92d699acd47ff7d6f491f3bcd84ccf - sha256sums = ff5f38cfdfd59aee262ae3443fddf35d644b8604c9d6ab07eb96a137ee0a0d28 + source = format-security.patch + md5sums = 1c3784c93d63ee1c194b0480f17d3f93 + md5sums = f1738e4ec665ae9afd1b65b86e6a07f1 + md5sums = 9297d5738f5f462831075c483dc785d5 + md5sums = 64ebd4c1e03b45fc682b692046028f1d pkgname = ds9 @@ -1,23 +1,32 @@ -# Maintainer: haha662 <i at haha dot moe> -# Contributor: Yigit Dallilar <yigit.dallilar at gmail dot com> +# Maintainer: Yigit Dallilar <yigit.dallilar at gmail dot com> pkgname=ds9 -pkgver=8.4.1 -pkgrel=1 +pkgver=8.3 +pkgrel=5 pkgdesc="SAOImage DS9: Astronomical Data Visualization Application" url="http://hea-www.harvard.edu/RD/ds9/" arch=('x86_64') license=('GPL2') +conflicts=(ds9-bin) depends=() +options=(!strip) makedepends=(libx11 libxslt libxml2 libxft tcl zip) replaces=() backup=() source=("https://github.com/SAOImageDS9/SAOImageDS9/archive/v${pkgver}.tar.gz" "ds9.desktop" - "ds9.png") -sha256sums=('1c6e23b79c9747f78afa9dcdd5da2fc086156acdfc61ff09a5507cdfca3dce71' - 'ee493d31fed473493cc95a177f753fb73c92d699acd47ff7d6f491f3bcd84ccf' - 'ff5f38cfdfd59aee262ae3443fddf35d644b8604c9d6ab07eb96a137ee0a0d28') + "ds9.png" + "format-security.patch") +md5sums=('1c3784c93d63ee1c194b0480f17d3f93' + 'f1738e4ec665ae9afd1b65b86e6a07f1' + '9297d5738f5f462831075c483dc785d5' + '64ebd4c1e03b45fc682b692046028f1d') + + +prepare() { + cd ${srcdir}/SAOImageDS9-${pkgver} + patch --strip=1 < ../format-security.patch +} build() { LDFLAGS="-lm $LDFLAGS" diff --git a/format-security.patch b/format-security.patch new file mode 100644 index 000000000000..cbbf5152de74 --- /dev/null +++ b/format-security.patch @@ -0,0 +1,81 @@ +diff --unified --recursive --text SAOImageDS9-8.2.1.orig/tksao/colorbar/cbgrid.C SAOImageDS9-8.2.1.new/tksao/colorbar/cbgrid.C +--- SAOImageDS9-8.2.1.orig/tksao/colorbar/cbgrid.C 2021-01-12 19:17:40.000000000 +0100 ++++ SAOImageDS9-8.2.1.new/tksao/colorbar/cbgrid.C 2021-11-09 14:07:24.833647694 +0100 +@@ -197,7 +197,7 @@ + pbox[3] = 0; + } + +- plot = astPlot(frameSet, gbox, pbox, option_); ++ plot = astPlot(frameSet, gbox, pbox, option_, ""); + + // and now create astGrid + astGrid2dPtr = this; +diff --unified --recursive --text SAOImageDS9-8.2.1.orig/tksao/frame/grid25d.C SAOImageDS9-8.2.1.new/tksao/frame/grid25d.C +--- SAOImageDS9-8.2.1.orig/tksao/frame/grid25d.C 2021-01-12 19:17:40.000000000 +0100 ++++ SAOImageDS9-8.2.1.new/tksao/frame/grid25d.C 2021-11-09 14:28:49.727020650 +0100 +@@ -142,7 +142,7 @@ + // and now create astGrid + astGrid25dPtr = this; + +- AstPlot* plot = astPlot(frameSet, gbox, pbox, option_); ++ AstPlot* plot = astPlot(frameSet, gbox, pbox, option_, ""); + astGrid(plot); + + astEnd; // now, clean up memory +@@ -159,5 +159,5 @@ + AstShiftMap* sm = astShiftMap(2, tt, ""); + AstCmpMap* cmp = astCmpMap(mm, sm, 1, ""); + +- astAddFrame((AstFrameSet*)frameSet, AST__CURRENT, cmp, astFrame(2, str)); ++ astAddFrame((AstFrameSet*)frameSet, AST__CURRENT, cmp, astFrame(2, str, "")); + } +diff --unified --recursive --text SAOImageDS9-8.2.1.orig/tksao/frame/grid2d.C SAOImageDS9-8.2.1.new/tksao/frame/grid2d.C +--- SAOImageDS9-8.2.1.orig/tksao/frame/grid2d.C 2021-01-12 19:17:40.000000000 +0100 ++++ SAOImageDS9-8.2.1.new/tksao/frame/grid2d.C 2021-11-09 14:29:26.573688468 +0100 +@@ -164,7 +164,7 @@ + // and now create astGrid + astGrid2dPtr = this; + +- AstPlot* plot = astPlot(frameSet, gbox, pbox, option_); ++ AstPlot* plot = astPlot(frameSet, gbox, pbox, option_, ""); + astGrid(plot); + + astEnd; // now, clean up memory +@@ -181,5 +181,5 @@ + AstShiftMap* sm = astShiftMap(2, tt, ""); + AstCmpMap* cmp = astCmpMap(mm, sm, 1, ""); + +- astAddFrame((AstFrameSet*)frameSet, AST__CURRENT, cmp, astFrame(2, str)); ++ astAddFrame((AstFrameSet*)frameSet, AST__CURRENT, cmp, astFrame(2, str, "")); + } +diff --unified --recursive --text SAOImageDS9-8.2.1.orig/tksao/frame/grid3d.C SAOImageDS9-8.2.1.new/tksao/frame/grid3d.C +--- SAOImageDS9-8.2.1.orig/tksao/frame/grid3d.C 2021-01-12 19:17:40.000000000 +0100 ++++ SAOImageDS9-8.2.1.new/tksao/frame/grid3d.C 2021-11-09 14:29:57.260356085 +0100 +@@ -163,7 +163,7 @@ + astGrid3dPtr = this; + renderMode_ = rm; + +- AstPlot3D* plot = astPlot3D(frameSet, gbox, pbox, option_); ++ AstPlot3D* plot = astPlot3D(frameSet, gbox, pbox, option_, ""); + astGrid(plot); + + astEnd; // now, clean up memory +@@ -181,5 +181,5 @@ + AstShiftMap* sm = astShiftMap(3,tt,""); + AstCmpMap* cmp = astCmpMap(mm,sm,1,""); + +- astAddFrame((AstFrameSet*)frameSet, AST__CURRENT, cmp, astFrame(3, str)); ++ astAddFrame((AstFrameSet*)frameSet, AST__CURRENT, cmp, astFrame(3, str, "")); + } +diff --unified --recursive --text SAOImageDS9-8.2.1.orig/tksao/frame/wcsast.C SAOImageDS9-8.2.1.new/tksao/frame/wcsast.C +--- SAOImageDS9-8.2.1.orig/tksao/frame/wcsast.C 2021-01-12 19:17:40.000000000 +0100 ++++ SAOImageDS9-8.2.1.new/tksao/frame/wcsast.C 2021-11-09 14:32:29.410360780 +0100 +@@ -63,7 +63,7 @@ + } + ostringstream str; + str << "Format(" << id << ")=" << format << ends; +- astSet(ast, str.str().c_str()); ++ astSet(ast, str.str().c_str(), ""); + } + + Vector wcsTran(Context* context, AstFrameSet* ast, |