* x3270 post install script fails
@ 2015-09-16 22:17 David Stacey
2015-09-16 23:32 ` Peter A. Castro
0 siblings, 1 reply; 2+ messages in thread
From: David Stacey @ 2015-09-16 22:17 UTC (permalink / raw)
To: cygwin
The x3270 package performs the following in its post install script:
FONTDIR=/usr/share/fonts
ENCODINGSDIR=$FONTDIR/encodings
MKFONTDIR=/usr/bin/mkfontdir
$MKFONTDIR -e $ENCODINGSDIR $FONTDIR/misc
This fails because the directory '/usr/share/fonts/encodings' no longer
exists. (The directory used to be provided by the 'font-encodings'
package, which is now obsolete).
Probably the best way to resolve this is to add a 'mkdir -p
${ENCODINGSDIR}' to the post install script, rather than just assume its
existence - provided this 'encodings.dir' is still being read by the X
server. Otherwise, use '/usr/share/X11/fonts/encodings' as the encodings
directory.
Dave.
--
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: x3270 post install script fails
2015-09-16 22:17 x3270 post install script fails David Stacey
@ 2015-09-16 23:32 ` Peter A. Castro
0 siblings, 0 replies; 2+ messages in thread
From: Peter A. Castro @ 2015-09-16 23:32 UTC (permalink / raw)
To: David Stacey; +Cc: cygwin
On Wed, 16 Sep 2015, David Stacey wrote:
> Date: Wed, 16 Sep 2015 23:17:10 +0100
> From: David Stacey
> Subject: x3270 post install script fails
Greetings, David,
> The x3270 package performs the following in its post install script:
>
> FONTDIR=/usr/share/fonts
> ENCODINGSDIR=$FONTDIR/encodings
> MKFONTDIR=/usr/bin/mkfontdir
> $MKFONTDIR -e $ENCODINGSDIR $FONTDIR/misc
>
> This fails because the directory '/usr/share/fonts/encodings' no longer
> exists. (The directory used to be provided by the 'font-encodings' package,
> which is now obsolete).
If it's obsolete then there's no point in having mkfontdir try and use it.
Or would a user purposely create it for their own supplemental font usage?
> Probably the best way to resolve this is to add a 'mkdir -p ${ENCODINGSDIR}'
> to the post install script, rather than just assume its existence - provided
> this 'encodings.dir' is still being read by the X server. Otherwise, use
> '/usr/share/X11/fonts/encodings' as the encodings directory.
Or, perhaps it would be better to check for the encodings directory
existance and only supply it to mkfontdir then. I'll play with this a
little.
Thanks for the report.
> Dave.
--
--=> Peter A. Castro
Email: doctor at fruitbat dot org / Peter dot Castro at oracle dot com
"Cats are just autistic Dogs" -- Dr. Tony Attwood
--
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-09-16 23:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-16 22:17 x3270 post install script fails David Stacey
2015-09-16 23:32 ` Peter A. Castro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).