source.patch 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. This patch removes references to non-free dd_protocol/* files from makefiles.
  2. It's a part of code which makes the original tarball DFSG-compliant. The rest
  3. is in debian/rules (get-orig-source target).
  4. --- a/library/Makefile.in
  5. +++ b/library/Makefile.in
  6. @@ -34,14 +34,14 @@
  7. tclIndex \
  8. $(cursors)
  9. -ddFiles = dd-color.tcl \
  10. - dd-file.tcl \
  11. - dd-number.tcl \
  12. - dd-text.tcl \
  13. - tclIndex
  14. +#ddFiles = dd-color.tcl \
  15. +# dd-file.tcl \
  16. +# dd-number.tcl \
  17. +# dd-text.tcl \
  18. +# tclIndex
  19. instdirs = $(prefix) $(exec_prefix) \
  20. - $(libdir) $(prefix)/lib $(scriptdir) $(scriptdir)/dd_protocols
  21. + $(libdir) $(prefix)/lib $(scriptdir) #$(scriptdir)/dd_protocols
  22. all: pkgIndex
  23. @@ -53,10 +53,10 @@
  24. install: mkdirs pkgIndex
  25. - for i in $(ddFiles) ; do \
  26. - $(INSTALL_DATA) $(srcdir)/dd_protocols/$$i \
  27. - $(INSTALL_ROOT)$(scriptdir)/dd_protocols ; \
  28. - done
  29. + #for i in $(ddFiles) ; do \
  30. + # $(INSTALL_DATA) $(srcdir)/dd_protocols/$$i \
  31. + # $(INSTALL_ROOT)$(scriptdir)/dd_protocols ; \
  32. + #done
  33. for i in $(miscFiles) ; do \
  34. $(INSTALL_DATA) $(srcdir)/$$i $(INSTALL_ROOT)$(scriptdir) ; \
  35. done
  36. --- a/library/Makefile.vc
  37. +++ b/library/Makefile.vc
  38. @@ -24,11 +24,11 @@
  39. tclIndex \
  40. $(cursors)
  41. -ddFiles = dd-color.tcl \
  42. - dd-file.tcl \
  43. - dd-number.tcl \
  44. - dd-text.tcl \
  45. - tclIndex
  46. +#ddFiles = dd-color.tcl \
  47. +# dd-file.tcl \
  48. +# dd-number.tcl \
  49. +# dd-text.tcl \
  50. +# tclIndex
  51. instdirs = $(prefix) $(exec_prefix) $(libdir) \
  52. $(scriptdir) $(scriptdir)/dd_protocols $(libdir)/tcl$(v1) \
  53. @@ -44,9 +44,9 @@
  54. done
  55. install-ddfiles: install-dirs
  56. - for i in $(ddFiles) ; do \
  57. - $(INSTALL_DATA) $(srcdir)/dd_protocols/$$i $(scriptdir)/dd_protocols ; \
  58. - done
  59. + #for i in $(ddFiles) ; do \
  60. + # $(INSTALL_DATA) $(srcdir)/dd_protocols/$$i $(scriptdir)/dd_protocols ; \
  61. + #done
  62. install-files: install-dirs
  63. for i in $(miscFiles) ; do \
  64. --- a/win/install.tcl
  65. +++ b/win/install.tcl
  66. @@ -78,7 +78,7 @@
  67. -pattern *.pro \
  68. -file tclIndex \
  69. $scriptdir
  70. - Add ${srcdir}/library/dd_protocols \
  71. + #Add ${srcdir}/library/dd_protocols \
  72. -pattern *.tcl \
  73. -file tclIndex \
  74. $scriptdir/dd_protocols