Package Details: linuxdcpp 1.1.0-8

Git Clone URL: https://aur.archlinux.org/linuxdcpp.git (read-only)
Package Base: linuxdcpp
Description: A Gtk+ Direct Connect client based on DC++.
Upstream URL: https://launchpad.net/linuxdcpp/
Licenses: GPL
Conflicts: linuxdcpp-bzr
Submitter: jelly
Maintainer: kaptoxic
Last Packager: kaptoxic
Votes: 5
Popularity: 0.034466
First Submitted: 2017-03-03 20:33
Last Updated: 2019-02-15 16:14

Latest Comments

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.