Summary: | Frozen-Bubble does not install itself as a game | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | bugs |
Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | minor | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
ebuild patch
usr-games-bin-gentoo.patch frozen-bubble-1.0.0-r2.ebuild |
Description
bugs
2003-07-22 07:05:53 UTC
frozen-bubble uses a make file to handle is installation. The correct way to do what you are asking is to patch the make file. I'll look into it. Actually, there should be no need to change anything in the Makefile, but rather to use the functions in the games.eclass to modify the destination locations. Also, simply overriding variables works quite a bit cleaner than patching the Makefile. It also keeps us from having to maintain patches that are not necessary. If we override a variable (${BINDIR}) we end up with frozen-bubble-editor in /usr/games/bin aswell. IMO frozen-bubble-editor should stay in /usr/bin. Created attachment 14874 [details, diff]
ebuild patch
Created attachment 14875 [details, diff]
usr-games-bin-gentoo.patch
This patch creates a new variable for the installation location of
frozen-bubble. It still makes use of ${PREFIX}.
The purpose of the games.eclass stuff is actually to keep all parts of the game in /usr/games, as it should be. The editor is no exception. We therefore need no patch whatsoever to the original sources of the game. I am updating the ~arch version of the ebuild in CVS. It should be on the mirrors shortly. Since I am not changing a stable version, I am not going to bump the revision. If you wish to use the updated ebuild, simply emerge sync && emerge frozen-bubble again. Thanks guys! That was fast :) Created attachment 14942 [details]
frozen-bubble-1.0.0-r2.ebuild
The current ebuild is not perfect yet: "games.eclass" specifies
/usr/share/games for data files, whereas they were installed in
/usr/games/share. Here is a corrected version.
|