Commit Graph

169 Commits

Author SHA1 Message Date
Fabian Ponce
0d561b5151
spotify: 1.1.97.962 -> 1.2.15.828 2023-07-23 13:54:56 -04:00
Maximilian Bosch
29aa4da16b
spotify: 1.2.9.743.g85d9593d -> 1.2.11.916.geb595a67 2023-06-17 19:16:30 +02:00
Weijia Wang
dca1f561a9
Merge pull request #230609 from Enzime/fix/spotify-override-args
spotify: allow overriding any args
2023-05-20 16:21:31 +03:00
Michael Hoang
91b699c4dc spotify: allow overriding any args
Fixes #227449
2023-05-20 13:55:27 +03:00
Atemu
7c428691d2 spotify: use ffmpeg_4
Fixes https://github.com/NixOS/nixpkgs/issues/232869
2023-05-19 20:16:07 +02:00
Jan Tojnar
699e707e90
spotify: Fix login with firefox
- Spotify uses `LD_LIBRARY_PATH` environment variable to load dependencies.
  - One of those dependencies is `nss_esr`.
- Firefox is linked against `nss_latest`.
- Spotify opens a URL in web browser to log in.
  - Firefox process executed as a child will inherit environment variables from Spotify.
    - NSS library will be replaced, resulting in missing symbols.

        firefox.desktop[2946438]: XPCOMGlueLoad error for file /nix/store/8yc9g32afmgcv1j02y1zh69rhskpkcdc-firefox-112.0.2/lib/firefox/libxul.so:
        firefox.desktop[2946438]: /nix/store/br95hq0v4l2akqi1x7474ni3fm6nzp7v-nss-3.79.4/lib/libssl3.so: version `NSS_3.80' not found (required by /nix/store/8yc9g32afmgcv1j02y1zh69rhskpkcdc-firefox-112.0.2/lib/firefox/libxul.so)
        firefox.desktop[2946438]: Couldn't load XPCOM.

Ideally, we would not use `LD_LIBRARY_PATH` but switching to the same nss version as Firefox uses is an easy workaround.
2023-04-30 21:19:04 +02:00
Paul Nicholson
719666c479 spotify: 1.1.99.878.g1e4ccc6e -> 1.2.9.743.g85d9593d 2023-04-24 08:35:14 -07:00
Michael Hoang
3a483aee0e spotify: add myself as a macOS maintainer 2023-04-18 18:54:22 +09:00
Michael Hoang
7cddde9218 spotify: remove mudri as a maintainer
https://github.com/NixOS/nixpkgs/pull/195473#issuecomment-1299295473
2023-04-17 12:40:56 +09:00
Michael Hoang
d0e4b839a8 spotify-unwrapped: add macOS builds 2023-04-17 12:40:56 +09:00
Michael Hoang
b5872242a6 spotify: Add support for NIXOS_OZONE_WL 2023-04-04 16:17:14 +09:00
Michael Hoang
1e36c703b1 spotify: 1.1.84.716.gc5f8b819 -> 1.1.99.878.g1e4ccc6e 2023-04-04 16:15:12 +09:00
Gaetan Lepage
a51f9c5c1c spotify, renpy: fix wrong ffmpeg references
The ffmpeg library derivation output is ffmpeg.lib and no more ffmpeg.out.
This PR updates the remaining references to ffmpeg.out.
2023-02-14 17:26:05 +01:00
Sandro Jäckel
696449dedb spotify: consolidate wrapper 2022-11-06 11:19:51 +01:00
Robert Scott
466c2e342a treewide/applications: add sourceType binaryNativeCode for many packages 2022-06-23 18:38:19 +01:00
Pavol Rusnak
4b7a8ae947
treewide: refactor curlWithGnuTls into all-packages.nix 2022-04-30 18:56:59 +02:00
nixpkgs-upkeep-bot
87b42b1a1d spotify-unwrapped: 1.1.80.699.gc3dac750 -> 1.1.84.716.gc5f8b819 2022-04-28 00:27:32 +00:00
Alyssa Ross
fd78240ac8
treewide: use lib.getLib for OpenSSL libraries
At some point, I'd like to make another attempt at
71f1f4884b ("openssl: stop static binaries referencing libs"), which
was reverted in 195c7da07d.  One problem with my previous attempt is
that I moved OpenSSL's libraries to a lib output, but many dependent
packages were hardcoding the out output as the location of the
libraries.  This patch fixes every such case I could find in the tree.
It won't have any effect immediately, but will mean these packages
will automatically use an OpenSSL lib output if it is reintroduced in
future.

This patch should cause very few rebuilds, because it shouldn't make
any change at all to most packages I'm touching.  The few rebuilds
that are introduced come from when I've changed a package builder not
to use variable names like openssl.out in scripts / substitution
patterns, which would be confusing since they don't hardcode the
output any more.

I started by making the following global replacements:

    ${pkgs.openssl.out}/lib -> ${lib.getLib pkgs.openssl}/lib
    ${openssl.out}/lib -> ${lib.getLib openssl}/lib

Then I removed the ".out" suffix when part of the argument to
lib.makeLibraryPath, since that function uses lib.getLib internally.

Then I fixed up cases where openssl was part of the -L flag to the
compiler/linker, since that unambigously is referring to libraries.

Then I manually investigated and fixed the following packages:

 - pycurl
 - citrix-workspace
 - ppp
 - wraith
 - unbound
 - gambit
 - acl2

I'm reasonably confindent in my fixes for all of them.

For acl2, since the openssl library paths are manually provided above
anyway, I don't think openssl is required separately as a build input
at all.  Removing it doesn't make a difference to the output size, the
file list, or the closure.

I've tested evaluation with the OfBorg meta checks, to protect against
introducing evaluation failures.
2022-03-30 15:10:00 +00:00
nixpkgs-upkeep-bot
cbb5ddf991 spotify-unwrapped: 1.1.77.643.g3c4c6fc6 -> 1.1.80.699.gc3dac750 2022-03-04 12:10:15 +00:00
nixpkgs-upkeep-bot
50abbca9af spotify-unwrapped: 1.1.72.439.gc253025e -> 1.1.77.643.g3c4c6fc6 2022-01-27 00:09:40 +00:00
nixpkgs-upkeep-bot
2421f55bca spotify-unwrapped: 1.1.68.632.g2b11de83 -> 1.1.72.439.gc253025e 2021-11-12 12:10:40 +00:00
nixpkgs-upkeep-bot
e24fac5fc0 spotify-unwrapped: 1.1.68.628.geb44bd66 -> 1.1.68.632.g2b11de83 2021-09-21 00:13:38 +00:00
nixpkgs-upkeep-bot
ceb9e86e80 spotify-unwrapped: 1.1.67.586.gbb5ef64e -> 1.1.68.628.geb44bd66 2021-09-16 12:13:02 +00:00
Samuel Ainsworth
9d0e83d6af spotify: add missing xorg.libxshmfence dependency 2021-09-08 15:01:45 -07:00
nixpkgs-upkeep-bot
59d5d090c2 spotify-unwrapped: 1.1.55.498.gf9a83c60 -> 1.1.67.586.gbb5ef64e 2021-09-01 12:09:37 +00:00
Artturin
74af8f2d6b spotify-unwrapped: add wrapGAppsHook
to fix https://github.com/NixOS/nixpkgs/issues/120070
2021-07-14 23:52:27 +03:00
AndersonTorres
e9e5f5f84d Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
Jan Tojnar
468cb5980b gnome: rename from gnome3
Since GNOME version is now 40, it no longer makes sense to use the old attribute name.
2021-05-08 09:47:42 +02:00
Sheena Artrip
c23146505c spotify: upgrade dependency to ffmpeg4 2021-05-03 19:49:00 -07:00
upkeep-bot
4ef674bc11 spotify-unwrapped: 1.1.55.494.gca75f788 -> 1.1.55.498.gf9a83c60 2021-03-30 12:09:05 +00:00
Samuel Ainsworth
f8043eb8bf
spotify-unwrapped: 1.1.46.916.g416cacf1 -> 1.1.55.494.gca75f788 (#116805)
Co-authored-by: upkeep-bot <foo@bar.com>
2021-03-25 09:29:56 +01:00
Ben Siraphob
e03c068af5 treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
Ben Siraphob
badf51221d treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
upkeep-bot
08f33ba4fb spotify-unwrapped: 1.1.42.622.gbd112320-37 -> 1.1.46.916.g416cacf1 2020-11-16 12:10:04 +00:00
Samuel Ainsworth
3d99082818
spotify-unwrapped: 1.1.26.501.gbe11e53b-15 -> 1.1.42.622.gbd112320-37 (#99924)
* spotify-unwrapped: 1.1.26.501.gbe11e53b-15 -> 1.1.42.622.gbd112320-37

* Add libdrm dependency

* Add missing mesa dependency

Co-authored-by: upkeep-bot <foo@bar.com>
2020-10-12 09:13:57 +00:00
Rebecca Turner
4f03644c56 spotify: support --force-device-scale-factor
Add a Spotify wrapper with a `deviceScaleFactor` argument to set the
`--force-device-scale-factor` flag for high-DPI displays. If unset,
nothing is added.

This allows e.g.

   spotify.override { deviceScaleFactor = 1.66; }

Uses a separate wrapper derivation as suggested by @Ma27.
Uses `wrapProgram` instead of `makeWrapper` as suggested by @Ma27.
2020-09-21 13:50:19 -04:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Timo Kaufmann
daebb49035 spotify: 1.1.10.546.ge08ef575-19 -> 1.1.26.501.gbe11e53b-15
Works fine for me, although I did have to re-login.
2020-03-12 00:31:38 +01:00
Maximilian Bosch
9842c4b107
treewide: update which packages I'm currently maintaining
Idea shamelessly stolen from 4e60b0efae.

I realized that I don't really know anymore where I'm listed as maintainer and what
I'm actually (co)-maintaining which means that I can't proactively take
care of packages I officially maintain.

As I don't have the time, energy and motivation to take care of stuff I
was interested in 1 or 2 years ago (or packaged for someone else in the
past), I decided that I make this explicit by removing myself from several
packages and adding myself in some other stuff I'm now interested in.

I've seen it several times now that people remove themselves from a
package without removing the package if it's unmaintained after that
which is why I figured that it's fine in my case as the affected pkgs
are rather low-prio and were pretty easy to maintain.
2019-12-26 15:27:47 +01:00
kolaente
62fa5d3447
Add libpulseaudio to not have spotify crash when trying to play music 2019-11-05 21:52:55 +01:00
kolaente
40d5e2da5e
Spotify 1.0.96.181.gf6bc1b6b-12 -> 1.1.10.546.ge08ef575-19 2019-11-02 17:09:44 +01:00
Milan Pässler (work)
185fd61631 treewide: remove uses of doBuild and doConfigure
doBuild and doConfigure are not actually used by any builders, they were
probably added by mistake and just confuse people.
2019-09-02 23:42:12 +02:00
volth
c814d72b51 treewide: name -> pname 2019-08-17 10:54:38 +00:00
Timo Kaufmann
eeb029c275
Revert "spotify: 1.0.96.181 -> 1.1.10.546" (#65833) 2019-08-03 11:54:07 +02:00
Frederik Rietdijk
6f723b9bad Merge master into staging-next 2019-08-02 09:18:37 +02:00
angristan
e247342659 spotify: add angristan as maintainer 2019-08-01 20:31:18 +02:00
angristan
0e6d79b39f spotify: 1.0.96.181 -> 1.1.10.546
See #57800 and #65081 for discussion around fixing the SIGSEV since 1.1.5

Fix taken from
https://gitweb.gentoo.org/repo/gentoo.git/commit/media-sound/spotify?id=d8c8d8abd012c709551cc96802d2615fa69b5212:

Adding apulse libraries to LD_LIBRARY_PATH make spotify work
even if pulseaudio is not installed. If pulseaudio is installed
instead of apulse, this has no effect.

Adding APULSE_PLAYBACK_DEVICE is also necessary otherwise apulse does
not find the device (inspired by the tor-browser-bundle derivation)
2019-08-01 20:30:36 +02:00
worldofpeace
b1bc0645ea gdk-pixbuf: rename from gdk_pixbuf 2019-07-22 18:50:57 -04:00
Frederik Rietdijk
56146c0cfa Revert "spotify: 1.0.96.181.gf6bc1b6b-12 -> 1.1.5.153.gf614956d-16"
Segmentation fault.

This reverts commit 3670450fc6.
2019-07-21 08:29:11 +02:00