Merge pull request #43700 from oxij/tree/more-test-fixes
treewide: more fixes to tests
This commit is contained in:
commit
856743f117
@ -27,6 +27,8 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ meson ninja pkgconfig ];
|
||||
buildInputs = [ at-spi2-core atk dbus glib libxml2 ];
|
||||
|
||||
doCheck = false; # fails with "No test data file provided"
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome3.updateScript {
|
||||
packageName = pname;
|
||||
|
@ -30,6 +30,8 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ meson ninja pkgconfig gobjectIntrospection ];
|
||||
buildInputs = [ dbus glib libX11 libXtst libXi ];
|
||||
|
||||
doCheck = false; # fails with "AT-SPI: Couldn't connect to accessibility bus. Is at-spi-bus-launcher running?"
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome3.updateScript {
|
||||
packageName = pname;
|
||||
|
@ -5,6 +5,7 @@
|
||||
, ninja
|
||||
, pkgconfig
|
||||
, fixDarwinDylibNames
|
||||
, python3
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -12,16 +13,22 @@ stdenv.mkDerivation rec {
|
||||
pname = "fribidi";
|
||||
version = "1.0.4";
|
||||
|
||||
outputs = [ "out" "devdoc" ];
|
||||
|
||||
# NOTE: 2018-06-06 v1.0.4: Only URL tarball has "Have pre-generated man pages: true", which works-around upstream usage of some rare ancient `c2man` fossil application.
|
||||
src = fetchurl {
|
||||
url = "https://github.com/${pname}/${pname}/releases/download/v${version}/${name}.tar.bz2";
|
||||
sha256 = "1gipy8fjyn6i4qrhima02x8xs493d21f22dijp88nk807razxgcl";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs test
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkgconfig ];
|
||||
buildInputs = stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
|
||||
|
||||
outputs = [ "out" "devdoc" ];
|
||||
checkInptus = [ python3 ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/fribidi/fribidi;
|
||||
|
@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ gst_all_1.gstreamer gst_all_1.gst-plugins-base gnutls ];
|
||||
propagatedBuildInputs = [ glib gupnp-igd ];
|
||||
|
||||
doCheck = false; # fails with "fatal error: nice/agent.h: No such file or directory"
|
||||
|
||||
meta = {
|
||||
homepage = https://nice.freedesktop.org/wiki/;
|
||||
description = "The GLib ICE implementation";
|
||||
|
@ -1,5 +1,6 @@
|
||||
{ stdenv, fetchurl, pkgconfig, autoreconfHook
|
||||
, librdf_raptor2, ladspaH, openssl, zlib
|
||||
, doCheck ? stdenv.config.doCheckByDefault or false, ladspaPlugins
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -11,14 +12,18 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "18p2flb2sv2hq6w2qkd29z9c7knnwqr3f12i2srshlzx6vwkm05s";
|
||||
};
|
||||
|
||||
preAutoreconf = "rm m4/*";
|
||||
postPatch = "sed -i -e 's:usr/local:usr:' examples/{instances,remove}_test.c";
|
||||
postPatch = stdenv.lib.optionalString doCheck ''
|
||||
sed -i -e 's:usr/local:${ladspaPlugins}:' examples/{instances,remove}_test.c
|
||||
'';
|
||||
|
||||
preAutoreconf = "rm m4/*";
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
buildInputs = [ ladspaH openssl zlib ];
|
||||
|
||||
propagatedBuildInputs = [ librdf_raptor2 ];
|
||||
|
||||
inherit doCheck;
|
||||
|
||||
meta = {
|
||||
description = "Lightweight RDF library with special support for LADSPA plugins";
|
||||
homepage = https://sourceforge.net/projects/lrdf/;
|
||||
|
Loading…
Reference in New Issue
Block a user