reproducible-gzip.patch 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. --- hplip-3.20.5/createPPD.sh 2020-05-11 15:34:06.000000000 +0200
  2. +++ hplip-3.20.5.old/createPPD.sh 2020-05-27 12:02:44.089477299 +0200
  3. @@ -54,15 +54,15 @@
  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/ps/hp-postscript*.ppd.gz ppd/classppd/ps
  12. for i in ppd/classppd/hpcups/*.ppd; do
  13. - gzip -c "$i" > "$i.gz"
  14. + gzip -nc "$i" > "$i.gz"
  15. done
  16. #for i in ppd/classppd/ps/*.ppd; do
  17. - # gzip -c "$i" > "$i.gz"
  18. + # gzip -nc "$i" > "$i.gz"
  19. #done
  20. cat > class_cups_drv.inc <<EOF
  21. @@ -81,14 +81,14 @@
  22. install -d ppd/hpcups
  23. ppdc -d ppd/hpcups prnt/drv/hpcups.drv
  24. for i in ppd/hpcups/*.ppd; do
  25. - gzip -c "$i" > "$i.gz"
  26. + gzip -nc "$i" > "$i.gz"
  27. done
  28. install -d ppd/hpijs
  29. ppdc -d ppd/hpijs prnt/drv/hpijs.drv
  30. echo "gzip ppd files..."
  31. for i in ppd/hpijs/*.ppd; do
  32. - gzip -c "$i" > "$i.gz"
  33. + gzip -nc "$i" > "$i.gz"
  34. done
  35. echo "building foomatic_drv.inc..."
  36. ./hpijs-drv > foomatic_drv.inc $shadow