metacity: remove old patch

This commit is contained in:
Đoàn Trần Công Danh 2020-11-09 20:41:21 +07:00
parent 374c56637e
commit e7ad062a00
2 changed files with 2 additions and 30 deletions

View file

@ -1,29 +0,0 @@
From 99361f28c8763ea4569b5ae9876028d53ac9a234 Mon Sep 17 00:00:00 2001
From: Alberts Muktupāvels <alberts.muktupavels@gmail.com>
Date: Sun, 24 May 2020 13:58:51 +0300
Subject: [PATCH] compositor-vulkan: fix build
VK_PHYSICAL_DEVICE_TYPE_RANGE_SIZE enum was removed in 1.2.140.
https://gitlab.gnome.org/GNOME/metacity/-/issues/10
---
src/compositor/meta-compositor-vulkan.c | 2 ++
1 file changed, 2 insertions(+)
diff --git src/compositor/meta-compositor-vulkan.c src/compositor/meta-compositor-vulkan.c
index b87b5194..53b7b3ff 100644
--- src/compositor/meta-compositor-vulkan.c
+++ src/compositor/meta-compositor-vulkan.c
@@ -810,7 +810,9 @@ device_type_to_string (VkPhysicalDeviceType type)
return "cpu";
break;
+#if VK_HEADER_VERSION < 140
case VK_PHYSICAL_DEVICE_TYPE_RANGE_SIZE:
+#endif
case VK_PHYSICAL_DEVICE_TYPE_MAX_ENUM:
default:
break;
--
GitLab

View file

@ -7,7 +7,8 @@ hostmakedepends="gettext gettext-devel glib-devel itstool pkg-config yelp-tools
makedepends="gsettings-desktop-schemas-devel gtk+3-devel libcanberra-devel
libglib-devel libgtop-devel libSM-devel libXcomposite-devel libXdamage-devel
libXfixes-devel libXinerama-devel libXrender-devel libX11-devel libXres-devel
pango-devel startup-notification-devel Vulkan-Headers vulkan-loader"
pango-devel startup-notification-devel Vulkan-Headers vulkan-loader
libXpresent-devel"
depends="zenity"
short_desc="Window Manager for the GNOME environment"
maintainer="Enno Boland <gottox@voidlinux.org>"