This commit is contained in:
defnax 2025-09-17 19:44:25 +00:00 committed by GitHub
commit ca7cf3036f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 26 additions and 24 deletions

View file

@ -30,7 +30,9 @@ in the aim of creating packages for the supported platforms (and more)
in the [build_scripts](https://github.com/RetroShare/RetroShare/tree/master/build_scripts) directory of this repository. in the [build_scripts](https://github.com/RetroShare/RetroShare/tree/master/build_scripts) directory of this repository.
## Compilation on Windows ## Compilation on Windows
Follow this file : [WindowsMSys2_InstallGuide.md](https://github.com/RetroShare/RetroShare/blob/master/build_scripts/Windows-msys2/WindowsMSys2_InstallGuide.md) Follow this file : [WindowsMSys2_InstallGuide](https://github.com/RetroShare/RetroShare/blob/master/build_scripts/Windows-msys2/WindowsMSys2_InstallGuide.md)
With QtCreator : [Windows-QtCreator-InstallGuide](https://github.com/RetroShare/RetroShare/blob/master/build_scripts/Windows/Windows-QtCreator-InstallGuide.md)
## Compilation on MacOSX ## Compilation on MacOSX

View file

@ -3,15 +3,15 @@
### Install package dependencies: ### Install package dependencies:
#### Debian/Ubuntu #### Debian / Ubuntu / Linux Mint
```bash ```bash
sudo apt-get install g++ cmake libbz2-dev libjson-c-dev libssl-dev libsqlcipher-dev \ sudo apt-get install git g++ cmake libbz2-dev libjson-c-dev libssl-dev libsqlcipher-dev \
libupnp-dev libxss-dev rapidjson-dev libbotan-2-dev libasio-dev libupnp-dev doxygen libxss-dev rapidjson-dev libbotan-2-dev libasio-dev
``` ```
To compile with Qt5: To compile with Qt5:
```bash ```bash
sudo apt-get install qt5-qmake qtmultimedia5-dev qt6-5compat-dev libqt5x11extras5-dev sudo apt-get install qt5-qmake qtmultimedia5-dev libqt5x11extras5-dev
``` ```
To compile with Qt6: To compile with Qt6:
@ -54,17 +54,15 @@ Additional dependencies for plugins:
libxslt-devel speex-devel speexdsp-devel libxslt-devel speex-devel speexdsp-devel
``` ```
#### Linux Mint #### Arch Linux / Manjaro / EndeavourOS
```bash ```bash
sudo apt-get install git g++ cmake qt5-qmake qtmultimedia5-dev \ sudo pacman -S base-devel libgnome-keyring cmake qt5-tools qt5-multimedia qt5-x11extras \
libqt5x11extras5-dev libupnp-dev libxss-dev libssl-dev libsqlcipher-dev \ rapidjson doxygen libupnp libxslt libxss sqlcipher botan2 bzip2 json-c
rapidjson-dev doxygen libbz2-dev libjson-c-dev libbotan-2-dev libasio-dev
``` ```
#### Arch Linux To compile with Qt6:
```bash ```bash
pacman -S base-devel libgnome-keyring cmake qt5-tools qt5-multimedia qt5-x11extras \ sudo pacman -S qt6-base qt6-multimedia qt6-5compat
rapidjson libupnp libxslt libxss sqlcipher botan2 bzip2 json-c
``` ```
### Checkout the source code ### Checkout the source code
@ -88,7 +86,7 @@ Additional dependencies for plugins:
The executable produced will be: The executable produced will be:
```bash ```bash
./retroshare-gui/src/retroshare ./retroshare-gui/src/retroshare
``` ```
### Install ### Install
@ -98,7 +96,7 @@ The executable produced will be:
The executable produced will be: The executable produced will be:
```bash ```bash
~/usr/bin/RetroShare ~/usr/bin/RetroShare
``` ```
### For packagers ### For packagers
@ -135,6 +133,8 @@ You need to place sqlcipher so that the hierarchy is:
### Build infos ### Build infos
Note: If you installed Qt6 you need to use `qmake6` on the command line.
For the `FeedReader` it is required to append the config option `CONFIG+=retroshare_plugins`. For the `FeedReader` it is required to append the config option `CONFIG+=retroshare_plugins`.
Make sure `plugins/plugins.pro` contains `FeedReader` in the list of plugins to compile. Make sure `plugins/plugins.pro` contains `FeedReader` in the list of plugins to compile.
@ -162,10 +162,9 @@ For `Autologin` it is required to append the config option `CONFIG+=rs_autologin
* rs_deep_files_index: build with deep file indexing support * rs_deep_files_index: build with deep file indexing support
* "CONFIG+=..." enable other extra compile time features, you can find the almost complete list in file *<sourcefolder>\retroshare.pri* * "CONFIG+=..." enable other extra compile time features, you can find the almost complete list in file *<sourcefolder>\retroshare.pri*
Example: ### Examples:
```batch ```batch
qmake CONFIG-=debug CONFIG+=release CONFIG+=rs_use_native_dialog CONFIG+=rs_gui_cmark qmake CONFIG+=debug CONFIG+=release CONFIG+=rs_use_native_dialog CONFIG+=rs_gui_cmark
qmake CONFIG+=rs_jsonapi CONFIG+=rs_webui CONFIG+=rs_autologin qmake CONFIG+=rs_jsonapi CONFIG+=rs_webui CONFIG+=rs_autologin
qmake CONFIG+=rs_deep_channels_index CONFIG += gxsthewire CONFIG += wikipoos
``` ```

View file

@ -5,9 +5,9 @@
### Install package dependencies: ### Install package dependencies:
#### RedHat/Fedora #### RedHat/Fedora
```bash ```bash
sudo dnf install mesa-libGL-devel gcc cmake rapidjson-devel \ sudo dnf install mesa-libGL-devel gcc cmake rapidjson-devel \
libupnp openssl sqlcipher sqlcipher-devel \ libupnp openssl sqlcipher sqlcipher-devel \
botan2 botan2-devel json-c-devel bzip2-devel asio-devel libsecret libXScrnSaver-devel botan2 botan2-devel json-c-devel bzip2-devel asio-devel libsecret libXScrnSaver-devel
``` ```
To compile with Qt5: To compile with Qt5:
@ -46,7 +46,7 @@ Additional dependencies for Feedreader plugin:
The executable produced will be: The executable produced will be:
```bash ```bash
./retroshare-gui/src/retroshare ./retroshare-gui/src/retroshare
``` ```
### Install ### Install
@ -56,7 +56,7 @@ The executable produced will be:
The executable produced will be: The executable produced will be:
```bash ```bash
~/usr/bin/RetroShare ~/usr/bin/RetroShare
``` ```
### For packagers ### For packagers
@ -92,6 +92,8 @@ You need to place sqlcipher so that the hierarchy is:
### Build infos ### Build infos
Note: If you installed Qt6 you need to use `qmake6` on the command line.
For the `FeedReader` it is required to append the config option `CONFIG+=retroshare_plugins`. For the `FeedReader` it is required to append the config option `CONFIG+=retroshare_plugins`.
Make sure `plugins/plugins.pro` contains `FeedReader` in the list of plugins to compile. Make sure `plugins/plugins.pro` contains `FeedReader` in the list of plugins to compile.
@ -122,7 +124,6 @@ For `Autologin` it is required to append the config option `CONFIG+=rs_autologin
Example: Example:
```batch ```batch
qmake CONFIG-=debug CONFIG+=release CONFIG+=rs_use_native_dialog CONFIG+=rs_gui_cmark qmake CONFIG+=debug CONFIG+=release CONFIG+=rs_use_native_dialog CONFIG+=rs_gui_cmark
qmake CONFIG+=rs_jsonapi CONFIG+=rs_webui CONFIG+=rs_autologin qmake CONFIG+=rs_jsonapi CONFIG+=rs_webui CONFIG+=rs_autologin
qmake CONFIG+=rs_deep_channels_index CONFIG += gxsthewire CONFIG += wikipoos
``` ```