Changes between Initial Version and Version 1 of Ticket #52468, comment 32


Ignore:
Timestamp:
Oct 18, 2016, 6:45:02 AM (8 years ago)
Author:
ken-cunningham-webuse
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #52468, comment 32

    initial v1  
    11to be noted that although gtk3 builds on Leopard, it actually doesn't seem to work. (oddly, it works quite well on TIger -- go figure).
     2
     3This error happens both with the standard compiler chain build (currently at  gtk3 @3.20.9_0+x11 and also with the gcc6 version building the 3.22.1_0.
     4
     5I tried a lot of different things to fix this - detailed below.
     6
    27
    38{{{
     
    1823Trace/BPT trap
    1924}}}
     25
     26fix attempts
     27
     28{{{
     29================
     30first thought - brought in symbols from 10.6 only
     31presumably due to error in AvailabilityInternal.h
     32fixed AvailabilityInternal.h and rebuilt -- > fail
     33
     34============
     35try rebuilding pango with stock macports compiler --> fail
     36
     37=============
     38try rebuilding pango with sudo port install pango -quartz+x11
     39--> fails -- portfile forces +quartz
     40
     41==================
     42edit portfile to disable force of +quartz and sudo port install pango -quartz+x11
     43success with building pango without +quartz
     44  pango @1.40.3_0+x11 (active) platform='darwin 9' archs='ppc'
     45but fails again
     46
     47=======
     48try changing post-configure, edit to HAVE_CORE_TEXT 0 in config.h, and then building
     49pango installs without error
     50
     51but still same error -- that is very frustrating
     52
     53===============
     54  tried editing AvailabilityInternal.h to #define __MAC_OS_X_VERSION_MAX_ALLOWED __MAC_10_5
     55  =====>fail
     56
     57
     58===================
     59
     60try editing this block:
     61    // set up internal macros
     62    // KENFIX - REMOVE 10_6 refs
     63    //#if __MAC_OS_X_VERSION_MAX_ALLOWED < __MAC_10_6
     64    //    #define __AVAILABILITY_INTERNAL__MAC_10_6        __AVAILABILITY_INTERNAL_UNAVAILABLE
     65    //#elif __MAC_OS_X_VERSION_MIN_REQUIRED < __MAC_10_6
     66    //    #define __AVAILABILITY_INTERNAL__MAC_10_6        __AVAILABILITY_INTERNAL_WEAK_IMPORT
     67    //#else   
     68    //    #define __AVAILABILITY_INTERNAL__MAC_10_6
     69    //#endif
     70    // END KENFIX
     71
     72STILL FAILS -- so changed it back
     73
     74=========
     75
     76try editing to:  #define __MAC_OS_X_VERSION_MAX_ALLOWED __MAC_10_5
     77in
     78 
     79/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers/TextCommon.h
     80
     81===> FAILS
     82
     83============
     84
     85try adding the following to macports.conf
     86macosx_deployment_target 10.5
     87
     88===> fails
     89
     90}}}
     91
     92all I have left in my quiver of thoughts is to edit the source for pango
     93
     94work/pango-1.40.3/pango/pangocoretext-shape.c
     95
     96to change the coretext calls
     97
     98_CFStringIsSurrogateHighCharacter
     99
     100to 10.5 friendly versions
     101
     102UCIsSurrogateHighCharacter (in TextCommon.h)
     103
     104
     105but -- it seems there must be a more elegant way to get the weak linking to stop failing on 10.5 that I'm not thinking of ....
     106