mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

128 lines
5.2 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/rene/cups/setprinter.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; either version 2 of the License, or
  14. # (at your option) any later version. A copy of the GNU General Public
  15. # License can be found at Documentation/COPYING.
  16. #
  17. # Many people helped and are helping developing ROCK Linux. Please
  18. # have a look at http://www.rocklinux.org/ and the Documentation/TEAM
  19. # file for details.
  20. #
  21. # --- ROCK-COPYRIGHT-NOTE-END ---
  22. diff -ur cups-1.1.19/berkeley/Makefile cups-1.1.19-fixed/berkeley/Makefile
  23. --- cups-1.1.19/berkeley/Makefile 2002-12-17 19:56:34.000000000 +0100
  24. +++ cups-1.1.19-fixed/berkeley/Makefile 2003-05-07 01:26:05.794298504 +0200
  25. @@ -57,11 +57,11 @@
  26. install: all
  27. $(INSTALL_DIR) $(BINDIR)
  28. - $(INSTALL_BIN) lpq $(BINDIR)
  29. - $(INSTALL_BIN) lpr $(BINDIR)
  30. - $(INSTALL_BIN) lprm $(BINDIR)
  31. + $(INSTALL_BIN) lpq $(BINDIR)/lpq_cups
  32. + $(INSTALL_BIN) lpr $(BINDIR)/lpr_cups
  33. + $(INSTALL_BIN) lprm $(BINDIR)/lprm_cups
  34. $(INSTALL_DIR) $(SBINDIR)
  35. - $(INSTALL_BIN) lpc $(SBINDIR)
  36. + $(INSTALL_BIN) lpc $(SBINDIR)/lpc_cups
  37. #
  38. diff -ur cups-1.1.19/man/Makefile cups-1.1.19-fixed/man/Makefile
  39. --- cups-1.1.19/man/Makefile 2002-12-17 19:59:55.000000000 +0100
  40. +++ cups-1.1.19-fixed/man/Makefile 2003-05-07 01:43:21.878789720 +0200
  41. @@ -70,26 +70,30 @@
  42. install: all
  43. $(INSTALL_DIR) $(MANDIR)/man1
  44. for file in $(MAN1); do \
  45. - $(INSTALL_MAN) $$file $(MANDIR)/man1/`basename $$file man`1; \
  46. + inst=`echo $$file | sed -e 's/\\.[0-9a-z]*$$//'`; \
  47. + $(INSTALL_MAN) $$file $(MANDIR)/man1/$$inst'_cups.1'; \
  48. done
  49. - $(RM) $(MANDIR)/man1/cancel.1
  50. - $(LN) lp.1 $(MANDIR)/man1/cancel.1
  51. + $(RM) $(MANDIR)/man1/cancel_cups.1
  52. + $(LN) lp_cups.1 $(MANDIR)/man1/cancel_cups.1
  53. $(INSTALL_DIR) $(PMANDIR)/man3
  54. for file in $(MAN3); do \
  55. - $(INSTALL_MAN) $$file $(PMANDIR)/man3/`basename $$file man`3; \
  56. + inst=`echo $$file | sed -e 's/\\.[0-9a-z]*$$//'`; \
  57. + $(INSTALL_MAN) $$file $(PMANDIR)/man3/$$(inst)'_cups.3'; \
  58. done
  59. $(INSTALL_DIR) $(MANDIR)/man5
  60. for file in $(MAN5); do \
  61. - $(INSTALL_MAN) $$file $(MANDIR)/man5/`basename $$file man`5; \
  62. + inst=`echo $$file | sed -e 's/\\.[0-9a-z]*$$//'`; \
  63. + $(INSTALL_MAN) $$file $(MANDIR)/man5/$$(inst)'_cups.5'; \
  64. done
  65. $(INSTALL_DIR) $(AMANDIR)/man$(MAN8EXT)
  66. for file in $(MAN8); do \
  67. - $(INSTALL_MAN) $$file $(AMANDIR)/man$(MAN8EXT)/`basename $$file man`$(MAN8EXT); \
  68. + inst=`echo $$file | sed -e 's/\\.[0-9a-z]*$$//'`; \
  69. + $(INSTALL_MAN) $$file $(AMANDIR)/man$(MAN8EXT)/$$(inst)'_cups'.$(MAN8EXT); \
  70. done
  71. - $(RM) $(AMANDIR)/man$(MAN8EXT)/reject.$(MAN8EXT)
  72. - $(LN) accept.$(MAN8EXT) $(AMANDIR)/man$(MAN8EXT)/reject.$(MAN8EXT)
  73. - $(RM) $(AMANDIR)/man$(MAN8EXT)/disable.$(MAN8EXT)
  74. - $(LN) enable.$(MAN8EXT) $(AMANDIR)/man$(MAN8EXT)/disable.$(MAN8EXT)
  75. + $(RM) $(AMANDIR)/man$(MAN8EXT)/reject_cups.$(MAN8EXT)
  76. + $(LN) accept_cups.$(MAN8EXT) $(AMANDIR)/man$(MAN8EXT)/reject_cups.$(MAN8EXT)
  77. + $(RM) $(AMANDIR)/man$(MAN8EXT)/disable_cups.$(MAN8EXT)
  78. + $(LN) enable_cups.$(MAN8EXT) $(AMANDIR)/man$(MAN8EXT)/disable_cups.$(MAN8EXT)
  79. $(INSTALL_DIR) $(MANDIR)/cat1
  80. for file in $(CAT1); do \
  81. $(INSTALL_MAN) $$file $(MANDIR)/cat1; \
  82. diff -ur cups-1.1.19/systemv/Makefile cups-1.1.19-fixed/systemv/Makefile
  83. --- cups-1.1.19/systemv/Makefile.orig 2003-08-16 18:15:53.000000000 +0000
  84. +++ cups-1.1.19-fixed/systemv/Makefile 2003-08-16 18:19:53.000000000 +0000
  85. @@ -60,25 +60,22 @@
  86. install: all
  87. $(INSTALL_DIR) $(SBINDIR)
  88. - $(INSTALL_BIN) accept $(SBINDIR)
  89. - $(RM) $(SBINDIR)/reject
  90. - $(LN) accept $(SBINDIR)/reject
  91. + $(INSTALL_BIN) accept $(SBINDIR)/accept_cups
  92. + $(LN) accept $(SBINDIR)/reject_cups
  93. $(INSTALL_BIN) cupsaddsmb $(SBINDIR)
  94. - $(INSTALL_BIN) lpadmin $(SBINDIR)
  95. - $(INSTALL_BIN) lpinfo $(SBINDIR)
  96. - $(INSTALL_BIN) lpmove $(SBINDIR)
  97. + $(INSTALL_BIN) lpadmin $(SBINDIR)/lpadmin_cups
  98. + $(INSTALL_BIN) lpinfo $(SBINDIR)/lpinfo_cups
  99. + $(INSTALL_BIN) lpmove $(SBINDIR)/lpremove_cups
  100. $(INSTALL_DIR) $(BINDIR)
  101. - $(INSTALL_BIN) cancel $(BINDIR)
  102. + $(INSTALL_BIN) cancel $(BINDIR)/cancel_cups
  103. $(INSTALL_BIN) cupstestppd $(BINDIR)
  104. - $(RM) $(BINDIR)/disable
  105. - $(LN) ../sbin/accept $(BINDIR)/disable
  106. - $(RM) $(BINDIR)/enable
  107. - $(LN) ../sbin/accept $(BINDIR)/enable
  108. - $(INSTALL_BIN) lp $(BINDIR)
  109. - $(INSTALL_BIN) lpoptions $(BINDIR)
  110. - $(INSTALL_BIN) lpstat $(BINDIR)
  111. - $(INSTALL_BIN) lppasswd $(BINDIR)
  112. - -$(INSTALL_BIN) -m 4755 -o $(CUPS_USER) -g $(CUPS_GROUP) lppasswd $(BINDIR)
  113. + $(LN) ../sbin/accept $(BINDIR)/disable_cups
  114. + $(LN) ../sbin/accept $(BINDIR)/enable_cups
  115. + $(INSTALL_BIN) lp $(BINDIR)/lp_cups
  116. + $(INSTALL_BIN) lpoptions $(BINDIR)/lpoptions_cups
  117. + $(INSTALL_BIN) lpstat $(BINDIR)/lpstat_cups
  118. + $(INSTALL_BIN) lppasswd $(BINDIR)/lppasswd_cups
  119. + -$(INSTALL_BIN) -m 4755 -o $(CUPS_USER) -g $(CUPS_GROUP) lppasswd $(BINDIR)/lppasswd_cups
  120. #