[MacPorts] #40869: makeicns: undefined type CGDirectPaletteRef on 10.9

MacPorts noreply at macports.org
Tue Oct 29 08:23:07 PDT 2013


#40869: makeicns: undefined type CGDirectPaletteRef on 10.9
-----------------------+-----------------------
  Reporter:  snc@…     |      Owner:  mk@…
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.2.99
Resolution:            |   Keywords:  mavericks
      Port:  makeicns  |
-----------------------+-----------------------

Comment (by pguyot@…):

 The bug doesn't seem to be fixed upstream.

 makeicns relied on CGPaletteCreateDefaultColorPalette to create ics8 and
 icl8 icons using Mac's traditional 8 bit color palette. This API is no
 longer available in 10.9.

 Two solutions exist: avoid creating the ics8 and icl8 icons (cf patch
 above) or re-implement the sampling from 24 bit RGB to 8 bit indexed
 colors (the easiest being to do 6 bit RGB, although quality will be
 inferior than what was available in 10.8).

-- 
Ticket URL: <https://trac.macports.org/ticket/40869#comment:11>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list