FAudio for Ubuntu

Questions about Wine on Linux
Locked
Cybermax
Level 4
Level 4
Posts: 218
Joined: Fri Dec 01, 2017 5:26 pm

FAudio for Ubuntu

Post by Cybermax »

In case whoever in charge of the WineHQ build-bot want to include SDL2-2.0.9 for Ubuntu 18.04 and 18.10, the packages built fine on the Ubuntu PPA build-bot as backports.
https://launchpad.net/~cybermax-dexter/ ... /+packages
SDL2-2.0.9 is in the official Disco repo already, so no need to add for Disco.

I was able to put together a package for FAudio 19.03 from https://github.com/FNA-XNA/FAudio/releases
This also builds for Bionic, Cosmic and Disco.

Wine builds with these packages installed on my local machine, and ref. earlier talk i have done some Xaudio2 tests with wine. viewtopic.php?f=8&t=32071

Feel free to experiment and incorporate whatever needed for your Ubuntu build-bot :)
Cybermax
Level 4
Level 4
Posts: 218
Joined: Fri Dec 01, 2017 5:26 pm

Re: FAudio for Ubuntu

Post by Cybermax »

I have updated my PPA with latest git pull for libfaudio.

I also added some demo's for XAudio2 engine built in Visual Studio from the Microsoft SDK. You can download precompiled demo pack here: https://github.com/SveSop/wine_patches/ ... dio.tar.xz

Demo's included is:
XAudio2AsyncStream.exe
XAudio2BasicSound.exe
XAudio2Enumerate.exe (Test device enumeration)
XAudio2WaveBank.exe
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: FAudio for Ubuntu

Post by dimesio »

The OBS can only use packages from Ubuntu's main, update, and universe repositories to satisfy build dependencies, so your FAudio packages cannot be used for the WineHQ packages. The alternative is to build FAudio on the OBS, under our project, as was done for Fedora. That needs someone willing to take responsibility for maintaining the FAudio packages on the OBS. If you are interested, let me know.
Cybermax
Level 4
Level 4
Posts: 218
Joined: Fri Dec 01, 2017 5:26 pm

Re: FAudio for Ubuntu

Post by Cybermax »

I could do that.
I have not used OBS tho, but from i gather the difference between that and the PPA is not that huge. Launchpad also only uses packages from Main/update/universe (ref. to settings) and its "own" built packages.

What is the best approach for me? Create an account on OBS and do some test packages in my own repo there so i get a bit familiar with the build system?
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: FAudio for Ubuntu

Post by dimesio »

Cybermax wrote: What is the best approach for me? Create an account on OBS and do some test packages in my own repo there so i get a bit familiar with the build system?
Yes. You should also read https://en.opensuse.org/openSUSE:Build_ ... ian_builds. The OBS is originally designed for rpms, so its way of handling deb packaging is a bit differs in some ways from a pure Debian-based system. Feel free to email me directly with any questions.
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: FAudio for Ubuntu

Post by dimesio »

One thing I should mention: we are not going to build anything but FAudio; chasing after dependencies of dependencies is simply too much. You can use the faudio-older-sdl2.patch to enable it to build with older versions of SDL2. It was used for our Fedora FAudio builds, and so far no one has reported any problems with it.
Locked