slackbuilds_ponce/graphics/tclblt/patches/source.patch
Andrey M. Lipaev 377171575b graphics/tclblt: Added (Tcl/Tk Extension).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2019-06-29 07:59:18 +07:00

85 lines
2.1 KiB
Diff

This patch removes references to non-free dd_protocol/* files from makefiles.
It's a part of code which makes the original tarball DFSG-compliant. The rest
is in debian/rules (get-orig-source target).
--- a/library/Makefile.in
+++ b/library/Makefile.in
@@ -34,14 +34,14 @@
tclIndex \
$(cursors)
-ddFiles = dd-color.tcl \
- dd-file.tcl \
- dd-number.tcl \
- dd-text.tcl \
- tclIndex
+#ddFiles = dd-color.tcl \
+# dd-file.tcl \
+# dd-number.tcl \
+# dd-text.tcl \
+# tclIndex
instdirs = $(prefix) $(exec_prefix) \
- $(libdir) $(prefix)/lib $(scriptdir) $(scriptdir)/dd_protocols
+ $(libdir) $(prefix)/lib $(scriptdir) #$(scriptdir)/dd_protocols
all: pkgIndex
@@ -53,10 +53,10 @@
install: mkdirs pkgIndex
- for i in $(ddFiles) ; do \
- $(INSTALL_DATA) $(srcdir)/dd_protocols/$$i \
- $(INSTALL_ROOT)$(scriptdir)/dd_protocols ; \
- done
+ #for i in $(ddFiles) ; do \
+ # $(INSTALL_DATA) $(srcdir)/dd_protocols/$$i \
+ # $(INSTALL_ROOT)$(scriptdir)/dd_protocols ; \
+ #done
for i in $(miscFiles) ; do \
$(INSTALL_DATA) $(srcdir)/$$i $(INSTALL_ROOT)$(scriptdir) ; \
done
--- a/library/Makefile.vc
+++ b/library/Makefile.vc
@@ -24,11 +24,11 @@
tclIndex \
$(cursors)
-ddFiles = dd-color.tcl \
- dd-file.tcl \
- dd-number.tcl \
- dd-text.tcl \
- tclIndex
+#ddFiles = dd-color.tcl \
+# dd-file.tcl \
+# dd-number.tcl \
+# dd-text.tcl \
+# tclIndex
instdirs = $(prefix) $(exec_prefix) $(libdir) \
$(scriptdir) $(scriptdir)/dd_protocols $(libdir)/tcl$(v1) \
@@ -44,9 +44,9 @@
done
install-ddfiles: install-dirs
- for i in $(ddFiles) ; do \
- $(INSTALL_DATA) $(srcdir)/dd_protocols/$$i $(scriptdir)/dd_protocols ; \
- done
+ #for i in $(ddFiles) ; do \
+ # $(INSTALL_DATA) $(srcdir)/dd_protocols/$$i $(scriptdir)/dd_protocols ; \
+ #done
install-files: install-dirs
for i in $(miscFiles) ; do \
--- a/win/install.tcl
+++ b/win/install.tcl
@@ -78,7 +78,7 @@
-pattern *.pro \
-file tclIndex \
$scriptdir
- Add ${srcdir}/library/dd_protocols \
+ #Add ${srcdir}/library/dd_protocols \
-pattern *.tcl \
-file tclIndex \
$scriptdir/dd_protocols