[MacPorts] #21656: pango 1.26 +quartz doesn't compile on tiger
#21656: pango 1.26 +quartz doesn't compile on tiger --------------------------------+------------------------------------------- Reporter: neric27@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: tiger | Port: pango --------------------------------+------------------------------------------- with pango 1.26, some new CTFontRef is used, which is not present in mac OS X Tiger (aka 10.4). I'm afraid this is something which has to be fixed upstream... The error is : {{{ Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_pango/work/pango-1.26.0" && /usr/bin/make -j1 all " returned error 2 Command output: /usr/bin/make all-recursive Making all in pango GEN pango-enum-types.h GEN pango-enum-types.c /usr/bin/make all-recursive Making all in opentype make[4]: Nothing to be done for `all'. Making all in mini-fribidi make[4]: Nothing to be done for `all'. GEN pango-enum-types.h GEN pango-enum-types.c CC libpangocairo_1_0_la-pangocairo-atsuifont.lo pangocairo-atsuifont.c: In function 'pango_cairo_atsui_font_create_metrics_for_context': pangocairo-atsuifont.c:123: error: 'CTFontRef' undeclared (first use in this function) pangocairo-atsuifont.c:123: error: (Each undeclared identifier is reported only once pangocairo-atsuifont.c:123: error: for each function it appears in.) pangocairo-atsuifont.c:123: error: parse error before 'ct_font' pangocairo-atsuifont.c:132: error: 'ct_font' undeclared (first use in this function) pangocairo-atsuifont.c:132: warning: implicit declaration of function 'CTFontCreateWithGraphicsFont' pangocairo-atsuifont.c:136: warning: implicit declaration of function 'CTFontGetAscent' pangocairo-atsuifont.c:137: warning: implicit declaration of function 'CTFontGetDescent' pangocairo-atsuifont.c:139: warning: implicit declaration of function 'CTFontGetUnderlinePosition' pangocairo-atsuifont.c:140: warning: implicit declaration of function 'CTFontGetUnderlineThickness' make[4]: *** [libpangocairo_1_0_la-pangocairo-atsuifont.lo] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 }}} -- Ticket URL: <http://trac.macports.org/ticket/21656> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21656: pango 1.26 +quartz doesn't compile on tiger --------------------------------+------------------------------------------- Reporter: neric27@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: tiger | Port: pango --------------------------------+------------------------------------------- Comment(by neric27@…): the offensive commit is here : [http://git.gnome.org/cgit/pango/commit/?id=01783de926a09dd8a3b11699bc8b1a6b6...] In WebKit for instance, they seem to maintain compatibility [http://trac.webkit.org/changeset/30997]. I'm not a Cocoa developer, so I can't propose any patch. The obvious would be to back-apply the pango commit and hope for the best. -- Ticket URL: <http://trac.macports.org/ticket/21656#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21656: pango 1.26 +quartz doesn't compile on tiger --------------------------------+------------------------------------------- Reporter: neric27@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: tiger | Port: pango --------------------------------+------------------------------------------- Changes (by blb@…): * owner: macports-tickets@… => ryandesign@… -- Ticket URL: <http://trac.macports.org/ticket/21656#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21656: pango, pango-devel: +quartz doesn't compile on tiger ---------------------------------+------------------------------------------ Reporter: neric27@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: fixed | Keywords: tiger Port: pango, pango-devel | ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * status: new => closed * resolution: => fixed * port: pango => pango, pango-devel Comment:
with pango 1.26, some new CTFontRef is used, which is not present in mac OS X Tiger (aka 10.4). I'm afraid this is something which has to be fixed upstream... I agree. I assume upstream is already aware of the problem since it has been noted on the pango mailing list [http://mail.gnome.org/archives/gtk- i18n-list/2009-August/msg00048.html here] and [http://mail.gnome.org/archives/gtk-i18n-list/2009-September/msg00000.html here]. For now I marked the quartz variant as requiring 10.5 or greater in r58387. If upstream changes pango to once again make quartz possible on 10.4, let me know and I'll remove this restriction again.
-- Ticket URL: <http://trac.macports.org/ticket/21656#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21656: pango, pango-devel: +quartz doesn't compile on tiger ---------------------------------+------------------------------------------ Reporter: neric27@… | Owner: ryandesign@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: | Keywords: tiger Port: pango, pango-devel | ---------------------------------+------------------------------------------ Changes (by elelay@…): * status: closed => reopened * resolution: fixed => Comment: Replying to [comment:3 ryandesign@…]:
If upstream changes pango to once again make quartz possible on 10.4, let me know and I'll remove this restriction again.
Hi Ryan, I tried pango 1.28.0 +quartz this morning and it builds and works well. It fixes an issue in [gPodder https://bugs.gpodder.org/show_bug.cgi?id=1008] when subscribing to a podcast containing text written in Hebrew. The upstream [bug https://bugzilla.gnome.org/show_bug.cgi?id=593240] is still open though... -- Ticket URL: <http://trac.macports.org/ticket/21656#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21656: pango, pango-devel: +quartz doesn't compile on tiger ---------------------------------+------------------------------------------ Reporter: neric27@… | Owner: ryandesign@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: | Keywords: tiger Port: pango, pango-devel | ---------------------------------+------------------------------------------ Comment(by jmr@…): Fixed for pango in r72474. -- Ticket URL: <https://trac.macports.org/ticket/21656#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21656: pango, pango-devel: +quartz doesn't compile on tiger ---------------------------------+-------------------------- Reporter: neric27@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: fixed | Keywords: tiger Port: pango, pango-devel | ---------------------------------+-------------------------- Changes (by ryandesign@…): * status: reopened => closed * resolution: => fixed Comment: Fixed for pango-devel in r79553. -- Ticket URL: <https://trac.macports.org/ticket/21656#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts