reproducible-gzip.patch 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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
  10. fi
  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
  21. cat > class_cups_drv.inc <<EOF
  22. @@ -83,14 +83,14 @@
  23. install -d ppd/hpcups
  24. ppdc -d ppd/hpcups prnt/drv/hpcups.drv
  25. for i in ppd/hpcups/*.ppd; do
  26. - gzip -c "$i" > "$i.gz"
  27. + gzip -nc "$i" > "$i.gz"
  28. done
  29. install -d ppd/hpijs
  30. ppdc -d ppd/hpijs prnt/drv/hpijs.drv
  31. echo "gzip ppd files..."
  32. for i in ppd/hpijs/*.ppd; do
  33. - gzip -c "$i" > "$i.gz"
  34. + gzip -nc "$i" > "$i.gz"
  35. done
  36. echo "building foomatic_drv.inc..."
  37. ./hpijs-drv > foomatic_drv.inc $shadow