Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49836 - nrg2iso and dvd images
Summary: nrg2iso and dvd images
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-03 06:39 UTC by Richard Stellingwerff
Modified: 2004-05-05 19:48 UTC (History)
0 users

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


Attachments
Updated ebuild (nrg2iso-0.2-r1.ebuild,946 bytes, application/octet-stream)
2004-05-03 06:41 UTC, Richard Stellingwerff
Details
nrg2iso-0.2-largefile.patch (nrg2iso-0.2-largefile.patch,1.38 KB, patch)
2004-05-03 06:43 UTC, Richard Stellingwerff
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Stellingwerff 2004-05-03 06:39:19 UTC
I had the luxury of having to convert a 4.4GB nero image to ISO format.

Unfortunately, nrg2iso does not support large-ass files. But that's where I come in to save the day.

Supplied is an updated ebuild, as well as a patch that allows you to convert any DVD nrg image to ISO (udf). I have tested this on a PS2 game backup that I have made for myself (really!) and it works like a charm.

It only enables support for large files when the dvd useflag is enabled.

Reproducible: Always
Steps to Reproduce:
1. emerge nrg2iso
2. run 'nrg2iso huge_ass_image.nrg output.iso'


Actual Results:  
On a 2.4 kernel, it stops after 2GB.
On a 2.6 kernel, it tells me huge_ass_image.nrg doesn't even exist!



Expected Results:  
A sweet complete output.iso that I can burn with any cdr program.
Comment 1 Richard Stellingwerff 2004-05-03 06:41:24 UTC
Created attachment 30596 [details]
Updated ebuild

Adds extra CFLAGS for largefile support.
-D__USE_LARGEFILE64
-D__USE_FILE_OFFSET64
-D_FILE_OFFSET_BITS

Only added when 'dvd' useflag is set.
Comment 2 Richard Stellingwerff 2004-05-03 06:43:26 UTC
Created attachment 30597 [details, diff]
nrg2iso-0.2-largefile.patch

Changes int types to off_t where appropriate. This way the size is not limited
to 2GB.
Comment 3 SpanKY gentoo-dev 2004-05-05 19:48:39 UTC
0.2-r1 is now in portage, thanks