Package Details: swiften 4.0.2-1

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

Latest Comments

1 2 Next › Last »

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:

https://github.com/swift/swift/issues/101

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_;
             ^~~~~~~~~~~~~~~~~~
             QAbstractButton
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](https://aur.archlinux.org/cgit/aur.git/commit/?h=swift&id=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.

sephamorr commented on 2016-12-04 21:11

It seems that qt5-base, at least on i386, is now built with -reduce-relocations (https://bugs.archlinux.org/task/45283) , which breaks building the QtUI directory of swift.
Adding -fPIC to the QtUI Sconscript fixed this for me (patch: https://gist.github.com/anonymous/89b2815261a05a6e6584d636aabbf1fb). Anyone else seeing this issue?

linkmauve commented on 2016-07-21 16:31

arch=('any') should only be done for architecture-independent packages, like data files or scripts. I can currently only test on aarch64, x86_64 and i686, but if you are able to test on other architectures I will gladly enable them.

Debian has an arch=('all') mechanism, maybe you could raise that issue on ArchLinux’ mailing list?

In the meantime, you can pass --ignorearch to makepkg to build on an unsupported architecture.