• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Wiki instructions outdated or omitting steps

    Scheduled Pinned Locked Moved
    Technical Help
    2
    4
    67
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      Krax
      last edited by

      I am on Solus Linux, which has a native version of Strawberry. To link Spotify, the app directs me to this wiki page: https://wiki.strawberrymusicplayer.org/wiki/Installing_GStreamer_Spotify_plugin

      It is exactly these following steps:
      Get the source

         git clone https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
         cd gst-plugins-rs
      

      Build and install:

         meson setup --buildtype=release --default-library=shared --wrap-mode=nodownload --auto-features=disabled -Dspotify=enabled build
         cd build
         ninja
         sudo cp libgstspotify.so /usr/lib64/gstreamer-1.0/
      

      Very simple and straightforward.
      Except that it's not. It all goes wrong at the Meson step. Firstly, it required me to get cargo-c. Trying to install cargo-c required libssl-dev, which is not on Solus, and pkg-config, which is not on Solus. After lots of looking, I found the equivalents to install here: pkgconf, and system.devel (which required a -c flag when installing, as well). Given that it has a native Solus version, the instructions should account for dependency issues.

      Anyway, after resolving that, I can cargo install cargo-c, and then Meson runs properly. That is, without crashing. Instead, it tells me Run-time dependency gstreamer-1.0 found: NO (tried pkg-config and cmake). That's weird since, putting aside my not having cargo-c already, it's technically just two steps in. I got source from the repo. Went in. Ran the build command. And it's missing. Isn't it one of the very things the repo is supposed to supply? That's not an external dependency, but an internal one, right? What's going on here?

      K 1 Reply Last reply Reply Quote 0
      • K
        Krax @Krax
        last edited by

        I'm wondering now whether I should have made a post instead just about the error Run-time dependency gstreamer-1.0 found: NO (tried pkg-config and cmake). Given that that's the actual issue that's currently still relevant. Can someone confirm that gstreamer-1.0 is supposed to be included in gst-plugins-rs.git and that it shouldn't be missing after following the plugin instruction steps, or otherwise clarify where I've made a mistake following the wiki instructions?

        jonasJ 1 Reply Last reply Reply Quote 0
        • jonasJ
          jonas @Krax
          last edited by jonas

          @Krax
          You only need to build gst-rs-plugins from source if it's not already provided by your distro as a package, or you have a version older than 0.14. Most distros should ship the package containing the spotify plugin.
          As for the build issue:
          You are most likely missing the development package for GStreamer, the one containing gstreamer-1.0.pc and .h (development headers).
          I don't know the package names for Solus so you might have to consult them.

          K 1 Reply Last reply Reply Quote 0
          • K
            Krax @jonas
            last edited by

            @jonas I was able to file the ticket on the gstreamer-plugin-rs gitlab and get help about that. Is there any reason that the steps in the wiki don't mention the need to install the development libraries as part of the command steps for installing the plugin? Where can I contribute to the wiki? I couldn't find an option for that anywhere.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Powered by NodeBB | Contributors