dbus version 1.0.2 for Mac OS X 10.5 Leopard
Monday the 12th of May, 2008

    dbus  most recent diff


      View the most recent changes for the dbus port at: dbus.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for dbus.
      The raw portfile for dbus 1.0.2 is located here:
      http://dbus.darwinports.com/dports/devel/dbus/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/dbus
      Google
      Web Darwinports.com



      # $Id: Portfile 33194 2008-01-21 02:01:03Z nox macports.org $

      PortSystem 1.0

      Name: dbus
      Version: 1.0.2
      revision 2
      Maintainers: nomaintainer
      Category: devel
      Platform: darwin
      Description: A message bus system, a simple way for applications to talk to one another.

      Long Description: ${description}

      Homepage: http://www.freedesktop.org/Software/dbus
      master_sites http://dbus.freedesktop.org/releases/dbus

      checksums md5 0552a9b54beb4a044951b7cdbc8fc855 sha1 2870efd6ea0b5b0d14e52195f560238a74bb1e0e rmd160 d5eddfb058c4c026d4a9f091ad90abcc6e54861a

      depends_lib port:expat port:libxml2
      depends_build port:pkgconfig port:docbook-xml-4.1.2 port:xmlto

      configure.args --mandir=${prefix}/share/man --disable-tests --enable-xml-docs --enable-kqueue --with-dbus-daemondir=${prefix}/bin

      configure.cflags-append -no-cpp-precomp
      configure.cflags-append -flat_namespace

      startupitem.create yes
      startupitem.name dbus
      startupitem.init XDG_DATA_DIRS=${prefix}/share
      startupitem.start "${prefix}/bin/dbus-daemon --system"
      startupitem.stop "kill `cat ${prefix}/var/run/dbus/pid`"
      startupitem.restart "kill `cat ${prefix}/var/run/dbus/pid` ; ${prefix}/bin/dbus-daemon --system"

      pre-patch {
      file mkdir ${worksrcpath}/m4
      system "touch ${worksrcpath}/m4/acx_pthread.m4"
      }

      pre-build {
      reinplace "s|ucred.h|sys/ucred.h|g" ${worksrcpath}/dbus/dbus-sysdeps-unix.c
      }

      test.run yes
      test.target check

      pre-test {
      if {![variant_isset test]} {
      ui_error "test variant must be activated to enable test support"
      return -code 1
      }
      }

      post-destroot {
      file mkdir ${destroot}${prefix}/share/dbus-1/services
      file mkdir ${destroot}${prefix}/var/run/dbus
      file mkdir ${destroot}${prefix}/var/lib/dbus
      file mkdir ${destroot}${prefix}/etc/dbus-1/system.d
      }

      destroot.keepdirs ${destroot}${prefix}/share/dbus-1/services ${destroot}${prefix}/var/run/dbus ${destroot}${prefix}/var/lib/dbus ${destroot}${prefix}/etc/dbus-1/system.d

      pre-activate {
      addgroup messagebus
      adduser messagebus gid=[existsgroup messagebus] realname=Message\ Bus
      }

      post-activate {
      file attributes ${prefix}/var/run/dbus -group messagebus -owner messagebus
      system "${prefix}/bin/dbus-uuidgen --ensure"
      }

      Variant: test {
      configure.args-delete --disable-tests
      configure.args-append --enable-tests
      }

      platform darwin 7 {
      configure.args-delete --enable-kqueue
      }

      livecheck.check regex
      livecheck.regex {D-Bus (\d+(?:\.\d+)*)}

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/dbus
      % sudo port install dbus
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching dbus
      ---> Verifying checksum for dbus
      ---> Extracting dbus
      ---> Configuring dbus
      ---> Building dbus with target all
      ---> Staging dbus into destroot
      ---> Installing dbus
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using dbus with these commands:
      %  man dbus
      % apropos dbus
      % which dbus
      % locate dbus

     Where to find more information:

    Darwin Ports



    image test