Package Base Details: snes9x-git

Git Clone URL: https://aur.archlinux.org/snes9x-git.git (read-only, click to copy)
Submitter: bzt
Maintainer: valandil
Last Packager: valandil
Votes: 17
Popularity: 0.000419
First Submitted: 2011-03-27 19:01 (UTC)
Last Updated: 2023-11-26 17:34 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

valandil commented on 2020-10-19 12:15 (UTC)

Build currently fails because of a missing glslang submodule. Here's my attempt at a fixed PKGBUILD:

valandil ~/build/snes9x-git $ cat glslang.diff 
diff --git a/PKGBUILD b/PKGBUILD
index 39de18d..9d8c13f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 pkgbase=snes9x-git
 _pkgbase=snes9x
 pkgname=( snes9x-git snes9x-gtk-git )
-pkgver=1.59.2.r33.gc39f769
+pkgver=1.60.r280.gfc78065
 pkgrel=1
 pkgdesc="Port of the Snes9x emulator (git version)"
 arch=('x86_64')
@@ -17,8 +17,10 @@ makedepends=( alsa-lib cairo gdk-pixbuf2 git glib2 glslang
 source=(
   git+https://github.com/snes9xgit/snes9x.git
   git+https://github.com/KhronosGroup/SPIRV-Cross.git
+  git+https://github.com/KhronosGroup/glslang.git
 )
 sha256sums=('SKIP'
+            'SKIP'
             'SKIP')

 pkgver() {
@@ -34,6 +36,12 @@ prepare() {
     git submodule update ${submodule}
   done

+  for submodule in shaders/glslang; do
+    git submodule init ${submodule}
+    git config submodule.${submodule}.url ../${submodule#*/}
+    git submodule update ${submodule}
+  done
+
   cd unix
   autoreconf -fiv
 }

This worked for me.

jooch commented on 2019-04-16 11:02 (UTC)

Hi, is it possible to add a GTK2 package or option? I noticed GTK3 does have a small impact on performance. GTK2 would only require the build line to be: 'arch-meson snes9x/gtk build -D gtk2=true -D gtk3=false -D wayland=false'

BTW_IUseGentoo commented on 2019-01-27 05:20 (UTC) (edited on 2019-02-20 01:44 (UTC) by BTW_IUseGentoo)

/snes9x-git/PKGBUILD: line 33: ./autogen.sh: No such file or directory
==> ERROR: A failure occurred in build().
Aborting...
Error making: snes9x-git (snes9x-gtk-git)

I checked "ls /snes9x-git/src/snes9x-git/gtk/"
AUTHORS data meson.build meson_options.txt po src

There is no ./autogen.sh file where PKGBUILD is calling it at "line 33"

cd ../gtk
./autogen.sh

ProfessorKaos64 commented on 2017-04-27 22:13 (UTC)

Thanks YamashitaRen, will fix

YamashitaRen commented on 2017-04-23 20:59 (UTC)

Seems like snes9x-gtk depends on minizip : snes9x-gtk: error while loading shared libraries: libminizip.so.1: cannot open shared object file: No such file or directory

ProfessorKaos64 commented on 2016-11-28 14:00 (UTC)

@banzr this package must conflict with vanilla snes9x and snes9x-gtk, since they provide the same files. You noted "I get an error that snes9x conflicts with snes9x-git-gtk." That is not true. The conflicts is "snes9x, snes9x-gtk" not "snes9x, snes9x-git-gtk". The provides should not be "package-git", but always "package" when there is an existing package, AUR or not, that provides the same files. Since the base package builds both, I will adjust the conflicts so snes9x-gtk-git conflcits with snes9x-gtk, and snes9x-git conflicts with snes9x only. gtk should not conflict with non-gtk.

<deleted-account> commented on 2016-11-28 06:20 (UTC)

There's a simple error that I receive after successfully building the snes9x-git-gtk package. As soon as I attempt to install the snes9x package I get an error that snes9x conflicts with snes9x-git-gtk. Please remove these conflicts or change your snes9x-git package to provide snes9x-git. I prefer removing the conflicts unless there is some incompatibility with your gtk layer with the vanilla snes9x package. Removing the conflict allowed my package to build flawlessly. I didn't have the vanilla snes9x package previously installed before building your package.

<deleted-account> commented on 2016-10-10 05:30 (UTC)

Thanks, I was able to install without problems using the chroot method.

<deleted-account> commented on 2016-10-10 03:31 (UTC)

Ok, I tried compiling in a clean chroot, and I didn't received any error messages in the process... until the final steps: error: unresolvable package conflicts detected error: failed to prepare transaction (conflicting dependencies) :: snes9x-git and snes9x-gtk-git are in conflict ==> WARNING: Failed to install built package(s). Yup, someone here will not be able to play tonight...sigh

ProfessorKaos64 commented on 2016-10-09 15:45 (UTC)

See the below. Seems a few touch commands will help this. http://stackoverflow.com/questions/5731023/autotools-force-make-not-to-rebuild-configure-makefile https://www.gnu.org/savannah-checkouts/gnu/automake/manual/html_node/CVS.html