dbus-tclTcl interface to the D-Bus messaging system
4.2develΣ=1 4.2Version of this port present on the latest quarterly branch.upstream: 4.3A newer version was found upstream by portscout, first on 2026-11-16.
The DBus-Tcl project provides a Tcl interface to the dbus message bus system.
It contains packages that allow Tcl programs to send and receive dbus signals,
as well as invoke and respond to dbus method calls.
===> The following configuration options are available for dbus-tcl-4.2:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
devel/dbus-tcl: update to 4.1
Version 4.0 - Oct 7 2023
- Explicitly convert strings in dbus messages from utf-8.
- Add arg#, arg#path, arg0namespace, and path_namespace filter keys.
- Drop the leading '-' from the filter keys, but still tolerate them for
backward compatibility.
- Make bus IDs distinct from bus names. Aliases are provided for limited
backward compatibility (possible incompatibility)
- Add an option to send a signal to a specific destination.
- Provide details of the dbus response message in the return options of the call
command.
Version 4.1 - Sep 27 2024
- Make the code compatible with Tcl 9.
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
devel/dbus-tcl: update to 3.0
Changes:
- Each dbus connect command now creates a new connection to the dbus.
This change was needed to be able to use the new preferred way of
monitoring the dbus using the BecomeMonitor method.
- Improve error reporting by providing useful errorCodes.
Add "tea" argument to USES=tcl to facilitate porting of TEA-based extensions.
Quoting https://tcl.tk/doc/tea:
"The Tcl Extension Architecture, or TEA, by John Ousterhout and others, is a
set of guidelines and techniques for the distribution, configuration,
compilation, and installation of Tcl extensions. TEA also provides a set of
utilities that operate accordingly. Many Tcl extensions leverage the TEA
utilities, which are designed to be easily customizable."
To facilitate the porting of TEA-based extensions, I have added the new "tea"
argument to USES=tcl. This argument prepares the autoconf environment by
setting GNU_CONFIGURE and sets some commonly used CONFIGURE_ARGS. Also, it
tries to figure out the correct extension name, sets TCL_PKG accordingly, and
adds it to PLIST_SUB.
I have modified a few ports to take advantage of this. More will come.
- Update to 2.1
Changes:
* Add support for passing file handles over the dbus.
* Add a new dbus info subcommand to check if a dbus connection supports file
descriptor passing.
* Allow method scripts to decide at runtime if the response will be given
asynchronous or not.
* Do monitoring via a filter, rather than a fallback handler. That way also
method_return- and error messages can be seen.
* Accept server addresses as dbus identifiers for all commands.
* Allow specifying an empty string for the dbus call -handler option, which
will be handled the same as not having the option at all, i.e.:
synchronous operation.
* Properly handle 32- and 64-bit unsigned arguments
* The unknown subcommand should also understand the -details option
* Make sure type signatures and object paths are valid before passing them to
dbus functions, because the library will panic on invalid values.
* Implement "integer constant is too large" patch provided by Stuart.
* Fix wrong return code from [dbus info capabilities]
- New port: devel/dbus-tcl
The DBus-Tcl project provides a Tcl interface to the dbus message bus system.
It contains packages that allow Tcl programs to send and receive dbus signals,
as well as invoke and respond to dbus method calls.
WWW: http://dbus-tcl.sf.net