debian/0000755000000000000000000000000012253317244007171 5ustar debian/compat0000644000000000000000000000000211755114173010371 0ustar 8 debian/stopwatch.sgml0000644000000000000000000000752411755114024012076 0ustar manpage.1'. You may view the manual page with: `docbook-to-man manpage.sgml | nroff -man | less'. A typical entry in a Makefile or Makefile.am is: manpage.1: manpage.sgml docbook-to-man $< > $@ The docbook-to-man binary is found in the docbook-to-man package. Please remember that if you create the nroff version in one of the debian/rules file targets (such as build), you will need to include docbook-to-man in your Build-Depends control field. --> Don"> Libes"> October 30, 2005"> 1x"> libes@nist.gov"> STOPWATCH"> Debian"> GNU"> GPL"> ]>
&dhemail;
&dhfirstname; &dhsurname; 2003 &dhusername; &dhdate;
&dhucpackage; &dhsection; &dhpackage; a stopwatch and timer program &dhpackage; DESCRIPTION &dhpackage; does what its name implies - enables hand timing much like a physical stopwatch. It can also be used as a countdown timer. Stopwatch has millisecond accuracy and no artificial limit on hours. DIRECTIONS Press "start" to start the stopwatch and "stop" to stop it. "record" records the current time and selects it so that it can readily be pasted into other programs. Recorded times are marked with an L for "lap" or T for "total". When stopped, you can cut/paste/edit the time by hand and set it to any valid time. "zero" resets the time to zero. Holding down the shift key while pressing record or zero, records and then zeros the time. Time moves forward or backward according to the Run menu. By default, time is stopped automatically when either the lap or total time reaches zero. To disable the automatic stop, unselect Run -> Stop At Zero. AUTHOR This manual page was adapted from the stopwatch documentation written by &dhusername;. Permission is granted to copy, distribute and/or modify this manpage under the terms of the &gnu; General Public License, Version 2 any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
debian/README.Debian0000644000000000000000000000132611755114024011231 0ustar stopwatch for Debian -------------------- There is confusion about the upstream version number. - The upstream website mentiones "version 3.5". - The file "stopwatch" contains "set version 3.5". - The file "HISTORY" contains separate entries for 3.4 and 3.5. - The file "index.html" contains "version 3.5". - The top directory in the upstream .tar.gz is "stopwatch-3.4". - The file "Makefile" contains "VERSION = 3.4". This is, in my opinion, version 3.5. md5sum stopwatch*.tar.gz 4feb97cd7f108c89f17fcb18e55deaf9 stopwatch_3.4.orig.tar.gz 4feb97cd7f108c89f17fcb18e55deaf9 stopwatch_3.5.orig.tar.gz 4feb97cd7f108c89f17fcb18e55deaf9 stopwatch.tar.gz -- Bart Martens Wed, 02 Jul 2008 10:17:08 +0200 debian/docs0000644000000000000000000000003211755117432010042 0ustar HISTORY index.html README debian/stopwatch.doc-base0000644000000000000000000000037411755114024012605 0ustar Document: stopwatch Title: Debian stopwatch Manual Author: Don Libes Abstract: This is simply a copy of the upstream homepage. Section: Science/Mathematics Format: HTML Index: /usr/share/doc/stopwatch/index.html Files: /usr/share/doc/stopwatch/*.html debian/install0000644000000000000000000000015411755114024010557 0ustar stopwatch usr/bin/ debian/stopwatch.xpm usr/share/pixmaps/ debian/stopwatch.desktop usr/share/applications/ debian/stopwatch.desktop0000644000000000000000000000034011755114024012572 0ustar [Desktop Entry] Version=1.0 Type=Application Encoding=UTF-8 Name=Stopwatch Comment=A virtual stopwatch TryExec=/usr/bin/stopwatch Exec=/usr/bin/stopwatch Categories=Application;Utility Icon=/usr/share/pixmaps/stopwatch.xpm debian/watch0000644000000000000000000000025311755116210010216 0ustar version=3 opts="uversionmangle=s/^$/$content/;s/.*This page describes stopwatch version (\S+)\..*/$1/s;" \ http://expect.sourceforge.net/stopwatch/ stopwatch(.*)\.tar\.gz debian/copyright0000644000000000000000000000115311755115251011124 0ustar This package was debianized by Daniel Milstein on Sun, 30 Oct 2005 16:08:17 -0500. It was downloaded from: http://expect.nist.gov/stopwatch/ http://expect.sourceforge.net/stopwatch/ Author: Don Libes Quote from http://expect.nist.gov/stopwatch/ on Sat, 24 Mar 2007 09:00:05 +0100: > Copy and Reuse Information > Stopwatch is in the public domain. The Debian packaging is Copyright (C) 2005, Daniel Milstein Copyright (C) 2007-2012, Bart Martens and is licensed under the GPL version 2, see `/usr/share/common-licenses/GPL-2'. debian/control0000644000000000000000000000074012253317244010575 0ustar Source: stopwatch Section: utils Priority: optional Maintainer: Debian QA Group Build-Depends: debhelper (>= 8.0.0) Build-Depends-Indep: docbook-to-man Standards-Version: 3.9.3 Homepage: http://expect.sourceforge.net/stopwatch/ Package: stopwatch Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends}, tk Description: Virtual stopwatch and timer Stopwatch is a stopwatch and timer program that uses the Tk toolkit. It has millisecond accuracy. debian/changelog0000644000000000000000000000371612253317044011050 0ustar stopwatch (3.5-4) unstable; urgency=low * QA upload, orphaning this package. * debian/stopwatch.menu: Added /usr/share/pixmaps/ to icon. Closes: #693476. -- Bart Martens Sun, 15 Dec 2013 13:05:24 +0100 stopwatch (3.5-3) unstable; urgency=low * Switch to dpkg-source 3.0 (quilt) format, debhelper 8, no cdbs. * debian/control: Updated Homepage. Closes: #673227. * debian/control: Fixed description-synopsis-starts-with-article. * debian/watch: Updated to match new homepage. -- Bart Martens Thu, 17 May 2012 06:19:36 +0000 stopwatch (3.5-2) unstable; urgency=low * debian/patches/03_start.diff: Added. Closes: #507507. Adds options -forward and -backward to start stopwatch with timer on. Patch by Carles Pina i Estany . * debian/control: Replaced tk8.4 by tk in Depends. -- Bart Martens Wed, 22 Apr 2009 18:45:56 +0200 stopwatch (3.5-1) unstable; urgency=low * This is not a new upstream release, see debian/README.Debian (edited). * Fixed lintian messages. * debian/watch: Added. -- Bart Martens Wed, 02 Jul 2008 10:17:08 +0200 stopwatch (3.4-3) unstable; urgency=low * New maintainer. Closes: #401464. * debian/*: Switch to cdbs, standards-version 3.7.2, debhelper 5. * debian/copyright: Updated. * debian/control, debian/patches/*: Replaced dpatch by simple .diff files. * debian/README.Debian: Added to explain the confusion about upstream version numbers 3.5 and 3.4. * debian/stopwatch.menu: Updated to add longtitle, and now installing it. -- Bart Martens Sat, 24 Mar 2007 09:00:05 +0100 stopwatch (3.4-2) unstable; urgency=low * Added .desktop file * Added icon -- Daniel Milstein Tue, 22 Nov 2005 21:54:16 -0500 stopwatch (3.4-1) unstable; urgency=low * Initial release * Closes: bug#336534 -- Daniel Milstein Sun, 30 Oct 2005 16:08:17 -0500 debian/rules0000755000000000000000000000022211755115644010253 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 %: dh $@ override_dh_auto_build: dh_auto_build docbook-to-man debian/stopwatch.sgml > stopwatch.1x debian/clean0000644000000000000000000000001511755115616010177 0ustar stopwatch.1x debian/manpages0000644000000000000000000000001511755114024010700 0ustar stopwatch.1x debian/stopwatch.xpm0000644000000000000000000000255411755114024011736 0ustar /* XPM */ static char * stopwatch_xpm[] = { "32 32 12 1", " c None", ". c #919191", "+ c #87C980", "@ c #939393", "# c #555555", "$ c #2D2D2D", "% c #141414", "& c #C2C2C2", "* c #2B2B2B", "= c #535353", "- c #575757", "; c #000000", " ", " ", " ", " ", " ", " ...... ", " .......... ", " .............. ", " ................ ", " ................. ", " ..+++++++++++++++.. ", " ...+++++++++++++++.... ", " ...+@#$+++@#$@#$++.... ", " ...+%&%+$+%&%%&%++.... ", " ....+*=@+-+*=@*=@++..... ", " ....+++++++++++++++..... ", " ....+++++++++++++++..... ", " ........................ ", " ........................ ", " ...................... ", " ...;;;;;;;..;;;;;;;... ", " ...;;;;;;;..;;;;;;;... ", " ..;;;;;;;..;;;;;;;.. ", " .................. ", " ................ ", " .............. ", " .......... ", " ...... ", " ", " ", " ", " "}; debian/patches/0000755000000000000000000000000011755116521010621 5ustar debian/patches/02_path_wish.diff0000644000000000000000000000055211755114024013740 0ustar diff -Nru sw-orig/stopwatch stopwatch-3.4/stopwatch --- sw-orig/stopwatch 2004-10-26 20:17:16.000000000 +0000 +++ stopwatch-3.4/stopwatch 2005-11-02 22:05:33.000000000 +0000 @@ -1,4 +1,4 @@ -#!/depot/path/wish -f +#!/usr/bin/wish -f ###################################################################### # Name: Stopwatch # Author: Don Libes debian/patches/01_debianize.diff0000644000000000000000000000115111755114024013677 0ustar diff -Nru sw-orig/README stopwatch-3.4/README --- sw-orig/README 2002-01-18 15:59:30.000000000 +0000 +++ stopwatch-3.4/README 2005-11-05 20:52:20.000000000 +0000 @@ -3,16 +3,10 @@ within a talk. For that purpose, it works well. -------------------- -To Install --------------------- - -See the install instructions at http://expect.nist.gov/stopwatch/#install - --------------------- To Use -------------------- -See the directions at http://expect.nist.gov/stopwatch/#directions +See the directions at http://expect.nist.gov/stopwatch/#directions or the man page. -------------------- Systems Supported debian/patches/03_start.diff0000644000000000000000000000204411755116455013120 0ustar Adds options -forward and -backward to start stopwatch with timer on. Patch by Carles Pina i Estany . Closes: #507507. --- /usr/bin/stopwatch 2008-07-02 13:13:46.000000000 +0200 +++ ./stopwatch 2008-12-06 01:40:38.815444276 +0100 @@ -392,6 +392,14 @@ " + .help.text insert end "Command line arguments" h1 + .help.text insert end " + +-forward: executes stopwatcher with the timer on +-backward TIME: executes stopwatch with the timer on, backward, with initial TIME as time (same format than stopwatch GUI) + +" + .help.text insert end "Caveats" h1 .help.text insert end { @@ -471,4 +479,15 @@ bind all {.lapzero invoke} ; bind all {lapzr} bind all {.totalzero invoke} ; bind all {totalzr} +set option_location [lsearch $argv "-forward"] +if { $option_location >= 0 } { + start +} + +set option_location [lsearch $argv "-backward"] +if { $option_location >= 0 } { + set time(total) [lindex $argv [expr {$option_location+1}]] + set time(forward) 0 + start +} debian/patches/series0000644000000000000000000000006211755116521012034 0ustar 01_debianize.diff 02_path_wish.diff 03_start.diff debian/source/0000755000000000000000000000000011755114172010472 5ustar debian/source/format0000644000000000000000000000001411755114172011700 0ustar 3.0 (quilt) debian/stopwatch.menu0000644000000000000000000000027712253316736012106 0ustar ?package(stopwatch):needs="X11" section="Applications/Science/Mathematics"\ longtitle="A virtual stopwatch"\ title="Stopwatch" command="stopwatch" icon="/usr/share/pixmaps/stopwatch.xpm"