From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 44145 invoked by alias); 16 Sep 2015 23:32:34 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 44131 invoked by uid 89); 16 Sep 2015 23:32:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.2 required=5.0 tests=AWL,BAYES_50,SPF_PASS,TVD_RCVD_IP autolearn=ham version=3.3.2 X-HELO: ripple.fruitbat.org Received: from 173-228-5-241.dsl.static.fusionbroadband.com (HELO ripple.fruitbat.org) (173.228.5.241) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 16 Sep 2015 23:32:32 +0000 Received: from ming.fruitbat.org (ming.fruitbat.org [192.168.55.2]) by ripple.fruitbat.org (8.14.4/8.14.4/fruitwall-1.7) with ESMTP id t8GNUW9h026647; Wed, 16 Sep 2015 16:30:32 -0700 Received: from ming.fruitbat.org (ming.fruitbat.org [192.168.55.2]) by ming.fruitbat.org (8.14.4/8.14.4/fruithub-1.11) with ESMTP id t8GNUVPS020460; Wed, 16 Sep 2015 16:30:31 -0700 Date: Wed, 16 Sep 2015 23:32:00 -0000 From: "Peter A. Castro" To: David Stacey cc: cygwin@cygwin.com Subject: Re: x3270 post install script fails In-Reply-To: <55F9EA66.8080807@tiscali.co.uk> Message-ID: References: <55F9EA66.8080807@tiscali.co.uk> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-IsSubscribed: yes X-SW-Source: 2015-09/txt/msg00257.txt.bz2 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