[47462] trunk/dports/net/scotty/Portfile

Jeremy Huddleston jeremyhu at macports.org
Mon Mar 2 11:47:50 PST 2009


Not exactly...

tkined is just a wish script.  It doesn't need anything from xorg-libs  
directly.  It just needs wish.  wish is provided by its other  
dependencies.

In fact, tkined doesn't even run here.  It tries to use the system  
wish (which isn't X11 based, btw) and fails with:

/opt/local/bin $ ./tkined
Error in startup script: can't find package Tkined 1.5.0
     while executing
"package require -exact Tkined 1.5.0"
     (file "./tkined" line 12)






On Mar 2, 2009, at 09:10, markd at macports.org wrote:

> Hi Jeremy,
>
> Ok now I remember.  There is a tkined X11 editor that gets installed  
> by
> scotty.  So I supposed that I should include it as a dependency,  
> though I
> doubt anyone would use it these days anyway.
>
> But I didn't think that whether or not a port links against a library
> should determine whether it is a dependency or not.  But at the time I
> probably didn't fully understand the difference between depends_lib  
> and
> depends_run and I suppose it should have been the latter if  
> anything.  But
> I'm fine with dropping X11 as a dependency since I don't think  
> anyone uses
> tkined anymore.
>
> Mark
>
> ----- Original Message -----
>
>> It looks like scotty only links to tk, so it seems it doesn't need  
>> any
>> specific X11 deps at all.
>>
>> However, at least here, it actually builds against the system tcl/ 
>> tk and
>> not
>> MacPorts even though it claims dependencies on both:
>>
>>       tnm.dylib (compatibility version 0.0.0, current version 0.0.0)
>>       /System/Library/Frameworks/Tcl.framework/Versions/8.4/Tcl
>> (compatibility version 8.4.0, current version 8.4.0)
>>       /System/Library/Frameworks/Tk.framework/Versions/8.4/Tk
>> (compatibility version 8.4.0, current version 8.4.0)
>
>
>> Hi Jeremy,
>>
>> I see that the 'lib:libX11.6:XFree86' dependency was removed a  
>> month ago
>> in the Scotty port in favor of 'port:xorg-libs', and now the latter  
>> has
>> been removed.  I don't remember much about the Scotty port, but the
>> latest change simply says xorg-libs is unneeded.  Can you give some  
>> more
>> explanation on the reasons for the two changes?
>>
>> Mark
>
>> Date: Sat, 28 Feb 2009 02:02:51 -0800 (PST)
>> From: jeremyhu at macports.org
>> Subject: [47462] trunk/dports/net/scotty/Portfile
>> To: macports-changes at lists.macosforge.org
>> Message-ID: <20090228100251.6375910E267A at beta.macosforge.org>
>> Content-Type: text/plain; charset="utf-8"
>>
>> Revision: 47462
>>         http://trac.macports.org/changeset/47462
>> Author:   jeremyhu at macports.org
>> Date:     2009-02-28 02:02:51 -0800 (Sat, 28 Feb 2009)
>> Log Message:
>> -----------
>> scotty: Remove unneded dependncy on xorg-libs
>>
>> Modified Paths:
>> --------------
>>   trunk/dports/net/scotty/Portfile
>>
>> Modified: trunk/dports/net/scotty/Portfile
>> ===================================================================
>> --- trunk/dports/net/scotty/Portfile    2009-02-28 10:01:05 UTC (rev
>> 47461)
>> +++ trunk/dports/net/scotty/Portfile    2009-02-28 10:02:51 UTC (rev
>> 47462)
>> @@ -24,8 +24,7 @@
>> #svn.url
>> https://subversion.eecs.iu-bremen.de/svn/schoenw/src/scotty
>> #depends_build          port:subversion
>>
>> -depends_lib             port:xorg-libs \
>> -                       port:tcl \
>> +depends_lib             port:tcl \
>>                       port:tk
>>
>> patchfiles             patch-Makefile.in \
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL:
>> <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090228/5236689b/attachment-0001.html 
>> >
>>
>



More information about the macports-dev mailing list