INSTALL 1.83 KB
Newer Older
Adrian Georgescu's avatar
Adrian Georgescu committed
1

2 3
Debian / Ubuntu or other Linux systems
======================================
4

Adrian Georgescu's avatar
Adrian Georgescu committed
5
See debian/control file for the precise version numbers.
6

Adrian Georgescu's avatar
Adrian Georgescu committed
7
Manual Installation
8
-------------------
9

Adrian Georgescu's avatar
Adrian Georgescu committed
10
Install the runtime dependencies:
11

Adrian Georgescu's avatar
Adrian Georgescu committed
12 13 14 15 16 17 18 19 20 21 22 23 24 25
 * libavahi-compat-libdnssd1
 * python3-application
 * python-enum34
 * python3-eventlib
 * python3-googleapi
 * python3-lxml
 * python3-oauth2client
 * python3-pyqt5
 * python3-pyqt5.qtsvg
 * python3-pyqt5.qtwebkit
 * python3-sipsimple
 * python3-twisted
 * python3-zope.interface
 * x11vnc
26 27


Adrian Georgescu's avatar
Adrian Georgescu committed
28
Download and install python3-sipsimple and its dependencies:
29

Adrian Georgescu's avatar
Adrian Georgescu committed
30
https://github.com/AGProjects/python3-sipsimple/blob/master/docs/Install.linux
31 32 33 34


After installing the above dependencies, install Blink system wide using:

Adrian Georgescu's avatar
Adrian Georgescu committed
35 36
python3 setup.py build_ext
sudo python3 setup.py install
37

38 39 40 41 42 43

Creating Debian Packages
------------------------

Install the building dependencies:

Adrian Georgescu's avatar
Adrian Georgescu committed
44 45 46 47 48 49 50 51
  * debhelper
  * python3-all-dev
  * python3-all-dbg
  * python3-qt5
  * python3-support
  * build-essential
  * devscripts
  * libvncserver-dev
52 53 54

Create a clean distribution file:

Adrian Georgescu's avatar
Adrian Georgescu committed
55
python3 setup.py sdist
56 57 58 59 60 61 62 63

Go to the ./dist directory and untar the file created at the step above.

Go to the newly created directory and type:

debuild

The .deb and related files are built in the upper directory.
64

Dan Pascu's avatar
Dan Pascu committed
65

66 67
Installation on Microsoft Windows
=================================
Dan Pascu's avatar
Dan Pascu committed
68 69 70 71

Step 1. Install dependencies
----------------------------

72 73
* Install PyQt5:
  pacman -S mingw-w64-i686-python2-pyqt5
Dan Pascu's avatar
Dan Pascu committed
74

75 76
* Install VNC libraries:
  pacman -S mingw-w64-i686-libvncserver
Dan Pascu's avatar
Dan Pascu committed
77

78 79
* Install Google API client
  pip install google-api-python-client oauth2client
Dan Pascu's avatar
Dan Pascu committed
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94


Step 2. Build and run Blink
---------------------------

if [ -d blink-qt ]; then
        cd blink-qt
        darcs pull -a
else
        darcs get --set-scripts-executable http://devel.ag-projects.com/repositories/blink-qt
        cd blink-qt
fi
./build_inplace
./run