Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 566996 - games-emulation/sdlmame: fix typos
Summary: games-emulation/sdlmame: fix typos
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-27 16:14 UTC by Casper Ti. Vector
Modified: 2015-11-30 19:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Casper Ti. Vector 2015-11-27 16:14:20 UTC
As the title, the config specifies `cheat', but current ebuilds issue the keepdir command on `cheats'.
As an example, the v0.167 ebuild can be modified like

--- sdlmame-0.167.ebuild	2015-11-27 03:01:02.000000000 +0800
+++ sdlmame-0.167.ebuild	2015-11-28 00:06:04.972551810 +0800
@@ -203,8 +203,8 @@
 
 	dodoc docs/{config,mame,newvideo}.txt
 	keepdir \
-		"${GAMES_DATADIR}/${PN}"/{ctrlr,cheats,roms,samples,artwork,crosshair} \
-		"${GAMES_SYSCONFDIR}/${PN}"/{ctrlr,cheats}
+		"${GAMES_DATADIR}/${PN}"/{ctrlr,cheat,roms,samples,artwork,crosshair} \
+		"${GAMES_SYSCONFDIR}/${PN}"/{ctrlr,cheat}
 
 	if use tools ; then
 		for f in castool chdman floptool imgtool jedutil ldresample ldverify romcmp testkeys ; do
Comment 1 Casper Ti. Vector 2015-11-27 16:24:47 UTC
In addition, `commit_directory' should be `comment_directory':

--- sdlmame-0.167.ebuild	2015-11-27 03:01:02.000000000 +0800
+++ sdlmame-0.167.ebuild	2015-11-28 00:24:06.707125497 +0800
@@ -181,7 +181,7 @@
 			"${T}/mame.ini" || die
 	done
 	# -- Directories
-	for f in {cfg,nvram,memcard,input,state,snapshot,diff,commit} ; do
+	for f in {cfg,nvram,memcard,input,state,snapshot,diff,comment} ; do
 		sed -i \
 			-e "s:\(${f}_directory\)[ \t]*\(.*\):\1 \t\t\$HOME/.${PN}/\2:" \
 			"${T}/mame.ini" || die
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2015-11-30 19:27:45 UTC
good spotting.  fixed in portage.