ICal

(Redirected from freeware/ical)

Introduction

Screenshot of ical.

ical is a simple Tk-based calendar program for Unix machines. It was originally written in the early 90s by Sanjay Ghemawat. Many calendar programs have come and gone since then, but rarely have any been easier to use, faster or better than ical.

Development

This site is strictly for bug fixes only. Ethan Blanton is has a small team continuing development of ical, beyond simple fixes. You can find his version here: http://www.cs.purdue.edu/homes/eblanton/software/ical/

Download

The latest version is ical-2.3.3.tar.gz

Old versions

ical-2.3.2.tar.gz

ical-2.3.1.tar.gz

Binary packages

Emmanuel Chantreau has Debian packages for ical 2.3.1.

Peter Hanecak has provided RPMs for Red Hat Fedora Core.

Alessandro De Zorzi has provided packages for Debian PowerPC. Please send feedback about these to < lota at klez.it >.

Compile

On Debian/lenny, Daniel Smith suggests:

./configure --with-tclconfig=/usr/lib/tcl8.4 \
           --with-tkconfig=/usr/lib/tk8.4 \
           --with-tclhdir=/usr/include/tcl8.4 \
           --with-tkhdir=/usr/include/tcl8.4 \
           --with-tclscripts=/usr/share/tcltk/tcl8.4 \
           --with-tkscripts=/usr/share/tcltk/tk8.4 \
           --prefix=/usr/local
make
su
make install

Note that you must make install before ical will run.

Bugs

See Freeware/ICal/Bugs for a complete list of bug reports.

Contributed notes and patches

Compiling on debian/testing

Some notes for compiling on debian/testing (thanks to Emmanuel Chantreau).

From: Emmanuel Chantreau <echant at maretmanu dot org>
Subject: ical bugfix
 
Hello

I use debian/testing.

1) to compil it I had to install packages:
- g++
- tcl8.4
- tk8.4
- tcl8.4-dev
- tk8.4-dev

2) gcc is used insted of g++ which leads to linkage errors:

gcc -o ical cal_tcl.o dateeditor.o dispatch.o ical.o ical_tcl.o item_tcl.o
object.o time_tcl.o  main.o calendar/libcalendar.a time/libtime.a
types/libtypes.a -L/usr/lib -ltk8.4 -L/usr/lib -ltcl8.4  -L/usr/X11R6/lib -lX11
-ldl  -lpthread -lieee -lm
cal_tcl.o(.text+0xe6): In function `FileList::~FileList [not-in-charge]()':
: undefined reference to `operator delete[](void*)'
etc

My (dirty ?) solution is to replace "CXX = @CXX@" by "CXX = g++" in
Makefile.in.  I use "gcc version 3.3.3 (Debian 20040401)"

3) "make install" creates directories with the default mode, for my
root account for ex.  created directories was with 750 mode. My
solution is to replace "MKDIR = mkdir" by "MKDIR = mkdir -m 755" in
"Makefile.in".

Thank you for maintaining iCal.

Compiling on Suse 9.0 (x86-64)

(From Iain)

Compiled on SuSE Linux 9.0 (x86-64) with the following

./configure --with-tclsh=/usr/bin/tclsh \
--with-tclconfig=/usr/lib64 \
--prefix=/usr/local \
--with-tclscripts=/usr/lib64/tcl8.4 \
--with-tkscripts=/usr/lib64/tk8.4

make && make install

SuSE 10.3 spec file

Mandar Mitra offers this RPM spec file for SuSE 10.3 users: ical-suse.spec.txt

Compiling on Red Hat 9

mkdir $HOME/bin/ical_2.3.1

patch < ical.patch.fedora1

./configure --with-tclsh=/usr/bin/tclsh \
--with-tclconfig=/usr/lib \
--prefix=$HOME/bin/ical_2.3.1 \
--with-tclscripts=/usr/share/tcl8.3 \
--with-tkscripts=/usr/share/tk8.3

make && make install

cd $HOME/bin && ln -s ical_2.3.1/bin/ical-2.3 ical

Compiling on Fedora Core 2

No patches needed, reports Johann Schoonees.

tar -zxvf ical-2.3.1.tar.gz
cd ical-2.3.1
./configure --with-tclconfig=/usr/lib
make
make install

Compiling on Mac OS X

Todd Litwin has ical compiled on recent versions of Mac OS X / Intel. Here are his notes:

  1. Rename time/Time.h to time/Time.hh (or anything else you like).
  2. Change all references of Time.h to Time.hh (or whatever) in all referencing files in the ical source tree.
  3. Configure, using Fink's tcltk package: ./configure --with-tclconfig=/sw/lib
  4. Build: make
  5. Add a missing directory: mkdir /usr/local/man
  6. Install: make install

Compiling on Red Hat Enterprise Linux WS release 4

Markus Neteler reports success compiling ical on this platform using the following procedure. No patches were required.

./configure --with-tclconfig=/usr/lib/tcl8.4 \
            --with-tkconfig=/usr/lib/tk8.4 \
            --with-tclhdir=/usr/include \
            --with-tkhdir=/usr/include \
            --with-tclconfig=/usr/lib --with-tkconfig=/usr/lib \
            --with-tkscripts=/usr/share/tk8.4
make
make install

Compiling on Mandrive 2006

Bruno Caprile (caprile at itc.it) reports that he has successfully built on Mandriva 2006, using:

./configure --with-tclconfig=/usr/lib/tcl8.4 --with-tkconfig=/usr/lib/tk8.4 \
--with-tclhdir=/usr/include --with-tkhdir=/usr/include \
--with-tclconfig=/usr/lib--with-tkconfig=/usr/lib \
--with-tkscripts=/usr/lib/tk8.4 
make
make install

History

Recently ical has been dropped from Debian and Red Hat, and it's been hard to get it working on recent Linux distributions, so I have started this maintenance project to keep the program alive.

I started with Dr. Thomas W. Bennet's source RPM for Red Hat 9, which is essentially the last Red Hat version before they dropped it. I applied all the patches from that version. I added numerous const-correctness fixes to the source to make it compile with a recent version of GCC. I fixed support for Tcl/Tk 8.4.

I'm not going to add any more features, but bug fixes are welcome. Please send them to me.

Mandriva patches

Adam Williamson sent me a comprehensive list of the patches that Mandriva apply to their version of ical. I've put them on a separate page: ical/Mandriva patches.

Related projects

Kevin Range has been providing some Red Hat RPMs of ical. Note that this is not in any way related to the current project. (These links broken as of Dec 2006).

Dr. Thomas W. Bennet also provides Red Hat RPMs which were used as the basis for this project.

Andrew Pam has RPMs for Fedora Core.