Package Details: qtspim 9.1.22-1

Git Clone URL: https://aur.archlinux.org/qtspim.git (read-only, click to copy)
Package Base: qtspim
Description: New user interface for spim, a MIPS simulator.
Upstream URL: http://spimsimulator.sourceforge.net/
Licenses: BSD
Submitter: arojas
Maintainer: jsh6789 (thomasqueirozb)
Last Packager: thomasqueirozb
Votes: 3
Popularity: 0.25
First Submitted: 2020-05-01 19:35
Last Updated: 2021-01-04 06:18

Latest Comments

lorber13 commented on 2021-03-30 13:24

package fails to compile... ../CPU/parser.y: In function ‘int yyparse()’: ../CPU/parser.y:2118:17: warning: cast between incompatible function types from ‘void ()(int)’ to ‘void ()(void)’ [-Wcast-function-type] 2118 | { | ^
../CPU/parser.y:2234:16: warning: cast between incompatible function types from ‘void (
)(int)’ to ‘void ()(void)’ [-Wcast-function-type] 2234 | | ^
../CPU/parser.y:2374:16: warning: cast between incompatible function types from ‘void ()(int)’ to ‘void ()(void*)’ [-Wcast-function-type] 2374 | | ^

thomasqueirozb commented on 2020-12-02 18:47

Hey @redfox sorry for the delay. As any arch user would say... take a look at the wiki. Also take a look at the related articles, especially the Creating packages, makepkg, PKGBUILD and .SRCINFO articles. The amount of information can be a bit overwhelming at first so I recommend you watch DistroTube's video with bigpod where they create an AUR package YouTube link|LBRY link

redfox commented on 2020-11-12 07:36

@thomasqueirozb thanq very much you saved my day, the only option I had was to install windows then, and BTW any idea about where I can learn to package for aur?

thomasqueirozb commented on 2020-11-05 05:37

@redfox should work now

redfox commented on 2020-11-04 18:22

The build is still broken.....

thomasqueirozb commented on 2020-10-24 02:25

This fails to build for multiple reasons. The following is the diff I made to the PKGBUILD to build it successfully:

diff --git a/PKGBUILD b/PKGBUILD
index 3bc752d..453b816 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,21 +15,17 @@ sha256sums=('SKIP')

 prepare() {
   cd spimsimulator/QtSpim
-  sed -r \
-    -e 's/-Wno-write-strings/& -fpermissive/' \
-    -i QtSpim.pro
-  rm parser_yacc.* scanner_lex.*
+  sed -i 's/zero_imm/is_zero_imm/g' parser_yacc.cpp
+  sed -i 's/^int data_dir/bool data_dir/g' parser_yacc.cpp
+  sed -i 's/^int text_dir/bool text_dir/g' parser_yacc.cpp
+  sed -i 's/^int parse_error_occurred/bool parse_error_occurred/g' parser_yacc.cpp
 }

 build() {
   cd spimsimulator/QtSpim

   qmake
-
-  # Fix Makefile generated by qmake.
-  sed -i 's#$(MOVE) help/qtspim.qhc help/qtspim.qhc;##' Makefile
-
-  make -j1
+  make
 }