chore(update): 3.42.0

build: Drop compositor-enable-xpresent.patch. Upstreamed.
This commit is contained in:
Artem Polishchuk 2021-10-23 22:10:59 +03:00
parent 02f7a06a4a
commit 9cd839fbf8
4 changed files with 9 additions and 49 deletions

1
.gitignore vendored
View File

@ -19,3 +19,4 @@ metacity-2.30.0.tar.bz2
/metacity-3.36.1.tar.xz
/metacity-3.38.0.tar.xz
/metacity-3.40.0.tar.xz
/metacity-3.42.0.tar.xz

View File

@ -1,40 +0,0 @@
From 6f3efe9ff6e7f4442b7beb244481c2c8f46e8d68 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Alberts=20Muktup=C4=81vels?= <alberts.muktupavels@gmail.com>
Date: Tue, 13 Apr 2021 18:39:36 +0300
Subject: [PATCH] compositor: enable xpresent
https://gitlab.gnome.org/GNOME/metacity/-/issues/13
---
data/schemas/org.gnome.metacity.gschema.xml | 2 +-
src/include/meta-compositor.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/data/schemas/org.gnome.metacity.gschema.xml b/data/schemas/org.gnome.metacity.gschema.xml
index c55d9727..79cb6dcd 100644
--- a/data/schemas/org.gnome.metacity.gschema.xml
+++ b/data/schemas/org.gnome.metacity.gschema.xml
@@ -33,7 +33,7 @@
<summary>Compositor</summary>
<description>
Compositor that Metacity will use for compositing. Possible values
- are “none” and “xrender”.
+ are “none”, “xrender” and “xpresent”.
</description>
</key>
diff --git a/src/include/meta-compositor.h b/src/include/meta-compositor.h
index 9e0778a6..1158d343 100644
--- a/src/include/meta-compositor.h
+++ b/src/include/meta-compositor.h
@@ -35,7 +35,7 @@ typedef enum
{
META_COMPOSITOR_TYPE_NONE,
META_COMPOSITOR_TYPE_XRENDER,
- META_COMPOSITOR_TYPE_XPRESENT, /*< skip >*/
+ META_COMPOSITOR_TYPE_XPRESENT,
META_COMPOSITOR_TYPE_EXTERNAL, /*< skip >*/
META_COMPOSITOR_TYPE_VULKAN /*< skip >*/
} MetaCompositorType;
--
GitLab

View File

@ -1,14 +1,9 @@
Name: metacity
Version: 3.40.0
Release: 3%{?dist}
Version: 3.42.0
Release: 1%{?dist}
Summary: Unobtrusive window manager
URL: https://wiki.gnome.org/Projects/Metacity
Source0: https://download.gnome.org/sources/metacity/3.40/metacity-%{version}.tar.xz
# compositor: enable xpresent
# * https://gitlab.gnome.org/GNOME/metacity/-/commit/6f3efe9ff6e7f4442b7beb244481c2c8f46e8d68
# * https://gitlab.gnome.org/GNOME/metacity/-/issues/13#note_1081820
Patch0: https://gitlab.gnome.org/GNOME/metacity/-/commit/6f3efe9ff6e7f4442b7beb244481c2c8f46e8d68.patch#/compositor-enable-xpresent.patch
Source0: https://download.gnome.org/sources/metacity/3.42/metacity-%{version}.tar.xz
License: GPLv2+
@ -121,6 +116,10 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%{_mandir}/man1/metacity-theme-viewer.1.gz
%changelog
* Sat Oct 23 2021 Artem Polishchuk <ego.cordatus@gmail.com> - 3.42.0-1
- chore(update): 3.42.0
- build: Drop compositor-enable-xpresent.patch. Upstreamed.
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.40.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (metacity-3.40.0.tar.xz) = f9eeb0b08bb302c5fb0d174a4df97b253255741d507e94200820d3ebe9e89f179c9096b8e56798836fc84cbe1ac76b27fee6762f3d41373280c4726bc7cba2ff
SHA512 (metacity-3.42.0.tar.xz) = 5b2f22a798e50a332384acf7bc40104c1978184cb4448dcd55d35196e4736388c1fee6e0e63962f947354a17b3bc72a635413e7285224c8b3c1872379e47f24d