All of lore.kernel.org
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 1/2] cups: Upgrade to 1.7.4
Date: Tue, 22 Jul 2014 08:41:55 -0700	[thread overview]
Message-ID: <1406043716-27903-1-git-send-email-sgw@linux.intel.com> (raw)

Remove patch that was backported

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-extended/cups/cups.inc                |   1 -
 meta/recipes-extended/cups/cups/cups-str4402.patch | 190 ---------------------
 meta/recipes-extended/cups/cups_1.7.3.bb           |   6 -
 meta/recipes-extended/cups/cups_1.7.4.bb           |   6 +
 4 files changed, 6 insertions(+), 197 deletions(-)
 delete mode 100644 meta/recipes-extended/cups/cups/cups-str4402.patch
 delete mode 100644 meta/recipes-extended/cups/cups_1.7.3.bb
 create mode 100644 meta/recipes-extended/cups/cups_1.7.4.bb

diff --git a/meta/recipes-extended/cups/cups.inc b/meta/recipes-extended/cups/cups.inc
index 7e8922b..6d04a2b 100644
--- a/meta/recipes-extended/cups/cups.inc
+++ b/meta/recipes-extended/cups/cups.inc
@@ -8,7 +8,6 @@ SRC_URI = "http://www.cups.org/software/${PV}/${BP}-source.tar.bz2 \
            file://0001-don-t-try-to-run-generated-binaries.patch \
            file://cups_serverbin.patch \
            file://cups-no-gcrypt.patch \
-           file://cups-str4402.patch \
 	  "
 
 LEAD_SONAME = "libcupsdriver.so"
