Package Details: swiften 4.0.2-1

Git Clone URL: (read-only)
Package Base: swift
Description: XMPP library written in C++ with Boost
Upstream URL:
Keywords: boost chat client jabber qt qt5 swift swift-im swiften xmpp
Licenses: GPL3
Submitter: linkmauve
Maintainer: linkmauve
Last Packager: linkmauve
Votes: 20
Popularity: 0.070076
First Submitted: 2015-08-27 11:32
Last Updated: 2018-06-18 09:59

Latest Comments

1 2 Next › Last »

dluciv commented on 2019-06-05 17:05

I have a problem building it:

Exception: Qt installation is missing packages. The following are required: Qt5Core Qt5Gui Qt5Widgets: File "/home/d/.cache/yay/swift/src/swift-4.0.2/SConstruct", line 5: SConscript("BuildTools/SCons/SConstruct") ... ... File "/home/d/.cache/yay/swift/src/swift-4.0.2/3rdParty/SCons/scons-2.4.0/script/../engine/SCons/", line 224: return self.method(nargs, *kwargs) File "/home/d/.cache/yay/swift/src/swift-4.0.2/BuildTools/SCons/Tools/", line 517: raise Exception('Qt installation is missing packages. The following are required: %s' % modules_str)

sanerb commented on 2019-05-06 19:46

anyone else getting these?

In file included from /usr/include/boost/detail/endian.hpp:9,
                 from ./Swiften/Base/Platform.h:46,
                 from ./Swiften/Base/API.h:9,
                 from ./Swiften/FileTransfer/DefaultFileTransferTransporter.h:9,
                 from Swiften/FileTransfer/DefaultFileTransferTransporter.cpp:7:
/usr/include/boost/predef/detail/endian_compat.h:11:161: note: #pragma message: The use of BOOST_*_ENDIAN and BOOST_BYTE_ORDER is deprecated. Please include <boost/predef/other/endian.h> and use BOOST_ENDIAN_*_BYTE instead
 #pragma message("The use of BOOST_*_ENDIAN and BOOST_BYTE_ORDER is deprecated. Please include <boost/predef/other/endian.h> and use BOOST_ENDIAN_*_BYTE instead")
scons: building terminated because of errors.

cdbfoster commented on 2019-01-07 20:19

@bjo: If you're just trying to get it to build at all on your system, assuming you've attempted to build it already, just add #include <QAbstractItemModel> into the includes of src/swift-4.0.2/Swift/QtUI/UserSearch/QtUserSearchWindow.h. Then run makepkg -e.

Edit: Or, for people who haven't attempted to build it already, run makepkg -o, then make the change, then makepkg -e.

bjo commented on 2019-01-06 22:28

@linkmauve unfortunately still no release. Could you add a patch so that the PKGBUILD builds?

sanerb commented on 2018-07-13 00:51

@martchus it's been fixed upstream:

no release yet though, i think?

Martchus commented on 2018-06-10 11:08

I've just tried to rebuild this against the latest version of Boost. However, I ran into the following error:

In file included from Swift/QtUI/UserSearch/QtUserSearchWindow.cpp:7:
./Swift/QtUI/UserSearch/QtUserSearchWindow.h:94:13: error: 'QAbstractItemModel' does not name a type; did you mean 'QAbstractButton'?
             QAbstractItemModel* model_;
Swift/QtUI/UserSearch/QtUserSearchWindow.cpp: In constructor 'Swift::QtUserSearchWindow::QtUserSearchWindow(Swift::UIEventStream*, Swift::UserSearchWindow::Type, const std::set<std::__cxx11::basic_string<char> >&, Swift::SettingsProvider*)':

This has likely been triggered by updating Qt to 5.11.0. I supposed this could be easily fixed by adding an explicit #include for QAbstractItemModel.

linkmauve commented on 2018-01-22 13:27

marmistrz, a release candidate is by definition not a beta, it is expected to ship very soon in a final release and is there to get packagers and users to test it. I would recommend you to port your client to Swiften 4.0, as most distributions will most likely update at the same time.

As a stop-gap solution though, you can git checkout [bb582016]( to go back to the last commit building 3.0.

marmistrz commented on 2018-01-18 11:33

linkmauve, 4.0rc5 is a beta release and it's API-incompatible with swiften 3.0. I'm not sure if it's a good idea to bump the version here and now, at least without providing a swiften-3 package or such. (possibly conflicting with swiften)

I'm collaborating on an XMPP client and this makes the app unbuildable for me.

marmistrz commented on 2018-01-07 20:51

Please bump the pkgrel, needs to be rebuilt after today's boost update. :)

linkmauve commented on 2017-10-14 16:10

To the person flagging this package as out of date, 4.0 isn’t released yet, rc2 is old and there has been a lot of changes since then, if you want them use swift-im-git instead.