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
Dependencies libpng libtiff libxml2 openmsx=0.7.2 wxgtk zlib
Thanks farvardin and elifarley. You two were right. I redid the patch.
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)
Farvarding, read the comments. Be sure to have installed base-devel.
the PKGBUILD tries to access /usr/share/openmsx-catapult which is not correct since it should be installed in the $pkgdir instead.
Package groups aren't supported by makepkg, so base-devel cannot be a dependency.
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.
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
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
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?
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.
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