<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi everyone,<br>
    <br>
    I started working on changing my bluetooth code from using gdbus to
    dbus-glib -- dbus is necessary to control bluetooth on linux systems
    -- but I'm not sure about how to proceed regarding the various dbus
    libraries and their availability:<br>
    <br>
    gdbus is included in glib >= 2.26 (i.e. since 2010), dbus-glib is
    included in the LO codebase and works with all versions of glib (as
    far as I can tell).<br>
    <br>
    Currently dbus-glib is only used in vcl with gtk, and it is only
    compiled when --enabled-dbus is used. (The doc on the autogen.sh
    page states "
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    <span style="color: rgb(0, 0, 0); font-family: sans-serif;
      font-size: 13px; font-style: normal; font-variant: normal;
      font-weight: normal; letter-spacing: normal; line-height: 19px;
      orphans: 2; text-align: -webkit-auto; text-indent: 0px;
      text-transform: none; white-space: normal; widows: 2;
      word-spacing: 0px; -webkit-text-size-adjust: auto;
      -webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
      255); display: inline !important; float: none; ">Determines
      whether to enable presentation mode screensaver control under
      GNOME via DBUS.")  </span>It appears that this isn't very
    commonly enabled (default is off, and only enabled for OxygenOffice
    in distro-configs).<br>
    <br>
    dbus-glib is used in tubes.<br>
    <br>
    I think it would be worthwhile having bluetooth working by default
    for the remote control. Should I:<br>
    <br>
    1. Port my code to dbus-glib and always build dbus-glib? Or port my
    code to dbus-glib and leave everything else as is, meaning bluetooth
    on Linux needs the user to use --enable-dbus?<br>
    2. Have two versions of my code, use gdbus if available, else fall
    back to dbus-glib unless disabled, else disable bluetooth (the dbus
    code is minimal, and I already have to use ifdefs for every OS
    there).<br>
    3. Stick with gdbus, i.e. no bluetooth unless compiling on a modern
    system?<br>
    <br>
    <br>
    On a related note: would it be a good idea to add a "enable remote
    control" checkbox to the remote control dialog, and have remote
    control possibly disabled by default in case people are worried
    about having LO always open a port?<br>
    <br>
    <br>
    Cheers,<br>
    <br>
    Andrzej<br>
  </body>
</html>