~ubuntu-branches/ubuntu/dapper/hplip/dapper-security

« back to all changes in this revision

Viewing changes to debian/patches/01_rss.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Henrique de Moraes Holschuh
  • Date: 2005-02-01 12:46:56 UTC
  • Revision ID: james.westby@ubuntu.com-20050201124656-g6cgoa5uezd5lnbo
Tags: 0.8.7-4
* Henrique de Moraes Holschuh:
  * HPLIP:
    * Remove stray tab on 50_securityfix_umask.dpatch.  Reupload in
      case python decides to croak on us because of it
    * Remove unneeded (but harmless) patch 21_base_pidfile_support.dpatch

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh -e
 
2
## rss.dpatch by Torsten Landschoff <torsten@pulsar.galaxy>
 
3
##
 
4
## All lines beginning with `## DP:' are a description of the patch.
 
5
## DP: Blank-ink-only patch by Richard Spencer-Smith
 
6
 
 
7
if [ $# -ne 1 ]; then
 
8
    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
 
9
    exit 1
 
10
fi
 
11
 
 
12
[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
 
13
patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
 
14
 
 
15
case "$1" in
 
16
       -patch) patch $patch_opts -p1 < $0;;
 
17
       -unpatch) patch $patch_opts -p1 -R < $0;;
 
18
        *)
 
19
                echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
 
20
                exit 1;;
 
21
esac
 
22
 
 
23
exit 0
 
24
 
 
25
@DPATCH@
 
26
diff -urNad hplip/prnt/hpijs/breaks_open.cpp /tmp/dpep.xzaNf0/hplip/prnt/hpijs/breaks_open.cpp
 
27
--- hplip/prnt/hpijs/breaks_open.cpp    2005-01-21 11:52:59.000000000 -0200
 
28
+++ /tmp/dpep.xzaNf0/hplip/prnt/hpijs/breaks_open.cpp   2005-01-21 11:58:46.000000000 -0200
 
29
@@ -1078,7 +1078,10 @@
 
