Hi Alan,

okay, I will have a look at this. I have been travelling a lot these past 
couple of weeks, but my agenda will be more serene the coming weeks, so I hope 
to get some work done.

Regards,

Arjen

> -----Original Message-----
> From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca]
> Sent: Thursday, March 13, 2014 12:30 AM
> To: Arjen Markus; PLplot development list
> Subject: Cygwin issue with bindings/tk/pkgIndex.tcl.in
>
> Hi Arjen:
>
> I am virtually positive your fairly recent commit for 
> bindings/tk/pkgIndex.tcl.in to fix
> up the Cygwin case is not correct.
>
> The code currently looks like this:
>
> if {[string match "*CYGWIN*" $::tcl_platform(os)]} {
>    set stem cygplplottcltk@LIB_TAG@-@plplottcltk_SOVERSION@
> } else {
>    set stem tk
> }
>
> It appears to me that Cygwin-related logic block is searching for the Cygwin 
> version
> of the plplotcltk library to dynamically load.
> Instead, that code should be searching for the tk dll (like it does for the 
> non-Cygwin
> logic block above), i.e., the tk device driver dll.  That dll does depend on 
> the
> plplotcltk library but also adds key other functionality that should be 
> necessary in
> order for
>
> package require Pltk
>
> to give the correct results under wish.  (You may have compensated elsewhere 
> for
> that issue so that Cygwin mostly works, but if you address this issue, I 
> suspect that
> "package require Pltk" under wish will provide more reliable results on 
> Cygwin.
>
> N.B. the remarks above apply _only_ to bindings/tk/pkgIndex.tcl.in.
>
> In contrast to that case, for the bindings/tcl/pkgIndex.tcl.in case, it is 
> actually the
> plplottcltk library that should be dynamically loaded (so that "package 
> require Pltcl"
> gives the correct results under tclsh).  And for the bindings/tk-x-
> platform/pkgIndex.tcl.in case it is the tkwin dll that should be dynamically 
> loaded (so
> that "package require Plplotter" gives the correct results under wish).
>
> Alan
> __________________________
> Alan W. Irwin
>
> Astronomical research affiliation with Department of Physics and Astronomy,
> University of Victoria (astrowww.phys.uvic.ca).
>
> Programming affiliations with the FreeEOS equation-of-state implementation for
> stellar interiors (freeeos.sf.net); the Time Ephemerides project 
> (timeephem.sf.net);
> PLplot scientific plotting software package (plplot.sf.net); the libLASi 
> project
> (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the 
> Linux
> Brochure Project (lbproject.sf.net).
> __________________________
>
> Linux-powered Science
> __________________________

DISCLAIMER: This message is intended exclusively for the addressee(s) and may 
contain confidential and privileged information. If you are not the intended 
recipient please notify the sender immediately and destroy this message. 
Unauthorized use, disclosure or copying of this message is strictly prohibited. 
The foundation 'Stichting Deltares', which has its seat at Delft, The 
Netherlands, Commercial Registration Number 41146461, is not liable in any way 
whatsoever for consequences and/or damages resulting from the improper, 
incomplete and untimely dispatch, receipt and/or content of this e-mail.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to