[kde-freebsd] ports/108949: [PATCH]: x11/kdebase3 [kioslave/media] media ejecting, various HAL backend problems

Maxim Samsonov xors at mne.ru
Fri Feb 9 20:14:31 CET 2007


Thanks for response!

This misbehaviour with charset is my fault, I forgot that 
KLocale::encoding() simply is QTextCodec::name() :(
So I switched from KLocale::encoding() to nl_langinfo(CODESET)
and new patch for it is attached to this mail.

As for other volume filesystems including the mentioned above, 
I can add tunable knob to volume mount property page so that
locale/charset/DOS codepage etc could be set manually... 
If anyone needs such improvement :)

You can commit this patch with or without
the charset conversion, this is not mandatory :) This kind
of feature can be configured through fstab for now.

On Friday 09 February 2007 09:20, Michael Nottebrock wrote:
> The following reply was made to PR ports/108949; it has been noted by
> GNATS.
>
> From: Michael Nottebrock <lofi at freebsd.org>
> To: bug-followup at freebsd.org, xors at sendmail.ru
> Cc:
> Subject: Re: ports/108949: [PATCH]: x11/kdebase3 [kioslave/media] media
> ejecting, various HAL backend problems Date: Fri, 9 Feb 2007 07:15:30 +0100
>
>  Thanks for your continued work on this!
>
>  There is a problem with the charset mount option however: KDE/Qt's names
> for encodings don't always match FreeBSD's. For instance with
>  LANG=de_DE.ISO8859-15, KGlobal::locale()->encoding() yields "ISO 8859-15",
>  but mount_cd9660 only understands ISO8859-15, ISO-8859-15 or ISO_8859-15.
> Do you want to work on that some more or should I go ahead and commit the
> patch without the charset conversion?
> _______________________________________________
> kde-freebsd mailing list
> kde-freebsd at kde.org
> https://mail.kde.org/mailman/listinfo/kde-freebsd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: extrapatch-kioslave_media_mediamanager-halbackend.cpp
Type: text/x-c++src
Size: 13827 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20070209/c75ab35a/attachment.bin 


More information about the kde-freebsd mailing list