diff --git a/mesa-aco/debian/focal/control b/mesa-aco/debian/focal/control index 3cdf80f..68de3eb 100644 --- a/mesa-aco/debian/focal/control +++ b/mesa-aco/debian/focal/control @@ -11,21 +11,19 @@ Build-Depends: meson (>= 1.4.0), quilt (>= 0.63-8.2~), pkg-config, - libdrm-dev (>= 2.4.120), + libdrm-dev (>= 2.4.121), libx11-dev, libxxf86vm-dev, libexpat1-dev, libflatbuffers-dev [linux-arm64], libsensors-dev [!hurd-any], libxfixes-dev, - libxdamage-dev, libxext-dev, libva-dev (>= 1.6.0) [linux-any] , libvdpau-dev (>= 1.5) [linux-any], libvulkan-dev [amd64 arm64 armel armhf i386 loong64 mips64el powerpc ppc64 ppc64el riscv64 s390x sparc64 x32], x11proto-dev, linux-libc-dev (>= 2.6.31) [linux-any], - libpciaccess-dev, libx11-xcb-dev, libxcb-dri2-0-dev (>= 1.8), libxcb-glx0-dev (>= 1.8.1), @@ -39,10 +37,10 @@ Build-Depends: libxshmfence-dev (>= 1.1), libxtensor-dev [linux-arm64], libzstd-dev, - lua5.4 [arm64 armel armhf], python3, python3-mako, python3-ply, + python3-yaml, python3-pycparser [arm64 armhf], python3-setuptools, flex, @@ -132,6 +130,7 @@ Architecture: linux-any Depends: ${shlibs:Depends}, ${misc:Depends}, + mesa-libgallium (= ${binary:Version}), Pre-Depends: ${misc:Pre-Depends} Multi-Arch: same Description: generic buffer management API -- runtime @@ -163,6 +162,7 @@ Depends: ${shlibs:Depends}, ${misc:Depends}, libgbm1 (= ${binary:Version}) [!hurd-any], + mesa-libgallium (= ${binary:Version}), Provides: libegl-vendor Pre-Depends: ${misc:Pre-Depends} Multi-Arch: same @@ -221,6 +221,7 @@ Depends: ${shlibs:Depends}, ${misc:Depends}, libgl1-mesa-dri, + mesa-libgallium (= ${binary:Version}), Provides: libglx-vendor Breaks: libopengl-perl (<< 0.6704+dfsg-2), @@ -290,6 +291,19 @@ Description: Developer documentation for Mesa extensions, the complete set of release notes and the development header files common to all Mesa packages. +Package: mesa-libgallium +Section: libs +Architecture: linux-any +Depends: + ${shlibs:Depends}, + ${misc:Depends}, +Pre-Depends: ${misc:Pre-Depends} +Multi-Arch: same +Description: shared infrastructure for Mesa drivers + This package contains libgallium, a private library shared between + multiple Mesa drivers. This library is an implementation detail of Mesa + and should not be used directly by user code. + Package: libosmesa6 Section: libs Architecture: any @@ -419,7 +433,7 @@ Depends: ${misc:Depends}, Multi-Arch: same Description: DRM shim libraries - This package provides drm-shim libraries which can be used for testing DRM drivers when - none exists on the host + This package provides drm-shim libraries which can be used for testing DRM + drivers when none exists on the host. # vim: tw=0 diff --git a/mesa-aco/debian/focal/libgbm1.install b/mesa-aco/debian/focal/libgbm1.install index 4854230..f7ab7e1 100644 --- a/mesa-aco/debian/focal/libgbm1.install +++ b/mesa-aco/debian/focal/libgbm1.install @@ -1 +1,2 @@ usr/lib/*/libgbm.so.1* +usr/lib/*/gbm/dri_gbm.so* diff --git a/mesa-aco/debian/focal/libgbm1.lintian-overrides b/mesa-aco/debian/focal/libgbm1.lintian-overrides index 4b9f4bd..b622d56 100644 --- a/mesa-aco/debian/focal/libgbm1.lintian-overrides +++ b/mesa-aco/debian/focal/libgbm1.lintian-overrides @@ -1 +1 @@ -symbols-declares-dependency-on-other-package libgbm1-private +symbols-declares-dependency-on-other-package libgbm1-private (libgbm.so.1) [symbols] diff --git a/mesa-aco/debian/focal/mesa-libgallium.install b/mesa-aco/debian/focal/mesa-libgallium.install new file mode 100644 index 0000000..9e1c57d --- /dev/null +++ b/mesa-aco/debian/focal/mesa-libgallium.install @@ -0,0 +1 @@ +usr/lib/*/libgallium-*.so diff --git a/mesa-aco/debian/focal/mesa-libgallium.lintian-overrides b/mesa-aco/debian/focal/mesa-libgallium.lintian-overrides new file mode 100644 index 0000000..7763abc --- /dev/null +++ b/mesa-aco/debian/focal/mesa-libgallium.lintian-overrides @@ -0,0 +1 @@ +package-name-doesnt-match-sonames libgallium-* diff --git a/mesa-aco/debian/focal/rules b/mesa-aco/debian/focal/rules index da6b21f..52ec4b3 100755 --- a/mesa-aco/debian/focal/rules +++ b/mesa-aco/debian/focal/rules @@ -35,11 +35,10 @@ else endif EGL_PLATFORMS = x11 -GALLIUM_DRIVERS = swrast +GALLIUM_DRIVERS = VULKAN_DRIVERS = VULKAN_LAYERS = -confflags_DRI3 = -Ddri3=disabled confflags_OSMESA = -Dosmesa=true confflags_SSE2 = -Dsse2=true confflags_TEFLON = -Dteflon=false @@ -52,6 +51,7 @@ WINE_ARCHS = amd64 arm64 armel armhf i386 # hurd doesn't do direct rendering ifeq ($(DEB_HOST_ARCH_OS), hurd) + GALLIUM_DRIVERS += softpipe confflags_DIRECT_RENDERING = -Dglx-direct=false confflags_GBM = -Dgbm=disabled else @@ -62,7 +62,6 @@ else GALLIUM_DRIVERS += r300 r600 virgl confflags_DIRECT_RENDERING = -Dglx-direct=true - confflags_DRI3 = -Ddri3=enabled confflags_GBM = -Dgbm=enabled confflags_GALLIUM += -Dgallium-extra-hud=true confflags_GALLIUM += -Dgallium-vdpau=enabled @@ -107,7 +106,7 @@ else # LLVM is required for building r300g, radeonsi and llvmpipe drivers. # It's also required for building OpenCL support. ifneq (,$(filter $(DEB_HOST_ARCH), $(LLVM_ARCHS))) - GALLIUM_DRIVERS += radeonsi zink + GALLIUM_DRIVERS += radeonsi zink llvmpipe # Only enable amd on riscv64, swrast needs CPU JIT support which doesn't work properly yet ifneq (,$(filter $(DEB_HOST_ARCH), riscv64)) @@ -140,6 +139,7 @@ else confflags_GALLIUM += -Dgallium-nine=true endif else + GALLIUM_DRIVERS += softpipe confflags_GALLIUM += -Dllvm=disabled endif @@ -175,19 +175,16 @@ confflags_GALLIUM += -Dgallium-drivers="[$(GALLIUM_DRIVERS_LIST)]" confflags += \ -Ddri-drivers-path=/usr/lib/$(DEB_HOST_MULTIARCH)/dri \ - -Ddri-search-path='/usr/lib/$(DEB_HOST_MULTIARCH)/dri:\$$$${ORIGIN}/dri:/usr/lib/dri' \ -Dplatforms="[$(EGL_PLATFORMS_LIST)]" \ -Dvulkan-drivers="[$(VULKAN_DRIVERS_LIST)]" \ -Dvulkan-layers="[$(VULKAN_LAYERS_LIST)]" \ - -Dglvnd=true \ + -Dglvnd=enabled \ -Dshared-glapi=enabled \ - -Dgallium-omx=disabled \ -Db_ndebug=true \ -Dbuild-tests=false \ -Dtools=drm-shim \ $(confflags_DIRECT_RENDERING) \ $(confflags_GBM) \ - $(confflags_DRI3) \ $(confflags_GALLIUM) \ $(confflags_GLES) \ $(confflags_OSMESA) \ diff --git a/mesa-aco/debian/jammy/control b/mesa-aco/debian/jammy/control index 3cdf80f..68de3eb 100644 --- a/mesa-aco/debian/jammy/control +++ b/mesa-aco/debian/jammy/control @@ -11,21 +11,19 @@ Build-Depends: meson (>= 1.4.0), quilt (>= 0.63-8.2~), pkg-config, - libdrm-dev (>= 2.4.120), + libdrm-dev (>= 2.4.121), libx11-dev, libxxf86vm-dev, libexpat1-dev, libflatbuffers-dev [linux-arm64], libsensors-dev [!hurd-any], libxfixes-dev, - libxdamage-dev, libxext-dev, libva-dev (>= 1.6.0) [linux-any] , libvdpau-dev (>= 1.5) [linux-any], libvulkan-dev [amd64 arm64 armel armhf i386 loong64 mips64el powerpc ppc64 ppc64el riscv64 s390x sparc64 x32], x11proto-dev, linux-libc-dev (>= 2.6.31) [linux-any], - libpciaccess-dev, libx11-xcb-dev, libxcb-dri2-0-dev (>= 1.8), libxcb-glx0-dev (>= 1.8.1), @@ -39,10 +37,10 @@ Build-Depends: libxshmfence-dev (>= 1.1), libxtensor-dev [linux-arm64], libzstd-dev, - lua5.4 [arm64 armel armhf], python3, python3-mako, python3-ply, + python3-yaml, python3-pycparser [arm64 armhf], python3-setuptools, flex, @@ -132,6 +130,7 @@ Architecture: linux-any Depends: ${shlibs:Depends}, ${misc:Depends}, + mesa-libgallium (= ${binary:Version}), Pre-Depends: ${misc:Pre-Depends} Multi-Arch: same Description: generic buffer management API -- runtime @@ -163,6 +162,7 @@ Depends: ${shlibs:Depends}, ${misc:Depends}, libgbm1 (= ${binary:Version}) [!hurd-any], + mesa-libgallium (= ${binary:Version}), Provides: libegl-vendor Pre-Depends: ${misc:Pre-Depends} Multi-Arch: same @@ -221,6 +221,7 @@ Depends: ${shlibs:Depends}, ${misc:Depends}, libgl1-mesa-dri, + mesa-libgallium (= ${binary:Version}), Provides: libglx-vendor Breaks: libopengl-perl (<< 0.6704+dfsg-2), @@ -290,6 +291,19 @@ Description: Developer documentation for Mesa extensions, the complete set of release notes and the development header files common to all Mesa packages. +Package: mesa-libgallium +Section: libs +Architecture: linux-any +Depends: + ${shlibs:Depends}, + ${misc:Depends}, +Pre-Depends: ${misc:Pre-Depends} +Multi-Arch: same +Description: shared infrastructure for Mesa drivers + This package contains libgallium, a private library shared between + multiple Mesa drivers. This library is an implementation detail of Mesa + and should not be used directly by user code. + Package: libosmesa6 Section: libs Architecture: any @@ -419,7 +433,7 @@ Depends: ${misc:Depends}, Multi-Arch: same Description: DRM shim libraries - This package provides drm-shim libraries which can be used for testing DRM drivers when - none exists on the host + This package provides drm-shim libraries which can be used for testing DRM + drivers when none exists on the host. # vim: tw=0 diff --git a/mesa-aco/debian/jammy/libgbm1.install b/mesa-aco/debian/jammy/libgbm1.install index 4854230..f7ab7e1 100644 --- a/mesa-aco/debian/jammy/libgbm1.install +++ b/mesa-aco/debian/jammy/libgbm1.install @@ -1 +1,2 @@ usr/lib/*/libgbm.so.1* +usr/lib/*/gbm/dri_gbm.so* diff --git a/mesa-aco/debian/jammy/libgbm1.lintian-overrides b/mesa-aco/debian/jammy/libgbm1.lintian-overrides index 4b9f4bd..b622d56 100644 --- a/mesa-aco/debian/jammy/libgbm1.lintian-overrides +++ b/mesa-aco/debian/jammy/libgbm1.lintian-overrides @@ -1 +1 @@ -symbols-declares-dependency-on-other-package libgbm1-private +symbols-declares-dependency-on-other-package libgbm1-private (libgbm.so.1) [symbols] diff --git a/mesa-aco/debian/jammy/mesa-libgallium.install b/mesa-aco/debian/jammy/mesa-libgallium.install new file mode 100644 index 0000000..9e1c57d --- /dev/null +++ b/mesa-aco/debian/jammy/mesa-libgallium.install @@ -0,0 +1 @@ +usr/lib/*/libgallium-*.so diff --git a/mesa-aco/debian/jammy/mesa-libgallium.lintian-overrides b/mesa-aco/debian/jammy/mesa-libgallium.lintian-overrides new file mode 100644 index 0000000..7763abc --- /dev/null +++ b/mesa-aco/debian/jammy/mesa-libgallium.lintian-overrides @@ -0,0 +1 @@ +package-name-doesnt-match-sonames libgallium-* diff --git a/mesa-aco/debian/jammy/rules b/mesa-aco/debian/jammy/rules index c8c0b3c..3f1fffb 100755 --- a/mesa-aco/debian/jammy/rules +++ b/mesa-aco/debian/jammy/rules @@ -35,11 +35,10 @@ else endif EGL_PLATFORMS = x11 -GALLIUM_DRIVERS = swrast +GALLIUM_DRIVERS = VULKAN_DRIVERS = VULKAN_LAYERS = -confflags_DRI3 = -Ddri3=disabled confflags_OSMESA = -Dosmesa=true confflags_SSE2 = -Dsse2=true confflags_TEFLON = -Dteflon=false @@ -52,6 +51,7 @@ WINE_ARCHS = amd64 arm64 armel armhf i386 # hurd doesn't do direct rendering ifeq ($(DEB_HOST_ARCH_OS), hurd) + GALLIUM_DRIVERS += softpipe confflags_DIRECT_RENDERING = -Dglx-direct=false confflags_GBM = -Dgbm=disabled else @@ -62,7 +62,6 @@ else GALLIUM_DRIVERS += nouveau r300 r600 virgl confflags_DIRECT_RENDERING = -Dglx-direct=true - confflags_DRI3 = -Ddri3=enabled confflags_GBM = -Dgbm=enabled confflags_GALLIUM += -Dgallium-extra-hud=true confflags_GALLIUM += -Dgallium-vdpau=enabled @@ -107,7 +106,7 @@ else # LLVM is required for building r300g, radeonsi and llvmpipe drivers. # It's also required for building OpenCL support. ifneq (,$(filter $(DEB_HOST_ARCH), $(LLVM_ARCHS))) - GALLIUM_DRIVERS += radeonsi zink + GALLIUM_DRIVERS += radeonsi zink llvmpipe # Only enable amd on riscv64, swrast needs CPU JIT support which doesn't work properly yet ifneq (,$(filter $(DEB_HOST_ARCH), riscv64)) @@ -140,6 +139,7 @@ else confflags_GALLIUM += -Dgallium-nine=true endif else + GALLIUM_DRIVERS += softpipe confflags_GALLIUM += -Dllvm=disabled endif @@ -175,19 +175,16 @@ confflags_GALLIUM += -Dgallium-drivers="[$(GALLIUM_DRIVERS_LIST)]" confflags += \ -Ddri-drivers-path=/usr/lib/$(DEB_HOST_MULTIARCH)/dri \ - -Ddri-search-path='/usr/lib/$(DEB_HOST_MULTIARCH)/dri:\$$$${ORIGIN}/dri:/usr/lib/dri' \ -Dplatforms="[$(EGL_PLATFORMS_LIST)]" \ -Dvulkan-drivers="[$(VULKAN_DRIVERS_LIST)]" \ -Dvulkan-layers="[$(VULKAN_LAYERS_LIST)]" \ - -Dglvnd=true \ + -Dglvnd=enabled \ -Dshared-glapi=enabled \ - -Dgallium-omx=disabled \ -Db_ndebug=true \ -Dbuild-tests=false \ -Dtools=drm-shim \ $(confflags_DIRECT_RENDERING) \ $(confflags_GBM) \ - $(confflags_DRI3) \ $(confflags_GALLIUM) \ $(confflags_GLES) \ $(confflags_OSMESA) \ diff --git a/mesa-aco/debian/noble/control b/mesa-aco/debian/noble/control index fef7b3f..2cdf995 100644 --- a/mesa-aco/debian/noble/control +++ b/mesa-aco/debian/noble/control @@ -5,27 +5,25 @@ Maintainer: Ernst Sjöstrand Standards-Version: 4.1.4 Build-Depends: debhelper-compat (= 13), - directx-headers-dev (>= 1.613.0) [linux-amd64 linux-arm64], + directx-headers-dev (>= 1.610.2) [linux-amd64 linux-arm64], flatbuffers-compiler [linux-arm64], glslang-tools [amd64 arm64 armel armhf i386 loong64 mips64el powerpc ppc64 ppc64el riscv64 s390x sparc64 x32], meson (>= 1.4.0), quilt (>= 0.63-8.2~), pkg-config, - libdrm-dev (>= 2.4.120), + libdrm-dev (>= 2.4.121), libx11-dev, libxxf86vm-dev, libexpat1-dev, libflatbuffers-dev [linux-arm64], libsensors-dev [!hurd-any], libxfixes-dev, - libxdamage-dev, libxext-dev, libva-dev (>= 1.6.0) [linux-any] , libvdpau-dev (>= 1.5) [linux-any], libvulkan-dev [amd64 arm64 armel armhf i386 loong64 mips64el powerpc ppc64 ppc64el riscv64 s390x sparc64 x32], x11proto-dev, linux-libc-dev (>= 2.6.31) [linux-any], - libpciaccess-dev, libx11-xcb-dev, libxcb-dri2-0-dev (>= 1.8), libxcb-glx0-dev (>= 1.8.1), @@ -39,10 +37,10 @@ Build-Depends: libxshmfence-dev (>= 1.1), libxtensor-dev [linux-arm64], libzstd-dev, - lua5.4 [arm64 armel armhf], python3, python3-mako, python3-ply, + python3-yaml, python3-pycparser [arm64 armhf], python3-setuptools, flex, @@ -54,16 +52,16 @@ Build-Depends: libclang-17-dev [amd64 arm64 armel armhf i386 loong64 mips64el powerpc ppc64 ppc64el riscv64 s390x sparc64 x32], libclang-cpp17-dev [amd64 arm64 armel armhf i386 loong64 mips64el powerpc ppc64 ppc64el riscv64 s390x sparc64 x32], libclc-17-dev [amd64 arm64 armel armhf i386 loong64 mips64el powerpc ppc64 ppc64el riscv64 s390x sparc64 x32], + libclc-17 [amd64 arm64 armel armhf i386 loong64 mips64el powerpc ppc64 ppc64el riscv64 s390x x32], wayland-protocols (>= 1.34), zlib1g-dev, libglvnd-core-dev (>= 1.3.2), valgrind [amd64 arm64 armhf i386 mips64el powerpc ppc64 ppc64el s390x], - rustc (>= 1.73) [amd64], - rustfmt [amd64], + rustc-1.80 [amd64], + rustfmt-1.80 [amd64], bindgen (>= 0.66.1~) [amd64], cbindgen [amd64], llvm-spirv-17 [amd64 arm64 armel armhf i386 loong64 mips64el powerpc ppc64 ppc64el riscv64 s390x x32], - libclc-17 [amd64 arm64 armel armhf i386 loong64 mips64el powerpc ppc64 ppc64el riscv64 s390x x32], libllvmspirvlib-17-dev [amd64 arm64 armel armhf i386 loong64 mips64el powerpc ppc64 ppc64el riscv64 s390x sparc64 x32], librust-paste-dev [amd64], librust-syn-dev [amd64], @@ -138,6 +136,7 @@ Architecture: linux-any Depends: ${shlibs:Depends}, ${misc:Depends}, + mesa-libgallium (= ${binary:Version}), Pre-Depends: ${misc:Pre-Depends} Multi-Arch: same Description: generic buffer management API -- runtime @@ -169,6 +168,7 @@ Depends: ${shlibs:Depends}, ${misc:Depends}, libgbm1 (= ${binary:Version}) [!hurd-any], + mesa-libgallium (= ${binary:Version}), Provides: libegl-vendor Pre-Depends: ${misc:Pre-Depends} Multi-Arch: same @@ -227,6 +227,7 @@ Depends: ${shlibs:Depends}, ${misc:Depends}, libgl1-mesa-dri, + mesa-libgallium (= ${binary:Version}), Provides: libglx-vendor Breaks: libopengl-perl (<< 0.6704+dfsg-2), @@ -296,6 +297,19 @@ Description: Developer documentation for Mesa extensions, the complete set of release notes and the development header files common to all Mesa packages. +Package: mesa-libgallium +Section: libs +Architecture: linux-any +Depends: + ${shlibs:Depends}, + ${misc:Depends}, +Pre-Depends: ${misc:Pre-Depends} +Multi-Arch: same +Description: shared infrastructure for Mesa drivers + This package contains libgallium, a private library shared between + multiple Mesa drivers. This library is an implementation detail of Mesa + and should not be used directly by user code. + Package: libosmesa6 Section: libs Architecture: any @@ -425,7 +439,7 @@ Depends: ${misc:Depends}, Multi-Arch: same Description: DRM shim libraries - This package provides drm-shim libraries which can be used for testing DRM drivers when - none exists on the host + This package provides drm-shim libraries which can be used for testing DRM + drivers when none exists on the host. # vim: tw=0 diff --git a/mesa-aco/debian/noble/libgbm1.install b/mesa-aco/debian/noble/libgbm1.install index 4854230..f7ab7e1 100644 --- a/mesa-aco/debian/noble/libgbm1.install +++ b/mesa-aco/debian/noble/libgbm1.install @@ -1 +1,2 @@ usr/lib/*/libgbm.so.1* +usr/lib/*/gbm/dri_gbm.so* diff --git a/mesa-aco/debian/noble/libgbm1.lintian-overrides b/mesa-aco/debian/noble/libgbm1.lintian-overrides index 4b9f4bd..b622d56 100644 --- a/mesa-aco/debian/noble/libgbm1.lintian-overrides +++ b/mesa-aco/debian/noble/libgbm1.lintian-overrides @@ -1 +1 @@ -symbols-declares-dependency-on-other-package libgbm1-private +symbols-declares-dependency-on-other-package libgbm1-private (libgbm.so.1) [symbols] diff --git a/mesa-aco/debian/noble/mesa-libgallium.install b/mesa-aco/debian/noble/mesa-libgallium.install new file mode 100644 index 0000000..9e1c57d --- /dev/null +++ b/mesa-aco/debian/noble/mesa-libgallium.install @@ -0,0 +1 @@ +usr/lib/*/libgallium-*.so diff --git a/mesa-aco/debian/noble/mesa-libgallium.lintian-overrides b/mesa-aco/debian/noble/mesa-libgallium.lintian-overrides new file mode 100644 index 0000000..7763abc --- /dev/null +++ b/mesa-aco/debian/noble/mesa-libgallium.lintian-overrides @@ -0,0 +1 @@ +package-name-doesnt-match-sonames libgallium-* diff --git a/mesa-aco/debian/noble/rules b/mesa-aco/debian/noble/rules index 29c77e8..ab957ae 100755 --- a/mesa-aco/debian/noble/rules +++ b/mesa-aco/debian/noble/rules @@ -34,12 +34,13 @@ else endif endif +export RUSTC=rustc-1.80 + EGL_PLATFORMS = x11 -GALLIUM_DRIVERS = swrast +GALLIUM_DRIVERS = VULKAN_DRIVERS = VULKAN_LAYERS = -confflags_DRI3 = -Ddri3=disabled confflags_OSMESA = -Dosmesa=true confflags_SSE2 = -Dsse2=true confflags_TEFLON = -Dteflon=false @@ -52,6 +53,7 @@ WINE_ARCHS = amd64 arm64 armel armhf i386 # hurd doesn't do direct rendering ifeq ($(DEB_HOST_ARCH_OS), hurd) + GALLIUM_DRIVERS += softpipe confflags_DIRECT_RENDERING = -Dglx-direct=false confflags_GBM = -Dgbm=disabled else @@ -62,7 +64,6 @@ else GALLIUM_DRIVERS += nouveau r300 r600 virgl confflags_DIRECT_RENDERING = -Dglx-direct=true - confflags_DRI3 = -Ddri3=enabled confflags_GBM = -Dgbm=enabled confflags_GALLIUM += -Dgallium-extra-hud=true confflags_GALLIUM += -Dgallium-vdpau=enabled @@ -107,7 +108,7 @@ else # LLVM is required for building r300g, radeonsi and llvmpipe drivers. # It's also required for building OpenCL support. ifneq (,$(filter $(DEB_HOST_ARCH), $(LLVM_ARCHS))) - GALLIUM_DRIVERS += radeonsi zink + GALLIUM_DRIVERS += radeonsi zink llvmpipe # Only enable amd on riscv64, swrast needs CPU JIT support which doesn't work properly yet ifneq (,$(filter $(DEB_HOST_ARCH), riscv64)) @@ -140,6 +141,7 @@ else confflags_GALLIUM += -Dgallium-nine=true endif else + GALLIUM_DRIVERS += softpipe confflags_GALLIUM += -Dllvm=disabled endif @@ -175,19 +177,16 @@ confflags_GALLIUM += -Dgallium-drivers="[$(GALLIUM_DRIVERS_LIST)]" confflags += \ -Ddri-drivers-path=/usr/lib/$(DEB_HOST_MULTIARCH)/dri \ - -Ddri-search-path='/usr/lib/$(DEB_HOST_MULTIARCH)/dri:\$$$${ORIGIN}/dri:/usr/lib/dri' \ -Dplatforms="[$(EGL_PLATFORMS_LIST)]" \ -Dvulkan-drivers="[$(VULKAN_DRIVERS_LIST)]" \ -Dvulkan-layers="[$(VULKAN_LAYERS_LIST)]" \ - -Dglvnd=true \ + -Dglvnd=enabled \ -Dshared-glapi=enabled \ - -Dgallium-omx=disabled \ -Db_ndebug=true \ -Dbuild-tests=false \ -Dtools=drm-shim \ $(confflags_DIRECT_RENDERING) \ $(confflags_GBM) \ - $(confflags_DRI3) \ $(confflags_GALLIUM) \ $(confflags_GLES) \ $(confflags_OSMESA) \ diff --git a/mesa-aco/debian/oracular/control b/mesa-aco/debian/oracular/control index fef7b3f..bcf7876 100644 --- a/mesa-aco/debian/oracular/control +++ b/mesa-aco/debian/oracular/control @@ -11,21 +11,19 @@ Build-Depends: meson (>= 1.4.0), quilt (>= 0.63-8.2~), pkg-config, - libdrm-dev (>= 2.4.120), + libdrm-dev (>= 2.4.121), libx11-dev, libxxf86vm-dev, libexpat1-dev, libflatbuffers-dev [linux-arm64], libsensors-dev [!hurd-any], libxfixes-dev, - libxdamage-dev, libxext-dev, libva-dev (>= 1.6.0) [linux-any] , libvdpau-dev (>= 1.5) [linux-any], libvulkan-dev [amd64 arm64 armel armhf i386 loong64 mips64el powerpc ppc64 ppc64el riscv64 s390x sparc64 x32], x11proto-dev, linux-libc-dev (>= 2.6.31) [linux-any], - libpciaccess-dev, libx11-xcb-dev, libxcb-dri2-0-dev (>= 1.8), libxcb-glx0-dev (>= 1.8.1), @@ -39,10 +37,10 @@ Build-Depends: libxshmfence-dev (>= 1.1), libxtensor-dev [linux-arm64], libzstd-dev, - lua5.4 [arm64 armel armhf], python3, python3-mako, python3-ply, + python3-yaml, python3-pycparser [arm64 armhf], python3-setuptools, flex, @@ -54,16 +52,16 @@ Build-Depends: libclang-17-dev [amd64 arm64 armel armhf i386 loong64 mips64el powerpc ppc64 ppc64el riscv64 s390x sparc64 x32], libclang-cpp17-dev [amd64 arm64 armel armhf i386 loong64 mips64el powerpc ppc64 ppc64el riscv64 s390x sparc64 x32], libclc-17-dev [amd64 arm64 armel armhf i386 loong64 mips64el powerpc ppc64 ppc64el riscv64 s390x sparc64 x32], + libclc-17 [amd64 arm64 armel armhf i386 loong64 mips64el powerpc ppc64 ppc64el riscv64 s390x x32], wayland-protocols (>= 1.34), zlib1g-dev, libglvnd-core-dev (>= 1.3.2), valgrind [amd64 arm64 armhf i386 mips64el powerpc ppc64 ppc64el s390x], - rustc (>= 1.73) [amd64], - rustfmt [amd64], + rustc-1.80 [amd64], + rustfmt-1.80 [amd64], bindgen (>= 0.66.1~) [amd64], cbindgen [amd64], llvm-spirv-17 [amd64 arm64 armel armhf i386 loong64 mips64el powerpc ppc64 ppc64el riscv64 s390x x32], - libclc-17 [amd64 arm64 armel armhf i386 loong64 mips64el powerpc ppc64 ppc64el riscv64 s390x x32], libllvmspirvlib-17-dev [amd64 arm64 armel armhf i386 loong64 mips64el powerpc ppc64 ppc64el riscv64 s390x sparc64 x32], librust-paste-dev [amd64], librust-syn-dev [amd64], @@ -138,6 +136,7 @@ Architecture: linux-any Depends: ${shlibs:Depends}, ${misc:Depends}, + mesa-libgallium (= ${binary:Version}), Pre-Depends: ${misc:Pre-Depends} Multi-Arch: same Description: generic buffer management API -- runtime @@ -169,6 +168,7 @@ Depends: ${shlibs:Depends}, ${misc:Depends}, libgbm1 (= ${binary:Version}) [!hurd-any], + mesa-libgallium (= ${binary:Version}), Provides: libegl-vendor Pre-Depends: ${misc:Pre-Depends} Multi-Arch: same @@ -227,6 +227,7 @@ Depends: ${shlibs:Depends}, ${misc:Depends}, libgl1-mesa-dri, + mesa-libgallium (= ${binary:Version}), Provides: libglx-vendor Breaks: libopengl-perl (<< 0.6704+dfsg-2), @@ -296,6 +297,19 @@ Description: Developer documentation for Mesa extensions, the complete set of release notes and the development header files common to all Mesa packages. +Package: mesa-libgallium +Section: libs +Architecture: linux-any +Depends: + ${shlibs:Depends}, + ${misc:Depends}, +Pre-Depends: ${misc:Pre-Depends} +Multi-Arch: same +Description: shared infrastructure for Mesa drivers + This package contains libgallium, a private library shared between + multiple Mesa drivers. This library is an implementation detail of Mesa + and should not be used directly by user code. + Package: libosmesa6 Section: libs Architecture: any @@ -425,7 +439,7 @@ Depends: ${misc:Depends}, Multi-Arch: same Description: DRM shim libraries - This package provides drm-shim libraries which can be used for testing DRM drivers when - none exists on the host + This package provides drm-shim libraries which can be used for testing DRM + drivers when none exists on the host. # vim: tw=0 diff --git a/mesa-aco/debian/oracular/libgbm1.install b/mesa-aco/debian/oracular/libgbm1.install index 4854230..f7ab7e1 100644 --- a/mesa-aco/debian/oracular/libgbm1.install +++ b/mesa-aco/debian/oracular/libgbm1.install @@ -1 +1,2 @@ usr/lib/*/libgbm.so.1* +usr/lib/*/gbm/dri_gbm.so* diff --git a/mesa-aco/debian/oracular/libgbm1.lintian-overrides b/mesa-aco/debian/oracular/libgbm1.lintian-overrides index 4b9f4bd..b622d56 100644 --- a/mesa-aco/debian/oracular/libgbm1.lintian-overrides +++ b/mesa-aco/debian/oracular/libgbm1.lintian-overrides @@ -1 +1 @@ -symbols-declares-dependency-on-other-package libgbm1-private +symbols-declares-dependency-on-other-package libgbm1-private (libgbm.so.1) [symbols] diff --git a/mesa-aco/debian/oracular/rules b/mesa-aco/debian/oracular/rules index 29c77e8..ab957ae 100755 --- a/mesa-aco/debian/oracular/rules +++ b/mesa-aco/debian/oracular/rules @@ -34,12 +34,13 @@ else endif endif +export RUSTC=rustc-1.80 + EGL_PLATFORMS = x11 -GALLIUM_DRIVERS = swrast +GALLIUM_DRIVERS = VULKAN_DRIVERS = VULKAN_LAYERS = -confflags_DRI3 = -Ddri3=disabled confflags_OSMESA = -Dosmesa=true confflags_SSE2 = -Dsse2=true confflags_TEFLON = -Dteflon=false @@ -52,6 +53,7 @@ WINE_ARCHS = amd64 arm64 armel armhf i386 # hurd doesn't do direct rendering ifeq ($(DEB_HOST_ARCH_OS), hurd) + GALLIUM_DRIVERS += softpipe confflags_DIRECT_RENDERING = -Dglx-direct=false confflags_GBM = -Dgbm=disabled else @@ -62,7 +64,6 @@ else GALLIUM_DRIVERS += nouveau r300 r600 virgl confflags_DIRECT_RENDERING = -Dglx-direct=true - confflags_DRI3 = -Ddri3=enabled confflags_GBM = -Dgbm=enabled confflags_GALLIUM += -Dgallium-extra-hud=true confflags_GALLIUM += -Dgallium-vdpau=enabled @@ -107,7 +108,7 @@ else # LLVM is required for building r300g, radeonsi and llvmpipe drivers. # It's also required for building OpenCL support. ifneq (,$(filter $(DEB_HOST_ARCH), $(LLVM_ARCHS))) - GALLIUM_DRIVERS += radeonsi zink + GALLIUM_DRIVERS += radeonsi zink llvmpipe # Only enable amd on riscv64, swrast needs CPU JIT support which doesn't work properly yet ifneq (,$(filter $(DEB_HOST_ARCH), riscv64)) @@ -140,6 +141,7 @@ else confflags_GALLIUM += -Dgallium-nine=true endif else + GALLIUM_DRIVERS += softpipe confflags_GALLIUM += -Dllvm=disabled endif @@ -175,19 +177,16 @@ confflags_GALLIUM += -Dgallium-drivers="[$(GALLIUM_DRIVERS_LIST)]" confflags += \ -Ddri-drivers-path=/usr/lib/$(DEB_HOST_MULTIARCH)/dri \ - -Ddri-search-path='/usr/lib/$(DEB_HOST_MULTIARCH)/dri:\$$$${ORIGIN}/dri:/usr/lib/dri' \ -Dplatforms="[$(EGL_PLATFORMS_LIST)]" \ -Dvulkan-drivers="[$(VULKAN_DRIVERS_LIST)]" \ -Dvulkan-layers="[$(VULKAN_LAYERS_LIST)]" \ - -Dglvnd=true \ + -Dglvnd=enabled \ -Dshared-glapi=enabled \ - -Dgallium-omx=disabled \ -Db_ndebug=true \ -Dbuild-tests=false \ -Dtools=drm-shim \ $(confflags_DIRECT_RENDERING) \ $(confflags_GBM) \ - $(confflags_DRI3) \ $(confflags_GALLIUM) \ $(confflags_GLES) \ $(confflags_OSMESA) \