Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing on VanillaOS: libgda/gsound not detected after install #201

Closed
4 of 9 tasks
TDuffinNTU opened this issue Jun 30, 2023 · 7 comments
Closed
4 of 9 tasks
Labels
bug Something isn't working

Comments

@TDuffinNTU
Copy link

TDuffinNTU commented Jun 30, 2023

Description

Bit of a niche one, but tried installing on vanillaOS and couldn't get the extension to detect the dependencies even though they're present on the APX package manager.

Problem Explanation

As above.

The bug happens when ...

Expected Behavior

A clear and concise description of what you expected to happen, and how the actual outcome differs:

  • Pano shouldn't ...
  • It should behave ...

Reprodution

Attempting to install pano via the gnome extensions app on a fresh install of vanilla OS, after installing the dependencies via APX.

Steps To Reproduce

  1. Install VanillaOS
  2. Install pano deps (gsound and libgda)
  3. install pano via gnome extension manager
  4. pano will fail to load, saying the deps arent present.

Details

Mark with [ ] all that applies:

It happens with any application?

  • Yes, it applies to any application.
  • No. Only with the following applications:
    • VSCode
  • It works with the following applications that I have tried:
    • Fill in a list with any application that applies

It happens only on one computer?

  • I don't know.
  • No. I have tried it on more than one computer.

It happens only with some specific gnome configuration?

  • I don't think that the configuration matters.
  • Yes. Only if the following config is set up:
    • Fill in a list with any configuration tha applies.

It happens only with some specific extension installed?

  • I don't think that the installed extensions affect the bug/behavior.
  • Yes. Only if the following gnome extension is installed:
    • Fill in a list with any extension tha applies.
    • Fill in also any detail about the extensions that applies.

Diagnostics

Under what conditions does it happen?

Fill in all information that applies:

Environment

  • GNOME Shell version: 43.1
  • Distro: VanillaOS
  • Distro version: 22.10 all

Screenshots

image
image

Screenshot 1 description

Evidence of gsound and libgda installed.

Screenshot 2 description

Pano error

@TDuffinNTU TDuffinNTU added the bug Something isn't working label Jun 30, 2023
@sskartheekadivi
Copy link

sskartheekadivi commented Jul 3, 2023

I'm facing the same on Ubuntu 22.04.02 LTS with Gnome 42.5.
Tried removing and reinstalling the extension but didn't work.

@busybox11
Copy link

@TDuffinNTU You'd have to install the required binaries on the host system, this could probably work by installing them to the ABRoot shell. I don't have experience with Vanilla OS myself, only some knowledge about it, so I can't really help with that - yet. Just know that apx won't do anything here since it will install the packages in a container - they need to be in the same host as GNOME, the host OS itself.

@sskartheekadivi You shouldn't have any issues though, as long as you have the necessary packages installed.

@TDuffinNTU
Copy link
Author

Yup I think this might just be a limitation of Vanilla's container system for now. Dependency hell strikes again!

@TDuffinNTU TDuffinNTU closed this as not planned Won't fix, can't repro, duplicate, stale Oct 14, 2023
@zvictor
Copy link

zvictor commented Oct 23, 2024

I have the same issue in NixOS.

Requiring GSound, version none: Typelib file for namespace 'GSound' (any version) not found

I am trying to write my own Nix definition of Pano in order to circumvent #271, but I can't get past the lack of Gsound.
This is my code:

{ stdenv, fetchzip, lib, gnome, glib, libgda, gsound }:

stdenv.mkDerivation rec {
  pname = "gnome-shell-extension-pano";
  version = "v23-alpha2";
  src = fetchzip {
    url = "https://github.com/oae/gnome-shell-pano/releases/download/${version}/[email protected]";
    sha256 = "Y8WgVUHX094RUwYKdt7OROPZMl3dakK0zOU9OTdyqxc=";
    stripRoot = false;
  };

  buildInputs = [
    gnome.gnome-shell
    libgda
    gsound
  ];

  installPhase = ''
    runHook preInstall
    local_ext_dir=$out/share/gnome-shell/extensions/[email protected]
    install -d $local_ext_dir
    cp -r * $local_ext_dir
    runHook postInstall
  '';

  meta = with lib; {
    description = "Pano GNOME Shell Clipboard Management Extension (${version} pre-release)";
    homepage = "https://github.com/oae/gnome-shell-pano";
    license = licenses.gpl2Plus;
    platforms = platforms.linux;
    maintainers = [ maintainers.zvictor ];
  };
}
{ inputs, lib, config, pkgs, ... }: {

  home.packages = with pkgs; [
    gnome-shell-extension-pano
    gsound # needed by pano
  ];


  home.file.".local/share/gnome-shell/extensions/[email protected]" = {
    source = "${pkgs.gnome-shell-extension-pano}/share/gnome-shell/extensions/[email protected]";
  };
  ...

@zvictor
Copy link

zvictor commented Oct 23, 2024

Never mind, I managed to fix it!
#271 (comment)

@vleeuwenmenno
Copy link

vleeuwenmenno commented Nov 5, 2024

@zvictor You said you managed to fix it, did this work for you for alpha3 as well? I am running NixOS 24.05 and tried your patch from #271 (comment) but I had no luck getting past the GSound issues.

@zvictor
Copy link

zvictor commented Nov 5, 2024

Well, yes and no... I managed to have it running in two machines, but after a few days the error message came back. I really don't understand why.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants