ical patch

Below is a link to what I believe is the last official ical source release. Also below is a link to a patch I wrote to get the last ical source release to build with recent versions of gcc and Tcl/Tk.

I had to make a few minor but substantive changes which have only been lightly tested so use at your own risk. The patch is in the public domain, but proper attribution, while not required, would be appreciated.

My setup includes custom (but normal) builds of gcc-4.3.3 and tcltk-8.5.7 under /opt/gcc/gcc-4.3.3 and /opt/tcltk/tcltk-8.5.7_gcc-4.3.3 respectively. I have been able to get ical to build with older versions of gcc, but it is unlikely to build with unpatched tcltk-8.4.x or older versions of Tcl/Tk.

The steps I use to build ical are as follows:

  1. gzip -dc < ical-2.2.tar.gz | tar -xf -
  2. cd ical-2.2
  3. bzip2 -dc < ../ical-2.2.patch.bz2 | patch -s -p1
  4. (export tcldir=/opt/tcltk/tcltk-8.5.7_gcc-4.3.3 ; export LD_RUN_PATH=$tcldir/lib ; ./configure --prefix=/opt/ical/ical-2.2_gcc-4.3.3 \ --with-tclsh=$tcldir/bin/tclsh \ --with-tclconfig=$tcldir/lib \ --with-tkconfig=$tcldir/lib)
  5. # This might be unique to me, but it can't hurt. perl -p -i -e 's/ -lieee//' Makefile
  6. (export tcldir=/opt/tcltk/tcltk-8.5.7_gcc-4.3.3 ; export LD_RUN_PATH=$tcldir/lib ; make install)

ical-2.2.tar.gz (last official ical source release)

ical-2.2.patch.bz2 (for use with gcc-4.3.3 and tcltk-8.5.7)