Package Details: looking-glass-host 2:B6-9

Git Clone URL: https://aur.archlinux.org/looking-glass.git (read-only, click to copy)
Package Base: looking-glass
Description: Linux host application for pushing frame data to the LookingGlass IVSHMEM device
Upstream URL: https://looking-glass.io/
Licenses: GPL2
Submitter: Omar007
Maintainer: Omar007
Last Packager: Omar007
Votes: 37
Popularity: 0.64
First Submitted: 2017-12-22 16:49 (UTC)
Last Updated: 2024-08-07 11:00 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 10 Next › Last »

VoodaGod commented on 2024-07-27 11:44 (UTC) (edited on 2024-07-27 11:45 (UTC) by VoodaGod)

to apply the patch from https://github.com/gnif/LookingGlass/pull/1124 for building on 6.10:

diff --git a/PKGBUILD b/PKGBUILD
index 28beaae..85f68de 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,15 +16,18 @@ makedepends=('cmake' 'fontconfig' 'libpipewire' 'libpulse'
              'libsamplerate' 'libxi' 'libxpresent' 'libxss' 'obs-studio'
              'spice-protocol' 'wayland-protocols')
 source=("looking-glass-${pkgver}.tar.gz::https://looking-glass.io/artifact/${pkgver}/source"
-        "module-kernel-64.patch")
+        "module-kernel-64.patch"
+        "https://github.com/gnif/LookingGlass/pull/1124.patch")
 sha512sums=('558981d6b32098076ef0775a748da349941551352cbef836e37310e43e5cd6072df3dec6fa2418a9abecc7729ef0c1c6869e3168d05a3d76bea46c6eb8c4e82c'
-            '562c6714f480cbbc144fd4a2e9ca9047292ca89800425e627f7e2d87cb0ba8741ad31e88d70952c381196fd70368308c9d8f8bf9cba0c4fec7431f37307d5bf5')
+            '562c6714f480cbbc144fd4a2e9ca9047292ca89800425e627f7e2d87cb0ba8741ad31e88d70952c381196fd70368308c9d8f8bf9cba0c4fec7431f37307d5bf5'
+            'SKIP')

 _lgdir="${pkgbase}-${pkgver}"

 prepare() {
    cd "${srcdir}/${_lgdir}"
    patch -p1 < "${srcdir}/module-kernel-64.patch"
+   patch -p1 < "${srcdir}/1124.patch"

    sed -i '1 i\#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"' \
        "host/platform/Linux/capture/pipewire/src/portal.c"

vwc commented on 2024-07-24 05:40 (UTC)

DKMS module fails to build on Linux 6.10, see https://github.com/gnif/LookingGlass/pull/1124

Apparently the header linux/vmalloc.h needs to be pulled in.

Omar007 commented on 2023-06-30 12:45 (UTC)

@artafinde: Ah sorry I totally missed the edit haha

artafinde commented on 2023-06-30 12:38 (UTC)

@Omar007: that's what I have done as well and posted links to my patch and my source pakckge as well but you do you :) The package I build locally and posted below works OK against 6.4 kernels (arch, zen, prjc flavours which I have installed)

Omar007 commented on 2023-06-30 12:33 (UTC)

@artafinde: I've ported the patch to the B6 release. If all builds check out, the updated PKBUILD should be up in a bit.

Omar007 commented on 2023-06-30 12:04 (UTC) (edited on 2023-06-30 12:04 (UTC) by Omar007)

@artafinde: There should be patches for that in mainline as of a few hours. They are technically not in an official released package yet so I might have to either back-port the patch in question or disable packaging the module here for now until a new release with a working version is available. I'll look into that later.

In the mean time, you can try the looking-glass-git pkg variant, that would include the latest mainline commits, including those module changes.

artafinde commented on 2023-06-27 09:35 (UTC) (edited on 2023-06-27 11:28 (UTC) by artafinde)

The DKMS module fails compilation against 6.4-arch1 kernel. Error log: https://paste.artafinde.me/super-tarpon.txt

Fix available from upstream adjusted for B6 release: https://paste.artafinde.me/ace-whale.patch

Ready patched source package: https://pkgbuild.com/~artafinde/looking-glass-2%3AB6-5.src.tar.gz

ubergeek77 commented on 2023-05-04 01:39 (UTC)

Please remove the host package from this PKGBUILD. A recent update to glibc and/or pipewire broke the build for it, and the Looking Glass guys say the Linux host application isn't supported anymore.

I needed to remove the host parts from the PKGBUILD to get a functioning build, so keeping the host application in there will cause headaches for other users.

Omar007 commented on 2023-02-27 08:42 (UTC)

@dvalter: I did consider that and if it had changed again within a few days I would've changed over. It hadn't happened again though so it seems that whatever was going on has been fixed/changed. The checksum has been stable for about a month now (knocks on wood).

dvalter commented on 2023-02-26 19:30 (UTC)

With this repackaging insanity on the part of looking-glass.io, could you consider using Github as a source of the tarball?