4.10.3-2: add gtktreeviewmodel fixes
[arch-packages.git] / hplip / trunk / reproducible-gzip.patch
blob5a25d2689ab2401b532d98c74bf9a354a493fe4d
1 --- hplip-3.22.4/createPPD.sh 2022-04-26 06:16:59.000000000 +0200
2 +++ hplip-3.22.4/createPPD.sh.new 2022-04-30 14:42:35.877365900 +0200
3 @@ -55,16 +55,16 @@
4 else
5 cp prnt/ps/hp-postscript*.ppd ppd/classppd/ps
6 for i in ppd/classppd/ps/*.ppd; do
7 - gzip -c "$i" > "$i.gz"
8 + gzip -nc "$i" > "$i.gz"
9 done
11 #cp prnt/spd/*.ppd ppd/classppd/hpcups/.
12 #cp prnt/ps/hp-postscript*.ppd.gz ppd/classppd/ps
13 for i in ppd/classppd/hpcups/*.ppd; do
14 - gzip -c "$i" > "$i.gz"
15 + gzip -nc "$i" > "$i.gz"
16 done
17 #for i in ppd/classppd/ps/*.ppd; do
18 - # gzip -c "$i" > "$i.gz"
19 + # gzip -nc "$i" > "$i.gz"
20 #done
22 cat > class_cups_drv.inc <<EOF
23 @@ -83,14 +83,14 @@
24 install -d ppd/hpcups
25 ppdc -d ppd/hpcups prnt/drv/hpcups.drv
26 for i in ppd/hpcups/*.ppd; do
27 - gzip -c "$i" > "$i.gz"
28 + gzip -nc "$i" > "$i.gz"
29 done
31 install -d ppd/hpijs
32 ppdc -d ppd/hpijs prnt/drv/hpijs.drv
33 echo "gzip ppd files..."
34 for i in ppd/hpijs/*.ppd; do
35 - gzip -c "$i" > "$i.gz"
36 + gzip -nc "$i" > "$i.gz"
37 done
38 echo "building foomatic_drv.inc..."
39 ./hpijs-drv > foomatic_drv.inc $shadow