Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#11927 - [xmame-sdl-0.106] use /usr/share/games/xmame as xmameroot

Attached to Project: Arch Linux
Opened by solsTiCe (zebul666) - Wednesday, 29 October 2008, 13:04 GMT
Last edited by Eric Belanger (Snowman) - Monday, 01 June 2009, 00:48 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Kevin Piche (kpiche)
Aaron Griffin (phrakture)
Architecture All
Severity Very Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
one could use /usr/share/games/xmame as the central place to store roms and others things like hiscore.dat. (instead of /usr/share/xmame by default which is not even in the package right now)

here is a patch to the PKGBUILD
--- PKGBUILD 2008-10-25 06:08:42.000000000 +0200
+++ PKGBUILD 2008-10-29 13:37:03.000000000 +0100
@@ -17,10 +17,15 @@
patch -Np0 -i ${startdir}/src/makefile.unix.patch || return 1
[ -z "${CC}" ] || sed -i "s/CC\t= gcc/CC\t= ${CC}/" makefile.unix
sed -i "s/^CFLAGS =/CFLAGS = ${CFLAGS}/" makefile.unix
+ sed -i '/^XMAMEROOT/s|/share/|/share/games/|' makefile.unix

make PREFIX=/usr || return 1
make PREFIX=${startdir}/pkg/usr install

+ mkdir -p $startdir/pkg/usr/share/games/xmame
+ chown root.games $startdir/pkg/usr/share/games/xmame
+ chmod 775 $startdir/pkg/usr/share/games/xmame
+
# symlink for xmame
cd ${startdir}/pkg/usr/bin
ln -s xmame.SDL xmame

the chown root.games line seems not to work and might be replaced by a similar line in a xmame-sdl.install file
if one want to let xmame users create the necessary file in there.

This task depends upon

Closed by  Eric Belanger (Snowman)
Monday, 01 June 2009, 00:48 GMT
Reason for closing:  Won't fix
Additional comments about closing:  obsolete. removed from repo.
Comment by Allan McRae (Allan) - Sunday, 15 March 2009, 02:06 GMT
Why the preference of /usr/share/games/xmame rather that /usr/share/xmame? Adding that directory would keep inline with upstream and most other packages.
Comment by solsTiCe (zebul666) - Sunday, 15 March 2009, 14:38 GMT
i can't remember ;-) it's been 4 months i submitted the bug report.
Comment by Aaron Griffin (phrakture) - Tuesday, 17 March 2009, 22:49 GMT
From the FHS:
/usr/share/games Static data files for /usr/games (optional)
...
Game data stored in /usr/share/games must be purely static data. Any modifiable files, such as score files, game play logs, and so forth, should be placed in /var/games.

Perhaps that is the reason?
Comment by solsTiCe (zebul666) - Wednesday, 18 March 2009, 13:13 GMT
yes may be
i am very fond of standard especially the FHS.

Loading...