2001-09-07 Bradford Hovinen <hovinen@ximian.com> * archiver-client.c (location_client_store_xml): Make backend_id const * util.c (parse_date): Set the time zone (parse_date): Initialize tm_isdst * archiver-client.c (location_client_store_xml): Call ConfigArchiver_Location_storageComplete when done (location_client_store_xml): Don't try to save the XML file if there was an error getting the storage filename * location.c (location_storage_complete): Implement (impl_ConfigArchiver_Location_storageComplete): Implement * config-log.c (config_log_get_backend_id_for_id): Make return value const 2001-09-04 Bradford Hovinen <hovinen@ximian.com> * location.c (location_get_storage_filename): Notify listeners that new rollback data is available * bonobo-config-archiver.c (new_rollback_cb): Implement (bonobo_config_archiver_new): Connect above to event source * location.c (location_store): (location_init): Construct an event source and add its interface * Makefile.am (INCLUDES): Remove -DDEFAULTS_DIR 2001-09-03 Bradford Hovinen <hovinen@ximian.com> * bonobo-config-archiver.c (bonobo_config_archiver_new): Accept complete moniker as an argument; do the parsing here * archiver-client.c (location_client_load_rollback_data): Adjust time from mktime according to time zone information * bonobo-moniker-archiver.c (is_leap_year): (mod_date_by_str): Implement (parse_name): Use correct math for computing offsets * bonobo-config-archiver.c (bonobo_config_archiver_new): Don't print an error message if the parent moniker is bad (bonobo_config_archiver_new): Remove debugging messages * archiver-client.c (location_client_load_rollback_data): Make date and backend_id const * bonobo-moniker-archiver.c (archiverdb_resolve): Determine date from moniker and pass to bonobo_config_archiver_new * bonobo-config-archiver.c (bonobo_config_archiver_new): Accept date structure as argument
102 lines
2.9 KiB
Makefile
102 lines
2.9 KiB
Makefile
confexecdir = $(libdir)
|
|
confexec_DATA = config_archiverConf.sh
|
|
|
|
Locationmetadir = $(datadir)/control-center/archiver
|
|
Locationmeta_DATA = default-user.xml default-global.xml
|
|
|
|
includedir = $(prefix)/include/config-archiver
|
|
|
|
INCLUDES = \
|
|
-DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
|
|
-I$(includedir) \
|
|
$(GNOME_INCLUDEDIR) \
|
|
-DVERSION=\""$(VERSION)"\" \
|
|
-DG_LOG_DOMAIN=\"libconfig-archiver\" \
|
|
-DCONFIGDIR=\""/etc"\" \
|
|
-DLOCATION_DIR=\""$(datadir)/control-center/archiver"\" \
|
|
-DGLADE_DIR=\""$(INTERFACES_DIR)"\" \
|
|
-DXST_BACKEND_LOCATION=\""$(datadir)/setup-tool-backends/scripts"\" \
|
|
@ARCHIVER_CFLAGS@ \
|
|
@MONIKER_CFLAGS@
|
|
|
|
CORBA_SOURCE = \
|
|
ConfigArchiver.h \
|
|
ConfigArchiver-common.c \
|
|
ConfigArchiver-stubs.c \
|
|
ConfigArchiver-skels.c
|
|
|
|
idl_flags = `gnome-config --cflags idl`
|
|
|
|
$(CORBA_SOURCE): $(top_srcdir)/idl/ConfigArchiver.idl
|
|
orbit-idl $(top_srcdir)/idl/ConfigArchiver.idl -I$(top_srcdir)/idl $(idl_flags)
|
|
|
|
bin_PROGRAMS = bonobo-moniker-archiver config-archiver
|
|
|
|
lib_LTLIBRARIES = libconfig_archiver.la
|
|
|
|
libconfig_archiver_la_SOURCES = \
|
|
util.c util.h \
|
|
archiver-client.c \
|
|
$(CORBA_SOURCE)
|
|
|
|
libconfig_archiver_la_LIBADD = \
|
|
@GNOME_XML_LIBS@
|
|
|
|
archiver-client.c: $(CORBA_SOURCE)
|
|
|
|
include_HEADERS = \
|
|
ConfigArchiver.h \
|
|
archiver-client.h
|
|
|
|
config_archiver_SOURCES = \
|
|
config-archiver.c
|
|
|
|
config_archiver_LDADD = \
|
|
$(GNOME_LIBDIR) \
|
|
$(GNOMEUI_LIBS) \
|
|
$(INTLLIBS) \
|
|
@ARCHIVER_LIBS@ \
|
|
libconfig_archiver.la
|
|
|
|
#
|
|
# Create the config_archiverConf.sh file from the sh.in file
|
|
#
|
|
config_archiverConf.sh: config_archiverConf.sh.in Makefile
|
|
sed -e 's?\@VERSION\@?$(VERSION)?' \
|
|
-e 's?\@CONFIG_ARCHIVER_LIBDIR\@?$(CONFIG_ARCHIVER_LIBDIR)?g' \
|
|
-e 's?\@CONFIG_ARCHIVER_LIBS\@?$(CONFIG_ARCHIVER_LIBS)?g' \
|
|
-e 's?\@CONFIG_ARCHIVER_INCLUDEDIR\@?$(CONFIG_ARCHIVER_INCLUDEDIR)?g' \
|
|
< $(srcdir)/config_archiverConf.sh.in > config_archiverConf.tmp \
|
|
&& mv config_archiverConf.tmp config_archiverConf.sh
|
|
|
|
OAF_FILES = \
|
|
Bonobo_Moniker_archiver.oaf
|
|
|
|
oafdir = $(datadir)/oaf
|
|
oaf_DATA = $(OAF_FILES)
|
|
|
|
monikerdir = $(libdir)/bonobo/monikers
|
|
|
|
Bonobo_Moniker_archiver.oaf : $(srcdir)/Bonobo_Moniker_archiver.oaf.in $(top_builddir)/config.status
|
|
sed -e "s|\@MONIKER_LIBDIR\@|$(monikerdir)|" \
|
|
$(srcdir)/Bonobo_Moniker_archiver.oaf.in > Bonobo_Moniker_archiver.oaf
|
|
|
|
clean-local:
|
|
-rm -f $(OAF_FILES) $(CORBA_SOURCE)
|
|
|
|
bonobo_moniker_archiver_SOURCES = \
|
|
bonobo-config-archiver.c bonobo-config-archiver.h \
|
|
archive.c archive.h \
|
|
location.c location.h \
|
|
config-log.c config-log.h \
|
|
backend-list.c backend-list.h \
|
|
cluster.c cluster.h \
|
|
cluster-location.c cluster-location.h \
|
|
bonobo-moniker-archiver.c
|
|
|
|
bonobo_moniker_archiver_LDADD = @MONIKER_LIBS@ libconfig_archiver.la
|
|
|
|
EXTRA_DIST = \
|
|
$(Locationmeta_DATA) \
|
|
config_archiverConf.sh.in \
|
|
Bonobo_Moniker_archiver.oaf.in
|