[Pkg-cups-devel] r597 - in cupsys/branches/cups-1.2-ubuntu: . debian debian/patches

Martin Pitt mpitt at alioth.debian.org
Mon Sep 17 14:22:49 UTC 2007


Author: mpitt
Date: Mon Sep 17 14:22:49 2007
New Revision: 597

Log:

* debian/patches/fix_auto_rotate_images.dpatch: Fix auto-rotation for best
  fit of images on the paper (CUPS STRs #2502 and #2513).

Added:
   cupsys/branches/cups-1.2-ubuntu/debian/patches/fix_auto_rotate_images.dpatch   (contents, props changed)
Modified:
   cupsys/branches/cups-1.2-ubuntu/   (props changed)
   cupsys/branches/cups-1.2-ubuntu/debian/changelog
   cupsys/branches/cups-1.2-ubuntu/debian/patches/00list

Modified: cupsys/branches/cups-1.2-ubuntu/debian/changelog
==============================================================================
--- cupsys/branches/cups-1.2-ubuntu/debian/changelog	(original)
+++ cupsys/branches/cups-1.2-ubuntu/debian/changelog	Mon Sep 17 14:22:49 2007
@@ -1,6 +1,11 @@
 cupsys (1.3.0-4ubuntu4) UNRELEASED; urgency=low
 
+  [ Martin Pitt ]
   * debian/local/apparmor-profile: Allow cups-pdf to read /etc/papersize.
+  
+  [ Till Kamppeter ]
+  * debian/patches/fix_auto_rotate_images.dpatch: Fix auto-rotation for best
+    fit of images on the paper (CUPS STRs #2502 and #2513).
 
  -- Martin Pitt <martin.pitt at ubuntu.com>  Wed, 12 Sep 2007 19:06:02 +0200
 

Modified: cupsys/branches/cups-1.2-ubuntu/debian/patches/00list
==============================================================================
--- cupsys/branches/cups-1.2-ubuntu/debian/patches/00list	(original)
+++ cupsys/branches/cups-1.2-ubuntu/debian/patches/00list	Mon Sep 17 14:22:49 2007
@@ -18,3 +18,4 @@
 search_mime_files_in_usr_share.dpatch
 ubuntu-disable-browsing.dpatch
 ubuntu-default-error-policy-retry-job.dpatch
+fix_auto_rotate_images.dpatch

Added: cupsys/branches/cups-1.2-ubuntu/debian/patches/fix_auto_rotate_images.dpatch
==============================================================================
--- (empty file)
+++ cupsys/branches/cups-1.2-ubuntu/debian/patches/fix_auto_rotate_images.dpatch	Mon Sep 17 14:22:49 2007
@@ -0,0 +1,21 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## fix_auto_rotate_images.dpatch by  <till.kamppeter at gmail.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad cupsys-1.3.0~/scheduler/printers.c cupsys-1.3.0/scheduler/printers.c
+--- cupsys-1.3.0~/scheduler/printers.c	2007-07-16 19:03:35.000000000 +0100
++++ cupsys-1.3.0/scheduler/printers.c	2007-09-14 16:14:51.000000000 +0100
+@@ -3159,8 +3159,8 @@
+     cupsArrayAdd(CommonDefaults, _cupsStrAlloc("job-sheets-default"));
+     cupsArrayAdd(CommonDefaults, _cupsStrAlloc("media-default"));
+     cupsArrayAdd(CommonDefaults, _cupsStrAlloc("number-up-default"));
+-    cupsArrayAdd(CommonDefaults,
+-                 _cupsStrAlloc("orientation-requested-default"));
++    /* cupsArrayAdd(CommonDefaults,
++       _cupsStrAlloc("orientation-requested-default")); */
+     cupsArrayAdd(CommonDefaults, _cupsStrAlloc("sides-default"));
+   }
+ 



More information about the Pkg-cups-devel mailing list