debian/0000755000000000000000000000000011762622355007177 5ustar debian/rules0000755000000000000000000000054311762622355010261 0ustar #!/usr/bin/make -f %: dh $@ override_dh_auto_configure: dh_auto_configure -- LDFLAGS="$(LDFLAGS) -Wl,--as-needed" override_dh_installexamples: dh_installexamples sed -e 's/\.\.\/src\///;s/\$$srcdir/\/usr\/share\/doc\/drawtiming\/examples/' \ samples/runsamples.sh > \ $(CURDIR)/debian/drawtiming/usr/share/doc/drawtiming/examples/runsamples.sh debian/gbp.conf0000644000000000000000000000004511762622355010615 0ustar [DEFAULT] debian-branch = pkg-debian debian/patches/0000755000000000000000000000000011762622355010626 5ustar debian/patches/missing-includes.diff0000644000000000000000000000047111762622355014737 0ustar Description: Add missing string.h include. Author: Wesley J. Landaker Forwarded: yes --- a/src/timing.cc +++ b/src/timing.cc @@ -23,6 +23,7 @@ #include "timing.h" #include #include +#include using namespace std; using namespace timing; using namespace Magick; debian/patches/manpage-fix.diff0000644000000000000000000000431411762622355013656 0ustar Description: Fix typos and hyphenation Author: أحمد المحمودي (Ahmed El-Mahmoudy) Forwarded: yes --- a/doc/drawtiming.1 +++ b/doc/drawtiming.1 @@ -56,7 +56,7 @@ .It Fl -pagesize Ar WidthxHeight Scale the diagram to fit given image size. .It Fl -aspect -Maintain fixed aspect ratio if --pagesize given. +Maintain fixed aspect ratio if \-\-pagesize given. .It Fl -cell-height Ar H Height of the each signal in pixels. Default is 32. .It Fl -cell-width Ar W @@ -101,23 +101,23 @@ changing its value. .El .Pp -Statements are seperated by the following symbols: +Statements are separated by the following symbols: .Bl -tag -width "-tD>" .It , -The comma seperator is used to seperate statements without +The comma separator is used to separate statements without affecting the dependency list or clock (ie: the next statement will add to the dependency list). .It ; -The semicolon seperator resets the list of dependencies without +The semicolon separator resets the list of dependencies without incrementing the clock .It . -The period seperator resets the list of dependencies and +The period separator resets the list of dependencies and increments the clock. .It => -The "causes" seperator renders dependency arrows based on the +The "causes" separator renders dependency arrows based on the current list of dependencies and then resets the dependency list. .It -tD> -The "delay" seperator renders a delay arrow from the last dependency +The "delay" separator renders a delay arrow from the last dependency with the annotation .Em tD . .El @@ -173,7 +173,7 @@ value if their initial value is not given. .Pp Independent signal transitions which occur simultaneously are normally -seperated by commas. Since signals aren't normally expected to change +separated by commas. Since signals aren't normally expected to change simultaneously, the initial state is a good example of this: .Pp .Dl POWER=0, FIRE=0, ARMED=0, LED=OFF, COUNT=N. @@ -194,7 +194,7 @@ .Pp .Dl POWER=1 => LED=GREEN. .Pp -For signal state changes with multiple dependencies, seperate the +For signal state changes with multiple dependencies, separate the dependencies with commas: .Pp .Dl FIRE, ARMED => LED=RED. debian/patches/InitializeMagick.diff0000644000000000000000000000203611762622355014676 0ustar Description: Properly initialize GraphicsMagick Quoting from GraphicsMagick's NEWS file " 1.3.8 (January 21, 2010) ======================== [...] Behavior Changes: InitializeMagick() MUST be invoked prior to using any Magick API function. Failure to do so will likely lead to an immediate application crash. This is due to initialization and runtime changes intended to improve thread safety and efficiency. Previously it was only strongly recommended to invoke InitializeMagick(). " Author: Galland (https://launchpad.net/~victor-lopez) Bug-Ubuntu: https://bugs.launchpad.net/bugs/636021 Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=599915 Bug: http://sourceforge.net/tracker/index.php?func=detail&aid=3136111&group_id=118983&atid=682742 Forwarded: yes --- a/src/main.cc +++ b/src/main.cc @@ -97,6 +97,9 @@ double scale = 1; int flags = 0; +#ifndef LITE + InitializeMagick(NULL); +#endif /* ! LITE */ int k, c; while ((c = getopt_long (argc, argv, "ac:f:hl:o:p:vVw:x:", opts, &k)) != -1) switch (c) { debian/patches/switch_LDFLAGS_LDADD.diff0000644000000000000000000000243011762622355015004 0ustar Description: Switch LDADD with LDFLAGS This change is to move the objects before the libs. to fix an FTBFS when --as-needed is passed to gcc. Author: أحمد المحمودي (Ahmed El-Mahmoudy) Forwarded: yes --- drawtiming-0.7.1.orig/src/Makefile.am +++ drawtiming-0.7.1/src/Makefile.am @@ -3,7 +3,7 @@ bin_PROGRAMS = drawtiming drawtiming_SOURCES = main.cc globals.h parser.yy scanner.ll timing.cc timing.h -drawtiming_LDFLAGS = @MAGICK_LIBS@ +drawtiming_LDADD = @MAGICK_LIBS@ EXTRA_DIST = parser.h BUILT_SOURCES = parser.h --- drawtiming-0.7.1.orig/src/Makefile.in +++ drawtiming-0.7.1/src/Makefile.in @@ -51,7 +51,7 @@ am_drawtiming_OBJECTS = main.$(OBJEXT) parser.$(OBJEXT) \ scanner.$(OBJEXT) timing.$(OBJEXT) drawtiming_OBJECTS = $(am_drawtiming_OBJECTS) -drawtiming_LDADD = $(LDADD) +drawtiming_LDADD = @MAGICK_LIBS@ $(LDADD) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles @@ -159,7 +159,7 @@ AM_CXXFLAGS = @MAGICK_CFLAGS@ -DYYDEBUG=1 AM_YFLAGS = -d drawtiming_SOURCES = main.cc globals.h parser.yy scanner.ll timing.cc timing.h -drawtiming_LDFLAGS = @MAGICK_LIBS@ +drawtiming_LDFLAGS = @LDFLAGS@ EXTRA_DIST = parser.h BUILT_SOURCES = parser.h all: $(BUILT_SOURCES) debian/patches/series0000644000000000000000000000012711762622355012043 0ustar InitializeMagick.diff manpage-fix.diff missing-includes.diff switch_LDFLAGS_LDADD.diff debian/control0000644000000000000000000000172411762622355010606 0ustar Source: drawtiming Section: electronics Priority: optional Maintainer: Debian Electronics Team Uploaders: Wesley J. Landaker , Hamish Moffatt , أحمد المحمودي (Ahmed El-Mahmoudy) Build-Depends: debhelper (>= 9), graphicsmagick-libmagick-dev-compat, pkg-config, gsfonts Standards-Version: 3.9.3 DM-Upload-Allowed: yes Homepage: http://drawtiming.sourceforge.net/ Vcs-Git: git://git.debian.org/git/pkg-electronics/drawtiming.git Vcs-Browser: http://git.debian.org/?p=pkg-electronics/drawtiming.git Package: drawtiming Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: tool for documenting hardware designs through timing diagrams Drawtiming is a command-line tool for documenting hardware designs through timing diagrams. In inputs textual signal descriptions and outputs image timing diagrams in many possible formats. debian/compat0000644000000000000000000000000211762622355010375 0ustar 9 debian/source/0000755000000000000000000000000011762622355010477 5ustar debian/source/format0000644000000000000000000000001411762622355011705 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000001207111762622355011052 0ustar drawtiming (0.7.1-5) unstable; urgency=low * Upload to unstable. * Bumped compat level to 9 * debian/control: Bumped Standards-Version to 3.9.3 * debian/copyright: Updated copyright format & years. * debian/rules: Override dh_auto_configure to add -Wl,--as-needed to LDFLAGS -- أحمد المحمودي (Ahmed El-Mahmoudy) Sun, 03 Jun 2012 10:47:56 +0200 drawtiming (0.7.1-4) experimental; urgency=low * Revert changes in 0.7.1-3 * Upload to experimental to avoid poisoning freeze exception for 0.7.1-3 * debian/control: + Bumped Standards-Version to 3.9.1, no changes needed. + Added gsfonts to Build-Deps to get 'make check' to work + Bumped debhelper dependency to 7.0.50~ to support overrides. + Moved git repository to pkg-electronics * debian/rules: + Simplified rules file. + Override dh_installexamples to run samples/runsamples.sh through a sed script before installing it in examples/ * debian/examples: only install drawtiming samples. * debian/copyright: Updated and converted to machine-readable format. * Added manpage-fix.diff patch to fix some typos and hyphenation. * Split string.h include diff into missing-includes.diff patch. * Added switch_LDFLAGS_LDADD.diff patch to fix FTBFS when --as-needed is passed to gcc. -- أحمد المحمودي (Ahmed El-Mahmoudy) Wed, 15 Dec 2010 08:56:57 +0200 drawtiming (0.7.1-3) unstable; urgency=low * Revert source format change, and apply patch directly to diff.gz, in order to get freeze exception for squeeze. -- أحمد المحمودي (Ahmed El-Mahmoudy) Tue, 14 Dec 2010 14:26:14 +0200 drawtiming (0.7.1-2) unstable; urgency=low * Switched to 3.0 (quilt) source format. * Added InitializeMagick.diff patch to properly initialize GraphicsMagick. (Closes: #599915) (LP: #636021). Credit to Galland (https://launchpad.net/~victor-lopez) * debian/gbp.conf: Added git-buildpackage config file * debian/control: + Added Vcs-Browser field. + Added ${misc:Depends} + Added myself to uploaders. + Added DMUA after sponsors consent: http://lists.alioth.debian.org/pipermail/pkg-electronics-devel/2010-April/001827.html * Added Vcs-Browser field. * Added ${misc:Depends} -- أحمد المحمودي (Ahmed El-Mahmoudy) Mon, 13 Dec 2010 11:29:16 +0200 drawtiming (0.7.1-1) unstable; urgency=low * New upstream release * Added Homepage control field * Updated to policy 3.8.1 (no changes) * Added Vcs-Git information. * Updated to use debhelper 7. * Updated and simplified debian/rules * Updated and simplified package description * Updated and simplified dependencies (closes: #488428) -- Wesley J. Landaker Mon, 06 Apr 2009 23:36:41 -0600 drawtiming (0.7-2) unstable; urgency=low * Now builds correctly with gcc 4.3 (closes: #482497) -- Wesley J. Landaker Fri, 23 May 2008 09:12:19 -0600 drawtiming (0.7-1) unstable; urgency=low * New upstream release * Postscript output support (closes: #307805) -- Wesley J. Landaker Thu, 22 May 2008 21:36:35 -0600 drawtiming (0.6.2-3) unstable; urgency=low * Updated to latest config.{guess,sub} * Updated to use latest libmagick++ -- Wesley J. Landaker Thu, 10 Apr 2008 21:29:29 -0600 drawtiming (0.6.2-2) unstable; urgency=low [ Wesley J. Landaker ] * Fixed watch file to work correctly (closes: #450019) * Updated to Debian Policy 3.7.3 (no changes necessary) * Arbitrary debian/rules refactor to appease the lintian gods -- Wesley J. Landaker Tue, 25 Mar 2008 18:31:24 -0600 drawtiming (0.6.2-1) unstable; urgency=low [ Wesley J. Landaker ] * New upstream release. * Updated to Debian Policy 3.7.2.2 (no changes necessary). * Now team maintained by Debian Electronics Team. -- Wesley J. Landaker Tue, 5 Jun 2007 18:39:53 -0600 drawtiming (0.5-4) unstable; urgency=low * No longer depend on autotools-dev * Don't link in lots of unnecessary libs (closes: #347413) -- Wesley J. Landaker Tue, 10 Jan 2006 19:38:54 -0700 drawtiming (0.5-3) unstable; urgency=low * libmagick++9 transition (closes: #332445) * Updated Standards-Version -- Wesley J. Landaker Thu, 6 Oct 2005 17:21:56 -0600 drawtiming (0.5-2) unstable; urgency=low * C++ ABI transition -- Wesley J. Landaker Fri, 15 Jul 2005 21:43:25 -0600 drawtiming (0.5-1) unstable; urgency=low * New upstream release * Has new --pagesize and --aspect parameters (closes: #307804) -- Wesley J. Landaker Sun, 29 May 2005 14:17:26 -0600 drawtiming (0.4-1) unstable; urgency=low * New upstream release * Reverted usage message patch; fixed upstream -- Wesley J. Landaker Wed, 20 Apr 2005 20:12:15 -0600 drawtiming (0.3-1) unstable; urgency=low * Initial Release (closes: #304218) -- Wesley J. Landaker Wed, 6 Apr 2005 09:51:05 -0600 debian/examples0000644000000000000000000000001611762622355010735 0ustar samples/*.txt debian/copyright0000644000000000000000000000333411762622355011135 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 Upstream-Name: drawtiming Upstream-Contact: Edward Counce Source: http://drawtiming.sourceforge.net Files: * Copyright: 2004-2007 Edward Counce License: GPL-2+ Files: src/timing.cc Copyright: 2004 Edward Counce 2006-2007 Salvador E. Tropea 2008 Daniel Beer License: GPL-2+ Files: src/timing.h Copyright: 2004 Edward Counce 2008 Daniel Beer License: GPL-2+ Files: src/main.cc Copyright: 2004-2007 Edward Counce 2006-2007 Salvador E. Tropea 2008 Daniel Beer License: GPL-2+ Files: src/parser.* Copyright: 1984,1989,1990,2000-2006 Free Software Foundation, Inc. License: GPL-2+ Files: debian/* Copyright: 2005-2009 Wesley J. Landaker 2010,2012 أحمد المحمودي (Ahmed El-Mahmoudy) License: GPL-2+ License: GPL-2+ This program 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 program 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, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. . On Debian systems, the complete text of the GNU GPL2 licenses can be found at `/usr/share/common-licenses/GPL-2'. debian/watch0000644000000000000000000000007411762622355010231 0ustar version=3 http://sf.net/drawtiming/drawtiming-(.*)\.tar\.gz debian/docs0000644000000000000000000000002311762622355010045 0ustar NEWS README THANKS