From ee18ac5ec7ad042ee375deffb89595bf7ef3e5ab Mon Sep 17 00:00:00 2001 From: Aaron Walker Date: Sat, 18 Dec 2004 18:57:03 +0000 Subject: [PATCH] Initial commit. --- app-misc/ccal/ChangeLog | 10 ++++ app-misc/ccal/Manifest | 15 ++++++ app-misc/ccal/ccal-0.6.ebuild | 28 ++++++++++ app-misc/ccal/files/digest-ccal-0.6 | 1 + app-misc/ccal/files/instructions.htm | 76 ++++++++++++++++++++++++++++ app-misc/ccal/metadata.xml | 9 ++++ 6 files changed, 139 insertions(+) create mode 100644 app-misc/ccal/ChangeLog create mode 100644 app-misc/ccal/Manifest create mode 100644 app-misc/ccal/ccal-0.6.ebuild create mode 100644 app-misc/ccal/files/digest-ccal-0.6 create mode 100644 app-misc/ccal/files/instructions.htm create mode 100644 app-misc/ccal/metadata.xml diff --git a/app-misc/ccal/ChangeLog b/app-misc/ccal/ChangeLog new file mode 100644 index 000000000000..8bdeb952dd7a --- /dev/null +++ b/app-misc/ccal/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-misc/ccal +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/ccal/ChangeLog,v 1.1 2004/12/18 18:57:03 ka0ttic Exp $ + +*ccal-0.6 (18 Dec 2004) + + 18 Dec 2004; Aaron Walker +metadata.xml, + +files/instructions.htm, +ccal-0.6.ebuild: + Initial commit. + diff --git a/app-misc/ccal/Manifest b/app-misc/ccal/Manifest new file mode 100644 index 000000000000..f06e4c3c114c --- /dev/null +++ b/app-misc/ccal/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 3c883788f1556b4ff4f2b7277d10ed71 ccal-0.6.ebuild 703 +MD5 1dad41fe66c12a2358b2ab887411706e ChangeLog 353 +MD5 99ce5509db4b50f28a1f6675f8c09b2b metadata.xml 258 +MD5 f83bdf8f256e9d2a0ae8a09629933cd0 files/instructions.htm 4658 +MD5 f82010293d51e087b79314187706ed9a files/digest-ccal-0.6 59 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.2.6 (GNU/Linux) + +iD8DBQFBxH2IEZCkKN40op4RAsEUAJ9tneNdkRB3ajPJ5MFs16aJLIRwmwCdFJQt +Qv6KtkB1sXTPr+cifJ6syg4= +=HLR0 +-----END PGP SIGNATURE----- diff --git a/app-misc/ccal/ccal-0.6.ebuild b/app-misc/ccal/ccal-0.6.ebuild new file mode 100644 index 000000000000..5051e02013b7 --- /dev/null +++ b/app-misc/ccal/ccal-0.6.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/ccal/ccal-0.6.ebuild,v 1.1 2004/12/18 18:57:03 ka0ttic Exp $ + +DESCRIPTION="Curses-based calendar/journal/diary/todo utility" +HOMEPAGE="http://www.jamiehillman.co.uk/ccal/" +SRC_URI="mirror://gentoo/${P}.py.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +RDEPEND="virtual/python" + +S=${WORKDIR} + +src_install() { + newbin ${P}.py ${PN} || die "dobin failed" + dohtml ${FILESDIR}/instructions.htm || die "dohtml failed" +} + +pkg_postinst() { + echo + einfo "Read /usr/share/doc/${PF}/html/instructions.htm for" + einfo "information on using ccal." + echo +} diff --git a/app-misc/ccal/files/digest-ccal-0.6 b/app-misc/ccal/files/digest-ccal-0.6 new file mode 100644 index 000000000000..ede838123323 --- /dev/null +++ b/app-misc/ccal/files/digest-ccal-0.6 @@ -0,0 +1 @@ +MD5 e0cc9e6fca2a8515a1076a381639b019 ccal-0.6.py.bz2 14374 diff --git a/app-misc/ccal/files/instructions.htm b/app-misc/ccal/files/instructions.htm new file mode 100644 index 000000000000..b63d0759b13f --- /dev/null +++ b/app-misc/ccal/files/instructions.htm @@ -0,0 +1,76 @@ +Ccal - curses calendar / diary / journal & todo list application. + +
+

