Package Details: looking-glass-host 2:B7-1

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: GPL-2.0-or-later
Submitter: Omar007
Maintainer: Omar007
Last Packager: Omar007
Votes: 42
Popularity: 1.53
First Submitted: 2017-12-22 16:49 (UTC)
Last Updated: 2025-03-08 14:17 (UTC)

Latest Comments

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

Lili1228 commented on 2024-07-30 09:18 (UTC)

Doesn't build for me:

In file included from /usr/lib/glib-2.0/include/glibconfig.h:9,
                 from /usr/include/glib-2.0/glib/gtypes.h:34,
                 from /usr/include/glib-2.0/glib/galloca.h:34,
                 from /usr/include/glib-2.0/glib.h:32,
                 from /usr/include/glib-2.0/gobject/gbinding.h:30,
                 from /usr/include/glib-2.0/glib-object.h:24,
                 from /usr/include/glib-2.0/gio/gioenums.h:30,
                 from /usr/include/glib-2.0/gio/giotypes.h:30,
                 from /usr/include/glib-2.0/gio/gio.h:28,
                 from /home/lili/.cache/yay/looking-glass/src/looking-glass-B6/host/platform/Linux/capture/pipewire/src/portal.c:27:
In function ‘glib_autoptr_clear_GVariant’,
    inlined from ‘glib_autoptr_cleanup_GVariant’ at /usr/include/glib-2.0/glib/glib-autocleanups.h:96:1,
    inlined from ‘portal_createScreenCastSession’ at /home/lili/.cache/yay/looking-glass/src/looking-glass-B6/host/platform/Linux/capture/pipewire/src/portal.c:201:23:
/usr/include/glib-2.0/glib/glib-autocleanups.h:96:1: error: ‘response’ may be used uninitialized [-Werror=maybe-uninitialized]
   96 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GVariant, g_variant_unref)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated due to -Wfatal-errors.
cc1: all warnings being treated as errors

VoodaGod commented on 2024-07-30 06:28 (UTC)

@algebro the patch now got added to tha PKGBUILD, see if you can build now

algebro commented on 2024-07-28 16:56 (UTC)

@VoodaGod thanks, I tried this patch but I'm getting the following error with makepkg:

ld.lld: error: target emulation unknown: -m or at least one .o file required
ld.lld: error: target emulation unknown: -m or at least one .o file required
ld.lld: error: target emulation unknown: -m or at least one .o file required

Any idea what's going on there?

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