[Pkg-cups-devel] [lennart at poettering.net: [fedora-extras-commits at redhat.com: rpms/cups/devel cups-avahi.patch, NONE, 1.1]]

Sjoerd Simons sjoerd at spring.luon.net
Sat Jul 21 19:43:19 UTC 2007


----- Forwarded message from Lennart Poettering <lennart at poettering.net> -----

Date: Fri, 20 Jul 2007 15:24:51 +0200
From: Lennart Poettering <lennart at poettering.net>
Subject: [fedora-extras-commits at redhat.com: rpms/cups/devel
	cups-avahi.patch,NONE,1.1]
To: sjoerd at debian.org
User-Agent: Leviathan/19.8.0 [zh] (Cray 3; I; Solaris 4.711; Console)

Hi!

This commit went into Fedora CVS yesterday, which suggests that there
is now Avahi support in Fedora's CUPS.  You might want to investigate
if you can have Avahi support enabled in Debian's CUPS as well.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4

Date: Thu, 19 Jul 2007 08:56:26 -0400
From: Tim Waugh <fedora-extras-commits at redhat.com>
Subject: rpms/cups/devel cups-avahi.patch,NONE,1.1
To: fedora-extras-commits at redhat.com
Reply-To: fedora-devel-list at redhat.com

Author: twaugh

Update of /cvs/pkgs/rpms/cups/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22828

Added Files:
	cups-avahi.patch 
Log Message:
* Thu Jul 19 2007 Tim Waugh <twaugh at redhat.com> 1:1.3-0.b1.2
- Build requires avahi-compat-libdns_sd-devel.  Applied patch to fix
  build against avahi (bug #245824).


cups-avahi.patch:

--- NEW FILE cups-avahi.patch ---
--- cups-1.3b1/config-scripts/cups-dnssd.m4.avahi	2007-07-19 13:45:14.000000000 +0100
+++ cups-1.3b1/config-scripts/cups-dnssd.m4	2007-07-19 13:45:55.000000000 +0100
@@ -37,6 +37,9 @@
 				AC_DEFINE(HAVE_COREFOUNDATION)
 				AC_DEFINE(HAVE_SYSTEMCONFIGURATION)
 				;;
+			Linux*)
+				DNSSDLIBS="-ldns_sd"
+				;;
 			*)
 				# All others...
 				DNSSDLIBS="???"
--- cups-1.3b1/scheduler/dirsvc.c.avahi	2007-07-19 13:43:51.000000000 +0100
+++ cups-1.3b1/scheduler/dirsvc.c	2007-07-19 13:44:42.000000000 +0100
@@ -65,6 +65,8 @@
 
 #ifdef HAVE_DNSSD
 #  include <dns_sd.h>
+#endif /* HAVE_DNSSD */
+#ifdef __APPLE__
 #  include <nameser.h>
 #  include <nameser.h>
 #  ifdef HAVE_COREFOUNDATION
@@ -73,7 +75,7 @@
 #  ifdef HAVE_SYSTEMCONFIGURATION
 #    include <SystemConfiguration/SystemConfiguration.h>
 #  endif /* HAVE_SYSTEMCONFIGURATION */
-#endif /* HAVE_DNSSD */
+#endif /* __APPLE__ */
 
 
 /*
--- cups-1.3b1/configure.avahi	2007-07-19 13:46:30.000000000 +0100
+++ cups-1.3b1/configure	2007-07-19 13:46:57.000000000 +0100
@@ -17294,6 +17294,9 @@
 _ACEOF
 
 				;;
+			Linux*)
+				DNSSDLIBS="-ldns_sd"
+				;;
 			*)
 				# All others...
 				DNSSDLIBS="???"

-- 
fedora-extras-commits mailing list
fedora-extras-commits at redhat.com
https://www.redhat.com/mailman/listinfo/fedora-extras-commits


----- End forwarded message -----

-- 
The Shuttle is now going five times the sound of speed.
		-- Dan Rather, first landing of Columbia



More information about the Pkg-cups-devel mailing list