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)



_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users