Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129759 - app-cdr/cdrtools-2.01.01_alpha07 lacks the unicode patch
Summary: app-cdr/cdrtools-2.01.01_alpha07 lacks the unicode patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Optical Media project
URL:
Whiteboard:
Keywords:
: 146287 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-12 16:12 UTC by Rudo Thomas
Modified: 2006-10-28 04:19 UTC (History)
4 users (show)

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


Attachments
This works to me. (mkisofs-iconv-10-2.01.01_alpha11.patch,16.40 KB, patch)
2006-07-21 18:56 UTC, Kim Seongcheol
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rudo Thomas 2006-04-12 16:12:08 UTC
Hello.

Recently, app-cdr/cdrtools-2.01.01_alpha07 has been marked stable. In the ChangeLog, I noticed there is supposed to be a "a better fix for unicode". While this does fix displaying the name of cdrtools author, the patch (mkisofs-iconv-10.patch) that made it possible to create (valid) ISO images with Joliet extensions under UTF-8 locale was removed from the ebuild.

To reproduce, create a file with some accents in its name (I'll use č
Comment 1 Rudo Thomas 2006-04-12 16:12:08 UTC
Hello.

Recently, app-cdr/cdrtools-2.01.01_alpha07 has been marked stable. In the ChangeLog, I noticed there is supposed to be a "a better fix for unicode". While this does fix displaying the name of cdrtools author, the patch (mkisofs-iconv-10.patch) that made it possible to create (valid) ISO images with Joliet extensions under UTF-8 locale was removed from the ebuild.

To reproduce, create a file with some accents in its name (I'll use čúčo.txt here) and run:

# mkisofs -r -J -o i.iso čúčo.txt
# mount -o loop,utf8,norock i.iso /mnt
# ls -l /mnt

You see garbled filename (you can get the same result by running "recode l1..utf8 <<<&#269;ú&#269;o.txt").

cdrtools-2.01-r3 works without problems in this regard.
Comment 2 Rudo Thomas 2006-04-12 16:24:48 UTC
Hmm, I see bugzilla could not cope with the accented text either ;-)))

You should get the idea nevertheless.
Comment 3 madalexonline 2006-05-01 04:44:32 UTC
Indeed, forcing the use of utf8 with
# mkisofs -input-charset=utf8
no longer works; it complains "Unknown charset"
Comment 4 Anton Romanov 2006-06-19 08:43:42 UTC
cdrtools-2.01.01_alpha10 behaves in the same way :(
Comment 5 Lars Weiler (RETIRED) gentoo-dev 2006-06-19 16:47:20 UTC
(In reply to comment #3)
> cdrtools-2.01.01_alpha10 behaves in the same way :(

Strange.  I though I already posted an update to that bug several days ago.

I tried to apply the patch to the current alpha10-release of cdrtools, but I had no luck.  Even with patching the patch I could not get it working.  Too many things changed and I'm not used to cdrtool's code.

The utf8-USE-flag indeed just enables proper output of the messages, but can't handle the iso-creation with utf-8 filenames.

It's much appreciated if somebody can send in a patch that works with alpha10.
Comment 6 Kim Seongcheol 2006-07-21 18:56:29 UTC
Created attachment 92466 [details, diff]
This works to me.

I'm not a programmer but made a patch based on the original mkisofs-iconv-10.patch.
not sure it is in the right way, but it works to me.
If it's in a wrong way, please someone fix that.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-09-04 10:15:07 UTC
*** Bug 146287 has been marked as a duplicate of this bug. ***
Comment 8 Lars Weiler (RETIRED) gentoo-dev 2006-10-28 01:55:41 UTC
(In reply to comment #5)
> not sure it is in the right way, but it works to me.

Great, that seems to work:

elladan tmp # mkisofs -r -J -o i.iso &#337;&#369;
Comment 9 Lars Weiler (RETIRED) gentoo-dev 2006-10-28 01:55:41 UTC
(In reply to comment #5)
> not sure it is in the right way, but it works to me.

Great, that seems to work:

elladan tmp # mkisofs -r -J -o i.iso &#337;&#369;þ&#8364;&#26505;a.txt
INFO:   UTF-8 character encoding detected by locale settings.
        Assuming UTF-8 encoded filenames on source filesystem,
        use -input-charset to override.
Total translation table size: 0
Total rockridge attributes bytes: 258
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 0
182 extents written (0 MB)
elladan tmp # mount -o loop,utf8,norock i.iso /mnt/misc/
elladan tmp # ls -l /mnt/misc/
total 1
-r-xr-xr-x 1 root root 17 28. Okt 10:49 &#337;&#369;þ&#8364;&#26505;a.txt


I'm going to apply your patch to all newer versions of cdrtools in the tree.
Comment 10 Lars Weiler (RETIRED) gentoo-dev 2006-10-28 04:19:22 UTC
It's in portage, so let's close this bug.