You are not logged in.

#1 2004-10-07 23:29:03

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

[NEW] Kpacman: the classic arcade game

This is a package for the pacman arcade game for KDE.

I must say that there is a project, on the forum, for a GUI for pacman called kpacman.  There might be conflicts between them especially if they both use kpacman to name files/directories.  I haven't tested that so be carefull before installing both kpacman AND kpacman-game.

the PKGBUILD:

pkgname=kpacman-game
pkgver=0.3.2
pkgrel=1
pkgdesc="The classic pacman arcade game for the KDE Desktop"
url="http://kpacman.sourceforge.net/"
license="GPL"
depends=('x-server' 'kdegames')
makedepends=('qt' 'kdelibs')
source=(http://dl.sourceforge.net/sourceforge/kpacman/$pkgname-$pkgver.tar.gz patch.kpacman.cpp)
md5sums=('4405bd9f7a78d005f8540c8d610eb188' 'c1aa6bbcac81f1c14fbcb00dcc31d173')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  patch kpacman/kpacman.cpp ../patch.kpacman.cpp
  make || return 1
  make prefix=$startdir/pkg/opt/kde install
}

the patch:

--- kpacman-0.3.2/kpacman/kpacman.cpp   2003-06-18 12:01:27.000000000 -0400
+++ kpacman-0.3.2/kpacman/kpacman.cpp.new       2004-10-06 20:43:26.000000000 -0400
@@ -445,12 +445,12 @@
   slotStatusMsg(i18n("Configure key bindings..."));
   ///////////////////////////////////////////////////////////////////
   // configure key bindings
-  Keys *keys = new Keys();
-  if (keys->exec() == QDialog::Accepted) {
-    view->referee->initKeys();
-    view->score->initKeys();
-  }
-  delete keys;
+  //  Keys *keys = new Keys();
+  //  if (keys->exec() == QDialog::Accepted) {
+  //   view->referee->initKeys();
+  //   view->score->initKeys();
+  //  }
+  //  delete keys;

   slotStatusMsg(i18n("Ready."));
 }

Offline

#2 2004-10-08 00:33:35

shlo
Member
Registered: 2004-09-25
Posts: 42

Re: [NEW] Kpacman: the classic arcade game

To make matters worse, our namcap shares a name with ANOTHER pacman clone!

Offline

Board footer

Powered by FluxBB