Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: a44ac81f46ff
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5d4c6f7bdae4
Choose a head ref

Commits on Apr 3, 2020

  1. Copy the full SHA
    c6816b8 View commit details
  2. librecovery: fix build

    Needs libusb1
    worldofpeace committed Apr 3, 2020
    Copy the full SHA
    e2bb395 View commit details
  3. libfprint: fix build

    Needs libusb1 in 1.0
    worldofpeace committed Apr 3, 2020
    Copy the full SHA
    0dc69e8 View commit details
  4. Copy the full SHA
    7426a30 View commit details

Commits on Apr 4, 2020

  1. gobject-introspection: fix tests on darwin

    We need to use platform specific shared library file extension when doing our symlink hack.
    jtojnar committed Apr 4, 2020
    Copy the full SHA
    48271f8 View commit details
  2. aravis: fix build

    It was using libusb-compat instead of libusb1, and the former no longer propagates the latter.
    jtojnar committed Apr 4, 2020
    Copy the full SHA
    aa2b9c9 View commit details
  3. contrast: Fix build

    buildRustPackage enabled strictDeps, which broke the build due to glib not being available in the build environment any more.
    jtojnar committed Apr 4, 2020
    Copy the full SHA
    175941b View commit details
  4. ddcutil: fix build

    It was using libusb-compat instead of libusb1, and the former no longer propagates the latter.
    jtojnar committed Apr 4, 2020
    Copy the full SHA
    6fb46fd View commit details
  5. Copy the full SHA
    a073982 View commit details
  6. dolphinEmu: Fix build

    It was using libusb-compat instead of libusb1, and the former no longer propagates the latter.
    
    While at it, also move cmake to nativeBuildInputs.
    jtojnar committed Apr 4, 2020
    Copy the full SHA
    99fbfef View commit details
  7. dolphinEmuMaster: use Nix's libusb

    We were passing libusb-compat instead of libusb1, and the former no longer propagates the latter, so Dolphin built its vendored libusb.
    jtojnar committed Apr 4, 2020
    Copy the full SHA
    7c0a76d View commit details
  8. davfs2: Fix build

    The configure script checks for an old version of neon. Let's bump the bounds since neon 0.31 is API compatible.
    jtojnar committed Apr 4, 2020
    Copy the full SHA
    faa2f09 View commit details
  9. dump1090: fix build

    It was using libusb-compat instead of libusb1, and the former no longer propagates the latter.
    jtojnar committed Apr 4, 2020
    Copy the full SHA
    73e2823 View commit details
  10. fluxus: Attempt to fix build

    It requires Python2 scons.
    
    But after fixing this, it fails with a different error.
    jtojnar committed Apr 4, 2020
    Copy the full SHA
    71557e5 View commit details
  11. freenect: fix build

    It was using libusb-compat instead of libusb1, and the former no longer propagates the latter.
    jtojnar committed Apr 4, 2020
    Copy the full SHA
    e37c162 View commit details
  12. indilib: fix build

    It was using libusb-compat instead of libusb1, and the former no longer propagates the latter.
    
    While at it, also move cmake to nativeBuildInputs and format the expression.
    jtojnar committed Apr 4, 2020
    Copy the full SHA
    eb8e952 View commit details
  13. libsigrok4dsl: fix build

    It was using libusb-compat instead of libusb1, and the former no longer propagates the latter.
    jtojnar committed Apr 4, 2020
    Copy the full SHA
    08cf27e View commit details
  14. kodiPlugins.joystick: Clean up dependencies

    Neither libusb or pcre is needed. udev is used instead.
    jtojnar committed Apr 4, 2020
    Copy the full SHA
    6f80f12 View commit details
  15. kodiPlugins.steam-controller: fix build

    It was using libusb-compat instead of libusb1, and the former no longer propagates the latter.
    jtojnar committed Apr 4, 2020
    Copy the full SHA
    8edcff8 View commit details
  16. neopg: fix build

    It was using libusb-compat instead of libusb1, and the former no longer propagates the latter.
    
    Also move cmake and gettext to nativeBuildInputs.
    jtojnar committed Apr 4, 2020
    Copy the full SHA
    df28c41 View commit details
  17. sunxi-tools: fix build

    It was using libusb-compat instead of libusb1, and the former no longer propagates the latter.
    jtojnar committed Apr 4, 2020
    Copy the full SHA
    71278ae View commit details
  18. uhubctl: fix build

    It was using libusb-compat instead of libusb1, and the former no longer propagates the latter.
    jtojnar committed Apr 4, 2020
    Copy the full SHA
    38ed5c6 View commit details
  19. utsushi: fix build

    It was using libusb-compat instead of libusb1, and the former no longer propagates the latter.
    jtojnar committed Apr 4, 2020
    Copy the full SHA
    0851f48 View commit details
  20. Copy the full SHA
    5d4c6f7 View commit details
