[PATCH v2 vkd3d 1/4] build: Drop hack for stripping RPC includes from widl-generated headers.

Sveinar Søpler cybermax at dexter.no
Sun Apr 14 07:02:00 CDT 2019


There is no such thing as "get those easily from.." when it comes to Luanchpad PPA, or OBS. Cos the ONLY option afaik is either a: From "official" repo's, or b: build yourself so that the package builder have access to it from "itself".

So, when it comes to creating a installable package like i did with libFAudio, i would need (as you say) libvulkan-headers. Those headers i guess could be patched into the build-source as a external download/dep kind of thingy perhaps? And then just make wine depend on >libvulkan-1.1.84, and its up to the users to figure that out? I dunno if its interesting anyway for WineHQ to build wine-devel with vkd3d support for anything older than the unreleased Ubuntu Disco on their package repo tho. And seeing wined3d making a move towards vulkan might require newer vulkan headers there too?

So, the next question might be: Will WineHQ in the future only be a "newest and/or beta distro only" kind of package? :)

Ill look into perhaps creating widl as a standalone package for the PPA buildbot as a retro-fit thing for bionic/cosmic perhaps... 
It turns out that using: 
export WIDL="/usr/lib/wine/widl" does not work, but using
export WIDL=/usr/lib/wine/widl does work.

Guess thats just another "noob mistake", that is totally different than noob mistake :) Ah well...

Sveinar Søpler


----- Original Message -----
From: "joseph kucia" <joseph.kucia at gmail.com>
To: "Sveinar Søpler" <cybermax at dexter.no>
Cc: "wine-devel" <wine-devel at winehq.org>
Sent: Sunday, April 14, 2019 8:31:03 AM
Subject: Re: [PATCH v2 vkd3d 1/4] build: Drop hack for stripping RPC includes from widl-generated headers.

On Sat, Apr 13, 2019 at 10:53 PM Sveinar Søpler <cybermax at dexter.no> wrote:
> In retrospect, building vkd3d for bionic/cosmic for WineHQ is probably not an option, cos vkd3d needs libvulkan > 1.1.84, but Bionic only provides libvulkan-1.1.70, and Cosmic libvulkan-1.1.82.... and providing backported packages on WineHQ repo was not something anyone was too happy doing.

Strictly speaking, you don't need libvulkan to build vkd3d. The build
without libvulkan requires that any client of libvkd3d must pass a
pointer to vkGetInstanceProcAddr() to vkd3d_create_instance(). A build
without libvulkan is good enough for Wine. You need recent Vulkan
headers, but you can get those easily from
git at github.com:KhronosGroup/Vulkan-Headers.git (just add the path to
headers to CPPFLAGS passed to configure). Similarly, a new version of
widl shouldn't be a big problem. If you have recent enough Wine
sources, you can also build a recent version of widl: make tools/widl.



More information about the wine-devel mailing list