Package Details: looking-glass-host 2:B1-3

Git Clone URL: (read-only, click to copy)
Package Base: looking-glass
Description: Linux host application for pushing frame data to the LookingGlass IVSHMEM device
Upstream URL:
Licenses: GPL2
Submitter: Omar007
Maintainer: Omar007
Last Packager: Omar007
Votes: 14
Popularity: 0.69
First Submitted: 2017-12-22 16:49
Last Updated: 2020-05-07 19:36

Latest Comments

1 2 Next › Last »

Omar007 commented on 2020-05-23 12:03

@admicos: Please don't flag this as outdated if there hasn't been a new official release. B1 is still the latest version atm;

As I mentioned before:

Update to the first official release version. From here on out, the package will only be updated on new official releases, not on RC releases.

If anyone has interest in RC releases, feel free to create a looking-glass-rc variant based on this yourself.

Omar007 commented on 2020-05-07 19:31

As you already established, a recompile fixes it. But I'm bumping the pkgrel to force an update for anyone using an AUR helper or w/e just in case.

Volst commented on 2020-05-07 17:07


For information it seems the latest nettle update (3.6-1) broke this package. Following the latest system upgrade I get the message "looking-glass-client: error while loading shared libraries: cannot open shared object file: No such file or directory".

NEVERMIND, I'm an idiot. For anyone else running into this issue, just recompile the package.

Omar007 commented on 2019-07-25 19:05

Update to the first official release version. From here on out, the package will only be updated on new official releases, not on RC releases.

If anyone has interest in RC releases, feel free to create a looking-glass-rc variant based on this yourself.

darthvader commented on 2019-06-17 03:47

Thanks for your support @Omar007, indeed I had sdl2_ttf already installed before. My issue is solved now.

Omar007 commented on 2019-06-16 13:24

It doesn't. That's why you get the error. If it did, it would have removed it without making a fuzz about it. Case in point:

$ pacman -Qi sdl2_ttf
Required By     : looking-glass
Install Reason  : Installed as a dependency for another package
$ pactree -r sdl2_ttf
$ pacman -Rns sdl2_ttf
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: looking-glass: removing sdl2_ttf breaks dependency 'sdl2_ttf'

And no, you can't (shouldn't) as sdl2_ttf is not a dependency for everything, only for looking-glass.

The problem is that AFTER build but BEFORE installation, it would indeed no longer be needed to keep sdl2_ttf around. But since you also install it, it can not be removed as it is now again depended upon by something on your system. Hence the error.

EDIT: Also, the reason it now suddenly succeeds is most likely because you already had sdl2_ttf installed now and -s didn't need to sync it to satisfy the dependency, thus -r also not removing it. As I said, it's already in the depends array for looking-glass.

darthvader commented on 2019-06-16 12:29

The problem with having sdl2_ttf inside makedepends is that pacman will mark sdl2_ttf as an orphan after installation (you can see it with pacman -Qtdq). Would it be possible to move the top-level sdl2_ttf out of makedepends? I tried the following changes and installation is working fine:

diff --git a/PKGBUILD b/PKGBUILD
index 40d2186..b2669b4 100644
@@ -10,7 +10,8 @@ pkgdesc="An extremely low latency KVMFR (KVM FrameRelay) implementation for gues
-makedepends=('cmake' 'sdl2_ttf' 'glu' 'fontconfig' 'spice-protocol')
+makedepends=('cmake' 'glu' 'fontconfig' 'spice-protocol')

Omar007 commented on 2019-06-16 11:40

It's declared in both so that error is expected then if you use -r, as the depends entry blocks the removal. Nothing I can change about that.

darthvader commented on 2019-06-16 11:28

@Omar007, thanks for the quick answer. I was installing looking-glass by using makepg -sri.

s = install missing dependencies
r = remove build-time dependencies after install
i = install package

Building the package with makepkg or makepkg -s is successful.

Installing the package by using makepkg -i is successful.

However sdl2_ttf and other required dependencies in the PKGBUILD are declared inside makedepends, as far as I understand makedepends is used for build-time dependencies and depends for regular dependencies, so if you install looking-glass by using makepkg -ri, pacman will try to remove the dependencies declared inside makedepends after looking-glass is installed which will fail as shown in my previous comment.

Omar007 commented on 2019-06-16 10:59

@darthvader; To get things out of the way real quick, I do not see the installation fail; it seems to build and install perfectly fine but for some reason your system wants to remove 'sdl2_ttf'. It really shouldn't as it is a dependency for looking-glass, which is also why it's erroring out; an installed package depends on it (looking-glass). Because of that dependency, sdl2_ttf is not actually removed and as a result nothing happened to impact the installation so everything is fine. I have no clue why your system decided it needs to remove it in the first place though.

As such I also have no way to reproduce this. The best I can do is maybe provide a hint on where it goes wrong if you can provide answers to the following questions, but don't get your hopes up. What command are you using to build and install this? Are you using an AUR helper?

I did update the package for the DKMS problem as mentioned earlier but I forgot to push the update that includes the required patch here. Will push it in a bit.

EDIT: Commit that includes the DKMS fix is pushed as pkgver 3.