| 25 | |
| 26 | fix attempts |
| 27 | |
| 28 | {{{ |
| 29 | ================ |
| 30 | first thought - brought in symbols from 10.6 only |
| 31 | presumably due to error in AvailabilityInternal.h |
| 32 | fixed AvailabilityInternal.h and rebuilt -- > fail |
| 33 | |
| 34 | ============ |
| 35 | try rebuilding pango with stock macports compiler --> fail |
| 36 | |
| 37 | ============= |
| 38 | try rebuilding pango with sudo port install pango -quartz+x11 |
| 39 | --> fails -- portfile forces +quartz |
| 40 | |
| 41 | ================== |
| 42 | edit portfile to disable force of +quartz and sudo port install pango -quartz+x11 |
| 43 | success with building pango without +quartz |
| 44 | pango @1.40.3_0+x11 (active) platform='darwin 9' archs='ppc' |
| 45 | but fails again |
| 46 | |
| 47 | ======= |
| 48 | try changing post-configure, edit to HAVE_CORE_TEXT 0 in config.h, and then building |
| 49 | pango installs without error |
| 50 | |
| 51 | but 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 | |
| 60 | try 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 | |
| 72 | STILL FAILS -- so changed it back |
| 73 | |
| 74 | ========= |
| 75 | |
| 76 | try editing to: #define __MAC_OS_X_VERSION_MAX_ALLOWED __MAC_10_5 |
| 77 | in |
| 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 | |
| 85 | try adding the following to macports.conf |
| 86 | macosx_deployment_target 10.5 |
| 87 | |
| 88 | ===> fails |
| 89 | |
| 90 | }}} |
| 91 | |
| 92 | all I have left in my quiver of thoughts is to edit the source for pango |
| 93 | |
| 94 | work/pango-1.40.3/pango/pangocoretext-shape.c |
| 95 | |
| 96 | to change the coretext calls |
| 97 | |
| 98 | _CFStringIsSurrogateHighCharacter |
| 99 | |
| 100 | to 10.5 friendly versions |
| 101 | |
| 102 | UCIsSurrogateHighCharacter (in TextCommon.h) |
| 103 | |
| 104 | |
| 105 | but -- 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 | |