[MacPorts] #45551: iTerm2 builds fine on OS X 10.6 Snow Leopard, Portfile prevents

MacPorts noreply at macports.org
Tue Oct 21 19:56:46 PDT 2014


#45551: iTerm2 builds fine on OS X 10.6 Snow Leopard, Portfile prevents
--------------------------------+--------------------
  Reporter:  chilli.namesake@…  |      Owner:  emer@…
      Type:  enhancement        |     Status:  new
  Priority:  Low                |  Milestone:
 Component:  ports              |    Version:
Resolution:                     |   Keywords:
      Port:  iTerm2             |
--------------------------------+--------------------

Comment (by ryandesign@…):

 Larry has said most of what I wanted to say while I was writing my
 response, so let me just add:

 At the time r111826 was committed, the iTerm2 port was at version
 1.0.0.20130622. I have gone back to test that version on OS X 10.6. It
 fails to build with the following error message:

 {{{
 Undefined symbols:
   "_CTFontDrawGlyphs", referenced from:
       -[PTYTextView(Private) drawRun:ctx:initialPoint:] in PTYTextView.o
       -[PTYTextView(Private) drawRun:ctx:initialPoint:] in PTYTextView.o
 ld: symbol(s) not found
 }}}

 [https://developer.apple.com/library/mac/documentation/Carbon/Reference/CTFontRef/index.html#//apple_ref/c/func/CTFontDrawGlyphs
 CTFontDrawGlyphs] is a function that Apple introduced in 10.7.

 Users perceive build failures as bugs to be reported to us. If we already
 know about the problem, and there is nothing we can do about it because of
 a decision the program's developers made, this is pointless and wastes
 everyone's time. Therefore we print a friendlier error message advising
 the user in advance that it will not work.

 Thanks for letting us know that iTerm2 @2.0 does actually build and work
 on OS X 10.6. I've confirmed that as well. I see that the iTerm2 source
 still uses the `CTFontDrawGlyphs` function, but perhaps its use has now
 been made conditional on its availability.

 I'm going to test on 10.5 as well to see if we can allow that now too.

 I already tested 10.4 which still fails to build, for a different reason.

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


More information about the macports-tickets mailing list