Username: Password: Remember me
Search Criteria Advanced
Package Details

openmsx-catapult 0.7.2-1
http://openmsx.sourceforge.net
Front-end for openMSX: the MSX emulator that aims for perfection.

unsupported :: emulators
Maintainer: reztho
Votes: 10

License: GPL

Last Updated: Tue, 30 Jun 2009 16:06:30 +0000
First Submitted: Fri, 09 Jan 2009 22:10:30 +0000

Tarball :: Files :: PKGBUILD

Dependencies libpng libtiff libxml2 openmsx=0.7.2 wxgtk zlib

Sources
http://downloads.sourceforge.net/openmsx-catapult/-catapult/}/openmsx-catapult}-0.7.2.tar.gz
openmsx-catapult-0.7.2-main_mk.patch
Comment by: reztho on Wed, 04 Mar 2009 19:27:15 +0000
Thanks farvardin and elifarley. You two were right. I redid the patch.
Comment by: elifarley on Wed, 04 Mar 2009 11:50:08 +0000
There's another problem:

--
Build configuration
Platform: x86-linux
Flavour: i686
Installing to /var/abs/local/openmsx-catapult/pkg//usr/share/openmsx-catapult:
Executable...
Data files...
Documentation...
Desktop hooks...
Setting permissions...
chmod: cannot access `/usr/share/openmsx-catapult': No such file or directory
make: *** [install] Error 1
==> ERROR: Build Failed.
Aborting...
--

It seems the problem is in file 'build/main.mk', line 412:

@echo " Setting permissions..."
@chmod -R a+rX $(INSTALL_SHARE_DIR)


To fix it, maybe the patch should also include this:

-INSTALL_SHARE_DIR?=$(CATAPULT_INSTALL)
+INSTALL_SHARE_DIR?=$(INSTALL_PREFIX)$(CATAPULT_INSTALL)

Comment by: reztho on Wed, 04 Mar 2009 10:32:09 +0000
Farvarding, read the comments. Be sure to have installed base-devel.
Comment by: farvardin on Wed, 04 Mar 2009 10:16:39 +0000
the PKGBUILD tries to access /usr/share/openmsx-catapult which is not correct since it should be installed in the $pkgdir instead.
Comment by: reztho on Fri, 27 Feb 2009 21:07:59 +0000
Package groups aren't supported by makepkg, so base-devel cannot be a dependency.
Comment by: elifarley on Fri, 27 Feb 2009 12:35:32 +0000
Indeed...

It really doesn't make sense to add 'base-devel' to the depends line, since depending on that is the default.

But adding ' || return 1' seems to be advisable though.
Comment by: reztho on Fri, 27 Feb 2009 11:45:24 +0000
Added. Although I'm of the opinion it isn't necessary since you must know it before compiling packages in archlinux:
http://wiki.archlinux.org/index.php/Building_Packages_in_Arch_Linux
Comment by: elifarley on Fri, 27 Feb 2009 11:24:18 +0000
I found out what happened. First, I replaced this:

# Patching build/main.mk so it can install to $pkgdir
patch -p1 < ${srcdir}/openmsx-catapult-main_mk.patch

with this:

# Patching build/main.mk so it can install to $pkgdir
patch -p1 < ${srcdir}/openmsx-catapult-main_mk.patch || return 1

Then I could see this error message:

==> Starting build()...
PKGBUILD: line 17: patch: command not found

Probably you should add 'base-devel' to this line:

depends=('libxml2' 'wxgtk' 'zlib' 'libjpeg' 'libpng' 'libtiff' 'openmsx')


Cheers,
Elifarley
Comment by: reztho on Fri, 27 Feb 2009 09:47:56 +0000
Strange... What it must do is:
Build configuration
Platform: x86-linux
Flavour: i686
Installing to /var/local/abs/openmsx-catapult/pkg//usr/share/openmsx-catapult:
Executable...
Data files...
Documentation...
Desktop hooks...
Setting permissions...
Installation complete... have fun!

It seems the ${pkgdir} variable is ignored by makepkg (or by your shell) in your system.

Do you have makepkg up to date and is its configuration file updated (maybe a makepkg.pacnew you must merge)?
What shell (bash, zsh, ...) and terminal (pure terminal, urxvt, gnome terminal) are you using?
Comment by: elifarley on Thu, 26 Feb 2009 23:47:05 +0000
After issuing makepkg as a regular user, I get this error:

Copying tapeimage.png...
Build configuration
Platform: x86-linux
Flavour: i686
Installing to /usr/share/openmsx-catapult:
Executable...
strip:/usr/bin/catapult: Permission denied
make: *** [install] Error 1
==> ERROR: Build Failed.
Comment by: reztho on Sat, 10 Jan 2009 09:48:26 +0000
Updated it for making it to generate the .desktop file correctly.

If you installed the first release of this package, you will have a local .desktop file. Please remove it, it's here:
~/.local/share/applications/openMSX-Catapult.desktop

v1.6.0