Package Details: sheepshaver-git r2696.96e512bd-1

Git Clone URL: https://aur.archlinux.org/sheepshaver-git.git (read-only, click to copy)
Package Base: sheepshaver-git
Description: An Open Source PowerMac Emulator
Upstream URL: https://sheepshaver.cebix.net/
Keywords: emulator macos system-9
Licenses: GPL-2.0-or-later
Conflicts: sheepshaver
Provides: sheepshaver
Submitter: grawity
Maintainer: FabioLolix
Last Packager: FabioLolix
Votes: 5
Popularity: 0.000000
First Submitted: 2018-10-31 23:14 (UTC)
Last Updated: 2025-02-09 12:56 (UTC)

Latest Comments

1 2 3 4 Next › Last »

zulc22 commented on 2026-07-28 11:42 (UTC)

You forgot to reference your .install file in the PKGBUILD, so it never prints the message you intended it to.

I believe the syntax is install=(sheepshaver.install)?

rubin55 commented on 2026-06-10 13:46 (UTC)

I noticed basiliskii-git has been building from https://github.com/kanjitalk755/macemu for a while now. That repository has a lot of fixes for all kinds of stuff now (the current upstream you're using hasn't been updated in 2+ years). Additionally, the standalone GUI seems to be broken, at least with GTK3; I did a few changes you might find worthwile to adopt:

In PKGBUILD:

diff --git a/PKGBUILD b/PKGBUILD
index c4d6dc2..0a31b1f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,50 +4,41 @@

 pkgbase=sheepshaver-git
 pkgname=(sheepshaver-git sheepnet-dkms-git)
-pkgver=r2696.96e512bd
+pkgver=r3582.9a3f687f
 pkgrel=1
 pkgdesc="An Open Source PowerMac Emulator"
 arch=(x86_64)
 url="https://sheepshaver.cebix.net/"
 license=(GPL-2.0-or-later)
-depends=(gtk2 sdl vde2)
+depends=(gtk3 sdl2 vde2)
 makedepends=(git)
 options=(!lto)
-source=("git+https://github.com/cebix/macemu.git"
+source=("git+https://github.com/kanjitalk755/macemu"
         'SheepShaver.sysctl'
         'SheepShaver.desktop'
         'SheepShaver.png'
-               'sdl2_bug.patch'
                )
 sha256sums=('SKIP'
             'a4aa858b95d29906873693988d5db42d5a4da8aa94a72c79374f59fc488efd51'
-            'cb002e73e864a6ca271e0bbaa6df6eb89dc1df86856fc575c20bf79367458c39'
-            'b7f67b1f8424f3e0ffa1a5e57597f368c4c4f93ea1f871ec0a76700b7519b241'
-            'ab944b2d074df35671ad534a1c768fdcf663d9d0f838d68b73007e3737b1a0c4')
+            '2f7ed188590622d7a8ce5a337dce19abb9899a42bb5d16f8426a703bff291160'
+            'b7f67b1f8424f3e0ffa1a5e57597f368c4c4f93ea1f871ec0a76700b7519b241')

 pkgver() {
   cd macemu
   printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
 }

