Package Base Details: sheepshaver-git

Git Clone URL: https://aur.archlinux.org/sheepshaver-git.git (read-only, click to copy)
Keywords: emulator macos system-9
Submitter: grawity
Maintainer: FabioLolix
Last Packager: Menelkir
Votes: 5
Popularity: 0.72
First Submitted: 2018-10-31 23:14 (UTC)
Last Updated: 2024-03-25 13:30 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4

DonJaime commented on 2019-12-26 11:48 (UTC)

With the latest version of the PKGBUILD (pkgrel=2) I get a core dump:

Process 5228 (SheepShaver) of user 1000 dumped core. Stack trace of thread 5228:

0 0x00000000780c0dcd n/a (SheepShaver + 0x78dcd)
1 0x00000000780873ef n/a (SheepShaver + 0x3f3ef)
2 0x00007f46c1b31930 __restore_rt (libpthread.so.0 + 0x14930)
3 0x0000000078077a80 n/a (SheepShaver + 0x2fa80)
4 0x000000007805fcd7 n/a (SheepShaver + 0x17cd7)
5 0x00000000780614b8 n/a (SheepShaver + 0x194b8)
6 0x00007f46c159a153 __libc_start_main (libc.so.6 + 0x27153)
7 0x000000007805fa7e n/a (SheepShaver + 0x17a7e)

This happens immediately if I start SheepShaver, and when I hit 'Start' if I run SheepShaverGUI.

Kramlat commented on 2019-08-18 01:17 (UTC) (edited on 2019-08-18 01:27 (UTC) by Kramlat)

yes it works (sort of) though I have a few other things I recommend:
--enable-addressing=direct \ <-- disable the need for root
--enable-standalone-gui \ <-- this will allow for one to wrap the emulator with a script so that we can have for an example, boot chimes.
here is the updated PKGBUILD:

Maintainer: Eric DeStefano <eric at ericdestefano dot com>


pkgname=sheepshaver-git
pkgver=r2604.g143b0827
pkgrel=1
pkgdesc="An Open Source PowerMac Emulator"
arch=('x86_64')
url="http://sheepshaver.cebix.net"
license=('GPL')
depends=('gtk2' 'sdl' 'vde2')
provides=("sheepshaver=$pkgver")
conflicts=("sheepshaver")
source=('git+https://github.com/cebix/macemu'
'SheepShaver.sysctl'
'SheepShaver.desktop'
'SheepShaver.png')
sha256sums=('SKIP'
'a4aa858b95d29906873693988d5db42d5a4da8aa94a72c79374f59fc488efd51'
'cb002e73e864a6ca271e0bbaa6df6eb89dc1df86856fc575c20bf79367458c39'
'b7f67b1f8424f3e0ffa1a5e57597f368c4c4f93ea1f871ec0a76700b7519b241')

pkgver() {
cd macemu
echo "r$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"
}

build() {
cd macemu/SheepShaver/src/Unix
./autogen.sh \
--prefix=/usr \
--enable-addressing=direct \
--enable-standalone-gui \
--enable-sdl-audio \
--enable-sdl-video \
--enable-tuntap \
--with-bincue \
--with-vdeplug \
;
make -j1
cd Linux/NetDriver
make -j1
}

package() {
install -Dm755 macemu/SheepShaver/src/Unix/SheepShaver "$pkgdir"/usr
/bin/SheepShaver
install -Dm755 macemu/SheepShaver/src/Unix/SheepShaverGUI "$pkgdir"/usr
/bin/SheepShaverGUI # Kramlat: Added external config tool
install -Dm755 macemu/SheepShaver/src/Unix/Linux/NetDriver/sheep_net.ko "$pkgdir"/usr/lib/modules/SheepNet/sheep_net.ko #
Kramlat: Added SheepNet to silence warning if you want to actually use it


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

install -Dm644 SheepShaver.desktop "$pkgdir"/usr/share/applications/SheepShaver.desktop
install -Dm644 SheepShaver.png "$pkgdir"/usr/share/pixmaps/SheepShaver.png
install -Dm644 SheepShaver.sysctl "$pkgdir"/etc/sysctl.d/90-SheepShaver.conf
}

vim: ts=2:sw=2:et:

grawity commented on 2019-08-15 12:48 (UTC)

Been a long time since I touched this program at all. Does it still work?

It might be possible to build sheep_net, yes (assuming it's still compatible with current kernels), but I would much prefer a mechanism that doesn't require having to load custom drivers – i.e. attaching to standard tap or macvtap interfaces, either directly or via vde2. (And it looks like ether_unix.cpp supports both methods.)

Kramlat commented on 2019-08-15 12:41 (UTC)

wouldn't it be possible to run make -j1 in macemu/SheepShaver/src/Unix/Linux/NetDriver then install sheep_net.ko into /lib/modules/SheepShaver and thus build a working sheep_net driver?