Package Details: open-invaders 0.3-3

Git Clone URL: https://aur.archlinux.org/open-invaders.git (read-only, click to copy)
Package Base: open-invaders
Description: A clone of Space Invaders
Upstream URL: http://sourceforge.net/projects/open-invaders/
Licenses: GPL2
Submitter: None
Maintainer: jose1711
Last Packager: jose1711
Votes: 4
Popularity: 0.000002
First Submitted: 2007-11-28 23:57 (UTC)
Last Updated: 2021-11-15 08:43 (UTC)

Latest Comments

jose1711 commented on 2021-10-17 12:01 (UTC) (edited on 2021-10-17 15:23 (UTC) by jose1711)

In order to compile this there are a few steps to be taken: * aldumb added to depends * integrate format_security.patch and gcc6.patch from Debian * add patch to update dumb_load_mod_quick to use new signature * add patch to use correct LDFLAGS

Ideally there is a .desktop file added too (e. g. generated via gendesk). Here's a diff for PKGBUILD:

--- PKGBUILD.orig   2021-10-17 12:24:19.790214454 +0200
+++ PKGBUILD    2021-10-17 13:57:28.860073966 +0200
@@ -5,17 +5,33 @@

 pkgname=open-invaders
 pkgver=0.3
-pkgrel=2
+pkgrel=3
 pkgdesc="A clone of Space Invaders"
 arch=('i686' 'x86_64')
 #url="http://www.jamyskis.net/invaders.php"
 url="http://sourceforge.net/projects/open-invaders/"
 license=('GPL2')
-depends=('allegro4' 'gcc-libs')
-makedepends=('dumb')
-source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz")
+depends=('allegro4' 'gcc-libs' 'aldumb')
+source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz"
+        format_security.patch
+        dumb_load.patch
+        gcc6.patch
+        ldflags.patch)
 #source=(http://www.jamyskis.net/downloads/${pkgname}-${pkgver}.tar.gz)
-md5sums=('35c0d8ec3beacfc97389d38eef3555b2')
+md5sums=('35c0d8ec3beacfc97389d38eef3555b2'
+         '93d5721295c03aa3632bee734dd1b5fd'
+         '4316ae5edd64bfab9510059c737ce02b'
+         'c0661a336a74a8b92157ea2bfdb73c9f'
+         '5044154969d35a626cd3b3a073c56dca')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+  patch -p1 -i "${srcdir}/format_security.patch"
+  patch -p1 -i "${srcdir}/gcc6.patch"
+  patch -p2 -i "${srcdir}/dumb_load.patch"
+  patch -p2 -i "${srcdir}/ldflags.patch"
+}
+

Will e-mail the maintainer the rest of the files.

lmat commented on 2021-04-24 22:04 (UTC)

I currently get "main.cc:21:10: fatal error: aldumb.h: No such file or directory...#include <aldumb.h>"

Maybe the dumb library changed since this last worked and there is no more aldumb.h in there? https://archlinux.org/packages/community/x86_64/dumb/files/ only supplies dumb.h...

keenerd commented on 2013-10-23 17:20 (UTC)

Fixed that. Then a new error appeared: init.cc:303:86: error: "‘mkdir’ was not declared in this scope Fixed that too. Then another error appeard: pmask.c:32:54: error: size of array ‘_compile_time_assert__’ is negative Fix was at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638376 Whack-a-mole should be done now.

archtux commented on 2013-10-23 13:23 (UTC)

Can't build package. I have several similar errors like these... In file included from main.cc:27:0: ../headers/declare.h:80:30: fatal error: ../include/pmask.h: No such file or directory #include "../include/pmask.h" ^ Bug report and patch is at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668815