@Tio so
../share/icons/
instead of
/usr/share/icons/
?
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.062054 |
First Submitted: | 2007-10-03 20:41 (UTC) |
Last Updated: | 2023-12-02 22:20 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 19 Next › Last »
@Tio so
../share/icons/
instead of
/usr/share/icons/
?
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!
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
@seharf Thanks for the quick fix, successfully compiled and installed :)
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.
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);
| ^~~~~~~~~~~~~~~~~
Thanks for reporting, should be fixed now.
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
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
At line 68 if $_plugin_lua4rs
is true then it must also append a element to sha256sums
.
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.