lol

Merge pull request #202124 from SuperSandro2000/dbus-passthru-daemon

authored by

Sandro and committed by
GitHub
85307723 b7b60a35

+32 -33
+2 -2
nixos/tests/virtualbox.nix
··· 28 messagebus:x:1: 29 EOF 30 31 - "${pkgs.dbus.daemon}/bin/dbus-daemon" --fork \ 32 - --config-file="${pkgs.dbus.daemon}/share/dbus-1/system.conf" 33 34 ${guestAdditions}/bin/VBoxService 35 ${(attrs.vmScript or (const "")) pkgs}
··· 28 messagebus:x:1: 29 EOF 30 31 + "${pkgs.dbus}/bin/dbus-daemon" --fork \ 32 + --config-file="${pkgs.dbus}/share/dbus-1/system.conf" 33 34 ${guestAdditions}/bin/VBoxService 35 ${(attrs.vmScript or (const "")) pkgs}
+2 -2
pkgs/applications/audio/quodlibet/default.nix
··· 119 LC_ALL = "en_US.UTF-8"; 120 121 checkInputs = [ 122 - dbus.daemon 123 gdk-pixbuf 124 glibcLocales 125 hicolor-icon-theme ··· 154 runHook preCheck 155 156 xvfb-run -s '-screen 0 1920x1080x24' \ 157 - dbus-run-session --config-file=${dbus.daemon}/share/dbus-1/session.conf \ 158 pytest $pytestFlags 159 160 runHook postCheck
··· 119 LC_ALL = "en_US.UTF-8"; 120 121 checkInputs = [ 122 + dbus 123 gdk-pixbuf 124 glibcLocales 125 hicolor-icon-theme ··· 154 runHook preCheck 155 156 xvfb-run -s '-screen 0 1920x1080x24' \ 157 + dbus-run-session --config-file=${dbus}/share/dbus-1/session.conf \ 158 pytest $pytestFlags 159 160 runHook postCheck
+1 -1
pkgs/applications/editors/gnome-builder/default.nix
··· 138 checkPhase = '' 139 export NO_AT_BRIDGE=1 140 xvfb-run -s '-screen 0 800x600x24' dbus-run-session \ 141 - --config-file=${dbus.daemon}/share/dbus-1/session.conf \ 142 meson test --print-errorlogs 143 ''; 144
··· 138 checkPhase = '' 139 export NO_AT_BRIDGE=1 140 xvfb-run -s '-screen 0 800x600x24' dbus-run-session \ 141 + --config-file=${dbus}/share/dbus-1/session.conf \ 142 meson test --print-errorlogs 143 ''; 144
+1 -1
pkgs/applications/misc/girara/default.nix
··· 26 checkPhase = '' 27 export NO_AT_BRIDGE=1 28 xvfb-run -s '-screen 0 800x600x24' dbus-run-session \ 29 - --config-file=${dbus.daemon}/share/dbus-1/session.conf \ 30 meson test --print-errorlogs 31 ''; 32
··· 26 checkPhase = '' 27 export NO_AT_BRIDGE=1 28 xvfb-run -s '-screen 0 800x600x24' dbus-run-session \ 29 + --config-file=${dbus}/share/dbus-1/session.conf \ 30 meson test --print-errorlogs 31 ''; 32
+1 -1
pkgs/applications/networking/calls/default.nix
··· 98 NO_AT_BRIDGE=1 \ 99 XDG_DATA_DIRS=${folks}/share/gsettings-schemas/${folks.name} \ 100 xvfb-run -s '-screen 0 800x600x24' dbus-run-session \ 101 - --config-file=${dbus.daemon}/share/dbus-1/session.conf \ 102 meson test --print-errorlogs 103 runHook postCheck 104 '';
··· 98 NO_AT_BRIDGE=1 \ 99 XDG_DATA_DIRS=${folks}/share/gsettings-schemas/${folks.name} \ 100 xvfb-run -s '-screen 0 800x600x24' dbus-run-session \ 101 + --config-file=${dbus}/share/dbus-1/session.conf \ 102 meson test --print-errorlogs 103 runHook postCheck 104 '';
+2 -2
pkgs/applications/networking/instant-messengers/gajim/default.nix
··· 56 ++ lib.optionals enableOmemoPluginDependencies [ python-axolotl qrcode ] 57 ++ extraPythonPackages python3.pkgs; 58 59 - checkInputs = [ xvfb-run dbus.daemon ]; 60 61 checkPhase = '' 62 xvfb-run dbus-run-session \ 63 - --config-file=${dbus.daemon}/share/dbus-1/session.conf \ 64 ${python3.interpreter} -m unittest discover -s test/gtk -v 65 ${python3.interpreter} -m unittest discover -s test/no_gui -v 66 '';
··· 56 ++ lib.optionals enableOmemoPluginDependencies [ python-axolotl qrcode ] 57 ++ extraPythonPackages python3.pkgs; 58 59 + checkInputs = [ xvfb-run dbus ]; 60 61 checkPhase = '' 62 xvfb-run dbus-run-session \ 63 + --config-file=${dbus}/share/dbus-1/session.conf \ 64 ${python3.interpreter} -m unittest discover -s test/gtk -v 65 ${python3.interpreter} -m unittest discover -s test/no_gui -v 66 '';
+1 -1
pkgs/applications/networking/instant-messengers/telepathy/gabble/default.nix
··· 22 nativeBuildInputs = [ pkg-config libxslt python3 ]; 23 buildInputs = [ libxml2 dbus-glib sqlite libsoup libnice telepathy-glib gnutls ]; 24 25 - checkInputs = [ dbus.daemon ]; 26 27 configureFlags = [ "--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt" ]; 28
··· 22 nativeBuildInputs = [ pkg-config libxslt python3 ]; 23 buildInputs = [ libxml2 dbus-glib sqlite libsoup libnice telepathy-glib gnutls ]; 24 25 + checkInputs = [ dbus ]; 26 27 configureFlags = [ "--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt" ]; 28
+2 -2
pkgs/applications/office/paperwork/paperwork-gtk.nix
··· 83 done 84 ''; 85 86 - checkInputs = [ dbus.daemon ]; 87 88 nativeBuildInputs = [ 89 wrapGAppsHook ··· 114 # only need to run a virtual X server + dbus but also have a large enough 115 # resolution, because the Cairo test tries to draw a 200x200 window. 116 xvfb-run -s '-screen 0 800x600x24' dbus-run-session \ 117 - --config-file=${dbus.daemon}/share/dbus-1/session.conf \ 118 $out/bin/paperwork-gtk chkdeps 119 120 # content of make test, without the dep on make install
··· 83 done 84 ''; 85 86 + checkInputs = [ dbus ]; 87 88 nativeBuildInputs = [ 89 wrapGAppsHook ··· 114 # only need to run a virtual X server + dbus but also have a large enough 115 # resolution, because the Cairo test tries to draw a 200x200 window. 116 xvfb-run -s '-screen 0 800x600x24' dbus-run-session \ 117 + --config-file=${dbus}/share/dbus-1/session.conf \ 118 $out/bin/paperwork-gtk chkdeps 119 120 # content of make test, without the dep on make install
+1 -1
pkgs/applications/science/electronics/kicad/base.nix
··· 133 libdatrie 134 libxkbcommon 135 libepoxy 136 - dbus.daemon 137 at-spi2-core 138 libXtst 139 ];
··· 133 libdatrie 134 libxkbcommon 135 libepoxy 136 + dbus 137 at-spi2-core 138 libXtst 139 ];
+1 -1
pkgs/applications/window-managers/phosh/default.nix
··· 103 runHook preCheck 104 export NO_AT_BRIDGE=1 105 xvfb-run -s '-screen 0 800x600x24' dbus-run-session \ 106 - --config-file=${dbus.daemon}/share/dbus-1/session.conf \ 107 meson test --print-errorlogs 108 runHook postCheck 109 '';
··· 103 runHook preCheck 104 export NO_AT_BRIDGE=1 105 xvfb-run -s '-screen 0 800x600x24' dbus-run-session \ 106 + --config-file=${dbus}/share/dbus-1/session.conf \ 107 meson test --print-errorlogs 108 runHook postCheck 109 '';
+1 -1
pkgs/desktops/gnome/core/gnome-keyring/default.nix
··· 73 checkPhase = '' 74 export HOME=$(mktemp -d) 75 dbus-run-session \ 76 - --config-file=${dbus.daemon}/share/dbus-1/session.conf \ 77 make check 78 ''; 79
··· 73 checkPhase = '' 74 export HOME=$(mktemp -d) 75 dbus-run-session \ 76 + --config-file=${dbus}/share/dbus-1/session.conf \ 77 make check 78 ''; 79
+1 -1
pkgs/desktops/gnome/misc/geary/default.nix
··· 129 HOME=$TMPDIR \ 130 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} \ 131 xvfb-run -s '-screen 0 800x600x24' dbus-run-session \ 132 - --config-file=${dbus.daemon}/share/dbus-1/session.conf \ 133 meson test -v --no-stdsplit 134 135 runHook postCheck
··· 129 HOME=$TMPDIR \ 130 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} \ 131 xvfb-run -s '-screen 0 800x600x24' dbus-run-session \ 132 + --config-file=${dbus}/share/dbus-1/session.conf \ 133 meson test -v --no-stdsplit 134 135 runHook postCheck
+1 -1
pkgs/development/libraries/amtk/default.nix
··· 42 checkPhase = '' 43 export NO_AT_BRIDGE=1 44 ${xvfb-run}/bin/xvfb-run -s '-screen 0 800x600x24' dbus-run-session \ 45 - --config-file=${dbus.daemon}/share/dbus-1/session.conf \ 46 meson test --print-errorlogs 47 ''; 48
··· 42 checkPhase = '' 43 export NO_AT_BRIDGE=1 44 ${xvfb-run}/bin/xvfb-run -s '-screen 0 800x600x24' dbus-run-session \ 45 + --config-file=${dbus}/share/dbus-1/session.conf \ 46 meson test --print-errorlogs 47 ''; 48
-1
pkgs/development/libraries/dbus/default.nix
··· 108 109 passthru = { 110 dbus-launch = "${dbus.lib}/bin/dbus-launch"; 111 - daemon = dbus.out; 112 }; 113 114 meta = with lib; {
··· 108 109 passthru = { 110 dbus-launch = "${dbus.lib}/bin/dbus-launch"; 111 }; 112 113 meta = with lib; {
+1 -1
pkgs/development/libraries/glib/default.nix
··· 257 export XDG_RUNTIME_HOME="$TMP" 258 export HOME="$TMP" 259 export XDG_DATA_DIRS="${desktop-file-utils}/share:${shared-mime-info}/share" 260 - export G_TEST_DBUS_DAEMON="${dbus.daemon}/bin/dbus-daemon" 261 export PATH="$PATH:$(pwd)/gobject" 262 echo "PATH=$PATH" 263 '';
··· 257 export XDG_RUNTIME_HOME="$TMP" 258 export HOME="$TMP" 259 export XDG_DATA_DIRS="${desktop-file-utils}/share:${shared-mime-info}/share" 260 + export G_TEST_DBUS_DAEMON="${dbus}/bin/dbus-daemon" 261 export PATH="$PATH:$(pwd)/gobject" 262 echo "PATH=$PATH" 263 '';
+1 -1
pkgs/development/libraries/gtksourceview/3.x.nix
··· 38 NO_AT_BRIDGE=1 \ 39 XDG_DATA_DIRS="$XDG_DATA_DIRS:${shared-mime-info}/share" \ 40 xvfb-run -s '-screen 0 800x600x24' dbus-run-session \ 41 - --config-file=${dbus.daemon}/share/dbus-1/session.conf \ 42 make check 43 ''; 44
··· 38 NO_AT_BRIDGE=1 \ 39 XDG_DATA_DIRS="$XDG_DATA_DIRS:${shared-mime-info}/share" \ 40 xvfb-run -s '-screen 0 800x600x24' dbus-run-session \ 41 + --config-file=${dbus}/share/dbus-1/session.conf \ 42 make check 43 ''; 44
+1 -1
pkgs/development/libraries/gtksourceview/4.x.nix
··· 86 87 XDG_DATA_DIRS="$XDG_DATA_DIRS:${shared-mime-info}/share" \ 88 xvfb-run -s '-screen 0 800x600x24' dbus-run-session \ 89 - --config-file=${dbus.daemon}/share/dbus-1/session.conf \ 90 meson test --no-rebuild --print-errorlogs 91 92 runHook postCheck
··· 86 87 XDG_DATA_DIRS="$XDG_DATA_DIRS:${shared-mime-info}/share" \ 88 xvfb-run -s '-screen 0 800x600x24' dbus-run-session \ 89 + --config-file=${dbus}/share/dbus-1/session.conf \ 90 meson test --no-rebuild --print-errorlogs 91 92 runHook postCheck
+1 -1
pkgs/development/libraries/gtksourceview/5.x.nix
··· 88 89 XDG_DATA_DIRS="$XDG_DATA_DIRS:${shared-mime-info}/share" \ 90 xvfb-run -s '-screen 0 800x600x24' dbus-run-session \ 91 - --config-file=${dbus.daemon}/share/dbus-1/session.conf \ 92 meson test --no-rebuild --print-errorlogs 93 94 runHook postCheck
··· 88 89 XDG_DATA_DIRS="$XDG_DATA_DIRS:${shared-mime-info}/share" \ 90 xvfb-run -s '-screen 0 800x600x24' dbus-run-session \ 91 + --config-file=${dbus}/share/dbus-1/session.conf \ 92 meson test --no-rebuild --print-errorlogs 93 94 runHook postCheck
+1 -1
pkgs/development/libraries/libdazzle/default.nix
··· 61 62 checkPhase = '' 63 xvfb-run -s '-screen 0 800x600x24' dbus-run-session \ 64 - --config-file=${dbus.daemon}/share/dbus-1/session.conf \ 65 meson test --print-errorlogs 66 ''; 67
··· 61 62 checkPhase = '' 63 xvfb-run -s '-screen 0 800x600x24' dbus-run-session \ 64 + --config-file=${dbus}/share/dbus-1/session.conf \ 65 meson test --print-errorlogs 66 ''; 67
+1 -1
pkgs/development/libraries/libhandy/0.x.nix
··· 39 NO_AT_BRIDGE=1 \ 40 XDG_DATA_DIRS="$XDG_DATA_DIRS:${hicolor-icon-theme}/share" \ 41 xvfb-run -s '-screen 0 800x600x24' dbus-run-session \ 42 - --config-file=${dbus.daemon}/share/dbus-1/session.conf \ 43 meson test --print-errorlogs 44 ''; 45
··· 39 NO_AT_BRIDGE=1 \ 40 XDG_DATA_DIRS="$XDG_DATA_DIRS:${hicolor-icon-theme}/share" \ 41 xvfb-run -s '-screen 0 800x600x24' dbus-run-session \ 42 + --config-file=${dbus}/share/dbus-1/session.conf \ 43 meson test --print-errorlogs 44 ''; 45
+1 -1
pkgs/development/libraries/libsecret/default.nix
··· 87 runHook preCheck 88 89 dbus-run-session \ 90 - --config-file=${dbus.daemon}/share/dbus-1/session.conf \ 91 meson test --print-errorlogs 92 93 runHook postCheck
··· 87 runHook preCheck 88 89 dbus-run-session \ 90 + --config-file=${dbus}/share/dbus-1/session.conf \ 91 meson test --print-errorlogs 92 93 runHook postCheck
+1 -1
pkgs/development/libraries/telepathy/qt/default.nix
··· 26 nativeBuildInputs = [ cmake pkg-config python ]; 27 propagatedBuildInputs = [ qtbase telepathy-farstream telepathy-glib ]; 28 buildInputs = [ dbus-glib ]; 29 - checkInputs = [ dbus.daemon dbus-python ]; 30 31 # No point in building tests if they are not run 32 # On 0.9.7, they do not even build with QT4
··· 26 nativeBuildInputs = [ cmake pkg-config python ]; 27 propagatedBuildInputs = [ qtbase telepathy-farstream telepathy-glib ]; 28 buildInputs = [ dbus-glib ]; 29 + checkInputs = [ dbus dbus-python ]; 30 31 # No point in building tests if they are not run 32 # On 0.9.7, they do not even build with QT4
+1 -1
pkgs/development/libraries/tracker/default.nix
··· 117 runHook preCheck 118 119 dbus-run-session \ 120 - --config-file=${dbus.daemon}/share/dbus-1/session.conf \ 121 meson test \ 122 --timeout-multiplier 2 \ 123 --print-errorlogs
··· 117 runHook preCheck 118 119 dbus-run-session \ 120 + --config-file=${dbus}/share/dbus-1/session.conf \ 121 meson test \ 122 --timeout-multiplier 2 \ 123 --print-errorlogs
+1 -1
pkgs/development/python-modules/dbus-next/default.nix
··· 29 # test_tcp_connection_with_forwarding fails due to dbus 30 # creating unix socket anyway on v1.14.4 31 checkPhase = '' 32 - dbus-run-session --config-file=${dbus.daemon}/share/dbus-1/session.conf \ 33 ${python.interpreter} -m pytest -sv --cov=dbus_next \ 34 -k "not test_peer_interface and not test_tcp_connection_with_forwarding" 35 '';
··· 29 # test_tcp_connection_with_forwarding fails due to dbus 30 # creating unix socket anyway on v1.14.4 31 checkPhase = '' 32 + dbus-run-session --config-file=${dbus}/share/dbus-1/session.conf \ 33 ${python.interpreter} -m pytest -sv --cov=dbus_next \ 34 -k "not test_peer_interface and not test_tcp_connection_with_forwarding" 35 '';
+1 -1
pkgs/development/python-modules/dogtail/default.nix
··· 45 # export NO_AT_BRIDGE=1 46 gsettings set org.gnome.desktop.interface toolkit-accessibility true 47 xvfb-run -s '-screen 0 800x600x24' dbus-run-session \ 48 - --config-file=${dbus.daemon}/share/dbus-1/session.conf \ 49 ${python.interpreter} nix_run_setup test 50 runHook postCheck 51 '';
··· 45 # export NO_AT_BRIDGE=1 46 gsettings set org.gnome.desktop.interface toolkit-accessibility true 47 xvfb-run -s '-screen 0 800x600x24' dbus-run-session \ 48 + --config-file=${dbus}/share/dbus-1/session.conf \ 49 ${python.interpreter} nix_run_setup test 50 runHook postCheck 51 '';
+1 -1
pkgs/development/python-modules/notify-py/default.nix
··· 61 PATH="$TMP/bin:$PATH" pytest 62 '' else if stdenv.isLinux then '' 63 dbus-run-session \ 64 - --config-file=${dbus.daemon}/share/dbus-1/session.conf \ 65 pytest 66 '' else '' 67 pytest
··· 61 PATH="$TMP/bin:$PATH" pytest 62 '' else if stdenv.isLinux then '' 63 dbus-run-session \ 64 + --config-file=${dbus}/share/dbus-1/session.conf \ 65 pytest 66 '' else '' 67 pytest
+1 -1
pkgs/tools/inputmethods/ibus/default.nix
··· 52 nativeBuildInputs = [ makeWrapper ]; 53 } '' 54 makeWrapper ${dbus}/bin/dbus-launch $out/bin/dbus-launch \ 55 - --add-flags --config-file=${dbus.daemon}/share/dbus-1/session.conf 56 ''; 57 in 58
··· 52 nativeBuildInputs = [ makeWrapper ]; 53 } '' 54 makeWrapper ${dbus}/bin/dbus-launch $out/bin/dbus-launch \ 55 + --add-flags --config-file=${dbus}/share/dbus-1/session.conf 56 ''; 57 in 58
+1 -1
pkgs/tools/networking/modemmanager/default.nix
··· 42 # install check instead, when those paths will have been created. 43 doInstallCheck = true; 44 preInstallCheck = '' 45 - export G_TEST_DBUS_DAEMON="${dbus.daemon}/bin/dbus-daemon" 46 patchShebangs tools/tests/test-wrapper.sh 47 ''; 48 installCheckTarget = "check";
··· 42 # install check instead, when those paths will have been created. 43 doInstallCheck = true; 44 preInstallCheck = '' 45 + export G_TEST_DBUS_DAEMON="${dbus}/bin/dbus-daemon" 46 patchShebangs tools/tests/test-wrapper.sh 47 ''; 48 installCheckTarget = "check";