Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68501 - NWN Community Expansion Pack ebuild request
Summary: NWN Community Expansion Pack ebuild request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: High enhancement
Assignee: Gentoo Games
URL: http://nwn.bioware.com/players/cep.html
Whiteboard:
Keywords:
Depends on: 66932
Blocks:
  Show dependency tree
 
Reported: 2004-10-21 23:47 UTC by Julien Allanos (RETIRED)
Modified: 2005-01-19 22:51 UTC (History)
4 users (show)

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


Attachments
nwn-cep-1.5.ebuild (nwn-cep-1.5.ebuild,1.05 KB, text/plain)
2004-11-12 09:34 UTC, Kai Zimmermann (RETIRED)
Details
nwn-cep-1.50.ebuild (nwn-cep-1.50.ebuild,805 bytes, text/plain)
2004-12-30 02:32 UTC, SpanKY
Details
nwn-cep-1.50.ebuild (nwn-cep-1.50.ebuild,1.35 KB, text/plain)
2005-01-19 20:09 UTC, SpanKY
Details
digest-nwn-cep-1.50 (digest-nwn-cep-1.50,62 bytes, text/plain)
2005-01-19 22:41 UTC, Keri Harris (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Allanos (RETIRED) gentoo-dev 2004-10-21 23:47:27 UTC
NWN CEP 1.50 is out. CEP is a single package containing the highest-rated player community-developed content available to date. It would be interesting to have an ebuild for this.
Comment 1 Kai Zimmermann (RETIRED) gentoo-dev 2004-11-12 09:34:41 UTC
Created attachment 43794 [details]
nwn-cep-1.5.ebuild

This little fellow should fix the bug. I'm not pretty shure that using "doins"
is a wise idea. "mv" could do this a lot faster (if they are in the same fs).
However, I decided to have a good looking ebuild instead of performance :)

kai
Comment 2 Kai Zimmermann (RETIRED) gentoo-dev 2004-11-12 09:35:52 UTC
I should mention that the proposed ebuild depends on nwn-1.64, so there is a new dependency to this bug.

kai
Comment 3 Sébastien Champigny 2004-12-18 01:30:14 UTC
Works for me on x86.
Thank you for the good work.
Comment 4 SpanKY gentoo-dev 2004-12-30 02:32:03 UTC
Created attachment 47197 [details]
nwn-cep-1.50.ebuild

please try this version

we tend to use 'mv' instead of 'doins' when dealing with large games ... saves
on space / speed

also, you should note that `doins` can take multiple arguements, so you could
have just done `doins *.hak`
Comment 5 Keri Harris (RETIRED) gentoo-dev 2005-01-19 19:54:59 UTC
SpanKY, your ebuild does not install files into their respective directories:

- *.hak files need to go into "${GAMES_PREFIX_OPT}/nwn/hak/"
- Live/* files also need to go into "${GAMES_PREFIX_OPT}/nwn/hak/"
- cep.tlk needs to go into "${GAMES_PREFIX_OPT}/nwn/tlk/"
- *.mod files need to go into "${GAMES_PREFIX_OPT}/nwn/modules/"
- *.pdf and *.txt files could go into "${GAMES_PREFIX_OPT}/nwn/cep/" ?

The rar file also contains SoU/* and HotU/* hak files. These are used instead of the Live/* hak files only in the case that the user has the SoU or HotU expansion packs.
It may be worthwhile to install these somewhere ("${GAMES_PREFIX_OPT}/nwn/cep/" ?) and instruct the user where to move them in the event they obtain the expansion packs.
Comment 6 SpanKY gentoo-dev 2005-01-19 20:09:04 UTC
Created attachment 49012 [details]
nwn-cep-1.50.ebuild

try this then please
Comment 7 Keri Harris (RETIRED) gentoo-dev 2005-01-19 22:20:03 UTC
Thanks SpanKY. The only change I had to make was 'unrar x ${DISTDIR}/${A}' in src_unpack.
Other than that, the ebuild installs everything appropriately.
Comment 8 SpanKY gentoo-dev 2005-01-19 22:25:55 UTC
awesome :)

if you could post the digest file for the ebuild, i'll add this to portage ...
Comment 9 Keri Harris (RETIRED) gentoo-dev 2005-01-19 22:41:00 UTC
Created attachment 49016 [details]
digest-nwn-cep-1.50
Comment 10 SpanKY gentoo-dev 2005-01-19 22:51:57 UTC
now in portage, thanks ! :)