diff options
-rw-r--r-- | debian/changelog | 236 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 32 | ||||
-rw-r--r-- | debian/copyright | 108 | ||||
-rw-r--r-- | debian/docs | 1 | ||||
-rw-r--r-- | debian/gbp.conf | 2 | ||||
-rwxr-xr-x | debian/man/genmanpages.sh | 4 | ||||
-rw-r--r-- | debian/man/qrouter.txt | 66 | ||||
-rw-r--r-- | debian/patches/0003-FTCBFS-fails-to-propagate-the-cross-compiler-from-co.patch | 20 | ||||
-rw-r--r-- | debian/patches/0004-Syntax-in-qrouter-expects-sh-to-be-a-link-to-bash.-F.patch | 18 | ||||
-rw-r--r-- | debian/patches/01_chmod_executable.patch | 25 | ||||
-rw-r--r-- | debian/patches/02_use_tkcon_from_debian.patch | 37 | ||||
-rw-r--r-- | debian/patches/series | 4 | ||||
-rw-r--r-- | debian/qrouter.lintian-overrides | 3 | ||||
-rw-r--r-- | debian/qrouter.manpages | 1 | ||||
-rwxr-xr-x | debian/rules | 33 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rwxr-xr-x | debian/tests/can-show-help | 6 | ||||
-rw-r--r-- | debian/tests/control | 2 | ||||
-rw-r--r-- | debian/upstream/metadata | 4 | ||||
-rw-r--r-- | debian/watch | 2 |
21 files changed, 606 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..d321181 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,236 @@ +qrouter (1.4.49-1~exp1) UNRELEASED; urgency=low + + * New upstream release + + -- Ruben Undheim <ruben.undheim@gmail.com> Fri, 29 Mar 2019 00:00:59 +0100 + +qrouter (1.3.108-1) unstable; urgency=medium + + * New upstream release + + -- Ruben Undheim <ruben.undheim@gmail.com> Fri, 04 Jan 2019 19:14:42 +0100 + +qrouter (1.3.107-1) unstable; urgency=medium + + * New upstream release + + -- Ruben Undheim <ruben.undheim@gmail.com> Thu, 20 Dec 2018 09:53:14 +0100 + +qrouter (1.3.106-1) unstable; urgency=medium + + * New upstream release + * debian/control: New standards version 4.2.1 - no changes + + -- Ruben Undheim <ruben.undheim@gmail.com> Sat, 22 Sep 2018 12:13:19 +0200 + +qrouter (1.3.104-2) unstable; urgency=medium + + * debian/compat: level 11 + * debian/control: + - debhelper >= 11 + - Drop now useless build dependencies: autotools-dev and dh-autoreconf + - New standards version 4.2.0 - no changes + * d/patches/0004-Syntax-in-qrouter-expects-sh-to-be-a-link-to-bash.-F.patch + - autopkgtest fails because TERM is not defined in test environment, and + /usr/bin/qrouter expects the shell to be bash (but it is dash). Fix. + * debian/upstream/metadata added + + -- Ruben Undheim <ruben.undheim@gmail.com> Sat, 18 Aug 2018 18:44:37 +0200 + +qrouter (1.3.104-1) unstable; urgency=medium + + * New upstream version + * debian/rules: + - Do not use autotools_dev when building + * debian/tests/control and debian/tests/can-show-help: + - First simple autopkgtest for qrouter + + -- Ruben Undheim <ruben.undheim@gmail.com> Sat, 04 Aug 2018 13:17:49 +0200 + +qrouter (1.3.103-1) unstable; urgency=medium + + * New upstream release + * debian/rules: + - Replace dpkg-parsechangelog with /usr/share/dpkg/pkg-info.mk + - Make the date formatting timezone independent using LC_ALL=C and + "date -u" + * debian/patches: Refreshed patches + + -- Ruben Undheim <ruben.undheim@gmail.com> Thu, 12 Jul 2018 23:23:40 +0200 + +qrouter (1.3.80-2) unstable; urgency=medium + + [Helmut Grohne] + * FTCBFS: fails to propagate the cross compiler from configure to make + (Closes: #894831) + + [Ruben Undheim] + * debian/changelog: + - Use https in Format field + * debian/control: + - Update standards version to 4.1.5 - no changes + - Updated VCS URLs to salsa.debian.org + * debian/watch: + - Change regular expression so that it only looks for "stable" versions + (1.3.x) + + -- Ruben Undheim <ruben.undheim@gmail.com> Wed, 11 Jul 2018 22:19:29 +0200 + +qrouter (1.3.80-1) unstable; urgency=medium + + * New upstream release + * Uploaded to unstable + * debian/control: New standards version 4.0.0 - no changes + * debian/copyright: Added copyright year to 2017 + + -- Ruben Undheim <ruben.undheim@gmail.com> Thu, 13 Jul 2017 20:10:02 +0000 + +qrouter (1.3.69-1~exp1) experimental; urgency=low + + * New upstream release + + -- Ruben Undheim <ruben.undheim@gmail.com> Fri, 24 Mar 2017 09:17:45 +0000 + +qrouter (1.3.67-1~exp1) experimental; urgency=low + + * New upstream release + + -- Ruben Undheim <ruben.undheim@gmail.com> Fri, 17 Mar 2017 13:45:33 +0100 + +qrouter (1.3.57-1) unstable; urgency=medium + + * New upstream release + + -- Ruben Undheim <ruben.undheim@gmail.com> Thu, 06 Oct 2016 18:26:33 +0200 + +qrouter (1.3.46-1) unstable; urgency=low + + * New upstream release + * debian/control: + - Standards version now 3.9.8 - no required changes + + -- Ruben Undheim <ruben.undheim@gmail.com> Sun, 29 May 2016 01:32:18 +0200 + +qrouter (1.3.42-1) unstable; urgency=medium + + * New upstream release + * debian/control: + - Standards version now 3.9.7 - no required changes + + -- Ruben Undheim <ruben.undheim@gmail.com> Wed, 13 Apr 2016 20:20:39 +0200 + +qrouter (1.3.38-1) unstable; urgency=low + + * New upstream release + - Fixes FTBFS with clang (Closes: #812170) (Thanks Arthur Marble) + * d/control: Use https for git URL + + -- Ruben Undheim <ruben.undheim@gmail.com> Fri, 19 Feb 2016 17:58:00 +0100 + +qrouter (1.3.33-1) unstable; urgency=medium + + * New upstream release + + -- Ruben Undheim <ruben.undheim@gmail.com> Sun, 03 Jan 2016 11:21:51 +0100 + +qrouter (1.3.27-1) unstable; urgency=low + + * New upstream release + * debian/rules: + - fixed "--with-libdir=" because of changes upstream + + -- Ruben Undheim <ruben.undheim@gmail.com> Mon, 16 Nov 2015 18:49:55 +0100 + +qrouter (1.3.20-1) unstable; urgency=low + + * New upstream release + * Use "txt2man" to generate man page from txt file + - Added d/man/genmanpages.sh, d/man/qrouter.txt and deleted + d/qrouter.1 + - d/rules: Added rules to build man page during package build. + * Added more information in man page + + -- Ruben Undheim <ruben.undheim@gmail.com> Sun, 18 Oct 2015 21:06:59 +0200 + +qrouter (1.3.16-1) unstable; urgency=low + + * New upstream release + * More info in man page + + -- Ruben Undheim <ruben.undheim@gmail.com> Tue, 06 Oct 2015 18:44:06 +0200 + +qrouter (1.3.15-1) unstable; urgency=low + + * New upstream release + + -- Ruben Undheim <ruben.undheim@gmail.com> Fri, 11 Sep 2015 07:40:07 +0200 + +qrouter (1.3.12-1) unstable; urgency=low + + * New upstream release + * debian/rules: + - Also run autoreconf to regenerate configure as well + * debian/control: + - Added build-dependency on dh-autoreconf + + -- Ruben Undheim <ruben.undheim@gmail.com> Tue, 01 Sep 2015 22:05:52 +0200 + +qrouter (1.3.11-1) unstable; urgency=low + + * New upstream release + + -- Ruben Undheim <ruben.undheim@gmail.com> Thu, 23 Jul 2015 11:15:56 +0200 + +qrouter (1.3.10-1) unstable; urgency=low + + * New upstream release + + -- Ruben Undheim <ruben.undheim@gmail.com> Sat, 30 May 2015 12:58:06 +0200 + +qrouter (1.3.8-2) unstable; urgency=low + + * Uploaded to unstable + + -- Ruben Undheim <ruben.undheim@gmail.com> Sat, 23 May 2015 11:46:06 +0200 + +qrouter (1.3.8-1) experimental; urgency=medium + + * New upstream release + - fixing segfault + + -- Ruben Undheim <ruben.undheim@gmail.com> Sun, 08 Mar 2015 10:12:24 +0100 + +qrouter (1.3.7-1) experimental; urgency=low + + * New upstream release + - removed patch 03_remove_files.patch + * Refreshed patches + * Added d/qrouter.lintian-overrides in order to ignore shlib-calls-exit + for qrouter.so + * d/rules updates: + - Enabled full hardening + - Including downstream change "--with autotools_dev" + - Added override_dh_auto_clean target to make sure that it rebuilds + cleanly even without manually cleaning the environment first. + * Ran "cme fix dpkg-control" to fix formatting of d/control + * Added d/gbp.conf to always use pristine-tar + * d/copyright: + - Some new years, one new copyright holder name and an extra email address + - Moved license descriptions to the end of the file + + -- Ruben Undheim <ruben.undheim@gmail.com> Fri, 20 Feb 2015 18:37:06 +0100 + +qrouter (1.3.3-1) unstable; urgency=medium + + * New upstream release + - Fixes FTBFS on certain architectures (Closes: 764740) + - Fixes "invalid command name qrouter::lowerconsole" (Closes: 764743) + * New standards version 3.9.6 + + -- Ruben Undheim <ruben.undheim@gmail.com> Sat, 11 Oct 2014 19:22:46 +0200 + +qrouter (1.3.1-1) unstable; urgency=low + + * Initial release (Closes: #760629) + + -- Ruben Undheim <ruben.undheim@gmail.com> Sun, 21 Sep 2014 12:29:19 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b4de394 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +11 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..6e1eea2 --- /dev/null +++ b/debian/control @@ -0,0 +1,32 @@ +Source: qrouter +Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org> +Uploaders: Ruben Undheim <ruben.undheim@gmail.com> +Section: electronics +Priority: optional +Build-Depends: debhelper (>= 11), + tcl-dev, + tk-dev, + txt2man +Standards-Version: 4.2.1 +Vcs-Browser: https://salsa.debian.org/science-team/qrouter +Vcs-Git: https://salsa.debian.org/science-team/qrouter.git +Homepage: http://opencircuitdesign.com/qrouter/ + +Package: qrouter +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends}, + tkcon +Description: Multi-level, over-the-cell maze router + Qrouter is a tool to generate metal layers and vias to physically connect + together a netlist in a VLSI fabrication technology. It is a maze router, + otherwise known as an "over-the-cell" router or "sea-of-gates" router. That + is, unlike a channel router, it begins with a description of placed standard + cells, usually packed together at minimum spacing, and places metal routes + over the standard cells. + . + Qrouter uses the open standard LEF and DEF formats as file input and output. + It takes the cell definitions from a LEF file, and analyzes the geometry for + each cell to determine contact points and route obstructions. It then reads + the cell placement, pin placement, and netlist from a DEF file, performs the + detailed route, and writes an annotated DEF file as output. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..04a8761 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,108 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: qrouter +Source: http://opencircuitdesign.com/qrouter/ + +Files: * +Copyright: 2003 Steve Beccue + 2011-2017 Tim Edwards <tim@opencircuitdesign.com> +License: GPL-2 + +Files: tkcon.tcl +Copyright: 1995-2001 Jeffrey Hobbs <jeff.hobbs@acm.org, jeff@hobbs.org> + 2001 Pat Thoyts <Pat.Thoyts@bigfoot.com> +License: tkcon_license + +Files: install-sh +Copyright: 1991 Massachusetts Institute of Technology +License: MIT + +Files: debian/* +Copyright: 2014-2015 Ruben Undheim <ruben.undheim@gmail.com> +License: GPL-2+ + + + + +License: GPL-2 + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/> + . + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + + +License: tkcon_license + This software is copyrighted by Jeffrey Hobbs <jeff.hobbs at acm.org>. The + following terms apply to all files associated with the software unless + explicitly disclaimed in individual files. + . + The authors hereby grant permission to use, copy, modify, distribute, and + license this software and its documentation for any purpose, provided that + existing copyright notices are retained in all copies and that this notice + is included verbatim in any distributions. No written agreement, license, + or royalty fee is required for any of the authorized uses. + . + IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY FOR + DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT + OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY DERIVATIVES THEREOF, + EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + . + THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE IS + PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE NO + OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR + MODIFICATIONS. + . + RESTRICTED RIGHTS: Use, duplication or disclosure by the U.S. government + is subject to the restrictions as set forth in subparagraph (c) (1) (ii) + of the Rights in Technical Data and Computer Software Clause as DFARS + 252.227-7013 and FAR 52.227-19. + . + SPECIAL NOTES: + . + This software is also falls under the bourbon_ware clause: + . + Should you find this software useful in your daily work, you should feel + obliged to take the author out for a drink if the opportunity presents + itself. The user may feel exempt from this clause if they are below + drinking age or think the author has already partaken of too many drinks. + + +License: MIT + Permission to use, copy, modify, distribute, and sell this software and its + documentation for any purpose is hereby granted without fee, provided that + the above copyright notice appear in all copies and that both that + copyright notice and this permission notice appear in supporting + documentation, and that the name of M.I.T. not be used in advertising or + publicity pertaining to distribution of the software without specific, + written prior permission. M.I.T. makes no representations about the + suitability of this software for any purpose. It is provided "as is" + without express or implied warranty. + + +License: GPL-2+ + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/> + . + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..e845566 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +README diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..cec628c --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,2 @@ +[DEFAULT] +pristine-tar = True diff --git a/debian/man/genmanpages.sh b/debian/man/genmanpages.sh new file mode 100755 index 0000000..dba27a5 --- /dev/null +++ b/debian/man/genmanpages.sh @@ -0,0 +1,4 @@ +#!/bin/bash + + +txt2man -t QROUTER -s 1 qrouter.txt > qrouter.1 diff --git a/debian/man/qrouter.txt b/debian/man/qrouter.txt new file mode 100644 index 0000000..5dccd7c --- /dev/null +++ b/debian/man/qrouter.txt @@ -0,0 +1,66 @@ +NAME + qrouter - Multi-level, over-the-cell maze router + +SYNOPSIS + qrouter [-noc] [-s scriptname] [options] [design_name] + +DESCRIPTION + This manual page documents briefly the qrouter command. + + Qrouter is a tool to generate metal layers and vias to physically connect together a netlist in a VLSI fabrication technology. It is a maze router, otherwise known as an "over-the-cell" router or "sea-of-gates" router. That is, unlike a channel router, it begins with a description of placed standard cells, usually packed together at minimum spacing, and places metal routes over the standard cells. + + Qrouter uses the open standard LEF and DEF formats as file input and output. It takes the cell definitions from a LEF file, and analyzes the geometry for each cell to determine contact points and route obstructions. It then reads the cell placement, pin placement, and netlist from a DEF file, performs the detailed route, and writes an annotated DEF file as output. + +USAGE + + Qrouter can run be run in several ways: + + 1. Interactive mode. If qrouter is started without any options, a tkcon window will be opened with an interpreter where commands may be entered. + + 2. Normal batch mode. This mode is activated if a tcl script is given with the "-s" option. It can be run with or without a graphical window. If "-noc" is given, no graphical window will appear. + + Run without graphical window: + qrouter -noc -s routescript.tcl + + Run with a graphical window showing the layout while it is routing: + qrouter -s routescript.tcl + + 3. Compatibility mode with qrouter 1.1. This mode is activated if either of the options "-c", "-v", "-i", "-p" or "-g" are given. This is a batch mode. + +OPTIONS + + -noc No console mode + + -s <scriptname> Run scriptname + +COMPATIBILITY MODE + -c <file> Configuration file name (if not route.cfg) + + -v <level> Verbose output level + + -i <name> Print route names and pitches and exit + + -p <name> Specify global power bus name + + -g <name> Specify global ground bus name + + +INPUT + The input files for qrouter is an unrouted or partly routed .def file containing the + layout and a .cfg file containing the tcl script used to do the routing. The .cfg + file also needs to specify a .lef file describing the technology. + + +OUTPUT + qrouter will output the fully routed .def file (if successful routing). This may + then later be converted to a GDSII file using tools such as magic. + +SEE ALSO + qflow(1) + +AUTHOR + qrouter was written by Tim Edwards <tim@opencircuitdesign.com>. + + This manual page was written by Ruben Undheim <ruben.undheim@gmail.com>, for the + Debian project (and may be used by others). + diff --git a/debian/patches/0003-FTCBFS-fails-to-propagate-the-cross-compiler-from-co.patch b/debian/patches/0003-FTCBFS-fails-to-propagate-the-cross-compiler-from-co.patch new file mode 100644 index 0000000..5b88a1f --- /dev/null +++ b/debian/patches/0003-FTCBFS-fails-to-propagate-the-cross-compiler-from-co.patch @@ -0,0 +1,20 @@ +From: Ruben Undheim <ruben.undheim@gmail.com> +Date: Wed, 11 Jul 2018 13:01:29 +0200 +Subject: FTCBFS: fails to propagate the cross compiler from configure to make + +--- + Makefile.in | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/Makefile.in b/Makefile.in +index c8d674c..01f46de 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -3,6 +3,7 @@ + # + + # Main compiler arguments ++CC = @CC@ + CFLAGS += @CFLAGS@ + CPPFLAGS = @CPPFLAGS@ + DEFS = @DEFS@ diff --git a/debian/patches/0004-Syntax-in-qrouter-expects-sh-to-be-a-link-to-bash.-F.patch b/debian/patches/0004-Syntax-in-qrouter-expects-sh-to-be-a-link-to-bash.-F.patch new file mode 100644 index 0000000..6ed11de --- /dev/null +++ b/debian/patches/0004-Syntax-in-qrouter-expects-sh-to-be-a-link-to-bash.-F.patch @@ -0,0 +1,18 @@ +From: Ruben Undheim <ruben.undheim@gmail.com> +Date: Sat, 18 Aug 2018 18:34:23 +0200 +Subject: Syntax in qrouter expects sh to be a link to bash. Fix + +--- + qrouter.sh.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/qrouter.sh.in b/qrouter.sh.in +index 8e7cbda..2f4a204 100644 +--- a/qrouter.sh.in ++++ b/qrouter.sh.in +@@ -1,4 +1,4 @@ +-#!/bin/sh ++#!/bin/bash + # + # For installation, put this file (qrouter.sh) in a standard executable path. + # Put startup script "qrouter.tcl" and shared library "qrouter.so" diff --git a/debian/patches/01_chmod_executable.patch b/debian/patches/01_chmod_executable.patch new file mode 100644 index 0000000..5b9e3fb --- /dev/null +++ b/debian/patches/01_chmod_executable.patch @@ -0,0 +1,25 @@ +From: Ruben Undheim <ruben.undheim@gmail.com> +Date: Fri, 20 Feb 2015 00:00:00 +0100 +Subject: This sets the correct permission on console.tcl and qrouter.tcl + +=================================================================== +--- + Makefile.in | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Makefile.in b/Makefile.in +index a86e268..406e8d7 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -110,9 +110,9 @@ install-tcl: qrouter.sh qrouter.tcl qrouter$(SHDLIB_EXT) \ + $(INSTALL) qrouter$(SHDLIB_EXT) $(DESTDIR)${LIBINSTALL} + $(INSTALL) qrouterexec$(EXEEXT) $(DESTDIR)${LIBINSTALL} + $(INSTALL) qrouternullg$(EXEEXT) $(DESTDIR)${LIBINSTALL} +- $(INSTALL) console.tcl $(DESTDIR)${LIBINSTALL} ++ $(INSTALL) -m 0644 console.tcl $(DESTDIR)${LIBINSTALL} + $(INSTALL) tkcon.tcl $(DESTDIR)${LIBINSTALL} +- $(INSTALL) qrouter.tcl $(DESTDIR)${LIBINSTALL} ++ $(INSTALL) -m 0644 qrouter.tcl $(DESTDIR)${LIBINSTALL} + + uninstall: + $(RM) $(DESTDIR)${BININSTALL}/qrouter diff --git a/debian/patches/02_use_tkcon_from_debian.patch b/debian/patches/02_use_tkcon_from_debian.patch new file mode 100644 index 0000000..0beb849 --- /dev/null +++ b/debian/patches/02_use_tkcon_from_debian.patch @@ -0,0 +1,37 @@ +From: Ruben Undheim <ruben.undheim@gmail.com> +Date: Fri, 20 Feb 2015 00:00:00 +0100 +Subject: Use tkon from debian + +This patch makes sure that the tkcon version from debian is used instead of the version bundled with the source of qrouter. + +=================================================================== +--- + Makefile.in | 1 - + qrouter.sh.in | 2 +- + 2 files changed, 1 insertion(+), 2 deletions(-) + +diff --git a/Makefile.in b/Makefile.in +index 406e8d7..c8d674c 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -111,7 +111,6 @@ install-tcl: qrouter.sh qrouter.tcl qrouter$(SHDLIB_EXT) \ + $(INSTALL) qrouterexec$(EXEEXT) $(DESTDIR)${LIBINSTALL} + $(INSTALL) qrouternullg$(EXEEXT) $(DESTDIR)${LIBINSTALL} + $(INSTALL) -m 0644 console.tcl $(DESTDIR)${LIBINSTALL} +- $(INSTALL) tkcon.tcl $(DESTDIR)${LIBINSTALL} + $(INSTALL) -m 0644 qrouter.tcl $(DESTDIR)${LIBINSTALL} + + uninstall: +diff --git a/qrouter.sh.in b/qrouter.sh.in +index 12bab42..8e7cbda 100644 +--- a/qrouter.sh.in ++++ b/qrouter.sh.in +@@ -57,7 +57,7 @@ shift + + if [ $TKCON ]; then + +- exec ${loclibdir}/tkcon.tcl \ ++ exec /usr/bin/tkcon \ + -eval "source ${loclibdir}/console.tcl" \ + -slave "package require Tk; set argc $#; set argv [list $*]; \ + source ${loclibdir}/qrouter.tcl" diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..52441c7 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,4 @@ +01_chmod_executable.patch +02_use_tkcon_from_debian.patch +0003-FTCBFS-fails-to-propagate-the-cross-compiler-from-co.patch +0004-Syntax-in-qrouter-expects-sh-to-be-a-link-to-bash.-F.patch diff --git a/debian/qrouter.lintian-overrides b/debian/qrouter.lintian-overrides new file mode 100644 index 0000000..8e6e1f0 --- /dev/null +++ b/debian/qrouter.lintian-overrides @@ -0,0 +1,3 @@ +# qrouter.so is not a shared library for the whole system. It is only used by +# qrouter. The shlib-calls-exit lintian is therefore ignored. +qrouter: shlib-calls-exit usr/lib/qrouter/qrouter.so diff --git a/debian/qrouter.manpages b/debian/qrouter.manpages new file mode 100644 index 0000000..13cdaf4 --- /dev/null +++ b/debian/qrouter.manpages @@ -0,0 +1 @@ +debian/man/*.1 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..af2e4ce --- /dev/null +++ b/debian/rules @@ -0,0 +1,33 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE=1 + +include /usr/share/dpkg/pkg-info.mk + +# The build script crashes if "-pie" is given to the build command. Therefore +# enabling the missing hardening options with LDFLAGS_MAINT_APPEND (together +# with the --as-needed option) instead of with +# "DEB_BUILD_MAINT_OPTIONS = hardening=+all": +export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,now -Wl,--as-needed + + +CHANGELOG_DATE ?= $(shell LC_ALL=C date -u -d @$(SOURCE_DATE_EPOCH) +"%d %B %Y") + +%: + dh $@ --with autoreconf + + +override_dh_auto_configure: + dh_auto_configure -- --with-libdir=lib/qrouter + +override_dh_auto_clean: + dh_auto_clean + $(RM) -f Makefile config.log config.status + $(RM) -f *.o + $(RM) -f *.so qrouterexec + $(RM) -f qrouter.sh qrouter.tcl + $(RM) debian/man/*.1 + +override_dh_installman: + cd debian/man ; CHANGELOG_DATE="$(CHANGELOG_DATE)" ./genmanpages.sh + dh_installman diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/tests/can-show-help b/debian/tests/can-show-help new file mode 100755 index 0000000..b975d84 --- /dev/null +++ b/debian/tests/can-show-help @@ -0,0 +1,6 @@ +#!/bin/sh + +set -e + +qrouter -h + diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..6928899 --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,2 @@ +Tests: can-show-help +Depends: @ diff --git a/debian/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..d338cfc --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,4 @@ +--- +Bug-Submit: eda-dev@opencircuitdesign.com +Name: qrouter +Repository: git://opencircuitdesign.com/qrouter-1.3 diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..1a63e66 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://opencircuitdesign.com/qrouter/archive/qrouter-(1\.4\.\d\S+)\.tgz |