mirror of
https://gitlab.com/CinnamonSlackBuilds/csb.git
synced 2024-12-25 21:59:21 +01:00
metacity: Upgraded to 3.38.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
parent
134dbc0d91
commit
be34e49094
2 changed files with 3 additions and 31 deletions
|
@ -1,26 +0,0 @@
|
||||||
From 99361f28c8763ea4569b5ae9876028d53ac9a234 Mon Sep 17 00:00:00 2001
|
|
||||||
From: =?UTF-8?q?Alberts=20Muktup=C4=81vels?= <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 a/src/compositor/meta-compositor-vulkan.c b/src/compositor/meta-compositor-vulkan.c
|
|
||||||
index b87b5194..53b7b3ff 100644
|
|
||||||
--- a/src/compositor/meta-compositor-vulkan.c
|
|
||||||
+++ b/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;
|
|
|
@ -23,8 +23,8 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=metacity
|
PRGNAM=metacity
|
||||||
VERSION=${VERSION:-3.36.1}
|
VERSION=${VERSION:-3.38.0}
|
||||||
BUILD=${BUILD:-2}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_csb}
|
TAG=${TAG:-_csb}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
|
@ -35,7 +35,7 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget -c https://ftp.acc.umu.se/pub/gnome/sources/$PRGNAM/3.36/$PRGNAM-$VERSION.tar.xz
|
wget -c https://ftp.acc.umu.se/pub/gnome/sources/$PRGNAM/3.38/$PRGNAM-$VERSION.tar.xz
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/csb}
|
TMP=${TMP:-/tmp/csb}
|
||||||
|
@ -74,8 +74,6 @@ find -L . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
patch -p1 < $CWD/meta-compositor-vulkan.patch
|
|
||||||
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
|
|
Loading…
Reference in a new issue