On Tue, 9 Jul 2024 11:41:08 +0300 Timo Aaltonen <tjaal...@debian.org>
wrote:
> Timo Aaltonen kirjoitti 9.7.2024 klo 9.00:
> > If you figure out how to build it without vendoring syn/paste rust 
> > crates, then I'm all for it.
> 
> oh well, I have the mangling part done, but can't figure out how to
make 
> meson use the mangled wrap files.. the default wrap-mode is
nodownload 
> and so far I haven't figured out how to override that.
> 
> 

I compiled now my own mesa packagages with NVK enabled.

To override the wrap mode just add "--wrap-mode=default" (or what you
want) to the dh_auto_configure call in d/rules.

FWIW here's the patch:

diff --git a/debian/rules b/debian/rules
index bc3e9e42967..e28214f54e0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -35,7 +35,7 @@ endif
 
 EGL_PLATFORMS = x11
 GALLIUM_DRIVERS = swrast
-VULKAN_DRIVERS =
+VULKAN_DRIVERS = nouveau
 VULKAN_LAYERS =
 
 confflags_DRI3 = -Ddri3=disabled
@@ -203,7 +203,7 @@ override_dh_clean: regen_control
 
 override_dh_auto_configure:
        dpkg-parsechangelog | awk '/^Version:/ {print $$2}' > VERSION
-       $(buildflags) dh_auto_configure -- \
+       $(buildflags) dh_auto_configure -- --wrap-mode=default \
                $(confflags)
 
 override_dh_auto_install:

Reply via email to