Summary: | net-im/swift: new package | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nikoli <nikoli> |
Component: | Current packages | Assignee: | Andriy Utkin (RETIRED) <andrey_utkin> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | albert+gentoo-bugzilla, alexander, creideiki+gentoo-bugzilla, dschridde+gentoobugs, flow, marek, orzel |
Priority: | High | Keywords: | EBUILD, InOverlay, PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://swift.im/ | ||
See Also: | https://github.com/gentoo/gentoo/pull/9099 | ||
Whiteboard: | sunrise-suggested | ||
Package list: | Runtime testing required: | --- | |
Attachments: |
ebuild, works for me
swift-1.0.ebuild and swift-9999.ebuild ebuild for 1.0/9999 ebuild for 1.0/9999 (working static-libs) Added qt4 USE-Flag, without it ony libSwiften is built Added qt4 USE-Flag, without it ony libSwiften is built ebuild for swift-2.0beta1 (and the others too) swift-4.0_beta2.ebuild |
Description
Nikoli
2010-08-28 01:07:11 UTC
Created attachment 245017 [details]
ebuild, works for me
Hello, The Gentoo Team would like to firstly thank you for your ebuild submission. We also apologize for not being able to accommodate you in a timely manner. There are simply too many new packages. Allow me to use this opportunity to introduce you to Gentoo Sunrise. The sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to commit to and all users can have ebuilds reviewed by Gentoo devs for entry into the overlay. So, the sunrise team is suggesting that you look into this and submit your ebuild to the overlay where even *you* can commit to. =) Thanks, On behalf of the Gentoo Sunrise Team, Markos. [1]: http://www.gentoo.org/proj/en/sunrise/ [2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq Added to rion overlay: http://code.google.com/p/rion-overlay/source/browse/net-im/swift Created attachment 270945 [details]
swift-1.0.ebuild and swift-9999.ebuild
Created attachment 282929 [details]
ebuild for 1.0/9999
Slightly different ebuild for 1.0/9999.
Changes:
* works with linux-3
* uses git-2.eclass
* does not specify minimum version below available versions in gentoo mainline
* uses qt4-r2.eclass for linguas
* supports net-misc/mDNSResponder (bonjour)
* supports optional expat, openssl
* uses different (probably more robust) way to set scons_vars
* respects lib32/lib64 when symlinking qt
* sets ccflags scons option to CXXFLAGS instead of CFLAGS, since Swift is C++ not C
Created attachment 282931 [details] ebuild for 1.0/9999 (working static-libs) (In reply to comment #5) > Created attachment 282929 [details] > ebuild for 1.0/9999 > > Slightly different ebuild for 1.0/9999. > > Changes: > * works with linux-3 > * uses git-2.eclass > * does not specify minimum version below available versions in gentoo mainline > * uses qt4-r2.eclass for linguas > * supports net-misc/mDNSResponder (bonjour) > * supports optional expat, openssl > * uses different (probably more robust) way to set scons_vars > * respects lib32/lib64 when symlinking qt > * sets ccflags scons option to CXXFLAGS instead of CFLAGS, since Swift is C++ > not C Forgot 2 changes: * removes unused test useflag * adds static-libs useflag to build static libSwiften (the ebuild posted previously by me contained a bug, because the buildsystem checks for the *presence* of swiften_dll, not its value) Is it possible to build only libswiften? That would be great, because it would drop the qt-deps (spectrum-2 needs only swiften). (In reply to comment #7) > Is it possible to build only libswiften? That would be great, because it > would drop the qt-deps (spectrum-2 needs only swiften). Yeah, I would like to see that too. Right now I am trying to achieve this. Maybe I'll try adding a qt-USE-flag, just like purple does. (In reply to comment #8) > (In reply to comment #7) > > Is it possible to build only libswiften? That would be great, because it > > would drop the qt-deps (spectrum-2 needs only swiften). > > Yeah, I would like to see that too. Right now I am trying to achieve this. > Maybe I'll try adding a qt-USE-flag, just like purple does. That's harder than thought - The Scons-Script completely ignores what we throw at it - I'll write the ebuild now - simply deleting the given directories from the source. That should do it. Created attachment 307065 [details]
Added qt4 USE-Flag, without it ony libSwiften is built
I have inluded a new function to set the Scons targets. However, it is ignored by the script. So I decided to simply delete the trees which arent't needed. It installs very fine now.
Created attachment 307113 [details]
Added qt4 USE-Flag, without it ony libSwiften is built
re-included Swiften/Config, as it seems to be needed. (for example by spectrum-2)
swift-2.0_beta1 was released some days ago. http://swift.im/releases/swift-2.0beta1/ Created attachment 326770 [details]
ebuild for swift-2.0beta1 (and the others too)
Please note:
spectrum-2.0_beta2 does NOT build with swift-2.0_beta2!
You can use this ebuild for beta2 (just rename it) but be warned!
(In reply to comment #14) > http://swift.im/releases/swift-2.0rc1/ The ebuild (beta1) works fine when renamed (swift-2.0_rc1.ebuild) Tried and tested on x86. 2.0 final and 3.0alpha have been released. Created attachment 471300 [details]
swift-4.0_beta2.ebuild
Version bump to 4.0_beta2, support for hunspell, gconf, experimental features, DANE TLSA using unbound, ICU and again: optional GUI, support static-libs
For the latest version (4.0.2 ATM) see https://github.com/devurandom/gentoo-overlay/tree/master/net-im/swift Finally, I am actively working with ConiKost, author of PR https://github.com/gentoo/gentoo/pull/9099, reviewing and build testing, also going to do runtime testing. Sorry for delay. Will also keep an eye on https://github.com/devurandom/gentoo-overlay/tree/master/net-im/swift , thanks devurandom! The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69bd066772638de9aa56483b6dbd7b9bb5a79308 commit 69bd066772638de9aa56483b6dbd7b9bb5a79308 Author: Conrad Kostecki <conrad@kostecki.com> AuthorDate: 2018-11-16 23:46:47 +0000 Commit: Andrey Utkin <andrey_utkin@gentoo.org> CommitDate: 2018-11-24 02:44:56 +0000 net-im/swift: New package An elegant, secure, adaptable and intuitive XMPP client. Closes: https://bugs.gentoo.org/334887 Closes: https://bugs.gentoo.org/652464 Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Conrad Kostecki <conrad@kostecki.com> Signed-off-by: Andrey Utkin <andrey_utkin@gentoo.org> net-im/swift/Manifest | 1 + ...generated-files-handle-unicode-characters.patch | 38 ++++ .../files/swift-4.0.2-qt-5.11-compatibility.patch | 35 ++++ net-im/swift/metadata.xml | 23 +++ net-im/swift/swift-4.0.2.ebuild | 207 +++++++++++++++++++++ 5 files changed, 304 insertions(+) |