Subject: pkg/6644: xfig only partly compatible with xpkgwedge
To: None <gnats-bugs@gnats.netbsd.org>
From: None <woods@mail.weird.com>
List: netbsd-bugs
Date: 12/23/1998 23:00:15
>Number:         6644
>Category:       pkg
>Synopsis:       xfig only partly compatible with xpkgwedge
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 23 20:05:00 1998
>Last-Modified:
>Originator:     Greg A. Woods
>Organization:
Planix, Inc.; Toronto, Ontario; Canada
>Release:        NetBSD-current (1998/12/02), pkgsrc (1998/11/16)
>Environment:

System: NetBSD 1.3i i386

>Description:

The xfig package is only partly compatible with xpkgwedge
(aka 

>How-To-Repeat:

by observation:

22:41 [1149] # make install
===>  Installing for xfig-3.2.2
install -c -s -m 0555 -o bin -g bin  xfig /usr/pkg/bin/xfig
+ mkdir -p /usr/pkg/lib/X11/xfig/Libraries
install -c -m 0444 -o bin -g bin CompKeyDB /usr/pkg/lib/X11/xfig
install -c -m 0444 -o bin -g bin Fig.ad /usr/pkg/lib/X11/app-defaults/Fig
install -c -m 0444 -o bin -g bin Fig-color.ad /usr/pkg/lib/X11/app-defaults/Fig-color
Copying PDF documentation to /usr/X11R6/share/doc/xfig
Copying html files to /usr/X11R6/share/doc/xfig/html
+ mkdir -p /usr/X11R6/share/doc/xfig/html
  Copying japanese html files
+ mkdir -p /usr/X11R6/share/doc/xfig/html/japanese
  Copying image files for html
+ mkdir -p /usr/X11R6/share/doc/xfig/html/images
Copying Fig Object Libraries
+ mkdir -p /usr/pkg/lib/X11/xfig/Libraries/Buildings
  Copying Buildings library files to /usr/pkg/lib/X11/xfig/Libraries/Buildings
+ mkdir -p /usr/pkg/lib/X11/xfig/Libraries/Computers
  Copying Computers library files to /usr/pkg/lib/X11/xfig/Libraries/Computers
+ mkdir -p /usr/pkg/lib/X11/xfig/Libraries/Electrical
  Copying Electrical library files to /usr/pkg/lib/X11/xfig/Libraries/Electrical
    Copying files to /usr/pkg/lib/X11/xfig/Libraries/Electrical/Physical
+ mkdir -p /usr/pkg/lib/X11/xfig/Libraries/Electrical/Physical
    Copying files to /usr/pkg/lib/X11/xfig/Libraries/Electrical/Schematic
+ mkdir -p /usr/pkg/lib/X11/xfig/Libraries/Electrical/Schematic
+ mkdir -p /usr/pkg/lib/X11/xfig/Libraries/Flowchart
  Copying Flowchart library files to /usr/pkg/lib/X11/xfig/Libraries/Flowchart
+ mkdir -p /usr/pkg/lib/X11/xfig/Libraries/Hospital
  Copying Hospital library files to /usr/pkg/lib/X11/xfig/Libraries/Hospital
+ mkdir -p /usr/pkg/lib/X11/xfig/Libraries/Logic
  Copying Logic library files to /usr/pkg/lib/X11/xfig/Libraries/Logic
+ mkdir -p /usr/pkg/lib/X11/xfig/Libraries/Music
  Copying Music library files to /usr/pkg/lib/X11/xfig/Libraries/Music
+ mkdir -p /usr/pkg/lib/X11/xfig/Libraries/Networks
  Copying Networks library files to /usr/pkg/lib/X11/xfig/Libraries/Networks

>Fix:

unknown.

workaround:

22:48 [1151] # mv /usr/X11/share/doc/xfig /usr/pkg/share/doc    
22:49 [1152] # mv /usr/X11/share/examples/xfig /usr/pkg/share/examples/
22:49 [1153] # make FORCE_PKG_REGISTER=YES reinstall                    
22:50 [1154] # rm -rf /usr/X11/share/doc/xfig usr/X11/share/examples/xfig
22:50 [1155] # ln -s ../../../share/doc/xfig/html /usr/pkg/lib/X11/xfig/html
22:54 [1156] # ln -s ../../../share/doc/xfig/xfig-howto.pdf /usr/pkg/lib/X11/xfig/
22:55 [1157] # ln -s ../../../share/doc/xfig/xfig.pdf /usr/pkg/lib/X11/xfig/

(though of course xfig uses "acroread" to try and read PDFs, not gv or xpdf)
>Audit-Trail:
>Unformatted: