dbus: remove unused daemon passhtru
This commit is contained in:
parent
8b5dd47fe0
commit
c7f5becba3
29 changed files with 32 additions and 33 deletions
|
@ -28,8 +28,8 @@ let
|
|||
messagebus:x:1:
|
||||
EOF
|
||||
|
||||
"${pkgs.dbus.daemon}/bin/dbus-daemon" --fork \
|
||||
--config-file="${pkgs.dbus.daemon}/share/dbus-1/system.conf"
|
||||
"${pkgs.dbus}/bin/dbus-daemon" --fork \
|
||||
--config-file="${pkgs.dbus}/share/dbus-1/system.conf"
|
||||
|
||||
${guestAdditions}/bin/VBoxService
|
||||
${(attrs.vmScript or (const "")) pkgs}
|
||||
|
|
|
@ -119,7 +119,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||
LC_ALL = "en_US.UTF-8";
|
||||
|
||||
checkInputs = [
|
||||
dbus.daemon
|
||||
dbus
|
||||
gdk-pixbuf
|
||||
glibcLocales
|
||||
hicolor-icon-theme
|
||||
|
@ -154,7 +154,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||
runHook preCheck
|
||||
|
||||
xvfb-run -s '-screen 0 1920x1080x24' \
|
||||
dbus-run-session --config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
||||
dbus-run-session --config-file=${dbus}/share/dbus-1/session.conf \
|
||||
pytest $pytestFlags
|
||||
|
||||
runHook postCheck
|
||||
|
|
|
@ -138,7 +138,7 @@ stdenv.mkDerivation rec {
|
|||
checkPhase = ''
|
||||
export NO_AT_BRIDGE=1
|
||||
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
||||
--config-file=${dbus}/share/dbus-1/session.conf \
|
||||
meson test --print-errorlogs
|
||||
'';
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
|
|||
checkPhase = ''
|
||||
export NO_AT_BRIDGE=1
|
||||
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
||||
--config-file=${dbus}/share/dbus-1/session.conf \
|
||||
meson test --print-errorlogs
|
||||
'';
|
||||
|
||||
|
|
|
@ -98,7 +98,7 @@ stdenv.mkDerivation rec {
|
|||
NO_AT_BRIDGE=1 \
|
||||
XDG_DATA_DIRS=${folks}/share/gsettings-schemas/${folks.name} \
|
||||
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
||||
--config-file=${dbus}/share/dbus-1/session.conf \
|
||||
meson test --print-errorlogs
|
||||
runHook postCheck
|
||||
'';
|
||||
|
|
|
@ -56,11 +56,11 @@ python3.pkgs.buildPythonApplication rec {
|
|||
++ lib.optionals enableOmemoPluginDependencies [ python-axolotl qrcode ]
|
||||
++ extraPythonPackages python3.pkgs;
|
||||
|
||||
checkInputs = [ xvfb-run dbus.daemon ];
|
||||
checkInputs = [ xvfb-run dbus ];
|
||||
|
||||
checkPhase = ''
|
||||
xvfb-run dbus-run-session \
|
||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
||||
--config-file=${dbus}/share/dbus-1/session.conf \
|
||||
${python3.interpreter} -m unittest discover -s test/gtk -v
|
||||
${python3.interpreter} -m unittest discover -s test/no_gui -v
|
||||
'';
|
||||
|
|
|
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ pkg-config libxslt ];
|
||||
buildInputs = [ libxml2 dbus-glib sqlite libsoup libnice telepathy-glib gnutls python2 ];
|
||||
|
||||
checkInputs = [ dbus.daemon ];
|
||||
checkInputs = [ dbus ];
|
||||
|
||||
configureFlags = [ "--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt" ];
|
||||
|
||||
|
|
|
@ -83,7 +83,7 @@ python3Packages.buildPythonApplication rec {
|
|||
done
|
||||
'';
|
||||
|
||||
checkInputs = [ dbus.daemon ];
|
||||
checkInputs = [ dbus ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
wrapGAppsHook
|
||||
|
@ -114,7 +114,7 @@ python3Packages.buildPythonApplication rec {
|
|||
# only need to run a virtual X server + dbus but also have a large enough
|
||||
# resolution, because the Cairo test tries to draw a 200x200 window.
|
||||
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
||||
--config-file=${dbus}/share/dbus-1/session.conf \
|
||||
$out/bin/paperwork-gtk chkdeps
|
||||
|
||||
# content of make test, without the dep on make install
|
||||
|
|
|
@ -133,7 +133,7 @@ stdenv.mkDerivation rec {
|
|||
libdatrie
|
||||
libxkbcommon
|
||||
libepoxy
|
||||
dbus.daemon
|
||||
dbus
|
||||
at-spi2-core
|
||||
libXtst
|
||||
];
|
||||
|
|
|
@ -58,7 +58,7 @@ stdenv.mkDerivation rec {
|
|||
autoPatchelfHook
|
||||
cairo
|
||||
cups.lib
|
||||
dbus.daemon.lib
|
||||
dbus.lib
|
||||
expat
|
||||
gcc-unwrapped
|
||||
gdk-pixbuf
|
||||
|
|
|
@ -101,7 +101,7 @@ stdenv.mkDerivation rec {
|
|||
runHook preCheck
|
||||
export NO_AT_BRIDGE=1
|
||||
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
||||
--config-file=${dbus}/share/dbus-1/session.conf \
|
||||
meson test --print-errorlogs
|
||||
runHook postCheck
|
||||
'';
|
||||
|
|
|
@ -73,7 +73,7 @@ stdenv.mkDerivation rec {
|
|||
checkPhase = ''
|
||||
export HOME=$(mktemp -d)
|
||||
dbus-run-session \
|
||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
||||
--config-file=${dbus}/share/dbus-1/session.conf \
|
||||
make check
|
||||
'';
|
||||
|
||||
|
|
|
@ -129,7 +129,7 @@ stdenv.mkDerivation rec {
|
|||
HOME=$TMPDIR \
|
||||
XDG_DATA_DIRS=$XDG_DATA_DIRS:${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${shared-mime-info}/share:${folks}/share/gsettings-schemas/${folks.name} \
|
||||
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
||||
--config-file=${dbus}/share/dbus-1/session.conf \
|
||||
meson test -v --no-stdsplit
|
||||
|
||||
runHook postCheck
|
||||
|
|
|
@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
|
|||
checkPhase = ''
|
||||
export NO_AT_BRIDGE=1
|
||||
${xvfb-run}/bin/xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
||||
--config-file=${dbus}/share/dbus-1/session.conf \
|
||||
meson test --print-errorlogs
|
||||
'';
|
||||
|
||||
|
|
|
@ -108,7 +108,6 @@ stdenv.mkDerivation rec {
|
|||
|
||||
passthru = {
|
||||
dbus-launch = "${dbus.lib}/bin/dbus-launch";
|
||||
daemon = dbus.out;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -226,7 +226,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
export XDG_RUNTIME_HOME="$TMP"
|
||||
export HOME="$TMP"
|
||||
export XDG_DATA_DIRS="${desktop-file-utils}/share:${shared-mime-info}/share"
|
||||
export G_TEST_DBUS_DAEMON="${dbus.daemon}/bin/dbus-daemon"
|
||||
export G_TEST_DBUS_DAEMON="${dbus}/bin/dbus-daemon"
|
||||
export PATH="$PATH:$(pwd)/gobject"
|
||||
echo "PATH=$PATH"
|
||||
'';
|
||||
|
|
|
@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
|
|||
NO_AT_BRIDGE=1 \
|
||||
XDG_DATA_DIRS="$XDG_DATA_DIRS:${shared-mime-info}/share" \
|
||||
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
||||
--config-file=${dbus}/share/dbus-1/session.conf \
|
||||
make check
|
||||
'';
|
||||
|
||||
|
|
|
@ -79,7 +79,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
XDG_DATA_DIRS="$XDG_DATA_DIRS:${shared-mime-info}/share" \
|
||||
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
||||
--config-file=${dbus}/share/dbus-1/session.conf \
|
||||
meson test --no-rebuild --print-errorlogs
|
||||
|
||||
runHook postCheck
|
||||
|
|
|
@ -81,7 +81,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
XDG_DATA_DIRS="$XDG_DATA_DIRS:${shared-mime-info}/share" \
|
||||
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
||||
--config-file=${dbus}/share/dbus-1/session.conf \
|
||||
meson test --no-rebuild --print-errorlogs
|
||||
|
||||
runHook postCheck
|
||||
|
|
|
@ -61,7 +61,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
checkPhase = ''
|
||||
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
||||
--config-file=${dbus}/share/dbus-1/session.conf \
|
||||
meson test --print-errorlogs
|
||||
'';
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
|
|||
NO_AT_BRIDGE=1 \
|
||||
XDG_DATA_DIRS="$XDG_DATA_DIRS:${hicolor-icon-theme}/share" \
|
||||
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
||||
--config-file=${dbus}/share/dbus-1/session.conf \
|
||||
meson test --print-errorlogs
|
||||
'';
|
||||
|
||||
|
|
|
@ -87,7 +87,7 @@ stdenv.mkDerivation rec {
|
|||
runHook preCheck
|
||||
|
||||
dbus-run-session \
|
||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
||||
--config-file=${dbus}/share/dbus-1/session.conf \
|
||||
meson test --print-errorlogs
|
||||
|
||||
runHook postCheck
|
||||
|
|
|
@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ cmake pkg-config python ];
|
||||
propagatedBuildInputs = [ qtbase telepathy-farstream telepathy-glib ];
|
||||
buildInputs = [ dbus-glib ];
|
||||
checkInputs = [ dbus.daemon dbus-python ];
|
||||
checkInputs = [ dbus dbus-python ];
|
||||
|
||||
# No point in building tests if they are not run
|
||||
# On 0.9.7, they do not even build with QT4
|
||||
|
|
|
@ -117,7 +117,7 @@ stdenv.mkDerivation rec {
|
|||
runHook preCheck
|
||||
|
||||
dbus-run-session \
|
||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
||||
--config-file=${dbus}/share/dbus-1/session.conf \
|
||||
meson test \
|
||||
--timeout-multiplier 2 \
|
||||
--print-errorlogs
|
||||
|
|
|
@ -29,7 +29,7 @@ buildPythonPackage rec {
|
|||
# test_tcp_connection_with_forwarding fails due to dbus
|
||||
# creating unix socket anyway on v1.14.4
|
||||
checkPhase = ''
|
||||
dbus-run-session --config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
||||
dbus-run-session --config-file=${dbus}/share/dbus-1/session.conf \
|
||||
${python.interpreter} -m pytest -sv --cov=dbus_next \
|
||||
-k "not test_peer_interface and not test_tcp_connection_with_forwarding"
|
||||
'';
|
||||
|
|
|
@ -45,7 +45,7 @@ buildPythonPackage {
|
|||
# export NO_AT_BRIDGE=1
|
||||
gsettings set org.gnome.desktop.interface toolkit-accessibility true
|
||||
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
||||
--config-file=${dbus}/share/dbus-1/session.conf \
|
||||
${python.interpreter} nix_run_setup test
|
||||
runHook postCheck
|
||||
'';
|
||||
|
|
|
@ -61,7 +61,7 @@ buildPythonPackage rec {
|
|||
PATH="$TMP/bin:$PATH" pytest
|
||||
'' else if stdenv.isLinux then ''
|
||||
dbus-run-session \
|
||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
||||
--config-file=${dbus}/share/dbus-1/session.conf \
|
||||
pytest
|
||||
'' else ''
|
||||
pytest
|
||||
|
|
|
@ -52,7 +52,7 @@ let
|
|||
nativeBuildInputs = [ makeWrapper ];
|
||||
} ''
|
||||
makeWrapper ${dbus}/bin/dbus-launch $out/bin/dbus-launch \
|
||||
--add-flags --config-file=${dbus.daemon}/share/dbus-1/session.conf
|
||||
--add-flags --config-file=${dbus}/share/dbus-1/session.conf
|
||||
'';
|
||||
in
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
|
|||
# install check instead, when those paths will have been created.
|
||||
doInstallCheck = true;
|
||||
preInstallCheck = ''
|
||||
export G_TEST_DBUS_DAEMON="${dbus.daemon}/bin/dbus-daemon"
|
||||
export G_TEST_DBUS_DAEMON="${dbus}/bin/dbus-daemon"
|
||||
patchShebangs tools/tests/test-wrapper.sh
|
||||
'';
|
||||
installCheckTarget = "check";
|
||||
|
|
Loading…
Reference in a new issue