Ccal

+download - instructions/manual - screenshots - feedback - future plans +

+
+

Manual

+

New features in 0.5

+Postsript printing
+press x and a file will be saved in your home directory (assuming you have latex and dvips installed. +

+Editor based entry
+when adding an entry enter "e" as the entry and an editor will be +started. the first line of the text you enter will be the text that +appears in ccal. You can access the further information you enter in +the rest of the file by pressing "e" over the entry in todo or entry +mode. You can also edit existing entries by pressing "e" over them. To +change the editor or the tmp path (defaults vim and /tmp) put something +like this in your config file:

+[editing]
+temppath=/tmp
+editor=vim
+ +

+Colour coded entries
+Simply press 0,1,2 or 3 over an entry to change it's colour. 0 is normal. +

+


+There are three modes in ccal - Todo, Date and Entry. You start up in Date mode. +


+Date Mode

+In this mode you can press left and right to move back and forth through the days and up and down to move back forth through the months.
+The calendar display in the corner highlights the currently viewed date and any dates which have entries
+a will add an entry and / will let you jump to a particular date
+pressing enter will move you into entry mode and pressing t will move you into todo mode
+finally n will take you back to today's entries and q will quit the program +

+Entry Mode +

+In entry mode you can move through the diary entries for a particulate date and delete them. up and down move you through the entries and d will delete the currently selected one. a allows you to add a new entry
+enter will take you back to date mode

+Todo Mode

+Todo mode functions exactly the same way as entry mode but you are adding to-do list entries not diary entries. +

+

New - Internet database

+Ccal -0.3 allows you to store your diary/journal and todo information +on a web server so that if you use ccal in several places, your +information will stay synchronised. +This is achieved by placing a cgi script (provided) on a web server +somewhere. The host of the cgi script must have python installed and +the script must be able to write to somewhere. The path that the script +should write to can be changed by changing the " path" variable in the cgi script. +You can then configure ccal to use this cgi script by creating a file in your home directory called .ccalrc
+This file should contain the following lines (with your server path in place of the one below):

+[database]
+cgiURL=http://www.someserver.com/cgi-bin/diary.py
+

+If the config file is present and contains a cgiURL then ccal will use +internet storage by default, if it is not present it will use local +storage as in the original version. +You can also switch between the two types of storage in case of failure +or to create backups. Simple press i to switch between internet and local storage. You will then need to press l to load, or s to save the database to the currently selected storage. +

So if you want to copy your locally-stored information (from +ccal 0.2 for example) to your new internet-based storage you could +press i to switch to local storage, press l to load the database from the local store, then press i to switch back +to internet storage and s to store the loaded database to the internet storage.

+If you have internet-based storage setup then ccal will load from this +database on startup and save back to it on exit. This may take a few +seconds depending on your connection. +

You can view the day's appointments and the to-do list online +by simply entering the path of the CGI script in your web browser. I +was thinking about providing a more rich web-based interface and +possibly wap-access but I don't have much need for these myself. Let me +know if you'd like it. + \ No newline at end of file diff --git a/app-misc/ccal/metadata.xml b/app-misc/ccal/metadata.xml new file mode 100644 index 000000000000..1bd09b7fe2c3 --- /dev/null +++ b/app-misc/ccal/metadata.xml @@ -0,0 +1,9 @@ + + + + shell-tools + + ka0ttic@gentoo.org + Aaron Walker + + -- 2.26.2