[mythtv-commits] Ticket #8103: no UI control over Apple Remote (Mac) enable/disable

MythTV mythtv at cvs.mythtv.org
Mon Oct 25 06:04:55 UTC 2010


#8103: no UI control over Apple Remote (Mac) enable/disable
-------------------------+--------------------------------------------------
 Reporter:  ecronin      |           Owner:  nigel   
     Type:  enhancement  |          Status:  assigned
 Priority:  minor        |       Milestone:  unknown 
Component:  Ports - OSX  |         Version:  unknown 
 Severity:  medium       |      Resolution:          
 Keywords:               |   Ticket locked:  0       
-------------------------+--------------------------------------------------

Comment (by nigel):

 The following allows the packager to build a LIRC-enabled binary, and it
 happily still works with the Apple remote, but that is because I haven't
 gotten the LIRC daemon to do anything but exit:
 {{{
 % svn diff src/packaging
 Index: src/packaging/OSX/build/osx-packager.pl
 ===================================================================
 --- src/packaging/OSX/build/osx-packager.pl     (revision 26977)
 +++ src/packaging/OSX/build/osx-packager.pl     (working copy)
 @@ -67,6 +67,7 @@
          'mysqlclient',
          #'dbus',
          'qt-4.6',
 +        'lirc',
        ],
    'mythplugins'
    =>  [
 @@ -253,6 +254,20 @@
      'parallel-make' => 'yes'
    },

 +  'lirc' =>
 +  {
 +    'url' =>
 'http://prdownloads.sourceforge.net/lirc/lirc-0.8.2.tar.bz2',
 +    'conf' =>
 +    [
 +        '--localstatedir=$PREFIX/var',
 +        '--sysconfdir=$PREFIX',
 +        '--with-devdir=$PREFIX/var/run',
 +        '--with-driver=audio',    # Depends on portaudio?
 +        '--with-driver=macmini',  # Linux only?
 +        '--with-driver=udp',
 +    ],
 +  },
 +
    'exif' =>
    {
      'url'  => "$sourceforge/sourceforge/libexif/libexif-0.6.17.tar.bz2",
 %
 % .osx-packager/build/bin/lircrcd .osx-
 packager/src/lirc-0.8.2/remotes/apple/lircd.conf.macmini
 %
 % MythFrontend.app/Contents/MacOS/MythFrontend
 ...
 2010-10-25 16:42:45.488 LIRC, Error: Failed to connect to Unix socket
 '/var/run/lirc/lircd'
                         eno: No such file or directory (2)
 }}}
 I'm also still not happy about another setting for remote preference.
 There is likely to be 3 people in the whole world that would use. The
 "Apple" way for a Mac to ignore someone clicking an Apple Remote in the
 room is to unpair that remote in System Preferences!

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/8103#comment:6>
MythTV <http://www.mythtv.org/>
MythTV Media Center


More information about the mythtv-commits mailing list