Merge branch 'staging-next' into staging

This commit is contained in:
Jan Tojnar 2020-04-04 13:17:59 +02:00
commit 5d4c6f7bda
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
21 changed files with 165 additions and 54 deletions

View File

@ -40,6 +40,7 @@ rustPlatform.buildRustPackage rec {
pkgconfig
python3
wrapGAppsHook
glib # for glib-compile-resources
];
buildInputs = [

View File

@ -69,7 +69,7 @@ stdenv.mkDerivation rec {
openssl.dev
racket
];
nativeBuildInputs = [ scons ];
nativeBuildInputs = [ scons.py2 ];
patches = [ ./fix-build.patch ];
sconsFlags = [

View File

@ -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
];

View File

@ -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; {

View File

@ -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.";

View File

@ -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

View File

@ -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 ];

View File

@ -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 ];

View File

@ -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"
'';

View File

@ -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
];

View File

@ -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;

View File

@ -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

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, automake, autoconf, libtool, pkgconfig
, libusb
, libusb1
, readline
}:
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
];
buildInputs = [
libusb
libusb1
readline
];

View File

@ -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)" ];

View File

@ -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";

View File

@ -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 ];

View File

@ -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

View File

@ -1,5 +1,7 @@
{ stdenv
, fetchurl
, fetchpatch
, autoreconfHook
, neon
, procps
, substituteAll
@ -14,6 +16,10 @@ stdenv.mkDerivation rec {
sha256 = "00fqadhmhi2bmdar5a48nicmjcagnmaj9wgsvjr6cffmrz6pcx21";
};
nativeBuildInputs = [
autoreconfHook # neon-0.31.patch requires reconfiguration
];
buildInputs = [ neon zlib ];
patches = [
@ -23,6 +29,15 @@ stdenv.mkDerivation rec {
src = ./0001-umount_davfs-substitute-ps-command.patch;
ps = "${procps}/bin/ps";
})
# Fix build with neon 0.31
# http://savannah.nongnu.org/bugs/?58101
(fetchpatch {
name = "neon-0.31.patch";
url = "http://savannah.nongnu.org/bugs/download.php?file_id=48737";
sha256 = "EtQfcstWkn8AcbZo93midGt076gq20AvGGJyQ3FO/YQ=";
extraPrefix = ""; # empty means add 'a/' and 'b/'
})
];
configureFlags = [ "--sysconfdir=/etc" ];

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
, glib, i2c-tools, udev, libgudev, libusb, libdrm, xorg }:
, glib, i2c-tools, udev, libgudev, libusb1, libdrm, xorg }:
stdenv.mkDerivation rec {
pname = "ddcutil";
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [
i2c-tools udev libgudev
glib libusb libdrm xorg.libXrandr
glib libusb1 libdrm xorg.libXrandr
];
meta = with stdenv.lib; {

View File

@ -1,6 +1,6 @@
{ stdenv
, fetchFromGitHub
, libusb
, libusb1
}:
stdenv.mkDerivation rec {
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
sha256 = "1cgmwsf68g49k6q4jvz073bpjhg5p73kk1a4kbgkxmvx01gmbcmq";
};
buildInputs = [ libusb ];
buildInputs = [ libusb1 ];
installFlags = [ "prefix=${placeholder "out"}" ];
meta = with stdenv.lib; {

View File

@ -7,7 +7,7 @@
, curl
, gettext
, pkgconfig
, libusb
, libusb1
, gnutls }:
stdenv.mkDerivation rec {
@ -22,9 +22,9 @@ stdenv.mkDerivation rec {
fetchSubmodules = true;
};
nativeBuildInputs = [ pkgconfig ];
nativeBuildInputs = [ cmake gettext pkgconfig ];
buildInputs = [ cmake sqlite botan2 boost curl gettext libusb gnutls ];
buildInputs = [ sqlite botan2 boost curl libusb1 gnutls ];
doCheck = true;
checkTarget = "test";