Remove gxs CONFIG, it's always enabled now anyways

This commit is contained in:
AsamK 2015-09-04 17:48:20 +02:00
parent 4e917ea26c
commit 1f134d3431
4 changed files with 107 additions and 123 deletions

View File

@ -7,11 +7,6 @@ CONFIG -= qt
TARGET = retroshare TARGET = retroshare
TARGET_PRL = libretroshare TARGET_PRL = libretroshare
#GXS Stuff.
# This should be disabled for releases until further notice.
CONFIG += gxs
#CONFIG += dsdv #CONFIG += dsdv
profiling { profiling {
@ -696,12 +691,10 @@ SOURCES += zeroconf/p3zcnatassist.cc \
# new gxs cache system # new gxs cache system
# this should be disabled for releases until further notice. # this should be disabled for releases until further notice.
gxs { DEFINES *= SQLITE_HAS_CODEC
DEFINES *= RS_ENABLE_GXS DEFINES *= GXS_ENABLE_SYNC_MSGS
DEFINES *= SQLITE_HAS_CODEC
DEFINES *= GXS_ENABLE_SYNC_MSGS
HEADERS += serialiser/rsnxsitems.h \ HEADERS += serialiser/rsnxsitems.h \
gxs/rsgds.h \ gxs/rsgds.h \
gxs/rsgxs.h \ gxs/rsgxs.h \
gxs/rsdataservice.h \ gxs/rsdataservice.h \
@ -727,7 +720,7 @@ gxs {
gxs/rsgxsrequesttypes.h gxs/rsgxsrequesttypes.h
SOURCES += serialiser/rsnxsitems.cc \ SOURCES += serialiser/rsnxsitems.cc \
gxs/rsdataservice.cc \ gxs/rsdataservice.cc \
gxs/rsgenexchange.cc \ gxs/rsgenexchange.cc \
gxs/rsgxsnetservice.cc \ gxs/rsgxsnetservice.cc \
@ -744,81 +737,80 @@ gxs {
gxs/rsgxsrequesttypes.cc gxs/rsgxsrequesttypes.cc
# Identity Service # Identity Service
HEADERS += retroshare/rsidentity.h \ HEADERS += retroshare/rsidentity.h \
gxs/rsgixs.h \ gxs/rsgixs.h \
services/p3idservice.h \ services/p3idservice.h \
serialiser/rsgxsiditems.h \ serialiser/rsgxsiditems.h \
services/p3gxsreputation.h \ services/p3gxsreputation.h \
serialiser/rsgxsreputationitems.h \ serialiser/rsgxsreputationitems.h \
SOURCES += services/p3idservice.cc \ SOURCES += services/p3idservice.cc \
serialiser/rsgxsiditems.cc \ serialiser/rsgxsiditems.cc \
services/p3gxsreputation.cc \ services/p3gxsreputation.cc \
serialiser/rsgxsreputationitems.cc \ serialiser/rsgxsreputationitems.cc \
# GxsCircles Service # GxsCircles Service
HEADERS += services/p3gxscircles.h \ HEADERS += services/p3gxscircles.h \
serialiser/rsgxscircleitems.h \ serialiser/rsgxscircleitems.h \
retroshare/rsgxscircles.h \ retroshare/rsgxscircles.h \
SOURCES += services/p3gxscircles.cc \ SOURCES += services/p3gxscircles.cc \
serialiser/rsgxscircleitems.cc \ serialiser/rsgxscircleitems.cc \
# GxsForums Service # GxsForums Service
HEADERS += retroshare/rsgxsforums.h \ HEADERS += retroshare/rsgxsforums.h \
services/p3gxsforums.h \ services/p3gxsforums.h \
serialiser/rsgxsforumitems.h serialiser/rsgxsforumitems.h
SOURCES += services/p3gxsforums.cc \ SOURCES += services/p3gxsforums.cc \
serialiser/rsgxsforumitems.cc \ serialiser/rsgxsforumitems.cc \
# GxsChannels Service # GxsChannels Service
HEADERS += retroshare/rsgxschannels.h \ HEADERS += retroshare/rsgxschannels.h \
services/p3gxschannels.h \ services/p3gxschannels.h \
services/p3gxscommon.h \ services/p3gxscommon.h \
serialiser/rsgxscommentitems.h \ serialiser/rsgxscommentitems.h \
serialiser/rsgxschannelitems.h \ serialiser/rsgxschannelitems.h \
SOURCES += services/p3gxschannels.cc \ SOURCES += services/p3gxschannels.cc \
services/p3gxscommon.cc \ services/p3gxscommon.cc \
serialiser/rsgxscommentitems.cc \ serialiser/rsgxscommentitems.cc \
serialiser/rsgxschannelitems.cc \ serialiser/rsgxschannelitems.cc \
# Wiki Service # Wiki Service
HEADERS += retroshare/rswiki.h \ HEADERS += retroshare/rswiki.h \
services/p3wiki.h \ services/p3wiki.h \
serialiser/rswikiitems.h serialiser/rswikiitems.h
SOURCES += services/p3wiki.cc \ SOURCES += services/p3wiki.cc \
serialiser/rswikiitems.cc \ serialiser/rswikiitems.cc \
# Wire Service # Wire Service
HEADERS += retroshare/rswire.h \ HEADERS += retroshare/rswire.h \
services/p3wire.h \ services/p3wire.h \
serialiser/rswireitems.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 \
services/p3posted.h \ services/p3posted.h \
retroshare/rsposted.h \ retroshare/rsposted.h \
serialiser/rsposteditems.h serialiser/rsposteditems.h
SOURCES += services/p3postbase.cc \ SOURCES += services/p3postbase.cc \
services/p3posted.cc \ services/p3posted.cc \
serialiser/rsposteditems.cc serialiser/rsposteditems.cc
#Photo Service #Photo Service
HEADERS += services/p3photoservice.h \ HEADERS += services/p3photoservice.h \
retroshare/rsphoto.h \ retroshare/rsphoto.h \
serialiser/rsphotoitems.h \ serialiser/rsphotoitems.h \
SOURCES += services/p3photoservice.cc \ SOURCES += services/p3photoservice.cc \
serialiser/rsphotoitems.cc \ serialiser/rsphotoitems.cc \
}
@ -858,6 +850,3 @@ test_bitdht {
# ENABLED UDP NOW. # ENABLED UDP NOW.
} }

View File

@ -30,10 +30,6 @@ CONFIG += gxschannels
CONFIG += posted CONFIG += posted
CONFIG += gxsgui CONFIG += gxsgui
# Gxs is always enabled now.
DEFINES += RS_ENABLE_GXS
# Other Disabled Bits. # Other Disabled Bits.
#CONFIG += framecatcher #CONFIG += framecatcher
#CONFIG += blogs #CONFIG += blogs

View File

@ -10,10 +10,6 @@ CONFIG += webui
CONFIG -= qt xml gui CONFIG -= qt xml gui
CONFIG += link_prl CONFIG += link_prl
# if you are linking against the libretroshare with gxs.
# this option links against the required sqlite library.
CONFIG += gxs
#CONFIG += debug #CONFIG += debug
debug { debug {
QMAKE_CFLAGS -= -O2 QMAKE_CFLAGS -= -O2

View File

@ -1,3 +1,6 @@
# Gxs is always enabled now.
DEFINES *= RS_ENABLE_GXS
unix { unix {
isEmpty(PREFIX) { PREFIX = "/usr" } isEmpty(PREFIX) { PREFIX = "/usr" }
isEmpty(BIN_DIR) { BIN_DIR = "$${PREFIX}/bin" } isEmpty(BIN_DIR) { BIN_DIR = "$${PREFIX}/bin" }