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:date:from:to:cc:subject:in-reply-to:message-id :references:mime-version:content-type; q=dns; s=default; b=j66La chQPNOzOrn6edruaXtLm7CYK9sA2n26KHKJtBSfvpB2gkOY1K9zVSH2jdQSh9e6X FRkb3S+UT4WfaNOe9D6BPxbnvZrqO2ASXcA6p21QVBT/A+SSXCX2y0MPOeONkmtb J06qNSkYUHUlHoLe7I8/nt8vOrWOnZUyHLXUnc= 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:date:from:to:cc:subject:in-reply-to:message-id :references:mime-version:content-type; s=default; bh=c5PPhrLOF5P wxExDuiZtSJxIBFU=; b=utzlGicrpxB5BDHvQDj/6KG0TbLn2p6DibSfz0t/nH1 /xsYQsR2uNJhvGILS4DpsefeYfGT1DzjAy4rRHLAmkcGSg1MudHHkDIQttAWDk5c SCYDtlCYkmcwuGIHvXtZH94Gv9yvsfEWzYJDiPqFA/1au0GikUF5W9ySrmHXEHYY = Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=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 Date: Wed, 16 Sep 2015 16:30:31 -0700 (PDT) From: "Peter A. Castro" To: David Stacey cc: cygwin AT cygwin DOT com Subject: Re: x3270 post install script fails In-Reply-To: <55F9EA66.8080807@tiscali.co.uk> Message-ID: References: <55F9EA66 DOT 8080807 AT tiscali DOT co DOT 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 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