-prepare() {
-  cd macemu
-  # patch -p1 -i "$srcdir/sdl2_bug.patch"
-}
-
 build() {
   cd macemu/SheepShaver/src/Unix
-  export CXXFLAGS="$CXXFLAGS -DSTDC_HEADERS=1 -Werror=format-security"
   ./autogen.sh \
     --prefix=/usr \
-    --enable-addressing=direct \
-    --enable-standalone-gui \
     --enable-sdl-audio \
-    --enable-addressing=real \
     --enable-sdl-video \
-    --with-bincue
+    --enable-jit-compiler \
+    --with-bincue \
+    --with-vdeplug

-  make -j1
+  make
 }

 package_sheepshaver-git() {
@@ -55,7 +46,6 @@ package_sheepshaver-git() {
   conflicts=("sheepshaver")

   install -Dm755 macemu/SheepShaver/src/Unix/SheepShaver    "$pkgdir"/usr/bin/SheepShaver
-  install -Dm755 macemu/SheepShaver/src/Unix/SheepShaverGUI "$pkgdir"/usr/bin/SheepShaverGUI

   mkdir -p "$pkgdir"/usr/share/doc
   cp -a macemu/SheepShaver/doc/Linux "$pkgdir"/usr/share/doc/SheepShaver

Remove "Game" category and Version fieldd from SheepShaver.desktop:

diff --git a/SheepShaver.desktop b/SheepShaver.desktop
index 010d8ab..6267076 100644
--- a/SheepShaver.desktop
+++ b/SheepShaver.desktop
@@ -1,10 +1,9 @@
 [Desktop Entry]
 Type=Application
-Version=2e302d6
 Name=SheepShaver
 Comment="An Open Source PowerMac Emulator"
 Icon=SheepShaver
 Exec=SheepShaver
 Terminal=false
 StartupNotify=false
-Categories=Emulator;Game;
+Categories=Emulator;

Correct sheepshaver.install informational:

diff --git a/sheepshaver.install b/sheepshaver.install
index 30e4a00..3bba8a0 100644
--- a/sheepshaver.install
+++ b/sheepshaver.install
@@ -10,14 +10,9 @@ post_install()
   echo ""
   echo ""
   echo "******************************************************************************************"
-  echo " If you want networking support in SheepShaver, you'll need to build the kernel module."
-  echo " 1)  Make sure linux-headers is installed with pacman"
-  echo " 2)  cd src/cebix-macemu-2e302d6/SheepShaver/src/Unix/Linux/NetDriver"
-  echo " 3)  Type:  make"
-  echo " 4)  Type:  sudo make dev"
-  echo " 5)  Type:  sudo chown <your_username> /dev/sheep_net"
-  echo " 6)  Type:  sudo make install"
-  echo " 7)  Type:  sudo modprobe sheep_net"
+  echo " If you want networking support in SheepShaver, you'll need to install the dkms package:"
+  echo " sudo pacman -S sheepnet-dkms-git"
+  echo " sudo modprobe sheep_net"
   echo "******************************************************************************************"
   echo ""

Finally, you can also remove the stale/unused sdl2_bug.patch.

jmsq commented on 2026-01-28 00:22 (UTC)

Needs the following fix to build:

export CXXFLAGS="$CXXFLAGS -DSTDC_HEADERS=1 -Wformat -Werror=format-security"

FabioLolix commented on 2025-02-09 12:57 (UTC)

Builds fine in a clean chroot with devtools

florosus commented on 2025-02-09 12:41 (UTC)

Requires /bin/sh to be bash rather than posix-compliant shell to compile.

Stormrvr commented on 2023-10-07 02:52 (UTC)

@VorpalWay - Thanks for that; I installed linux-mainline (kernel version 6.6rc4-1 at time of writing) and SheepShaver is back to working so far.

VorpalWay commented on 2023-10-06 21:40 (UTC)

@Stormrvr With respect to the allocation failure: https://bugs.archlinux.org/task/79656

Stormrvr commented on 2023-09-26 20:11 (UTC) (edited on 2023-09-26 20:24 (UTC) by Stormrvr)

Running kernel 6.5.4-arch2-1 - with sysctl vm.mmap_min_addr=0 I also get: ERROR: Cannot map Low Memory Globals: Cannot allocate memory.

VorpalWay commented on 2023-09-11 14:53 (UTC)

As of kernel 6.5.2-arch1-1, it seems like sysctl vm.mmap_min_addr=0 is no longer enough to make SheepShaver work, I keep getting: ERROR: Cannot map Low Memory Globals: Cannot allocate memory.

VorpalWay commented on 2023-08-22 13:34 (UTC)

So I figured out the issue:

checking floating point format... configure: error: Unknown floating point format

I needed to add options=(!lto) to the PKGBUILD.

Unfortunately it still fails to build later on, and I needed to also add -Wno-error=format-security to CXXFLAGS. -Werror=format-security is included by default in Arch's standard makepkg.conf.

So those two changes are needed.