void-linux / void-linux/void-packages

The desktop file shipped with spotify-adblock package doesn't suit Void installation of Spotify

Open
#37,596 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs-testing
Dominant language
Shell
Stars
3.4k
Forks
2.8k
Avg merge
2d 5h
Merged PRs (30d)
299

Description

Is this a new report?

Yes

System Info

Void 5.15.45_1 x86_64 GenuineIntel notuptodate rFFFFFFFF

Package(s) Affected

spotify-adblock-1.0.2_1

Does a report exist for this bug with the project's home (upstream) and/or another distro?

Nope. It's only for the Void installation of Spotify.

Expected behaviour

The desktop file entry of Spotify adblock launches Spotify normally

Actual behaviour

Linker error

Steps to reproduce

Use whatever application launcher to open the desktop entry.

Or execute the command from the desktop file:

env LD_PRELOAD=/usr/lib/spotify-adblock.so spotify %U

The execution line should be replaced with:

env LD_LIBRARY_PATH=/usr/libexec/spotify LD_PRELOAD=/usr/lib/spotify-adblock.so /usr/libexec/spotify/spotify %U

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the spotify-adblock package's desktop file and inspect its Exec command. Verify the launcher reproduces the linker error, update the command to use /usr/libexec/spotify with LD_LIBRARY_PATH and LD_PRELOAD as shown, then confirm Spotify launches normally from an application launcher.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, shell
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.