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

gianpietro.sella at unipd.it gianpietro.sella at unipd.it
Tue Dec 29 02:19:38 PST 2015


Hi,
many many thanks for your help Fidencio.
For usbdk I wait an stable version to test.
For my test with virt-viewer I use a VM in openstack system.
The distro is a fedora 23 cloud official release.
rpm command read many file to load configuration variable.
For example It read all the file in the directory /etc/rpm.
Aftet installation in this directory is presente the file
macros.image-language-conf and in this file the configuration parameter is
"%_install_langs C:en:en_US:en_US.UTF-8" then rpm install only language
.mo file for en and en_US languages (this reduce the space used for
package installation).
I read this information:
http://superuser.com/questions/959380/how-do-i-install-generate-all-locales-on-fedora
Then I change the file, remove old parameter and insert new parameter
"%_install_langs all".
But I create an copy of the old file in same directory /etc/rpm.
This is my error.
The rpm command first load new file with new parameter then read old file
with old parameter (copy file) and the old language parameter overwrite
the new parameter.
Then the language parameter remain the old.
I remove copy file in /etc/rpm and all work.
But attention, the configuration file of rmp are many and can be in many
directory (for example in the user home and/or in the system directory).
This is distro dependent, for example centos 7 use other file and for
default language is configured to "all".
Sorry for my bad english.
I hope I explained.
again many thanks, Gianpietro.


> On Tue, Dec 29, 2015 at 2:20 AM,  <gianpietro.sella at unipd.it> wrote:
>> 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?
>
> libusb mailing list and spice-gtk mailing list :-)
> Better to wait till we have it packaged on Fedora (or till we create a
> copr repo ...).
>
>>
>> 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.
>
> That's quite weird. rpm --showrc | grep _install_langs shows me the
> same results and I don't have a single file under /etc/rpm/ folder.
> Well, anyways, I am glad it worked out for you.
>
> Best Regards,
>




More information about the Spice-devel mailing list