2001-04-24 Bradford Hovinen <hovinen@ximian.com> * location.c (location_store): Use read rather than fread 2001-04-23 Bradford Hovinen <hovinen@ximian.com> * location.c (location_store): Block SIGPIPE (location_store): Fix off-by-one bug * archive.c (archive_get_current_location_id): Store a full snapshot of the system after the default location is created * location.c (run_backend_proc): Added parameter do_get to allow control of whether pipe is opened to read or write (store_snapshot_cb): Implement. Invokes the given backend with --get and stores the XML data (location_store_full_snapshot): Implement. Stores a complete snapshot with all backend data (subtract_xml_node): Assume all nodes are the same (location_store): Add string termination character (location_store): Only store data if any data were actually read 2001-04-22 Bradford Hovinen <hovinen@ximian.com> * config-log.c (config_log_iterate): Use the correct data pointer to pass to the callback * location.c (location_new): Save the metadata for the newly created location right away * util.h: Defined DEBUG_MSG macro for debugging messages * archive.c (archive_unregister_location): Don't remove the location from the tree if the object is marked destroyed 2001-04-21 Bradford Hovinen <hovinen@ximian.com> * archive.c (archive_destroy): Return if the archive was already destroyed * location.c (location_delete): Unregister the location before destroying it * config-log.c (config_log_delete): Set deleted flag (config_log_destroy): Only dump the log if the log is not marked deleted * location.c (location_delete): Check return value of rmdir * config-log.c (io_buffer_destroy): Call g_io_channel_close to close the GIOChannel (disconnect_socket): Force the removal of the source id from the main loop (config_log_destroy): Disconnect the socket after unloading, not before * location.c (location_delete): Remember to have a NULL at the end of arguments to g_strconcat () 2001-04-22 Bradford Hovinen <hovinen@ximian.com> * location-list.[ch]: Change to inherit GtkObject * location-manager-dialog.c (location_manager_dialog_destroy): Implement. Close and destroy all aggregated objects. (close_cb): Call gtk_object_destroy 2001-04-21 Bradford Hovinen <hovinen@ximian.com> * location-manager-dialog.c (delete_location_cb): Don't let the user delete the default location (delete_ok_cb): Add some sanity checks to make sure the current location is set to something new if we delete it * location-list.c (location_list_select): Implement. Selectes the given location in the location list * location-manager-dialog.c (delete_ok_cb): Use correct semantics for callback
63 lines
1.8 KiB
Makefile
63 lines
1.8 KiB
Makefile
confexecdir = $(libdir)
|
|
confexec_DATA = ximian_archiverConf.sh
|
|
|
|
Locationmetadir = $(datadir)/ximian-config/default
|
|
Locationmeta_DATA = default-user.xml default-global.xml
|
|
|
|
gladedir = $(prefix)/share/hcm/glade
|
|
glade_DATA = rollback-location-management.glade
|
|
|
|
includedir = $(prefix)/include/ximian-archiver
|
|
|
|
INCLUDES = \
|
|
-DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
|
|
-I$(includedir) $(GNOME_INCLUDEDIR) \
|
|
-DVERSION=\""$(VERSION)"\" \
|
|
-DG_LOG_DOMAIN=\"libximian-archiver\" \
|
|
-DCONFIGDIR=\""/etc"\" \
|
|
-DLOCATION_DIR=\""$(datadir)/ximian-config/default"\" \
|
|
-DGLADE_DIR=\""$(datadir)/ximian-config/glade"\" \
|
|
-DXST_BACKEND_LOCATION=\""$(datadir)/ximian-setup-tools/scripts"\" \
|
|
$(GNOME_XML_CFLAGS) \
|
|
$(LIBGLADE_CFLAGS)
|
|
|
|
bin_PROGRAMS = ximian-archiver
|
|
lib_LTLIBRARIES = libximian_archiver.la
|
|
|
|
libximian_archiver_la_SOURCES = \
|
|
archive.c archive.h \
|
|
location.c location.h \
|
|
config-log.c config-log.h \
|
|
backend-list.c backend-list.h \
|
|
util.c util.h
|
|
|
|
include_HEADERS = \
|
|
archive.h location.h config-log.h backend-list.h util.h
|
|
|
|
ximian_archiver_SOURCES = \
|
|
main.c
|
|
|
|
ximian_archiver_LDADD = \
|
|
$(GNOME_LIBDIR) \
|
|
$(GNOMEUI_LIBS) \
|
|
$(INTLLIBS) \
|
|
$(GNOME_XML_LIB) \
|
|
libximian_archiver.la
|
|
|
|
EXTRA_DIST = \
|
|
$(Locationmeta_DATA) \
|
|
$(glade_DATA) \
|
|
ximian_archiverConf.sh.in
|
|
|
|
#
|
|
# Create the ximian_archiverConf.sh file from the sh.in file
|
|
#
|
|
ximian_archiverConf.sh: ximian_archiverConf.sh.in Makefile
|
|
sed -e 's?\@GNOME_LIBDIR\@?$(GNOME_LIBDIR) -L$(prefix)/lib?' \
|
|
-e 's?\@GNOMEUI_LIBS\@?$(GNOMEUI_LIBS)?g' \
|
|
-e 's?\@GNOME_INCLUDEDIR\@?$(GNOME_INCLUDEDIR) -I$(prefix)/include?g' \
|
|
-e 's?\@ORB_LIBS\@?$(ORB_LIBS)?g' \
|
|
< $(srcdir)/ximian_archiverConf.sh.in > ximian_archiverConf.tmp \
|
|
&& mv ximian_archiverConf.tmp ximian_archiverConf.sh
|
|
|
|
|