mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Disable compiling of wikis in libretroshare
It is disabled in the gui anyway
This commit is contained in:
parent
1f134d3431
commit
2bf81be6a7
@ -778,21 +778,25 @@ SOURCES += services/p3gxschannels.cc \
|
|||||||
serialiser/rsgxscommentitems.cc \
|
serialiser/rsgxscommentitems.cc \
|
||||||
serialiser/rsgxschannelitems.cc \
|
serialiser/rsgxschannelitems.cc \
|
||||||
|
|
||||||
# Wiki Service
|
wikipoos {
|
||||||
HEADERS += retroshare/rswiki.h \
|
# Wiki Service
|
||||||
services/p3wiki.h \
|
HEADERS += retroshare/rswiki.h \
|
||||||
serialiser/rswikiitems.h
|
services/p3wiki.h \
|
||||||
|
serialiser/rswikiitems.h
|
||||||
|
|
||||||
SOURCES += services/p3wiki.cc \
|
SOURCES += services/p3wiki.cc \
|
||||||
serialiser/rswikiitems.cc \
|
serialiser/rswikiitems.cc \
|
||||||
|
}
|
||||||
|
|
||||||
# Wire Service
|
gxsthewire {
|
||||||
HEADERS += retroshare/rswire.h \
|
# Wire Service
|
||||||
services/p3wire.h \
|
HEADERS += retroshare/rswire.h \
|
||||||
serialiser/rswireitems.h
|
services/p3wire.h \
|
||||||
|
serialiser/rswireitems.h
|
||||||
|
|
||||||
SOURCES += services/p3wire.cc \
|
SOURCES += services/p3wire.cc \
|
||||||
serialiser/rswireitems.cc \
|
serialiser/rswireitems.cc \
|
||||||
|
}
|
||||||
|
|
||||||
# Posted Service
|
# Posted Service
|
||||||
HEADERS += services/p3postbase.h \
|
HEADERS += services/p3postbase.h \
|
||||||
@ -804,13 +808,15 @@ SOURCES += services/p3postbase.cc \
|
|||||||
services/p3posted.cc \
|
services/p3posted.cc \
|
||||||
serialiser/rsposteditems.cc
|
serialiser/rsposteditems.cc
|
||||||
|
|
||||||
#Photo Service
|
gxsphotoshare {
|
||||||
HEADERS += services/p3photoservice.h \
|
#Photo Service
|
||||||
retroshare/rsphoto.h \
|
HEADERS += services/p3photoservice.h \
|
||||||
serialiser/rsphotoitems.h \
|
retroshare/rsphoto.h \
|
||||||
|
serialiser/rsphotoitems.h \
|
||||||
|
|
||||||
SOURCES += services/p3photoservice.cc \
|
SOURCES += services/p3photoservice.cc \
|
||||||
serialiser/rsphotoitems.cc \
|
serialiser/rsphotoitems.cc \
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1364,9 +1364,9 @@ int RsServer::StartupRetroShare()
|
|||||||
RS_SERVICE_GXS_TYPE_WIKI,
|
RS_SERVICE_GXS_TYPE_WIKI,
|
||||||
NULL, rsInitConfig->gxs_passwd);
|
NULL, rsInitConfig->gxs_passwd);
|
||||||
|
|
||||||
|
#ifdef RS_USE_WIKI
|
||||||
p3Wiki *mWiki = new p3Wiki(wiki_ds, NULL, mGxsIdService);
|
p3Wiki *mWiki = new p3Wiki(wiki_ds, NULL, mGxsIdService);
|
||||||
|
// create GXS wiki service
|
||||||
// create GXS photo service
|
|
||||||
RsGxsNetService* wiki_ns = new RsGxsNetService(
|
RsGxsNetService* wiki_ns = new RsGxsNetService(
|
||||||
RS_SERVICE_GXS_TYPE_WIKI, wiki_ds, nxsMgr,
|
RS_SERVICE_GXS_TYPE_WIKI, wiki_ds, nxsMgr,
|
||||||
mWiki, mWiki->getServiceInfo(),
|
mWiki, mWiki->getServiceInfo(),
|
||||||
@ -1374,6 +1374,7 @@ int RsServer::StartupRetroShare()
|
|||||||
pgpAuxUtils);
|
pgpAuxUtils);
|
||||||
|
|
||||||
mWiki->setNetworkExchangeService(wiki_ns) ;
|
mWiki->setNetworkExchangeService(wiki_ns) ;
|
||||||
|
#endif
|
||||||
|
|
||||||
/**** Forum GXS service ****/
|
/**** Forum GXS service ****/
|
||||||
|
|
||||||
@ -1443,7 +1444,9 @@ int RsServer::StartupRetroShare()
|
|||||||
pqih->addService(gxsid_ns, true);
|
pqih->addService(gxsid_ns, true);
|
||||||
pqih->addService(gxscircles_ns, true);
|
pqih->addService(gxscircles_ns, true);
|
||||||
pqih->addService(posted_ns, true);
|
pqih->addService(posted_ns, true);
|
||||||
|
#ifdef RS_USE_WIKI
|
||||||
pqih->addService(wiki_ns, true);
|
pqih->addService(wiki_ns, true);
|
||||||
|
#endif
|
||||||
pqih->addService(gxsforums_ns, true);
|
pqih->addService(gxsforums_ns, true);
|
||||||
pqih->addService(gxschannels_ns, true);
|
pqih->addService(gxschannels_ns, true);
|
||||||
//pqih->addService(photo_ns, true);
|
//pqih->addService(photo_ns, true);
|
||||||
@ -1619,7 +1622,9 @@ int RsServer::StartupRetroShare()
|
|||||||
mConfigMgr->addConfiguration("gxschannels.cfg", gxschannels_ns);
|
mConfigMgr->addConfiguration("gxschannels.cfg", gxschannels_ns);
|
||||||
mConfigMgr->addConfiguration("gxscircles.cfg", gxscircles_ns);
|
mConfigMgr->addConfiguration("gxscircles.cfg", gxscircles_ns);
|
||||||
mConfigMgr->addConfiguration("posted.cfg", posted_ns);
|
mConfigMgr->addConfiguration("posted.cfg", posted_ns);
|
||||||
|
#ifdef RS_USE_WIKI
|
||||||
mConfigMgr->addConfiguration("wiki.cfg", wiki_ns);
|
mConfigMgr->addConfiguration("wiki.cfg", wiki_ns);
|
||||||
|
#endif
|
||||||
//mConfigMgr->addConfiguration("photo.cfg", photo_ns);
|
//mConfigMgr->addConfiguration("photo.cfg", photo_ns);
|
||||||
//mConfigMgr->addConfiguration("wire.cfg", wire_ns);
|
//mConfigMgr->addConfiguration("wire.cfg", wire_ns);
|
||||||
#endif
|
#endif
|
||||||
@ -1728,7 +1733,9 @@ int RsServer::StartupRetroShare()
|
|||||||
// Must Set the GXS pointers before starting threads.
|
// Must Set the GXS pointers before starting threads.
|
||||||
rsIdentity = mGxsIdService;
|
rsIdentity = mGxsIdService;
|
||||||
rsGxsCircles = mGxsCircles;
|
rsGxsCircles = mGxsCircles;
|
||||||
|
#if RS_USE_WIKI
|
||||||
rsWiki = mWiki;
|
rsWiki = mWiki;
|
||||||
|
#endif
|
||||||
rsPosted = mPosted;
|
rsPosted = mPosted;
|
||||||
rsGxsForums = mGxsForums;
|
rsGxsForums = mGxsForums;
|
||||||
rsGxsChannels = mGxsChannels;
|
rsGxsChannels = mGxsChannels;
|
||||||
@ -1739,7 +1746,9 @@ int RsServer::StartupRetroShare()
|
|||||||
startServiceThread(mGxsIdService);
|
startServiceThread(mGxsIdService);
|
||||||
startServiceThread(mGxsCircles);
|
startServiceThread(mGxsCircles);
|
||||||
startServiceThread(mPosted);
|
startServiceThread(mPosted);
|
||||||
|
#if RS_USE_WIKI
|
||||||
startServiceThread(mWiki);
|
startServiceThread(mWiki);
|
||||||
|
#endif
|
||||||
startServiceThread(mGxsForums);
|
startServiceThread(mGxsForums);
|
||||||
startServiceThread(mGxsChannels);
|
startServiceThread(mGxsChannels);
|
||||||
|
|
||||||
@ -1750,7 +1759,9 @@ int RsServer::StartupRetroShare()
|
|||||||
startServiceThread(gxsid_ns);
|
startServiceThread(gxsid_ns);
|
||||||
startServiceThread(gxscircles_ns);
|
startServiceThread(gxscircles_ns);
|
||||||
startServiceThread(posted_ns);
|
startServiceThread(posted_ns);
|
||||||
|
#if RS_USE_WIKI
|
||||||
startServiceThread(wiki_ns);
|
startServiceThread(wiki_ns);
|
||||||
|
#endif
|
||||||
startServiceThread(gxsforums_ns);
|
startServiceThread(gxsforums_ns);
|
||||||
startServiceThread(gxschannels_ns);
|
startServiceThread(gxschannels_ns);
|
||||||
|
|
||||||
|
@ -1108,7 +1108,8 @@ wikipoos {
|
|||||||
HEADERS += gui/WikiPoos/WikiDialog.h \
|
HEADERS += gui/WikiPoos/WikiDialog.h \
|
||||||
gui/WikiPoos/WikiAddDialog.h \
|
gui/WikiPoos/WikiAddDialog.h \
|
||||||
gui/WikiPoos/WikiEditDialog.h \
|
gui/WikiPoos/WikiEditDialog.h \
|
||||||
|
gui/gxs/WikiGroupDialog.h \
|
||||||
|
|
||||||
FORMS += gui/WikiPoos/WikiDialog.ui \
|
FORMS += gui/WikiPoos/WikiDialog.ui \
|
||||||
gui/WikiPoos/WikiAddDialog.ui \
|
gui/WikiPoos/WikiAddDialog.ui \
|
||||||
gui/WikiPoos/WikiEditDialog.ui \
|
gui/WikiPoos/WikiEditDialog.ui \
|
||||||
@ -1116,10 +1117,10 @@ wikipoos {
|
|||||||
SOURCES += gui/WikiPoos/WikiDialog.cpp \
|
SOURCES += gui/WikiPoos/WikiDialog.cpp \
|
||||||
gui/WikiPoos/WikiAddDialog.cpp \
|
gui/WikiPoos/WikiAddDialog.cpp \
|
||||||
gui/WikiPoos/WikiEditDialog.cpp \
|
gui/WikiPoos/WikiEditDialog.cpp \
|
||||||
|
gui/gxs/WikiGroupDialog.cpp \
|
||||||
|
|
||||||
RESOURCES += gui/WikiPoos/Wiki_images.qrc
|
RESOURCES += gui/WikiPoos/Wiki_images.qrc
|
||||||
|
|
||||||
DEFINES *= RS_USE_WIKI
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -1293,7 +1294,6 @@ posted {
|
|||||||
gxsgui {
|
gxsgui {
|
||||||
|
|
||||||
HEADERS += gui/gxs/GxsGroupDialog.h \
|
HEADERS += gui/gxs/GxsGroupDialog.h \
|
||||||
gui/gxs/WikiGroupDialog.h \
|
|
||||||
gui/gxs/GxsIdDetails.h \
|
gui/gxs/GxsIdDetails.h \
|
||||||
gui/gxs/GxsIdChooser.h \
|
gui/gxs/GxsIdChooser.h \
|
||||||
gui/gxs/GxsIdLabel.h \
|
gui/gxs/GxsIdLabel.h \
|
||||||
@ -1330,7 +1330,6 @@ gxsgui {
|
|||||||
# gui/gxs/GxsCommentTreeWidget.ui
|
# gui/gxs/GxsCommentTreeWidget.ui
|
||||||
|
|
||||||
SOURCES += gui/gxs/GxsGroupDialog.cpp \
|
SOURCES += gui/gxs/GxsGroupDialog.cpp \
|
||||||
gui/gxs/WikiGroupDialog.cpp \
|
|
||||||
gui/gxs/GxsIdDetails.cpp \
|
gui/gxs/GxsIdDetails.cpp \
|
||||||
gui/gxs/GxsIdChooser.cpp \
|
gui/gxs/GxsIdChooser.cpp \
|
||||||
gui/gxs/GxsIdLabel.cpp \
|
gui/gxs/GxsIdLabel.cpp \
|
||||||
|
@ -15,3 +15,5 @@ unfinished {
|
|||||||
CONFIG += gxsphotoshare
|
CONFIG += gxsphotoshare
|
||||||
CONFIG += wikipoos
|
CONFIG += wikipoos
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wikipoos:DEFINES *= RS_USE_WIKI
|
||||||
|
Loading…
Reference in New Issue
Block a user