[PATCH xpdf] Add desktop menu entry

Ken Brown kbrown@cornell.edu
Fri Nov 3 13:11:00 GMT 2017


On 11/3/2017 2:52 AM, Yaakov Selkowitz wrote:
> On 2017-10-28 13: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.
> 
> I don't see how adding a desktop menu entry would cause this; are you
> sure it wasn't happening before?  Or maybe the Qt 5.9.2 update caused
> it?  Either way, this isn't an xpdf specific issue, and would have to be
> fixed or worked around elsewhere.

You're right.  Moving the desktop entry out of the way doesn't make any 
difference.  It's just coincidence that I first noticed it after making 
that change.

In the meantime, I have another xpdf problem.  After my update of the 
ghostscript fonts, I get the following errors when starting xpdf:

Config Error: No display font for 'Courier'
Config Error: No display font for 'Courier-Bold'
Config Error: No display font for 'Courier-BoldOblique'
Config Error: No display font for 'Courier-Oblique'
Config Error: No display font for 'Helvetica'
Config Error: No display font for 'Helvetica-Bold'
Config Error: No display font for 'Helvetica-BoldOblique'
Config Error: No display font for 'Helvetica-Oblique'
Config Error: No display font for 'Symbol'
Config Error: No display font for 'Times-Bold'
Config Error: No display font for 'Times-BoldItalic'
Config Error: No display font for 'Times-Italic'
Config Error: No display font for 'Times-Roman'
Config Error: No display font for 'ZapfDingbats'

Reinstalling the old ghostscript-fonts-std-8.11-1 fixes it.  Copying the 
files from /usr/share/fonts/urw-base35 to /usr/share/ghostscript/fonts 
doesn't fix it.

Do you happen to know how Fedora handles this?  I didn't see anything 
obvious in xpdf.spec.

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



More information about the Cygwin mailing list