Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75397 - Ebuild for Neverwinter Nights: Shadows of Urdentide 1.65
Summary: Ebuild for Neverwinter Nights: Shadows of Urdentide 1.65
Status: RESOLVED DUPLICATE of bug 106789
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-22 20:28 UTC by Nathan Skillen
Modified: 2005-09-27 06:48 UTC (History)
2 users (show)

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


Attachments
Ebuild for NWN: SoU 1.65 (nwn-sou-1.65.ebuild,2.85 KB, text/plain)
2004-12-22 20:29 UTC, Nathan Skillen
Details
modified fixinstall script for nwn-sou ebuild (nwn-sou-1.65-fixinstall,1.66 KB, text/plain)
2004-12-22 20:30 UTC, Nathan Skillen
Details
nwn-sou-1.65.ebuild (nwn-sou-1.65.ebuild,2.02 KB, text/plain)
2004-12-30 02:12 UTC, SpanKY
Details
Tree ouput on the french SoU cd (tree-sou-output,1.40 KB, text/plain)
2005-01-04 06:06 UTC, Sébastien Champigny
Details
nwn-sou-1.65.ebuild (nwn-sou-1.65.ebuild,2.44 KB, text/plain)
2005-01-21 14:42 UTC, Keri Harris
Details
nwn-sou-1.65-fixinstall (nwn-sou-1.65-fixinstall,2.52 KB, text/plain)
2005-01-21 14:47 UTC, Keri Harris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Skillen 2004-12-22 20:28:54 UTC
I have put together an ebuild for NWN: SoU.

I have successfully used it to install SoU on my computer, and have, as of yet, noted no problems.  I would recommend further testing, and having someone more experienced give the .ebuild a once-over, as I'm still fairly new at this.
Comment 1 Nathan Skillen 2004-12-22 20:29:34 UTC
Created attachment 46685 [details]
Ebuild for NWN: SoU 1.65
Comment 2 Nathan Skillen 2004-12-22 20:30:19 UTC
Created attachment 46687 [details]
modified fixinstall script for nwn-sou ebuild
Comment 3 Nathan Skillen 2004-12-22 21:14:19 UTC
one other note:

I haven't figured out how to make the ebuild delete the files /opt/nwn/patch.key or /opt/nwn/data/patch.bif

The ebuild should add them to aProblemFiles in the fixinstall script so that it warns you to delete them.  If someone can modify the ebuild so that it deletes them, that would be preferable.
Comment 4 SpanKY gentoo-dev 2004-12-30 01:42:30 UTC
*** Bug 61988 has been marked as a duplicate of this bug. ***
Comment 5 SpanKY gentoo-dev 2004-12-30 02:12:23 UTC
Created attachment 47196 [details]
nwn-sou-1.65.ebuild

please give this ebuild a whirl
Comment 6 SpanKY gentoo-dev 2004-12-30 02:13:42 UTC
can you post the output of `tree` when run on the cd ?  i'd like to find a unique file that is on the SoU cd and not on the HoU cd
Comment 7 Sébastien Champigny 2005-01-04 06:06:52 UTC
Created attachment 47577 [details]
Tree ouput on the french SoU cd
Comment 8 Sébastien Champigny 2005-01-04 06:12:14 UTC
You could use for example the file "NWNSoUInstallGuide.rtf".
Comment 9 Keri Harris gentoo-dev 2005-01-21 14:36:09 UTC
SpanKY, the ebuild is a big step in the right direction, but there are quite a few issues that need to be resolved:


- SoU DESCRIPTION typo: Urdentide -> Undrentide

- src_unpack typo: "${CDROM_ROOT}"/${zip}.zip -> "${CDROM_ROOT}"/${zip}

- the SoU Campaigns (nwm/*.nwm files) included in Data_Shared.zip are from SoU 1.30. These contain bugs which were fixed in subsequent updates. I think we should unconditionally download and unpack the linuxsouclientupdate tarball - even if only to install the updated Campaign files.

- src_unpack only seems to unpack the english linuxsouclientupdate tarball:
  'unpack linuxsouclientupdate1xxto${UPDATEVER}eng.tar.gz' -> 'unpack ${A}'

- there are many files included in the zip files and linuxsouclientupdate tarball which are redundant, old versions, or conflict with games-rpg/nwn:

 Data_Shared.zip:

  nwm/* - buggy 1.30 SoU campaign files. (It's important that these get overwritten by fixed 1.65 versions when unpacking the linuxsouclientupdate tarball).

 Language_data.zip:

  movies/* - Windows only movie files - 122M of bloat.

 Data_Linux.zip:

  lib/*, readme-SDL.txt, SDL-1.2.5/* - unneeded SDL libraries and source code (libsdl is a dep of games-rpg/nwn)

 linuxsouclientupdate1xxto165eng.tar.gz:

  readme.linuxclientupdate.txt - SoU-update info. This filename conflicts with a similar NWN-update file provided by games-rpg/nwn

- if nwn-hotu is installed then we must not install the following files:

 - the old 1.30 SoU binaries (nwmain and nwserver) in Data_Linux.zip or the 1.65 SoU binaries (nwmain and nwserver) in the linuxsouclientupdate tarball. (The nwn-hotu binaries supercede nwn-sou binaries).
 - dialog.tlk, xp1patch.key, data/xp1patch.bif - both from the linuxsouclientupdate tarball.
 - override/* - override files from nwn-hotu supercede those from nwn-sou.

- override/* should be installed if nwn-hotu is _not_ installed. However, any files in ${GAMES_PREFIX_OPT}/nwn/override provided by games-rpg/nwn should be deleted. The only file that will not be overwritten by nwn-sou is ${GAMES_PREFIX_OPT}/nwn/override/iit_medkit_001.tga which we can add to PROBLEM_FILES.

- fixinstall needs to be updated to fix permissions of SoU-specific files.


So, after unpacking everything, we need to delete any redundant, old or conflicting files before invocating the great 'mv ${S} ${D}/${GAMES_PREFIX_OPT}' in src_install.

I understand that without a copy of this game the Gentoo devs are somewhat flying blind when maintaining this. It's very pleasing to see that they choose to maintain it nevertheless. :)
Comment 10 Keri Harris gentoo-dev 2005-01-21 14:42:20 UTC
Created attachment 49145 [details]
nwn-sou-1.65.ebuild

This ebuild contains fixes for the aforementioned issues.
Comment 11 Keri Harris gentoo-dev 2005-01-21 14:47:00 UTC
Created attachment 49146 [details]
nwn-sou-1.65-fixinstall

This version will also fix permissions of SoU-specific files.
Comment 12 Chris Gianelloni (RETIRED) gentoo-dev 2005-09-27 06:48:56 UTC
OK... I have an experimental split ebuild that adds support for sou and hou to
nwn.  One thing I am noticing is the changed fixinstall scripts required.

Anyway, I am marking this as a duplicate and would like for you guys to tets out
the versions I have made.  I'm not sure if I need to make adjustments to the fix
install script or not, or even provide multiple fixinstall scripts based on USE.

The ebuild for nwn-data should support both sou and hou perfectly (it does for
me).  Please follow the instructions in the bug and test the ebuilds for me, so
I can get them unmasked as soon as possible.

*** This bug has been marked as a duplicate of 106789 ***