[pkg-wine-party] Bug#858242: libwine: winemenubuilder creates .desktop files with invalid WINEPREFIX

Sven Joachim svenjoac at gmx.de
Mon Oct 30 16:56:08 UTC 2017


On 2017-10-29 21:04 +0100, Jens Reyer wrote:

> On 10/29/2017 08:43 PM, Sven Joachim wrote:
>>> However I'm still absolutely clueless and ask for help to solve this
>>> issue at its root:
>>>
>>> I see the check for the wineprefix starting with a "/" (slash, no
>>> quotation marks) in libs/wine/config.c[1], which is indeed the only
>>> place in the code which has the mentioned warning.  But I assume (I'm
>>> not a C coder) that the quotation marks are not relevant here.
>> 
>> I am not the greatest C programmer, but they seem very relevant, since
>> in the generated .desktop files the first character is a quotation mark
>> rather than a slash.
>
> I was just thinking that the quotation mark is not part of the actual
> variable.
>
> You might restore the
> ~/.local/share/applications/wine-extension-pdf.desktop from post #1 and
> try to reproduce the issue.  Then edit the file and remove the quotation
> marks, and check again.

Did that, and with the quotation marks xdg-open complains although
Firefox apparently does not have a problem with them.

> If this solves the issue we definitely should talk to upstream.

That seems reasonable since the problem is not specific to Debian.

Cheers,
       Sven



More information about the pkg-wine-party mailing list