1. 20 Mar, 2017 1 commit
    • Ralf Habacker's avatar
      cmake: Optionally create relocatable dbus-1.pc file · 21662782
      Ralf Habacker authored
      Relocatable pkgconfig files are necessary when using packages installed to
      a location that does not match the location for which they were compiled.
      However, using ${pcfiledir} is problematic for system installations
      in standard locations, because it interferes with pkg-config's
      ability to filter out -I, -L options that are redundant with compiler
      defaults (which is important if you are trying to use a newer version
      of a library than the system copy).
      In practice operating system vendors installing dbus to standard
      locations use Autotools, so we enable relocatable builds by default
      when building with CMake.
      For simplicity, we're also not relocatable if the library directory
      is something more complicated than lib or lib64 (e.g. under Debian
      multiarch); we don't want to have to compute how many ../ to add.
      This is non-trivial to determine in an Autotools build, so for now
      there is no support for relocation when built with Autotools,
      even as an opt-in feature.
      Going via the ${original_prefix} variable is because under Autotools,
      both ${prefix} and ${exec_prefix} technically default to NONE, with
      NONE replaced with their real defaults of /usr/local and '${prefix}'
      (respectively) later on. If we tried to expand ${prefix} at the time
      that we choose the value of ${pkgconfig_prefix}, that would cause
      a broken value "prefix=NONE" to be hard-coded.
      [smcv: no relocation on Autotools, make it optional in CMake,
      expand commit message]
      Bug: https://bugs.freedesktop.org/show_bug.cgi?id=99721Reviewed-by: Simon McVittie's avatarSimon McVittie <smcv@collabora.com>
      Reviewed-by: Ralf Habacker's avatarRalf Habacker <ralf.habacker@freenet.de>
      Signed-off-by: Simon McVittie's avatarSimon McVittie <smcv@collabora.com>
  2. 13 Oct, 2014 1 commit
  3. 15 Jun, 2012 1 commit
  4. 04 Jan, 2012 1 commit
    • Simon McVittie's avatar
      Revert all changes since a36d4918 · 5df8c3db
      Simon McVittie authored
      Someone seems to have merged part of master into 1.4. Again. Let's go
      back to the "last known good" point (the branch-point of some 1.4
      branches I had locally), then we can cherry-pick the changes that
      should have gone in.
  5. 29 Jul, 2011 1 commit
  6. 26 Apr, 2011 1 commit
  7. 23 Jun, 2010 1 commit
    • Lennart Poettering's avatar
      pkg-config: add a couple of additional variables to .pc · bd074df3
      Lennart Poettering authored
      We already export the session services dir in the .pc file, add the
      system services dir too, as well as the interfaces dir, so that packages
      can drop their files into the right place.
      Eventually we need to move the system-services dir to a place that is
      relocatable to /lib/dbus, and this change makes the location queriable
      for other projects, as a first step towards that goal.
  8. 10 May, 2007 1 commit
  9. 26 Oct, 2006 1 commit
  10. 17 Mar, 2006 1 commit
  11. 26 Sep, 2005 1 commit
    • John Palmieri's avatar
      * Integrate patches from Lennart Poettering <mzsqb at 0pointer.de>: · 9ad0aafe
      John Palmieri authored
      - dbus/dbus-bus.c
      (internal_bus_get): new method that take over the heavy lifting
      of dbus_bus_get and adds the ability to get a private connection
      to the bus
      (dbus_bus_get): wrapper to internal_bus_get that provides the same
      interface as in previous versions
      (dbus_bus_get_private): new method that is a wrapper to
      internal_bus_get to get a private connection to the bus
      - dbus/dbus-bus.h
      (dbus_bus_get_private): add as a public libdbus interface
      - dbus-1.pc.in: output system_bus_default_address and
      sysconfdir variables so apps can use them when compiling
  12. 29 Apr, 2003 1 commit
    • Havoc Pennington's avatar
      2003-04-29 Havoc Pennington <hp@redhat.com> · ae759bff
      Havoc Pennington authored
      	* dbus-1.pc.in, dbus-glib-1.pc.in: rename these from
      	dbus-1.0.pc.in, dbus-glib-1.0.pc.in. As these change with the
      	parallel install API version, not with the D-BUS package version.
      	* HACKING: move some of README over here
      	* README: updates, and document API/ABI policy
      	* configure.in: reindentation
  13. 23 Apr, 2003 1 commit
    • Havoc Pennington's avatar
      2003-04-22 Havoc Pennington <hp@redhat.com> · b29d0c53
      Havoc Pennington authored
      	* dbus/dbus-message.c, dbus/dbus-marshal.c: add 64-bit integer
      	support, and do some code cleanups to share more code and
      	speed up array marshal/demarshal.
      	* dbus-1.0.pc.in (Cflags): put libdir include file in cflags
      	* configure.in: generate dbus-arch-deps.h
      	* dbus/dbus-protocol.h (DBUS_TYPE_INT64, DBUS_TYPE_UINT64): add
      	64-bit typecodes
  14. 21 Nov, 2002 1 commit