Opened 12 years ago

Closed 12 years ago

#5597 closed defect (fixed)

mythtvosd not linking on OSX since 17979

Reported by: George Nassas <gnassas@…> Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Short story:

The version of freetype needs to be updated so mythtvosd will link on OSX following a recent QT4 change.

Long story:

The osx packager uses 2.1.10 of the freetype library and when configure runs "freetype-config --libs" it gets back something like:

-L{path to wherever you're building}/.osx-packager/build/lib -lfreetype -lz

and that eventually makes its way to EXTRA_LIBS.

Changeset [17979] added this bit to mythtvosd.pro:

LIBS -= -lmyth-$$LIBVERSION -lmythui-$$LIBVERSION $$EXTRA_LIBS

so qmake cheerfully removes the reference to the .osx-packager lib dir and a pesky link error emerges.

Updating to a recent version of freetype restores happiness.

Gratuitous begging: it would be great if the packager stopped forcing disk images on regular HFS volumes. It's no longer needed and it's annoying to have time machine filling up my backup drive with gigabyte+ images. Removing the following if does the trick:

if (!$OPT{usehdimage} && CaseSensitiveFilesystem()) {

Verbose("Forcing -usehdimage due to case-insensitive filesystem"); $OPT{usehdimage} = 1;

}

Attachments (1)

ftupdate.patch (431 bytes) - added by George Nassas <gnassas@…> 12 years ago.
the patch

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by George Nassas <gnassas@…>

Attachment: ftupdate.patch added

the patch

comment:1 Changed 12 years ago by Nigel

(In [18058]) Revert part of [17979]. The myth libs should have never been on the link line, because ../programs-libs.pro is not included in this project file. Removing EXTRA_LIBS was breaking OS X compilation (after 17961, it was getting Qt lib dir from that variable). Discovered by George Nassass. Refs #5597

comment:2 Changed 12 years ago by Nigel

Resolution: fixed
Status: newclosed

(In [18059]) No longer generate disk images. MythTV source hasn't been case-requiring since 2005, and George did beg :-) Closes #5597

Note: See TracTickets for help on using tickets.