[151809] trunk/dports/multimedia/mythtv.28
ctreleaven at macports.org
ctreleaven at macports.org
Mon Aug 22 08:05:44 PDT 2016
Revision: 151809
https://trac.macports.org/changeset/151809
Author: ctreleaven at macports.org
Date: 2016-08-22 08:05:43 -0700 (Mon, 22 Aug 2016)
Log Message:
-----------
mythtv-core.28: patch to reinstate OS X behaviour of Qt5 QComboBox
Modified Paths:
--------------
trunk/dports/multimedia/mythtv.28/Portfile
Added Paths:
-----------
trunk/dports/multimedia/mythtv.28/files/patch-mythwidgets_osx_focus.diff
Modified: trunk/dports/multimedia/mythtv.28/Portfile
===================================================================
--- trunk/dports/multimedia/mythtv.28/Portfile 2016-08-22 14:59:25 UTC (rev 151808)
+++ trunk/dports/multimedia/mythtv.28/Portfile 2016-08-22 15:05:43 UTC (rev 151809)
@@ -58,7 +58,7 @@
name mythtv-core${majorversion}
version 0${majorversion}${minorversion}-Fixes-${lastcommit}
- revision 2
+ revision 3
description personal video recorder (PVR) and media centre system
long_description The ultimate Digital Video Recorder and home media \
center hub. Think of it as a Free and Open Source alternative \
@@ -138,6 +138,8 @@
patchfiles-append patch-dvdnav_include_path.diff
# if mesa is installed, prevent Myth from finding/using it
patchfiles-append patch-configure_opengl_check.diff
+ # https://code.mythtv.org/trac/ticket/12857
+ patchfiles-append patch-mythwidgets_osx-focus-diff
post-patch {
set sedPath ${worksrcpath}/mythtv/
Added: trunk/dports/multimedia/mythtv.28/files/patch-mythwidgets_osx_focus.diff
===================================================================
--- trunk/dports/multimedia/mythtv.28/files/patch-mythwidgets_osx_focus.diff (rev 0)
+++ trunk/dports/multimedia/mythtv.28/files/patch-mythwidgets_osx_focus.diff 2016-08-22 15:05:43 UTC (rev 151809)
@@ -0,0 +1,13 @@
+--- libs/libmyth/mythwidgets.cpp.orig 2016-08-22 10:41:09.000000000 -0400
++++ libs/libmyth/mythwidgets.cpp 2016-08-22 10:44:22.000000000 -0400
+@@ -22,6 +22,10 @@
+ {
+ setObjectName(name);
+ setEditable(rw);
++#ifdef Q_OS_MAC
++ // Qt 5 changed OS X combobox behaviour
++ setFocusPolicy(Qt::WheelFocus);
++#endif
+ }
+
+ MythComboBox::~MythComboBox()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160822/52da5a20/attachment.html>
More information about the macports-changes
mailing list