diff options
author | ssfdust | 2024-02-18 17:31:36 +0800 |
---|---|---|
committer | ssfdust | 2024-02-18 17:31:36 +0800 |
commit | a9193baf4c2ab56d70513760c80e716d81e8bdbe (patch) | |
tree | 93def7b199b4dc204259c8fead55c82f1b1a24e1 | |
parent | cf971f1dc45fa7714918411841128594dcbf5f09 (diff) | |
download | aur-a9193baf4c2ab56d70513760c80e716d81e8bdbe.tar.gz |
Skip patches for zero swap interval
* Patches are already applied at Feb 10
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | 0001-egl-set-a-zero-swap-interval-on-Wayland.patch | 29 | ||||
-rw-r--r-- | PKGBUILD | 8 |
3 files changed, 5 insertions, 36 deletions
@@ -1,6 +1,6 @@ pkgbase = cairo-dock-core-wayland-git pkgdesc = Light eye-candy fully themable animated dock with wayland support - pkgver = 3.5.99.alpha1.20240204.7d32a4d4 + pkgver = 3.5.99.alpha1.20240211.9e301cdf pkgrel = 1 url = https://github.com/dkondor/cairo-dock-core arch = i686 @@ -23,8 +23,6 @@ pkgbase = cairo-dock-core-wayland-git conflicts = cairo-dock options = debug source = cairo-dock-core-wayland-git::git+https://github.com/dkondor/cairo-dock-core.git#branch=wayland_new3 - source = 0001-egl-set-a-zero-swap-interval-on-Wayland.patch sha256sums = SKIP - sha256sums = 1af64c4dea950b6b8a696c767b924f585c3a085e35ee775723dee95d4b4cf208 pkgname = cairo-dock-core-wayland-git diff --git a/0001-egl-set-a-zero-swap-interval-on-Wayland.patch b/0001-egl-set-a-zero-swap-interval-on-Wayland.patch deleted file mode 100644 index 73d34be3c9c1..000000000000 --- a/0001-egl-set-a-zero-swap-interval-on-Wayland.patch +++ /dev/null @@ -1,29 +0,0 @@ -From a6739cf2b3880795a45f4b5c861d7d3c2376188e Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Kondor=20D=C3=A1niel?= <kondor.dani@gmail.com> -Date: Sat, 20 Jan 2024 00:16:11 +0100 -Subject: [PATCH] egl: set a zero swap interval on Wayland - ---- - src/implementations/cairo-dock-egl.c | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/src/implementations/cairo-dock-egl.c b/src/implementations/cairo-dock-egl.c -index 137faa26..0583cd17 100644 ---- a/src/implementations/cairo-dock-egl.c -+++ b/src/implementations/cairo-dock-egl.c -@@ -200,7 +200,11 @@ static void _init_surface (G_GNUC_UNUSED GtkWidget *pWidget, GldiContainer *pCon - // create an EGL surface for this window - EGLDisplay *dpy = s_eglDisplay; - if (s_eglX11) egl_init_surface_X11 (pContainer, dpy, s_eglConfig); -- if (s_eglWayland) egl_init_surface_wayland (pContainer, dpy, s_eglConfig); -+ if (s_eglWayland) { -+ egl_init_surface_wayland (pContainer, dpy, s_eglConfig); -+ _container_make_current (pContainer); -+ eglSwapInterval (dpy, 0); -+ } - } - - static void _destroy_surface (G_GNUC_UNUSED GtkWidget* pWidget, GldiContainer *pContainer) { --- -2.43.0 - @@ -5,7 +5,7 @@ # Contributor: ssfdust <ssfdust@gmail.com> pkgname=cairo-dock-core-wayland-git -pkgver=3.5.99.alpha1.20240204.7d32a4d4 +pkgver=3.5.99.alpha1.20240211.9e301cdf pkgrel=1 pkgdesc='Light eye-candy fully themable animated dock with wayland support' arch=('i686' 'x86_64') @@ -21,11 +21,9 @@ conflicts=("${pkgname%-git}" "cairo-dock") options=(debug) source=( "${pkgname}::git+https://github.com/dkondor/cairo-dock-core.git#branch=wayland_new3" - "0001-egl-set-a-zero-swap-interval-on-Wayland.patch" ) sha256sums=( 'SKIP' - '1af64c4dea950b6b8a696c767b924f585c3a085e35ee775723dee95d4b4cf208' ) _builddir="build" @@ -38,7 +36,9 @@ pkgver () { prepare() { cd "${srcdir}/${pkgname}" - for patch in "${srcdir}"/*.patch; do + + # if patches are present, apply them + for patch in $(ls "${srcdir}"/*.patch); do msg2 "Applying $(basename "$patch")" patch -Np1 -i "$patch" done |