On Oct 14, 2008, at 04:10, Bart Masschelein wrote: > On Tue, Oct 14, 2008 at 9:58 AM, Ryan Schmidt wrote: > >> On Oct 14, 2008, at 02:37, Bart Masschelein wrote: >> >>> I found out that glade-sharp is installed when you first install >>> libglade2, and afterwards gtk-sharp2. If you install the latter >>> without having installed the former, it seems it does not install >>> glade-sharp. >>> >>> Up to the next weirdness ;-) >> >> Thanks for discovering that. That's a bug. I filed it here: >> >> http://trac.macports.org/ticket/16860 > > > You might be right, I don't know much about the details of these > packages. But couldn't it be that when installing gtk-sharp2, it > checks for other installed packages, and based on the availability, > it installs additional sharp bindings? Something in the line of: > this user does not have libglade2 installed, so probably he will > not need glade-sharp bindings either, I will skip this installation? > > I don't really know if gtk-sharp2 is useful without glade or not, > but if it is useful in some cases, this might be the explanation, > and in that sense there is not really a dependency. > > In your ticket you write: > >> or it should disable the creation of glade-sharp unless a >> variant is selected. > > > That's what it does currently, I guess: it installs gtk-sharp2 > without any problem, but without glade-sharp.
I'm sure gtk-sharp2 does do some autodetection and decides whether to build glade-sharp based on whether or not libglade2 is installed. However such autodetection is not what we want in MacPorts. We want that if you install a port, you get exactly the same software as everyone else who installs the port (on the same major OS version and processor architecture), regardless of what other ports you already have installed. Therefore either the gtk-sharp2 needs to declare a dependency on libglade2 so that glade-sharp is always built, or if that dependency is too heavy, then the autodetection of libglade2 in gtk-sharp2 must be disabled and a new variant should be added which would add the dependency on libglade2 and reenable the autodetection. _______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
