debian/0000755000000000000000000000000011374151237007172 5ustar debian/control0000644000000000000000000000151411370064550010573 0ustar Source: xwrits Section: x11 Priority: optional Maintainer: Helen Faulkner Standards-Version: 3.8.4 Build-Depends: debhelper (>= 7.1), perl (>= 5.6), texinfo (>= 4.2), libice-dev, libsm-dev, libx11-dev, libxext-dev, xutils-dev Homepage: http://www.lcdf.org/~eddietwo/xwrits Package: xwrits Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Description: reminds you to take a break from typing xwrits helps you prevent repetitive stress injury. . xwrits is a small reminder program designed to let you know it is time to take a break from typing to rest your wrists and prevent any damage to your wrists (or at least make them feel better if you've already damaged them). Normally works on the honor system, but if you find yourself unable to stop typing during your break, it can also lock your keyboard. debian/source/0000755000000000000000000000000011370064115010464 5ustar debian/source/format0000644000000000000000000000001411370064115011672 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000001327311374151104011043 0ustar xwrits (2.21-6.1) unstable; urgency=low [ Jari Aalto ] * Non-maintainer upload. - Move to packaging format "3.0 (quilt)". * debian/clean - Mew file. * debian/compat - New file. * debian/control - (Build-Depends): update obsolete xutils to xutils-dev. (important; Closes: #579038). Remove *-1 version suffix from texinfo dependency. Update to debhelper 7.1. - (Depends): add ${misc:Depends}. - (Homepage): New field. - (Standards-Version): update to 3.8.4. * debian/copyright - Update layout and point to GPL-2. * debian/rules - Delete EOL whitespaces. - (DH_COMPAT): Remove. - (install): Update dh_clean to dh_prep. - (clean): Fix lintian debian-rules-ignores-make-clean-error. * debian/source/format - New file. * debian/watch - New file. * xwrits.1 - Fix hyphens. -- Jari Aalto Tue, 04 May 2010 21:39:32 +0300 xwrits (2.21-6) unstable; urgency=low * Altered rest.c and schedule.c to apply patch from Roderick Schertler (closes: #315572). * New maintainer email address (same maintainer). -- Helen Faulkner Fri, 20 Oct 2006 20:38:53 +1000 xwrits (2.21-5) unstable; urgency=low * Changed rest.c to make xwrits ignore all synthetic events. Patch provided by James Kirk (closes: #297229). * New maintainer email address (same maintainer). -- Helen Faulkner Mon, 07 Mar 2005 17:03:01 +0000 xwrits (2.21-4) unstable; urgency=low * Build-depends on xlibs-dev changed to list only required packages. * Removed unnecessary paragraph about patenting of GIF files from debian/copyright. * Changed debian/rules to support support DEB_BUILD_OPTIONS=noopt. * Removed debian/README.debian, because it contains no information that isn't also written elsewhere. -- Helen Faulkner Sun, 19 Dec 2004 11:03:19 +0000 xwrits (2.21-3) unstable; urgency=low * New maintainer (closes: Bug#224839). * Changed debian/copyright file to standardise formatting and include new upstream website. * Changed debian/rules to use debhelper compatability version 4. * Changed debian/control to removed build-depends on automake and autoconf, since these are not required to build xwrits. * Changed standards version to 3.6.1. -- Helen Faulkner Thu, 05 Aug 2004 13:36:13 +0100 xwrits (2.21-2) unstable; urgency=low * Updated copyright file (closes: #163700). * Mentioning RSI in package description (closes: #162577). -- Hugo Haas Sun, 12 Jan 2003 12:55:29 -0500 xwrits (2.21-1.1) unstable; urgency=low * NMU * Update build-depends to automake1.4. (Closes: #166395) -- Eric Dorland Sat, 23 Nov 2002 19:41:00 -0500 xwrits (2.21-1) unstable; urgency=low * New upstream version. -- Hugo Haas Sun, 23 Jun 2002 09:06:00 -0400 xwrits (2.20-1) unstable; urgency=low * New upstream version. -- Hugo Haas Sat, 27 Apr 2002 20:37:42 -0400 xwrits (2.19-1) unstable; urgency=low * New upstream version. -- Hugo Haas Mon, 18 Feb 2002 17:24:55 -0500 xwrits (2.18-1) unstable; urgency=low * New upstream version. -- Hugo Haas Sun, 30 Dec 2001 14:45:42 -0500 xwrits (2.17-4) unstable; urgency=low * Moved the program out of /usr/X11R6. * Better clean rule for debian/rules. -- Hugo Haas Fri, 28 Dec 2001 18:47:48 -0500 xwrits (2.17-3) unstable; urgency=low * Adding INSTALL to the list of documentation files wasn't such a great idea according to Lintian; removed. -- Hugo Haas Thu, 20 Dec 2001 20:33:41 -0500 xwrits (2.17-2) unstable; urgency=low * Declared NEWS as the upstream changelog. * Added missing documentation: INSTALL and GESTURES. -- Hugo Haas Thu, 20 Dec 2001 16:11:14 -0500 xwrits (2.17-1) unstable; urgency=low * New upstream version. * Removed user Emacs settings in changelog. -- Hugo Haas Wed, 19 Dec 2001 11:23:21 -0500 xwrits (2.16-1) unstable; urgency=low * New upstream version. -- Hugo Haas Sun, 26 Aug 2001 08:08:39 -0400 xwrits (2.15-1) unstable; urgency=low * New upstream version. * Bumped standards to 3.5.6.0. -- Hugo Haas Wed, 15 Aug 2001 11:52:38 -0400 xwrits (2.14-2) unstable; urgency=low * Added Build-Depends using dpkg-genbuilddeps by Ben Collins. -- Hugo Haas Fri, 30 Mar 2001 22:02:11 -0500 xwrits (2.14-1) unstable; urgency=low * New maintainer. * New upstream release. * Fixes all the bugs - well, they were already fixed in 2.11-0.1. Closes: #61302, #78846, #79029, #54163, #60336. * Updated README.Debian and copyright. -- Hugo Haas Thu, 29 Mar 2001 19:52:42 -0500 xwrits (2.11-0.1) unstable; urgency=low * NMU. * New upstream release. -- Hugo Haas Thu, 6 Jul 2000 08:33:29 -0400 xwrits (2.8-1) unstable; urgency=low * New upstream release -- Jay Kominek Wed, 13 Oct 1999 13:57:42 -0600 xwrits (2.7) unstable; urgency=low * New upstream release * Fixes bug #46481 * Switched to DFSG-free license -- Jay Kominek Tue, 12 Oct 1999 14:36:32 -0600 xwrits (2.6.5-1) unstable; urgency=low * New upstream release -- Jay Kominek Sat, 31 Oct 1998 13:47:04 -0700 xwrits (2.6.2) non-free; urgency=low * New upstream release -- Jay Kominek Fri, 28 Aug 1998 21:11:39 -0600 xwrits (2.6.1) non-free; urgency=low * Initial Release. -- Jay Kominek Wed, 10 Jun 1998 14:23:37 -0400 debian/patches/0000755000000000000000000000000011374151237010621 5ustar debian/patches/debian-changes-2.21-6.10000644000000000000000000000644711374151237014271 0ustar Description: Upstream changes introduced in version 2.21-6.1 This patch has been created by dpkg-source during the package build. Here's the last changelog entry, hopefully it gives details on why those changes were made: . xwrits (2.21-6.1) unstable; urgency=low . [ Jari Aalto ] * Non-maintainer upload. - Move to packaging format "3.0 (quilt)". * debian/clean - Mew file. * debian/compat - New file. * debian/control - (Build-Depends): update obsolete xutils to xutils-dev. (important; Closes: #579038). Remove *-1 version suffix from texinfo dependency. Update to debhelper 7.1. - (Depends): add ${misc:Depends}. - (Homepage): New field. - (Standards-Version): update to 3.8.4. * debian/copyright - Update layout and point to GPL-2. * debian/rules - Delete EOL whitespaces. - (DH_COMPAT): Remove. - (install): Update dh_clean to dh_prep. - (clean): Fix lintian debian-rules-ignores-make-clean-error. * debian/source/format - New file. * debian/watch - New file. * xwrits.1 - Fix hyphens. . The person named in the Author field signed this changelog entry. Author: Jari Aalto Bug-Debian: http://bugs.debian.org/579038 --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: http://bugs.debian.org/ Forwarded: Reviewed-By: Last-Update: --- xwrits-2.21.orig/schedule.c +++ xwrits-2.21/schedule.c @@ -273,6 +273,7 @@ loopmaster(Alarmloopfunc alarm_looper, X || root_y < ports[i]->last_mouse_y - mouse_sensitivity || root_y > ports[i]->last_mouse_y + mouse_sensitivity) { XEvent event; + memset(&event, 0, sizeof(event)); event.type = MotionNotify; /* skeletal MotionNotify event */ if (x_looper && ports[i]->last_mouse_root) ret_val = x_looper(&event, &now); --- xwrits-2.21.orig/xwrits.1 +++ xwrits-2.21/xwrits.1 @@ -68,7 +68,7 @@ for 10 minutes. Any options preceding an \fBafter\fP option also apply following it, unless you explicitly cancel them. For example: .nf - xwrits +finger after=10 -finger + xwrits +finger after=10 \-finger .fi .PP Multiple \fBafter\fP options create a series of escalations. \fIDelay\fP @@ -308,7 +308,7 @@ Here is the way I run xwrits: .fi This looks pretty spectacular: .nf - xwrits t=0 b=:2 f fla=:.5 m=:.31 max=100 -i + xwrits t=0 b=:2 f fla=:.5 m=:.31 max=100 \-i .fi Whee!! ' --- xwrits-2.21.orig/rest.c +++ xwrits-2.21/rest.c @@ -12,9 +12,17 @@ static int wait_x_loop(XEvent *e, const struct timeval *now) { struct timeval diff; + + + // patch to get xwrits to ignore all synthetic events, provided by + // Roderick Schertler, 2005 + if(e->xany.send_event) + return 0; //whatever tran_rest means it ignores the event if (e->type == KeyPress || e->type == MotionNotify || e->type == ButtonPress) { + + xwSUBTIME(diff, *now, last_key_time); last_key_time = *now; debian/patches/series0000644000000000000000000000003011370064336012026 0ustar debian-changes-2.21-6.1 debian/rules0000755000000000000000000000207311370064056010252 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif build: build-stamp build-stamp: dh_testdir ./configure --prefix=/usr --mandir=/usr/share/man $(MAKE) touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp # Commands to clean up after the build process. [ ! -f Makefile ] || $(MAKE) distclean dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs $(MAKE) prefix=`pwd`/debian/xwrits/usr mandir=`pwd`/debian/xwrits/usr/share/man install # Build architecture-independent files here. binary-indep: build install # We have nothing to do by default. # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot dh_installdocs README GESTURES dh_installchangelogs NEWS dh_link 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 debian/watch0000644000000000000000000000011711370064727010225 0ustar version=3 http://www.lcdf.org/~eddietwo/xwrits/ .*xwrits-([\d.]+).*\.tar\.gz debian/copyright0000644000000000000000000000165411370064552011132 0ustar Bianized by: Jay Kominek on Wed, 10 Jun 1998. The maintenance was taken over by Hugo Haas on Thu, 6 Jul 2000. The maintenance was taken over by Helen Faulkner on Thu, 5th Aug 2004. It was downloaded from: http://www.lcdf.org/~eddietwo/xwrits Upstream Author: Eddie Kohler . Copyright: Source and pictures copyright 1994-2001 Eddie Kohler: kohler@icir.org and http://www.icir.org/kohler/ This package is distributed under the GNU General Public License, Version 2, or, at your discretion, any later version. The GNU General Public License is available via the Web at . The GPL is designed to allow you to alter and redistribute the package, as long as you do not deny that freedom to others. On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in "/usr/share/common-licenses/GPL-2". debian/compat0000644000000000000000000000000211370063374010370 0ustar 7