Skip to content

Setup Guide

Christoph Thiede edited this page Oct 12, 2020 · 13 revisions

Make sure you have the current version of Squeak installed. We provide three options to Install the latest Version of TelegramClient for Squeak:

Option 1 (Metacello)

Open a Workspace and evaluate the following command in it:

Metacello new
	baseline: 'TelegramClient';
	repository: 'github://hpi-swa-teaching/TelegramClient/packages';
	load.

Note: This will only work after #312 will have been merged.

Option 2 (download release file)

Check our release page for an online installer in the form of a SAR file. Then follow Step 2 and 5 from Option 3.

Option 3 (clone)

Installing the latest Version via Squeak's GitBrowser:

  • Step 1: Install the Squeak Git Client and clone this repository.
  • Step 2: Install dependencies:
    • FFI. To do so, open the Workspace in Squeak and execute the following command:
      Metacello new
      	configuration: 'FFI';
      	load.
      Note that current releases of FFI are ahead of the SWT Squeak Image in terms of features. During the 2020 Term, 'FFI-Pools-TorstenBergmann.4' and 'FFI-Kernel-nice.68' worked for us.
    • JSON package from SqueakSource.
    • Animations package GitHub.
  • Step 3: Downloading the required native TDLib Binaries for your system: This should happen automatically. Alternatively, you can download them here: On Windows, you have to download tdlib_windows.zip. For Ubuntu 18 lts select the latest successful run of the pipeline and download the single artifact produced by the respective pipeline. We currently don't support macOS yet, to find out more about this check our wiki.
  • Step 4 (Manual download only): Place the unzipped binaries inside of your squeak image inside the 'Resource' folder.
  • Step 5 (Windows only): Install the Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019
Clone this wiki locally