Git Product home page Git Product logo

sangkyunyoon / swift-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from swift/swift

0.0 1.0 0.0 28.07 MB

Swift XMPP client and Swiften XMPP library

Home Page: http://swift.im/swift

License: Other

Python 3.73% C++ 77.47% Perl 0.57% C 10.86% HTML 1.07% Shell 0.08% Objective-C 0.02% Objective-C++ 0.10% Makefile 0.02% XSLT 4.91% Ruby 0.02% Groff 0.89% Batchfile 0.01% Clojure 0.04% Lua 0.12% NSIS 0.01% QMake 0.01% TypeScript 0.07% CSS 0.01%

swift-1's Introduction

Swift - An elegant, secure, adaptable and intuitive XMPP Client

Quick Start

Simply run ./scons Swift on Linux, or ./scons Swift qt=/Users/username/Qt_installation_path/Qt/5.4.2/5.4/clang_64 on Mac OS X or scons.bat Swift qt=C:\path\to\qt on Windows to build Swift.

This document only covers the general structure, project dependencies and building the Swift GUI application. More detailed information on building components, development, testing and packaging can be found in DEVELOPMENT.md.

Components

  • Swiften: A cross-platform C++ XMPP library.
  • Swift: A Qt-based cross-platform desktop GUI client based on Swiften.
  • Sluift: A XMPP scripting environment based on Lua and Swiften.
  • Limber: A XMPP proxy server proxying zero-configuration (XEP-0174) to a connected XMPP client.
  • Slimber: Qt and Cocoa frontends for Limber.
  • SwiftTools: A collection of utilities for Swift.

Supported Platforms

  • Swift
    • Windows 7 and later
    • Mac OS X 10.10 and later
    • Linux distributions. We usually test on default Ubuntu and Debian installations.
  • Swiften (same as above)
    • Android
    • iOS

External Dependencies

The Swift repository includes some third party dependencies in the 3rdParty directory to easy development. Third party dependencies not included are listed below:

  • OpenSSL is required when building Swiften on Linux or Android
  • Qt 5 is required by Swift; Qt up to version Qt 5.5 is supported
  • Python (2.5 <= version < 3)

General Build Instructions

The Swift projects use the SCons build system for build configuration and Build execution. SCons is one of the included third party dependencies.

To build all Swift components simply run SCons. On Mac OS X and Linux you run the ./scons command. On Windows you run the scons.bat command in a Visual Studio developer shell.

On multi-processor systems, i.e. most desktop and server machines, you can use the -j NUMBER_OF_PARALLEL_TASKS flag, or pass the max_jobs=1 to the scons command to speed up build time. The max_jobs=1 argument will set the number of parallel tasks to the number of CPU cores available. Note that each parallel task increases the memory requirements for the overall build process.

Platform Specific Instructions

Mac OS X

Prerequisites

Building Swift

After installing Qt, simply run ./scons qt=/Users/username/Qt_installation_path/Qt/5.4.2/5.4/clang_64 Swift to build Swift. Afterwards you can find a runnable app bundle at Swift/QtUI/Swift.app.

Windows

Prerequisites

  • Microsoft Visual Studio 2013 Express or later (C++11)
  • Windows SDK
  • Python (2.5 <= version < 3)
  • Qt Open Source Edition

A binary release of Qt can be obtained from https://www.qt.io/download-open-source/. Make sure it matches the Visual Studio version you have installed.

Building Swift

From the 'Visual C++' 'Programs' group, launch the Visual C++ command prompt, go to your checked out Swift directory and run scons.bat qt=C:\path\to\qt Swift to build Swift.

To start Swift, simply change to Swift/QtUI and run Swift.exe.

Unix / Linux

Prerequisites

On Linux Swift mainly depends on Qt and OpenSSL. To install all required dependencies take a look at ./BuildTools/InstallSwiftDependencies.sh. It is a script that supports various Linux distributions and will install the required system packages for building and running Swift.

On Unix/Linux SCons will use pkg-config to determine the compiler and linker flags for Qt 5.

Note: The Qt that comes with your Linux distribution might not be up to date and may have issues with some desktop environments.

Building Swift

To build Swift, simply open a terminal, go to the project root and run ./scons Swift. Afterwards you can start Swift by running ./Swift/QtUI/swift-im.

Installing Swift

To install Swift on the system (e.g. in the /usr/local directory), run ./scons SWIFT_INSTALLDIR=/usr/local /usr/local in the Swift project folder.

swift-1's People

Contributors

remko avatar kev avatar tfar avatar intosi avatar isodeltd avatar mvisode avatar ephraim avatar jankaluza avatar scrool avatar arnt avatar vladvoic avatar catalinb avatar pielas avatar jubalh avatar zash avatar nickisode avatar tarun018 avatar danielbcs avatar machekku avatar barun511 avatar yblein avatar vitalyster avatar

Watchers

Sangkyun Yoon avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.