From 78ca990b9fb6df444c2b5f60ab1b0ec5b634356a Mon Sep 17 00:00:00 2001 From: randomdan Date: Thu, 11 Sep 2014 19:16:30 +0000 Subject: Match the new Slicer interface --- netfs/Jamfile.jam | 6 +++--- netfs/daemon/Jamfile.jam | 1 + netfs/daemon/daemon.cpp | 2 +- netfs/fuse/Jamfile.jam | 1 + netfs/fuse/fuse.cpp | 2 +- 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/netfs/Jamfile.jam b/netfs/Jamfile.jam index ec53ba6..d006225 100644 --- a/netfs/Jamfile.jam +++ b/netfs/Jamfile.jam @@ -1,8 +1,8 @@ import package ; -alias libxml2 : : : : - "`pkg-config --cflags libxml-2.0`" - "`pkg-config --libs libxml-2.0`" ; +alias libxmlpp : : : : + "`pkg-config --cflags libxml++-2.6`" + "`pkg-config --libs libxml++-2.6`" ; lib boost_regex : : boost_regex ; lib boost_filesystem : : boost_filesystem ; diff --git a/netfs/daemon/Jamfile.jam b/netfs/daemon/Jamfile.jam index 766c9a5..fd8c463 100644 --- a/netfs/daemon/Jamfile.jam +++ b/netfs/daemon/Jamfile.jam @@ -48,6 +48,7 @@ lib netfsd : ..//Ice ..//IceUtil ..//IceBox + ..//libxmlpp slicer-xml ; diff --git a/netfs/daemon/daemon.cpp b/netfs/daemon/daemon.cpp index 13ccab7..14dd26b 100644 --- a/netfs/daemon/daemon.cpp +++ b/netfs/daemon/daemon.cpp @@ -34,7 +34,7 @@ void NetFSDaemon::LoadConfiguration(const boost::filesystem::path & path) { dc = new NetFS::Daemon::RuntimeConfiguration(); - dc->CurrentConfiguration = Slicer::Deserialize(path); + dc->CurrentConfiguration = Slicer::Deserialize(path); auto selfItr = dc->CurrentConfiguration->Hosts.find(hostname()); if (selfItr == dc->CurrentConfiguration->Hosts.end()) { throw std::runtime_error("This host is not defined in the configuration."); diff --git a/netfs/fuse/Jamfile.jam b/netfs/fuse/Jamfile.jam index 8814a9d..8223aa7 100644 --- a/netfs/fuse/Jamfile.jam +++ b/netfs/fuse/Jamfile.jam @@ -47,6 +47,7 @@ exe netfs : ..//IceUtil ..//pthread slicer + ..//libxmlpp slicer-xml ; diff --git a/netfs/fuse/fuse.cpp b/netfs/fuse/fuse.cpp index c0aca45..ac0d0d7 100644 --- a/netfs/fuse/fuse.cpp +++ b/netfs/fuse/fuse.cpp @@ -37,7 +37,7 @@ void * NetFS::FuseApp::init(struct fuse_conn_info *) { ic = Ice::initialize(_argc, _argv); - fc = Slicer::Deserialize(configPath); + fc = Slicer::Deserialize(configPath); return NULL; } -- cgit v1.2.3