1 change: 1 addition & 0 deletions pkgs/applications/accessibility/contrast/default.nix
Original file line number Diff line number Diff line change
@@ -40,6 +40,7 @@ rustPlatform.buildRustPackage rec {
pkgconfig
python3
wrapGAppsHook
glib # for glib-compile-resources
];

buildInputs = [
2 changes: 1 addition & 1 deletion pkgs/applications/graphics/fluxus/default.nix
Original file line number Diff line number Diff line change
@@ -69,7 +69,7 @@ stdenv.mkDerivation rec {
openssl.dev
racket
];
nativeBuildInputs = [ scons ];
nativeBuildInputs = [ scons.py2 ];

patches = [ ./fix-build.patch ];
sconsFlags = [
4 changes: 2 additions & 2 deletions pkgs/applications/radio/dump1090/default.nix
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
, fetchFromGitHub
, pkgconfig
, libbladeRF
, libusb
, libusb1
, ncurses
, rtl-sdr
}:
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {

buildInputs = [
libbladeRF
libusb
libusb1
ncurses
rtl-sdr
];
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, pkgconfig, autoreconfHook,
glib, libzip, libserialport, check, libusb, libftdi,
glib, libzip, libserialport, check, libusb1, libftdi,
systemd, alsaLib, dsview
}:

@@ -15,7 +15,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [ pkgconfig autoreconfHook ];

buildInputs = [
glib libzip libserialport libusb libftdi systemd check alsaLib
glib libzip libserialport libusb1 libftdi systemd check alsaLib
];

meta = with stdenv.lib; {
7 changes: 3 additions & 4 deletions pkgs/applications/video/kodi/plugins.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ stdenv, callPackage, fetchFromGitHub
, cmake, kodiPlain, libcec_platform, tinyxml, rapidxml
, steam, libusb, pcre-cpp, jsoncpp, libhdhomerun, zlib
, steam, udev, libusb1, jsoncpp, libhdhomerun, zlib
, python2Packages, expat, glib, nspr, nss, openssl
, libssh, libarchive, lzma, bzip2, lz4, lzo }:

@@ -236,8 +236,7 @@ let self = rec {
maintainers = with maintainers; [ edwtjo ];
};

extraBuildInputs = [ libusb pcre-cpp ];

extraBuildInputs = [ udev ];
};

