--- mencal-2.3.orig/debian/changelog +++ mencal-2.3/debian/changelog @@ -0,0 +1,114 @@ +mencal (2.3-4) unstable; urgency=low + + * Removed Ian Murdock from Uploaders + + -- Amaya Rodrigo Sastre Sun, 19 Dec 2004 01:43:48 +0100 + +mencal (2.3-3) unstable; urgency=low + + * Updated DH_COMPAT=4 + + -- Amaya Rodrigo Sastre Fri, 27 Aug 2004 16:57:12 +0200 + +mencal (2.3-2) unstable; urgency=low + + * The "I am housekeeping" release. + * Updated Standards version. + * Added Ian Murdock to the Uploaders field. + * Manpage already fixed (Closes: #215747). + * Properly close bug fixed in NMU long, long time ago (Closes: #199892). + + -- Amaya Rodrigo Sastre Fri, 27 Aug 2004 04:44:58 +0200 + +mencal (2.3-1) unstable; urgency=low + + * New upstream release. + * The "my upstream is faster than me" release. + + -- Amaya Rodrigo Sastre Thu, 17 Jul 2003 14:12:07 +0200 + +mencal (2.2-1.1) unstable; urgency=low + + * NMU + * fix displaying problem on locales with one-letter daynames + (closes: #199892) + * Upgraded Standards version. Thanks lintian!!! + * Sponsored by Amaya herself. This is the "I'll sponsor your NMU" release. + + -- Uli Martens Wed, 17 Jul 2003 00:46:03 +0200 + +mencal (2.2-1) unstable; urgency=low + + * New upstream release. + * Improved manpage (Closes: #194288). + * Updated Standards-Version to 3.5.10 and Build-Depends on latest debhelper. + + -- Amaya Rodrigo Sastre Thu, 22 May 2003 14:39:27 +0200 + +mencal (2.1-4) unstable; urgency=low + + * Fix spelling (Closes: #193793) + + -- Amaya Rodrigo Sastre Wed, 21 May 2003 13:29:09 +0200 + +mencal (2.1-3) unstable; urgency=low + + * Something's definitely wrong with me today. Fixed the orig.tgz issue. + * Fixed readme.html fucked by Telefonica's "transparent" surfing proxy. + + -- Amaya Rodrigo Sastre Sat, 25 Jan 2003 04:48:42 +0100 + +mencal (2.1-2) unstable; urgency=low + + * Updated Standards-Version to 3.5.8. Oops! + + -- Amaya Rodrigo Sastre Sat, 25 Jan 2003 04:45:55 +0100 + +mencal (2.1-1) unstable; urgency=low + + * New upstream release. + * Improved description. + * Updated man page. Added a conf example by request of HĂ©ctor + . This is the "now everyone knows when I get my period" + release. + * Honored Developer's Reference "6.3.2 Upstream home" page and Author. + * Fixed minor Lintian warning. + + -- Amaya Rodrigo Sastre Sat, 25 Jan 2003 03:48:52 +0100 + +mencal (2.0-2) unstable; urgency=low + + * New manpage contributed by Pablo S. Torralba + (Closes: #142591). Many thanks. + + -- Amaya Rodrigo Sastre Wed, 24 Apr 2002 16:01:29 +0200 + +mencal (2.0-1) unstable; urgency=low + + * New upstream release. + * You can now keep track of multiple menstrual cycles (Closes: #139795). + * Updated manual page. + + -- Amaya Rodrigo Sastre Fri, 29 Mar 2002 20:26:03 +0100 + +mencal (1.1-3) unstable; urgency=low + + * Really closing #139794 now. How did I miss that? + + -- Amaya Rodrigo Sastre Thu, 28 Mar 2002 22:05:12 +0100 + +mencal (1.1-2) unstable; urgency=low + + * Forgot: Initial Release (Closes: #139420). + * Corrected typos in debian/readme.html. + * Changed arch to all (Closes: #139794). + * Corrected manual page (Closes: #139775). + + -- Amaya Rodrigo Sastre Thu, 28 Mar 2002 02:31:42 +0100 + +mencal (1.1-1) unstable; urgency=low + + * Added a manual page. + + -- Amaya Rodrigo Sastre Fri, 22 Mar 2002 02:11:02 +0100 + --- mencal-2.3.orig/debian/mencal.1 +++ mencal-2.3/debian/mencal.1 @@ -0,0 +1,87 @@ +.TH mencal "1" "Menstruation calendar" "mencal" "1" +.SH NAME +mencal \- menstruation calendar +.SH SYNOPSIS +.B mencal +[\fIoptions\fR] [\fIfile1 file2 \fR... \fI\-c CONF1 \-c CONF2 \fR...] +.SH DESCRIPTION + +.SS "Display options:" +.TP +\fB\-m\fR, \fB\-\-monday\fR +draw monday as first weekday (sunday is default) +.TP +\fB\-1\fR +current month (default) +.TP +\fB\-3\fR +previous, current and next month +.TP +\fB\-y\fR [YYYY] +all-year calendar (default YYYY is current year) +.TP +\fB\-q\fR, \fB\-\-quiet\fR +no top information will be printed +.TP +\fB\-n\fR, \fB\-\-nocolor\fR +noncolored output +.TP +\fB\-i\fR, \fB\-\-icolor\fR COLOR +intersection color (default red) +.IP +available colors: red, green, blue, yellow, violet, cyan, shiny, bold +.SS "mencal configuration:" +.TP +\fB\-c\fR, \fB\-\-config\fR +s=[YYYY]MMDD,l=LL,d=DD,n=NAME,f=FILE,c=COLOR +.IP +The second argument is a comma separated list of options. No spaces are +allowed in this list. If no name is specified, 'Unknown' is used. +Various \fB\-c\fR options or filenames can be set. +.TP +s,start=[YYYY]MMDD +start day of period (default current day) +.TP +l,length=LL +length of period in days (default 28) +.TP +d,duration=D +duration of menstruation in days (default 4) +.TP +n,name=NAME +name of subject +.TP +f,file=FILE +filename to save configuration to +.IP +only menstruation related variables will be saved +.TP +c,color=COLOR +color used for menstruation days +.IP +available colors: red, green, blue, yellow, violet, cyan, shiny, bold +default color is red, with '\-n' switch color settings are ignored +.SS "Info options:" +.TP +\fB\-h\fR, \fB\-\-help\fR +print help +.TP +\fB\-V\fR, \fB\-\-version\fR +print version information +.SH AUTHOR: +.I (C) 2002 C. McCohy +.br +e\-mail: . +.br +24 Apr 2002 \- New manpage contributed by Pablo S. Torralba . +.br +Amaya Rodrigo is now responsible for developing and +maintaining this manual page. Comments and suggestions are greatly wellcome. + --- mencal-2.3.orig/debian/watch +++ mencal-2.3/debian/watch @@ -0,0 +1,5 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# Site Directory Pattern Version Script +http://lide.punknet.cz/mccohy/mencal/ mencal-(.*)\.tar\.gz debian uupdate --- mencal-2.3.orig/debian/copyright +++ mencal-2.3/debian/copyright @@ -0,0 +1,13 @@ +This package was debianized by Amaya Rodrigo Sastre on +Fri, 22 Mar 2002 02:11:02 +0100. + +It was downloaded from http://mencal.kyberdigi.cz/english.html + +Upstream Author: C. McCohy + +Copyright: + +This program is under the GPLv2. +On Debian systems, the complete text of the GNU General Public License can be +found in `/usr/share/common-licenses/GPL'. + --- mencal-2.3.orig/debian/dirs +++ mencal-2.3/debian/dirs @@ -0,0 +1 @@ +/usr/bin/ --- mencal-2.3.orig/debian/control +++ mencal-2.3/debian/control @@ -0,0 +1,20 @@ +Source: mencal +Section: utils +Priority: optional +Maintainer: Amaya Rodrigo Sastre +Build-Depends-Indep: debhelper (>= 4.2.20) +Standards-Version: 3.6.1.0 + +Package: mencal +Architecture: all +Depends: ${perl:Depends} +Description: A menstruation calendar + Mencal is a menstruation calendar written in Perl. + . + It is a simple variation of the well-known Unix command cal. The main + difference is that you can have some periodically repeating days highlighted + in color. This can be used to track menstruation (or other) cycles + conveniently. + . + Author: C. McCohy + Homepage: http://mencal.kyberdigi.cz/english.html --- mencal-2.3.orig/debian/rules +++ mencal-2.3/debian/rules @@ -0,0 +1,53 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatibility version to use. +export DH_COMPAT=4 + +DESTDIR=$(CURDIR)/debian/mencal + +configure: configure-stamp +configure-stamp: + dh_testdir +clean: + dh_testdir + dh_testroot + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + # Add here commands to install the package into debian/mencal. + install -p -m755 $(CURDIR)/mencal $(DESTDIR)/usr/bin/ + +# Build architecture-independent files here. +binary-indep: install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + #dh_installdocs $(CURDIR)/debian/readme.html + dh_installdocs + dh_installmanpages + dh_installchangelogs + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- mencal-2.3.orig/debian/docs +++ mencal-2.3/debian/docs @@ -0,0 +1,3 @@ +README +debian/mencalrc_example +debian/readme.html --- mencal-2.3.orig/debian/readme.html +++ mencal-2.3/debian/readme.html @@ -0,0 +1,354 @@ + + + + + + Menstruation calendar + + + + + + +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ Kyberdigi Labs + +

Menstruation calendar

+ by C. McCohy <mccohy@kyberdigi.cz>
+ Actual version: 2.3 +
+ + + + + +
+ Use your computer for superb timing of all your activities + + cz + en +
+
+ + + + + + + +
+ Kyberdigi Labs
+ Projects
+ Mencal
+ + Requirements
+ License
+ Download
+ Installation
+ Running mencal
+ Examples
+ Known bugs
+ Changelog
+ Archive
+ Misc
+ +

+ Visitors
+ Counter +

+ +

+ +

Menstruation calendar

+ + Mencal is a simple variation of the well-known unix command cal. The main difference is that you can have some periodically repeating days highlighted in color. This can be used to track menstruation (or other) cycles conveniently. + +
+ +

Requirements

+ + This program is written in the perl language. It also uses the unix locales and the system commands strftime and mktime. + I don't know which systems have all those, + but at least any linux distribution should provide you with everything necessary for running mencal. + +
+ +

License

+ + The software may be freely distributed under the terms of the GPL.
+ You can read the license here. +

+ + +


+ +

Download

+ + You can download the complete tarball via HTTP right here. +

+ + mencal-2.3.tar.gz

+ size: 19169 bytes
MD5: e0fa5665b8f7772521bb95379bfdec20
+

+ +


+ +

Installation

+ + First: unpack the archive +
$ tar xzf mencal-2.3.tar.gz
+ + Now enter the directory mencal-2.3 that was created. +
$ cd mencal-2.3
+ + And that's about all. This directory also contains a tiny README file, + a copy of the license and the most important file mencal. + You can run this program even as an unprivileged user with the command + ./mencal. You can copy the file to wherever it's convenient for you and run it from there. +

+ +


+ +

Running mencal

+ + You run the program like this: +
$ mencal [options] [file1 file2 ... -c CONF1 -c CONF2 ... ]
+ + Display options: +
    +
  • -m or --monday - take monday as the first day of the week + (sunday is the default) +
  • -1 - print the current month (default) +
  • -3 - print the previous, current and next month +
  • -y [yyyy] - print a calendar for the whole year yyyy. + If the year is not given, the current year is used. +
  • -q or --quiet - don't print the introduction +
  • -n or --nocolor - don't use color in the output +
  • -i COLOR or --icolor COLOR - intersection color + (the default is red, other possible are green, blue, yellow, violet, + cyan, shiny (intense white) and bold (not really a color)) +
+

+ + Menstruation options:
+ -c or --config s=[YYYY]MMDD,l=DD,d=T,n=NAME,f=FILE,c=COLOR +

+ The second argument is a comma separated list of options. No spaces are + allowed in this list. If no name is specified, 'Unknown' is used. + Various -c options or filenames can be set. +

    +
  • s,start=[YYYY]MMDD - začátek cyklu (standardně aktuální den) +
  • l,length=DD - length of period in days (default 28) +
  • d,duration=T - duration of menstruation in days (default 4) +
  • n,name=NAME - name of subject +
  • f,file=FILE - filename to save configuration to + (only menstruation related variables will be saved) +
  • c,color=COLOR - color used for menstruation days of subject + (available colors are the same as with --icolor, + the switch -n will cause this color setting to be ignored) +
+

+ + Informational options: +

    +
  • -h or --help - prints help on options +
  • -V or --version - prints version information +
+

+ +


+ +

Examples

+ +
    +
  • Example 1 - a simple example of three current months +
  • Example 2 - an example of a full setting of a particular mentruation cycle in an unusual yellow color +
  • Example 3 - a calendar for a whole year for two persons, the settings for one are taken from the file maruskarc, + the days, when both persons are menstruating, are marked red +
  • Example 4 - + the same settings as example 3, no colors (suitable for printing or for some monochrome terminals), without the starting info +
  • Example 5 a Example 6 + - a bit over-done ... +
+

+ +


+ +

Known bugs

+ + Incorrect day names displaying
+ In some cases of special locales setings the day names are displayed incorrectly. + For example if one uses hu_HU, some day names have only one character, which + can cause table damage. Thank to Peter Gervai for bug info.
+ Solved: upgrade to version 2.3.

+ + Error message typo
+ Micah Anderson wrote about a typo in one of error messages you can see + after bad parameter settings.
+ Solved: upgrade to version 2.2.

+ + The 'more' command
+ The only real problem occurs when you are using the command more on + the colored output, e.g. $ mencal -y -c c=red | more ... it all gets + messed up
+ Solved: use more -f or less -R. + Thanks to Peter K. Gale for this hint. +

+ + The year must be greater than 1900
+ Regrettably you can't use years below 1900. The cause is that perl + works with years decremented by 1900. So if you use the year 2002, perl + has to convert it to 102. And it of course refuses to use negative numbers. If you have any ideas how to work around this, please tell me.

+ + Localisation
+ The names of days and months are taken from locales, so it would probably be nice to localize the help and program messages. + There are not that many messages, in fact. Well, next time. ;-) +

