[mythtv-users] New Mac OS X Build Process--MacPorts

Craig Treleaven ctreleaven at cogeco.ca
Wed Aug 22 12:51:16 UTC 2012


At 11:32 PM -0700 8/21/12, Yeechang Lee wrote:
>In a few hours of testing, the one and only difference I've noticed
>between the prebuilt and MacPorts mythfrontend is in font handling. I
>ran both Jean-Yves' prebuilt (v0.25-146-gb1b516e) and the MacPorts
>self-compiled (v0.25.2-46cab935-MacPorts) binaries "raw" from the
>command line, outside the .app and AppleScript wrappers.
>
>Mythbuntu theme:
>* Jean-Yves' prebuilt binary: No mention of font errors.
>* MacPorts: No mention of font errors, but the Program Details screen
>   alone uses a serif font not used by the theme.
>
>Arclight theme:
>* Jean-Yves:
>
>     MythFontProperties: Failed to load 'CartoGothic Std', got 'Arial'
>     instead
>
>This time, it is this one whose Program Details screen uses a mystery
>serif font.
>
>* MacPorts: No font complaints, but instead
>
>     2012-08-21 23:14:26.563572  E  MythPainter::GetImageFromTextLayout:
>     Invalid canvas.
>     2012-08-21 23:14:26.565664 E  MythPainter::GetImageFromTextLayout:
>     Invalid canvas.
>     QPainter::begin: Paint device returned engine == 0, type: 3
>     QPainter::begin: Paint device returned engine == 0, type: 3
>
>MythMediaStream theme:
>* Jean-Yves:
>
>     2012-08-21 23:21:09.715784 E  MythFontProperties: Failed to load
>     'DejaVu LGC Sans', got 'Arial' instead
>     2012-08-21 23:21:09.716386 E  MythFontProperties: Failed to load
>     'Fluid', got 'Arial' instead
>
>Program Details: Sans serif font. Looks like Bitstream/DejaVu Sans.
>
>* MacPorts:
>
>     2012-08-21 23:17:58.034575 E MythFontProperties: Failed to load
>     'MediaStreamALT', got 'DejaVu LGC Sans' instead
>
>Program Details: Serif font.

I truly don't understand how fonts are supposed to work with the 
combination of OS X, Qt and Myth.  At one point, I was getting the 
"Failed to load" message all the time (I virtually always use 
MythCenter Wide for testing).  I used the Font Book application to 
load Liberation Sans and DejaVu Sans into OS X and the messages went 
away.

The MacPorts install puts the fonts that Myth ships with in 
/opt/local/share/mythtv/fonts.  "DejaVu LGC Sans" and "Fluid" are not 
among those.  If you can locate copies of the fonts, try placing them 
in the above directory or loading them into Font Book.

>Also, regardless of theme, MacPorts issues a bunch of
>
>2012-08-21 23:25:36.541 mythfrontend[17833:903] ***
>__NSAutoreleaseNoPool(): Object 0x10681d4a0 of class NSCFNumber
>autoreleased with no pool in place - just leaking
>2012-08-21 23:25:36.541 mythfrontend[17833:903] ***
>__NSAutoreleaseNoPool(): Object 0x106a57c90 of class NSConcreteValue
>autoreleased with no pool in place - just leaking
>2012-08-21 23:25:36.542 mythfrontend[17833:903] ***
>__NSAutoreleaseNoPool(): Object 0x118e2fbb0 of class NSCFDictionary
>autoreleased with no pool in place - just leaking
>
>during startup of both mythfrontend and mythtv-setup.

I've noticed that too but it only happens at startup and don't seem 
to cause any ill effects...

Thanks for all the work and for reporting back!

Craig



More information about the mythtv-users mailing list