]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Load cups into easysw/current.
authorjlovell <jlovell@a1ca3aef-8c08-0410-bb20-df032aa958be>
Mon, 8 May 2006 22:42:35 +0000 (22:42 +0000)
committerjlovell <jlovell@a1ca3aef-8c08-0410-bb20-df032aa958be>
Mon, 8 May 2006 22:42:35 +0000 (22:42 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@150 a1ca3aef-8c08-0410-bb20-df032aa958be

Makefile
doc/help/spec-ppd.html
filter/interpret.c

index 8393bf217a925bb202effcee264dc19b7fee6e06..7dae65d0de95a7f5c4160add570a54020d83647b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 #
 #
-# "$Id: Makefile 5314 2006-03-20 19:06:50Z mike $"
+# "$Id: Makefile 5498 2006-05-07 16:52:14Z mike $"
 #
 #   Top-level Makefile for the Common UNIX Printing System (CUPS).
 #
 #
 #   Top-level Makefile for the Common UNIX Printing System (CUPS).
 #
@@ -57,6 +57,25 @@ clean:
        done
 
 
        done
 
 
+#
+# Remove all non-distribution files...
+#
+
+distclean:     clean
+       $(RM) Makedefs config.h config.log config.status
+       $(RM) cups-config conf/cupsd.conf conf/pam.std
+       $(RM) doc/help/standard.html doc/index.html
+       $(RM) init/cups.sh init/cups-lpd
+       $(RM) man/cups-deviced.man man/cups-driverd.man
+       $(RM) man/cups-lpd.man man/cupsaddsmb.man man/cupsd.man
+       $(RM) man/cupsd.conf.man man/lpoptions.man
+       $(RM) packaging/cups templates/edit-config.tmpl templates/header.tmpl
+       -$(RM) doc/*/index.html
+       -$(RM) templates/*/edit-config.tmpl
+       -$(RM) templates/*/header.tmpl
+       -$(RM) -r autom4te*.cache
+
+
 #
 # Make dependencies
 #
 #
 # Make dependencies
 #
@@ -217,5 +236,5 @@ epm:
 
 
 #
 
 
 #
-# End of "$Id: Makefile 5314 2006-03-20 19:06:50Z mike $".
+# End of "$Id: Makefile 5498 2006-05-07 16:52:14Z mike $".
 #
 #
index 4ef176c09893afac717f5c87b20d2787a16a0d2d..d6f8f0879e70bb9a4cb3fe5a3b2bae3bf8aaa4c2 100644 (file)
@@ -8,7 +8,7 @@
 </head>
 <body>
 <!--
 </head>
 <body>
 <!--
-  "$Id: spec-ppd.html 5217 2006-03-02 21:24:01Z mike $"
+  "$Id: spec-ppd.html 5496 2006-05-05 19:26:23Z mike $"
 
   CUPS PPD extensions specification for the Common UNIX Printing System (CUPS).
 
 
   CUPS PPD extensions specification for the Common UNIX Printing System (CUPS).
 
@@ -473,23 +473,20 @@ is not absolute, it is loaded relative to the
 
 <h4>Customizing the Profile Selection Keywords</h4>
 
 
 <h4>Customizing the Profile Selection Keywords</h4>
 
-<p>The <tt>ColorModel</tt>, <tt>MediaType</tt>, and
-<tt>Resolution</tt> keywords can be reassigned to different main
-keywords, allowing drivers to do color profile selection based
-on different parameters. The <tt>cupsICCQualifier1</tt>,
-<tt>cupsICCQualifier2</tt>, and <tt>cupsICCQualifier3</tt>
+<p>The <tt>MediaType</tt> and <tt>Resolution</tt> keywords can be
+reassigned to different main keywords, allowing drivers to do
+color profile selection based on different parameters. The
+<tt>cupsICCQualifier2</tt> and <tt>cupsICCQualifier3</tt>
 attributes define the mapping from selector to main keyword:</p>
 
 <pre class='command'>
 attributes define the mapping from selector to main keyword:</p>
 
 <pre class='command'>
-*cupsICCQualifier1: MainKeyword
-*cupsICCQualifier2: MainKeyword
-*cupsICCQualifier3: MainKeyword
+*cupsICCQualifier2: MainKeyword2
+*cupsICCQualifier3: MainKeyword3
 </pre>
 
 <p>The default mapping is as follows:</p>
 
 <pre class='command'>
 </pre>
 
 <p>The default mapping is as follows:</p>
 
 <pre class='command'>
-*cupsICCQualifier1: ColorModel
 *cupsICCQualifier2: MediaType
 *cupsICCQualifier3: Resolution
 </pre>
 *cupsICCQualifier2: MediaType
 *cupsICCQualifier3: Resolution
 </pre>
index 661bbdbeab3bb546734898a1d5993b2219be9538..047431d41fa268cf183fb94265a0c2c95b5aead2 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * "$Id: interpret.c 5490 2006-05-04 19:12:45Z mike $"
+ * "$Id: interpret.c 5497 2006-05-06 00:24:22Z mike $"
  *
  *   PPD command interpreter for the Common UNIX Printing System (CUPS).
  *
  *
  *   PPD command interpreter for the Common UNIX Printing System (CUPS).
  *
@@ -171,18 +171,6 @@ cupsRasterInterpretPPD(
     }
   }
 
     }
   }
 
- /*
-  * Check parameters...
-  */
-
-  if (!h->HWResolution[0] || !h->HWResolution[1] ||
-      !h->PageSize[0] || !h->PageSize[1] ||
-      (h->cupsBitsPerColor != 1 && h->cupsBitsPerColor != 2 &&
-       h->cupsBitsPerColor != 4 && h->cupsBitsPerColor != 8) ||
-      h->cupsBorderlessScalingFactor < 0.9 ||
-      h->cupsBorderlessScalingFactor > 1.1)
-    return (-1);
-
  /*
   * Allow option override for page scaling...
   */
  /*
   * Allow option override for page scaling...
   */
@@ -247,6 +235,19 @@ cupsRasterInterpretPPD(
   if (func && (*func)(h, preferred_bits))
     return (-1);
 
   if (func && (*func)(h, preferred_bits))
     return (-1);
 
+ /*
+  * Check parameters...
+  */
+
+  if (!h->HWResolution[0] || !h->HWResolution[1] ||
+      !h->PageSize[0] || !h->PageSize[1] ||
+      (h->cupsBitsPerColor != 1 && h->cupsBitsPerColor != 2 &&
+       h->cupsBitsPerColor != 4 && h->cupsBitsPerColor != 8 &&
+       h->cupsBitsPerColor != 16) ||
+      h->cupsBorderlessScalingFactor < 0.9 ||
+      h->cupsBorderlessScalingFactor > 1.1)
+    return (-1);
+
  /*
   * Compute the bitmap parameters...
   */
  /*
   * Compute the bitmap parameters...
   */
@@ -607,5 +608,5 @@ exec_code(
 
 
 /*
 
 
 /*
- * End of "$Id: interpret.c 5490 2006-05-04 19:12:45Z mike $".
+ * End of "$Id: interpret.c 5497 2006-05-06 00:24:22Z mike $".
  */
  */