From owner-freebsd-current@freebsd.org Fri Mar 5 09:34:51 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CE772554CA5 for ; Fri, 5 Mar 2021 09:34:51 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail.madpilot.net (vogon.madpilot.net [159.69.1.99]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DsMyg0WHGz3tjn for ; Fri, 5 Mar 2021 09:34:50 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail (mail [192.168.254.3]) by mail.madpilot.net (Postfix) with ESMTP id 4DsMyd1BwLz6dgK; Fri, 5 Mar 2021 10:34:49 +0100 (CET) Received: from mail.madpilot.net ([192.168.254.3]) by mail (mail.madpilot.net [192.168.254.3]) (amavisd-new, port 10026) with ESMTP id 34hgjXvJp5YI; Fri, 5 Mar 2021 10:34:46 +0100 (CET) Subject: Re: xfig menu on xfce To: Antonio Olivares , David Wolfskill Cc: freebsd-current@freebsd.org References: <38fa4a7c-d23d-0e64-d319-56e352f93339@madpilot.net> From: Guido Falsi Message-ID: Date: Fri, 5 Mar 2021 10:34:46 +0100 In-Reply-To: <38fa4a7c-d23d-0e64-d319-56e352f93339@madpilot.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4DsMyg0WHGz3tjn X-Spamd-Bar: - X-Spamd-Result: default: False [-2.00 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[159.69.1.99:from]; R_DKIM_ALLOW(-0.20)[madpilot.net:s=bjowvop61wgh]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx:c]; MISSING_MIME_VERSION(2.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000]; TO_DN_SOME(0.00)[]; SPAMHAUS_ZRD(0.00)[159.69.1.99:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[madpilot.net:+]; DMARC_POLICY_ALLOW(-0.50)[madpilot.net,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[gmail.com,catwhisker.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Mar 2021 09:34:51 -0000 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 >> wrote: >>> >>> On Thu, Mar 4, 2021 at 1:51 PM David Wolfskill >>> 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 >>>>> >>>>> >>>>> Failed to execute command "/usr/bin/xfig". >>>>> Failed to execute child process "/usr/bin/xfig" (No such file or >>>>> directory) >>>>> x Close >>>>> >>>>> >>>>> running from command line does work.  which xfig reports >>>>> /usr/local/bin/xfig >>>>> >>>>> olivares@deepcool:~ $ which xfig >>>>> /usr/local/bin/xfig >>>>> olivares@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@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC >>>>> amd64 >>>>> olivares@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