Giter VIP home page Giter VIP logo

cutegram's Introduction

Cutegram

A different telegram client from Aseman team. Cutegram forked from Sigram by Sialan Labs. Cutegram project are released under the terms of the GPLv3 license.

How to Compile

Install dependencies

Install gcc, g++, openssl, git, Qt5Core, Qt5DBus, Qt5Gui, Qt5Multimedia, Qt5MultimediaQuick_p, Qt5Network, Qt5PrintSupport, Qt5Qml, Qt5Quick, Qt5Sql, Qt5Svg, and Qt5Widgets. on Ubuntu:

sudo apt-get install g++ gcc git qtbase5-dev libqt5sql5-sqlite libqt5multimediaquick-p5 libqt5multimedia5-plugins libqt5multimedia5 libqt5qml5 libqt5qml-graphicaleffects libqt5qml-quickcontrols qtdeclarative5-dev libqt5quick5 

on Fedora (tested on Fedora 20):

yum install qt5-qtbase qt5-qtbase-devel qt5-qtdeclarative qt5-qtquick1 qt5-qtquick1-devel kde-plasma-applicationname kde-plasma-nm qt5-qtdeclarative-devel qt5-qtdeclarative-static qt5-qtgraphicaleffects qt5-qtquickcontrols openssl-devel libappindicator-devel

Also you should install AppIndicator and Gtk2 if you want to enable UnitySystemTray plugin.

sudo apt-get install libappindicator-dev libgtk2.0-dev

For other distributions search for the corresponding packages.

Available qmake keywords

There are some available keywords, you can use it as qmake flags on build step on each project:

OPENSSL_LIB_DIR
OPENSSL_INCLUDE_PATH
LIBQTELEGRAM_LIB_DIR
LIBQTELEGRAM_INCLUDE_PATH
TELEGRAMQML_LIB_DIR
TELEGRAMQML_INCLUDE_PATH

Get libqtelegram

First, you should build and install libqtelegram.

git clone https://github.com/Aseman-Land/libqtelegram-aseman-edition.git

And:

cd libqtelegram-aseman-edition
mkdir build && cd build
qmake -r PREFIX=/usr  ..

And then start building:

make
sudo make install

Get TelegramQml

In the next step, You should download and build TelegramQml in the library mode using below commands:

git clone https://github.com/Aseman-Land/TelegramQML.git

And:

cd TelegramQML
mkdir build && cd build
qmake -r .. PREFIX=/usr BUILD_MODE+=lib

And then start building:

make
sudo make install

Get source code from git repository

Get cutegram codes using this command:

git clone --recursive https://github.com/Aseman-Land/Cutegram.git

Start building

Switch to source directory

cd cutegram
Arch
there is currently a package availibe within the AUR for Cutegram.

you can find the stable build [here](https://aur.archlinux.org/packages/cutegram/), and the build from git package [here](https://aur.archlinux.org/packages/cutegram-git/)
Ubuntu
mkdir build && cd build
qmake -r .. PREFIX=/usr
make
make install

If you want to build UnitySystemTray plugin run this command:

qmake -r .. EXTENSIONS+=unity PREFIX=/usr DEFINES+=DISABLE_ASEMAN_WEBGRABBER
make
make install

You can use command below after building to clean build directory on the each step.

make clean
Fedora
mkdir build && cd build
/bin/qmake-qt5 -o Makefile ..
make
OSX

It's same as linux. Just you should disable CoreServices because of a bug on the Yosemite and El-Capitan

qmake -r DEFINES+=DISABLE_CORE_SERVICES

cutegram's People

Contributors

atilacamurca avatar beegshot avatar briefe77 avatar buschmann23 avatar choochmeque avatar coquec avatar dongfengweixiao avatar emvigo avatar fethedems avatar fffaraz avatar heliocastro avatar kamikazow avatar mralext20 avatar pablohn26 avatar realbardia avatar softastur avatar varlesh avatar

Watchers

 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.