Revision: 5935
Author: pebender
Date: Sun Dec 13 11:58:10 2009
Log: - Patched bdremote-ng used for ps3remote support so that it has an  
event
   device output.


http://code.google.com/p/minimyth/source/detail?r=5935

Added:
  /trunk/gar-minimyth/script/system/bdremote-ng/files
   
/trunk/gar-minimyth/script/system/bdremote-ng/files/bdremote-ng-0.5-RC3-event_out.patch
Modified:
  /trunk/gar-minimyth/html/minimyth/document-changelog.txt
  /trunk/gar-minimyth/script/system/bdremote-ng/Makefile
  /trunk/gar-minimyth/script/system/bdremote-ng/checksums

=======================================
--- /dev/null
+++  
/trunk/gar-minimyth/script/system/bdremote-ng/files/bdremote-ng-0.5-RC3-event_out.patch
  
Sun Dec 13 11:58:10 2009
@@ -0,0 +1,438 @@
+diff -Naur bdremote-ng-0.5-old/build/CMakeLists.txt  
bdremote-ng-0.5-new/build/CMakeLists.txt
+--- bdremote-ng-0.5-old/build/CMakeLists.txt   2009-10-25 04:35:31.000000000  
-0700
++++ bdremote-ng-0.5-new/build/CMakeLists.txt   2009-12-13 08:25:52.000000000  
-0800
+@@ -102,6 +102,7 @@
+ ${PREFIX}/lirc_srv.h
+ ${PREFIX}/q.h
+ ${PREFIX}/l.h
++${PREFIX}/event_out.h
+ )
+
+ SET(GENERIC_SOURCES
+@@ -114,6 +115,7 @@
+ ${PREFIX}/lirc_util.c
+ ${PREFIX}/q.c
+ ${PREFIX}/l.c
++${PREFIX}/event_out.c
+ )
+
+ include_directories (${PREFIX})
+diff -Naur bdremote-ng-0.5-old/src/bdrcfg.c  
bdremote-ng-0.5-new/src/bdrcfg.c
+--- bdremote-ng-0.5-old/src/bdrcfg.c   2009-12-11 15:21:44.000000000 -0800
++++ bdremote-ng-0.5-new/src/bdrcfg.c   2009-12-13 08:25:52.000000000 -0800
+@@ -56,6 +56,7 @@
+   FREEVAL(_config->release);
+   _config->lirc_namespace = 0;
+   _config->release     = NULL;
++  _config->event_out = 0;
+   FREEVAL(_config->user);
+   _config->user        = NULL;
+   FREEVAL(_config->group);
+@@ -153,6 +154,7 @@
+       fprintf(printStream, " - release     : %s.\n", _config->release);
+     }
+   fprintf(printStream, " - LIRC names  : %d.\n", _config->lirc_namespace);
++  fprintf(printStream, " - event output: %d.\n", _config->event_out);
+   fprintf(printStream, " - debug       : %d.\n", _config->debug);
+   if (_config->debug)
+     {
+diff -Naur bdremote-ng-0.5-old/src/bdrcfg.h  
bdremote-ng-0.5-new/src/bdrcfg.h
+--- bdremote-ng-0.5-old/src/bdrcfg.h   2009-12-11 15:16:44.000000000 -0800
++++ bdremote-ng-0.5-new/src/bdrcfg.h   2009-12-13 08:25:52.000000000 -0800
+@@ -52,6 +52,8 @@
+    char* release;
+    /** Enable/disable use of LIRC namespace. */
+    int lirc_namespace;
++   /** Enable/disable use of uinput based event output device. */
++   int event_out;
+    /** Enable/disable printing of debug messages. */
+    int debug;
+    /** Indicates if the BT address of the interface to use was set. */
+diff -Naur bdremote-ng-0.5-old/src/bdremoteng.c  
bdremote-ng-0.5-new/src/bdremoteng.c
+--- bdremote-ng-0.5-old/src/bdremoteng.c       2009-12-11 16:06:16.000000000  
-0800
++++ bdremote-ng-0.5-new/src/bdremoteng.c       2009-12-13 08:25:52.000000000  
-0800
+@@ -96,7 +96,7 @@
+    memset(&config, 0, sizeof(config));
+    setDefaults(&config);
+
+-   while ((opt=getopt(argc,argv,"+p:t:a:b:i:r:e:R:u:g:f:ndhl"))!=-1)
++   while ((opt=getopt(argc,argv,"+p:t:a:b:i:r:e:R:u:g:f:ndhlE"))!=-1)
+       {
+          switch(opt)
+             {
+@@ -139,6 +139,9 @@
+             case 'l':
+                config.lirc_namespace = 1;
+                break;
++            case 'E':
++               config.event_out = 1;
++               break;
+             case 'f':
+                setLogFilename(&config, optarg);
+                break;
+@@ -242,6 +245,12 @@
+    sigaction(SIGCHLD, &sa, NULL);
+    sigaction(SIGPIPE, &sa, NULL);
+
++   /* Initialize output event device. */
++   if (config.event_out)
++   {
++       event_out_init();
++   }
++
+    /* Start LIRC thread. */
+    startLircThread(&ldata);
+
+@@ -259,6 +268,8 @@
+    DestroyCaptureData(&cdata);
+    destroyLircData(&ldata);
+
++   event_out_exit();
++
+    destroyConfig(&config);
+
+    closeLogFile();
+@@ -300,6 +311,7 @@
+           "\t-e <num>             Wait <num> ms before repeating a key.\n"
+           "\t-R <suffix>          Auto-generate release events with  
appended <suffix>.\n"
+           "\t-l                   Follow LIRC namespace for the key  
names.\n"
++          "\t-E                   Make output available through a Linux  
event device as well.\n"
+           "\t-u <username>        Change UID to the UID of this user.\n"
+           "\t-g <group>           Change GID to the GID of this group.\n"
+           "\t-f <filename>        Write log to <filename>.\n"
+diff -Naur bdremote-ng-0.5-old/src/event_out.c  
bdremote-ng-0.5-new/src/event_out.c
+--- bdremote-ng-0.5-old/src/event_out.c        1969-12-31 16:00:00.000000000 
-0800
++++ bdremote-ng-0.5-new/src/event_out.c        2009-12-13 08:25:52.000000000 
-0800
+@@ -0,0 +1,99 @@
++#include <fcntl.h>
++#include <stdint.h>
++#include <string.h>
++#include <sys/types.h>
++#include <linux/input.h>
++#include <linux/uinput.h>
++
++#include "globaldefs.h"
++#include "keydef.h"
++#include "event_out.h"
++
++static int event_out_fd = -1;
++
++void event_out_send(int _event_code, int _event_value)
++{
++    struct input_event event;
++
++    if (event_out_fd != -1)
++    {
++        memset(&event, 0, sizeof(event));
++        event.type = EV_KEY;
++        event.code = _event_code;
++        event.value = _event_value;
++        if (write(event_out_fd, &event, sizeof(event)) != sizeof(event))
++        {
++            ;
++        }
++    }
++}
++
++void event_out_exit()
++{
++    if(event_out_fd != -1)
++    {
++        ioctl(event_out_fd, UI_DEV_DESTROY);
++        close(event_out_fd);
++        event_out_fd = -1;
++    }
++}
++
++int event_out_init()
++{
++    const char *uinput_devname[] =
++    {
++        "/dev/uinput",
++        "/dev/input/uinput",
++        "/dev/misc/uinput",
++        NULL
++    };
++    int i;
++    struct uinput_user_dev dev;
++
++    event_out_fd = -1;
++    for (i = 0 ; (event_out_fd == -1) && (uinput_devname[i] != NULL) ;  
i++)
++    {
++        event_out_fd = open(uinput_devname[i], O_WRONLY | O_NDELAY);
++    }
++    if (event_out_fd == -1)
++    {
++        goto setup_error;
++    }
++
++    memset(&dev, 0, sizeof(dev));
++    strncpy(dev.name, "bdremote-ng", sizeof(dev.name));
++    dev.name[sizeof(dev.name) - 1] = '\0';
++
++    if (write(event_out_fd, &dev, sizeof(dev)) != sizeof(dev))
++    {
++        goto setup_error;
++    }
++    if (ioctl(event_out_fd, UI_SET_EVBIT, EV_KEY) != 0)
++    {
++        goto setup_error;
++    }
++
++    for(i = 0 ; i < ps3remote_num_keys ; i++)
++    {
++        if(ioctl(event_out_fd, UI_SET_KEYBIT,  
ps3remote_keys[i].event_code) != 0)
++        {
++            goto setup_error;
++        }
++    }
++
++    if(ioctl(event_out_fd, UI_DEV_CREATE) != 0)
++    {
++        goto setup_error;
++    }
++
++    return 0;
++
++ setup_error:
++    if (event_out_fd != -1)
++    {
++        close(event_out_fd);
++        event_out_fd = -1;
++    }
++
++    return -1;
++}
+diff -Naur bdremote-ng-0.5-old/src/event_out.h  
bdremote-ng-0.5-new/src/event_out.h
+--- bdremote-ng-0.5-old/src/event_out.h        1969-12-31 16:00:00.000000000 
-0800
++++ bdremote-ng-0.5-new/src/event_out.h        2009-12-13 08:25:52.000000000 
-0800
+@@ -0,0 +1,8 @@
++#ifndef EVENT_OUT_H
++#define EVENT_OUT_H
++
++void event_out_send(int _code, int _value);
++void event_out_exit();
++int  event_out_init();
++
++#endif
+diff -Naur bdremote-ng-0.5-old/src/keydef.h  
bdremote-ng-0.5-new/src/keydef.h
+--- bdremote-ng-0.5-old/src/keydef.h   2009-11-19 22:25:20.000000000 -0800
++++ bdremote-ng-0.5-new/src/keydef.h   2009-12-13 09:03:18.000000000 -0800
+@@ -38,13 +38,18 @@
+ #ifndef BD_KEYDEF_H
+ #define BD_KEYDEF_H
+
++#include <stdint.h>
++#include <linux/input.h>
++
+ /** Key information. */
+ struct key_info
+ {
+   /** The original name. */
+-  char* name_orig;
++  const char* name_orig;
+   /** The LIRC namespace name. */
+-  char* name_lirc;
++  const char* name_lirc;
++  /** The Linux key event code. */
++  unsigned int event_code;
+   /** The code. */
+   unsigned int code;
+   /** The mask. */
+@@ -61,59 +66,59 @@
+ #define ps3remote_num_masked 18
+
+ /** Array of keys. */
+-struct key_info ps3remote_keys[] =
++static struct key_info ps3remote_keys[] =
+   {
+-    {"enter\0"   , "KEY_ENTER\0"       , 0x0b, 0x080000},
+-    {"ps\0"      , "KEY_POWER\0"       , 0x43, 0x010000},
+-    {"select\0"  , "KEY_SELECT\0"      , 0x50, 0x000001},
+-    {"l3\0"      , "BTN_C\0"           , 0x51, 0x000002},
+-    {"r3\0"      , "BTN_Z\0"           , 0x52, 0x000004},
+-    {"start\0"   , "BTN_START\0"       , 0x53, 0x000008},
+-    {"up\0"      , "KEY_UP\0"          , 0x54, 0x000010},
+-    {"right\0"   , "KEY_RIGHT\0"       , 0x55, 0x000020},
+-    {"down\0"    , "KEY_DOWN\0"        , 0x56, 0x000040},
+-    {"left\0"    , "KEY_LEFT\0"        , 0x57, 0x000080},
+-    {"l2\0"      , "BTN_B\0"           , 0x58, 0x000100},
+-    {"r2\0"      , "BTN_Y\0"           , 0x59, 0x000200},
+-    {"l1\0"      , "BTN_A\0"           , 0x5a, 0x000400},
+-    {"r1\0"      , "BTN_X\0"           , 0x5b, 0x000800},
+-    {"triangle\0", "KEY_OPTION\0"      , 0x5c, 0x001000},
+-    {"circle\0"  , "KEY_BACK\0"        , 0x5d, 0x002000},
+-    {"cross\0"   , "KEY_CLEAR\0"       , 0x5e, 0x004000},
+-    {"square\0"  , "KEY_ZOOM\0"        , 0x5f, 0x008000},
+-    {"num1\0"    , "KEY_1\0"           , 0x00, 0x000000},
+-    {"num2\0"    , "KEY_2\0"           , 0x01, 0x000000},
+-    {"num3\0"    , "KEY_3\0"           , 0x02, 0x000000},
+-    {"num4\0"    , "KEY_4\0"           , 0x03, 0x000000},
+-    {"num5\0"    , "KEY_5\0"           , 0x04, 0x000000},
+-    {"num6\0"    , "KEY_6\0"           , 0x05, 0x000000},
+-    {"num7\0"    , "KEY_7\0"           , 0x06, 0x000000},
+-    {"num8\0"    , "KEY_8\0"           , 0x07, 0x000000},
+-    {"num9\0"    , "KEY_9\0"           , 0x08, 0x000000},
+-    {"num0\0"    , "KEY_0\0"           , 0x09, 0x000000},
+-    {"return\0"  , "KEY_MEDIA_REPEAT\0", 0x0e, 0x000000},
+-    {"clear\0"   , "KEY_CLEAR\0"       , 0x0f, 0x000000},
+-    {"eject\0"   , "KEY_EJECTCD\0"     , 0x16, 0x000000},
+-    {"topmenu\0" , "KEY_MENU\0"        , 0x1a, 0x000000},
+-    {"time\0"    , "KEY_TIME\0"        , 0x28, 0x000000},
+-    {"prev\0"    , "KEY_PREVIOUS\0"    , 0x30, 0x000000},
+-    {"next\0"    , "KEY_NEXT\0"        , 0x31, 0x000000},
+-    {"play\0"    , "KEY_PLAY\0"        , 0x32, 0x000000},
+-    {"scanrev\0" , "KEY_REWIND\0"      , 0x33, 0x000000},
+-    {"scanfwd\0" , "KEY_FORWARD\0"     , 0x34, 0x000000},
+-    {"stop\0"    , "KEY_STOP\0"        , 0x38, 0x000000},
+-    {"pause\0"   , "KEY_PAUSE\0"       , 0x39, 0x000000},
+-    {"popup\0"   , "KEY_CONTEXT_MENU\0", 0x40, 0x000000},
+-    {"steprev\0" , "KEY_FRAMEBACK\0"   , 0x60, 0x000000},
+-    {"stepfwd\0" , "KEY_FRAMEFORWARD\0", 0x61, 0x000000},
+-    {"subtitle\0", "KEY_SUBTITLE\0"    , 0x63, 0x000000},
+-    {"audio\0"   , "KEY_AUDIO\0"       , 0x64, 0x000000},
+-    {"angle\0"   , "KEY_ANGLE\0"       , 0x65, 0x000000},
+-    {"display\0" , "KEY_INFO\0"        , 0x70, 0x000000},
+-    {"blue\0"    , "KEY_BLUE\0"        , 0x80, 0x000000},
+-    {"red\0"     , "KEY_RED\0"         , 0x81, 0x000000},
+-    {"green\0"   , "KEY_GREEN\0"       , 0x82, 0x000000},
+-    {"yellow\0"  , "KEY_YELLOW\0"      , 0x83, 0x000000},
++    {"enter\0"   , "KEY_ENTER\0"       , KEY_ENTER       , 0x0b,  
0x080000},
++    {"ps\0"      , "KEY_POWER\0"       , KEY_POWER       , 0x43,  
0x010000},
++    {"select\0"  , "KEY_SELECT\0"      , KEY_SELECT      , 0x50,  
0x000001},
++    {"l3\0"      , "BTN_C\0"           , BTN_C           , 0x51,  
0x000002},
++    {"r3\0"      , "BTN_Z\0"           , BTN_Z           , 0x52,  
0x000004},
++    {"start\0"   , "BTN_START\0"       , BTN_START       , 0x53,  
0x000008},
++    {"up\0"      , "KEY_UP\0"          , KEY_UP          , 0x54,  
0x000010},
++    {"right\0"   , "KEY_RIGHT\0"       , KEY_RIGHT       , 0x55,  
0x000020},
++    {"down\0"    , "KEY_DOWN\0"        , KEY_DOWN        , 0x56,  
0x000040},
++    {"left\0"    , "KEY_LEFT\0"        , KEY_LEFT        , 0x57,  
0x000080},
++    {"l2\0"      , "BTN_B\0"           , BTN_B           , 0x58,  
0x000100},
++    {"r2\0"      , "BTN_Y\0"           , BTN_Y           , 0x59,  
0x000200},
++    {"l1\0"      , "BTN_A\0"           , BTN_A           , 0x5a,  
0x000400},
++    {"r1\0"      , "BTN_X\0"           , BTN_X           , 0x5b,  
0x000800},
++    {"triangle\0", "KEY_OPTION\0"      , KEY_OPTION      , 0x5c,  
0x001000},
++    {"circle\0"  , "KEY_BACK\0"        , KEY_BACK        , 0x5d,  
0x002000},
++    {"cross\0"   , "KEY_CLEAR\0"       , KEY_CLEAR       , 0x5e,  
0x004000},
++    {"square\0"  , "KEY_ZOOM\0"        , KEY_ZOOM        , 0x5f,  
0x008000},
++    {"num1\0"    , "KEY_1\0"           , KEY_1           , 0x00,  
0x000000},
++    {"num2\0"    , "KEY_2\0"           , KEY_2           , 0x01,  
0x000000},
++    {"num3\0"    , "KEY_3\0"           , KEY_3           , 0x02,  
0x000000},
++    {"num4\0"    , "KEY_4\0"           , KEY_4           , 0x03,  
0x000000},
++    {"num5\0"    , "KEY_5\0"           , KEY_5           , 0x04,  
0x000000},
++    {"num6\0"    , "KEY_6\0"           , KEY_6           , 0x05,  
0x000000},
++    {"num7\0"    , "KEY_7\0"           , KEY_7           , 0x06,  
0x000000},
++    {"num8\0"    , "KEY_8\0"           , KEY_8           , 0x07,  
0x000000},
++    {"num9\0"    , "KEY_9\0"           , KEY_9           , 0x08,  
0x000000},
++    {"num0\0"    , "KEY_0\0"           , KEY_0           , 0x09,  
0x000000},
++    {"return\0"  , "KEY_MEDIA_REPEAT\0", KEY_MEDIA_REPEAT, 0x0e,  
0x000000},
++    {"clear\0"   , "KEY_CLEAR\0"       , KEY_CLEAR       , 0x0f,  
0x000000},
++    {"eject\0"   , "KEY_EJECTCD\0"     , KEY_EJECTCD     , 0x16,  
0x000000},
++    {"topmenu\0" , "KEY_MENU\0"        , KEY_MENU        , 0x1a,  
0x000000},
++    {"time\0"    , "KEY_TIME\0"        , KEY_TIME        , 0x28,  
0x000000},
++    {"prev\0"    , "KEY_PREVIOUS\0"    , KEY_PREVIOUS    , 0x30,  
0x000000},
++    {"next\0"    , "KEY_NEXT\0"        , KEY_NEXT        , 0x31,  
0x000000},
++    {"play\0"    , "KEY_PLAY\0"        , KEY_PLAY        , 0x32,  
0x000000},
++    {"scanrev\0" , "KEY_REWIND\0"      , KEY_REWIND      , 0x33,  
0x000000},
++    {"scanfwd\0" , "KEY_FORWARD\0"     , KEY_FORWARD     , 0x34,  
0x000000},
++    {"stop\0"    , "KEY_STOP\0"        , KEY_STOP        , 0x38,  
0x000000},
++    {"pause\0"   , "KEY_PAUSE\0"       , KEY_PAUSE       , 0x39,  
0x000000},
++    {"popup\0"   , "KEY_CONTEXT_MENU\0", KEY_CONTEXT_MENU, 0x40,  
0x000000},
++    {"steprev\0" , "KEY_FRAMEBACK\0"   , KEY_FRAMEBACK   , 0x60,  
0x000000},
++    {"stepfwd\0" , "KEY_FRAMEFORWARD\0", KEY_FRAMEFORWARD, 0x61,  
0x000000},
++    {"subtitle\0", "KEY_SUBTITLE\0"    , KEY_SUBTITLE    , 0x63,  
0x000000},
++    {"audio\0"   , "KEY_AUDIO\0"       , KEY_AUDIO       , 0x64,  
0x000000},
++    {"angle\0"   , "KEY_ANGLE\0"       , KEY_ANGLE       , 0x65,  
0x000000},
++    {"display\0" , "KEY_INFO\0"        , KEY_INFO        , 0x70,  
0x000000},
++    {"blue\0"    , "KEY_BLUE\0"        , KEY_BLUE        , 0x80,  
0x000000},
++    {"red\0"     , "KEY_RED\0"         , KEY_RED         , 0x81,  
0x000000},
++    {"green\0"   , "KEY_GREEN\0"       , KEY_GREEN       , 0x82,  
0x000000},
++    {"yellow\0"  , "KEY_YELLOW\0"      , KEY_YELLOW      , 0x83,  
0x000000},
+   };
+
+ #endif /* BD_KEYDEF_H */
+diff -Naur bdremote-ng-0.5-old/src/lirc_thr.c  
bdremote-ng-0.5-new/src/lirc_thr.c
+--- bdremote-ng-0.5-old/src/lirc_thr.c 2009-11-20 10:49:38.000000000 -0800
++++ bdremote-ng-0.5-new/src/lirc_thr.c 2009-12-13 08:45:49.000000000 -0800
+@@ -33,13 +33,14 @@
+   that is holding down a key on the remote.
+
+ */
++#include <keydef.h>
+
+ #include "lirc_srv.h"
+
+ #include <globaldefs.h>
+
+ #include <stdint.h>
+-#include <keydef.h>
++// #include <keydef.h>
+ #include <stdio.h>
+ #include <assert.h>
+ #include <string.h>
+@@ -49,6 +50,8 @@
+ #define _GNU_SOURCE
+ #include <signal.h>
+
++#include "event_out.h"
++
+ extern FILE* printStream;
+ extern volatile sig_atomic_t __io_canceled;
+
+@@ -193,6 +196,10 @@
+                       name = ps3remote_keys[ks.lastKey].name_orig;
+                   }
+                 broadcastToLirc(ld, name, 0 /*ks.repeat_sent*/,  
ps3remote_keys[ks.lastKey].code);
++                  if (ld->config->event_out)
++                  {
++                       
event_out_send(ps3remote_keys[ks.lastKey].event_code, 2);
++                  }
+                 /* Reset elapsed time.*/
+                 ks.elapsed = 0;
+
+@@ -295,6 +302,10 @@
+           name = ps3remote_keys[num].name_orig;
+       }
+       broadcastToLirc(_ld, name, 0, ps3remote_keys[num].code);
++      if (_ld->config->event_out)
++      {
++          event_out_send(ps3remote_keys[num].event_code, 1);
++      }
+     }
+ }
+
+@@ -314,22 +325,26 @@
+                    );
+       if (_ks->lastKey != ps3remote_undef)
+         {
+-          if (_ld->config->release != NULL)
++          if (_ld->config->lirc_namespace)
++          {
++              name = ps3remote_keys[_ks->lastKey].name_lirc;
++          }
++          else
+           {
+-              if (_ld->config->lirc_namespace)
+-              {
+-                  name = ps3remote_keys[_ks->lastKey].name_lirc;
+-              }
+-              else
+-              {
+                   name = ps3remote_keys[_ks->lastKey].name_orig;
+-              }
++          }
++          if (_ld->config->release != NULL)
++          {
+               if ((strlen(name) + strlen(_ld->config->release)) < 100)
+               {
+                   sprintf(release_name, "%s%s", name,  
_ld->config->release);
+                   broadcastToLirc(_ld, release_name, 0, _code);
+               }
+           }
++          if (_ld->config->event_out)
++          {
++              event_out_send(ps3remote_keys[_ks->lastKey].event_code, 0);
++          }
+
+           _ks->keyDown      = 0;
+           _ks->lastKey      = ps3remote_undef;
=======================================
--- /trunk/gar-minimyth/html/minimyth/document-changelog.txt    Sat Dec 12  
09:23:32 2009
+++ /trunk/gar-minimyth/html/minimyth/document-changelog.txt    Sun Dec 13  
11:58:10 2009
@@ -5,7 +5,7 @@
  MiniMyth release. For earlier changes see the yearly changelog files.

   
--------------------------------------------------------------------------------
-Changes since 72 (2009-12-12):
+Changes since 72 (2009-12-13):

  Current MythTV versions
      MythTV 0.20-softpad: version 0.20.2.softpad, release-0-20-fixes branch  
svn 16082 and
@@ -51,6 +51,8 @@
        they should be handled by either lircd or lircudevd.
      - Simplified lircrc by removing KEY_KPn and KEY_NUMERIC_n as KEY_KPn  
and
        KEY_NUMERIC_n should be mapped to KEY_n by either lircd or lircudevd.
+    - Patched bdremote-ng used for ps3remote support so that it has an  
event
+      device output.

  Fixed bugs
      - Fixed a bug that caused mm_sleep and mm_sleep_on_ss to output an  
error
=======================================
--- /trunk/gar-minimyth/script/system/bdremote-ng/Makefile      Sat Dec 12  
09:26:01 2009
+++ /trunk/gar-minimyth/script/system/bdremote-ng/Makefile      Sun Dec 13  
11:58:10 2009
@@ -3,6 +3,7 @@
  CATEGORIES = system
  MASTER_SITES = http://bdremote-ng.googlecode.com/files/
  DISTFILES = $(DISTNAME).tar.bz2
+PATCHFILES = $(DISTNAME)-event_out.patch
  LICENSE = GPL2

  DESCRIPTION =
@@ -21,7 +22,7 @@
  CFLAGS += -DENABLE_REPEAT=1

  build-custom:
-       cd $(WORKSRC)/src ; $(CC) $(CFLAGS) $(LDFLAGS) -I . -o bdremoteng  
bdremoteng.c bdrcfg.c captureif.c globaldefs.c l.c lirc_callback.c  
lirc_srv.c lirc_thr.c lirc_util.c q.c ug.c capture/capture_bluez.c  
-lpthread -lbluetooth
+       cd $(WORKSRC)/src ; $(CC) $(CFLAGS) $(LDFLAGS) -I . -o bdremoteng  
bdremoteng.c bdrcfg.c captureif.c globaldefs.c l.c lirc_callback.c  
lirc_srv.c lirc_thr.c lirc_util.c q.c ug.c event_out.c  
capture/capture_bluez.c -lpthread -lbluetooth
        $(MAKECOOKIE)

  install-custom:
=======================================
--- /trunk/gar-minimyth/script/system/bdremote-ng/checksums     Sat Dec 12  
09:26:01 2009
+++ /trunk/gar-minimyth/script/system/bdremote-ng/checksums     Sun Dec 13  
11:58:10 2009
@@ -1,1 +1,2 @@
  3b88f50edcd4e304f365d92f159716ad  download/bdremote-ng-0.5-RC3.tar.bz2
+582a663305debee1c65d042c9efa155e   
download/bdremote-ng-0.5-RC3-event_out.patch

--

You received this message because you are subscribed to the Google Groups 
"minimyth-commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/minimyth-commits?hl=en.


Reply via email to