public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-print/cups/files: cups-1.6.3-colord-profile.patch
@ 2013-07-12 20:02 Andreas HAttel (dilfridge)
  0 siblings, 0 replies; only message in thread
From: Andreas HAttel (dilfridge) @ 2013-07-12 20:02 UTC (permalink / raw
  To: gentoo-commits

dilfridge    13/07/12 20:02:55

  Added:                cups-1.6.3-colord-profile.patch
  Log:
  Add colord profile fix from Debian, bug 475714
  
  (Portage version: 2.2.0_alpha188/cvs/Linux x86_64, signed Manifest commit with key EBE6A336BE19039C!)

Revision  Changes    Path
1.1                  net-print/cups/files/cups-1.6.3-colord-profile.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/cups/files/cups-1.6.3-colord-profile.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/cups/files/cups-1.6.3-colord-profile.patch?rev=1.1&content-type=text/plain

Index: cups-1.6.3-colord-profile.patch
===================================================================
Description: Add colord profile fix
Author: Alexey Galakhov <agalakhov@gmail.com>
Bug-Debian: http://bugs.debian.org/711868
Last-Update: 2013-06-10

--- cups-1.6.2.orig/scheduler/colorman.c	2013-02-20 05:53:01.000000000 +0600
+++ cups-1.6.2/scheduler/colorman.c	2013-06-10 18:50:49.000000000 +0600
@@ -84,10 +84,13 @@
 #  define COLORD_KIND_PRINTER	"printer"
 					/* printing output device */
 
-#  define COLORD_DBUS_MSG(p,m)	dbus_message_new_method_call(\
+#  define COLORD_DBUS_MSG_PARM(p,x,m)	dbus_message_new_method_call(\
 					"org.freedesktop.ColorManager", (p),\
-                                        "org.freedesktop.ColorManager", (m))
+                                        "org.freedesktop.ColorManager" x, (m))
                                         /* Macro to make new colord messages */
+#  define COLORD_DBUS_MSG(p,m)	COLORD_DBUS_MSG_PARM(p,"",m)
+                                        /* Macro to make new colord messages */
+
 #  define COLORD_DBUS_PATH	"/org/freedesktop/ColorManager"
 					/* Path for color management system */
 #  define COLORD_DBUS_TIMEOUT	5000	/* Timeout for connecting to colord in ms */
@@ -1177,7 +1180,7 @@
   DBusError	error;			/* D-Bus error */
 
 
-  message = COLORD_DBUS_MSG(device_path, "AddProfile");
+  message = COLORD_DBUS_MSG_PARM(device_path, ".Device", "AddProfile");
 
   dbus_message_iter_init_append(message, &args);
   dbus_message_iter_append_basic(&args, DBUS_TYPE_STRING, &relation);





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-07-12 20:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-12 20:02 [gentoo-commits] gentoo-x86 commit in net-print/cups/files: cups-1.6.3-colord-profile.patch Andreas HAttel (dilfridge)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox