touchegg: update to 2.0.13

This commit is contained in:
Animesh Sahu 2022-03-06 16:24:32 +05:30 committed by Echo
parent 1d1af8f143
commit 2e11b37cd9
3 changed files with 4 additions and 54 deletions

View file

@ -1,24 +0,0 @@
From da9a3a95cfe9965ff6e15e3a0e1a98f8840a34d7 Mon Sep 17 00:00:00 2001
From: Alexander Gehrke <void@qwertyuiop.de>
Date: Tue, 25 May 2021 23:47:51 +0000
Subject: [PATCH] Fix missing header for musl
---
src/utils/client-lock.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/utils/client-lock.cpp b/src/utils/client-lock.cpp
index fb1e67b..27c6c6a 100644
--- a/src/utils/client-lock.cpp
+++ b/src/utils/client-lock.cpp
@@ -19,6 +19,7 @@
#include <sys/file.h>
#include <unistd.h>
+#include <fcntl.h>
#include <exception>
#include <stdexcept>
--
2.31.1

View file

@ -1,28 +0,0 @@
From 938167799926ad70849d8088bdef023b5e8a0700 Mon Sep 17 00:00:00 2001
From: Alexander Gehrke <void@qwertyuiop.de>
Date: Tue, 25 May 2021 20:11:29 +0000
Subject: [PATCH] Fix CMake failing because of missing Systemd service dir
---
CMakeLists.txt | 5 -----
1 file changed, 5 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index dee220d..13b773f 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -76,11 +76,6 @@ include(GNUInstallDirs)
set(SYSTEM_CONFIG_FILE_PATH "${CMAKE_INSTALL_FULL_DATAROOTDIR}/touchegg/touchegg.conf")
target_compile_definitions(touchegg PUBLIC SYSTEM_CONFIG_FILE_PATH=\"${SYSTEM_CONFIG_FILE_PATH}\")
-# configure systemd service unit to use the right path, e.g. @CMAKE_INSTALL_BINDIR@/touchegg
-configure_file(${PROJECT_SOURCE_DIR}/installation/touchegg.service.in ${PROJECT_SOURCE_DIR}/installation/touchegg.service @ONLY)
-pkg_get_variable(SYSTEMD_SERVICE_DIR systemd systemdsystemunitdir)
-
install(FILES ${PROJECT_SOURCE_DIR}/installation/touchegg.conf DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/touchegg) # /usr/share/touchegg/touchegg.conf
-install(FILES ${PROJECT_SOURCE_DIR}/installation/touchegg.service DESTINATION ${SYSTEMD_SERVICE_DIR})
install(FILES ${PROJECT_SOURCE_DIR}/installation/touchegg.desktop DESTINATION ${CMAKE_INSTALL_FULL_SYSCONFDIR}/xdg/autostart)
install(PROGRAMS ${PROJECT_BINARY_DIR}/touchegg DESTINATION ${CMAKE_INSTALL_BINDIR}) # /usr/bin/touchegg
--
2.31.1

View file

@ -1,8 +1,9 @@
# Template file for 'touchegg'
pkgname=touchegg
version=2.0.9
version=2.0.13
revision=1
build_style=cmake
configure_args="-DUSE_SYSTEMD=false"
hostmakedepends="pkg-config"
makedepends="eudev-libudev-devel libinput-devel pugixml-devel cairo-devel libX11-devel
libXtst-devel libXrandr-devel libXi-devel glib-devel gtk+3-devel"
@ -10,8 +11,9 @@ short_desc="Multitouch gesture recognizer"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/JoseExposito/touchegg"
changelog="https://raw.githubusercontent.com/JoseExposito/touchegg/master/CHANGELOG.md"
distfiles="https://github.com/JoseExposito/touchegg/archive/${version}.tar.gz"
checksum=efff0f2011078cea15f2f130d1501714f8e3f82b7e883e81eccf956ac7966d0e
checksum=f121cbfdf6725b86f8a6e6a3047c1fe26852217eda38d03de86ff10e23729d5d
system_accounts="_touchegg"
post_install() {