[Spice-devel] the audio do not work in remote-viewer for windows

gianpietro.sella at unipd.it gianpietro.sella at unipd.it
Mon Dec 28 17:20:19 PST 2015


Hi Fabiano,

sorry, yes virt-viewer.
for now I redirect only usb disk, then usbclerk is good.
if I want to test usbdk where I can download patch for libusb and spice-gtk?

I solved problem with the make msi.
First to change the file /etc/rpm/macros.image-language-conf with
"%_install_langs all" parameter I made a copy of original file in the same
directory.
this is the error because rpm command load the new file and next the old
file with the "%_install_langs C:en:en_US:en_US.UTF-8" parameter (the
original value).
when I remove the copy of the file I obtain:

[root at fedora-23-test ~]# rpm --showrc | grep _install_langs
-14: _install_langs     all

then I can reinstall mingw package with all .mo file in all language
directory.

Thank, Gianpietro.

> Hey!
>
> On Mon, Dec 28, 2015 at 3:46 PM,  <gianpietro.sella at unipd.it> wrote:
>> Hi Fabiano,
>> I compile virt-manager with fedora 23 and now all is ok, video, audio
>> and
>> usb redirection (I use usbclerk and not usbdk because is more simple).
>> only one problem.
>
> virt-viewer, not virt-manager, I hope :-)
> Yeah, usbclerk is simpler, but has no support for webcam, for
> instance. If you don't need it, then usbclerk is fine. For the future
> (when the patches get merged to libusb) I would recommend you to use
> UsbDk.
>
>> when I execure "make msi" in data directory I view:
>>
>> Couldn't find file
>> /usr/i686-w64-mingw32/sys-root/mingw/share/locale/af/LC_MESSAGES/glib20.mo
>>
>> If I search the file glib20.mo I view:
>>
>> [root at fedora-23-test data]# find / -name glib20.mo
>> /usr/share/locale/en_GB/LC_MESSAGES/glib20.mo
>> /usr/share/locale/en_CA/LC_MESSAGES/glib20.mo
>> /usr/i686-w64-mingw32/sys-root/mingw/share/locale/en_GB/LC_MESSAGES/glib20.mo
>> /usr/i686-w64-mingw32/sys-root/mingw/share/locale/en_CA/LC_MESSAGES/glib20.mo
>> /usr/x86_64-w64-mingw32/sys-root/mingw/share/locale/en_GB/LC_MESSAGES/glib20.mo
>> /usr/x86_64-w64-mingw32/sys-root/mingw/share/locale/en_CA/LC_MESSAGES/glib20.mo
>>
>> The problem is that when I install the
>> mingw64-glib2-2.46.2-1.fc23.noarch
>> package only languages en_GB and en_CA are installed.
>> If I execute the rpm --showrc | grep _install_langs command I view:
>>
>> [root at fedora-23-test data]# rpm --showrc | grep _install_langs
>> -14: _install_langs     C:en:en_US:en_US.UTF-8
>>
>> If I change the file /etc/rpm/macros.image-language-conf from
>> "%_install_langs C:en:en_US:en_US.UTF-8" to "%_install_langs all"
>> the result is the same, I view always:
>>
>> [root at fedora-23-test data]# rpm --showrc | grep _install_langs
>> -14: _install_langs     C:en:en_US:en_US.UTF-8
>>
>
> That's quite weird. "rpm -ql mingw64-glib2 | grep glib20.mo" shows all
> the locales. In other words, for mingw{32,64}-glib2, all the locales
> are installed, doesn't matter the locale you're using.
>
> Are you using a fresh Fedora23 installation? Did you compile glib by
> yourself or are you using the mingw{32,64}-glib2 rpm?
>
>> I do not know how to set the language of rpm installation to "all" and
>> not
>> to specific languages.
>> For now I resolved manually copyng all file in the language directory,
>> but
>> this is not a good method.
>
>
> Yeah, it should work out of the box and it does here on my machine.
> Let's try to find out what may be causing this error for you.
>
> Best Regards,
> --
> Fabiano FidĂȘncio
>




More information about the Spice-devel mailing list