lol

dbus: split into multiple outputs and fix referrers

+92 -167
+1 -1
nixos/modules/services/x11/display-managers/default.nix
··· 52 52 53 53 ${optionalString cfg.startDbusSession '' 54 54 if test -z "$DBUS_SESSION_BUS_ADDRESS"; then 55 - exec ${pkgs.dbus.tools}/bin/dbus-launch --exit-with-session "$0" "$sessionType" 55 + exec ${pkgs.dbus.dbus-launch} --exit-with-session "$0" "$sessionType" 56 56 fi 57 57 ''} 58 58
+2 -2
pkgs/applications/misc/roxterm/default.nix
··· 25 25 [ dbus_libs dbus_glib gdk_pixbuf gettext gsettings_desktop_schemas gtk2 gtk3 hicolor_icon_theme vte ]; 26 26 27 27 NIX_CFLAGS_COMPILE = [ "-I${dbus_glib.dev}/include/dbus-1.0" 28 - "-I${dbus_libs}/include/dbus-1.0" 29 - "-I${dbus_libs}/lib/dbus-1.0/include" ]; 28 + "-I${dbus_libs.dev}/include/dbus-1.0" 29 + "-I${dbus_libs.lib}/lib/dbus-1.0/include" ]; 30 30 31 31 # Fix up python path so the lockfile library is on it. 32 32 PYTHONPATH = stdenv.lib.makeSearchPath "lib/${pythonFull.libPrefix}/site-packages" [
+2 -2
pkgs/applications/networking/instant-messengers/telepathy/kde/default.nix
··· 12 12 NIX_CFLAGS_COMPILE = 13 13 "-I${telepathy_glib}/include/telepathy-1.0" 14 14 + " -I${dbus_glib.dev}/include/dbus-1.0" 15 - + " -I${dbus_libs}/include/dbus-1.0"; 15 + + " -I${dbus_libs.dev}/include/dbus-1.0"; 16 16 }; 17 17 telepathy_logger_qt = x : x // { 18 - NIX_CFLAGS_COMPILE = "-I${dbus_libs}/include/dbus-1.0"; 18 + NIX_CFLAGS_COMPILE = "-I${dbus_libs.dev}/include/dbus-1.0"; 19 19 }; 20 20 }; 21 21
+1 -1
pkgs/applications/networking/instant-messengers/telepathy/logger/default.nix
··· 10 10 sha256 = "18i00l8lnp5dghqmgmpxnn0is2a20pkisxy0sb78hnd2dz0z6xnl"; 11 11 }; 12 12 13 - NIX_CFLAGS_COMPILE = "-I${dbus_glib.dev}/include/dbus-1.0 -I${dbus_libs}/include/dbus-1.0"; 13 + NIX_CFLAGS_COMPILE = "-I${dbus_glib.dev}/include/dbus-1.0 -I${dbus_libs.dev}/include/dbus-1.0"; 14 14 15 15 buildInputs = [ dbus_glib libxml2 sqlite telepathy_glib pkgconfig intltool 16 16 gobjectIntrospection dbus_libs ];
+1 -1
pkgs/applications/virtualization/virtualbox/default.nix
··· 85 85 ls kBuild/bin/linux.amd64/k* tools/linux.amd64/bin/* | xargs -n 1 patchelf --set-interpreter ${stdenv.glibc.out}/lib/ld-linux-x86-64.so.2 86 86 find . -type f -iname '*makefile*' -exec sed -i -e 's/depmod -a/:/g' {} + 87 87 sed -i -e ' 88 - s@"libdbus-1\.so\.3"@"${dbus.out}/lib/libdbus-1.so.3"@g 88 + s@"libdbus-1\.so\.3"@"${dbus.lib}/lib/libdbus-1.so.3"@g 89 89 s@"libasound\.so\.2"@"${alsaLib.out}/lib/libasound.so.2"@g 90 90 ${optionalString pulseSupport '' 91 91 s@"libpulse\.so\.0"@"${libpulseaudio.out}/lib/libpulse.so.0"@g
+1 -1
pkgs/applications/virtualization/virtualbox/guest-additions/default.nix
··· 75 75 76 76 for i in lib/VBoxOGL*.so 77 77 do 78 - patchelf --set-rpath $out/lib:${dbus}/lib $i 78 + patchelf --set-rpath $out/lib:${dbus.lib}/lib $i 79 79 done 80 80 81 81 # FIXME: Virtualbox 4.3.22 moved VBoxClient-all (required by Guest Additions
+1 -1
pkgs/applications/window-managers/weston/default.nix
··· 17 17 nativeBuildInputs = [ pkgconfig ]; 18 18 buildInputs = [ 19 19 wayland mesa libxkbcommon cairo libxcb libXcursor xlibsWrapper udev libdrm 20 - mtdev libjpeg pam dbus.libs libinput pango libunwind freerdp vaapi libva 20 + mtdev libjpeg pam dbus libinput pango libunwind freerdp vaapi libva 21 21 libwebp 22 22 ]; 23 23
+1 -1
pkgs/desktops/e19/efl.nix
··· 28 28 "--disable-tslib" "--with-systemdunitdir=$out/systemd/user" 29 29 "ac_ct_CXX=foo" ]; 30 30 31 - NIX_CFLAGS_COMPILE = [ "-I${xorg.libXtst}" "-I${dbus_libs}/include/dbus-1.0" "-I${dbus_libs}/lib/dbus-1.0/include" ]; 31 + NIX_CFLAGS_COMPILE = [ "-I${xorg.libXtst}" "-I${dbus_libs.dev}/include/dbus-1.0" "-I${dbus_libs.lib}/lib/dbus-1.0/include" ]; 32 32 33 33 patches = [ ./efl-elua.patch ]; 34 34
+1 -1
pkgs/desktops/gnome-2/desktop/gnome-keyring/default.nix
··· 9 9 sha256 = "02r9gv3a4a705jf3h7c0bizn33c73wz0iw2500m7z291nrnmqkmj"; 10 10 }; 11 11 12 - buildInputs = [ dbus.libs libgcrypt pam python gtk GConf libgnome_keyring ]; 12 + buildInputs = [ dbus libgcrypt pam python gtk GConf libgnome_keyring ]; 13 13 14 14 propagatedBuildInputs = [ glib libtasn1 ]; 15 15
+2 -2
pkgs/desktops/gnome-3/3.16/core/empathy/default.nix
··· 36 36 file libtool librsvg ]; 37 37 38 38 NIX_CFLAGS_COMPILE = [ "-I${dbus_glib.dev}/include/dbus-1.0" 39 - "-I${dbus_libs}/include/dbus-1.0" 40 - "-I${dbus_libs}/lib/dbus-1.0/include" ]; 39 + "-I${dbus_libs.dev}/include/dbus-1.0" 40 + "-I${dbus_libs.lib}/lib/dbus-1.0/include" ]; 41 41 42 42 preFixup = '' 43 43 for f in $out/bin/* $out/libexec/*; do
+1 -1
pkgs/desktops/gnome-3/3.16/core/gdm/3.16-wip/default.nix
··· 13 13 preConfigure = '' 14 14 substituteInPlace ./configure --replace "/usr/bin/X" "${xorg.xorgserver}/bin/X" 15 15 substituteInPlace daemon/gdm-simple-slave.c --replace 'BINDIR "/gnome-session' '"${gnome_session}/bin/gnome-session' 16 - substituteInPlace daemon/gdm-launch-environment.c --replace 'BINDIR "/dbus-launch' '"${dbus.tools}/bin/dbus-launch' 16 + substituteInPlace daemon/gdm-launch-environment.c --replace 'BINDIR "/dbus-launch' '"${dbus.dbus-launch}' 17 17 substituteInPlace data/gdm.conf-custom.in --replace '#WaylandEnable=false' 'WaylandEnable=false' 18 18 sed 's/#Enable=true/Enable=true/' -i data/gdm.conf-custom.in 19 19 '';
+1 -1
pkgs/desktops/gnome-3/3.16/core/gnome-online-accounts/default.nix
··· 12 12 sha256 = "1mpzj6fc42hhx77lki8cdycgfj9gjrm611rh0wsaqam4qq2c9a9c"; 13 13 }; 14 14 15 - NIX_CFLAGS_COMPILE = "-I${dbus_glib.dev}/include/dbus-1.0 -I${dbus_libs}/include/dbus-1.0"; 15 + NIX_CFLAGS_COMPILE = "-I${dbus_glib.dev}/include/dbus-1.0 -I${dbus_libs.dev}/include/dbus-1.0"; 16 16 17 17 enableParallelBuilding = true; 18 18
+1 -1
pkgs/desktops/gnome-3/3.16/misc/gpaste/default.nix
··· 11 11 }; 12 12 13 13 buildInputs = [ intltool autoreconfHook pkgconfig vala glib 14 - gtk3 gnome3.gnome_control_center dbus.libs 14 + gtk3 gnome3.gnome_control_center dbus 15 15 clutter pango appstream-glib makeWrapper ]; 16 16 17 17 preConfigure = "intltoolize -f";
+2 -2
pkgs/desktops/gnome-3/3.18/core/empathy/default.nix
··· 36 36 file libtool librsvg ]; 37 37 38 38 NIX_CFLAGS_COMPILE = [ "-I${dbus_glib.dev}/include/dbus-1.0" 39 - "-I${dbus_libs}/include/dbus-1.0" 40 - "-I${dbus_libs}/lib/dbus-1.0/include" ]; 39 + "-I${dbus_libs.dev}/include/dbus-1.0" 40 + "-I${dbus_libs.lib}/lib/dbus-1.0/include" ]; 41 41 42 42 preFixup = '' 43 43 for f in $out/bin/* $out/libexec/*; do
+1 -1
pkgs/desktops/gnome-3/3.18/core/gdm/3.16-wip/default.nix
··· 13 13 preConfigure = '' 14 14 substituteInPlace ./configure --replace "/usr/bin/X" "${xorg.xorgserver}/bin/X" 15 15 substituteInPlace daemon/gdm-simple-slave.c --replace 'BINDIR "/gnome-session' '"${gnome_session}/bin/gnome-session' 16 - substituteInPlace daemon/gdm-launch-environment.c --replace 'BINDIR "/dbus-launch' '"${dbus.tools}/bin/dbus-launch' 16 + substituteInPlace daemon/gdm-launch-environment.c --replace 'BINDIR "/dbus-launch' '"${dbus.dbus-launch}' 17 17 substituteInPlace data/gdm.conf-custom.in --replace '#WaylandEnable=false' 'WaylandEnable=false' 18 18 sed 's/#Enable=true/Enable=true/' -i data/gdm.conf-custom.in 19 19 '';
+1 -1
pkgs/desktops/gnome-3/3.18/core/gnome-online-accounts/default.nix
··· 7 7 stdenv.mkDerivation rec { 8 8 inherit (import ./src.nix fetchurl) name src; 9 9 10 - NIX_CFLAGS_COMPILE = "-I${dbus_glib.dev}/include/dbus-1.0 -I${dbus_libs}/include/dbus-1.0"; 10 + NIX_CFLAGS_COMPILE = "-I${dbus_glib.dev}/include/dbus-1.0 -I${dbus_libs.dev}/include/dbus-1.0"; 11 11 12 12 enableParallelBuilding = true; 13 13
+1 -1
pkgs/desktops/gnome-3/3.18/misc/gpaste/default.nix
··· 11 11 }; 12 12 13 13 buildInputs = [ intltool autoreconfHook pkgconfig vala glib 14 - gtk3 gnome3.gnome_control_center dbus.libs 14 + gtk3 gnome3.gnome_control_center dbus 15 15 clutter pango appstream-glib makeWrapper ]; 16 16 17 17 preConfigure = "intltoolize -f";
+1 -1
pkgs/desktops/plasma-5.3/default.nix
··· 236 236 inherit (scope) bash coreutils gnused gnugrep socat; 237 237 inherit (scope) kconfig kinit kservice qt5tools; 238 238 inherit (scope.xorg) mkfontdir xmessage xprop xrdb xset xsetroot; 239 - dbus_tools = scope.dbus.tools; 239 + inherit (scope.dbus) dbus-launch; 240 240 kde_workspace = kdeApps.kde-workspace; 241 241 postPatch = '' 242 242 substituteInPlace startkde/kstartupconfig/kstartupconfig.cpp \
+1 -1
pkgs/desktops/plasma-5.3/plasma-workspace/0001-startkde-NixOS-patches.patch
··· 180 180 +# Make sure that D-Bus is running 181 181 +# D-Bus autolaunch is broken 182 182 +if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then 183 - + eval `@dbus_tools@/bin/dbus-launch --sh-syntax --exit-with-session` 183 + + eval `@dbus-launch@ --sh-syntax --exit-with-session` 184 184 +fi 185 185 +if @qt5tools@/bin/qdbus >/dev/null 2>/dev/null; then 186 186 + : # ok
+1 -1
pkgs/desktops/plasma-5.4/plasma-workspace/0001-startkde-NixOS-patches.patch
··· 180 180 +# Make sure that D-Bus is running 181 181 +# D-Bus autolaunch is broken 182 182 +if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then 183 - + eval `@dbus_tools@/bin/dbus-launch --sh-syntax --exit-with-session` 183 + + eval `@dbus-launch@ --sh-syntax --exit-with-session` 184 184 +fi 185 185 +if @qttools@/bin/qdbus >/dev/null 2>/dev/null; then 186 186 + : # ok
+3 -2
pkgs/desktops/plasma-5.4/plasma-workspace/default.nix
··· 44 44 , kinit 45 45 , kservice 46 46 , qttools 47 - , dbus_tools 47 + , dbus 48 48 , mkfontdir 49 49 , xmessage 50 50 , xprop ··· 101 101 102 102 inherit bash coreutils gnused gnugrep socat; 103 103 inherit kconfig kinit kservice qttools; 104 - inherit dbus_tools mkfontdir xmessage xprop xrdb xset xsetroot; 104 + inherit mkfontdir xmessage xprop xrdb xset xsetroot; 105 + inherit (dbus) dbus-launch; 105 106 postPatch = '' 106 107 substituteAllInPlace startkde/startkde.cmake 107 108 substituteInPlace startkde/kstartupconfig/kstartupconfig.cpp \
+1 -1
pkgs/development/libraries/dbus-glib/default.nix
··· 15 15 16 16 buildInputs = [ expat libiconv ]; 17 17 18 - propagatedBuildInputs = [ dbus.libs glib ]; 18 + propagatedBuildInputs = [ dbus glib ]; 19 19 20 20 doCheck = true; 21 21
+44 -76
pkgs/development/libraries/dbus/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, autoconf, automake, libtool 2 - , expat, systemd, glib, dbus_glib, python 1 + { stdenv, lib, fetchurl, pkgconfig, expat, systemd, glib, dbus_glib, python 3 2 , libX11 ? null, libICE ? null, libSM ? null, x11Support ? (stdenv.isLinux || stdenv.isDarwin) }: 4 3 5 4 assert x11Support -> libX11 != null ··· 10 9 version = "1.8.20"; 11 10 sha256 = "0fkh3d5r57a659hw9lqnw4v0bc5556vx54fsf7l9c732ci6byksw"; 12 11 13 - inherit (stdenv) lib; 14 - 15 - buildInputsX = lib.optionals x11Support [ libX11 libICE libSM ]; 16 - 17 - # also other parts than "libs" need this statically linked lib 18 - makeInternalLib = "(cd dbus && make libdbus-internal.la)"; 19 - 20 - systemdOrEmpty = lib.optional stdenv.isLinux systemd; 21 - 22 - # A generic builder for individual parts (subdirs) of D-Bus 23 - dbus_drv = name: subdirs: merge: stdenv.mkDerivation (lib.mergeAttrsByFuncDefaultsClean [{ 24 - 25 - name = "dbus-${name}-${version}"; 12 + self = stdenv.mkDerivation { 13 + name = "dbus-${version}"; 26 14 27 15 src = fetchurl { 28 16 url = "http://dbus.freedesktop.org/releases/dbus/dbus-${version}.tar.gz"; 29 17 inherit sha256; 30 18 }; 31 19 32 - patches = [ 33 - ./ignore-missing-includedirs.patch 34 - ./ucred-dirty-hack.patch 35 - ./no-create-dirs.patch 36 - ] 37 - ++ lib.optional (stdenv.isSunOS || stdenv.isLinux) ./implement-getgrouplist.patch 38 - ; 20 + patches = [ ./ignore-missing-includedirs.patch ] 21 + ++ lib.optional stdenv.isSunOS ./implement-getgrouplist.patch; 22 + postPatch = '' 23 + substituteInPlace tools/Makefile.in \ 24 + --replace 'install-localstatelibDATA:' 'disabled:' \ 25 + --replace 'install-data-local:' 'disabled:' \ 26 + --replace 'installcheck-local:' 'disabled:' 27 + substituteInPlace bus/Makefile.in \ 28 + --replace '$(mkinstalldirs) $(DESTDIR)$(localstatedir)/run/dbus' ':' 29 + '' + /* cleanup of runtime references */ '' 30 + substituteInPlace ./dbus/dbus-sysdeps-unix.c \ 31 + --replace 'DBUS_BINDIR "/dbus-launch"' "\"$lib/bin/dbus-launch\"" 32 + substituteInPlace ./tools/dbus-launch.c \ 33 + --replace 'DBUS_DAEMONDIR"/dbus-daemon"' '"/run/current-system/sw/bin/dbus-daemon"' 34 + ''; 39 35 40 - # build only the specified subdirs 41 - postPatch = "sed '/SUBDIRS/s/=.*/=" + subdirs + "/' -i Makefile.am\n" 42 - # use already packaged libdbus instead of trying to build it again 43 - + lib.optionalString (name != "libs") '' 44 - for mfile in */Makefile.am; do 45 - sed 's,\$(top_builddir)/dbus/\(libdbus-[0-9]\),${libs}/lib/\1,g' -i "$mfile" 46 - done 47 - ''; 36 + outputs = [ "dev" "out" "lib" "doc" ]; 48 37 49 38 nativeBuildInputs = [ pkgconfig ]; 50 39 propagatedBuildInputs = [ expat ]; 51 - buildInputs = [ autoconf automake libtool ]; # ToDo: optional selinux? 52 - 53 - preConfigure = '' 54 - patchShebangs . 55 - substituteInPlace tools/Makefile.am --replace 'install-localstatelibDATA:' 'disabled:' 56 - autoreconf -fi 57 - ''; 40 + buildInputs = lib.optional stdenv.isLinux systemd 41 + ++ lib.optionals x11Support [ libX11 libICE libSM ]; 42 + # ToDo: optional selinux? 58 43 59 44 configureFlags = [ 60 45 "--localstatedir=/var" 61 46 "--sysconfdir=/etc" 62 47 "--with-session-socket-dir=/tmp" 63 48 "--with-systemdsystemunitdir=$(out)/etc/systemd/system" 49 + # this package installs nothing into those dirs and they create a dependency 50 + "--datadir=/run/current-system/sw/share" 51 + "--libexecdir=$(out)/libexec" # we don't need dbus-daemon-launch-helper 64 52 ] ++ lib.optional (!x11Support) "--without-x"; 65 53 66 - enableParallelBuilding = true; 67 - 68 - doCheck = true; 69 - 70 - installFlags = "sysconfdir=$(out)/etc"; 71 - 72 - } merge ]); 73 - 74 - libs = dbus_drv "libs" "dbus" { 75 54 # Enable X11 autolaunch support in libdbus. This doesn't actually depend on X11 76 55 # (it just execs dbus-launch in dbus.tools), contrary to what the configure script demands. 77 56 NIX_CFLAGS_COMPILE = "-DDBUS_ENABLE_X11_AUTOLAUNCH=1"; 78 - buildInputs = [ systemdOrEmpty ]; 79 - meta.platforms = stdenv.lib.platforms.all; 80 - }; 81 - 57 + NIX_CFLAGS_LINK = lib.optionalString (!stdenv.isDarwin) "-Wl,--as-needed"; 82 58 83 - attrs = rec { 84 - # If you change much fix indentation 59 + enableParallelBuilding = true; 85 60 86 - # This package has been split because most applications only need dbus.lib 87 - # which serves as an interface to a *system-wide* daemon, 88 - # see e.g. http://en.wikipedia.org/wiki/D-Bus#Architecture . 61 + doCheck = true; 89 62 90 - inherit libs; 91 - 92 - tools = dbus_drv "tools" "tools bus" { 93 - preBuild = makeInternalLib; 94 - buildInputs = buildInputsX ++ systemdOrEmpty ++ [ libs ]; 95 - NIX_CFLAGS_LINK = 96 - stdenv.lib.optionalString (!stdenv.isDarwin) "-Wl,--as-needed " 97 - + "-ldbus-1"; 63 + installFlags = "sysconfdir=$(out)/etc datadir=$(out)/share"; 98 64 99 - # don't provide another dbus-1.pc (with incorrect include and link dirs), 100 - # also remove useless empty dirs 101 - postInstall = '' 102 - rm "$out"/lib/pkgconfig/dbus-1.pc 103 - rmdir --parents --ignore-fail-on-non-empty "$out"/{lib/pkgconfig,share/dbus-1/*} 65 + # it's executed from $lib by absolute path 66 + postFixup = '' 67 + _moveToOutput bin/dbus-launch "$lib" 68 + ln -s "$lib/bin/dbus-launch" "$out/bin/" 104 69 ''; 105 70 106 - meta.platforms = with stdenv.lib.platforms; allBut darwin; 107 - }; 108 - 109 - daemon = tools; 71 + passthru = { 72 + dbus-launch = "${self.lib}/bin/dbus-launch"; 73 + daemon = self.out; 74 + }; 110 75 111 - docs = dbus_drv "docs" "doc" { 112 - postInstall = ''rm -r "$out/lib"''; 76 + meta = with stdenv.lib; { 77 + description = "Simple interprocess messaging system"; 78 + homepage = http://www.freedesktop.org/wiki/Software/dbus/; 79 + license = licenses.gpl2Plus; # most is also under AFL-2.1 80 + platforms = platforms.unix; 81 + }; 113 82 }; 114 - }; 115 - in attrs.libs // attrs 83 + in self 116 84
-26
pkgs/development/libraries/dbus/no-create-dirs.patch
··· 1 - diff --git a/bus/Makefile.am b/bus/Makefile.am 2 - index 6cbc09a..be60bb8 100644 3 - --- a/bus/Makefile.am 4 - +++ b/bus/Makefile.am 5 - @@ -212,7 +212,6 @@ clean-local: 6 - /bin/rm *.bb *.bbg *.da *.gcov || true 7 - 8 - install-data-hook: 9 - - $(mkinstalldirs) $(DESTDIR)$(localstatedir)/run/dbus 10 - $(mkinstalldirs) $(DESTDIR)$(configdir)/system.d 11 - $(mkinstalldirs) $(DESTDIR)$(configdir)/session.d 12 - $(mkinstalldirs) $(DESTDIR)$(datadir)/dbus-1/services 13 - diff --git a/tools/Makefile.am b/tools/Makefile.am 14 - index cfd54b8..b6e28f9 100644 15 - --- a/tools/Makefile.am 16 - +++ b/tools/Makefile.am 17 - @@ -74,7 +74,7 @@ CLEANFILES = \ 18 - 19 - # create the /var/lib/dbus directory for dbus-uuidgen 20 - install-data-local: 21 - - $(MKDIR_P) $(DESTDIR)$(localstatedir)/lib/dbus 22 - + : 23 - 24 - installcheck-local: 25 - - test -d $(DESTDIR)$(localstatedir)/lib/dbus 26 - + :
-18
pkgs/development/libraries/dbus/ucred-dirty-hack.patch
··· 1 - diff --git a/dbus/dbus-sysdeps-unix.c b/dbus/dbus-sysdeps-unix.c 2 - index b4ecc96..267984a 100644 3 - --- a/dbus/dbus-sysdeps-unix.c 4 - +++ b/dbus/dbus-sysdeps-unix.c 5 - @@ -1635,6 +1635,13 @@ write_credentials_byte (int server_fd, 6 - } 7 - } 8 - 9 - +struct ucred 10 - +{ 11 - + pid_t pid; /* PID of sending process. */ 12 - + uid_t uid; /* UID of sending process. */ 13 - + gid_t gid; /* GID of sending process. */ 14 - +}; 15 - + 16 - /** 17 - * Reads a single byte which must be nul (an error occurs otherwise), 18 - * and reads unix credentials if available. Clears the credentials
+1 -1
pkgs/development/libraries/gvfs/default.nix
··· 19 19 nativeBuildInputs = [ pkgconfig intltool libtool ]; 20 20 21 21 buildInputs = 22 - [ makeWrapper glib dbus.libs udev libgudev udisks2 libgcrypt 22 + [ makeWrapper glib dbus udev libgudev udisks2 libgcrypt 23 23 libgphoto2 avahi libarchive fuse libcdio 24 24 libxml2 libxslt docbook_xsl samba libmtp 25 25 # ToDo: a ligther version of libsoup to have FTP/HTTP support?
+1 -1
pkgs/development/libraries/policykit/default.nix
··· 12 12 buildInputs = 13 13 [ pkgconfig glib dbus_glib pam intltool gettext libxslt ]; 14 14 15 - propagatedBuildInputs = [ expat dbus.libs ]; 15 + propagatedBuildInputs = [ expat dbus ]; 16 16 17 17 configureFlags = "--localstatedir=/var --sysconfdir=/etc"; 18 18
+1 -1
pkgs/development/libraries/qt-4.x/4.8/default.nix
··· 117 117 118 118 propagatedBuildInputs = 119 119 [ libXrender libXrandr libXinerama libXcursor libXext libXfixes libXv libXi 120 - libSM zlib libpng openssl dbus.libs freetype fontconfig glib ] 120 + libSM zlib libpng openssl dbus freetype fontconfig glib ] 121 121 # Qt doesn't directly need GLU (just GL), but many apps use, it's small and doesn't remain a runtime-dep if not used 122 122 ++ optional mesaSupported mesa_glu 123 123 ++ optional ((buildWebkit || buildMultimedia) && stdenv.isLinux ) alsaLib
+2 -2
pkgs/development/libraries/qt-5/5.4/qtbase.nix
··· 71 71 ./0006-tzdir.patch 72 72 (substituteAll { src = ./0010-dlopen-libXcursor.patch; libXcursor = libXcursor.out; }) 73 73 (substituteAll { src = ./0011-dlopen-openssl.patch; openssl = openssl.out; }) 74 - (substituteAll { src = ./0012-dlopen-dbus.patch; dbus_libs = dbus.libs.out; }) 74 + (substituteAll { src = ./0012-dlopen-dbus.patch; dbus_libs = dbus.lib; }) 75 75 ./0013-xdg_config_dirs.patch 76 76 ] ++ optional mesaSupported 77 77 (substituteAll { src = ./0014-mkspecs-libgl.patch; mesa_inc = mesa.dev; mesa_lib = mesa.out; }) ··· 166 166 167 167 propagatedBuildInputs = [ 168 168 xorg.libXcomposite libX11 libxcb libXext libXrender libXi 169 - fontconfig freetype openssl dbus.libs glib udev libxml2 libxslt pcre 169 + fontconfig freetype openssl dbus glib udev libxml2 libxslt pcre 170 170 zlib libjpeg libpng libtiff sqlite icu 171 171 xcbutil xcbutilimage xcbutilkeysyms xcbutilwm libxkbcommon 172 172 ]
+2 -2
pkgs/development/libraries/qt-5/5.5/qtbase/default.nix
··· 81 81 }; 82 82 dlopen-dbus = substituteAll { 83 83 src = ./0007-dlopen-dbus.patch; 84 - dbus_libs = dbus.libs.out; 84 + dbus_libs = dbus.lib; 85 85 }; 86 86 xdg-config-dirs = ./0008-xdg-config-dirs.patch; 87 87 decrypt-ssl-traffic = ./0009-decrypt-ssl-traffic.patch; ··· 187 187 188 188 propagatedBuildInputs = [ 189 189 xlibs.libXcomposite libX11 libxcb libXext libXrender libXi 190 - fontconfig freetype openssl dbus.libs glib udev libxml2 libxslt pcre 190 + fontconfig freetype openssl dbus glib udev libxml2 libxslt pcre 191 191 zlib libjpeg libpng libtiff sqlite icu 192 192 xcbutil xcbutilimage xcbutilkeysyms xcbutilwm libxkbcommon 193 193 ]
+1 -1
pkgs/development/tools/misc/eggdbus/default.nix
··· 8 8 sha256 = "118hj63ac65zlg71kydv4607qcg1qpdlql4kvhnwnnhar421jnq4"; 9 9 }; 10 10 11 - buildInputs = [ pkgconfig glib dbus.libs dbus_glib ]; 11 + buildInputs = [ pkgconfig glib dbus dbus_glib ]; 12 12 13 13 meta = { 14 14 homepage = http://hal.freedesktop.org/releases/;
+1 -1
pkgs/misc/cups/default.nix
··· 20 20 outputs = [ "dev" "out" "doc" "man" ]; # TODO: above 21 21 22 22 buildInputs = [ pkgconfig zlib libjpeg libpng libtiff libusb gnutls avahi libpaper ] 23 - ++ optionals stdenv.isLinux [ pam dbus.libs acl ]; 23 + ++ optionals stdenv.isLinux [ pam dbus acl ]; 24 24 25 25 propagatedBuildInputs = [ gmp ]; 26 26
+1 -1
pkgs/os-specific/linux/bluez/bluez5.nix
··· 16 16 [ pythonDBus pygobject pygobject3 recursivePthLoader ]; 17 17 18 18 buildInputs = 19 - [ pkgconfig dbus.libs glib alsaLib python pythonPackages.wrapPython 19 + [ pkgconfig dbus glib alsaLib python pythonPackages.wrapPython 20 20 readline libsndfile udev libical 21 21 # Disables GStreamer; not clear what it gains us other than a 22 22 # zillion extra dependencies.
+1 -1
pkgs/os-specific/linux/bluez/bluez5_28.nix
··· 16 16 [ pythonDBus pygobject pygobject3 recursivePthLoader ]; 17 17 18 18 buildInputs = 19 - [ pkgconfig dbus.libs glib alsaLib python pythonPackages.wrapPython 19 + [ pkgconfig dbus glib alsaLib python pythonPackages.wrapPython 20 20 readline libsndfile udev libical 21 21 # Disables GStreamer; not clear what it gains us other than a 22 22 # zillion extra dependencies.
+1 -1
pkgs/os-specific/linux/bluez/default.nix
··· 17 17 }; 18 18 19 19 buildInputs = 20 - [ pkgconfig dbus.libs glib libusb alsaLib python makeWrapper 20 + [ pkgconfig dbus glib libusb alsaLib python makeWrapper 21 21 readline libsndfile 22 22 # Disables GStreamer; not clear what it gains us other than a 23 23 # zillion extra dependencies.
+1 -1
pkgs/os-specific/linux/systemd/default.nix
··· 1 - { stdenv, fetchFromGitHub, pkgconfig, intltool, gperf, libcap, dbus, kmod 1 + { stdenv, fetchFromGitHub, pkgconfig, intltool, gperf, libcap, kmod 2 2 , zlib, xz, pam, acl, cryptsetup, libuuid, m4, utillinux, libffi 3 3 , glib, kbd, libxslt, coreutils, libgcrypt 4 4 , kexectools, libmicrohttpd, linuxHeaders, libseccomp
+1 -1
pkgs/servers/pulseaudio/default.nix
··· 52 52 53 53 buildInputs = 54 54 [ json_c libsndfile speexdsp fftwFloat ] 55 - ++ lib.optionals stdenv.isLinux [ glib dbus.libs ] 55 + ++ lib.optionals stdenv.isLinux [ glib dbus ] 56 56 ++ lib.optionals (!libOnly) ( 57 57 [ libasyncns webrtc-audio-processing ] 58 58 ++ lib.optional jackaudioSupport libjack2
+1 -1
pkgs/servers/x11/xorg/overrides.nix
··· 328 328 version = (builtins.parseDrvName attrs.name).version; 329 329 commonBuildInputs = attrs.buildInputs ++ [ xtrans ]; 330 330 commonPropagatedBuildInputs = [ 331 - args.zlib args.mesa args.dbus.libs 331 + args.zlib args.mesa args.dbus 332 332 xf86bigfontproto glproto xf86driproto 333 333 compositeproto scrnsaverproto resourceproto 334 334 xf86dgaproto
+1 -1
pkgs/tools/bluetooth/obex-data-server/default.nix
··· 14 14 15 15 preConfigure = '' 16 16 addToSearchPath PKG_CONFIG_PATH ${openobex}/lib64/pkgconfig 17 - export PKG_CONFIG_PATH="${dbus_libs}/lib/pkgconfig:$PKG_CONFIG_PATH" 17 + export PKG_CONFIG_PATH="${dbus_libs.dev}/lib/pkgconfig:$PKG_CONFIG_PATH" 18 18 ''; 19 19 20 20 meta = {
+1 -1
pkgs/tools/bluetooth/obexd/default.nix
··· 8 8 sha256 = "1i20dnibvnq9lnkkhajr5xx3kxlwf9q5c4jm19kyb0q1klzgzlb8"; 9 9 }; 10 10 11 - buildInputs = [ glib dbus.libs openobex bluez libical ]; 11 + buildInputs = [ glib dbus openobex bluez libical ]; 12 12 13 13 nativeBuildInputs = [ pkgconfig ]; 14 14
+1 -1
pkgs/tools/system/thermald/default.nix
··· 15 15 patchPhase = ''sed -e 's/upstartconfdir = \/etc\/init/upstartconfdir = $(out)\/etc\/init/' -i data/Makefile.am''; 16 16 17 17 preConfigure = '' 18 - export PKG_CONFIG_PATH="${dbus_libs}/lib/pkgconfig:$PKG_CONFIG_PATH" 18 + export PKG_CONFIG_PATH="${dbus_libs.dev}/lib/pkgconfig:$PKG_CONFIG_PATH" 19 19 ./autogen.sh #--prefix="$out" 20 20 ''; 21 21
+2 -2
pkgs/top-level/all-packages.nix
··· 6073 6073 }; 6074 6074 6075 6075 # Should we deprecate these? Currently there are many references. 6076 - dbus_tools = pkgs.dbus.tools; 6077 - dbus_libs = pkgs.dbus.libs; 6076 + dbus_tools = pkgs.dbus.out; 6077 + dbus_libs = pkgs.dbus; 6078 6078 dbus_daemon = pkgs.dbus.daemon; 6079 6079 6080 6080 dhex = callPackage ../applications/editors/dhex { };