[arachne-pnr] 03/04: Other needed patches

Ruben Undheim rubund-guest at moszumanska.debian.org
Wed Oct 7 16:09:22 UTC 2015


This is an automated email from the git hooks/post-receive script.

rubund-guest pushed a commit to branch master
in repository arachne-pnr.

commit fcb0e2b4e0d8e137215ef5a355baf7310c0bad39
Author: Ruben Undheim <ruben.undheim at gmail.com>
Date:   Wed Oct 7 20:06:38 2015 +0400

    Other needed patches
---
 debian/patches/02_dont_run_tests.patch  | 56 +++++++++++++++++++++++++++++++++
 debian/patches/03_fix_install_dir.patch | 51 ++++++++++++++++++++++++++++++
 debian/patches/series                   |  2 ++
 3 files changed, 109 insertions(+)

diff --git a/debian/patches/02_dont_run_tests.patch b/debian/patches/02_dont_run_tests.patch
new file mode 100644
index 0000000..d3381f7
--- /dev/null
+++ b/debian/patches/02_dont_run_tests.patch
@@ -0,0 +1,56 @@
+Description: <short summary of the patch>
+ TODO: Put a short summary on the line above and replace this paragraph
+ with a longer explanation of this change. Complete the meta-information
+ with other relevant fields (see below for details). To make it easier, the
+ information below has been extracted from the changelog. Adjust it or drop
+ it.
+ .
+ arachne-pnr (0~20150927gitefdb026-1) unstable; urgency=low
+ .
+   * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
+Author: Ruben Undheim <ruben.undheim at gmail.com>
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: https://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
+
+--- arachne-pnr-0~20150927gitefdb026.orig/Makefile
++++ arachne-pnr-0~20150927gitefdb026/Makefile
+@@ -46,17 +46,17 @@ simpletest: all tests/test_bv tests/test
+ 	@echo
+ 
+ # assumes icestorm, yosys installed
+-test: all tests/test_bv ./tests/test_us
+-	./tests/test_bv
+-	./tests/test_us
+-	make -C examples/rot clean && make -C examples/rot
+-	cd tests/simple && ICEBOX=$(ICEBOX) bash run-test.sh
+-	cd tests/regression && bash run-test.sh
+-	cd tests/fsm && bash run-test.sh
+-	cd tests/combinatorial && bash run-test.sh
+-	@echo
+-	@echo 'All tests passed.'
+-	@echo
++#test: all tests/test_bv ./tests/test_us
++#	./tests/test_bv
++#	./tests/test_us
++#	make -C examples/rot clean && make -C examples/rot
++#	cd tests/simple && ICEBOX=$(ICEBOX) bash run-test.sh
++#	cd tests/regression && bash run-test.sh
++#	cd tests/fsm && bash run-test.sh
++#	cd tests/combinatorial && bash run-test.sh
++#	@echo
++#	@echo 'All tests passed.'
++#	@echo
+ 
+ # assumes valgrind installed
+ testvg:
diff --git a/debian/patches/03_fix_install_dir.patch b/debian/patches/03_fix_install_dir.patch
new file mode 100644
index 0000000..63129ba
--- /dev/null
+++ b/debian/patches/03_fix_install_dir.patch
@@ -0,0 +1,51 @@
+Description: <short summary of the patch>
+ TODO: Put a short summary on the line above and replace this paragraph
+ with a longer explanation of this change. Complete the meta-information
+ with other relevant fields (see below for details). To make it easier, the
+ information below has been extracted from the changelog. Adjust it or drop
+ it.
+ .
+ arachne-pnr (0~20150927gitefdb026-1) unstable; urgency=low
+ .
+   * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
+Author: Ruben Undheim <ruben.undheim at gmail.com>
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: https://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
+
+--- arachne-pnr-0~20150927gitefdb026.orig/Makefile
++++ arachne-pnr-0~20150927gitefdb026/Makefile
+@@ -69,16 +69,16 @@ testvg:
+ 
+ .PHONY: install
+ install: all
+-	mkdir -p $(DESTDIR)/bin
+-	cp bin/arachne-pnr $(DESTDIR)/bin/arachne-pnr
+-	mkdir -p $(DESTDIR)/share/arachne-pnr
+-	cp share/arachne-pnr/chipdb-1k.bin $(DESTDIR)/share/arachne-pnr/chipdb-1k.bin
+-	cp share/arachne-pnr/chipdb-8k.bin $(DESTDIR)/share/arachne-pnr/chipdb-8k.bin
++	mkdir -p $(DESTDIR)/usr/bin
++	cp bin/arachne-pnr $(DESTDIR)/usr/bin/arachne-pnr
++	mkdir -p $(DESTDIR)/usr/share/arachne-pnr
++	cp share/arachne-pnr/chipdb-1k.bin $(DESTDIR)/usr/share/arachne-pnr/chipdb-1k.bin
++	cp share/arachne-pnr/chipdb-8k.bin $(DESTDIR)/usr/share/arachne-pnr/chipdb-8k.bin
+ 
+ .PHONY: uninstall
+ uninstall:
+-	rm -f $(DESTDIR)/bin/arachne-pnr
+-	rm -f $(DESTDIR)/bin/share/arachne-pnr/*.bin
++	rm -f $(DESTDIR)/usr/bin/arachne-pnr
++	rm -f $(DESTDIR)/usr/bin/share/arachne-pnr/*.bin
+ 
+ .PHONY: clean
+ clean:
diff --git a/debian/patches/series b/debian/patches/series
index cd99837..ea7547b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,3 @@
 01_path_to_icebox.patch
+02_dont_run_tests.patch
+03_fix_install_dir.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/arachne-pnr.git



More information about the debian-science-commits mailing list