diff options
-rw-r--r-- | plugins/calendar-http/ChangeLog | 4 | ||||
-rw-r--r-- | plugins/calendar-http/Makefile | 546 | ||||
-rw-r--r-- | plugins/calendar-http/calendar-http.c | 296 | ||||
-rw-r--r-- | plugins/calendar-http/org-gnome-calendar-http.eplug.in | 24 |
4 files changed, 870 insertions, 0 deletions
diff --git a/plugins/calendar-http/ChangeLog b/plugins/calendar-http/ChangeLog new file mode 100644 index 0000000000..07f003c51b --- /dev/null +++ b/plugins/calendar-http/ChangeLog @@ -0,0 +1,4 @@ +2004-11-04 David Trowbridge <David.Trowbridge@Colorado.edu> + + * Initial import of webcal properties plugin. + diff --git a/plugins/calendar-http/Makefile b/plugins/calendar-http/Makefile new file mode 100644 index 0000000000..c73ba6931f --- /dev/null +++ b/plugins/calendar-http/Makefile @@ -0,0 +1,546 @@ +# Makefile.in generated by automake 1.6.3 from Makefile.am. +# plugins/calendar-http/Makefile. Generated from Makefile.in by configure. + +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + + +SHELL = /bin/sh + +srcdir = . +top_srcdir = ../.. + +prefix = /opt/gnome2 +exec_prefix = ${prefix} + +bindir = ${exec_prefix}/bin +sbindir = ${exec_prefix}/sbin +libexecdir = ${exec_prefix}/libexec +datadir = ${prefix}/share +sysconfdir = ${prefix}/etc +sharedstatedir = ${prefix}/com +localstatedir = ${prefix}/var +libdir = ${exec_prefix}/lib +infodir = ${prefix}/info +mandir = ${prefix}/man +includedir = ${prefix}/include +oldincludedir = /usr/include +pkgdatadir = $(datadir)/evolution +pkglibdir = $(libdir)/evolution +pkgincludedir = $(includedir)/evolution +top_builddir = ../.. + +ACLOCAL = ${SHELL} /home/notzed/gnome2/head/evolution/missing --run aclocal-1.6 +AUTOCONF = ${SHELL} /home/notzed/gnome2/head/evolution/missing --run autoconf +AUTOMAKE = ${SHELL} /home/notzed/gnome2/head/evolution/missing --run automake-1.6 +AUTOHEADER = ${SHELL} /home/notzed/gnome2/head/evolution/missing --run autoheader + +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +INSTALL = /usr/bin/install -c +INSTALL_PROGRAM = ${INSTALL} +INSTALL_DATA = ${INSTALL} -m 644 +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_SCRIPT = ${INSTALL} +INSTALL_HEADER = $(INSTALL_DATA) +transform = s,x,x, +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +host_alias = +host_triplet = i686-pc-linux-gnu + +EXEEXT = +OBJEXT = o +PATH_SEPARATOR = : +A11Y_CFLAGS = -I/opt/gnome2/include/atk-1.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include +A11Y_LIBS = -Wl,--export-dynamic -L/opt/gnome2/lib -latk-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 +AMTAR = ${SHELL} /home/notzed/gnome2/head/evolution/missing --run tar +AR = ar +AS = @AS@ +AWK = gawk +BASE_VERSION = 2.2 +BONOBOUI_REQUIRED = 2.4.2 +CAMEL_CFLAGS = -pthread -DXTHREADS -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -I/opt/gnome2/include/gal-2.4 -I/opt/gnome2/include/gtk-2.0 -I/opt/gnome2/include/libgnomecanvas-2.0 -I/opt/gnome2/include/libxml2 -I/opt/gnome2/include/libglade-2.0 -I/opt/gnome2/include/libgnomeprint-2.2 -I/opt/gnome2/lib/gtk-2.0/include -I/opt/gnome2/include/atk-1.0 -I/opt/gnome2/include/pango-1.0 -I/opt/gnome2/include -I/usr/include/freetype2 -I/usr/X11R6/include -I/opt/gnome2/include/libart-2.0 $(WERROR) -I/opt/mozilla/include/nspr -I/opt/mozilla/include/nss +CAMEL_GROUPWISE_CFLAGS = -I/opt/gnome2/include/evolution-data-server-1.2/groupwise -I/opt/gnome2/include/libsoup-2.2 -I/opt/gnome2/include/libxml2 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include $(WERROR) -pthread -DXTHREADS -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -I/opt/gnome2/include/gal-2.4 -I/opt/gnome2/include/gtk-2.0 -I/opt/gnome2/include/libgnomecanvas-2.0 -I/opt/gnome2/include/libxml2 -I/opt/gnome2/include/libglade-2.0 -I/opt/gnome2/include/libgnomeprint-2.2 -I/opt/gnome2/lib/gtk-2.0/include -I/opt/gnome2/include/atk-1.0 -I/opt/gnome2/include/pango-1.0 -I/opt/gnome2/include -I/usr/include/freetype2 -I/usr/X11R6/include -I/opt/gnome2/include/libart-2.0 $(WERROR) -I/opt/mozilla/include/nspr -I/opt/mozilla/include/nss +CAMEL_GROUPWISE_LIBS = -L/opt/gnome2/lib -legroupwise-1.2 -lsoup-2.2 -lgnutls -lgcrypt -lgpg-error -lxml2 -lpthread -lz -lm -lglib-2.0 -pthread -Wl,--export-dynamic -L/opt/gnome2/lib -lgthread-2.0 -lgal-2.4 -lgal-a11y-2.4 -lgnomecanvas-2 -lglade-2.0 -lgnomeprint-2-2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lart_lgpl_2 -lxml2 -lpthread -lz -lm -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lpthread -L/opt/mozilla/lib -ldl -lplc4 -lplds4 -lnspr4 -lpthread -L/opt/mozilla/lib -lssl3 -lsmime3 -lnss3 -lsoftokn3 +CAMEL_LIBS = -pthread -Wl,--export-dynamic -L/opt/gnome2/lib -lgthread-2.0 -lgal-2.4 -lgal-a11y-2.4 -lgnomecanvas-2 -lglade-2.0 -lgnomeprint-2-2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lart_lgpl_2 -lxml2 -lpthread -lz -lm -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lpthread -L/opt/mozilla/lib -ldl -lplc4 -lplds4 -lnspr4 -lpthread -L/opt/mozilla/lib -lssl3 -lsmime3 -lnss3 -lsoftokn3 +CAMEL_LOCK_HELPER_GROUP = +CAMEL_LOCK_HELPER_USER = +CATALOGS = am.gmo ar.gmo az.gmo be.gmo bg.gmo bs.gmo ca.gmo cs.gmo da.gmo de.gmo el.gmo en_AU.gmo en_CA.gmo en_GB.gmo es.gmo et.gmo eu.gmo fa.gmo fi.gmo fr.gmo ga.gmo gl.gmo gu.gmo he.gmo hr.gmo hu.gmo is.gmo it.gmo ja.gmo ko.gmo lt.gmo lv.gmo mn.gmo ms.gmo nb.gmo nl.gmo nn.gmo no.gmo pa.gmo pl.gmo pt.gmo pt_BR.gmo ro.gmo ru.gmo sk.gmo sl.gmo sq.gmo sr.gmo sr@Latn.gmo sv.gmo tr.gmo uk.gmo vi.gmo wa.gmo zh_CN.gmo zh_TW.gmo +CATOBJEXT = .gmo +CC = gcc +CERT_UI_CFLAGS = -pthread -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include $(WERROR) -I/opt/mozilla/include/nspr -I/opt/mozilla/include/nss +CERT_UI_LIBS = -pthread -L/opt/gnome2/lib -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -L/opt/mozilla/lib -ldl -lplc4 -lplds4 -lnspr4 -lpthread -L/opt/mozilla/lib -lssl3 -lsmime3 -lnss3 -lsoftokn3 +CPP = gcc -E +CXX = g++ +CXXCPP = g++ -E +DATADIRNAME = share +DATASERVER_IDL = /opt/gnome2/share/idl/evolution-data-server-1.2/Evolution-DataServer.idl +DEPDIR = .deps +DEVELOPMENT = +DLLTOOL = @DLLTOOL@ +DTAPPINTEGRATE = no +ECHO = echo +EDS_PACKAGE = 1.2 +EDS_REQUIRED = 1.1.0 +EGREP = grep -E +EVOLUTION_ADDRESSBOOK_CFLAGS = -DORBIT2=1 -pthread -DXTHREADS -I/opt/gnome2/include/gconf/2 -I/opt/gnome2/include/orbit-2.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -I/opt/gnome2/include/libbonoboui-2.0 -I/opt/gnome2/include/libxml2 -I/opt/gnome2/include/libbonobo-2.0 -I/opt/gnome2/include/libgnomecanvas-2.0 -I/opt/gnome2/include/libgnome-2.0 -I/opt/gnome2/include/bonobo-activation-2.0 -I/opt/gnome2/include/libart-2.0 -I/opt/gnome2/include/pango-1.0 -I/opt/gnome2/include -I/usr/include/freetype2 -I/opt/gnome2/include/gtk-2.0 -I/opt/gnome2/lib/gtk-2.0/include -I/opt/gnome2/include/atk-1.0 -I/usr/X11R6/include -I/opt/gnome2/include/gnome-vfs-2.0 -I/opt/gnome2/lib/gnome-vfs-2.0/include -I/opt/gnome2/include/libglade-2.0 -I/opt/gnome2/include/gal-2.4 -I/opt/gnome2/include/libgnomeprint-2.2 -I/opt/gnome2/include/libgnomeui-2.0 -I/opt/gnome2/include/libgnomeprintui-2.2 -I/opt/gnome2/include/libgtkhtml-3.6 -I/opt/gnome2/include/evolution-data-server-1.2 $(WERROR) +EVOLUTION_ADDRESSBOOK_CONDUIT_CFLAGS = +EVOLUTION_ADDRESSBOOK_CONDUIT_LIBS = +EVOLUTION_ADDRESSBOOK_LIBS = -Wl,--export-dynamic -pthread -L/opt/gnome2/lib -L/usr/X11R6/lib -lgal-2.4 -lgal-a11y-2.4 -lgtkhtml-3.6 -lgnomeui-2 -lSM -lICE -lgnomeprintui-2-2 -lglade-2.0 -lbonoboui-2 -lgnomeprint-2-2 -lgnomecanvas-2 -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lebook-1.2 -ledataserverui-1.2 -ledataserver-1.2 -lgnome-2 -lpopt -lxml2 -lpthread -lz -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lm -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 +EVOLUTION_CALENDAR_CFLAGS = -DORBIT2=1 -pthread -DXTHREADS -I/opt/gnome2/include/libgnome-2.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -I/opt/gnome2/include/orbit-2.0 -I/opt/gnome2/include/libbonobo-2.0 -I/opt/gnome2/include/gconf/2 -I/opt/gnome2/include/gnome-vfs-2.0 -I/opt/gnome2/lib/gnome-vfs-2.0/include -I/opt/gnome2/include/bonobo-activation-2.0 -I/opt/gnome2/include/libgnomeui-2.0 -I/opt/gnome2/include/libgnomecanvas-2.0 -I/opt/gnome2/include/gtk-2.0 -I/opt/gnome2/include/libart-2.0 -I/opt/gnome2/include/libbonoboui-2.0 -I/opt/gnome2/include/pango-1.0 -I/opt/gnome2/include -I/usr/include/freetype2 -I/opt/gnome2/lib/gtk-2.0/include -I/opt/gnome2/include/atk-1.0 -I/usr/X11R6/include -I/opt/gnome2/include/libxml2 -I/opt/gnome2/include/gal-2.4 -I/opt/gnome2/include/libglade-2.0 -I/opt/gnome2/include/libgnomeprint-2.2 -I/opt/gnome2/include/libgnomeprintui-2.2 -I/opt/gnome2/include/libgtkhtml-3.6 -I/opt/gnome2/include/evolution-data-server-1.2 $(WERROR) +EVOLUTION_CALENDAR_CONDUIT_CFLAGS = +EVOLUTION_CALENDAR_CONDUIT_LIBS = +EVOLUTION_CALENDAR_LIBS = -Wl,--export-dynamic -pthread -L/opt/gnome2/lib -L/usr/X11R6/lib -lgal-2.4 -lgal-a11y-2.4 -lgtkhtml-3.6 -lgnomeui-2 -lSM -lICE -lgnomeprintui-2-2 -lglade-2.0 -lbonoboui-2 -lgnomeprint-2-2 -lgnomecanvas-2 -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lebook-1.2 -lecal-1.2 -ledataserverui-1.2 -ledataserver-1.2 -lgnome-2 -lpopt -lxml2 -lpthread -lz -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lm -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 +EVOLUTION_DIR = /home/notzed/gnome2/head/evolution +EVOLUTION_MAIL_CFLAGS = -DORBIT2=1 -pthread -DXTHREADS -I/opt/gnome2/include/libgnome-2.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -I/opt/gnome2/include/orbit-2.0 -I/opt/gnome2/include/libbonobo-2.0 -I/opt/gnome2/include/gconf/2 -I/opt/gnome2/include/gnome-vfs-2.0 -I/opt/gnome2/lib/gnome-vfs-2.0/include -I/opt/gnome2/include/bonobo-activation-2.0 -I/opt/gnome2/include/libgnomeui-2.0 -I/opt/gnome2/include/libgnomecanvas-2.0 -I/opt/gnome2/include/gtk-2.0 -I/opt/gnome2/include/libart-2.0 -I/opt/gnome2/include/libbonoboui-2.0 -I/opt/gnome2/include/pango-1.0 -I/opt/gnome2/include -I/usr/include/freetype2 -I/opt/gnome2/lib/gtk-2.0/include -I/opt/gnome2/include/atk-1.0 -I/usr/X11R6/include -I/opt/gnome2/include/libxml2 -I/opt/gnome2/include/gal-2.4 -I/opt/gnome2/include/libglade-2.0 -I/opt/gnome2/include/libgnomeprint-2.2 -I/opt/gnome2/include/gnome-vfs-module-2.0 -I/opt/gnome2/include/libgnomeprintui-2.2 -I/opt/gnome2/include/libgtkhtml-3.6 -I/opt/gnome2/include/evolution-data-server-1.2 $(WERROR) +EVOLUTION_MAIL_LIBS = -Wl,--export-dynamic -pthread -L/opt/gnome2/lib -L/usr/X11R6/lib -lgal-2.4 -lgal-a11y-2.4 -lgtkhtml-3.6 -lgnomeui-2 -lSM -lICE -lgnomeprintui-2-2 -lglade-2.0 -lbonoboui-2 -lgnomeprint-2-2 -lgnomecanvas-2 -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lebook-1.2 -ledataserver-1.2 -lgnome-2 -lpopt -lxml2 -lpthread -lz -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lm -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 +EVOLUTION_TEST_CFLAGS = -DORBIT2=1 -pthread -DXTHREADS -I/opt/gnome2/include/libgnome-2.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -I/opt/gnome2/include/orbit-2.0 -I/opt/gnome2/include/libbonobo-2.0 -I/opt/gnome2/include/gconf/2 -I/opt/gnome2/include/gnome-vfs-2.0 -I/opt/gnome2/lib/gnome-vfs-2.0/include -I/opt/gnome2/include/bonobo-activation-2.0 -I/opt/gnome2/include/libgnomeui-2.0 -I/opt/gnome2/include/libgnomecanvas-2.0 -I/opt/gnome2/include/gtk-2.0 -I/opt/gnome2/include/libart-2.0 -I/opt/gnome2/include/libbonoboui-2.0 -I/opt/gnome2/include/pango-1.0 -I/opt/gnome2/include -I/usr/include/freetype2 -I/opt/gnome2/lib/gtk-2.0/include -I/opt/gnome2/include/atk-1.0 -I/usr/X11R6/include -I/opt/gnome2/include/libxml2 $(WERROR) +EVOLUTION_TEST_LIBS = -Wl,--export-dynamic -pthread -L/opt/gnome2/lib -L/usr/X11R6/lib -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lxml2 -lpthread -lz -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lm -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 +E_NAME_CFLAGS = -DORBIT2=1 -pthread -DXTHREADS -I/opt/gnome2/include/libgnomeui-2.0 -I/opt/gnome2/include/libgnome-2.0 -I/opt/gnome2/include/libgnomecanvas-2.0 -I/opt/gnome2/include/gtk-2.0 -I/opt/gnome2/include/libart-2.0 -I/opt/gnome2/include/gconf/2 -I/opt/gnome2/include/libbonoboui-2.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -I/opt/gnome2/include/orbit-2.0 -I/opt/gnome2/include/libbonobo-2.0 -I/opt/gnome2/include/gnome-vfs-2.0 -I/opt/gnome2/lib/gnome-vfs-2.0/include -I/opt/gnome2/include/bonobo-activation-2.0 -I/opt/gnome2/include/pango-1.0 -I/opt/gnome2/include -I/usr/include/freetype2 -I/opt/gnome2/lib/gtk-2.0/include -I/opt/gnome2/include/atk-1.0 -I/usr/X11R6/include -I/opt/gnome2/include/libxml2 -I/opt/gnome2/include/gal-2.4 -I/opt/gnome2/include/libglade-2.0 -I/opt/gnome2/include/libgnomeprint-2.2 $(WERROR) +E_NAME_LIBS = -Wl,--export-dynamic -pthread -L/opt/gnome2/lib -L/usr/X11R6/lib -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnome-2 -lpopt -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lgthread-2.0 -lgal-2.4 -lgal-a11y-2.4 -lgnomecanvas-2 -lglade-2.0 -lgnomeprint-2-2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lart_lgpl_2 -lxml2 -lpthread -lz -lm -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 +E_UTIL_CFLAGS = -pthread -DORBIT2=1 -DXTHREADS -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -I/opt/gnome2/include/gconf/2 -I/opt/gnome2/include/orbit-2.0 -I/opt/gnome2/include/libxml2 -I/opt/gnome2/include/libbonoboui-2.0 -I/opt/gnome2/include/libbonobo-2.0 -I/opt/gnome2/include/libgnomecanvas-2.0 -I/opt/gnome2/include/libgnome-2.0 -I/opt/gnome2/include/bonobo-activation-2.0 -I/opt/gnome2/include/libart-2.0 -I/opt/gnome2/include/pango-1.0 -I/opt/gnome2/include -I/usr/include/freetype2 -I/opt/gnome2/include/gtk-2.0 -I/opt/gnome2/lib/gtk-2.0/include -I/opt/gnome2/include/atk-1.0 -I/usr/X11R6/include -I/opt/gnome2/include/gnome-vfs-2.0 -I/opt/gnome2/lib/gnome-vfs-2.0/include -I/opt/gnome2/include/libglade-2.0 -I/opt/gnome2/include/gal-2.4 -I/opt/gnome2/include/libgnomeprint-2.2 -I/opt/gnome2/include/libgnomeui-2.0 -I/opt/gnome2/include/evolution-data-server-1.2 $(WERROR) -I/opt/mozilla/include/nspr +E_UTIL_LIBS = -pthread -Wl,--export-dynamic -L/opt/gnome2/lib -L/usr/X11R6/lib -lgal-2.4 -lgal-a11y-2.4 -lglade-2.0 -lgnomeprint-2-2 -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomecanvas-2 -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -ledataserver-1.2 -lgnome-2 -lpopt -lxml2 -lpthread -lz -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lm -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -lpthread -L/opt/mozilla/lib -ldl -lplc4 -lplds4 -lnspr4 -lpthread +E_WIDGETS_CFLAGS = -DORBIT2=1 -pthread -DXTHREADS -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -I/opt/gnome2/include/libbonoboui-2.0 -I/opt/gnome2/include/orbit-2.0 -I/opt/gnome2/include/libxml2 -I/opt/gnome2/include/libbonobo-2.0 -I/opt/gnome2/include/libgnomecanvas-2.0 -I/opt/gnome2/include/libgnome-2.0 -I/opt/gnome2/include/bonobo-activation-2.0 -I/opt/gnome2/include/libart-2.0 -I/opt/gnome2/include/pango-1.0 -I/opt/gnome2/include -I/usr/include/freetype2 -I/opt/gnome2/include/gtk-2.0 -I/opt/gnome2/lib/gtk-2.0/include -I/opt/gnome2/include/atk-1.0 -I/usr/X11R6/include -I/opt/gnome2/include/gconf/2 -I/opt/gnome2/include/gnome-vfs-2.0 -I/opt/gnome2/lib/gnome-vfs-2.0/include -I/opt/gnome2/include/libgnomeui-2.0 -I/opt/gnome2/include/libglade-2.0 -I/opt/gnome2/include/gal-2.4 -I/opt/gnome2/include/libgnomeprint-2.2 -I/opt/gnome2/include/evolution-data-server-1.2 $(WERROR) +E_WIDGETS_LIBS = -Wl,--export-dynamic -pthread -L/opt/gnome2/lib -L/usr/X11R6/lib -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgal-2.4 -lgal-a11y-2.4 -lgnomecanvas-2 -lglade-2.0 -lgnomeprint-2-2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lart_lgpl_2 -lpango-1.0 -lgobject-2.0 -ledataserverui-1.2 -ledataserver-1.2 -lgnome-2 -lpopt -lxml2 -lpthread -lz -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lm -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 +F77 = +GAL_PACKAGE = 2.4 +GAL_REQUIRED = 2.3.0 +GCJ = @GCJ@ +GCJFLAGS = @GCJFLAGS@ +GCONFTOOL = /opt/gnome2/bin/gconftool-2 +GCONF_SCHEMA_CONFIG_SOURCE = xml::/opt/gnome2/etc/gconf/gconf.xml.defaults +GCONF_SCHEMA_FILE_DIR = $(sysconfdir)/gconf/schemas/ +GETTEXT_PACKAGE = evolution-2.2 +GLIB_CFLAGS = -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include +GLIB_GENMARSHAL = glib-genmarshal +GLIB_LIBS = -L/opt/gnome2/lib -lglib-2.0 +GLIB_MKENUMS = glib-mkenums +GMOFILES = am.gmo ar.gmo az.gmo be.gmo bg.gmo bs.gmo ca.gmo cs.gmo da.gmo de.gmo el.gmo en_AU.gmo en_CA.gmo en_GB.gmo es.gmo et.gmo eu.gmo fa.gmo fi.gmo fr.gmo ga.gmo gl.gmo gu.gmo he.gmo hr.gmo hu.gmo is.gmo it.gmo ja.gmo ko.gmo lt.gmo lv.gmo mn.gmo ms.gmo nb.gmo nl.gmo nn.gmo no.gmo pa.gmo pl.gmo pt.gmo pt_BR.gmo ro.gmo ru.gmo sk.gmo sl.gmo sq.gmo sr.gmo sr@Latn.gmo sv.gmo tr.gmo uk.gmo vi.gmo wa.gmo zh_CN.gmo zh_TW.gmo +GMSGFMT = /opt/gnome2/bin/msgfmt +GNOME_FULL_CFLAGS = -DORBIT2=1 -pthread -DXTHREADS -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -I/opt/gnome2/include/libbonoboui-2.0 -I/opt/gnome2/include/orbit-2.0 -I/opt/gnome2/include/libxml2 -I/opt/gnome2/include/libbonobo-2.0 -I/opt/gnome2/include/libgnomecanvas-2.0 -I/opt/gnome2/include/libgnome-2.0 -I/opt/gnome2/include/bonobo-activation-2.0 -I/opt/gnome2/include/libart-2.0 -I/opt/gnome2/include/pango-1.0 -I/opt/gnome2/include -I/usr/include/freetype2 -I/opt/gnome2/include/gtk-2.0 -I/opt/gnome2/lib/gtk-2.0/include -I/opt/gnome2/include/atk-1.0 -I/usr/X11R6/include -I/opt/gnome2/include/gconf/2 -I/opt/gnome2/include/gnome-vfs-2.0 -I/opt/gnome2/lib/gnome-vfs-2.0/include -I/opt/gnome2/include/libgnomeui-2.0 -I/opt/gnome2/include/libglade-2.0 -I/opt/gnome2/include/gal-2.4 -I/opt/gnome2/include/libgnomeprint-2.2 $(WERROR) +GNOME_FULL_LIBS = -Wl,--export-dynamic -pthread -L/opt/gnome2/lib -L/usr/X11R6/lib -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnome-2 -lpopt -lbonobo-2 -lgnomevfs-2 -lbonobo-activation -lgconf-2 -lORBit-2 -lgthread-2.0 -lgal-2.4 -lgal-a11y-2.4 -lgnomecanvas-2 -lglade-2.0 -lgnomeprint-2-2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lart_lgpl_2 -lxml2 -lpthread -lz -lm -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 +GNOME_PILOT_CFLAGS = +GNOME_PILOT_LIBS = +GOBJECT_QUERY = gobject-query +GSTREAMER_CFLAGS = +GSTREAMER_LIBS = +GTKDOC = true +GTKHTML_CFLAGS = -DXTHREADS -DORBIT2=1 -pthread -I/opt/gnome2/include/libgtkhtml-3.6 -I/opt/gnome2/include/gtk-2.0 -I/opt/gnome2/include/libgnomeui-2.0 -I/opt/gnome2/include/libgnomeprint-2.2 -I/opt/gnome2/include/libgnomeprintui-2.2 -I/opt/gnome2/include/libglade-2.0 -I/opt/gnome2/lib/gtk-2.0/include -I/opt/gnome2/include/atk-1.0 -I/opt/gnome2/include/pango-1.0 -I/opt/gnome2/include -I/usr/include/freetype2 -I/usr/X11R6/include -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -I/opt/gnome2/include/libgnome-2.0 -I/opt/gnome2/include/libgnomecanvas-2.0 -I/opt/gnome2/include/libart-2.0 -I/opt/gnome2/include/gconf/2 -I/opt/gnome2/include/libbonoboui-2.0 -I/opt/gnome2/include/orbit-2.0 -I/opt/gnome2/include/libbonobo-2.0 -I/opt/gnome2/include/gnome-vfs-2.0 -I/opt/gnome2/lib/gnome-vfs-2.0/include -I/opt/gnome2/include/bonobo-activation-2.0 -I/opt/gnome2/include/libxml2 +GTKHTML_DATADIR = /opt/gnome2/share/gtkhtml-3.6 +GTKHTML_LIBS = -Wl,--export-dynamic -pthread -L/opt/gnome2/lib -L/usr/X11R6/lib -lgtkhtml-3.6 -lgnomeui-2 -lSM -lICE -lgnomeprintui-2-2 -lglade-2.0 -lbonoboui-2 -lgnome-2 -lpopt -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lgthread-2.0 -lgnomeprint-2-2 -lgnomecanvas-2 -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lxml2 -lpthread -lz -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 +GTKHTML_PACKAGE = 3.6 +GTKHTML_REQUIRED = 3.5.0 +HAVE_JW = no +HTML_DIR = ${datadir}/gnome/html +IDL_INCLUDES = -I /opt/gnome2/share/idl/bonobo-2.0 -I /opt/gnome2/share/idl/bonobo-activation-2.0 -I /opt/gnome2/share/idl/evolution-data-server-1.2 +IMPORTERS_CFLAGS = -DORBIT2=1 -pthread -DXTHREADS -I/opt/gnome2/include/gconf/2 -I/opt/gnome2/include/orbit-2.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -I/opt/gnome2/include/libglade-2.0 -I/opt/gnome2/include/gtk-2.0 -I/opt/gnome2/include/libxml2 -I/opt/gnome2/lib/gtk-2.0/include -I/opt/gnome2/include/atk-1.0 -I/opt/gnome2/include/pango-1.0 -I/opt/gnome2/include -I/usr/include/freetype2 -I/usr/X11R6/include -I/opt/gnome2/include/libbonoboui-2.0 -I/opt/gnome2/include/libbonobo-2.0 -I/opt/gnome2/include/libgnomecanvas-2.0 -I/opt/gnome2/include/libgnome-2.0 -I/opt/gnome2/include/bonobo-activation-2.0 -I/opt/gnome2/include/libart-2.0 -I/opt/gnome2/include/gnome-vfs-2.0 -I/opt/gnome2/lib/gnome-vfs-2.0/include -I/opt/gnome2/include/libgnomeui-2.0 -I/opt/gnome2/include/evolution-data-server-1.2 $(WERROR) +IMPORTERS_LIBS = -Wl,--export-dynamic -pthread -L/opt/gnome2/lib -L/usr/X11R6/lib -lglade-2.0 -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomecanvas-2 -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lebook-1.2 -ledataserver-1.2 -lgnome-2 -lpopt -lxml2 -lpthread -lz -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lm -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 +INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s +INSTOBJEXT = .mo +INTERFACE_VERSION = 2.2 +INTLLIBS = +INTLTOOL_CAVES_RULE = %.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@ +INTLTOOL_DESKTOP_RULE = %.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@ +INTLTOOL_DIRECTORY_RULE = %.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@ +INTLTOOL_EXTRACT = $(top_builddir)/intltool-extract +INTLTOOL_KBD_RULE = %.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@ +INTLTOOL_KEYS_RULE = %.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@ +INTLTOOL_MERGE = $(top_builddir)/intltool-merge +INTLTOOL_OAF_RULE = %.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@ +INTLTOOL_PERL = /usr/bin/perl +INTLTOOL_PONG_RULE = %.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@ +INTLTOOL_PROP_RULE = %.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@ +INTLTOOL_SCHEMAS_RULE = %.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@ +INTLTOOL_SERVER_RULE = %.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@ +INTLTOOL_SHEET_RULE = %.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@ +INTLTOOL_SOUNDLIST_RULE = %.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@ +INTLTOOL_THEME_RULE = %.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@ +INTLTOOL_UI_RULE = %.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@ +INTLTOOL_UPDATE = $(top_builddir)/intltool-update +INTLTOOL_XAM_RULE = %.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@ +INTLTOOL_XML_RULE = %.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@ +JW = no +KDE_APPLNK_DIR = +KRB4_CFLAGS = +KRB4_LDFLAGS = +KRB5_CFLAGS = +KRB5_LDFLAGS = +LDAP_CFLAGS = +LDAP_LIBS = -lldap -llber -lresolv -lnsl +LEX = flex +LEXLIB = -lfl +LEX_OUTPUT_ROOT = lex.yy +LIBFILTER_CFLAGS = -DORBIT2=1 -pthread -DXTHREADS -I/opt/gnome2/include/libgnome-2.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -I/opt/gnome2/include/orbit-2.0 -I/opt/gnome2/include/libbonobo-2.0 -I/opt/gnome2/include/gconf/2 -I/opt/gnome2/include/gnome-vfs-2.0 -I/opt/gnome2/lib/gnome-vfs-2.0/include -I/opt/gnome2/include/bonobo-activation-2.0 -I/opt/gnome2/include/libgnomeui-2.0 -I/opt/gnome2/include/libgnomecanvas-2.0 -I/opt/gnome2/include/gtk-2.0 -I/opt/gnome2/include/libart-2.0 -I/opt/gnome2/include/libbonoboui-2.0 -I/opt/gnome2/include/pango-1.0 -I/opt/gnome2/include -I/usr/include/freetype2 -I/opt/gnome2/lib/gtk-2.0/include -I/opt/gnome2/include/atk-1.0 -I/usr/X11R6/include -I/opt/gnome2/include/libxml2 -I/opt/gnome2/include/libglade-2.0 -I/opt/gnome2/include/gal-2.4 -I/opt/gnome2/include/libgnomeprint-2.2 $(WERROR) +LIBFILTER_LIBS = -Wl,--export-dynamic -pthread -L/opt/gnome2/lib -L/usr/X11R6/lib -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnome-2 -lpopt -lbonobo-2 -lgnomevfs-2 -lbonobo-activation -lgconf-2 -lORBit-2 -lgthread-2.0 -lgal-2.4 -lgal-a11y-2.4 -lgnomecanvas-2 -lglade-2.0 -lgnomeprint-2-2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lart_lgpl_2 -lxml2 -lpthread -lz -lm -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 +LIBSOUP_CFLAGS = -I/opt/gnome2/include/libsoup-2.2 -I/opt/gnome2/include/libxml2 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include $(WERROR) +LIBSOUP_LIBS = -L/opt/gnome2/lib -lsoup-2.2 -lgnutls -lgcrypt -lgpg-error -lxml2 -lpthread -lz -lm -lglib-2.0 +LIBTOOL = $(SHELL) $(top_builddir)/libtool +LN_S = ln -s +MAINT = +MANUAL_NSPR_CFLAGS = -I/opt/mozilla/include/nspr +MANUAL_NSPR_LIBS = -L/opt/mozilla/lib -ldl -lplc4 -lplds4 -lnspr4 -lpthread +MANUAL_NSS_CFLAGS = -I/opt/mozilla/include/nspr -I/opt/mozilla/include/nss +MANUAL_NSS_LIBS = -L/opt/mozilla/lib -ldl -lplc4 -lplds4 -lnspr4 -lpthread -L/opt/mozilla/lib -lssl3 -lsmime3 -lnss3 -lsoftokn3 +MKINSTALLDIRS = ./mkinstalldirs +OBJDUMP = @OBJDUMP@ +ORBIT_CFLAGS = -DORBIT2=1 -pthread -I/opt/gnome2/include/orbit-2.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include +ORBIT_CONFIG = /opt/gnome2/bin/orbit2-config +ORBIT_IDL = /opt/gnome2/bin/orbit-idl-2 +ORBIT_LIBS = -Wl,--export-dynamic -pthread -L/opt/gnome2/lib -lORBit-2 -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -lm +PACKAGE = evolution +PKG_CONFIG = /opt/gnome2/bin/pkg-config +POFILES = am.po ar.po az.po be.po bg.po bs.po ca.po cs.po da.po de.po el.po en_AU.po en_CA.po en_GB.po es.po et.po eu.po fa.po fi.po fr.po ga.po gl.po gu.po he.po hr.po hu.po is.po it.po ja.po ko.po lt.po lv.po mn.po ms.po nb.po nl.po nn.po no.po pa.po pl.po pt.po pt_BR.po ro.po ru.po sk.po sl.po sq.po sr.po sr@Latn.po sv.po tr.po uk.po vi.po wa.po zh_CN.po zh_TW.po +POSUB = po +PO_IN_DATADIR_FALSE = +PO_IN_DATADIR_TRUE = +PTHREAD_LIB = -lpthread +PURIFY = impure +RANLIB = ranlib +RC = @RC@ +SENDMAIL = /usr/sbin/sendmail +SHELL_CFLAGS = -DORBIT2=1 -pthread -DXTHREADS -I/opt/gnome2/include/libgnome-2.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -I/opt/gnome2/include/orbit-2.0 -I/opt/gnome2/include/libbonobo-2.0 -I/opt/gnome2/include/gconf/2 -I/opt/gnome2/include/gnome-vfs-2.0 -I/opt/gnome2/lib/gnome-vfs-2.0/include -I/opt/gnome2/include/bonobo-activation-2.0 -I/opt/gnome2/include/libgnomeui-2.0 -I/opt/gnome2/include/libgnomecanvas-2.0 -I/opt/gnome2/include/gtk-2.0 -I/opt/gnome2/include/libart-2.0 -I/opt/gnome2/include/libbonoboui-2.0 -I/opt/gnome2/include/pango-1.0 -I/opt/gnome2/include -I/usr/include/freetype2 -I/opt/gnome2/lib/gtk-2.0/include -I/opt/gnome2/include/atk-1.0 -I/usr/X11R6/include -I/opt/gnome2/include/libxml2 -I/opt/gnome2/include/gal-2.4 -I/opt/gnome2/include/libglade-2.0 -I/opt/gnome2/include/libgnomeprint-2.2 -I/opt/gnome2/include/libgtkhtml-3.6 -I/opt/gnome2/include/libgnomeprintui-2.2 $(WERROR) +SHELL_LIBS = -Wl,--export-dynamic -pthread -L/opt/gnome2/lib -L/usr/X11R6/lib -lgal-2.4 -lgal-a11y-2.4 -lgtkhtml-3.6 -lgnomeui-2 -lSM -lICE -lgnomeprintui-2-2 -lglade-2.0 -lbonoboui-2 -lgnome-2 -lpopt -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lgthread-2.0 -lgnomeprint-2-2 -lgnomecanvas-2 -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lxml2 -lpthread -lz -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 +STRIP = strip +THREADS_CFLAGS = +THREADS_LIBS = -lpthread +TZDIALOG_CFLAGS = -DORBIT2=1 -pthread -I/opt/gnome2/include/evolution-data-server-1.2 -I/opt/gnome2/include/libgnome-2.0 -I/opt/gnome2/include/libbonobo-2.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -I/opt/gnome2/include/orbit-2.0 -I/opt/gnome2/include/gconf/2 -I/opt/gnome2/include/gnome-vfs-2.0 -I/opt/gnome2/lib/gnome-vfs-2.0/include -I/opt/gnome2/include/bonobo-activation-2.0 -I/opt/gnome2/include/libxml2 $(WERROR) -DORBIT2=1 -pthread -DXTHREADS -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -I/opt/gnome2/include/libbonoboui-2.0 -I/opt/gnome2/include/orbit-2.0 -I/opt/gnome2/include/libxml2 -I/opt/gnome2/include/libbonobo-2.0 -I/opt/gnome2/include/libgnomecanvas-2.0 -I/opt/gnome2/include/libgnome-2.0 -I/opt/gnome2/include/bonobo-activation-2.0 -I/opt/gnome2/include/libart-2.0 -I/opt/gnome2/include/pango-1.0 -I/opt/gnome2/include -I/usr/include/freetype2 -I/opt/gnome2/include/gtk-2.0 -I/opt/gnome2/lib/gtk-2.0/include -I/opt/gnome2/include/atk-1.0 -I/usr/X11R6/include -I/opt/gnome2/include/gconf/2 -I/opt/gnome2/include/gnome-vfs-2.0 -I/opt/gnome2/lib/gnome-vfs-2.0/include -I/opt/gnome2/include/libgnomeui-2.0 -I/opt/gnome2/include/libglade-2.0 -I/opt/gnome2/include/gal-2.4 -I/opt/gnome2/include/libgnomeprint-2.2 $(WERROR) +TZDIALOG_LIBS = -Wl,--export-dynamic -pthread -L/opt/gnome2/lib -lecal-1.2 -ledataserver-1.2 -lgnome-2 -lpopt -lxml2 -lpthread -lz -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lm -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -Wl,--export-dynamic -pthread -L/opt/gnome2/lib -L/usr/X11R6/lib -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnome-2 -lpopt -lbonobo-2 -lgnomevfs-2 -lbonobo-activation -lgconf-2 -lORBit-2 -lgthread-2.0 -lgal-2.4 -lgal-a11y-2.4 -lgnomecanvas-2 -lglade-2.0 -lgnomeprint-2-2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lart_lgpl_2 -lxml2 -lpthread -lz -lm -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 +UPGRADE_REVISION = 0 +USE_NLS = yes +VERSION = 2.1.0 +WARN_CFLAGS = -Wall -Wmissing-prototypes +WARN_CXXFLAGS = @WARN_CXXFLAGS@ +YACC = bison -y +am__include = include +am__quote = +camel_providerdir = ${libdir}/evolution/2.2/camel-providers +componentdir = ${libdir}/evolution/2.2/components +etspecdir = ${datadir}/evolution/2.2/etspec +evolutionhelpdir = ${datadir}/evolution/2.2/help +evolutionuidir = ${datadir}/evolution/2.2/ui +gladedir = ${datadir}/evolution/2.2/glade +idldir = ${prefix}/share/idl/evolution-2.2 +images16dir = ${datadir}/evolution/2.2/images/16x16 +images48dir = ${datadir}/evolution/2.2/images/48x48 +imagesdir = ${datadir}/evolution/2.2/images +install_sh = /home/notzed/gnome2/head/evolution/install-sh +localedir = $(prefix)/$(DATADIRNAME)/locale +plugindir = ${libdir}/evolution/2.2/plugins +plugins_all = bbdb subject-thread save-attachments prefer-plain save-calendar select-one-source copy-tool mail-to-meeting mail-to-task folder-unsubscribe mark-calendar-offline audio-inline mailing-list-actions +plugins_enabled = calendar-http plugin-manager bbdb subject-thread save-attachments prefer-plain save-calendar select-one-source copy-tool mail-to-meeting mail-to-task folder-unsubscribe mark-calendar-offline mailing-list-actions +privconduitdir = ${libdir}/evolution/2.2/conduits +privdatadir = ${datadir}/evolution/2.2 +privincludedir = ${includedir}/evolution-2.2 +privlibdir = ${libdir}/evolution/2.2 +privlibexecdir = ${libexecdir}/evolution/2.2 +serverdir = ${exec_prefix}/lib/bonobo/servers +soundsdir = ${datadir}/evolution/2.2/sounds +viewsdir = ${datadir}/evolution/2.2/views +INCLUDES = \ + $(EVOLUTION_CFLAGS) \ + $(EVOLUTION_CALENDAR_CFLAGS) \ + $(SOURCE_SEL_CFLAGS) + + +plugin_DATA = org-gnome-calendar-http.eplug +plugin_LTLIBRARIES = liborg-gnome-calendar-http.la + +liborg_gnome_calendar_http_la_SOURCES = calendar-http.c +liborg_gnome_calendar_http_la_LDFLAGS = -module -avoid-version +subdir = plugins/calendar-http +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +LTLIBRARIES = $(plugin_LTLIBRARIES) + +liborg_gnome_calendar_http_la_LIBADD = +am_liborg_gnome_calendar_http_la_OBJECTS = calendar-http.lo +liborg_gnome_calendar_http_la_OBJECTS = \ + $(am_liborg_gnome_calendar_http_la_OBJECTS) + +DEFS = -DHAVE_CONFIG_H +DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) +CPPFLAGS = +LDFLAGS = +LIBS = +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__depfiles_maybe = depfiles +DEP_FILES = ./$(DEPDIR)/calendar-http.Plo +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \ + $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +CCLD = $(CC) +LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +CFLAGS = -DG_ENABLE_DEBUG -g -Wall -Wall -Wmissing-prototypes -Wno-sign-compare +DIST_SOURCES = $(liborg_gnome_calendar_http_la_SOURCES) +DATA = $(plugin_DATA) + +DIST_COMMON = Makefile.am Makefile.in +SOURCES = $(liborg_gnome_calendar_http_la_SOURCES) + +all: all-am + +.SUFFIXES: +.SUFFIXES: .c .lo .o .obj +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu plugins/calendar-http/Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) +pluginLTLIBRARIES_INSTALL = $(INSTALL) +install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES) + @$(NORMAL_INSTALL) + $(mkinstalldirs) $(DESTDIR)$(plugindir) + @list='$(plugin_LTLIBRARIES)'; for p in $$list; do \ + if test -f $$p; then \ + f="`echo $$p | sed -e 's|^.*/||'`"; \ + echo " $(LIBTOOL) --mode=install $(pluginLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(plugindir)/$$f"; \ + $(LIBTOOL) --mode=install $(pluginLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(plugindir)/$$f; \ + else :; fi; \ + done + +uninstall-pluginLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(plugin_LTLIBRARIES)'; for p in $$list; do \ + p="`echo $$p | sed -e 's|^.*/||'`"; \ + echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(plugindir)/$$p"; \ + $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(plugindir)/$$p; \ + done + +clean-pluginLTLIBRARIES: + -test -z "$(plugin_LTLIBRARIES)" || rm -f $(plugin_LTLIBRARIES) + @list='$(plugin_LTLIBRARIES)'; for p in $$list; do \ + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ + test -z "$dir" && dir=.; \ + echo "rm -f \"$${dir}/so_locations\""; \ + rm -f "$${dir}/so_locations"; \ + done +liborg-gnome-calendar-http.la: $(liborg_gnome_calendar_http_la_OBJECTS) $(liborg_gnome_calendar_http_la_DEPENDENCIES) + $(LINK) -rpath $(plugindir) $(liborg_gnome_calendar_http_la_LDFLAGS) $(liborg_gnome_calendar_http_la_OBJECTS) $(liborg_gnome_calendar_http_la_LIBADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) core *.core + +distclean-compile: + -rm -f *.tab.c + +include ./$(DEPDIR)/calendar-http.Plo + +distclean-depend: + -rm -rf ./$(DEPDIR) + +.c.o: + source='$<' object='$@' libtool=no \ + depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \ + $(CCDEPMODE) $(depcomp) \ + $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$< + +.c.obj: + source='$<' object='$@' libtool=no \ + depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \ + $(CCDEPMODE) $(depcomp) \ + $(COMPILE) -c `cygpath -w $<` + +.c.lo: + source='$<' object='$@' libtool=yes \ + depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' \ + $(CCDEPMODE) $(depcomp) \ + $(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$< +CCDEPMODE = depmode=gcc3 + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +distclean-libtool: + -rm -f libtool +uninstall-info-am: +pluginDATA_INSTALL = $(INSTALL_DATA) +install-pluginDATA: $(plugin_DATA) + @$(NORMAL_INSTALL) + $(mkinstalldirs) $(DESTDIR)$(plugindir) + @list='$(plugin_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f="`echo $$p | sed -e 's|^.*/||'`"; \ + echo " $(pluginDATA_INSTALL) $$d$$p $(DESTDIR)$(plugindir)/$$f"; \ + $(pluginDATA_INSTALL) $$d$$p $(DESTDIR)$(plugindir)/$$f; \ + done + +uninstall-pluginDATA: + @$(NORMAL_UNINSTALL) + @list='$(plugin_DATA)'; for p in $$list; do \ + f="`echo $$p | sed -e 's|^.*/||'`"; \ + echo " rm -f $(DESTDIR)$(plugindir)/$$f"; \ + rm -f $(DESTDIR)$(plugindir)/$$f; \ + done + +ETAGS = etags +ETAGSFLAGS = + +tags: TAGS + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + mkid -fID $$unique + +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(ETAGS_ARGS)$$tags$$unique" \ + || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$tags $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) + +top_distdir = ../.. +distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) + +distdir: $(DISTFILES) + @list='$(DISTFILES)'; for file in $$list; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkinstalldirs) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ + if test -d $$d/$$file; then \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(LTLIBRARIES) $(DATA) + +installdirs: + $(mkinstalldirs) $(DESTDIR)$(plugindir) $(DESTDIR)$(plugindir) + +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool clean-pluginLTLIBRARIES \ + mostlyclean-am + +distclean: distclean-am + +distclean-am: clean-am distclean-compile distclean-depend \ + distclean-generic distclean-libtool distclean-tags + +dvi: dvi-am + +dvi-am: + +info: info-am + +info-am: + +install-data-am: install-pluginDATA install-pluginLTLIBRARIES + +install-exec-am: + +install-info: install-info-am + +install-man: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +uninstall-am: uninstall-info-am uninstall-pluginDATA \ + uninstall-pluginLTLIBRARIES + +.PHONY: GTAGS all all-am check check-am clean clean-generic \ + clean-libtool clean-pluginLTLIBRARIES distclean \ + distclean-compile distclean-depend distclean-generic \ + distclean-libtool distclean-tags distdir dvi dvi-am info \ + info-am install install-am install-data install-data-am \ + install-exec install-exec-am install-info install-info-am \ + install-man install-pluginDATA install-pluginLTLIBRARIES \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ + tags uninstall uninstall-am uninstall-info-am \ + uninstall-pluginDATA uninstall-pluginLTLIBRARIES + + + +%.eplug: %.eplug.in + sed -e 's|\@PLUGINDIR\@|$(plugindir)|' $< > $@ +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/plugins/calendar-http/calendar-http.c b/plugins/calendar-http/calendar-http.c new file mode 100644 index 0000000000..6b076b02f3 --- /dev/null +++ b/plugins/calendar-http/calendar-http.c @@ -0,0 +1,296 @@ +/* + * + * + * Copyright (C) 2004 David Trowbridge + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + */ + +#include <gtk/gtklabel.h> +#include <gtk/gtkentry.h> +#include <gtk/gtktable.h> +#include <gtk/gtkspinbutton.h> +#include <gtk/gtkoptionmenu.h> +#include <gtk/gtkmenu.h> +#include <gtk/gtkmenuitem.h> +#include <gtk/gtkhbox.h> +#include <e-util/e-config.h> +#include <calendar/gui/e-cal-config.h> +#include <libedataserver/e-source.h> +#include <libedataserver/e-url.h> +#include <libgnome/gnome-i18n.h> +#include <string.h> + +GtkWidget *e_calendar_http_url (EPlugin *epl, EConfigHookItemFactoryData *data); +GtkWidget *e_calendar_http_refresh (EPlugin *epl, EConfigHookItemFactoryData *data); +gboolean e_calendar_http_check (EPlugin *epl, EConfigHookPageCheckData *data); + +static gchar * +print_uri_noproto (EUri *uri) +{ + gchar *uri_noproto; + + if (uri->port != 0) + uri_noproto = g_strdup_printf ( + "%s%s%s%s%s%s%s:%d%s%s%s", + uri->user ? uri->user : "", + uri->authmech ? ";auth=" : "", + uri->authmech ? uri->authmech : "", + uri->passwd ? ":" : "", + uri->passwd ? uri->passwd : "", + uri->user ? "@" : "", + uri->host ? uri->host : "", + uri->port, + uri->path ? uri->path : "", + uri->query ? "?" : "", + uri->query ? uri->query : ""); + else + uri_noproto = g_strdup_printf ( + "%s%s%s%s%s%s%s%s%s%s", + uri->user ? uri->user : "", + uri->authmech ? ";auth=" : "", + uri->authmech ? uri->authmech : "", + uri->passwd ? ":" : "", + uri->passwd ? uri->passwd : "", + uri->user ? "@" : "", + uri->host ? uri->host : "", + uri->path ? uri->path : "", + uri->query ? "?" : "", + uri->query ? uri->query : ""); + return uri_noproto; +} + +static void +url_changed (GtkEntry *entry, ESource *source) +{ + EUri *uri; + char *relative_uri; + + uri = e_uri_new (gtk_entry_get_text (GTK_ENTRY (entry))); + relative_uri = print_uri_noproto (uri); + e_source_set_relative_uri (source, relative_uri); + g_free (relative_uri); + e_uri_free (uri); +} + +GtkWidget * +e_calendar_http_url (EPlugin *epl, EConfigHookItemFactoryData *data) +{ + static GtkWidget *label; + GtkWidget *entry, *parent; + int row; + ECalConfigTargetSource *t = (ECalConfigTargetSource *) data->target; + EUri *uri; + static GtkWidget *hidden = NULL; + + if (!hidden) + hidden = gtk_label_new (""); + + if (data->old) + gtk_widget_destroy (label); + + uri = e_uri_new (e_source_get_uri (t->source)); + if ((strcmp (uri->protocol, "http") && + strcmp (uri->protocol, "webcal"))) { + e_uri_free (uri); + return hidden; + } + e_uri_free (uri); + + parent = data->parent; + + row = ((GtkTable*)parent)->nrows; + + label = gtk_label_new_with_mnemonic (_("_URL:")); + gtk_widget_show (label); + gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5); + gtk_table_attach (GTK_TABLE (parent), label, 0, 1, row, row+1, GTK_FILL, 0, 0, 0); + + entry = gtk_entry_new (); + gtk_widget_show (entry); + gtk_entry_set_text (GTK_ENTRY (entry), e_source_get_uri (t->source)); + gtk_table_attach (GTK_TABLE (parent), entry, 1, 2, row, row+1, GTK_EXPAND | GTK_FILL, 0, 0, 0); + gtk_label_set_mnemonic_widget (GTK_LABEL (label), entry); + g_signal_connect (G_OBJECT (entry), "changed", G_CALLBACK (url_changed), t->source); + + return entry; +} + +static void +set_refresh_time (ESource *source, GtkWidget *spin, GtkWidget *option) +{ + int time; + int item_num = 0; + const char *refresh_str = e_source_get_property (source, "refresh"); + time = refresh_str ? atoi (refresh_str) : 30; + + if (time && !(time % 10080)) { + /* weeks */ + item_num = 3; + time /= 10080; + } else if (time && !(time % 1440)) { + /* days */ + item_num = 2; + time /= 1440; + } else if (time && !(time % 60)) { + /* hours */ + item_num = 1; + time /= 60; + } + gtk_option_menu_set_history (GTK_OPTION_MENU (option), item_num); + gtk_spin_button_set_value (GTK_SPIN_BUTTON (spin), time); +} + +static char * +get_refresh_minutes (GtkWidget *spin, GtkWidget *option) +{ + int setting = gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON (spin)); + switch (gtk_option_menu_get_history (GTK_OPTION_MENU (option))) { + case 0: + /* minutes */ + break; + case 1: + /* hours */ + setting *= 60; + break; + case 2: + /* days */ + setting *= 1440; + break; + case 3: + /* weeks - is this *really* necessary? */ + setting *= 10080; + break; + default: + g_warning ("Time unit out of range"); + break; + } + + return g_strdup_printf ("%d", setting); +} + +static void +spin_changed (GtkSpinButton *spin, ECalConfigTargetSource *t) +{ + char *refresh_str; + GtkWidget *option; + + option = g_object_get_data (G_OBJECT (spin), "option"); + + refresh_str = get_refresh_minutes ((GtkWidget *) spin, option); + e_source_set_property (t->source, "refresh", refresh_str); + g_free (refresh_str); +} + +static void +option_changed (GtkOptionMenu *option, ECalConfigTargetSource *t) +{ + char *refresh_str; + GtkWidget *spin; + + spin = g_object_get_data (G_OBJECT (option), "spin"); + + refresh_str = get_refresh_minutes (spin, (GtkWidget *) option); + e_source_set_property (t->source, "refresh", refresh_str); + g_free (refresh_str); +} + +GtkWidget * +e_calendar_http_refresh (EPlugin *epl, EConfigHookItemFactoryData *data) +{ + static GtkWidget *label; + GtkWidget *option, *spin, *menu, *hbox, *parent; + GtkWidget *times[4]; + int row, i; + ECalConfigTargetSource *t = (ECalConfigTargetSource *) data->target; + ESource *source = t->source; + EUri *uri; + static GtkWidget *hidden = NULL; + + if (!hidden) + hidden = gtk_label_new (""); + + if (data->old) + gtk_widget_destroy (label); + + uri = e_uri_new (e_source_get_uri (t->source)); + if ((strcmp (uri->protocol, "http") && + strcmp (uri->protocol, "webcal"))) { + e_uri_free (uri); + return hidden; + } + e_uri_free (uri); + + parent = data->parent; + + row = ((GtkTable*)parent)->nrows; + + label = gtk_label_new_with_mnemonic (_("_Refresh:")); + gtk_widget_show (label); + gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5); + gtk_table_attach (GTK_TABLE (parent), label, 0, 1, row, row+1, GTK_FILL, 0, 0, 0); + + hbox = gtk_hbox_new (FALSE, 6); + gtk_widget_show (hbox); + + spin = gtk_spin_button_new_with_range (0, 100, 1); + gtk_label_set_mnemonic_widget (GTK_LABEL (label), spin); + gtk_widget_show (spin); + gtk_box_pack_start (GTK_BOX (hbox), spin, FALSE, TRUE, 0); + + option = gtk_option_menu_new (); + gtk_widget_show (option); + times[0] = gtk_menu_item_new_with_label (_("minutes")); + times[1] = gtk_menu_item_new_with_label (_("hours")); + times[2] = gtk_menu_item_new_with_label (_("days")); + times[3] = gtk_menu_item_new_with_label (_("weeks")); + menu = gtk_menu_new (); + gtk_widget_show (menu); + for (i = 0; i < 4; i++) { + gtk_widget_show (times[i]); + gtk_menu_shell_append (GTK_MENU_SHELL (menu), times[i]); + } + gtk_option_menu_set_menu (GTK_OPTION_MENU (option), menu); + set_refresh_time (source, spin, option); + gtk_box_pack_start (GTK_BOX (hbox), option, FALSE, TRUE, 0); + + g_object_set_data (G_OBJECT (option), "spin", spin); + g_signal_connect (G_OBJECT (option), "changed", G_CALLBACK (option_changed), t); + g_object_set_data (G_OBJECT (spin), "option", option); + g_signal_connect (G_OBJECT (spin), "value-changed", G_CALLBACK (spin_changed), t); + + gtk_table_attach (GTK_TABLE (parent), hbox, 1, 2, row, row+1, GTK_EXPAND | GTK_FILL, 0, 0, 0); + + return hbox; +} + +gboolean +e_calendar_http_check (EPlugin *epl, EConfigHookPageCheckData *data) +{ + /* FIXME - check pageid */ + ECalConfigTargetSource *t = (ECalConfigTargetSource *) data->target; + EUri *uri; + gboolean ok = FALSE; + ESourceGroup *group = e_source_peek_group (t->source); + + if (strcmp (e_source_group_peek_base_uri (group), "webcal")) + return TRUE; + + uri = e_uri_new (e_source_get_uri (t->source)); + ok = ((!strcmp (uri->protocol, "webcal")) || (!strcmp (uri->protocol, "http"))); + e_uri_free (uri); + return ok; +} diff --git a/plugins/calendar-http/org-gnome-calendar-http.eplug.in b/plugins/calendar-http/org-gnome-calendar-http.eplug.in new file mode 100644 index 0000000000..1f0e0c622e --- /dev/null +++ b/plugins/calendar-http/org-gnome-calendar-http.eplug.in @@ -0,0 +1,24 @@ +<?xml version="1.0"?> +<e-plugin-list> + <e-plugin + type="shlib" + location="@PLUGINDIR@/liborg-gnome-calendar-http.so" + id="org.gnome.evolution.calendar.http" + name="HTTP Calendars"> + <hook class="org.gnome.evolution.calendar.config:1.0"> + <group + target="source" + id="org.gnome.evolution.calendar.calendarProperties" + check="e_calendar_http_check"> + <item + type="item_table" + path="00.general/00.source/30.url" + factory="e_calendar_http_url"/> + <item + type="item_table" + path="00.general/00.source/40.refresh" + factory="e_calendar_http_refresh"/> + </group> + </hook> + </e-plugin> +</e-plugin-list> |