Tizen 2.1 base
[platform/upstream/hplip.git] / packaging / tizen_disable_dbus_hpcups.patch
1 --- prnt/hpcups/HPCupsFilter.cpp.orig   2012-09-18 15:45:46.546793734 +0900
2 +++ prnt/hpcups/HPCupsFilter.cpp        2012-09-18 15:46:08.966793734 +0900
3 @@ -408,7 +408,7 @@
4      }
5
6         string strPrinterURI="" ,strPrinterName= "";
7 -       m_DBusComm.initDBusComm(DBUS_PATH,DBUS_INTERFACE, getenv("DEVICE_URI"), m_JA.printer_name);
8 +       //m_DBusComm.initDBusComm(DBUS_PATH,DBUS_INTERFACE, getenv("DEVICE_URI"), m_JA.printer_name);
9
10      ptr = strstr(m_argv[5], "job-uuid");
11      if (ptr) {
12 @@ -429,7 +429,7 @@
13          {
14              fputs ("STATE: +hplip.plugin-error\n", stderr);
15
16 -                       m_DBusComm.sendEvent(EVENT_PRINT_FAILED_MISSING_PLUGIN, "Plugin missing", m_JA.job_id, m_JA.user_name);
17 +                       //m_DBusComm.sendEvent(EVENT_PRINT_FAILED_MISSING_PLUGIN, "Plugin missing", m_JA.job_id, m_JA.user_name);
18
19          }
20          dbglog ("m_Job initialization failed with error = %d", err);