Package Details: beebem 0.0.13-2

Git Clone URL: https://aur.archlinux.org/beebem.git (read-only, click to copy)
Package Base: beebem
Description: BBC Micro Emulator
Upstream URL: http://beebem-unix.bbcmicro.com/
Licenses: custom
Submitter: lostatsea
Maintainer: lostatsea
Last Packager: lostatsea
Votes: 3
Popularity: 0.000121
First Submitted: 2017-07-01 10:09 (UTC)
Last Updated: 2023-07-30 17:49 (UTC)

Latest Comments

FredBezies commented on 2023-07-30 14:11 (UTC)

Here is a fixed PKGBUILD for warning-as-errors problems.

# Maintainer: Iain Tatch <iain.tatch @ gmail>
pkgname=beebem
pkgver=0.0.13
pkgrel=2
pkgdesc="BBC Micro Emulator"
arch=('x86_64')
url="http://beebem-unix.bbcmicro.com/"
license=('custom')
groups=()
depends=('sdl' 'gtk2')
makedepends=('patch')
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
source=('http://beebem-unix.bbcmicro.com/download/beebem-0.0.13.tar.gz'
        'http://beebem-unix.bbcmicro.com/download/beebem-0.0.13_64bit.patch'
        'http://beebem-unix.bbcmicro.com/download/beebem-0.0.13-keys.patch'
        'http://beebem-unix.bbcmicro.com/download/beebem-0.0.13_menu_crash.patch')
noextract=()
md5sums=('44e6edc5c3e5fca9a84e2cddc4bf4858' 'fb4b26c4b0189dbf0407816314a42ec6' '05d373f8c295039b62f9b48cc4dad9fa' '32de835139acabb7b919c18a9ebad830')


prepare() {
  msg "Applying patch files ..."
  cd $srcdir
  patch -p0 <beebem-0.0.13_64bit.patch
  patch -p0 <beebem-0.0.13-keys.patch
  patch -p0 <beebem-0.0.13_menu_crash.patch
}

build() {
  cd "$pkgname-$pkgver"
  export CFLAGS="-Wno-error"
  export CXXFLAGS="-Wno-error"
  ./configure --enable-econet --prefix=/usr
  make
}

package() {
  cd "$pkgname-$pkgver"
  mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
  cp COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  make prefix="$pkgdir/usr/" install
}

# vim:set ts=2 sw=2 et:

dureyes commented on 2023-07-28 04:09 (UTC)

This is what worked for me, hope this helps.

Get the source files and patches

wget http://beebem-unix.bbcmicro.com/download/beebem- 0.0.13{.tar.gz,_64bit.patch,-keys.patch,_menu_crash.patch}

Unpack the main source-code

tar -xzf beebem-0.0.13.tar.gz

patch the source-code

patch -p0 < beebem-0.0.13_64bit.patch patch -p0 < beebem-0.0.13-keys.patch patch -p0 < beebem-0.0.13_menu_crash.patch

Change directory into the source-code directory

cd beebem-0.0.13/

build it

./configure --enable-econet --prefix=$HOME/beebem make sudo make install-strip

nobicycle commented on 2023-01-22 10:49 (UTC)

cc1plus: some warnings being treated as errors

To fix sd error I installed community/sdl12-compat Then, makepkg:

ardware.cpp:161:16: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings] 161 | char OpusName="Opus DDOS Extension board for BBC Model B"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: some warnings being treated as errors make[3]: [Makefile:352: i86.o] Error 1 make[3]: Leaving directory '/home/user/System/Yay/beebem/src/beebem-0.0.13/src' make[2]: [Makefile:373: all-recursive] Error 1 make[2]: Leaving directory '/home/user/System/Yay/beebem/src/beebem-0.0.13/src' make[1]: [Makefile:239: all-recursive] Error 1 make[1]: Leaving directory '/home/user/System/Yay/beebem/src/beebem-0.0.13' make: [Makefile:177: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...

sankasan commented on 2021-11-16 15:14 (UTC) (edited on 2021-11-16 15:24 (UTC) by sankasan)

When I tried to install Beebem I got the following error.

i86.cpp: In function ‘void Dis186()’:
i86.cpp:3636:9: error: format not a string literal and no format arguments [-Werror=format-security]
 3636 | 
      |         ^   
i86.cpp: In function ‘int i186_execute(int)’:

A quick fix is to change line 3636 in i86.cpp from

printf(buff);

to

printf("%s", buff);

I hope you can add that as a patch.