delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/10/28/15:55:55

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=xIbktei1gtlO/rpg
qKMLDycI+lCISkgKP7QAzYy5hhXJSN9HyQzyo82OyhSIbXFiJRmOhtR50CsEUV+L
AX1P/r4Ne8pO2jQp+r7UR1Fe7xkvEzj8GZ154ILMC3s5IsWesM0qxMY0kj7LtRAz
7OZr0R9FbBrdojH2eYGcTk0Wh4Y=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=qKT/nqdJMuhR4xKYBkf9H8
rBNcE=; b=xhzYskNQrooKMAkynNoE3YuPOklf3apm9tsIPPofREjuXlk/xC9Evx
EZ4a6zJhkBrPPWHDJz2rbJ+f/gGj8uhP/pGDv9pPxKVjswnlSnza3iC9CZNiOC69
0fVvMHSPQB9HgSOwLS7NICtiAbrrZdUDSQevGVcN24pbU8XHyhM00=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-12.2 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,GIT_PATCH_3,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1448, HContent-Transfer-Encoding:8bit
X-HELO: limerock04.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Subject: Re: [PATCH xpdf] Add desktop menu entry
To: cygwin AT cygwin DOT com
References: <20171027210030 DOT 12220-1-yselkowi AT redhat DOT com> <208276e9-a108-4936-6b64-6e1fec01e40e AT cornell DOT edu> <fe4a3241-1808-2d5d-7b13-2081acf82a59 AT SystematicSw DOT ab DOT ca>
From: Ken Brown <kbrown AT cornell DOT edu>
Message-ID: <dbb73120-6cb2-0c0b-5ede-e3559eb49945@cornell.edu>
Date: Sat, 28 Oct 2017 15:55:39 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0
MIME-Version: 1.0
In-Reply-To: <fe4a3241-1808-2d5d-7b13-2081acf82a59@SystematicSw.ab.ca>
X-PMX-Cornell-Gauge: Gauge=X
X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none;
X-IsSubscribed: yes

On 10/28/2017 3:26 PM, Brian Inglis wrote:
> On 2017-10-28 12:00, Ken Brown wrote:
>> On 10/27/2017 5:00 PM, Yaakov Selkowitz wrote:
>>> ---
>>>    xpdf.cygport | 4 ++++
>>>    1 file changed, 4 insertions(+)
>>
>> After making this change I get the following warning when starting xpdf in an
>> xterm window:
>>
>> QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-kbrown'
>>
>> I googled the message, but none of the solutions appeared to apply.  Do you know
>> how to suppress this warning?  I assume it results from the fact that I'm not
>> working in a desktop environment.
> 
> Normally set to /run/user/$(id -u)/, sometimes .../$(id -un)/, created by first
> app after login.
> I have a postinstall script to create /run/{,blkid,lock,user}/ directories with
> mode a+rwxt, remove /var/{run,lock} directories and create symlinks from those
> to /run/{,lock}/, to provide a more normal Unix/Linux environment for ported apps.
> 
>  From https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html:
[...]

Thanks for all the information, Brian, but I think you misunderstood the 
context of my question.  I'm the maintainer of xpdf, and Yaakov 
suggested a modification to my .cygport file.  This results in a warning 
(presumably when xpdf is not run under a desktop environment).  I'm 
simply asking if there's an easy way to suppress the warning so that 
users aren't annoyed by it.

Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019