After your fix of fig2dev I updated octave, and afterward could now install 
xfig without any problem.  I then updated XQuartz to 2.7.11 this morning, and 
it seems to be playing nicely with nedit and gv.  However, your link to 
xfig.info seems to be broken.  I did find an xfig.info file under 
/sw/fink/10.9-libcxx/local/main/finkinfo, and copied it to 
/sw/fink/dists/local/main/finkinfo, but I imagine that is not the correct one. 
I also copied from the same directory ( 
/sw/fink/10.9-libcxx/local/main/finkinfo ) the libxaw3dxft* files to 
/sw/fink/dists/local/main/finkinfo .  So now I have


MacBook-Pro:~ Mike$ ls -al /sw/fink/dists/local/main/finkinfo

total 48

drwxr-xr-x  6 root  wheel   204 Nov 18 07:06 .

drwxr-xr-x  4 root  wheel   136 Oct 10  2015 ..

-rw-r--r--  1 root  wheel  8194 Nov 18 07:06 libxaw3dxft-api-tokens.patch

-rw-r--r--  1 root  wheel  3507 Nov 18 07:06 libxaw3dxft.info

-rw-r--r--  1 root  wheel   452 Nov 18 07:06 libxaw3dxft.patch

-rw-r--r--  1 root  wheel  1848 Nov 18 07:00 xfig.info

MacBook-Pro:~ Mike$


When I try to start xfig, however I get


MacBook-Pro:~ Mike$ xfig

Warning: translation table syntax error: Unknown event type :   EnterWindow

Warning: ... found while parsing '<EnterWindow>: highlight() '

Warning: String to TranslationTable conversion encountered errors

Warning: translation table syntax error: Unknown event type :   EnterWindow

Warning: ... found while parsing '<EnterWindow>: highlight()'

Warning: String to TranslationTable conversion encountered errors

Warning: No type converter registered for 'String' to 'Relief' conversion.

Error: Couldn't find per display information

MacBook-Pro:~ Mike$


Is it the wrong xfig.info file here?



________________________________
From: Alexander Hansen <alexanderk.han...@gmail.com>
Sent: Wednesday, November 16, 2016 11:28 AM
To: Mike Wilkes
Cc: Fink
Subject: Re: [Fink-beginners] xfig startup error with display


On Nov 16, 2016, at 06:32, Mike Wilkes 
<mike.wil...@hotmail.com<mailto:mike.wil...@hotmail.com>> wrote:

Hi Alexander.  I tacked this on as a reply to my earlier problem with the 
conflict between xfig and octave, but you may not have seen it.  xfig installed 
fine after removing octave, but then immediately upon trying to start it I get

Error: Couldn't find per display information

I have XAPPLRESDIR="/sw/etc/app-defaults/" set up, so I am not sure what the 
problem with the display is now. I am running XQuartz 2.7.8, which used to run 
the previous xfig just fine, and runs nedit and gv OK as it stands now.

The issue is Fink's libxt package.  We didn't discover this initially, but xfig 
and some other packages don't run when that is in place.  In your case the 
issue may be even more severe, since you're mixing the flat_namespace libXt 
from your version of XQuartz with our non-flat version.

We've got a workaround available for right now, which is to download 
xfig.info<http://xfig.info> along with the various libxaw3dxft* .info and 
.patch files, to your /sw/fink/dists/local/main/finkinfo .  These have been 
updated to force Xquartz-2.7.11, however, because when they go into release we 
want consistent builds for everybody.

An alternative option if you don't want to update XQuartz would be:

1) copy /sw/fink/dists/stable/main/finkinfo/sci/xfig.info<http://xfig.info> and 
/sw/fink/dists/stable/main/finkinfo/x11/libxaw3dxft* into 
/sw/fink/dists/local/main/finkinfo
2) Edit the .info files.
3) Bump the Revision by .1
4) Remove libxt and libxt-shlibs from the dependencies.
5) Add BuildConflicts: libxt, libxt-flat to both package descriptions.

You'll then have a consistent tree based on libXt from XQuartz-2.7.8.  The 
downside is that we don't really have a good option to maintain build 
consistency and not force an XQuartz update, so you wouldn't be able to install 
future official updates to those packages.


--
Alexander Hansen, Ph.D.
Fink User Liaison

------------------------------------------------------------------------------
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to