From: msweet Date: Tue, 19 Aug 2014 16:19:48 +0000 (+0000) Subject: Update dependencies. X-Git-Tag: v2.2b1~526 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27347f86a5ad58924d702e086d2d4b50805ad160;p=thirdparty%2Fcups.git Update dependencies. Drop document-name as a Job attribute (it isn't). git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12096 a1ca3aef-8c08-0410-bb20-df032aa958be --- diff --git a/cups/Dependencies b/cups/Dependencies index 54bd08c7c6..64a0d19d10 100644 --- a/cups/Dependencies +++ b/cups/Dependencies @@ -4,8 +4,9 @@ adminutil.o: adminutil.c cups-private.h string-private.h ../config.h \ md5-private.h language-private.h ../cups/transcode.h pwg-private.h \ ../cups/cups.h file.h pwg.h ppd-private.h ../cups/ppd.h \ thread-private.h adminutil.h -array.o: array.c string-private.h ../config.h debug-private.h \ - ../cups/versioning.h array-private.h ../cups/array.h +array.o: array.c ../cups/cups.h file.h versioning.h ipp.h http.h array.h \ + language.h pwg.h string-private.h ../config.h debug-private.h \ + array-private.h attr.o: attr.c cups-private.h string-private.h ../config.h \ debug-private.h ../cups/versioning.h array-private.h ../cups/array.h \ ipp-private.h ../cups/ipp.h http.h http-private.h ../cups/language.h \ @@ -223,8 +224,12 @@ snmp.o: snmp.c cups-private.h string-private.h ../config.h \ ../cups/cups.h file.h pwg.h ppd-private.h ../cups/ppd.h \ thread-private.h snmp-private.h snprintf.o: snprintf.c string-private.h ../config.h -string.o: string.c string-private.h ../config.h debug-private.h \ - ../cups/versioning.h thread-private.h array.h +string.o: string.c cups-private.h string-private.h ../config.h \ + debug-private.h ../cups/versioning.h array-private.h ../cups/array.h \ + ipp-private.h ../cups/ipp.h http.h http-private.h ../cups/language.h \ + md5-private.h language-private.h ../cups/transcode.h pwg-private.h \ + ../cups/cups.h file.h pwg.h ppd-private.h ../cups/ppd.h \ + thread-private.h tempfile.o: tempfile.c cups-private.h string-private.h ../config.h \ debug-private.h ../cups/versioning.h array-private.h ../cups/array.h \ ipp-private.h ../cups/ipp.h http.h http-private.h ../cups/language.h \ diff --git a/test/Dependencies b/test/Dependencies index e7f0cfc5ee..8405117d24 100644 --- a/test/Dependencies +++ b/test/Dependencies @@ -7,8 +7,7 @@ ippfind.o: ippfind.c ../cups/cups-private.h ../cups/string-private.h \ ../cups/ppd-private.h ../cups/ppd.h ../cups/thread-private.h ippserver.o: ippserver.c ../cups/cups.h ../cups/file.h \ ../cups/versioning.h ../cups/ipp.h ../cups/http.h ../cups/array.h \ - ../cups/language.h ../cups/pwg.h ../config.h ../cups/string-private.h \ - ../cups/thread-private.h + ../cups/language.h ../cups/pwg.h ../config.h ../cups/thread-private.h ipptool.o: ipptool.c ../cups/cups-private.h ../cups/string-private.h \ ../config.h ../cups/debug-private.h ../cups/versioning.h \ ../cups/array-private.h ../cups/array.h ../cups/ipp-private.h \ diff --git a/test/ippserver.c b/test/ippserver.c index 8271446406..01b8f719ba 100644 --- a/test/ippserver.c +++ b/test/ippserver.c @@ -944,12 +944,7 @@ create_job(_ipp_client_t *client) /* I - Client */ job->format = "application/octet-stream"; if ((attr = ippFindAttribute(client->request, "document-name", IPP_TAG_NAME)) != NULL) - { - ippAddString(job->attrs, IPP_TAG_JOB, IPP_TAG_NAME, "document-name", NULL, ippGetString(attr, 0, NULL)); ippAddString(job->attrs, IPP_TAG_JOB, IPP_TAG_NAME, "document-name-supplied", NULL, ippGetString(attr, 0, NULL)); - } - else - ippAddString(job->attrs, IPP_TAG_JOB, IPP_TAG_NAME, "document-name", NULL, "Untitled"); } if ((attr = ippFindAttribute(client->request, "job-name", IPP_TAG_NAME)) != NULL) @@ -3639,12 +3634,7 @@ ipp_send_document(_ipp_client_t *client)/* I - Client */ ippAddString(job->attrs, IPP_TAG_JOB, IPP_TAG_MIMETYPE, "document-format-supplied", NULL, ippGetString(attr, 0, NULL)); if ((attr = ippFindAttribute(client->request, "document-name", IPP_TAG_NAME)) != NULL) - { - ippAddString(job->attrs, IPP_TAG_JOB, IPP_TAG_NAME, "document-name", NULL, ippGetString(attr, 0, NULL)); ippAddString(job->attrs, IPP_TAG_JOB, IPP_TAG_NAME, "document-name-supplied", NULL, ippGetString(attr, 0, NULL)); - } - else - ippAddString(job->attrs, IPP_TAG_JOB, IPP_TAG_NAME, "document-name", NULL, "Untitled"); if ((attr = ippFindAttribute(client->request, "document-format", IPP_TAG_MIMETYPE)) != NULL) job->format = ippGetString(attr, 0, NULL);