Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Feb 2016 01:10:58 +0700
From:      "Alex V. Petrov" <alexvpetrov@gmail.com>
To:        Guido Falsi <madpilot@FreeBSD.org>, "ports@FreeBSD.org Ports" <ports@FreeBSD.org>
Cc:        gnome@FreeBSD.org
Subject:   Re: FreeBSD Port: deskutils/calibre
Message-ID:  <56BF71B2.7070608@gmail.com>
In-Reply-To: <56BF6CBF.6000508@FreeBSD.org>
References:  <56BF1388.8040105@marino.st> <56BF2619.1060904@FreeBSD.org> <56BF27FF.8060400@gmail.com> <56BF48B9.1010307@FreeBSD.org> <56BF534C.8050304@gmail.com> <56BF5C5C.30402@FreeBSD.org> <56BF6CBF.6000508@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Guido, your patch works for me.
Thank you!

14.02.2016 00:49, Guido Falsi пишет:
> On 02/13/16 17:39, Guido Falsi wrote:
>> On 02/13/16 17:01, Alex V. Petrov wrote:
>>> I reinstalled xdg-utils. It did not change anything.
>>>
>>
>> I was finally able to reproduce the issue.
>>
>> Now at least I can run tests myself.
>>
>> Thanks all for the kind help!
>>
> 
> I'm adding gnome@ as CC, because I'm not sure at this point if this
> issue should be looked in the xdg-utils port.
> 
> II have generated a patch I'd like affected parties too test, you can
> get it here:
> 
> https://people.freebsd.org/~madpilot/calibre.diff
> 
> Please test it and report back, I'm performing my own testing here right
> now. I'll commit it once I am reasonably sure it does address the problem.
> 
> It is a simple workaround. By reading the sources of xdg-desktop-menu I
> noticed it expects the file PREFIX/share/applications/defaults.list to
> always exist (also when working in STAGEDIR), and calls grep with a this
> non existent file as argument, causing it to hang. The offending line is
> line 93 in the xdg-utuils distribution file scripts/xdg-desktop-menu.in,
> in function make_lazy_default() (thanks to Christoph Moench-Tegeder for
> pointing me in this direction).
> 
> My workaround is to touch this file in STAGEDIR so the script does not
> hang. I then remove it to avoid stage orphans.
> 
> Anyone has a better solution or can tell if the final fault lays in
> calibre or xdg-utils?
> 
> Thanks in advance.
> 

-- 
-----
Alex.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56BF71B2.7070608>