Bittorrent

Jyrki Wahlstedt jwa at macports.org
Wed May 2 05:59:44 PDT 2007


On 2.5.2007, at 15.51, Nathan Brazil wrote:

> Ryan got to this already, but I thought I would share the  
> capability of a Python script I wrote to uncover recursive  
> dependencies of ports, which also reveals the need for X by libsdl:
>
> % rdeps.py bittorrent
> +- bittorrent
>    +- (L) py-wxpython
>    |   +- (L) python24
>    |   +- (L) wxWidgets
>    |       +- (L) jpeg
>    |       +- (L) tiff
>    |       |   +- (L) jpeg
>    |       |   +- (L) zlib
>    |       +- (L) libpng
>    |       |   +- (L) zlib
>    |       +- (L) zlib
>    |       +- (L) libiconv
>    |       |   +- (B) gperf
>    |       +- (L) expat
>    |       +- (L) libsdl
>    |       |   +- (L) XFree86
>    |       |       +- (B) perl5.8
>    |       +- (L) libsdl_mixer
>    |           +- (L) libsdl
>    |           |   +- (L) XFree86
>    |           |       +- (B) perl5.8
>    |           +- (L) smpeg
>    |           |   +- (L) libsdl
>    |           |       +- (L) XFree86
>    |           |           +- (B) perl5.8
>    |           +- (L) libvorbis
>    |           |   +- (L) libogg
>    |           +- (L) libogg
>    |           +- (L) libmikmod
>    +- (L) py-twisted
>    |   +- (L) python24
>    |   +- (L) py-zopeinterface
>    |       +- (L) python24
>    +- (L) py-crypto
>        +- (L) python24
>
> --
>
> On May 2, 2007, at 2:10 AM, Ryan Schmidt wrote:
>
>> On May 2, 2007, at 03:56, Jyrki Wahlstedt wrote:
>>
>>> On 2.5.2007, at 11.38, David Liontooth wrote:
>>>
>>>> Eric Donkersloot wrote:
>>>>
>>>>> Is there any way to install bittorrent without the necessity to  
>>>>> install
>>>>> Xfree86 or Apple's X11 ? I never understood why it needs that  
>>>>> dependency.
>>>>
>>>> "port file bittorrent" shows it has these dependencies:
>>>>
>>>> depends_lib     port:py-wxpython \
>>>>                         port:py-twisted \
>>>>                         port:py-crypto
>>>>
>>>> Not sure why it needs wxpython, that might pull in X11.
>>>
>>> Not answering the original question (I don't know) I can say  
>>> there is nothing in py-wxpython to pull in X11. It depends on (as  
>>> can be seen with 'port deps py-wxpython') python24 and wxWidgets.  
>>> Port wxWidgets does not depend on X11.
>>
>> bittorrent -> py-wxpython -> wxWidgets -> libsdl -> XFree86 (or  
>> Apple's X11)
>>
Yeah,
I was wrong in what I said originally. The script, the result of  
which is shown here, is something I've missed in the port command, in  
a bit simpler form though. What I mean is that I'd like to see all  
dependencies as a list without a structure, e.g. to estimate the  
installation time of a port. It just had to be written in tcl instead  
of python to be included in the port command proper.

!
! Jyrki Wahlstedt
!	skype:jyrkiwahlstedt
!	http://www.wahlstedt.fi/jyrki/
!
! Our life is no dream; but it ought to become one and perhaps will.
! PGP key ID: 0x139CC386 fingerprint: F355 B46F 026C B8C1 89C0  A780  
6366 EFD9 139C C386






More information about the macports-users mailing list