diff --git a/meta/recipes-extended/cups/cups/cups-str4402.patch b/meta/recipes-extended/cups/cups/cups-str4402.patch
deleted file mode 100644
index 69d349c..0000000
--- a/meta/recipes-extended/cups/cups/cups-str4402.patch
+++ /dev/null
@@ -1,190 +0,0 @@
-
-
-Upstream CUPS issue when building with out dnssd/avahi
-
-https://www.cups.org/str.php?L4408+P-1+S-2+C0+I0+E0+Q
-
-Upstream-Status: Backport [STR #4402]
-
-Signed-off-by: Saul Wold <sgw@linux.intel.com>
-
---- a/scheduler/dirsvc.c	2014-03-05 13:11:32.000000000 -0800
-+++ b/shceduler/dirsvc.c	2014-05-19 11:33:51.743124614 -0700
-@@ -50,6 +50,9 @@
- static void		update_lpd(int onoff);
- static void		update_smb(int onoff);
- 
-+static void		deregister_all_printers(int from_callback);
-+static void		register_all_printers(int from_callback);
-+
- 
- #if defined(HAVE_DNSSD) || defined(HAVE_AVAHI)
- #  ifdef __APPLE__
-@@ -60,12 +63,10 @@
- #  ifdef HAVE_AVAHI
- static void		dnssdClientCallback(AvahiClient *c, AvahiClientState state, void *userdata);
- #  endif /* HAVE_AVAHI */
--static void		dnssdDeregisterAllPrinters(int from_callback);
- static void		dnssdDeregisterInstance(cupsd_srv_t *srv, int from_callback);
- static void		dnssdDeregisterPrinter(cupsd_printer_t *p, int clear_name, int from_callback);
- static const char	*dnssdErrorString(int error);
- static void		dnssdFreeTxtRecord(cupsd_txt_t *txt);
--static void		dnssdRegisterAllPrinters(int from_callback);
- #  ifdef HAVE_DNSSD
- static void		dnssdRegisterCallback(DNSServiceRef sdRef,
- 					      DNSServiceFlags flags,
-@@ -241,7 +242,7 @@
-   * Register the individual printers
-   */
- 
--  dnssdRegisterAllPrinters(0);
-+  register_all_printers(0);
- }
- 
- 
-@@ -259,7 +260,7 @@
-   * De-register the individual printers
-   */
- 
--  dnssdDeregisterAllPrinters(0);
-+  deregister_all_printers(0);
- 
-  /*
-   * Shut down browsing sockets...
-@@ -579,7 +580,7 @@
- 	* Register the individual printers
- 	*/
- 
--	dnssdRegisterAllPrinters(1);
-+	register_all_printers(1);
- 	break;
- 
-     case AVAHI_CLIENT_FAILURE:
-@@ -591,7 +592,7 @@
- 	  * Unregister everything and close the client...
- 	  */
- 
--	  dnssdDeregisterAllPrinters(1);
-+	  deregister_all_printers(1);
- 	  dnssdDeregisterInstance(&WebIFSrv, 1);
- 	  avahi_client_free(DNSSDClient);
- 	  DNSSDClient = NULL;
-@@ -631,28 +632,6 @@
- 
- 
- /*
-- * 'dnssdDeregisterAllPrinters()' - Deregister all printers.
-- */
--
--static void
--dnssdDeregisterAllPrinters(
--    int             from_callback)	/* I - Deregistering because of callback? */
--{
--  cupsd_printer_t	*p;		/* Current printer */
--
--
--  if (!DNSSDMaster)
--    return;
--
--  for (p = (cupsd_printer_t *)cupsArrayFirst(Printers);
--       p;
--       p = (cupsd_printer_t *)cupsArrayNext(Printers))
--    if (!(p->type & (CUPS_PRINTER_REMOTE | CUPS_PRINTER_SCANNER)))
--      dnssdDeregisterPrinter(p, 1, from_callback);
--}
--
--
--/*
-  * 'dnssdDeregisterInstance()' - Deregister a DNS-SD service instance.
-  */
- 
-@@ -858,27 +837,6 @@
- 
- 
- /*
-- * 'dnssdRegisterAllPrinters()' - Register all printers.
-- */
--
--static void
--dnssdRegisterAllPrinters(int from_callback)	/* I - Called from callback? */
--{
--  cupsd_printer_t	*p;			/* Current printer */
--
--
--  if (!DNSSDMaster)
--    return;
--
--  for (p = (cupsd_printer_t *)cupsArrayFirst(Printers);
--       p;
--       p = (cupsd_printer_t *)cupsArrayNext(Printers))
--    if (!(p->type & (CUPS_PRINTER_REMOTE | CUPS_PRINTER_SCANNER)))
--      dnssdRegisterPrinter(p, from_callback);
--}
--
--
--/*
-  * 'dnssdRegisterCallback()' - DNSServiceRegister callback.
-  */
- 
-@@ -1813,6 +1771,61 @@
- }
- 
- 
-+/*
-+ * 'deregister_all_printers()' - Deregister all printers.
-+ */
-+
-+static void
-+deregister_all_printers(
-+    int             from_callback)	/* I - Deregistering because of callback? */
-+{
-+  cupsd_printer_t	*p;		/* Current printer */
-+
-+
-+#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI)
-+  if (!DNSSDMaster)
-+    return;
-+#endif /* HAVE_DNSSD || HAVE_AVAHI */
-+
-+  for (p = (cupsd_printer_t *)cupsArrayFirst(Printers);
-+       p;
-+       p = (cupsd_printer_t *)cupsArrayNext(Printers))
-+    if (!(p->type & (CUPS_PRINTER_REMOTE | CUPS_PRINTER_SCANNER)))
-+#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI)
-+      dnssdDeregisterPrinter(p, 1, from_callback);
-+#else
-+      cupsdDeregisterPrinter(p, 1);
-+#endif /* HAVE_DNSSD || HAVE_AVAHI */
-+}
-+
-+
-+/*
-+ * 'register_all_printers()' - Register all printers.
-+ */
-+
-+static void
-+register_all_printers(int from_callback)	/* I - Called from callback? */
-+{
-+  cupsd_printer_t	*p;			/* Current printer */
-+
-+
-+#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI)
-+  if (!DNSSDMaster)
-+    return;
-+#endif /* HAVE_DNSSD || HAVE_AVAHI */
-+
-+  for (p = (cupsd_printer_t *)cupsArrayFirst(Printers);
-+       p;
-+       p = (cupsd_printer_t *)cupsArrayNext(Printers))
-+    if (!(p->type & (CUPS_PRINTER_REMOTE | CUPS_PRINTER_SCANNER)))
-+#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI)
-+      dnssdRegisterPrinter(p, from_callback);
-+#else
-+      cupsdRegisterPrinter(p);
-+#endif /* HAVE_DNSSD || HAVE_AVAHI */
-+}
-+
-+
- /*
-  * End of "$Id: dirsvc.c 11688 2014-03-05 21:11:32Z msweet $".
-  */
diff --git a/meta/recipes-extended/cups/cups_1.7.3.bb b/meta/recipes-extended/cups/cups_1.7.3.bb
deleted file mode 100644
index 2175ba7..0000000
--- a/meta/recipes-extended/cups/cups_1.7.3.bb
+++ /dev/null
@@ -1,6 +0,0 @@
-require cups.inc
-
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c5e50cb4b8f24b04636b719683a9102d"
-
-SRC_URI[md5sum] = "d498c3020acda0904ab0c13b6389a1ec"
-SRC_URI[sha256sum] = "fa989f856d1499169dc442fb2311053ea42fe455ca2721693ba5a9fe4b333e31"
diff --git a/meta/recipes-extended/cups/cups_1.7.4.bb b/meta/recipes-extended/cups/cups_1.7.4.bb
new file mode 100644
index 0000000..9dae986
--- /dev/null
+++ b/meta/recipes-extended/cups/cups_1.7.4.bb
@@ -0,0 +1,6 @@
+require cups.inc
+
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c5e50cb4b8f24b04636b719683a9102d"
+
+SRC_URI[md5sum] = "1a2295c2b2d2f422db2e50f40ed2fb99"
+SRC_URI[sha256sum] = "358fc7f22395a9ba07efcfc0d34a057ab5e9182b6e3297f71263a6b68fb41378"
-- 
1.8.3.1



             reply	other threads:[~2014-07-22 15:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-22 15:41 Saul Wold [this message]
2014-07-22 15:41 ` [PATCH 2/2] curl: Upgrade to 7.37.1 Saul Wold

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1406043716-27903-1-git-send-email-sgw@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.