Alexandre Viau
2018-10-17 15:54:10 UTC
Hello Timo and/or debian-x!
I have begun working on packaging dxvk:
- https://github.com/doitsujin/dxvk
I must admit that this is outside of my usual tasks so I may be a bit
under-informed about the topic, please correct me wherever I am wrong so
that I learn the proper terminology / way of doing things.
(cc-ing debian-wine in as they might also have some insight)
Currently, my package builds with the embedded libraries in upsteam's
repository:
./lib
./lib/d3dcompiler_43.lib
./lib/libd3dcompiler_43.def
./lib/vulkan-1.lib
./lib32
./lib32/d3dcompiler_43.lib
./lib32/libd3dcompiler_43.def
./lib32/vulkan-1.lib
My understanding is that these .lib files are actually Windows
libraries? Would it be possible to build vulkan-1.lib as part of
vulkan's Debian package?
I also notice that the vulkan source package refers to a deprecated
upsteam repository. Are there plans to ship libvulkan1 as part of
another repository in the future?
Upstream dxvk ships (binary) tarballs in the following format:
./x64
./x64/d3d10.dll
./x64/d3d10_1.dll
./x64/dxgi.dll
./x64/d3d11.dll
./x64/d3d10core.dll
./x32
./x32/d3d10.dll
./x32/d3d10_1.dll
./x32/dxgi.dll
./x32/d3d11.dll
./x32/d3d10core.dll
./setup_dxvk.verb
I have a working package that produces a similar ouput and installs the
following:
./usr/lib/dxvk/setup_dxvk.verb
./usr/lib/dxvk/x32/
./usr/lib/dxvk/x32/d3d10.dll
./usr/lib/dxvk/x32/d3d10_1.dll
./usr/lib/dxvk/x32/d3d10core.dll
./usr/lib/dxvk/x32/d3d11.dll
./usr/lib/dxvk/x32/dxgi.dll
./usr/lib/dxvk/x64/
./usr/lib/dxvk/x64/d3d10.dll
./usr/lib/dxvk/x64/d3d10_1.dll
./usr/lib/dxvk/x64/d3d10core.dll
./usr/lib/dxvk/x64/d3d11.dll
./usr/lib/dxvk/x64/dxgi.dll
I am still not sure of the best approach for this. Maybe I should just
create a multi-arch package that installs only the x32 or only the x64
dlls to /usr/lib/triplet/dxvk instead? The reason I chose this approach
is that you would technically need both to be installed in your Wine
prefix as some games are built for win32 and other win64. Anyways, this
isn't my main issue for now. (maybe this is more of a question for
debian-wine, which I cc-ed)
My work on the packaging can be found here:
- https://salsa.debian.org/aviau/dxvk
Thank you in advance,
I have begun working on packaging dxvk:
- https://github.com/doitsujin/dxvk
I must admit that this is outside of my usual tasks so I may be a bit
under-informed about the topic, please correct me wherever I am wrong so
that I learn the proper terminology / way of doing things.
(cc-ing debian-wine in as they might also have some insight)
Currently, my package builds with the embedded libraries in upsteam's
repository:
./lib
./lib/d3dcompiler_43.lib
./lib/libd3dcompiler_43.def
./lib/vulkan-1.lib
./lib32
./lib32/d3dcompiler_43.lib
./lib32/libd3dcompiler_43.def
./lib32/vulkan-1.lib
My understanding is that these .lib files are actually Windows
libraries? Would it be possible to build vulkan-1.lib as part of
vulkan's Debian package?
I also notice that the vulkan source package refers to a deprecated
upsteam repository. Are there plans to ship libvulkan1 as part of
another repository in the future?
Upstream dxvk ships (binary) tarballs in the following format:
./x64
./x64/d3d10.dll
./x64/d3d10_1.dll
./x64/dxgi.dll
./x64/d3d11.dll
./x64/d3d10core.dll
./x32
./x32/d3d10.dll
./x32/d3d10_1.dll
./x32/dxgi.dll
./x32/d3d11.dll
./x32/d3d10core.dll
./setup_dxvk.verb
I have a working package that produces a similar ouput and installs the
following:
./usr/lib/dxvk/setup_dxvk.verb
./usr/lib/dxvk/x32/
./usr/lib/dxvk/x32/d3d10.dll
./usr/lib/dxvk/x32/d3d10_1.dll
./usr/lib/dxvk/x32/d3d10core.dll
./usr/lib/dxvk/x32/d3d11.dll
./usr/lib/dxvk/x32/dxgi.dll
./usr/lib/dxvk/x64/
./usr/lib/dxvk/x64/d3d10.dll
./usr/lib/dxvk/x64/d3d10_1.dll
./usr/lib/dxvk/x64/d3d10core.dll
./usr/lib/dxvk/x64/d3d11.dll
./usr/lib/dxvk/x64/dxgi.dll
I am still not sure of the best approach for this. Maybe I should just
create a multi-arch package that installs only the x32 or only the x64
dlls to /usr/lib/triplet/dxvk instead? The reason I chose this approach
is that you would technically need both to be installed in your Wine
prefix as some games are built for win32 and other win64. Anyways, this
isn't my main issue for now. (maybe this is more of a question for
debian-wine, which I cc-ed)
My work on the packaging can be found here:
- https://salsa.debian.org/aviau/dxvk
Thank you in advance,
--
Alexandre Viau
***@debian.org
Alexandre Viau
***@debian.org