Subject: pkg/31373: Xfig requires a post install message
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <jdrews@cybox.com>
List: pkgsrc-bugs
Date: 09/22/2005 22:12:00
>Number:         31373
>Category:       pkg
>Synopsis:       graphics/xfig requires a post install message
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 22 22:12:00 +0000 2005
>Originator:     Jonathan Drews
>Release:        NetBSD 2.0_STABLE
>Organization:

>Environment:

System: NetBSD netbsd.silbsd.org 2.0_STABLE NetBSD 2.0_STABLE (NOTEBOOK) 
#0: Tue Aug 23 03:48:48 MDT 2005 
root@netbsd.silbsd.org:/usr/obj/sys/arch/i386/compile/NOTEBOOK i386
Architecture: i386
Machine: i386
>Description:
 	package: xfig-3.2.4nb3
 	When xfig is run for the first time no colors show up.

>How-To-Repeat:
 	After installing, run xfig from a user account. This message will
         appear:
         "Either you have a very old app-defaults file installed (Fig),
 	or there is none installed at all.You should install the
 	correct version or you may lose some features.This may be done
 	with "make install" in the xfig source directory."

 	This happens because xfig cannot locate the app-defaults directory

>Fix:
 	To fix:
 	Add the following MESSAGE to /usr/pkgsrc/graphics/xfig:
=====================================================
$NetBSD: MESSAGE,v 1.1

Add the following shell variables to your ~/.profile
file, in your home account.

XAPPLRESDIR=/usr/pkg/lib/X11/app-defaults/
export XAPPLRESDIR

=====================================================

After doing this, xfig will find the app-defaults directory and
function properly.

>Unformatted: