Package Details: spimsuite-svn r739-1

Git Clone URL: https://aur.archlinux.org/spimsuite-svn.git (read-only, click to copy)
Package Base: spimsuite-svn
Description: spim + xspim + QtSpim
Upstream URL: http://spimsimulator.sourceforge.net/
Licenses: BSD
Conflicts: qtspim, qtspim-svn, spim, spim-svn, xspim, xspim-svn
Provides: qtspim, qtspim-svn, spim, spim-svn, xspim, xspim-svn
Submitter: Un1Gfn
Maintainer: Un1Gfn (The999eagle, Xevnar)
Last Packager: Un1Gfn
Votes: 3
Popularity: 0.000285
First Submitted: 2018-10-02 05:13
Last Updated: 2021-02-04 09:52

Latest Comments

Xevnar commented on 2021-02-03 16:55

I kept getting the following error when compiling qtspim:

/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o parser_yacc.o parser_yacc.cpp
parser.tab.cpp:166:10: fatal error: parser.tab.h: No such file or directory
compilation terminated.
make: *** [Makefile:1218: parser_yacc.o] Error 1
==> ERROR: A failure occurred in build().

So I added:

diff --git a/PKGBUILD b/PKGBUILD
index e373c48..7abc26e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
 # Thanks: Chih-Hsuan Yen (aur/spim-svn)

 pkgname=spimsuite-svn
-pkgver=r730
+pkgver=r739
 pkgrel=1
 pkgdesc="spim + xspim + QtSpim"
 arch=('x86_64')
@@ -55,6 +55,8 @@ build() {
   cd "$srcdir/${pkgname%-svn}/QtSpim"
   qmake
   sed -i 's#$(COPY) help/qtspim.qhc help/qtspim.qhc;##' Makefile
+  sed -i 's#$(MOVE) ./parser.tab#$(COPY) ./parser.tab#' Makefile
+  echo 'running make'
   make -j1

 }

And that seemed to fix the issue

The999eagle commented on 2020-05-01 13:35

Package is currently broken because the generated makefile for qtspim changed in r725 (https://sourceforge.net/p/spimsimulator/code/725/)

Fix:

diff --git a/PKGBUILD b/PKGBUILD
index e5febb1..88bfac4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -53,7 +53,7 @@ build() {
   # QtSpim
   cd "$srcdir/${pkgname%-svn}/QtSpim"
   qmake
-  sed -i 's#$(MOVE) help/qtspim.qhc help/qtspim.qhc;##' Makefile
+  sed -i 's#$(COPY) help/qtspim.qhc help/qtspim.qhc;##' Makefile
   make -j1

 }