Search Criteria
Package Details: linuxdcpp 1.1.0-8
Git Clone URL: | https://aur.archlinux.org/linuxdcpp.git (read-only, click to copy) |
---|---|
Package Base: | linuxdcpp |
Description: | A Gtk+ Direct Connect client based on DC++. |
Upstream URL: | https://launchpad.net/linuxdcpp/ |
Licenses: | |
Conflicts: | |
Submitter: | jelly |
Maintainer: | kaptoxic |
Last Packager: | kaptoxic |
Votes: | 5 |
Popularity: | 0.000000 |
First Submitted: | 2017-03-03 20:33 |
Last Updated: | 2019-02-15 16:14 |
Dependencies (8)
- bzip2 (bzip2-git, bzip2-rustify-git, bzip2-with-lbzip2-symlinks)
- glib2 (glib2-sched-policy, glib2-clear, glib2-quiet, glib2-git, glib2-nodocs-git, glib2-patched-thumbnailer)
- hicolor-icon-theme (hicolor-icon-theme-git)
- libglade
- libnotify (libnotify-gtk2, libnotify-id-git, libnotify-id)
- openssl (libressl-git, openssl-purify, openssl-zlib, openssl-git, openssl-weak-ciphers, openssl-hardened)
- boost (boost-git) (make)
- scons (make)
Latest Comments
jle64 commented on 2020-02-25 03:06
FWIW I got it to build using @lksbhm stuff and a modified CryptoManager.cpp with some stuff removed, but I've no idea of the implications of it so use at your own risk (build with makepkg --skipchecksums as I haven't put them in there):
https://gist.github.com/jle64/71c64a37e6c45b5c63f20892630878f3
lksbhm commented on 2020-02-09 14:32
Now I also needed to patch CryptoManager.cpp for compatibility with OpenSSL 1.1. Updated the PKGBUILD and patch file in rev 3 of my gist: https://gist.github.com/suluke/3047e072f0199ffd75a670db9e5dab4c
lksbhm commented on 2019-11-03 12:15
Updated patch file to make SConstruct compatible with python3: https://gist.github.com/suluke/3047e072f0199ffd75a670db9e5dab4c
Anonymous comment on 2019-09-20 10:46
If you get an error during makepkg,
missing a bracket, this is because Sconstruct file in using python3 (/usr/bin/python in arch linux is python3), however the file was written keeping in mind python2. Just do this
run your make pkg command and then
kaptoxic commented on 2019-02-15 16:17
Thanks! Updated.
barraponto commented on 2019-02-14 13:17
Here's a patched version of the PKGBUILD (patch included): https://gist.github.com/9fa452bd04d32b4336639035683ba65e
mthqwork commented on 2018-06-09 16:05
You have to change 'common' section in SConstruct to look like: 'common' : ['-I#', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', -D_FILE_OFFSET_BITS=64', '-D_REENTRANT', '-std=gnu++98', '-L/usr/lib/openssl-1.0', '-I/usr/include/openssl-1.0'],
And then it builds. PS: You have to have openssl-1.0 installed.
999cgm commented on 2017-03-12 07:01
This patch is needed for gcc6:
--- linuxdcpp-1.1.0/SConstruct.orig 2017-03-12 01:54:08.611708873 -0500
+++ linuxdcpp-1.1.0/SConstruct 2017-03-12 01:56:19.175811992 -0500
@@ -18,7 +18,7 @@
BUILD_LOCALE_PATH = BUILD_PATH + 'locale/'
BUILD_FLAGS = {
- 'common' : ['-I#', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_REENTRANT'],
+ 'common' : ['-I#', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_REENTRANT','-std=gnu++98'],
'debug' : ['-g', '-ggdb', '-Wall', '-D_DEBUG'],
'release' : ['-O3', '-fomit-frame-pointer', '-DNDEBUG']
}
999cgm commented on 2017-03-04 15:46
build fails
g++ -o build/release/libdcpp/BufferedSocket.o -c -O3 -fomit-frame-pointer -pthread -DHAVE_IFADDRS_H -DHAVE_LIBNOTIFY -DHAVE_LIBNOTIFY_0_7 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/BufferedSocket.cpp
In file included from dcpp/BufferedSocket.cpp:22:0:
dcpp/BufferedSocket.h:135:7: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
std::auto_ptr<UnZFilter> filterIn;
^~~~~~~~
In file included from /usr/include/c++/6.3.1/memory:81:0,
from dcpp/stdinc.h:117,
from dcpp/BufferedSocket.cpp:19:
/usr/include/c++/6.3.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from dcpp/BufferedSocket.cpp:22:0:
dcpp/BufferedSocket.h:143:7: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Socket> sock;
^~~~~~~~
In file included from /usr/include/c++/6.3.1/memory:81:0,
from dcpp/stdinc.h:117,
from dcpp/BufferedSocket.cpp:19:
/usr/include/c++/6.3.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from dcpp/BufferedSocket.cpp:22:0:
dcpp/BufferedSocket.h:161:22: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
void setSocket(std::auto_ptr<Socket> s);
^~~~~~~~
In file included from /usr/include/c++/6.3.1/memory:81:0,
from dcpp/stdinc.h:117,
from dcpp/BufferedSocket.cpp:19:
/usr/include/c++/6.3.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
dcpp/BufferedSocket.cpp: In member function 'void dcpp::BufferedSocket::setMode(dcpp::BufferedSocket::Modes, size_t)':
dcpp/BufferedSocket.cpp:63:20: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
filterIn = std::auto_ptr<UnZFilter>(new UnZFilter);
^~~~~~~~
In file included from /usr/include/c++/6.3.1/memory:81:0,
from dcpp/stdinc.h:117,
from dcpp/BufferedSocket.cpp:19:
/usr/include/c++/6.3.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
dcpp/BufferedSocket.cpp: At global scope:
dcpp/BufferedSocket.cpp:71:37: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
void BufferedSocket::setSocket(std::auto_ptr<Socket> s) {
^~~~~~~~
In file included from /usr/include/c++/6.3.1/memory:81:0,
from dcpp/stdinc.h:117,
from dcpp/BufferedSocket.cpp:19:
/usr/include/c++/6.3.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
dcpp/BufferedSocket.cpp: In member function 'void dcpp::BufferedSocket::accept(const dcpp::Socket&, bool, bool)':
dcpp/BufferedSocket.cpp:86:7: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Socket> s(secure ? CryptoManager::getInstance()->getServerSocket(allowUntrusted) : new Socket);
^~~~~~~~
In file included from /usr/include/c++/6.3.1/memory:81:0,
from dcpp/stdinc.h:117,
from dcpp/BufferedSocket.cpp:19:
/usr/include/c++/6.3.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
dcpp/BufferedSocket.cpp: In member function 'void dcpp::BufferedSocket::connect(const string&, uint16_t, bool, bool, bool)':
dcpp/BufferedSocket.cpp:98:7: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Socket> s(secure ? CryptoManager::getInstance()->getClientSocket(allowUntrusted) : new Socket);
^~~~~~~~
In file included from /usr/include/c++/6.3.1/memory:81:0,
from dcpp/stdinc.h:117,
scons: done reading SConscript files.
-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/ADL from dcpp/BufferedSocket.cpp:19:
/usr/include/c++/6.3.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
dcpp/BufferedSocket.cpp: In member function 'void dcpp::BufferedSocket::addTask(dcpp::BufferedSocket::Tasks, dcpp::BufferedSocket::TaskData*)':
dcpp/BufferedSocket.cpp:481:39: error: no matching function for call to 'std::deque<std::pair<dcpp::BufferedSocket::Tasks, boost::shared_ptr<dcpp::BufferedSocket::TaskData> > >::push_back(std::pair<dcpp::BufferedSocket::Tasks, dcpp::BufferedSocket::TaskData*>)'
tasks.push_back(make_pair(task, data)); taskSem.signal();
^
In file included from /usr/include/c++/6.3.1/deque:64:0,
from dcpp/stdinc.h:113,
from dcpp/BufferedSocket.cpp:19:
/usr/include/c++/6.3.1/bits/stl_deque.h:1517:7: note: candidate: void std::deque<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = std::pair<dcpp::BufferedSocket::Tasks, boost::shared_ptr<dcpp::BufferedSocket::TaskData> >; _Alloc = std::allocator<std::pair<dcpp::BufferedSocket::Tasks, boost::shared_ptr<dcpp::BufferedSocket::TaskData> > >; std::deque<_Tp, _Alloc>::value_type = std::pair<dcpp::BufferedSocket::Tasks, boost::shared_ptr<dcpp::BufferedSocket::TaskData> >]
push_back(const value_type& __x)
^~~~~~~~~
/usr/include/c++/6.3.1/bits/stl_deque.h:1517:7: note: no known conversion for argument 1 from 'std::pair<dcpp::BufferedSocket::Tasks, dcpp::BufferedSocket::TaskData*>' to 'const value_type& {aka const std::pair<dcpp::BufferedSocket::Tasks, boost::shared_ptr<dcpp::BufferedSocket::TaskData> >&}'
/usr/include/c++/6.3.1/bits/stl_deque.h:1532:7: note: candidate: void std::deque<_Tp, _Alloc>::push_back(std::deque<_Tp, _Alloc>::value_type&&) [with _Tp = std::pair<dcpp::BufferedSocket::Tasks, boost::shared_ptr<dcpp::BufferedSocket::TaskData> >; _Alloc = std::allocator<std::pair<dcpp::BufferedSocket::Tasks, boost::shared_ptr<dcpp::BufferedSocket::TaskData> > >; std::deque<_Tp, _Alloc>::value_type = std::pair<dcpp::BufferedSocket::Tasks, boost::shared_ptr<dcpp::BufferedSocket::TaskData> >]
push_back(value_type&& __x)
^~~~~~~~~
/usr/include/c++/6.3.1/bits/stl_deque.h:1532:7: note: no known conversion for argument 1 from 'std::pair<dcpp::BufferedSocket::Tasks, dcpp::BufferedSocket::TaskData*>' to 'std::deque<std::pair<dcpp::BufferedSocket::Tasks, boost::shared_ptr<dcpp::BufferedSocket::TaskData> > >::value_type&& {aka std::pair<dcpp::BufferedSocket::Tasks, boost::shared_ptr<dcpp::BufferedSocket::TaskData> >&&}'
scons: *** [build/release/libdcpp/BufferedSocket.o] Error 1
scons: building terminated because of errors.