Bug 183344 - Ebuild cleanups for games-rpg/nwn and games-rpg/nwn-data
|
Bug#:
183344
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: enhancement
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: games@gentoo.org
|
Reported By: antonlacon@gmail.com
|
|
Component: Games
|
|
|
URL:
|
|
Summary: Ebuild cleanups for games-rpg/nwn and games-rpg/nwn-data
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2007-06-26 23:32 0000
|
With Summer, I've been able to finish putting together some cleanups for the
Neverwinter Nights ebuilds.
Changes:
1. Add support for the Gold CD set to nwn-data. Takes care of bug #61990
2. Add USE variable 'bioware-cabinets' to control dependencies of unshield and
biounzip in nwn-data. I did this because the Gold CD set uses only .zip's. I
wasn't aware of a pre-existing USE variable for controlling this.
3. Cleanup the choice of which linux client to download by nwn. Currently, it's
downloading the original, sou, and hou client without caring which one it will
actually use. The change saves 240MB-260MB (more for localized versions) from
downloading. It also removes the separate download of dialog.zip. I don't know
the history of this requirement, but the dialog.tlk within is md5 equivalent to
the dialog.tlk within the English and Spanish linux client tarballs (assuming
same for the rest).
Reproducible: Always
Created an attachment (id=123451) [details]
Second cleanup packages downloaded by nwn
Original patch breaks SoU for SoU & HoU users. I did not expect module data to
be hiding within a client tarball. I'm going to look into this further, but
didn't want someone wasting time looking into a patch I knew to be broken.
Created an attachment (id=123494) [details]
Second add gold support to nwn-data-1.29-r1
Looking further, nwn-data removes the contents of the nwm folder which contains
the official modules. This makes the two client tarballs necessary for a SoU &
HoU user. I don't understand the reasoning behind the cleaning of nwm, and
don't see a point in making further changes to nwn-data to support only one
client tarball until knowing.
Attached: A hopefully finished gold support patch for nwn-data. Changes from
the original are to correctly follow Bioware's unzip order (disk 1 should be
last).
(In reply to comment #4)
> Created an attachment (id=123451) [edit] [details]
> Second cleanup packages downloaded by nwn
>
> Original patch breaks SoU for SoU & HoU users. I did not expect module data to
> be hiding within a client tarball. I'm going to look into this further, but
> didn't want someone wasting time looking into a patch I knew to be broken.
>
usage of the changed ebuild result in the following errors
>>> Unpacking source...
/usr/local/portage/games-rpg/nwn/nwn-1.68-r1.ebuild: line 207: cd: en: No such
file or directory
>>> Unpacking English_linuxclient168_xp1.tar.gz to /var/tmp/portage/games-rpg/nwn-1.68-r1/work/nwn
/usr/local/portage/games-rpg/nwn/nwn-1.68-r1.ebuild: line 238: cd: en: No such
file or directory
I don't want to file new bugreport so I write here:
nwn-data does not support Polish edition of SoU & HoU released by CDProjekt
(http://www.cdprojekt.info/). Both expansions were recently released on one
DVD. Installer (nwn-data-1.68-r1) says it found Original/Gold edition and
installs 3 original disks fine but then it crashes on SoU/HoU with:
"unzip: cannot find or open /media/dvdrw/Data_Shared.zip,
/media/dvdrw/Data_Shared.zip.zip or /media/dvdrw/Data_Shared.zip.ZIP."
Directory structure of the DVD:
minder@logrus /media/dvdrw $ find .
.
./DirectX
./DirectX/Apr2005_d3dx9_25_x64.cab
./DirectX/Apr2005_d3dx9_25_x86.cab
./DirectX/Apr2006_MDX1_x86.cab
./DirectX/Apr2006_MDX1_x86_Archive.cab
./DirectX/Apr2006_XACT_x64.cab
./DirectX/Apr2006_XACT_x86.cab
./DirectX/Apr2006_d3dx9_30_x64.cab
./DirectX/Apr2006_d3dx9_30_x86.cab
./DirectX/Apr2006_xinput_x64.cab
./DirectX/Apr2006_xinput_x86.cab
./DirectX/Aug2005_d3dx9_27_x64.cab
./DirectX/Aug2005_d3dx9_27_x86.cab
./DirectX/Aug2006_XACT_x64.cab
./DirectX/Aug2006_XACT_x86.cab
./DirectX/Aug2006_xinput_x64.cab
./DirectX/Aug2006_xinput_x86.cab
./DirectX/BDA.cab
./DirectX/BDANT.cab
./DirectX/BDAXP.cab
./DirectX/DSETUP.dll
./DirectX/DXSETUP.exe
./DirectX/Dec2005_d3dx9_28_x64.cab
./DirectX/Dec2005_d3dx9_28_x86.cab
./DirectX/DirectX.cab
./DirectX/Feb2005_d3dx9_24_x64.cab
./DirectX/Feb2005_d3dx9_24_x86.cab
./DirectX/Feb2006_XACT_x64.cab
./DirectX/Feb2006_XACT_x86.cab
./DirectX/Feb2006_d3dx9_29_x64.cab
./DirectX/Feb2006_d3dx9_29_x86.cab
./DirectX/JUN2006_XACT_x64.cab
./DirectX/JUN2006_XACT_x86.cab
./DirectX/Jun2005_d3dx9_26_x64.cab
./DirectX/Jun2005_d3dx9_26_x86.cab
./DirectX/Oct2005_xinput_x64.cab
./DirectX/Oct2005_xinput_x86.cab
./DirectX/dsetup32.dll
./DirectX/dxdllreg_x86.cab
./DirectX/dxnt.cab
./DirectX/dxupdate.cab
./ISSetup.dll
./Instrukcja
./Instrukcja/Acrobat Reader
./Instrukcja/Acrobat Reader/AdbeRdr60_pol.exe
./Instrukcja/Acrobat Reader/AdbeRdr70_pol_full.exe
./Instrukcja/Instrukcja Hordes of the Underdark.pdf
./Instrukcja/Instrukcja Shadows of Undrentide.pdf
./Instrukcja/KartaPomocy.pdf
./Instrukcja/Poradnik Neverwinter Nights - Hordes of the Underdark.pdf
./Instrukcja/Poradnik Neverwinter Nights - Shadows of Undrentide.pdf
./_Setup.dll
./autorun.exe
./autorun.inf
./data
./data/background.bmp
./data/button1_down.bmp
./data/button1_over.bmp
./data/button2_down.bmp
./data/button2_over.bmp
./data/mus_autorun.wav
./data/mus_autorun2.wav
./data1.cab
./data1.hdr
./data2.cab
./data3.cab
./data4.cab
./data5.cab
./data6.cab
./layout.bin
./nwn.ico
./setup.bmp
./setup.exe
./setup.ini
./setup.inx
I have no experience with ebuilds, but I will try to fix this. If anyone gets
an idea, please post.
Sorry, I mean nwn-data-1.29-r1.
I tried to make an ebuild for Polish edition of SoU+HoU but unshield and
cabextract are unable to handle data files:
# cabextract /media/dvdrw/data1.cab
/media/dvdrw/data1.cab: WARNING; found InstallShield header. This is probably
an InstallShield file. Use UNSHIELD (http://synce.sf.net) to unpack it.
/media/dvdrw/data1.cab: no valid cabinets found
All done, errors in processing 1 file(s)
# unshield -D 3 x /media/dvdrw/data1.cab
[unshield_read_headers:226] Reading header from .hdr file 1.
[unshield_read_headers:281] Version 0x020004b0 handled as major version 0
[unshield_get_cab_descriptor:81] Cabinet descriptor: 0000256c 00009c80 00009c80
00000044
[unshield_get_cab_descriptor:83] Directory count: 17
[unshield_get_cab_descriptor:84] File count: 387
Przerwane
"Przewane" is Polish for "Aborted". This was done in /tmp directory as root, so
it's not read/write error.
Please file a new bug for your Polish support/problems. It doesn't belong
here.
As for the reasoning behind cleaning nwm, it is so we can support all of the
various media sets out there without issues.
(In reply to comment #6)
> usage of the changed ebuild result in the following errors
>
> >>> Unpacking source...
> /usr/local/portage/games-rpg/nwn/nwn-1.68-r1.ebuild: line 207: cd: en: No such
> file or directory
> >>> Unpacking English_linuxclient168_xp1.tar.gz to /var/tmp/portage/games-rpg/nwn-1.68-r1/work/nwn
> /usr/local/portage/games-rpg/nwn/nwn-1.68-r1.ebuild: line 238: cd: en: No such
> file or directory
This is now fixed. Thanks for reporting it.
Denis.