Re: Upgrade gtk2 fails

Piet van Oostrum <[email protected]> Sun, 27 Aug 2006 19:19:47 +0200
Newsgroups gmane.os.opendarwin.darwinports
Message-ID <[email protected]>
>>>>> McGarry Vince <[email protected]> (MV) wrote:

>MV> Hello,
>MV> My first attempt at upgrading gtk2 ended in a loop. I bailed out,  cleaned
>MV> gtk2, re-checked the need for an update, and then attempted  to update,
>MV> ending with below. I'm very naive about what is happening  here and how it
>MV> might be fixed. Gnome, of course, no longer works.

The gtk2 port has very recently been uodated. Unfortunately the new version
requires cups >= 1.1.8, because in that version in the struct ppd_group_str
(in ppd.h) a new name field was added, and gtk2 now uses that. This field
is not present in Apples' version of cups. Up to now darwinports only
supplies cups headers (port cups-devel) but of course you can't use newer
headers with an old version of cups. So maybe the solution would be to
install a new version of cups, but I doubt that Mac OS X will use it
instead of the standard version. If not, this would probably break things
considerable. 

So probably the safest might be to downgrade gtk2 to the latest version
that doesn't use the name field. 
-- 
Piet van Oostrum <[email protected]>
URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4]
Private email: [email protected]