On 4/13/16 7:02 PM, Michael wrote:
On 2016-04-13, at 3:50 PM, Jeremy Lavergne <jer...@lavergne.gotdns.org> wrote:

Check out `port dependents gdk-pixbuf2` (with port deps being the other direction).
keybounceMBP:Mlp michael$ port dependents xorg-libX11
gdk-pixbuf2 depends on xorg-libX11
mesa depends on xorg-libX11
xorg-libXext depends on xorg-libX11
xorg-libXfixes depends on xorg-libX11
xorg-libXt depends on xorg-libX11
xrender depends on xorg-libX11
keybounceMBP:Mlp michael$ port dependents mesa
mesa has no dependents.
keybounceMBP:Mlp michael$ port dependents gdk-pixbuf2
gtk2 depends on gdk-pixbuf2
keybounceMBP:Mlp michael$ 

Hmm, so mesa is one of them, and nothing depends on mesa (so who asked for it / why is it there?)

But also gtk2. I thought gtk3 was the current version -- gtk2 isn't even maintained if I understood correctly.

keybounceMBP:Mlp michael$ port dependents gtk2
gtk2 has no dependents.

And who asked for it?
A few possibilities that I can think of:

1) You installed it explicitly (check port list requested)
2) It used to be a dependency, but isn't any more (dependent package was upgraded and dependencies changed; dependent package was uninstalled; dependent package variant was changed to not need it)
3) It is a build-time dependency.  A build dependency is only needed during building, and once building (install) is complete, the build-time dependency is no longer required.  It would seem probably not in this case.

If you just want to clean cruft, you can 'port uninstall leaves' a couple of times (the first uninstall would/might uninstall meta, which would then make xorg-libX11 a leaf, so the second iteration would remove that).  Repeat until there are no leaves.

Once there are no leaves, any package installed should either have dependencies or be requested (by you).
-- 
-Justin
justinval...@gmail.com
_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to