Package Details: retroshare 0.6.7.2-1

Git Clone URL: https://aur.archlinux.org/retroshare.git (read-only, click to copy)
Package Base: retroshare
Description: Serverless encrypted instant messenger with filesharing, chatgroups, e-mail.
Upstream URL: https://github.com/retroshare/retroshare
Keywords: i2p retroshare tor
Licenses: AGPL3
Submitter: None
Maintainer: xiota
Last Packager: xiota
Votes: 166
Popularity: 0.063321
First Submitted: 2007-10-03 20:41 (UTC)
Last Updated: 2023-12-02 22:20 (UTC)

Pinned Comments

xiota commented on 2023-11-25 21:01 (UTC) (edited on 2023-11-27 19:54 (UTC) by xiota)

Lettered releases will be skipped, except for special cases. When flagging such releases, briefly explain (in the flag) why it should be considered and whether you have already successfully built it.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 19 Next › Last »

sehraf commented on 2020-12-06 15:44 (UTC) (edited on 2020-12-06 15:44 (UTC) by sehraf)

@Tio so

../share/icons/

instead of

/usr/share/icons/

?

Tio commented on 2020-12-06 14:39 (UTC)

Can you please make the icon path as relative? We are making custom icons for Linux and we can't deal with these non-relative paths. Thanks!

fmorgner commented on 2020-10-12 19:38 (UTC) (edited on 2020-10-12 19:39 (UTC) by fmorgner)

The latest version of libupnp seems to be incompatible. A possible solution is to switch to miniupnpc:

diff --git a/PKGBUILD b/PKGBUILD
index 3407b0e..e221601 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -30,12 +30,12 @@

 pkgname=retroshare
 pkgver=0.6.5
-pkgrel=1
+pkgrel=2
 pkgdesc="Serverless encrypted instant messenger with filesharing, chatgroups, e-mail."
 arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
 url='http://retroshare.cc/'
 license=('GPL2')
-depends=('qt5-multimedia' 'qt5-x11extras' 'libupnp' 'libxss' 'sqlcipher') # 'libmicrohttpd'
+depends=('qt5-multimedia' 'qt5-x11extras' 'miniupnpc' 'libxss' 'sqlcipher') # 'libmicrohttpd'
 makedepends=('git' 'qt5-tools')
 optdepends=('tor: tor hidden node support'
             'i2p: i2p hidden node support')
@@ -101,6 +101,7 @@ build() {
        CONFIG+=no_libresapihttpserver \
        QMAKE_CFLAGS_RELEASE="${CFLAGS}" \
        QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}" \
+       'RS_UPNP_LIB="miniupnpc"' \
        RetroShare.pro
    # workaround
    make || make

TheDcoder commented on 2020-08-17 19:11 (UTC)

@seharf Thanks for the quick fix, successfully compiled and installed :)

sehraf commented on 2020-08-17 18:51 (UTC)

Thanks for reporting, on the first look it seems like libmicrohttp is not compatible anymore. I've disabled the code related to it. This will obviously break jasonapi support.

TheDcoder commented on 2020-08-17 17:08 (UTC)

Fresh build is failing for me with no customization:

api/ApiServerMHD.cpp: In function ‘void resource_api::secure_queue_response(MHD_Connection*, unsigned int, MHD_Response*)’:
api/ApiServerMHD.cpp:400:60: error: invalid conversion from ‘int (*)(void*, MHD_ValueKind, const char*, const char*)’ to ‘MHD_KeyValueIterator’ {aka ‘MHD_Result (*)(void*, MHD_ValueKind, const char*, const char*)’} [-fpermissive]
  400 |     MHD_get_connection_values(connection, MHD_HEADER_KIND, _extract_host_header_it_cb, (void*)&host);
      |                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                            |
      |                                                            int (*)(void*, MHD_ValueKind, const char*, const char*)
In file included from api/ApiServerMHD.h:28,
                 from api/ApiServerMHD.cpp:22:
/usr/include/microhttpd.h:2699:49: note:   initializing argument 3 of ‘int MHD_get_connection_values(MHD_Connection*, MHD_ValueKind, MHD_KeyValueIterator, void*)’
 2699 |                            MHD_KeyValueIterator iterator,
      |                            ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