30
 
 
31
 {
 
32
 0,  0,  255,    0,
 
33
-0,  1,  255,    0,
 
34
+// 2001.06.16 mrb: changed the value to 0. With the original "1"
 
35
+//                 the printer sometimes prints empty lines...
 
36
+//0,   1,      255,    0,
 
37
+0,      0,  255,    0,
 
38
 0,  3,  255,    0,
 
39
 0,  5,  255,    0,
 
40
 0,  7,  255,    0,
 
41
diff -urNad hplip/prnt/hpijs/dj660_maps.cpp /tmp/dpep.xzaNf0/hplip/prnt/hpijs/dj660_maps.cpp
 
42
--- hplip/prnt/hpijs/dj660_maps.cpp     2005-01-21 11:52:59.000000000 -0200
 
43
+++ /tmp/dpep.xzaNf0/hplip/prnt/hpijs/dj660_maps.cpp    2005-01-21 11:58:46.000000000 -0200
 
44
@@ -38,7 +38,10 @@
 
45
 //const
 
46
 uint32_t ulMapVOLTAIRE_CCM_KCMY[ 9 * 9 * 9 ]=
 
47
     {
 
48
-        422720226UL, 142187374UL, 94354238UL, 62442785UL, 45668877UL, 27648516UL, 8972032UL, 7335680UL, 5895424UL,
 
49
+// 2001.06.14 mrb: Replaced the first entry so the printer will
 
50
+// use only the black pen when he should print real black.
 
51
+//             422720226UL, 142187374UL, 94354238UL, 62442785UL, 45668877UL, 27648516UL, 8972032UL, 7335680UL, 5895424UL, 
 
52
+               226UL, 142187374UL, 94354238UL, 62442785UL, 45668877UL, 27648516UL, 8972032UL, 7335680UL, 5895424UL,
 
53
 2519110233UL, 807846483UL, 391693109UL, 260029471UL, 143570703UL, 42776580UL, 8501760UL, 7782400UL, 6539520UL,
 
54
 3072173868UL, 1881129514UL, 841465387UL, 524792087UL, 358391818UL, 174364420UL, 40408577UL, 6920704UL, 6530560UL,
 
55
 3407591425UL, 2551891200UL, 1612695808UL, 824489479UL, 506699268UL, 306153730UL, 105283329UL, 5144320UL, 5737216UL,
 
56
diff -urNad hplip/prnt/hpijs/dj690_maps.cpp /tmp/dpep.xzaNf0/hplip/prnt/hpijs/dj690_maps.cpp
 
57
--- hplip/prnt/hpijs/dj690_maps.cpp     2005-01-21 11:52:59.000000000 -0200
 
58
+++ /tmp/dpep.xzaNf0/hplip/prnt/hpijs/dj690_maps.cpp    2005-01-21 11:58:46.000000000 -0200
 
59
@@ -38,7 +38,10 @@
 
60
 uint32_t ulMapCONQUEST_CMYK[ 9 * 9 * 9 ]=
 
61
 // CONQUEST_CMYK
 
62
     {
 
63
- 337848575UL,   37838470UL,  155209268UL,  137905152UL,   36454656UL,    2310144UL,
 
64
+// 2001.06.14 mrb: Replaced the first entry so the printer will
 
65
+// use only the black pen when he should print real black.
 
66
+// 337848575UL,   37838470UL,  155209268UL,  137905152UL,   36454656UL,    2310144UL, 
 
67
+ 226UL,   37838470UL,  155209268UL,  137905152UL,   36454656UL,    2310144UL,
 
68
    2179072UL,    2051072UL,    1733120UL, 2013280119UL,  385897321UL,  303379741UL,
 
69
  270610688UL,  102772224UL,    1844992UL,    1911552UL,    1847296UL,    1784832UL,
 
70
 2080387626UL, 1157643294UL,  452996881UL,  335555072UL,  202384384UL,   50991872UL,
 
71
diff -urNad hplip/prnt/hpijs/dj895_maps2.cpp /tmp/dpep.xzaNf0/hplip/prnt/hpijs/dj895_maps2.cpp
 
72
--- hplip/prnt/hpijs/dj895_maps2.cpp    2005-01-21 11:52:59.000000000 -0200
 
73
+++ /tmp/dpep.xzaNf0/hplip/prnt/hpijs/dj895_maps2.cpp   2005-01-21 11:58:46.000000000 -0200
 
74
@@ -179,7 +179,10 @@
 
75
 
 
76
 uint32_t ulMapVENICE_Binary_KCMY[ 9*9*9 ]=
 
77
 {
 
78
-1819176648UL,   64158794UL,   80805158UL,   80215318UL,   62389519UL,   61406730UL,
 
79
+// 2001.06.14 mrb: Replaced the first entry so the printer will
 
80
+// use only the black pen when he should print real black.
 
81
+//1819176648UL,   64158794UL,   80805158UL,   80215318UL,   62389519UL,   61406730UL, 
 
82
+226UL,   64158794UL,   80805158UL,   80215318UL,   62389519UL,   61406730UL,
 
83
   60292615UL,   42401028UL,    7601920UL, 4230922301UL,  571406681UL,  160889651UL,
 
84
  113048859UL,   62717200UL,   45415944UL,   27917573UL,   10419457UL,    9238272UL,
 
85
 4248940557UL, 3743081259UL,  790296119UL,  325515810UL,  127007505UL,   27196678UL,
 
86
diff -urNad hplip/prnt/hpijs/dj895_maps.cpp /tmp/dpep.xzaNf0/hplip/prnt/hpijs/dj895_maps.cpp
 
87
--- hplip/prnt/hpijs/dj895_maps.cpp     2005-01-21 11:52:59.000000000 -0200
 
88
+++ /tmp/dpep.xzaNf0/hplip/prnt/hpijs/dj895_maps.cpp    2005-01-21 11:58:46.000000000 -0200
 
89
@@ -37,7 +37,10 @@
 
90
 
 
91
 uint32_t ulMapVENICE_KCMY[ 9*9*9 ]=
 
92
 {
 
93
-1819176703UL, 79494215UL, 112983330UL, 79035667UL, 78183948UL, 60489224UL, 59571718UL, 42007811UL, 7405312UL,
 
94
+// 2001.06.14 mrb: Replaced the first entry so the printer will
 
95
+// use only the black pen when he should print real black.
 
96
+//1819176703UL, 79494215UL, 112983330UL, 79035667UL, 78183948UL, 60489224UL, 59571718UL, 42007811UL, 7405312UL, 
 
97
+226UL, 79494215UL, 112983330UL, 79035667UL, 78183948UL, 60489224UL, 59571718UL, 42007811UL, 7405312UL,
 
98
 4230922555UL, 655358293UL, 176553263UL, 128253208UL, 61209869UL, 60751368UL, 26606852UL, 9305345UL, 8650496UL,
 
99
 4248940299UL, 3776766759UL, 756415798UL, 308083743UL, 142671120UL, 59440646UL, 9239553UL, 9109248UL, 8779520UL,
 
100
 4248086274UL, 4214276619UL, 2786390812UL, 942206231UL, 491516427UL, 224131588UL, 6616320UL, 7399168UL, 7857664UL,
 
101
diff -urNad hplip/prnt/hpijs/dj970_maps3.cpp /tmp/dpep.xzaNf0/hplip/prnt/hpijs/dj970_maps3.cpp
 
102
--- hplip/prnt/hpijs/dj970_maps3.cpp    2005-01-21 11:52:59.000000000 -0200
 
103
+++ /tmp/dpep.xzaNf0/hplip/prnt/hpijs/dj970_maps3.cpp   2005-01-21 11:58:46.000000000 -0200
 
104
@@ -37,7 +37,8 @@
 
105
 
 
106
 uint32_t ulMapBROADWAY_Draft_KCMY[ 9*9*9 ]=
 
107
 {
 
108
-1802205183UL,   22740362UL,    5832524UL,    5635892UL,    5570340UL,    5308188UL,
 
109
+//1802205183UL,   22740362UL,    5832524UL,    5635892UL,    5570340UL,    5308188UL,
 
110
+       226UL,   22740362UL,    5832524UL,    5635892UL,    5570340UL,    5308188UL,
 
111
    5308180UL,    5504778UL,    5504768UL, 4278239136UL,      65446UL,    4194132UL,
 
112
    5308210UL,    5373728UL,    5308182UL,    5504784UL,    5504776UL,    5504768UL,
 
113
 4278498896UL, 1862336354UL,      65388UL,    2621242UL,    4128540UL,    4718348UL,
 
114
diff -urNad hplip/prnt/hpijs/dj970_maps.cpp /tmp/dpep.xzaNf0/hplip/prnt/hpijs/dj970_maps.cpp
 
115
--- hplip/prnt/hpijs/dj970_maps.cpp     2005-01-21 11:52:59.000000000 -0200
 
116
+++ /tmp/dpep.xzaNf0/hplip/prnt/hpijs/dj970_maps.cpp    2005-01-21 11:58:46.000000000 -0200
 
117
@@ -127,7 +127,11 @@
 
118
 
 
119
 uint32_t ulMapBROADWAY_KCMY[ 9*9*9 ]=
 
120
 {
 
121
- 673723135UL,   26007371UL,    9756717UL,   10020638UL,   10022677UL,   10153743UL, 
 
122
+// 2003.06.05 rss:  Replaced the first entry so the printer will
 
123
+// (hopefully) use only the black pen when he should print real black.
 
124
+// Please report as a bug if it doesn't, or something worse happens.
 
125
+// 673723135UL,   26007371UL,    9756717UL,   10020638UL,   10022677UL,   10153743UL, 
 
126
+       226UL,   26007371UL,    9756717UL,   10020638UL,   10022677UL,   10153743UL, 
 
127
   10285066UL,   10416133UL,    9169408UL, 3405886809UL,      59743UL,   23980849UL, 
 
128
    9366812UL,   10153744UL,   10285066UL,   10153990UL,   10087424UL,    9169408UL, 
 
129
 3858807091UL, 2197868343UL,      60220UL,    4714015UL,    7270155UL,    8646656UL,