Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127348 - New ebuild: games-board/york-0.1
Summary: New ebuild: games-board/york-0.1
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-23 12:07 UTC by CJ Kucera
Modified: 2006-03-23 12:55 UTC (History)
0 users

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


Attachments
york-0.1.ebuild (york-0.1.ebuild,1.37 KB, text/plain)
2006-03-23 12:12 UTC, CJ Kucera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description CJ Kucera 2006-03-23 12:07:42 UTC
York is a tile placement game loosely inspired by the board game Carcassonne.  

http://york.sf.net/

Version 0.1 is considered Alpha, but it's been working fine for me thus far.  There's some notes on the ebuild which I'll enumerate once I've attached it in a second or two.
Comment 1 CJ Kucera 2006-03-23 12:12:51 UTC
Created attachment 82956 [details]
york-0.1.ebuild

A few things of note about the ebuild:

* src and data packages are separate

* On York's main page there are a few patches available for download.  The first fixes a compilation error for some people (simple adds "#include <errno.h>" to a file).  I included that even though I didn't need it.  The other patch fixes a scoring issue with respect to road placement.

* The patches are distributed as a short bash script.  The scoring-issue patch requires zip and unzip, because it patches one text file inside the data file.  I've put in zip/unzip as DEPEND and left them out of RDEPEND

* Didn't know how specific to get with DEPEND - the patches require bash and diff, I presume we can probably assume that everyone's got those.  They're in DEPEND on my ebuild anyway.

* Used sed to have the makefile obey our CFLAGS.  Also used sed so that the main datafile can live in /usr/share/games/york instead of having to be in the same dir that you're running from.  I'd be happy to redo the ebuild and use an actual patch instead of sed, if you want.

* Binary builds as "demo" - I've renamed that as "york" for when it gets installed.

The build works fine for me - let me know if there are any issues and I'd be happy to upload a revised version.
Comment 2 CJ Kucera 2006-03-23 12:16:02 UTC
(whoops, forgot to backslash the . in base.dat on my last sed statement.  Should probably do so, even though it doesn't cause problems the way it is now.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2006-03-23 12:55:06 UTC
A bit too fresh for portage just yet especially since upstream claims to be rewriting it completely in python.  Let us know when it's a bit more mature.  Thanks.