[qrouter] 01/01: Added debian folder

Ruben Undheim rubund-guest at moszumanska.debian.org
Wed Sep 17 16:17:39 UTC 2014


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

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

commit 1f1dc3f72e0ed8e059d33b0396f20fc2452f3aec
Author: Ruben Undheim <ruben.undheim at gmail.com>
Date:   Wed Sep 17 18:17:20 2014 +0200

    Added debian folder
---
 debian/changelog                                |  5 +++
 debian/compat                                   |  1 +
 debian/control                                  | 26 +++++++++++++
 debian/copyright                                | 41 +++++++++++++++++++
 debian/docs                                     |  1 +
 debian/patches/01_add_destdir_in_makefile.patch | 39 +++++++++++++++++++
 debian/patches/02_hardening_and_symbols.patch   | 23 +++++++++++
 debian/patches/series                           |  2 +
 debian/qrouter.1                                | 52 +++++++++++++++++++++++++
 debian/qrouter.manpages                         |  1 +
 debian/rules                                    | 14 +++++++
 debian/source/format                            |  1 +
 debian/watch                                    |  2 +
 13 files changed, 208 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..5c905d8
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+qrouter (1.2.31-1) unstable; urgency=low
+
+  * Initial release (Closes: #760629)
+
+ -- Ruben Undheim <ruben.undheim at gmail.com>  Tue, 09 Sep 2014 22:48:19 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..f33806e
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,26 @@
+Source: qrouter
+Section: electronics
+Priority: optional
+Maintainer: Ruben Undheim <ruben.undheim at gmail.com>
+Build-Depends: debhelper (>= 9), autotools-dev, tcl-dev, tk-dev
+Standards-Version: 3.9.5
+Vcs-Git: git://github.com/rubund/qrouter.git -b debian
+Vcs-Browser: https://github.com/rubund/qrouter/tree/debian
+Homepage: http://opencircuitdesign.com/qrouter/
+
+Package: qrouter
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+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..a613fb4
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,41 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: qrouter
+Source: http://opencircuitdesign.com/qrouter/
+
+Files: *
+Copyright: 2003 Steve Beccue
+           2011-2013 Tim Edwards <tim at opencircuitdesign.com>
+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".
+
+Files: debian/*
+Copyright: 2014 Ruben Undheim <ruben.undheim at gmail.com>
+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/patches/01_add_destdir_in_makefile.patch b/debian/patches/01_add_destdir_in_makefile.patch
new file mode 100644
index 0000000..7ea870b
--- /dev/null
+++ b/debian/patches/01_add_destdir_in_makefile.patch
@@ -0,0 +1,39 @@
+Description: Adding DESTDIR to the install target
+  in the Makefile.
+Forwarded: will do
+Author: Ruben Undheim <ruben.undheim at gmail.com>
+===================================================================
+Index: qrouter-1.2.31/Makefile.in
+===================================================================
+--- qrouter-1.2.31.orig/Makefile.in
++++ qrouter-1.2.31/Makefile.in
+@@ -84,19 +84,19 @@ qrouterexec$(EXEEXT): $(OBJECTS3)
+ 
+ install-nointerp:
+ 	@echo "Installing qrouter"
+-	$(INSTALL) -d ${BININSTALL}
+-	$(INSTALL) qrouter ${BININSTALL}
++	$(INSTALL) -d $(DESTDIR)${BININSTALL}
++	$(INSTALL) qrouter $(DESTDIR)${BININSTALL}
+ 
+ install-tcl: qrouter.sh qrouter.tcl qrouter$(SHDLIB_EXT) qrouterexec$(EXEEXT)
+ 	@echo "Installing qrouter"
+-	$(INSTALL) -d ${BININSTALL}
+-	$(INSTALL) -d ${LIBINSTALL}
+-	$(INSTALL) qrouter.sh ${BININSTALL}/qrouter
+-	$(INSTALL) qrouter$(SHDLIB_EXT) ${LIBINSTALL}
+-	$(INSTALL) qrouterexec$(EXEEXT) ${LIBINSTALL}
+-	$(INSTALL) console.tcl ${LIBINSTALL}
+-	$(INSTALL) tkcon.tcl ${LIBINSTALL}
+-	$(INSTALL) qrouter.tcl ${LIBINSTALL}
++	$(INSTALL) -d $(DESTDIR)${BININSTALL}
++	$(INSTALL) -d $(DESTDIR)${LIBINSTALL}
++	$(INSTALL) qrouter.sh $(DESTDIR)${BININSTALL}/qrouter
++	$(INSTALL) qrouter$(SHDLIB_EXT) $(DESTDIR)${LIBINSTALL}
++	$(INSTALL) qrouterexec$(EXEEXT) $(DESTDIR)${LIBINSTALL}
++	$(INSTALL) -m 0644 console.tcl $(DESTDIR)${LIBINSTALL}
++	$(INSTALL) tkcon.tcl $(DESTDIR)${LIBINSTALL}
++	$(INSTALL) -m 0644 qrouter.tcl $(DESTDIR)${LIBINSTALL}
+ 
+ uninstall:
+ 	$(RM) ${BININSTALL}/qrouter
diff --git a/debian/patches/02_hardening_and_symbols.patch b/debian/patches/02_hardening_and_symbols.patch
new file mode 100644
index 0000000..2b9d89d
--- /dev/null
+++ b/debian/patches/02_hardening_and_symbols.patch
@@ -0,0 +1,23 @@
+Description: Passing down CFLAGS and LDFLAGS
+  so that hardening is activated and such that
+  it's not linking with unused libraries.
+Forwarded: will do
+Author: Ruben Undheim <ruben.undheim at gmail.com>
+Index: qrouter-1.2.29/Makefile.in
+===================================================================
+--- qrouter-1.2.29.orig/Makefile.in	2014-09-07 19:38:14.893299598 +0200
++++ qrouter-1.2.29/Makefile.in	2014-09-07 19:38:22.269299551 +0200
+@@ -3,11 +3,11 @@
+ #
+ 
+ # Main compiler arguments
+-CFLAGS = @CFLAGS@
++CFLAGS += @CFLAGS@
+ CPPFLAGS = @CPPFLAGS@
+ DEFS = @DEFS@
+ LIBS = @LIBS@
+-LDFLAGS = @LDFLAGS@
++LDFLAGS += @LDFLAGS@
+ LDDL_FLAGS = @LDDL_FLAGS@
+ LD_RUN_PATH = @LD_RUN_PATH@
+ SHLIB_CFLAGS = @SHLIB_CFLAGS@
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..665e0e5
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+01_add_destdir_in_makefile.patch
+02_hardening_and_symbols.patch
diff --git a/debian/qrouter.1 b/debian/qrouter.1
new file mode 100644
index 0000000..46684d6
--- /dev/null
+++ b/debian/qrouter.1
@@ -0,0 +1,52 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" (C) Copyright 2014 Ruben Undheim <ruben.undheim at gmail.com>,
+.TH QROUTER 1 "April 28, 2014"
+.SH NAME
+qrouter \- Multi-level, over-the-cell maze router
+.SH SYNOPSIS
+.B qrouter
+.RI [ options ] " design_name"
+.br
+.SH DESCRIPTION
+This manual page documents briefly the
+.B qrouter
+command.
+.PP
+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.
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
+.\" respectively.
+.SH OPTIONS
+.TP
+.B \-c <file>
+Configuration file name (if not route.cfg)
+.TP
+.B \-v <level>
+Verbose output level
+.TP
+.B \-i <name>
+Print route names and pitches and exit
+.TP
+.B \-p <name>
+Specify global power bus name
+.TP
+.B \-g <name>
+Specify global ground bus name
+
+.SH AUTHOR
+qrouter was written by Tim Edwards <tim at opencircuitdesign.com>.
+.PP
+This manual page was written by Ruben Undheim <ruben.undheim at gmail.com>,
+for the Debian project (and may be used by others).
diff --git a/debian/qrouter.manpages b/debian/qrouter.manpages
new file mode 100644
index 0000000..64d2b50
--- /dev/null
+++ b/debian/qrouter.manpages
@@ -0,0 +1 @@
+debian/qrouter.1
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..4e65b48
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,14 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+%:
+	dh $@ 
+
+
+override_dh_auto_configure:
+	dh_auto_configure -- --with-libdir=/usr/lib/qrouter
+
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/watch b/debian/watch
new file mode 100644
index 0000000..55f11f4
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://opencircuitdesign.com/qrouter/archive/qrouter-(\d\S+)\.tgz

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



More information about the debian-science-commits mailing list