Package Details: alphaplot-bin 1.02-2

Git Clone URL: https://aur.archlinux.org/alphaplot-bin.git (read-only, click to copy)
Package Base: alphaplot-bin
Description: Application for Scientific Data Analysis and Visualization, fork of SciDavis / QtiPlot
Upstream URL: http://alphaplot.sourceforge.net/
Licenses: GPL
Submitter: AsA
Maintainer: AsA
Last Packager: AsA
Votes: 0
Popularity: 0.000000
First Submitted: 2023-02-04 10:39 (UTC)
Last Updated: 2023-08-03 19:20 (UTC)

Latest Comments

AsA commented on 2023-08-03 19:27 (UTC)

Thanks gudzpoz for the workaround, updated pkgbuild release

gudzpoz commented on 2023-07-27 06:25 (UTC)

Here is a patch to work around the missing libgslcblas.so.0 dependency with patchelf:

diff --git a/PKGBUILD b/PKGBUILD
index 75ac439..d3e1f83 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,17 +2,19 @@

 pkgname=alphaplot-bin
 pkgver=1.02
-pkgrel=1
+pkgrel=2
 pkgdesc="Application for Scientific Data Analysis and Visualization, fork of SciDavis / QtiPlot"
 arch=('x86_64')
-url="url = http://alphaplot.sourceforge.net/"
+url="https://alphaplot.sourceforge.net/"
 license=('GPL')
+makedepends=('patchelf')
 depends=('glu' 'gsl' 'mesa' 'shared-mime-info' 'hicolor-icon-theme' 'qt5-svg' 'qt5-xmlpatterns' 'qt5-script' 'qt5-datavis3d')
-source=(https://sourceforge.net/projects/alphaplot/files/1.02/alphaplot_v1.02_x64_gcc.pkg.tar.xz)
+source=("https://sourceforge.net/projects/alphaplot/files/${pkgver}/alphaplot_v${pkgver}_x64_gcc.pkg.tar.xz")
 sha256sums=('025e4e3a0975bfb67272f3a374d1a3fbd2a445bfb3307a9ce6f957dc992b0205')

 package() {
-  tar -xvf alphaplot_v1.02_x64_gcc.pkg.tar.xz
-  cp -r $srcdir/usr $pkgdir
+    cp -r "$srcdir/usr" "$pkgdir"
+    patchelf --replace-needed libgslcblas.so.0 libgslcblas.so "$pkgdir/usr/bin/alphaplot"
+    find "$pkgdir/usr/lib/AlphaPlot/plugins" -type f -exec patchelf --replace-needed libgslcblas.so.0 libgslcblas.so {} \;
+    install -D -m644 "$srcdir/usr/share/doc/alphaplot/gpl.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }
-

Discoo commented on 2023-05-19 15:22 (UTC) (edited on 2023-05-19 15:22 (UTC) by Discoo)

I got the error alphaplot: error while loading shared libraries: libgslcblas.so.0: cannot open shared object file: No such file or directory. I fixed this by symlinking libgslcblas.so to libgslcblas.so.0 in the /usr/lib directory. Not sure if this is the best way to do it.