Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233011 - Version bump for games-strategy/lightyears
Summary: Version bump for games-strategy/lightyears
Status: RESOLVED FIXED
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: 2008-07-26 17:48 UTC by chris salch
Modified: 2008-11-05 20:58 UTC (History)
1 user (show)

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


Attachments
The ebuild. (lightyears-1.3a.ebuild,1.80 KB, text/plain)
2008-07-26 17:50 UTC, chris salch
Details
Associated file path patch needed to install in gentoo locations (lightyears-1.3a-gentoo.patch,1.18 KB, patch)
2008-07-26 17:51 UTC, chris salch
Details | Diff
lightyears-1.3a ebuild which installs the manual and which adds ~sparc keyword. (lightyears-1.3a.ebuild,1.91 KB, text/plain)
2008-08-13 14:20 UTC, Ferris McCormick (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description chris salch 2008-07-26 17:48:57 UTC
I worked out an ebuild for the 1.3a version of lightyears.  It looks like the author has had source available for 1.3a released for a while.    In any event, the sounds in 1.3a are much much nicer to than the previous ones.
Comment 1 chris salch 2008-07-26 17:50:37 UTC
Created attachment 161429 [details]
The ebuild.
Comment 2 chris salch 2008-07-26 17:51:22 UTC
Created attachment 161430 [details, diff]
Associated file path patch needed to install in gentoo locations
Comment 3 Wormo (RETIRED) gentoo-dev 2008-07-26 19:26:21 UTC
Thanks for the ebuild
Comment 4 Ferris McCormick (RETIRED) gentoo-dev 2008-08-13 14:11:52 UTC
The -1.3a {ebuild,patch} set works to install a good lightyears game on amd64 and on sparc.  -1.3a has the added advantage that it uses /usr/bin/python to run it instead of /usr/bin/python2.4, so it works "out of the box" with current stable python.  I'm adding myself to the CC because once this gets added to the tree, it can have a ~sparc keyword, no need for a spearate bug to request it.

HOWEVER, -1.3a does not install the manual because the manual .html files are now in a separate directory parallel to their image directory.  The following change to the -1.3a.ebuild file installs the complete manual in a way that you can read it while you play (verified with dillo).
=============================================================
--- lightyears-1.3a.ebuild-     2008-08-13 13:54:14.000000000 +0000
+++ lightyears-1.3a.ebuild      2008-08-13 14:00:27.000000000 +0000
@@ -38,6 +38,9 @@
                || die "Failed moving html data"
        mv data/html*.jpg html/data \
                || die "Failed moving html data"
+       mkdir -p html/manual
+       mv manual/*.html html/manual \
+               || die "Failed moving LightYears manual."
 }
 
 src_install() {
@@ -47,7 +50,7 @@
        doins code/*.py || die "doins code failed"
 
        dodoc README.txt
-       dohtml -r *.html html/data
+       dohtml -r html/data html/manual
 
        insinto "${GAMES_DATADIR}/${PN}/data"
        doins -r data/* || die "doins data failed"
=====================================================

Good game with some interesting twists.
Comment 5 Ferris McCormick (RETIRED) gentoo-dev 2008-08-13 14:20:47 UTC
Created attachment 162822 [details]
lightyears-1.3a ebuild which installs the manual and which adds ~sparc keyword.

Attached new lightyears-1.3a.ebuild adds the ~sparc keyword (because it works just fine on sparc) and installs the complete manual, thus:

/usr/share/doc/lightyears-1.3a/html/data    <<- manual data (.png) files;
/usr/share/doc/lightyears-1.3a/html/manual  << actual manual (.html) files

The manual's *.html files expect to read images from ../data/*.png files
Comment 6 Tupone Alfredo gentoo-dev 2008-11-05 20:58:26 UTC
Version bumped. 
Thanks