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.42
First Submitted: 2017-12-22 16:49 (UTC)
Last Updated: 2024-08-07 11:00 (UTC)

Latest Comments

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

Omar007 commented on 2020-05-23 12:03 (UTC)

@admicos: Please don't flag this as outdated if there hasn't been a new official release. B1 is still the latest version atm; https://looking-glass.hostfission.com/downloads

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 (UTC)

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 (UTC) (edited on 2020-05-07 17:16 (UTC) by Volst)

Hello,

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: libnettle.so.7: 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 (UTC)

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 (UTC)

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 (UTC) (edited on 2019-06-16 13:54 (UTC) by Omar007)

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
sdl2_ttf
└─looking-glass
$ 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 (UTC)

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
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,8 @@ pkgdesc="An extremely low latency KVMFR (KVM FrameRelay) implementation for gues
 url="https://looking-glass.hostfission.com"
 arch=('x86_64')
 license=('GPL2')
-makedepends=('cmake' 'sdl2_ttf' 'glu' 'fontconfig' 'spice-protocol')
+depends=('sdl2_ttf')
+makedepends=('cmake' 'glu' 'fontconfig' 'spice-protocol')
 source=("https://github.com/gnif/LookingGlass/archive/${_pkgver}.tar.gz"
         "https://github.com/gnif/LookingGlass/pull/167.diff")
 sha512sums=('5e4539d7decbfb37e8eb481c5d27cc38c1d7ed65df5e49a64f9a14402243b9f9ee97c939d3733bd90859ded71961a866c627d3c6c44bff6bd36881eced1fc1ec'

Omar007 commented on 2019-06-16 11:40 (UTC) (edited on 2019-06-16 11:41 (UTC) by Omar007)

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 (UTC) (edited on 2019-06-16 11:33 (UTC) by darthvader)

@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.