Opened 17 years ago
Closed 17 years ago
#5597 closed defect (fixed)
mythtvosd not linking on OSX since 17979
Reported by: | 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)
Change History (3)
by , 17 years ago
Attachment: | ftupdate.patch added |
---|
comment:1 by , 17 years ago
(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
the patch