Use package-prefixes for non-base libraries
This commit is contained in:
parent
bbc45c527e
commit
75949d1a94
|
@ -15,7 +15,10 @@
|
||||||
;; along with this program. If not, see <https://www.gnu.org/licenses/>.
|
;; along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
;;
|
;;
|
||||||
|
|
||||||
(import (chicken io) srfi-13 (prefix dbus dbus:) sxml-serializer)
|
(import (chicken io)
|
||||||
|
(prefix srfi-13 13:)
|
||||||
|
(prefix dbus dbus:)
|
||||||
|
(prefix sxml-serializer sxml:))
|
||||||
|
|
||||||
|
|
||||||
;; Debugging
|
;; Debugging
|
||||||
|
@ -39,8 +42,8 @@
|
||||||
(string-append
|
(string-append
|
||||||
"<!DOCTYPE node PUBLIC \"-//freedesktop//DTD D-BUS Object Introspection 1.0//EN\"
|
"<!DOCTYPE node PUBLIC \"-//freedesktop//DTD D-BUS Object Introspection 1.0//EN\"
|
||||||
\"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd\">\n\n"
|
\"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd\">\n\n"
|
||||||
(serialize-sxml (introspect-node-sxml interfaces subnodes)
|
(sxml:serialize-sxml (introspect-node-sxml interfaces subnodes)
|
||||||
#f)))
|
#f)))
|
||||||
|
|
||||||
|
|
||||||
;; Generate a node's list containing the given interfaces, for use with SXML for
|
;; Generate a node's list containing the given interfaces, for use with SXML for
|
||||||
|
@ -155,10 +158,10 @@
|
||||||
(syntax-rules ()
|
(syntax-rules ()
|
||||||
[(handle-peers-for-path node-path)
|
[(handle-peers-for-path node-path)
|
||||||
(let ([machine-id
|
(let ([machine-id
|
||||||
(string-delete #\newline
|
(13:string-delete #\newline
|
||||||
(call-with-input-file "/var/lib/dbus/machine-id"
|
(call-with-input-file "/var/lib/dbus/machine-id"
|
||||||
(lambda (in-port)
|
(lambda (in-port)
|
||||||
(read-string #f in-port))))]
|
(read-string #f in-port))))]
|
||||||
[context
|
[context
|
||||||
(dbus:make-context bus: dbus:session-bus
|
(dbus:make-context bus: dbus:session-bus
|
||||||
service: 'org.jadedctrl.secrettabero
|
service: 'org.jadedctrl.secrettabero
|
||||||
|
|
Reference in New Issue