On 09/16/2017 04:33 PM, Stephan Witt wrote:
> Am 16.09.2017 um 22:15 schrieb mn <mno...@gmx.net>:
>> On 16.09.17 20:46, Stephan Witt wrote:
>>> Am 16.09.2017 um 11:58 schrieb Jürgen Spitzmüller <sp...@lyx.org>:
>>>>> Then we should fix the checkInkscape() routine in configure.py.
>>>>> What do you need specifically? Full path? How is it determined on
>>>>> the Mac? Does
>>>>> "type -a -p inkscape-bin" work?
>>>> Given the above is true, then the attached patch should work. Can you
>>>> check that, please?
>>>>
>>> No, it doesn’t work. 
>>>
>>> 1) inkscape-bin is in /Applications/Inkscape.app/Contents/Resources/bin
>>> 2) additional arguments have to be passed to avoid X-Server access
>>>
>>> I’d like to provide the inkscape wrapper shell script.
>> Currently I cannot test that script.
> It didn’t exist yet.
>
>> Does it check for different inkscape versions and paths?
>> It might also be found in other locations:
>> /sw/bin/
>> ~/Applications
>> and subfolders of /Applications?
> It tests for inkscape in /Applications and in PATH. 
> It expects an application bundle.
>
> I’ll attach a patch.
>
> Unfortunately it doesn’t work because the inkscape wrapper script
> changes the working directory and the conversion from svgz to pdf
> failes because of that.

Can't we make it pass the full pathname rather than just the filename?

Richard

Reply via email to