Merge pull request #122003 from hercules-ci/rename-xvfb-run

treewide: xvfb_run -> xvfb-run
This commit is contained in:
Robert Hensing 2021-05-08 16:26:48 +02:00 committed by GitHub
commit 8823855ce3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
40 changed files with 78 additions and 77 deletions

View File

@ -1,5 +1,5 @@
{ lib, stdenv, fetchurl, python3, wrapGAppsHook, gettext, libsoup, gnome, gtk3, gdk-pixbuf, librsvg,
tag ? "", xvfb_run, dbus, glibcLocales, glib, glib-networking, gobject-introspection, hicolor-icon-theme,
tag ? "", xvfb-run, dbus, glibcLocales, glib, glib-networking, gobject-introspection, hicolor-icon-theme,
gst_all_1, withGstPlugins ? true,
xineBackend ? false, xine-lib,
withDbusPython ? false, withPyInotify ? false, withMusicBrainzNgs ? false, withPahoMqtt ? false,
@ -20,7 +20,7 @@ python3.pkgs.buildPythonApplication rec {
nativeBuildInputs = [ wrapGAppsHook gettext ];
checkInputs = [ gdk-pixbuf hicolor-icon-theme ] ++ (with python3.pkgs; [ pytest pytest_xdist polib xvfb_run dbus.daemon glibcLocales ]);
checkInputs = [ gdk-pixbuf hicolor-icon-theme ] ++ (with python3.pkgs; [ pytest pytest_xdist polib xvfb-run dbus.daemon glibcLocales ]);
buildInputs = [ gnome.adwaita-icon-theme libsoup glib glib-networking gtk3 webkitgtk gdk-pixbuf keybinder3 gtksourceview libmodplug libappindicator-gtk3 kakasi gobject-introspection ]
++ (if xineBackend then [ xine-lib ] else with gst_all_1;

View File

@ -5,7 +5,7 @@
, gtk3
, pango
, wrapGAppsHook
, xvfb_run
, xvfb-run
, chromecastSupport ? false
, serverSupport ? false
, keyringSupport ? true
@ -66,7 +66,7 @@ python3Packages.buildPythonApplication rec {
pytest
pytest-cov
];
checkPhase = "${xvfb_run}/bin/xvfb-run pytest";
checkPhase = "${xvfb-run}/bin/xvfb-run pytest";
# Also run the python import check for sanity
pythonImportsCheck = [ "sublime_music" ];

View File

@ -34,7 +34,7 @@
, webkitgtk
, wrapGAppsHook
, dbus
, xvfb_run
, xvfb-run
}:
stdenv.mkDerivation rec {
@ -89,7 +89,7 @@ stdenv.mkDerivation rec {
checkInputs = [
dbus
xvfb_run
xvfb-run
];
outputs = [ "out" "devdoc" ];

View File

@ -4,7 +4,7 @@
# runtime dependencies
imagemagick, libtiff, djvulibre, poppler_utils, ghostscript, unpaper, pdftk,
# test dependencies
xvfb_run, liberation_ttf, file, tesseract }:
xvfb-run, liberation_ttf, file, tesseract }:
with lib;
@ -94,7 +94,7 @@ perlPackages.buildPerlPackage rec {
unpaper
pdftk
xvfb_run
xvfb-run
file
tesseract # tests are expecting tesseract 3.x precisely
] ++ (with perlPackages; [

View File

@ -2,7 +2,7 @@
, gnome
# Test requirements
, dbus, xvfb_run, xdotool
, dbus, xvfb-run, xdotool
}:
python3Packages.buildPythonApplication rec {
@ -37,7 +37,7 @@ python3Packages.buildPythonApplication rec {
vimiv/imageactions.py
'';
checkInputs = [ python3Packages.nose dbus.daemon xvfb_run xdotool ];
checkInputs = [ python3Packages.nose dbus.daemon xvfb-run xdotool ];
buildInputs = [ gnome.adwaita-icon-theme librsvg ];
propagatedBuildInputs = with python3Packages; [ pillow pygobject3 gtk3 ];

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, meson, ninja, pkg-config, check, dbus, xvfb_run, glib, gtk, gettext, libiconv, json_c, libintl
{ lib, stdenv, fetchurl, meson, ninja, pkg-config, check, dbus, xvfb-run, glib, gtk, gettext, libiconv, json_c, libintl
}:
stdenv.mkDerivation rec {
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
sha256 = "1n3i960b458172mc3pkq7m9dn5qxry6fms3c3k06v27cjp5whsyf";
};
nativeBuildInputs = [ meson ninja pkg-config gettext check dbus xvfb_run ];
nativeBuildInputs = [ meson ninja pkg-config gettext check dbus xvfb-run ];
buildInputs = [ libintl libiconv json_c ];
propagatedBuildInputs = [ glib gtk ];

View File

@ -13,7 +13,7 @@
, tzdata
, webkitgtk
, wrapGAppsHook
, xvfb_run
, xvfb-run
}:
let
@ -66,7 +66,7 @@ in python.pkgs.buildPythonApplication rec {
checkInputs = [
glibcLocales
perl
xvfb_run
xvfb-run
] ++ (with python.pkgs; [
mysqlclient
psycopg2

View File

@ -14,7 +14,7 @@
, libappindicator
, intltool
, wmctrl
, xvfb_run
, xvfb-run
, librsvg
}:
@ -66,7 +66,7 @@ python3Packages.buildPythonApplication rec {
mock
pytest
pytest-mock
xvfb_run
xvfb-run
];
patches = [

View File

@ -21,7 +21,7 @@
, dbus
, vala
, wrapGAppsHook
, xvfb_run
, xvfb-run
, gtk-doc
, docbook-xsl-nons
, docbook_xml_dtd_43
@ -71,7 +71,7 @@ stdenv.mkDerivation rec {
checkInputs = [
dbus
xvfb_run
xvfb-run
];
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";

View File

@ -1,5 +1,5 @@
{ lib, buildPythonApplication, fetchPypi, matplotlib, procps, pyqt5, python
, pythonPackages, qt5, sphinx, xvfb_run }:
, pythonPackages, qt5, sphinx, xvfb-run }:
buildPythonApplication rec {
pname = "flent";
@ -12,7 +12,7 @@ buildPythonApplication rec {
buildInputs = [ sphinx ];
nativeBuildInputs = [ qt5.wrapQtAppsHook ];
propagatedBuildInputs = [ matplotlib procps pyqt5 ];
checkInputs = [ procps pythonPackages.mock pyqt5 xvfb_run ];
checkInputs = [ procps pythonPackages.mock pyqt5 xvfb-run ];
checkPhase = ''
cat >test-runner <<EOF

View File

@ -5,7 +5,7 @@
, glib-networking
# Test dependencies
, xvfb_run, dbus
, xvfb-run, dbus
# Optional dependencies
, enableJingle ? true, farstream, gstreamer, gst-plugins-base, gst-libav, gst-plugins-good, libnice
@ -52,7 +52,7 @@ python3.pkgs.buildPythonApplication rec {
++ lib.optionals enableOmemoPluginDependencies [ python-axolotl qrcode ]
++ extraPythonPackages python3.pkgs;
checkInputs = [ xvfb_run dbus.daemon ];
checkInputs = [ xvfb-run dbus.daemon ];
checkPhase = ''
# https://dev.gajim.org/gajim/gajim/-/issues/10478

View File

@ -11,7 +11,7 @@
, pango
, gdk-pixbuf
, gobject-introspection
, xvfb_run
, xvfb-run
}:
python3Packages.buildPythonApplication rec {
@ -53,7 +53,7 @@ python3Packages.buildPythonApplication rec {
checkInputs = with python3Packages; [
nose
mock
xvfb_run
xvfb-run
];
preBuild = ''

View File

@ -8,7 +8,7 @@
, sqlcipher
# Needed for running tests:
, qtbase, xvfb_run
, qtbase, xvfb-run
, python2, python3Packages
}:
@ -55,7 +55,7 @@ stdenv.mkDerivation rec {
'';
doInstallCheck = stdenv.hostPlatform == stdenv.buildPlatform;
installCheckInputs = [ xvfb_run ];
installCheckInputs = [ xvfb-run ];
installCheckPhase =
lib.optionalString doInstallCheck ''
xvfb-run -s '-screen 0 1024x768x24' make test \

View File

@ -4,7 +4,7 @@
, cairo
, gnome
, librsvg
, xvfb_run
, xvfb-run
, dbus
, libnotify
, wrapGAppsHook
@ -53,7 +53,7 @@ python3Packages.buildPythonApplication rec {
done
'';
checkInputs = [ xvfb_run dbus.daemon ];
checkInputs = [ xvfb-run dbus.daemon ];
nativeBuildInputs = [
wrapGAppsHook

View File

@ -1,7 +1,7 @@
{ fetchurl, lib, stdenv, pkg-config, makeWrapper, meson, ninja, installShellFiles, libxcb, xcbutilkeysyms
, xcbutil, xcbutilwm, xcbutilxrm, libstartup_notification, libX11, pcre, libev
, yajl, xcb-util-cursor, perl, pango, perlPackages, libxkbcommon
, xorgserver, xvfb_run }:
, xorgserver, xvfb-run }:
stdenv.mkDerivation rec {
pname = "i3";
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
libstartup_notification libX11 pcre libev yajl xcb-util-cursor perl pango
perlPackages.AnyEventI3 perlPackages.X11XCB perlPackages.IPCRun
perlPackages.ExtUtilsPkgConfig perlPackages.InlineC
xorgserver xvfb_run
xorgserver xvfb-run
];
configureFlags = [ "--disable-builddir" ];

View File

@ -18,7 +18,7 @@
, upower
, wayland
, dbus
, xvfb_run
, xvfb-run
, phoc
, feedbackd
, networkmanager
@ -98,7 +98,7 @@ in stdenv.mkDerivation rec {
checkInputs = [
dbus
xvfb_run
xvfb-run
];
# Temporarily disabled - Test is broken (SIGABRT)

View File

@ -20,7 +20,7 @@
, meson
, sysprof
, dbus
, xvfb_run
, xvfb-run
, ninja
, makeWrapper
, which
@ -58,7 +58,7 @@ stdenv.mkDerivation rec {
];
checkInputs = [
xvfb_run
xvfb-run
];
propagatedBuildInputs = [

View File

@ -25,7 +25,7 @@
, gnome-desktop
, gsettings-desktop-schemas
, gdk-pixbuf
, xvfb_run
, xvfb-run
}:
stdenv.mkDerivation rec {
@ -76,7 +76,7 @@ stdenv.mkDerivation rec {
];
checkInputs = [
xvfb_run
xvfb-run
];
mesonFlags = [

View File

@ -29,7 +29,7 @@
, python3
, gnutls
, cacert
, xvfb_run
, xvfb-run
, glibcLocales
, dbus
, shared-mime-info
@ -99,7 +99,7 @@ stdenv.mkDerivation rec {
dbus
gnutls # for certtool
cacert # trust store for glib-networking
xvfb_run
xvfb-run
glibcLocales # required by Geary.ImapDb.DatabaseTest/utf8_case_insensitive_collation
];

View File

@ -7,7 +7,7 @@
, gobject-introspection
, gnome
, dbus
, xvfb_run
, xvfb-run
}:
stdenv.mkDerivation rec {
@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
doCheck = stdenv.isLinux;
checkPhase = ''
export NO_AT_BRIDGE=1
${xvfb_run}/bin/xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
${xvfb-run}/bin/xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
meson test --print-errorlogs
'';

View File

@ -19,7 +19,7 @@
, harfbuzz
, makeWrapper
, which
, xvfb_run
, xvfb-run
, nixosTests
}:
@ -65,7 +65,7 @@ in stdenv.mkDerivation rec {
];
checkInputs = [
xvfb_run
xvfb-run
] ++ testDeps;
propagatedBuildInputs = [

View File

@ -12,7 +12,7 @@
, epoxy
, gnome
, makeFontsConf
, xvfb_run
, xvfb-run
}:
stdenv.mkDerivation rec {
@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
];
checkInputs = [
xvfb_run
xvfb-run
];
# Tests require fontconfig.

View File

@ -1,5 +1,5 @@
{ lib, stdenv, fetchurl, pkg-config, atk, cairo, glib, gtk3, pango, vala
, libxml2, perl, intltool, gettext, gobject-introspection, dbus, xvfb_run, shared-mime-info }:
, libxml2, perl, intltool, gettext, gobject-introspection, dbus, xvfb-run, shared-mime-info }:
stdenv.mkDerivation rec {
pname = "gtksourceview";
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config intltool perl gobject-introspection vala ];
checkInputs = [ xvfb_run dbus ];
checkInputs = [ xvfb-run dbus ];
buildInputs = [ atk cairo glib pango libxml2 gettext ];

View File

@ -18,7 +18,7 @@
, gnome
, gobject-introspection
, dbus
, xvfb_run
, xvfb-run
, shared-mime-info
}:
@ -74,7 +74,7 @@ stdenv.mkDerivation rec {
];
checkInputs = [
xvfb_run
xvfb-run
dbus
];

View File

@ -16,7 +16,7 @@
, gnome
, gobject-introspection
, dbus
, xvfb_run
, xvfb-run
, shared-mime-info
}:
@ -64,7 +64,7 @@ stdenv.mkDerivation rec {
];
checkInputs = [
xvfb_run
xvfb-run
dbus
];

View File

@ -10,7 +10,7 @@
, vala
, gobject-introspection
, gtk4
, xvfb_run
, xvfb-run
}:
stdenv.mkDerivation rec {
@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
];
checkInputs = [
xvfb_run
xvfb-run
];
doCheck = true;

View File

@ -1,5 +1,5 @@
{ lib, stdenv, fetchurl, ninja, meson, pkg-config, vala, gobject-introspection, libxml2
, gtk-doc, docbook_xsl, docbook_xml_dtd_43, dbus, xvfb_run, glib, gtk3, gnome }:
, gtk-doc, docbook_xsl, docbook_xml_dtd_43, dbus, xvfb-run, glib, gtk3, gnome }:
stdenv.mkDerivation rec {
pname = "libdazzle";
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
sha256 = "19abrrjsyjhhl1xflnb0likb9wwzz78fa1mk2b064rpscmz9mafv";
};
nativeBuildInputs = [ ninja meson pkg-config vala gobject-introspection libxml2 gtk-doc docbook_xsl docbook_xml_dtd_43 dbus xvfb_run glib ];
nativeBuildInputs = [ ninja meson pkg-config vala gobject-introspection libxml2 gtk-doc docbook_xsl docbook_xml_dtd_43 dbus xvfb-run glib ];
buildInputs = [ glib gtk3 ];
mesonFlags = [

View File

@ -1,7 +1,7 @@
{ lib, stdenv, fetchFromGitLab, meson, ninja, pkg-config, gobject-introspection, vala
, gtk-doc, docbook_xsl, docbook_xml_dtd_43
, gtk3, gnome
, dbus, xvfb_run, libxml2
, dbus, xvfb-run, libxml2
, hicolor-icon-theme
}:
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
gtk-doc docbook_xsl docbook_xml_dtd_43
];
buildInputs = [ gnome.gnome-desktop gtk3 libxml2 ];
checkInputs = [ dbus xvfb_run hicolor-icon-theme ];
checkInputs = [ dbus xvfb-run hicolor-icon-theme ];
mesonFlags = [
"-Dgtk_doc=true"

View File

@ -13,7 +13,7 @@
, enableGlade ? false
, glade
, dbus
, xvfb_run
, xvfb-run
, libxml2
, gdk-pixbuf
, librsvg
@ -65,7 +65,7 @@ stdenv.mkDerivation rec {
checkInputs = [
dbus
xvfb_run
xvfb-run
at-spi2-atk
at-spi2-core
librsvg

View File

@ -1,6 +1,6 @@
{ lib, stdenv, fetchurl, fetchpatch, glib, pkg-config, gettext, libxslt, python3
, docbook_xsl, docbook_xml_dtd_42 , libgcrypt, gobject-introspection, vala
, gtk-doc, gnome, gjs, libintl, dbus, xvfb_run }:
, gtk-doc, gnome, gjs, libintl, dbus, xvfb-run }:
stdenv.mkDerivation rec {
pname = "libsecret";
@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
installCheckInputs = [
python3 python3.pkgs.dbus-python python3.pkgs.pygobject3 xvfb_run dbus gjs
python3 python3.pkgs.dbus-python python3.pkgs.pygobject3 xvfb-run dbus gjs
];
# needs to run after install because typelibs point to absolute paths

View File

@ -10,7 +10,7 @@
, gsettings-desktop-schemas
, fetchurl
, dbus
, xvfb_run
, xvfb-run
, wrapGAppsHook
# , fetchPypi
}:
@ -33,7 +33,7 @@ buildPythonPackage {
./nix-support.patch
];
nativeBuildInputs = [ gobject-introspection dbus xvfb_run wrapGAppsHook ]; # for setup hooks
nativeBuildInputs = [ gobject-introspection dbus xvfb-run wrapGAppsHook ]; # for setup hooks
propagatedBuildInputs = [ at-spi2-core gtk3 pygobject3 pyatspi pycairo ];
strictDeps = false; # issue 56943

View File

@ -3,7 +3,7 @@
, buildPythonPackage
, python
, pygobject3
, xvfb_run
, xvfb-run
, gobject-introspection
, gtk3
, pythonOlder
@ -32,7 +32,7 @@ buildPythonPackage rec {
checkPhase = ''
runHook preCheck
${xvfb_run}/bin/xvfb-run -s '-screen 0 800x600x24' \
${xvfb-run}/bin/xvfb-run -s '-screen 0 800x600x24' \
${python.interpreter} nix_run_setup test
runHook postCheck
'';

View File

@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchFromGitHub
, pillow, xlib, six, xvfb_run, sphinx }:
, pillow, xlib, six, xvfb-run, sphinx }:
buildPythonPackage rec {
pname = "pystray";
@ -14,7 +14,7 @@ buildPythonPackage rec {
nativeBuildInputs = [ sphinx ];
propagatedBuildInputs = [ pillow xlib six ];
checkInputs = [ xvfb_run ];
checkInputs = [ xvfb-run ];
checkPhase = ''
rm tests/icon_tests.py # test needs user input

View File

@ -6,7 +6,7 @@
, pytest
, pythonOlder
, qt5
, xvfb_run
, xvfb-run
}:
buildPythonPackage rec {
@ -31,7 +31,7 @@ buildPythonPackage rec {
checkInputs = [
pytest
xvfb_run
xvfb-run
];
checkPhase = ''

View File

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, isPy3k, python3, xvfb_run
{ lib, buildPythonPackage, fetchPypi, isPy3k, python3, xvfb-run
, wrapGAppsHook, gobject-introspection, pygobject3, graphviz, gtk3, numpy }:
buildPythonPackage rec {
@ -13,7 +13,7 @@ buildPythonPackage rec {
disabled = !isPy3k;
nativeBuildInputs = [ wrapGAppsHook ];
propagatedBuildInputs = [ gobject-introspection pygobject3 graphviz gtk3 numpy ];
checkInputs = [ xvfb_run ];
checkInputs = [ xvfb-run ];
checkPhase = ''
xvfb-run -s '-screen 0 800x600x24' ${python3.interpreter} nix_run_setup test

View File

@ -1,10 +1,10 @@
{ stdenv, lib, R, libcxx, xvfb_run, util-linux, Cocoa, Foundation, gettext, gfortran }:
{ stdenv, lib, R, libcxx, xvfb-run, util-linux, Cocoa, Foundation, gettext, gfortran }:
{ name, buildInputs ? [], requireX ? false, ... } @ attrs:
stdenv.mkDerivation ({
buildInputs = buildInputs ++ [R gettext] ++
lib.optionals requireX [util-linux xvfb_run] ++
lib.optionals requireX [util-linux xvfb-run] ++
lib.optionals stdenv.isDarwin [Cocoa Foundation gfortran];
NIX_CFLAGS_COMPILE =
@ -29,7 +29,7 @@ stdenv.mkDerivation ({
rCommand = if requireX then
# Unfortunately, xvfb-run has a race condition even with -a option, so that
# we acquire a lock explicitly.
"flock ${xvfb_run} xvfb-run -a -e xvfb-error R"
"flock ${xvfb-run} xvfb-run -a -e xvfb-error R"
else
"R";

View File

@ -1,7 +1,7 @@
{ lib, stdenv, fetchurl, makeWrapper, xorgserver, getopt
, xauth, util-linux, which, fontsConf, gawk, coreutils }:
let
xvfb_run = fetchurl {
xvfb-run = fetchurl {
name = "xvfb-run";
# https://git.archlinux.org/svntogit/packages.git/?h=packages/xorg-server
url = "https://git.archlinux.org/svntogit/packages.git/plain/trunk/xvfb-run?h=packages/xorg-server&id=9cb733cefa92af3fca608fb051d5251160c9bbff";
@ -13,7 +13,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [ makeWrapper ];
buildCommand = ''
mkdir -p $out/bin
cp ${xvfb_run} $out/bin/xvfb-run
cp ${xvfb-run} $out/bin/xvfb-run
chmod a+x $out/bin/xvfb-run
patchShebangs $out/bin/xvfb-run

View File

@ -868,6 +868,7 @@ mapAliases ({
xlibs = xorg; # added 2015-09
xpraGtk3 = xpra; # added 2018-09-13
xv = xxv; # added 2020-02-22
xvfb_run = xvfb-run; # added 2021-05-07
yacc = bison; # moved from top-level 2021-03-14
youtubeDL = youtube-dl; # added 2014-10-26
ytop = throw "ytop has been abandoned by upstream. Consider switching to bottom instead";

View File

@ -9764,7 +9764,7 @@ in
xxv = callPackage ../tools/misc/xxv {};
xvfb_run = callPackage ../tools/misc/xvfb-run { inherit (texFunctions) fontsConf; };
xvfb-run = callPackage ../tools/misc/xvfb-run { inherit (texFunctions) fontsConf; };
xvkbd = callPackage ../tools/X11/xvkbd {};

View File

@ -9248,7 +9248,7 @@ let
propagatedBuildInputs = [ Readonly Gtk3 ];
checkInputs = [ TestDifferences PerlMagick TryTiny TestMockObject CarpAlways pkgs.librsvg ];
checkPhase = ''
${pkgs.xvfb_run}/bin/xvfb-run -s '-screen 0 800x600x24' \
${pkgs.xvfb-run}/bin/xvfb-run -s '-screen 0 800x600x24' \
make test
'';
meta = {