Commit graph

156 commits

Author SHA1 Message Date
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
angristan 3670450fc6 spotify: 1.0.96.181.gf6bc1b6b-12 -> 1.1.5.153.gf614956d-16 2019-07-20 09:20:57 +02:00
Benedikt Heine 7a5dcb7421 spotify: add libnotify as dependency
The option "Show desktop notification when the song changes" will only
work, when libnotify is available in spotify.
2019-04-22 14:16:48 +02:00
Sarah Brofeldt a31c37da26 Revert "spotify: 1.0.96.181.gf6bc1b6b-12 -> 1.1.0.237.g378f6f25-11"
This reverts commit ea87db2153.

See #57800
2019-04-10 16:54:46 +02:00
Tim Steinbach 34a64378b9
spotify: Typo in update.sh 2019-04-06 15:26:19 -04:00
Tim Steinbach ea87db2153
spotify: 1.0.96.181.gf6bc1b6b-12 -> 1.1.0.237.g378f6f25-11 2019-04-06 13:13:20 -04:00
Tim Steinbach 55fa3c1180
spotify: Auto-commit on update
Also, replace tabs with spaces
2019-04-06 13:13:20 -04:00
Timo Kaufmann bc96e2f43b spotify: link useful resources
Unfortunately, spotify tends to break on updates.
2019-03-17 15:32:44 +01:00
Timo Kaufmann 51a798389f spotify: add timokau as a maintainer
Did a significant refactor (debian sources -> snapcraft) and I'm
interested in this package.
2019-03-17 15:32:19 +01:00
Timo Kaufmann 4be712b9e1 spotify: update ffmpeg version
Needed for spotify 1.1.x. The update itself is blocked on alsa issues:
https://community.spotify.com/t5/Desktop-Linux/spotify-client-1-1-0-98-78-gb45d2a6b-10-from-Ubuntu-package/td-p/4675676
https://community.spotify.com/t5/Desktop-Linux/1-0-98-1-1-0-Crash-when-using-ALSA/td-p/4680398
2019-03-17 15:31:06 +01:00
Piotr Bogdan 336cd48da9 spotify: switch to ffmpeg_2 2019-01-27 00:41:18 +00:00
Timo Kaufmann 3dc0a1b7a7
spotify: 1.0.94.262.g3d5c231c-9 -> 1.0.96.181.gf6bc1b6b-12 (#53930)
spotify now requires "libatk-bridge-2.0.so", which is provided by
at-spi2-atk.
2019-01-14 11:05:13 +01:00
Timo Kaufmann 2f98b1c112 spotify: 1.0.93.242.gc2341a27-15 -> 1.0.94.262.g3d5c231c-9 2018-12-04 13:33:34 +01:00
Timo Kaufmann 7859957e56 spotify: 1.0.83.316.ge96b6e67-5 -> 1.0.93.242.gc2341a27-15 2018-11-04 11:30:14 +01:00