[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#34971] [PATCH] gnu: Add mako.
From: |
Meiyo Peng |
Subject: |
[bug#34971] [PATCH] gnu: Add mako. |
Date: |
Thu, 23 May 2019 19:24:27 +0800 |
Hi Ludovic,
Ludovic Courtès writes:
> Did you make any progress on this front?
I have discussed with the author of mako. He agreed to add a D-Bus
service file for mako. That will solve this issue here. I have tested
it on my computer. The D-Bus service file will cause mako to be
automatically started when needed. mako will work out of the box after
installation. No user action is required.
Link:
1. https://github.com/emersion/mako/issues/155
2. https://github.com/emersion/mako/pull/156
When that pull request is merged, I will send a new package definition
for mako.
> Ludovic Courtès <address@hidden> skribis:
>
>> Hi,
>>
>> Meiyo Peng <address@hidden> skribis:
>>
>>> I get this output from `strace mako`:
>>>
>>> #+begin_example
>>> ...
>>> socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3
>>> getsockopt(3, SOL_SOCKET, SO_RCVBUF, [212992], [4]) = 0
>>> setsockopt(3, SOL_SOCKET, SO_RCVBUF, [8388608], 4) = 0
>>> getsockopt(3, SOL_SOCKET, SO_SNDBUF, [212992], [4]) = 0
>>> setsockopt(3, SOL_SOCKET, SO_SNDBUF, [8388608], 4) = 0
>>> connect(3, {sa_family=AF_UNIX, sun_path="/run/user/1000/bus"}, 21) = -1
>>> ENOENT (No such file or directory)
>>
>> So I’m a bit at loss but what I can say is that /run/user/UID/bus
>> doesn’t seem to exist in practice.
>>
>> For example, if I strace “dbus-monitor --session”, I see this:
>>
>> connect(3, {sa_family=AF_UNIX, sun_path=@"/tmp/dbus-ktJE8…"}, 23) = 0
>>
>> I have no idea where this file name comes from but it seems to be
>> deterministic.
>>
>> So… more investigation needed!
>>
>> Ludo’.
--
Meiyo Peng
https://www.pengmeiyu.com/