[mythtv-commits] Ticket #8863: 'myth_system' doesn't disable lirc input when running subprocesses

MythTV mythtv at cvs.mythtv.org
Tue Sep 7 07:07:55 UTC 2010


#8863: 'myth_system' doesn't disable lirc input when running subprocesses
---------------------------------------------+------------------------------
 Reporter:  Ian Clark <mrrooster@…>          |           Owner:  beirdo    
     Type:  defect                           |          Status:  new       
 Priority:  minor                            |       Milestone:  0.24      
Component:  MythTV - General                 |         Version:  Trunk Head
 Severity:  low                              |      Resolution:            
 Keywords:  mythfrontend mythwelcome         |   Ticket locked:  0         
---------------------------------------------+------------------------------
Changes (by mdean):

  * status:  closed => new
  * resolution:  fixed =>


Comment:

 After further research by beirdo, cpinkham, and myself, we've figure out
 that this was actually caused by the move of myth_system() from libmythui
 to libmythdb in [24623].  Technically, that change created a circular
 dependency between libmythui and libmythdb, but because USE_LIRC and
 USE_JOYSTICK_MENU weren't defined in libmythdb.pro, the code to lock LIRC
 and joystick events was never compiled (meaning libmythdb never actually
 used libmythui code, and myth_system didn't disable LIRC or joystick
 events).

 [26141] made the circular dependency visible, so this needs to be changed
 to use the same approach Chris used to disable UI updates from
 myth_system()--by sending an event.  This will allow removing all the
 #if/#ifdef lines for LIRC and joystick events from myth_system() and may
 also allow removal/simplification of some of the LIRC and joystick-related
 locking code in libmythui.

 And, in the interim compilation with --enable-symbol-visibility is broken,
 so until this is fixed, users should compile without --enable-symbol-
 visibility.

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


More information about the mythtv-commits mailing list