From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Bavier Subject: Re: [PATCH] gnu: xfig: Add 'wrap-xfig phase. Date: Mon, 24 Nov 2014 11:04:42 -0600 Message-ID: <87lhn0ttqt.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36140) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xsx2w-0006oa-Uc for guix-devel@gnu.org; Mon, 24 Nov 2014 12:03:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xsx2r-0002q9-Cx for guix-devel@gnu.org; Mon, 24 Nov 2014 12:03:30 -0500 Received: from mail-ig0-x235.google.com ([2607:f8b0:4001:c05::235]:40091) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xsx2r-0002pj-70 for guix-devel@gnu.org; Mon, 24 Nov 2014 12:03:25 -0500 Received: by mail-ig0-f181.google.com with SMTP id l13so3707065iga.14 for ; Mon, 24 Nov 2014 09:03:23 -0800 (PST) In-reply-to: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Federico Beffa Cc: Guix-devel Federico Beffa writes: > I would like to propose the attached patch for xfig. It makes xfig > find its resource file so that it works properly. Thanks for looking into it. + (wrap-program (string-append out "/bin/xfig") + `("XAPPLRESDIR" suffix + (,(string-append out "/etc/X11/app-defaults")))))) Could you align the arguments to wrap-program here? > On a side note: I've noticed that wrap-program generates two wrappers. > In fact I find the following files in .../bin/: xfig, .xfig-real and > .xfig-wrap-01. What is the purpose of the latter? > (This happens with all packages using wrap-program.) See commit de61113, and the discussion at https://lists.gnu.org/archive/html/guix-devel/2014-09/msg00190.html -- Eric Bavier Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html