summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/tizen_disable_dbus_hpcups.patch22
-rw-r--r--prnt/hpcups/HPCupsFilter.cpp6
2 files changed, 14 insertions, 14 deletions
diff --git a/packaging/tizen_disable_dbus_hpcups.patch b/packaging/tizen_disable_dbus_hpcups.patch
index 5e38389..bb443e2 100644
--- a/packaging/tizen_disable_dbus_hpcups.patch
+++ b/packaging/tizen_disable_dbus_hpcups.patch
@@ -1,20 +1,20 @@
---- prnt/hpcups/HPCupsFilter.cpp.orig 2012-09-18 15:45:46.546793734 +0900
-+++ prnt/hpcups/HPCupsFilter.cpp 2012-09-18 15:46:08.966793734 +0900
+--- prnt/hpcups/HPCupsFilter.cpp.orig 2016-04-27 09:55:24.652715296 +0900
++++ prnt/hpcups/HPCupsFilter.cpp 2016-04-27 09:55:53.276716392 +0900
@@ -408,7 +408,7 @@
}
-
- string strPrinterURI="" ,strPrinterName= "";
-- m_DBusComm.initDBusComm(DBUS_PATH,DBUS_INTERFACE, getenv("DEVICE_URI"), m_JA.printer_name);
-+ //m_DBusComm.initDBusComm(DBUS_PATH,DBUS_INTERFACE, getenv("DEVICE_URI"), m_JA.printer_name);
-
+
+ string strPrinterURI="" ,strPrinterName= "";
+- m_DBusComm.initDBusComm(DBUS_PATH,DBUS_INTERFACE, getenv("DEVICE_URI"), m_JA.printer_name);
++ //m_DBusComm.initDBusComm(DBUS_PATH,DBUS_INTERFACE, getenv("DEVICE_URI"), m_JA.printer_name);
+
ptr = strstr(m_argv[5], "job-uuid");
if (ptr) {
@@ -429,7 +429,7 @@
{
fputs ("STATE: +hplip.plugin-error\n", stderr);
-
-- m_DBusComm.sendEvent(EVENT_PRINT_FAILED_MISSING_PLUGIN, "Plugin missing", m_JA.job_id, m_JA.user_name);
-+ //m_DBusComm.sendEvent(EVENT_PRINT_FAILED_MISSING_PLUGIN, "Plugin missing", m_JA.job_id, m_JA.user_name);
-
+
+- m_DBusComm.sendEvent(EVENT_PRINT_FAILED_MISSING_PLUGIN, "Plugin missing", m_JA.job_id, m_JA.user_name);
++ //m_DBusComm.sendEvent(EVENT_PRINT_FAILED_MISSING_PLUGIN, "Plugin missing", m_JA.job_id, m_JA.user_name);
+
}
dbglog ("m_Job initialization failed with error = %d", err);
diff --git a/prnt/hpcups/HPCupsFilter.cpp b/prnt/hpcups/HPCupsFilter.cpp
index 8cd40c3..69c4155 100644
--- a/prnt/hpcups/HPCupsFilter.cpp
+++ b/prnt/hpcups/HPCupsFilter.cpp
@@ -407,8 +407,8 @@ DRIVER_ERROR HPCupsFilter::startPage (cups_page_header2_t *cups_header)
}
}
- string strPrinterURI="" ,strPrinterName= "";
- m_DBusComm.initDBusComm(DBUS_PATH,DBUS_INTERFACE, getenv("DEVICE_URI"), m_JA.printer_name);
+ string strPrinterURI="" ,strPrinterName= "";
+ m_DBusComm.initDBusComm(DBUS_PATH,DBUS_INTERFACE, getenv("DEVICE_URI"), m_JA.printer_name);
ptr = strstr(m_argv[5], "job-uuid");
if (ptr) {
@@ -429,7 +429,7 @@ DRIVER_ERROR HPCupsFilter::startPage (cups_page_header2_t *cups_header)
{
fputs ("STATE: +hplip.plugin-error\n", stderr);
- m_DBusComm.sendEvent(EVENT_PRINT_FAILED_MISSING_PLUGIN, "Plugin missing", m_JA.job_id, m_JA.user_name);
+ m_DBusComm.sendEvent(EVENT_PRINT_FAILED_MISSING_PLUGIN, "Plugin missing", m_JA.job_id, m_JA.user_name);
}
dbglog ("m_Job initialization failed with error = %d", err);