+ + Color printing
+ I have some messages, that it is impossible to print the colored output on + a printer ($ mencal | lpr), that the output on the paper looks really bad. + It's possible. I'm sorry, but I don't have any printer to look at it and take + care about. Use the -n switch for non-colored output. +

$ mencal -n | lpr
+

+ + Year change
+ While using the -3 switch for printing of three actual months + (i.e. november, december, january) some month is not printed.
+ Solved: upgrade to version 2.1, where this bug is already fixed. + Thanks to Jára Altmann for bugreport.

+ + Bugs from version 1.1
+ There's only a few lines left from 1.0 and the rest was completely rewritten. + The old bugs seem to be gone. The configuration doesn't become invalid after one year and you don't have to set it up again. + The brain-damage of the old configuration files has also been eliminated. +

+ + If you think you found a bug, don't hesitate to use your favourite mail client + and mail me. +

+ + +


+ +

Changelog

+ +
+
+2.3 (Jul 17th, 2003)
+
+- fixed incorrect displaying of some day names
+
+2.2 (May 22nd, 2003)
+
+- fixed error message typo
+
+2.1 (December 9th, 2002)
+
+- bugfix: some months are not printed if '-3' is used
+- optimization of counting menstruation days
+
+2.0 (March 29th, 2002)
+
+- initial primitive version total rewrited
+- more configurations available
+- merging of configurations
+- other program switches
+- non-colored output
+- actual three months can be printed
+
+1.1 (October 25th, 2000)
+
+- configuration can be saved
+- some minor bugfixes
+- localization (use of locales)
+
+1.0 (mesozoic era)
+
+- initial primitive version
+
+ +
+ +

Archive

+ + +

+ + +


+ +

Misc

+ + I thank Vinil for the his intensive cooperation, inspiration and propagation + (the quote about timing is from him too) and JD for testing, moral backing + and correction.

+ + And here's an inspiring response from the maintainer of the mencal debian package:

+ + + I really love this script, because nobody but you ever bothered writing it :-) + I am very proud of you because you wrote this for your girlfriend and + I guess that was an act of love :-) + +

+ +

+ +
+ + + + + +
Valid HTML 4.01Kyberdigi Labs
+
+
+ +
+ + + --- mencal-2.3.orig/debian/mencalrc_example +++ mencal-2.3/debian/mencalrc_example @@ -0,0 +1,10 @@ +start 20020517 +length 26 +duration 4 +color red +name Amaya +start 20020612 +length 28 +color red +name Amaya +