input-leap: update to 3.0.3.

This commit is contained in:
classabbyamp 2025-06-14 16:58:52 -04:00
parent 8dce6847d7
commit 03dfbc03a5
No known key found for this signature in database
GPG key ID: 6BE0755918A4C7F5
3 changed files with 6 additions and 62 deletions

View file

@ -1,10 +1,10 @@
add the old name (barrier) as a keyword in the desktop file
so it is discoverable in things that launch desktop files
--- a/res/io.github.input_leap.InputLeap.desktop
+++ b/res/io.github.input_leap.InputLeap.desktop
--- a/res/io.github.input_leap.input-leap.desktop
+++ b/res/io.github.input_leap.input-leap.desktop
@@ -6,4 +6,4 @@
Icon=io.github.input_leap.InputLeap
Icon=io.github.input_leap.input-leap
Terminal=false
Categories=Network
-Keywords=keyboard;mouse;sharing;network;share;

View file

@ -1,56 +0,0 @@
From 0bae409d577e1efddacec5be7b0c97329eff854f Mon Sep 17 00:00:00 2001
From: Jordan <jakj3m@gmail.com>
Date: Sat, 9 Nov 2024 00:55:32 +0100
Subject: [PATCH] fix: server config dialog show event. Fixes issue 2067 on
github. Was initially suggested by sithlord48.
---
.../arch_bug_when_configuring_server.bugfix | 1 +
src/gui/src/ServerConfigDialog.cpp | 13 -------------
src/gui/src/ServerConfigDialog.h | 1 -
3 files changed, 1 insertion(+), 14 deletions(-)
create mode 100644 doc/newsfragments/arch_bug_when_configuring_server.bugfix
diff --git a/doc/newsfragments/arch_bug_when_configuring_server.bugfix b/doc/newsfragments/arch_bug_when_configuring_server.bugfix
new file mode 100644
index 000000000..65060e11f
--- /dev/null
+++ b/doc/newsfragments/arch_bug_when_configuring_server.bugfix
@@ -0,0 +1 @@
+Fixed a segmentation fault that would occur when configuring servers on certain platforms. This solution was proposed by sithlord48 and they used it to fix the issue for deskflow.
diff --git a/src/gui/src/ServerConfigDialog.cpp b/src/gui/src/ServerConfigDialog.cpp
index ec81702df..5783e4354 100644
--- a/src/gui/src/ServerConfigDialog.cpp
+++ b/src/gui/src/ServerConfigDialog.cpp
@@ -74,19 +74,6 @@ ServerConfigDialog::ServerConfigDialog(QWidget* parent, ServerConfig& config, co
model().screen(serverConfig().numColumns() / 2, serverConfig().numRows() / 2) = Screen(defaultScreenName);
}
-void ServerConfigDialog::showEvent(QShowEvent* event)
-{
- (void) event;
-
- QDialog::show();
-
- if (!m_Message.isEmpty())
- {
- // TODO: ideally this message box should pop up after the dialog is shown
- QMessageBox::information(this, tr("Configure server"), m_Message);
- }
-}
-
void ServerConfigDialog::accept()
{
serverConfig().haveHeartbeat(ui_->m_pCheckBoxHeartbeat->isChecked());
diff --git a/src/gui/src/ServerConfigDialog.h b/src/gui/src/ServerConfigDialog.h
index 6b306f6e4..aacf2ef52 100644
--- a/src/gui/src/ServerConfigDialog.h
+++ b/src/gui/src/ServerConfigDialog.h
@@ -39,7 +39,6 @@ class ServerConfigDialog : public QDialog
public slots:
void accept() override;
- void showEvent(QShowEvent* event) override;
void message(const QString& message) { m_Message = message; }
protected slots:

View file

@ -1,7 +1,7 @@
# Template file for 'input-leap'
pkgname=input-leap
version=3.0.2
revision=2
version=3.0.3
revision=1
build_style=cmake
configure_args="-DINPUTLEAP_BUILD_X11=ON -DINPUTLEAP_BUILD_LIBEI=ON"
hostmakedepends="pkg-config qt6-base qt6-tools"
@ -13,7 +13,7 @@ license="GPL-2.0-only"
homepage="https://github.com/input-leap/input-leap"
changelog="https://github.com/input-leap/input-leap/releases"
distfiles="https://github.com/input-leap/input-leap/archive/refs/tags/v${version}.tar.gz"
checksum=309b2f52282baef57658454dd7afd50c164bf9f2a0f776dbcce98da5bc482e0b
checksum=fbbf6e3f99abccfc3592939a039daf13f0e003dd33764c7c591d354b1a6c07eb
if [ "$XBPS_CHECK_PKGS" ]; then
configure_args+=" -DINPUTLEAP_BUILD_TESTS=ON -DINPUTLEAP_USE_EXTERNAL_GTEST=ON"