simpleplugin = mkKodiPlugin rec {
@@ -300,7 +299,7 @@ let self = rec {
sha256 = "1hbd8fdvn7xkr9csz1g9wah78nhnq1rkazl4zwa31y70830k3279";
};

extraBuildInputs = [ libusb ];
extraBuildInputs = [ libusb1 ];

meta = {
description = "Binary addon for steam controller.";
10 changes: 9 additions & 1 deletion pkgs/desktops/deepin/deepin-terminal/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, pkgconfig, cmake, ninja, vala_0_40,
{ stdenv, fetchFromGitHub, pkgconfig, cmake, ninja, vala_0_40, fetchpatch,
gettext, at-spi2-core, dbus, epoxy, expect, gtk3, json-glib,
libXdmcp, libgee, libpthreadstubs, librsvg, libsecret, libtasn1,
libxcb, libxkbcommon, p11-kit, pcre, vte, wnck, libselinux, gnutls, pcre2,
@@ -15,6 +15,14 @@ stdenv.mkDerivation rec {
sha256 = "1929saj828b438d07caw3cjhqq60v6gni7mi3fqrg9wdjz81xwv7";
};

patches = [
# Fix build with VTE 0.60
(fetchpatch {
url = "https://github.com/linuxdeepin/deepin-terminal/commit/542d1035b609698ee81aa7971d20ca8e5930743d.patch";
sha256 = "1pihiy70yc25fm5fx7i7v9gmi65v4mhldvi7xwv8rgr2z6hbfj41";
})
];

nativeBuildInputs = [
pkgconfig
cmake
4 changes: 2 additions & 2 deletions pkgs/development/libraries/aravis/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, gtk-doc, intltool
, audit, glib, libusb, libxml2
, audit, glib, libusb1, libxml2
, wrapGAppsHook
, gstreamer ? null
, gst-plugins-base ? null
@@ -53,7 +53,7 @@ in

buildInputs =
[ glib libxml2 ]
++ stdenv.lib.optional enableUsb libusb
++ stdenv.lib.optional enableUsb libusb1
++ stdenv.lib.optional enablePacketSocket audit
++ stdenv.lib.optionals (enableViewer || enableGstPlugin) [ gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad ]
++ stdenv.lib.optionals (enableViewer) [ libnotify gtk3 gnome3.adwaita-icon-theme ];
4 changes: 2 additions & 2 deletions pkgs/development/libraries/freenect/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, cmake, libusb, pkgconfig, freeglut, libGLU, libGL, libXi, libXmu
{ stdenv, lib, fetchFromGitHub, cmake, libusb1, pkgconfig, freeglut, libGLU, libGL, libXi, libXmu
, GLUT, Cocoa
}:

@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
sha256 = "1963xndbiwgj01q17zv6xbqlsbhfd236dkbdwkbjw4b0gr8kqzq9";
};

buildInputs = [ libusb freeglut libGLU libGL libXi libXmu ]
buildInputs = [ libusb1 freeglut libGLU libGL libXi libXmu ]
++ lib.optionals stdenv.isDarwin [ GLUT Cocoa ];

nativeBuildInputs = [ cmake pkgconfig ];
4 changes: 2 additions & 2 deletions pkgs/development/libraries/gobject-introspection/default.nix
Original file line number Diff line number Diff line change
@@ -61,9 +61,9 @@ stdenv.mkDerivation rec {
# though, so we need to replace the absolute path with a local one during build.
# We are using a symlink that we will delete before installation.
mkdir -p $out/lib
ln -s $PWD/tests/scanner/libregress-1.0.so $out/lib/libregress-1.0.so
ln -s $PWD/tests/scanner/libregress-1.0${stdenv.targetPlatform.extensions.sharedLibrary} $out/lib/libregress-1.0${stdenv.targetPlatform.extensions.sharedLibrary}
cleanLibregressSymlink() {
rm $out/lib/libregress-1.0.so
rm $out/lib/libregress-1.0${stdenv.targetPlatform.extensions.sharedLibrary}
}
preInstallPhases="$preInstallPhases cleanLibregressSymlink"
'';
7 changes: 7 additions & 0 deletions pkgs/development/libraries/gstreamer/bad/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ stdenv
, fetchurl
, fetchpatch
, meson
, ninja
, gettext
@@ -96,6 +97,12 @@ in stdenv.mkDerivation rec {
};

patches = [
# Fix build with neon 0.31
# https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1165
(fetchpatch {
url = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/commit/f10b424418e448211e3427a76fcd046e157ef0b7.patch";
sha256 = "0l1f6kqcl04q7w12a2b4qibcvjz6gqhs0csdv2wbvfd6zndpjm6p";
})
./fix_pkgconfig_includedir.patch
];

36 changes: 30 additions & 6 deletions pkgs/development/libraries/indilib/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
{ stdenv, fetchurl, cmake, cfitsio, libusb, zlib, boost, libnova
, curl, libjpeg, gsl }:
{ stdenv
, fetchurl
, cmake
, cfitsio
, libusb1
, zlib
, boost
, libnova
, curl
, libjpeg
, gsl
}:

stdenv.mkDerivation {
name = "indilib-1.1.0";
@@ -9,13 +19,27 @@ stdenv.mkDerivation {
sha256 = "1bs6lkwqd4aashg93mqqkc7nrg7fbx9mdw85qs5263jqa6sr780w";
};

patches = [ ./udev-dir.patch ] ;
patches = [
./udev-dir.patch
];

buildInputs = [ curl cmake cfitsio libusb zlib boost
libnova libjpeg gsl ];
nativeBuildInputs = [
cmake
];

buildInputs = [
curl
cfitsio
libusb1
zlib
boost
libnova
libjpeg
gsl
];

meta = {
homepage = https://www.indilib.org/;
homepage = "https://www.indilib.org/";
license = stdenv.lib.licenses.lgpl2Plus;
description = "Implementaion of the INDI protocol for POSIX operating systems";
platforms = stdenv.lib.platforms.unix;
4 changes: 2 additions & 2 deletions pkgs/development/libraries/libfprint/default.nix
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
, pkgconfig
, meson
, ninja
, libusb
, libusb1
, pixman
, glib
, nss
@@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
];

buildInputs = [
libusb
libusb1 # drop in 2.0 for gusb
pixman
glib
nss
4 changes: 2 additions & 2 deletions pkgs/development/libraries/libirecovery/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, automake, autoconf, libtool, pkgconfig
, libusb
, libusb1
, readline
}:

@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
];

buildInputs = [
libusb
libusb1
readline
];

4 changes: 2 additions & 2 deletions pkgs/development/tools/sunxi-tools/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, pkgconfig, libusb, zlib }:
{ stdenv, fetchFromGitHub, pkgconfig, libusb1, zlib }:

stdenv.mkDerivation {
name = "sunxi-tools-20181113";
@@ -11,7 +11,7 @@ stdenv.mkDerivation {
};

nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libusb zlib ];
buildInputs = [ libusb1 zlib ];

makeFlags = [ "PREFIX=$(out)" ];

4 changes: 2 additions & 2 deletions pkgs/misc/drivers/utsushi/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitLab, autoreconfHook, pkg-config, boost, gtkmm2
, imagemagick, sane-backends, tesseract4, udev, libusb}:
, imagemagick, sane-backends, tesseract4, udev, libusb1}:

stdenv.mkDerivation rec {
pname = "utsushi";
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
imagemagick
sane-backends
udev.dev
libusb.dev
libusb1.dev
];

NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations -Wno-error=parentheses -Wno-error=unused-variable";
87 changes: 72 additions & 15 deletions pkgs/misc/emulators/dolphin-emu/default.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,44 @@
{ stdenv, lib, fetchpatch, pkgconfig, cmake, bluez, ffmpeg, libao, gtk2, glib
, libGLU, libGL , gettext, libpthreadstubs, libXrandr, libXext, readline
, openal , libXdmcp, portaudio, fetchFromGitHub, libusb, libevdev
, wxGTK30, soundtouch, miniupnpc, mbedtls, curl, lzo, sfml
, libpulseaudio ? null }:
{ stdenv
, lib
, fetchpatch
, pkgconfig
, cmake
, bluez
, ffmpeg
, libao
, gtk2
, glib
, libGLU
, libGL
, gettext
, libpthreadstubs
, libXrandr
, libXext
, readline
, openal
, libXdmcp
, portaudio
, fetchFromGitHub
, libusb1
, libevdev
, wxGTK30
, soundtouch
, miniupnpc
, mbedtls
, curl
, lzo
, sfml
, libpulseaudio ? null
}:

stdenv.mkDerivation rec {
pname = "dolphin-emu";
version = "5.0";

src = fetchFromGitHub {
owner = "dolphin-emu";
repo = "dolphin";
rev = version;
owner = "dolphin-emu";
repo = "dolphin";
rev = version;
sha256 = "07mlfnh0hwvk6xarcg315x7z2j0qbg9g7cm040df9c8psiahc3g6";
};

@@ -44,15 +71,45 @@ stdenv.mkDerivation rec {

enableParallelBuilding = true;

nativeBuildInputs = [ pkgconfig ];
buildInputs = [ cmake bluez ffmpeg libao libGLU libGL gtk2 glib
gettext libpthreadstubs libXrandr libXext readline openal
libevdev libXdmcp portaudio libusb libpulseaudio
libevdev libXdmcp portaudio libusb libpulseaudio
wxGTK30 soundtouch miniupnpc mbedtls curl lzo sfml ];
nativeBuildInputs = [
pkgconfig
cmake
];

buildInputs = [
bluez
ffmpeg
libao
libGLU
libGL
gtk2
glib
gettext
libpthreadstubs
libXrandr
libXext
readline
openal
libevdev
libXdmcp
portaudio
libpulseaudio
libevdev
libXdmcp
portaudio
libusb1
libpulseaudio
wxGTK30
soundtouch
miniupnpc
mbedtls
curl
lzo
sfml
];

meta = with lib; {
homepage = https://dolphin-emu.org/;
homepage = "https://dolphin-emu.org/";
description = "Gamecube/Wii/Triforce emulator for x86_64 and ARMv8";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ MP2E ashkitten ];
4 changes: 2 additions & 2 deletions pkgs/misc/emulators/dolphin-emu/master.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ lib, stdenv, fetchFromGitHub, makeDesktopItem, pkgconfig, cmake
, wrapQtAppsHook, qtbase, bluez, ffmpeg, libao, libGLU, libGL, pcre, gettext
, libXrandr, libusb, lzo, libpthreadstubs, libXext, libXxf86vm, libXinerama
, libXrandr, libusb1, lzo, libpthreadstubs, libXext, libXxf86vm, libXinerama
, libSM, libXdmcp, readline, openal, udev, libevdev, portaudio, curl, alsaLib
, miniupnpc, enet, mbedtls, soundtouch, sfml
, vulkan-loader ? null, libpulseaudio ? null
@@ -37,7 +37,7 @@ in stdenv.mkDerivation rec {
buildInputs = [
curl ffmpeg libao libGLU libGL pcre gettext libpthreadstubs libpulseaudio
libXrandr libXext libXxf86vm libXinerama libSM readline openal libXdmcp lzo
portaudio libusb libpng hidapi miniupnpc enet mbedtls soundtouch sfml
portaudio libusb1 libpng hidapi miniupnpc enet mbedtls soundtouch sfml
qtbase
] ++ lib.optionals stdenv.isLinux [
bluez udev libevdev alsaLib vulkan-loader
Loading