<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[114355] trunk/dports/multimedia/mythtv-core.27</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/114355">114355</a></dd>
<dt>Author</dt> <dd>pixilla@macports.org</dd>
<dt>Date</dt> <dd>2013-12-05 13:01:49 -0800 (Thu, 05 Dec 2013)</dd>
</dl>
<h3>Log Message</h3>
<pre>multimedia/mythtv-core.27:
- Maintainer patch.
- Update to version 0.27-Fixes-20131129.
- Fix build on Mavericks for stricter libc++ compatibility. Closes #41371
- Fix Freetype includes.
- Blacklist clang to avoid run-time failures. Underlying cause not known.
- Modify launchd parameter so failed backend attempts to launch less often.
- Stop backend logging to Console as well as own logs.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportsmultimediamythtvcore27Portfile">trunk/dports/multimedia/mythtv-core.27/Portfile</a></li>
<li><a href="#trunkdportsmultimediamythtvcore27filesorgmythtvmythbackendplist">trunk/dports/multimedia/mythtv-core.27/files/org.mythtv.mythbackend.plist</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#trunkdportsmultimediamythtvcore27filespatchfreetype251diff">trunk/dports/multimedia/mythtv-core.27/files/patch-freetype-2.5.1.diff</a></li>
<li><a href="#trunkdportsmultimediamythtvcore27filespatchvarious_c_v_stdcdiff">trunk/dports/multimedia/mythtv-core.27/files/patch-various_c++_v_stdc++.diff</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportsmultimediamythtvcore27Portfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/multimedia/mythtv-core.27/Portfile (114354 => 114355)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/multimedia/mythtv-core.27/Portfile        2013-12-05 20:01:16 UTC (rev 114354)
+++ trunk/dports/multimedia/mythtv-core.27/Portfile        2013-12-05 21:01:49 UTC (rev 114355)
</span><span class="lines">@@ -4,20 +4,18 @@
</span><span class="cx"> PortSystem 1.0
</span><span class="cx"> PortGroup github 1.0
</span><span class="cx"> PortGroup qt4 1.0
</span><del>-PortGroup compiler_blacklist_versions 1.0
</del><span class="cx"> PortGroup conflicts_build 1.0
</span><span class="cx">
</span><del>-set shorthash ea5af908
-# set fullhash ea5af9081d46b566b638856204793c7ddc032da4
</del><ins>+set shorthash cb744f81
+# set fullhash cb744f810c6133aa293ad95d65225890371951f0
</ins><span class="cx"> set majorversion .27
</span><span class="cx"> set minorversion ""
</span><span class="cx"> github.setup MythTV mythtv ${shorthash}
</span><del>-checksums rmd160 a1c9a90f36da08846c08f4da89195495f0942d56 \
- sha256 b9fa80bff1546bf1d1736e37882554fe2931875d60e24ca62b62f16384e08199
</del><ins>+checksums rmd160 630243203a78cb441a96b0e37f022f08b97a1079 \
+ sha256 4ad0f81376797b2e4203d0024d41f48d85d157917a55289d821e328df9bf2bda
</ins><span class="cx">
</span><span class="cx"> name mythtv-core${majorversion}
</span><del>-version 0${majorversion}${minorversion}-Fixes-20131102
-revision 1
</del><ins>+version 0${majorversion}${minorversion}-Fixes-20131129
</ins><span class="cx"> categories multimedia
</span><span class="cx"> platforms darwin
</span><span class="cx"> # i386 unsupported -- https://trac.macports.org/ticket/40337
</span><span class="lines">@@ -77,7 +75,7 @@
</span><span class="cx"> depends_build port:yasm port:pkgconfig
</span><span class="cx">
</span><span class="cx"> conflicts mythtv-core.25 mythtv-core.26
</span><del>-conflicts_build mythtv-core.25 mythtv-core.26
</del><ins>+conflicts_build mythtv-core.25 mythtv-core.26 mythtv-core.27
</ins><span class="cx">
</span><span class="cx"> depends_run port:logrotate
</span><span class="cx">
</span><span class="lines">@@ -98,6 +96,14 @@
</span><span class="cx"> # revert rpath linking stuff as it is non-functional in MacPorts
</span><span class="cx"> patchfiles-append patch-rpath_linking.diff
</span><span class="cx">
</span><ins>+# patches to support libc++ runtime with new Clang (v. libstdc++)
+# http://code.mythtv.org/trac/ticket/11966
+patchfiles-append patch-various_c++_v_stdc++.diff
+
+# patches to support freetype 2.5.1 changes to include layout
+# http://code.mythtv.org/trac/ticket/11967
+patchfiles-append patch-freetype-2.5.1.diff
+
</ins><span class="cx"> post-extract {
</span><span class="cx"> file mkdir ${worksrcpath}/macports
</span><span class="cx"> foreach {applescript} ${applescripts} {
</span><span class="lines">@@ -179,9 +185,13 @@
</span><span class="cx"> # environment variables, which is required for compiling
</span><span class="cx"> # this port when using MacPorts. The versions seem to be: MacPorts
</span><span class="cx"> # CLANG 3.0 or earlier, and Apple CLANG 318.0.61 or older (XCode 4.3.3 and prior).
</span><ins>+#
+# See http://code.mythtv.org/trac/ticket/11070
+# Run-time failures experienced with certain versions of Clang. Unable to discern cause.
+# Blacklist clang completely until better understood.
</ins><span class="cx">
</span><span class="cx"> compiler.fallback-append apple-gcc-4.2
</span><del>-compiler.blacklist-append { clang <= 318.0.61 } macports-clang-2.9 macports-clang-3.0
</del><ins>+compiler.blacklist-append *clang*
</ins><span class="cx">
</span><span class="cx"> # Clear all MacPorts flags...MythTV is smart enough to set up its own.
</span><span class="cx"> # (ala qt4-mac/Portfile)
</span></span></pre></div>
<a id="trunkdportsmultimediamythtvcore27filesorgmythtvmythbackendplist"></a>
<div class="modfile"><h4>Modified: trunk/dports/multimedia/mythtv-core.27/files/org.mythtv.mythbackend.plist (114354 => 114355)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/multimedia/mythtv-core.27/files/org.mythtv.mythbackend.plist        2013-12-05 20:01:16 UTC (rev 114354)
+++ trunk/dports/multimedia/mythtv-core.27/files/org.mythtv.mythbackend.plist        2013-12-05 21:01:49 UTC (rev 114355)
</span><span class="lines">@@ -24,8 +24,11 @@
</span><span class="cx"> <string>@MYTHTVPIDFILE@</string>
</span><span class="cx"> <string>--loglevel</string>
</span><span class="cx"> <string>info</string>
</span><ins>+ <string>--quiet</string>
</ins><span class="cx"> </array>
</span><span class="cx"> <key>RunAtLoad</key>
</span><span class="cx"> <true/>
</span><ins>+ <key>ThrottleInterval</key>
+ <string>300</string>
</ins><span class="cx"> </dict>
</span><span class="cx"> </plist>
</span></span></pre></div>
<a id="trunkdportsmultimediamythtvcore27filespatchfreetype251diff"></a>
<div class="addfile"><h4>Added: trunk/dports/multimedia/mythtv-core.27/files/patch-freetype-2.5.1.diff (0 => 114355)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/multimedia/mythtv-core.27/files/patch-freetype-2.5.1.diff         (rev 0)
+++ trunk/dports/multimedia/mythtv-core.27/files/patch-freetype-2.5.1.diff        2013-12-05 21:01:49 UTC (rev 114355)
</span><span class="lines">@@ -0,0 +1,24 @@
</span><ins>+Based on patch to FFmpeg port for freetype 2.5.1 changes to include layout
+https://trac.macports.org/browser/trunk/dports/multimedia/ffmpeg/files/patch-freetype-2.5.1.diff?rev=114100
+
+--- mythtv/configure.orig        2013-11-30 11:03:11.000000000 -0500
++++ mythtv/configure        2013-11-30 11:04:13.000000000 -0500
+@@ -5005,7 +5005,7 @@
+ enabled libfdk_aac && require libfdk_aac fdk-aac/aacenc_lib.h aacEncOpen -lfdk-aac
+ flite_libs="-lflite_cmu_time_awb -lflite_cmu_us_awb -lflite_cmu_us_kal -lflite_cmu_us_kal16 -lflite_cmu_us_rms -lflite_cmu_us_slt -lflite_usenglish -lflite_cmulex -lflite"
+ enabled libflite && require2 libflite "flite/flite.h" flite_init $flite_libs
+-enabled libfreetype && require_pkg_config freetype2 "ft2build.h freetype/freetype.h" FT_Init_FreeType
++enabled libfreetype && require_pkg_config freetype2 "ft2build.h freetype.h" FT_Init_FreeType
+ enabled libgsm && { for gsm_hdr in "gsm.h" "gsm/gsm.h"; do
+ check_lib "${gsm_hdr}" gsm_create -lgsm && break;
+ done || die "ERROR: libgsm not found"; }
+--- mythtv/external/FFmpeg/libavfilter/vf_drawtext.c.orig        2013-11-30 11:07:18.000000000 -0500
++++ mythtv/external/FFmpeg/libavfilter/vf_drawtext.c        2013-11-30 11:08:16.000000000 -0500
+@@ -48,7 +48,6 @@
+ #include "video.h"
+
+ #include <ft2build.h>
+-#include <freetype/config/ftheader.h>
+ #include FT_FREETYPE_H
+ #include FT_GLYPH_H
+ #if CONFIG_FONTCONFIG
</ins></span></pre></div>
<a id="trunkdportsmultimediamythtvcore27filespatchvarious_c_v_stdcdiff"></a>
<div class="addfile"><h4>Added: trunk/dports/multimedia/mythtv-core.27/files/patch-various_c++_v_stdc++.diff (0 => 114355)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/multimedia/mythtv-core.27/files/patch-various_c++_v_stdc++.diff         (rev 0)
+++ trunk/dports/multimedia/mythtv-core.27/files/patch-various_c++_v_stdc++.diff        2013-12-05 21:01:49 UTC (rev 114355)
</span><span class="lines">@@ -0,0 +1,32 @@
</span><ins>+
+--- mythtv/libs/libmythui/mythgesture.cpp.orig        2013-11-02 09:19:17.000000000 -0400
++++ mythtv/libs/libmythui/mythgesture.cpp        2013-11-29 21:28:27.000000000 -0500
+@@ -29,6 +29,8 @@
+ #include "mythgesture.h"
+
+ #include <cmath>
++#include <stdlib.h> /* abs */
++using namespace std;
+ #include <algorithm>
+
+ #include <QMutex>
+
+--- mythtv/libs/libmythui/mythpainter.cpp.orig        2013-11-02 09:19:17.000000000 -0400
++++ mythtv/libs/libmythui/mythpainter.cpp        2013-11-29 21:43:32.000000000 -0500
+@@ -1,5 +1,7 @@
+ #include <stdint.h>
+ #include <algorithm>
++#include <cmath> // std::abs
++using namespace std;
+
+ // QT headers
+ #include <QRect>
+@@ -212,7 +214,7 @@
+
+ QFontMetrics fm(font.face());
+ int totalHeight = fm.height() + outlineSize +
+- std::max(outlineSize, std::abs(shadowOffset.y()));
++ std::max(outlineSize, abs((shadowOffset.y())));
+
+ // initialPaddingX is the number of pixels from the left of the
+ // input QRect to the left of the actual text. It is always 0
</ins></span></pre>
</div>
</div>
</body>
</html>