Re: xfig menu on xfce

From: Guido Falsi <mad_at_madpilot.net>
Date: Fri, 5 Mar 2021 10:34:46 +0100
On 04/03/21 21:16, Guido Falsi via freebsd-current wrote:
> On 04/03/21 20:56, Antonio Olivares wrote:
>> On Thu, Mar 4, 2021 at 1:55 PM Antonio Olivares 
>> <olivares14031_at_gmail.com> wrote:
>>>
>>> On Thu, Mar 4, 2021 at 1:51 PM David Wolfskill <david_at_catwhisker.org> 
>>> wrote:
>>>>
>>>> On Thu, Mar 04, 2021 at 01:47:03PM -0600, Antonio Olivares wrote:
>>>>> xfig installed from pkg
>>>>> on the menu click on xfce we get error message
>>>>>
>>>>> <quote>
>>>>> Failed to execute command "/usr/bin/xfig".
>>>>> Failed to execute child process "/usr/bin/xfig" (No such file or 
>>>>> directory)
>>>>> x Close
>>>>> </quote>
>>>>>
>>>>> running from command line does work.  which xfig reports
>>>>> /usr/local/bin/xfig
>>>>>
>>>>> olivares_at_deepcool:~ $ which xfig
>>>>> /usr/local/bin/xfig
>>>>> olivares_at_deepcool:~ $ uname -a
>>>>> FreeBSD deepcool 13.0-BETA4 FreeBSD 13.0-BETA4 #0
>>>>> releng/13.0-n244592-e32bc253629: Fri Feb 26 06:17:34 UTC 2021
>>>>> root_at_releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC
>>>>> amd64
>>>>> olivares_at_deepcool:~ $
>>>>>
>>>>> Best Regards,
>>>>> ....
>>>>
>>>> I am unfamiliar with xfce, but that seems like a bug in the menu entry
>>>> itself.  Not sure whose responsibility that is....
>>>>
>>>> Peace,
>>>> david
>>
>> I do not know how to edit the link, but it is not a big deal.  It runs
>> from comand line.
> 
> Menu entries are created fort all desktop environments creating files 
> defined by common standards. Each installed software is responsible for 
> creating the correct file. (".desktop" files)
> 
> Looking at xfig port the desktop entry provided by upstream has that 
> patch coded in. The port is not patching it. The error you see would 
> happen with any desktop environment in FreeBSD. I'll provide a patch to 
> fix this.
> 
> Thanks for reporting it!

Filed bug report with patch:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254031

-- 
Guido Falsi <mad_at_madpilot.net>
Received on Fri Mar 05 2021 - 08:34:51 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:27 UTC