Re: [Fink-users] asymptote runs Cocoa-GLUT rather than X11?

2013-01-25 Thread Greg Minshall
Alexander,

thanks for the reply.

yes, i had noticed xasy, but that isn't (or doesn't seem to be) the
issue.  xasy is sort of a gui to build up an image, one piece at a
time.  i have that running under X.  but, asy itself, when drawing 3D
images, launches some GLUT application, which turns out to be Cocoa.
during ./configure time, asy seems to latch on to Cocoa.

bash greg-minshalls-mbp: {1069} otool -L /sw/bin/asy
/sw/bin/asy:
/sw/lib/libfftw3.3.dylib (compatibility version 7.0.0, current version 
7.2.0)
/sw/lib/libreadline.5.dylib (compatibility version 5.0.0, current 
version 5.2.0)
/sw/lib/libsigsegv.1.dylib (compatibility version 2.0.0, current 
version 2.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
version 169.3.0)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 
1.2.5)
/sw/lib/libgc.1.dylib (compatibility version 2.0.0, current version 
2.3.0)
/sw/lib/ncurses/libncurses.5.dylib (compatibility version 5.0.0, 
current version 5.0.0)
/sw/lib/libgsl.0.dylib (compatibility version 17.0.0, current version 
17.0.0)
/sw/lib/libgslcblas.0.dylib (compatibility version 1.0.0, current 
version 1.0.0)
/System/Library/Frameworks/GLUT.framework/Versions/A/GLUT 
(compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL 
(compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa 
(compatibility version 1.0.0, current version 19.0.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current 
version 56.0.0)

instead of /System/Library/... in the last few lines, i would expect to
see references to freeglut, etc.

btw, i had forgotten to send in a test case (culled from the net).  i've
included it below.

cheers, Greg

import solids;

currentprojection=orthographic(0,10,5);
currentlight=light(paleyellow, (5,-5,10),(0,0,-10));

size(6cm,0);

draw(sphere(1,n=8*nslice),m=10,frontpen=.8bp+blue, backpen=linetype(8 
0)+.8bp+blue, longitudinalpen=nullpen);

draw(surface(sphere(1,n=8*nslice)),palegreen+opacity(.9));

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] asymptote runs Cocoa-GLUT rather than X11?

2013-01-24 Thread Greg Minshall
hi.  i'm running 0.34.4, and have just installed asymptote:

asymptote   2.15-1  Script-based vector graphics language


when i try drawing a 3D object, i get a Cocoa GLUT application, that is
apparently built during the fink build of asymptote.

is this intentional?  poking around, the configure file for asymptote
does various incantations to find an acceptable GLUT (though doesn't
seem to listen to --includedir=... while performing these).

is there a way of getting asymptote to build an X11 GLUT?

cheers, Greg

bash greg-minshalls-mbp: {1068} fink --version
Package manager version: 0.34.4
Distribution version: selfupdate-rsync Thu Jan 24 09:20:06 2013, 10.8, x86_64
Trees: local/main stable/main

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] asymptote runs Cocoa-GLUT rather than X11?

2013-01-24 Thread Alexander Hansen
On 1/24/13 8:25 PM, Greg Minshall wrote:
 hi.  i'm running 0.34.4, and have just installed asymptote:
 
 asymptote   2.15-1  Script-based vector graphics language
 
 
 when i try drawing a 3D object, i get a Cocoa GLUT application, that is
 apparently built during the fink build of asymptote.
 
 is this intentional?  poking around, the configure file for asymptote
 does various incantations to find an acceptable GLUT (though doesn't
 seem to listen to --includedir=... while performing these).
 
 is there a way of getting asymptote to build an X11 GLUT?
 
 cheers, Greg
 
 bash greg-minshalls-mbp: {1068} fink --version
 Package manager version: 0.34.4
 Distribution version: selfupdate-rsync Thu Jan 24 09:20:06 2013, 10.8, x86_64
 Trees: local/main stable/main
 

From fink info asymptote:

Usage Notes:
  The GUI xasy is a Python script.
  It runs with whatever python executable comes first in your PATH.
  It works both with the system python (using aqua graphics,
  better-looking but not-quite functional) and with Fink's python
  (using X11 graphics, ugly but better-working).
  So you can choose which one you want to
  use, by either manipulating your PATH, for example running
 .
env PATH=/usr/bin:$PATH xasy
 .
  for aqua graphics,
  or by simply installing or uninstalling Fink's python package.


-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users