Skip to content

build(cmake): add options to build the GXS Wiki and The Wire services#317

Open
jolavillette wants to merge 1 commit into
RetroShare:masterfrom
jolavillette:feature/cmake-enable-wire-wiki
Open

build(cmake): add options to build the GXS Wiki and The Wire services#317
jolavillette wants to merge 1 commit into
RetroShare:masterfrom
jolavillette:feature/cmake-enable-wire-wiki

Conversation

@jolavillette

Copy link
Copy Markdown
Contributor

The CMake build never compiled the experimental GXS "Wiki" (WikiPoos) and "The Wire" services: their sources were commented out in src/CMakeLists.txt and no option defined the RS_USE_WIKI / RS_USE_WIRE macros that gate the service instantiation in rsserver/rsinit.cc and the matching GUI code. As a result the retroshare-gui RS_GXSWIKIPOS / RS_GXSTHEWIRE blocks could not be enabled to a working build.

Mirror the qmake "wikipoos" / "gxsthewire" CONFIG switches:

  • Add RS_GXSWIKIPOS and RS_GXSTHEWIRE options (default OFF, as in qmake).
  • Compile the p3wiki/p3wire services, rswikiitems/rswireitems and the rswiki.h/rswire.h public headers when the respective option is enabled.
  • Define RS_USE_WIKI / RS_USE_WIRE PUBLIC so libretroshare consumers see the same guard.

Both features stay OFF by default; they are unmaintained and experimental.

@jolavillette jolavillette force-pushed the feature/cmake-enable-wire-wiki branch 3 times, most recently from 55a616f to 3a985c4 Compare July 7, 2026 22:02
Comment thread src/CMakeLists.txt
#./rsitems/rswikiitems.cc
#./rsitems/rswikiitems.h
#./rsitems/rswireitems.h
# NOTE: rswikiitems / rswireitems sources are added further below in the

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

plz remove this comment. It's not needed anymore since the removed elements are...removed!

The CMake build never compiled the experimental GXS "Wiki" (WikiPoos) and
"The Wire" services: their sources were commented out in src/CMakeLists.txt
and no option defined the RS_USE_WIKI / RS_USE_WIRE macros that gate the
service instantiation in rsserver/rsinit.cc and the matching GUI code. As a
result the retroshare-gui RS_GXSWIKIPOS / RS_GXSTHEWIRE blocks could not be
enabled to a working build.

Mirror the qmake "wikipoos" / "gxsthewire" CONFIG switches:

- Add RS_GXSWIKIPOS and RS_GXSTHEWIRE options (default OFF, as in qmake).
- Compile the p3wiki/p3wire services, rswikiitems/rswireitems and the
  rswiki.h/rswire.h public headers when the respective option is enabled.
- Define RS_USE_WIKI / RS_USE_WIRE PUBLIC so libretroshare consumers see the
  same guard.

Both features stay OFF by default; they are unmaintained and experimental.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@jolavillette jolavillette force-pushed the feature/cmake-enable-wire-wiki branch from 3a985c4 to 5deb4d4 Compare July 8, 2026 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants