debian/0000755000000000000000000000000011717773716007207 5ustar debian/.pc/0000755000000000000000000000000011717771742007664 5ustar debian/.pc/.quilt_patches0000644000000000000000000000001011717771742012521 0ustar patches debian/.pc/.version0000644000000000000000000000000211717771742011342 0ustar 2 debian/.pc/.quilt_series0000644000000000000000000000000711717771742012372 0ustar series debian/docs0000644000000000000000000000001411717767431010052 0ustar README TODO debian/changelog0000644000000000000000000000615511717773710011062 0ustar worklog (1.8-6) unstable; urgency=low * QA upload. * Bump compat level to 8, and Build-Depends accordingly. * Bump Standards-Version to 3.9.2. * Add missing separator between fields in debian/control. * Rework the long description to not use the first person. * Switch source format to 3.0 (quilt). -- Regis Boudin Sat, 18 Feb 2012 20:08:26 +0100 worklog (1.8-5) unstable; urgency=low * Orphaning the package. Maintainer field set to QA Group. * Use Homepage field to point to upstream homepage. Closes: #615395 * Do not ignore errors in the clean target (debian/rules). * Depend on ${misc:Depends}. -- Emanuele Rocca Fri, 27 May 2011 18:14:57 +0000 worklog (1.8-4) unstable; urgency=low * Prints an error message if "projects" is a directory. Thanks to Danny Verstraeten for the patch. Closes: #243201 * Added projects example file. -- Emanuele Rocca Tue, 13 Apr 2004 14:32:55 +0200 worklog (1.8-3) unstable; urgency=low * Updated maintainer field. Frankie, thanks for sponsoring! * Policy updated. * Debhelper compatibility level switched to 4. * Project homepage added in long description. * Minor cosmetic changes to debian/rules. -- Emanuele Rocca Mon, 17 Nov 2003 09:51:43 +0100 worklog (1.8-2) unstable; urgency=low * Fixed project-switching problems. Closes: #193164 -- Emanuele Rocca Tue, 13 May 2003 14:38:37 +0200 worklog (1.8-1) unstable; urgency=low * New upstream release, Closes: #163945, #163948, #65047, #66291 * Updated Standards-Version to 3.5.9 * Adopted package, Closes: #182432 * Sponsored by Francesco P. Lovergine -- Emanuele Rocca Fri, 7 Mar 2003 00:52:34 +0100 worklog (1.7-4) unstable; urgency=low * Updated Standards-Version to 3.5.2 * Fixed some lintian errors -- Stijn de Bekker Mon, 5 Mar 2001 22:15:52 +0100 worklog (1.7-3) unstable; urgency=low * Updated maintainer-field (Remco, thanks for sponsoring!) -- Stijn de Bekker Fri, 23 Feb 2001 19:10:26 +0100 worklog (1.7-2) unstable; urgency=low * Updated Standards-Version to 3.1.1 * Fixes couple of bugs in the debian package -- Stijn de Bekker Wed, 20 Dec 2000 20:05:21 +0100 worklog (1.7-1.1) unstable; urgency=low * Package version 1.7-1 is being sponsored by Remco van de Meent. Stijn de Bekker is still in the new-maintainer queue. -- Remco van de Meent Wed, 8 Sep 1999 12:15:39 +0200 worklog (1.7-1) unstable; urgency=low * New maintainer. -- Stijn de Bekker Wed, 1 Sep 1999 08:54:17 +0200 worklog (1.4-3) unstable; urgency=low * New maintainer -- Oliver Elphick Thu, 11 Dec 1997 18:44:48 +0000 worklog (1.4-2) unstable; urgency=low * Rebuild under hamm. -- Christoph Lameter Fri, 5 Sep 1997 01:24:40 -0700 worklog (1.4-1) unstable; urgency=low * Initial Release. -- Christoph Lameter Tue, 24 Jun 1997 15:09:08 -0700 debian/rules0000755000000000000000000000170511717770104010256 0ustar #!/usr/bin/make -f # Sample debian/rules that uses debhelper. # GNU copyright 1997 to 1999 by Joey Hess. configure: configure-stamp configure-stamp: dh_testdir touch configure-stamp build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: configure-stamp dh_testdir $(MAKE) touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp $(MAKE) clean dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs $(MAKE) install DESTDIR=$(CURDIR)/debian/worklog binary-indep: build install binary-arch: build install dh_testdir dh_testroot #dh_installdocs -n README TODO dh_installdocs dh_installexamples projects dh_installman worklog.1 dh_installchangelogs dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure debian/control0000644000000000000000000000160711717771610010605 0ustar Source: worklog Section: misc Priority: optional Maintainer: Debian QA Group Build-Depends: debhelper (>= 8.0.0), libncurses-dev Standards-Version: 3.9.2 Homepage: http://www.truxton.com/~trux/software/ Package: worklog Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Keep Track of Time worked on Projects Worklog is a program that helps you keep track of your time. The author wrote this program because he had several projects that required to keep a timesheet, sometimes spending 5 minutes here and there doing miscellaneous administrative tasks. Rather than invoke an editor on a timesheet file for every little segment of time spent doing these tasks, this tool allows one to leave a clock running and indicate with one or two keystrokes the onset or change of any given task. Worklog is a simple ncurses based program to do just that. debian/patches/0000755000000000000000000000000011717773324010631 5ustar debian/patches/spelling_fix.patch0000644000000000000000000000104111717772156014333 0ustar Description: Fix a simple spelling mistake, spotted by lintian. Index: worklog-1.8/worklog.1 =================================================================== --- worklog-1.8.orig/worklog.1 2001-11-24 23:40:10.000000000 +0100 +++ worklog-1.8/worklog.1 2012-02-18 19:48:02.007584383 +0100 @@ -24,7 +24,7 @@ The .I project configuration file is a text file containing a project and its associated key-character -on seperate lines. The format of a project line is : +on separate lines. The format of a project line is : .B : debian/patches/ferror_fix.patch0000644000000000000000000000217611717773154014026 0ustar Description: Undocumented fix from previous maintainer This patch checks for errors reading a file as well as reaching its end. --- worklog-1.8.orig/worklog.c +++ worklog-1.8/worklog.c @@ -113,12 +113,12 @@ void read_config_file(filename) perror("fopen") ; exit(-1) ; } - while(!feof(f)) + while(!feof(f) && !ferror(f)) { linenum++ ; - for(firstchar=0;!feof(f) && firstchar<=13;) + for(firstchar=0;!feof(f) && !ferror(f) && firstchar<=13;) fscanf(f,"%c",&firstchar) ; - if(!feof(f)) + if(!feof(f) && !ferror(f)) { if(firstchar=='#') { @@ -146,6 +146,12 @@ void read_config_file(filename) } } } + if (ferror(f)) + { + fprintf(stderr,"ERROR: cannot read project configuration file : %s\n",filename) ; + perror("fscanf") ; + exit(-1) ; + } fclose(f) ; } @@ -571,8 +577,8 @@ int clock_on(key) do_resize() ; break ;;; default : - if(isdelkey(keypress) || (key==CR)) - quit=1 ; /* fall back to main loop */ + beep() ; + quit=1 ; break ; } } debian/patches/series0000644000000000000000000000006711717773365012056 0ustar ferror_fix.patch makefile_fix.patch spelling_fix.patch debian/patches/makefile_fix.patch0000644000000000000000000000221611717773255014301 0ustar Description: Fix hardcoded installation path from the Makefile --- worklog-1.8.orig/Makefile +++ worklog-1.8/Makefile @@ -4,8 +4,8 @@ VERSION = 1.8 # CFLAGS=-Wall -g CFLAGS=-O2 -DVERSIONS=\"${VERSION}\" LIBS=-lncurses -lm -BIN=/usr/local/bin -MAN=/usr/local/man +BIN=$(DESTDIR)/usr/bin +MAN=$(DESTDIR)/usr/share/man/man1 # uncomment this to allow use of an environment variable to specify the # default working directory where default log and project files are located @@ -21,15 +21,18 @@ all: worklog Makefile install: all cp worklog $(BIN)/worklog chmod a+rx $(BIN)/worklog - cp worklog.1 $(MAN)/man1/worklog.1 - chmod a+r $(MAN)/man1/worklog.1 + #cp worklog.1 $(MAN)/man1/worklog.1 + #chmod a+r $(MAN)/man1/worklog.1 install.zipman: install - gzip $(MAN)/man1/worklog.1 + #gzip $(MAN)/man1/worklog.1 worklog: worklog.c Makefile gcc $(CFLAGS) $(USE_ENV_DIR) worklog.c $(LIBS) -o worklog +clean: + rm -f worklog + tar: - rm -rf worklog-${VERSION} mkdir worklog-${VERSION} @@ -37,3 +40,4 @@ tar: cp worklog.lsm distr/worklog-${VERSION}.lsm tar -clzvf distr/worklog-${VERSION}.tar.gz worklog-${VERSION} - rm -rf worklog-${VERSION} + debian/source/0000755000000000000000000000000011717770320010473 5ustar debian/source/format0000644000000000000000000000001411717770320011701 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000225611717767431011144 0ustar This package was debianized by Emanuele Rocca Fri, 7 Mar 2003 00:52:34 +0100. It was downloaded from http://ftp.fi.muni.cz/pub/linux/metalab.unc.edu/apps/reminder/ Upstream Author: Truxton King Fulton II Copyright: Worklog was written by Truxton King Fulton II. I hereby place worklog into the public domain. You can do whatever you want with this program. I assume no responsibility for it. The most current version of worklog can be obtained at : ftp://ftp.truxton.com/pub/worklog.tar.gz If you wish to contact me about worklog, please use the address : truxton@truxton.com Thanks to Tim Newsome for improvements incorporated in version 1.3. Thanks to Egil Kvaleberg and Mark Sebastian Fischer for improvements incorporated in version 1.4. Thanks to Mike Butler for suggesting the "categorize afterwards" feature incorporated in version 1.5. Thanks to Vaiva Bichnevicius for suggesting the persistent state time feature. Thanks to Gary for suggesting support for window resizing. Enjoy... debian/dirs0000644000000000000000000000001011717767431010057 0ustar usr/bin debian/compat0000644000000000000000000000000211717767542010405 0ustar 8