api/ApiServerMHD.cpp: In member function ‘bool resource_api::ApiServerMHD::start()’:
api/ApiServerMHD.cpp:500:32: error: invalid conversion from ‘int (*)(void*, const sockaddr*, socklen_t)’ {aka ‘int (*)(void*, const sockaddr*, unsigned int)’} to ‘MHD_AcceptPolicyCallback’ {aka ‘MHD_Result (*)(void*, const sockaddr*, unsigned int)’} [-fpermissive]
  500 |                                &static_acceptPolicyCallback, this,
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                |
      |                                int (*)(void*, const sockaddr*, socklen_t) {aka int (*)(void*, const sockaddr*, unsigned int)}
In file included from api/ApiServerMHD.h:28,
                 from api/ApiServerMHD.cpp:22:
/usr/include/microhttpd.h:2427:44: note:   initializing argument 3 of ‘MHD_Daemon* MHD_start_daemon(unsigned int, uint16_t, MHD_AcceptPolicyCallback, void*, MHD_AccessHandlerCallback, void*, ...)’
 2427 |                   MHD_AcceptPolicyCallback apc, void *apc_cls,
      |                   ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
api/ApiServerMHD.cpp:501:32: error: invalid conversion from ‘int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, size_t*, void**)’ {aka ‘int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, long unsigned int*, void**)’} to ‘MHD_AccessHandlerCallback’ {aka ‘MHD_Result (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, long unsigned int*, void**)’} [-fpermissive]
  501 |                                &static_accessHandlerCallback, this,
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                |
      |                                int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, size_t*, void**) {aka int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, long unsigned int*, void**)}
In file included from api/ApiServerMHD.h:28,
                 from api/ApiServerMHD.cpp:22:
/usr/include/microhttpd.h:2428:45: note:   initializing argument 5 of ‘MHD_Daemon* MHD_start_daemon(unsigned int, uint16_t, MHD_AcceptPolicyCallback, void*, MHD_AccessHandlerCallback, void*, ...)’
 2428 |                   MHD_AccessHandlerCallback dh, void *dh_cls,
      |                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
api/ChatHandler.cpp: In member function ‘void resource_api::ChatHandler::handleMarkChatAsRead(resource_api::Request&, resource_api::Response&)’:
api/ChatHandler.cpp:1241:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
 1241 |     if(id.isPeerId() && mUnreadMsgNotify)
      |     ^~
api/ChatHandler.cpp:1244:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
 1244 |  mStateTokenServer->replaceToken(mMsgStateToken);
      |  ^~~~~~~~~~~~~~~~~

sehraf commented on 2020-06-22 18:47 (UTC)

Thanks for reporting, should be fixed now.

Traace commented on 2020-06-21 11:38 (UTC) (edited on 2020-06-24 14:32 (UTC) by Traace)

This application doesn't build for me. (gcc10)

Edit: @sehraf thanks for the quick fix, it builds just fine now :)


gui/gxs/GxsIdDetails.cpp:753:16: error: aggregate ‘QPainterPath path’ has incomplete type and cannot be defined
  753 |   QPainterPath path;
      |                ^~~~
gui/gxs/GxsCommentTreeWidget.cpp: In member function ‘virtual void MultiLinesCommentDelegate::paint(QPainter*, const QStyleOptionViewItem&, const QModelIndex&) const’:
gui/gxs/GxsCommentTreeWidget.cpp:109:22: error: aggregate ‘QPainterPath path’ has incomplete type and cannot be defined
  109 |         QPainterPath path ;
      |                      ^~~~

make[1]: [Makefile.retroshare-gui:20115: temp/linux-g++/obj/GxsCommentTreeWidget.o] Error 1 make[1]: Waiting for unfinished jobs.... make[1]: *** [Makefile.retroshare-gui:19794: temp/linux-g++/obj/GxsIdDetails.o] Error 1

sehraf commented on 2020-03-27 22:02 (UTC)

This happens a few line later:

# Handle unofficial plugins
if [[ "$_plugin_lua4rs" == 'true' ]] ; then
    depends=(${depends[@]} 'lua')
    source=(${source[@]} 'Lua4RS::git+https://github.com/RetroShare/Lua4RS.git')
    sha256sums=(${sha256sums[@]} 'SKIP')
fi

hhirtz commented on 2020-03-27 13:04 (UTC)

At line 68 if $_plugin_lua4rs is true then it must also append a element to sha256sums.