On Feb 19, 2005, at 9:41 AM, Alexander Strange wrote:

"wxWidgets" is just a generic name; implementations of it for other stuff are named wxWindows, wxGTK, wxMac, etc.

Right, I understand that now, but people who have never heard of wxWidgets (like me one week ago) won't know that. After all, other toolkits are not like this. The Qt toolkit, for example, is packaged in Fink as Qt, not Qt-X11 or whatever. So, when one needs wxWidgets, many will simply look for wxWidgets (as I did) and not find it.


The appropriate thing to do would be to make all the seperate packages Provide wxwidgets, and then Conflict/Replace each other if necessary.

Okay, makes sense. Currently the wxmac/wxgtk packages Conflict/Replace each other, but they don't Provide anything. As a test, I modified the wxmac package so that it Provides wxwidgets, rebuilt it, and indeed a wxwidgets "virtual package" showed up in Fink Commander. Interestingly, however, Fink Commander reported the version of this package as 2.5.2.8-2, even though the providing package (wxmac) was 2.5.3. Somehow the virtual wxwidgets package inherited the version from wxgtk instead, even though I never touched it and it doesn't Provide anything. Anybody know why?


All this makes me wonder... How would Fink resolve dependencies in a situation where none of the wx* packages is installed, and then the user requests installation of a package depending on wxwidgets? How would it know whether to install wxgtk or wxmac, assuming both of them Provide wxwidgets?

Also, there is a warning notice in Fink's docs about the Provides field. Apparently it is dangerous because Depends ignores version information in a package with the Provides field. Does this mean we should find another workaround for this problem?

Trevor



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to