From nobody Sun Jan 15 09:53:25 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Nvr7n623Xz2sSqh; Sun, 15 Jan 2023 09:53:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Nvr7n5bZPz4H6X; Sun, 15 Jan 2023 09:53:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673776405; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=R1AYGxjSQNVl8k3zMwRx1cgHc/Rpq/BFurFnHayZp0c=; b=QGBN9aseduxJtilOU4a2TnbQgIJac5CWlDm2T6ykfrR2k/pXCb1IxQ9TOgR4oPDtmLaLAk fluOqD2MYett1C2A/5eLXYNx+7o7p0r/A+kWGRo0zwgb7vRivQY4uQGsEFEVvs092XArqz HjltlFcFA9zFTXH83fMJhAKhM93hKVJMOFzrKx2NOqY4w0f2WWPiIGVB812ihyPty6dqyW pZ83TZeXfbNDHwoqHen874lI2TogykiyxGqG+YGtjBqlo1ILhO20KWR7L+HeDDL7ntC0sI J3JLXrY0//nmyoQEerD9adoQBOdk5MjXbZlXaZMInZPb01KguUEJiQbNKR23xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673776405; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=R1AYGxjSQNVl8k3zMwRx1cgHc/Rpq/BFurFnHayZp0c=; b=jezYCLxrnm9rtFDvubamy2HWhQ+I0aOA8IZ6CYijVBC3MqRKuU0Ie/H1U/lm2hjyVYF96Y GwF8io5dWiOcpnVaKw+hPlmOY9iHP7lAUGYpfFZgsjCZrQuMZ/nbwFJHgJa42R0V858hl5 kHCuiEAbjRia5IFC2Xu59LQ0TsE5Jt55kZDHm1ecvaqhreSMYSXiyvK286t6XAnunLyogI i2919i7QoilNozELYfV6xPDBQlHxfweLxufX7jE5cgUyCBWBWVbia34lQKyObbs0YUtOMC LkHA+YaO1Rn/NWCiJlvdrk7iuHfLbKmqjVfVcHz76spMdpFuamtXqMv6hg56ww== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673776405; a=rsa-sha256; cv=none; b=EWTbAlvikPodPNuMnrFcT/AtNSDPXUe8fvxwkxIcHiVDdVuZDqyMX4QlSNaO9htA+FHxaT vgMTTBmAsTAncIe5aqbAZifTqTl9sOn3OCKdXF17v92lNnZtmX0hb5eG6tgZF06gbNxHzQ RjDzMI42vxAJ+Y3C+sv5PG7UVhcP/ZjpwotopOoTz+QeQptYD1bEIiRrM6IRtk9a8HHQGn UcrT5olRLkdQ/Ia0iYR8yoZ2iQGc47XSLZliXjIIP22QQ8bHz/7B6vfBlHkATAA3qEH64k iut1KRMt+1CO7Wtj5cYYTAIlcol7FbF5hYZKMAyrIneakJYdHa4FHRZK/JS62g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Nvr7n4bGGzNRt; Sun, 15 Jan 2023 09:53:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 30F9rPxW086051; Sun, 15 Jan 2023 09:53:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30F9rPfr086050; Sun, 15 Jan 2023 09:53:25 GMT (envelope-from git) Date: Sun, 15 Jan 2023 09:53:25 GMT Message-Id: <202301150953.30F9rPfr086050@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 9a20d67586e0 - main - sysutils/touchegg: New port: Multi-touch gesture recognizer List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9a20d67586e08f46cbf5c82f2110fc879c853ba5 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=9a20d67586e08f46cbf5c82f2110fc879c853ba5 commit 9a20d67586e08f46cbf5c82f2110fc879c853ba5 Author: Yuri Victorovich AuthorDate: 2023-01-15 09:52:47 +0000 Commit: Yuri Victorovich CommitDate: 2023-01-15 09:53:20 +0000 sysutils/touchegg: New port: Multi-touch gesture recognizer --- sysutils/Makefile | 1 + sysutils/touchegg/Makefile | 37 +++++++++++++++++++++++++ sysutils/touchegg/distinfo | 3 ++ sysutils/touchegg/files/patch-CMakeLists.txt | 20 +++++++++++++ sysutils/touchegg/files/patch-src_daemon_dbus.h | 16 +++++++++++ sysutils/touchegg/pkg-descr | 2 ++ sysutils/touchegg/pkg-plist | 3 ++ 7 files changed, 82 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index 17f7c6c5601b..eaaefae400a7 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -1429,6 +1429,7 @@ SUBDIR += topless SUBDIR += torque SUBDIR += toshctl + SUBDIR += touchegg SUBDIR += toybox SUBDIR += tracker SUBDIR += tracker-miners diff --git a/sysutils/touchegg/Makefile b/sysutils/touchegg/Makefile new file mode 100644 index 000000000000..a33a2af78c8d --- /dev/null +++ b/sysutils/touchegg/Makefile @@ -0,0 +1,37 @@ +PORTNAME= touchegg +DISTVERSION= 2.0.15 +CATEGORIES= sysutils + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Multi-touch gesture recognizer +WWW= https://github.com/JoseExposito/touchegg + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= libgudev>0:devel/libgudev +LIB_DEPENDS= libharfbuzz.so:print/harfbuzz \ + libinotify.so:devel/libinotify \ + libinput.so:x11/libinput \ + libpugixml.so:textproc/pugixml \ + libudev.so:devel/libudev-devd + +USES= cmake:testing compiler:c++17-lang desktop-file-utils gnome localbase:ldflags pkgconfig xorg +USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_XORG= x11 xi xrandr xtst + +USE_GITHUB= yes +GH_ACCOUNT= JoseExposito + +CMAKE_OFF= USE_SYSTEMD USE_SYSTEMD +CMAKE_ARGS= -DCMAKE_INSTALL_FULL_DATAROOTDIR=${LOCALBASE}/etc \ + -DCMAKE_INSTALL_DATAROOTDIR=etc + +LDFLAGS+= -linotify + +post-install: + @${MV} \ + ${STAGEDIR}${ETCDIR}/touchegg.conf \ + ${STAGEDIR}${ETCDIR}/touchegg.conf.sample + +.include diff --git a/sysutils/touchegg/distinfo b/sysutils/touchegg/distinfo new file mode 100644 index 000000000000..acc80a6f5242 --- /dev/null +++ b/sysutils/touchegg/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1673768637 +SHA256 (JoseExposito-touchegg-2.0.15_GH0.tar.gz) = b620049eb48ca911e606c91ad8655eb66b352e384975bfd721c184d0e2356edc +SIZE (JoseExposito-touchegg-2.0.15_GH0.tar.gz) = 26825847 diff --git a/sysutils/touchegg/files/patch-CMakeLists.txt b/sysutils/touchegg/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..7543309342ab --- /dev/null +++ b/sysutils/touchegg/files/patch-CMakeLists.txt @@ -0,0 +1,20 @@ +--- CMakeLists.txt.orig 2022-11-14 17:39:36 UTC ++++ CMakeLists.txt +@@ -51,7 +51,7 @@ target_include_directories(touchegg PUBLIC + ${GIO_INCLUDE_DIRS} + ) + target_link_libraries(touchegg +- stdc++fs # std::filesystem ++ #stdc++fs # std::filesystem + Threads::Threads # std::thread + ${LIBUDEV_LIBRARIES} + ${LIBINPUT_LIBRARIES} +@@ -77,7 +77,7 @@ endif() + + # Installation + # https://cmake.org/cmake/help/v3.4/module/GNUInstallDirs.html +-if(CMAKE_BUILD_TYPE MATCHES Debug) ++if(FALSE AND CMAKE_BUILD_TYPE MATCHES Debug) + set(CMAKE_INSTALL_PREFIX "/usr") + endif() + diff --git a/sysutils/touchegg/files/patch-src_daemon_dbus.h b/sysutils/touchegg/files/patch-src_daemon_dbus.h new file mode 100644 index 000000000000..0155cf2f5945 --- /dev/null +++ b/sysutils/touchegg/files/patch-src_daemon_dbus.h @@ -0,0 +1,16 @@ +- Unix Domain Socket with Abstract Socket Address aren't supported on FreeBSD + +--- src/daemon/dbus.h.orig 2023-01-15 09:10:50 UTC ++++ src/daemon/dbus.h +@@ -18,7 +18,11 @@ + #ifndef DAEMON_DBUS_H_ + #define DAEMON_DBUS_H_ + ++#if defined(__FreeBSD__) ++constexpr auto DBUS_ADDRESS = "unix:path=/tmp/touchegg#0"; ++#else + constexpr auto DBUS_ADDRESS = "unix:abstract=touchegg"; ++#endif + + constexpr auto DBUS_OBJECT_PATH = "/io/github/joseexposito/Touchegg"; + diff --git a/sysutils/touchegg/pkg-descr b/sysutils/touchegg/pkg-descr new file mode 100644 index 000000000000..72e5290c7a5b --- /dev/null +++ b/sysutils/touchegg/pkg-descr @@ -0,0 +1,2 @@ +Touchegg is an app that runs in the background and transform the gestures you +make on your touchpad or touchscreen into visible actions in your desktop. diff --git a/sysutils/touchegg/pkg-plist b/sysutils/touchegg/pkg-plist new file mode 100644 index 000000000000..853cc58635bb --- /dev/null +++ b/sysutils/touchegg/pkg-plist @@ -0,0 +1,3 @@ +bin/touchegg +@sample %%ETCDIR%%/touchegg.conf.sample +etc/xdg/autostart/touchegg.desktop