Package Details: input-leap-headless-git 3.0.1-1

Git Clone URL: https://aur.archlinux.org/input-leap-git.git (read-only, click to copy)
Package Base: input-leap-git
Description: Open-source KVM software (client and server CLI binaries)
Upstream URL: https://github.com/input-leap/input-leap
Licenses: custom:GPL2WithOpenSSLException
Conflicts: barrier-headless, input-leap-headless
Provides: barrier-headless, input-leap-headless
Submitter: yan12125
Maintainer: FabioLolix (luciferin)
Last Packager: luciferin
Votes: 3
Popularity: 0.003861
First Submitted: 2022-02-26 17:15 (UTC)
Last Updated: 2024-10-11 20:10 (UTC)

Latest Comments

1 2 3 4 Next › Last »

FabioLolix commented on 2024-10-11 15:23 (UTC)

Co-maintainers welcome as I'm quite busy right now

gyscos commented on 2024-10-11 02:38 (UTC)

Upstream removed the gulrak submodule, no need to check it out:

https://github.com/input-leap/input-leap/commit/376518a6ecbd67e3a41d6ef6285b6cd5f8b04ca7

ZenRen commented on 2024-09-05 14:24 (UTC)

I moved directly from input-leap-inputcapture to this, so I still had libportal-inputcapture and the backends installed. I ended up installing my modified PKG build and it doesn't depend on any of the backends, it still works on my server side (client still uses the other package).

I have no idea how just switching to this package breaks anything, because it should be the same, it just orphaned a few of the required packages I don't know why changing the dependencies would make anything work.

Maybe I somehow didn't get the headless part installed and was still on the other?? Idk how I would have overlooked that.

sithlord48 commented on 2024-09-05 13:21 (UTC) (edited on 2024-09-05 13:21 (UTC) by sithlord48)

According to pacman -Qi input-leap-git

Depends On : input-leap-headless-git glibc gcc-libs libx11 openssl avahi qt6-base qt6-tools

pacman -Qi input-leap-headless-git has

Depends On : glibc gcc-libs libx11 libxrandr libxext libxinerama xorgproto libxtst libxi openssl libei xdg-desktop-portal libportal-inputcapture

It seams to depend upon them, I will do a quick update to move that xdg-desktop-portal dependency from headless into the normal gui part.

I use kde wayland as my server so not sure whats up with your setup. do you also have any of the libportal-inputcapture backends? you will want to have libportal-inputcapture-qt5 and libportal-inputcapture-qt6 since your using kde. I should add these as optdepends since ppl on gnome will want gtk3 / gtk4

ZenRen commented on 2024-09-03 17:23 (UTC) (edited on 2024-09-03 18:28 (UTC) by ZenRen)

Just a heads up, the inputcapture maintainer mentioned adding inputcapture/libei to this package, but it still does not work on KDE Wayland if ran as a server. Since it is the same upstream I am assuming the issue is in how the packages are built. Are you willing to look into this? I have rudimentary knowledge of PKGBUILDS, I can tell this and input-leap-inputcapture are built slightly different, mostly in what is a make dep and what is a dep, but I don't understand why it does not work in the end. And I do have libei, xdg-desktop-portal, and libportal-inputcapture all installed. The program ran fine, but I could not pass the mouse over to the other device.

Edit: works by changing:

makedepends=(${_core_deps[@]} ${_gui_deps[@]}
    # referenced in CMakeLists.txt but does not seem to be actually used
-   git cmake gmock gtest )
+   git cmake gmock gtest libportal-inputcapture libei )

Is it totally correct? I am not sure. It did actually make libportal-inputcapture a dep instead of a make dep, so I think that is a step in the right direction.

sithlord48 commented on 2024-07-21 14:08 (UTC)

I have changed the build to use libei and Qt6.

luciferin commented on 2024-07-20 15:05 (UTC)

If you're up for adding the input capture/libei support I'd be happy to delete my input-leap-inputcapture package.

sithlord48 commented on 2024-07-20 14:54 (UTC)

Taking over ownership of this package now that is has been abandoned.

jonstelly commented on 2024-07-01 21:31 (UTC)

Taking @sithlord48's note, I modified PKGBUILD and can confirm that this works on Plasma with server running Wayland, client running Wayland or X11. I had to install libportal-inputcapture which replaced libportal but nothing else of note.

diff --git a/PKGBUILD b/PKGBUILD
index 4f77e49..5a9eb0f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
 _pkgname=input-leap
 pkgbase=$_pkgname-git
 pkgname=($_pkgname-headless-git $_pkgname-git)
-pkgver=2.4.0+436+g47d94944
+pkgver=2.4.0+871+g53d2a329
 pkgrel=1
 pkgdesc="Open-source KVM software"
 arch=(x86_64)
@@ -16,7 +16,7 @@ source=("${_pkgname}::git+${url}.git"
         "gulrak-filesystem::git+https://github.com/gulrak/filesystem.git")
 sha512sums=('SKIP'
             'SKIP')
-_core_deps=(glibc gcc-libs libx11 libxrandr libxext libxinerama xorgproto libxtst libxi openssl)
+_core_deps=(glibc gcc-libs libx11 libxrandr libxext libxinerama xorgproto libxtst libxi openssl libei xdg-desktop-portal libportal-inputcapture)
 _gui_deps=(glibc gcc-libs libx11 openssl avahi qt5-base qt5-tools)
 makedepends=(${_core_deps[@]} ${_gui_deps[@]}
              # referenced in CMakeLists.txt but does not seem to be actually used
@@ -41,7 +41,8 @@ build() {
       -D CMAKE_BUILD_TYPE:STRING=None \
       -D CMAKE_INSTALL_PREFIX:STRING=/usr \
       -D INPUTLEAP_VERSION_STAGE:STRING=snapshot \
-      -D INPUTLEAP_USE_EXTERNAL_GTEST:bool=true
+      -D INPUTLEAP_USE_EXTERNAL_GTEST:bool=true \
+      -D INPUTLEAP_BUILD_LIBEI=TRUE
   cmake --build build
 }

sithlord48 commented on 2024-06-17 11:43 (UTC)

@Baliz0r, you need to build this with the libei option enabled -D INPUTLEAP_BUILD_LIBEI=TRUE. You also need libei, xdg-desktop-portal, libportal-inputcapture and one of the libportal backends.