[MacPorts] #18252: gtk2 on Panther: `ppd_attr_t' undeclared (first use in this function)

MacPorts noreply at macports.org
Thu Jan 29 10:55:08 PST 2009


#18252: gtk2 on Panther: `ppd_attr_t' undeclared (first use in this function)
----------------------------------+-----------------------------------------
 Reporter:  EvilKnight@…          |       Owner:  nox@…           
     Type:  defect                |      Status:  new             
 Priority:  Normal                |   Milestone:  Port Bugs       
Component:  ports                 |     Version:  1.7.0           
 Keywords:                        |        Port:  gtk2            
----------------------------------+-----------------------------------------

Comment(by ryandesign@…):

 Replying to [comment:6 rob@…]:
 > Should I keep watching here for a fix?
 Yes, but not many are using Panther anymore so you may have to do some
 work yourself to try to find the fix.

 I did a little investigating and found that ppd_attr_t is indeed not
 defined by any file in the cups-headers port. It is, however, defined in
 /usr/include/cups/ppd.h on Tiger. So it looks like gtk2 is now using a
 newer version of CUPS than the cups-headers port provides headers for. We
 could possibly update cups-headers to install headers from a newer version
 of CUPS, but I think the headers have to match the version of CUPS
 provided by the OS. Curiously, according to cups-config, Panther provides
 CUPS 1.1.20rc1 while Tiger has CUPS 1.1.23, but the cups-headers port is
 at version 1.1.15. I wonder if just updating cups-headers to 1.1.20rc1
 would work.

 Another thing we could do is use "configure.args-append --disable-cups" on
 Panther. This should ensure we don't run into CUPS-related problems on
 Panther in the future, but obviously at the expense of disabling CUPS
 support in gtk2 on Panther.

-- 
Ticket URL: <http://trac.macports.org/ticket/18252#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list