tis-tesseract icon

Tesseract

Silent install package for Tesseract

0.9.0-2
Messaging
Messaging

  • package: tis-tesseract
  • name: Tesseract
  • version: 0.9.0-2
  • categories: Messaging
  • maintainer: WAPT Team,Tranquil IT,Flavien SCHELFAUT
  • editor: surakin
  • licence: GPLv3
  • locale: all
  • target_os: debian(>=12),ubuntu(>=24)
  • impacted_process: tesseract-matrix
  • architecture: x64
  • signature_date:
  • size: 82.83 Mo
  • homepage : https://surakin.github.io/tesseract/

package           : tis-tesseract
version           : 0.9.0-2
architecture      : x64
section           : base
priority          : optional
name              : Tesseract
categories        : Messaging
maintainer        : WAPT Team,Tranquil IT,Flavien SCHELFAUT
description       : Tesseract is a native desktop Matrix client with end-to-end encryption, multi-account support, threads, and voice and video calls.
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : debian(>=12),ubuntu(>=24)
min_wapt_version  : 2.3
sources           : https://github.com/surakin/tesseract/releases
installed_size    : 
impacted_process  : tesseract-matrix
description_fr    : Tesseract est un client de bureau natif pour le protocole Matrix, avec chiffrement de bout en bout, prise en charge multicompte, fils de discussion et appels audio et vidéo.
description_pl    : Tesseract to natywny klient biurkowy dla protokołu Matrix, oferujący szyfrowanie typu end-to-end, obsługę wielu kont, wątki oraz połączenia głosowe i wideo.
description_de    : Tesseract ist ein nativer Desktop-Client für das Matrix-Protokoll mit Ende-zu-Ende-Verschlüsselung, Unterstützung mehrerer Konten, Threads sowie Sprach- und Videoanrufen.
description_es    : Tesseract es un cliente de escritorio nativo para el protocolo Matrix, con cifrado de extremo a extremo, soporte multicuenta, hilos de conversación y llamadas de voz y video.
description_pt    : Tesseract é um cliente de desktop nativo para o protocolo Matrix, com criptografia de ponta a ponta, suporte a múltiplas contas, tópicos de conversa e chamadas de voz e vídeo.
description_it    : Tesseract è un client desktop nativo per il protocollo Matrix, con crittografia end to end, supporto multi account, thread di conversazione e chiamate vocali e video.
description_nl    : Tesseract is een native desktopclient voor het Matrix-protocol, met end-to-end-versleuteling, ondersteuning voor meerdere accounts, threads en spraak- en videogesprekken.
description_ru    : Tesseract представляет собой нативный настольный клиент для протокола Matrix со сквозным шифрованием, поддержкой нескольких учетных записей, тредами обсуждений и голосовыми и видеозвонками.
audit_schedule    : 
editor            : surakin
keywords          : matrix,chat,messaging,client,encryption,e2ee,tesseract
licence           : GPLv3
homepage          : https://surakin.github.io/tesseract/
package_uuid      : 7e9fcc62-2456-4e26-b906-fe949b765d56
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/surakin/tesseract/releases
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 52420d07d329fc326a15f5d142c050b45f683de90397bbdd1f3e07284e45fc2d
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2026-10-04T14:12:47.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature         : YvfS7a+wBadVEbiNSR9h0lBj2Tk5ITvOdyqHXqrLytA+v1sY4loleT4tkgqZeu5BxxhHnzX8gh3ohkqFukv67p1O9SfSXJcxz3R71qe37kO7KUTVc3nAzB8CeNFP+ggqOqDCF0b93EwD3FIi5Lcq+VZHnDSrgnkynJkH4GMyBXD4qEmyB538mqJmBNPfSFnWIvpyMY1OCkscELSX0Ou/jAOxqezanmHZ5FTNejk/jCZf8LXh59zG888122XYGPkH44xjwIcFnaYQZFStYeyN+CVt1gnVhoMWWFch+dcuURXa6TczlUA1qTiaVpPIQGpQ4dHWZ/R9TsQJ5IgfKnSqOA==

# -*- coding: utf-8 -*-
from setuphelpers import *


def install():
    bin_name = glob.glob("Tesseract-*-Linux.deb")[0]

    install_deb(bin_name)


def uninstall():
    uninstall_apt("tesseract-matrix")

# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *


def update_package():
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name

    api_url = "https://api.github.com/repos/surakin/tesseract/releases/latest"
    print(f"API used is: {api_url}")
    json_load = wgets(api_url, proxies=proxies, as_json=True)
    version = json_load["tag_name"].lstrip("v")

    download_dict = {
        "windows-x64": f"Tesseract-{version}-AMD64.exe",
        "debian(>=12),ubuntu(>=24)-x64": f"Tesseract-{version}-Linux.deb",
        "redhat_based-x64": f"Tesseract-{version}-Linux.rpm",
        "darwin-x64": f"Tesseract-{version}-x86_64.dmg",
        "darwin-arm": f"Tesseract-{version}-arm64.dmg",
    }
    os_type = control.target_os + "-" + ensure_list(control.architecture)[0]

    for asset in json_load["assets"]:
        if asset["name"] == download_dict[os_type]:
            download_url = asset["browser_download_url"]
            latest_bin = asset["name"]
            latest_bin_extension = latest_bin.rsplit('.', 1)[-1]
            break

    print(f"Latest {app_name} version is: {version}")
    print(f"Download URL is: {download_url}")
    if not isfile(latest_bin):
        print(f"Downloading: {latest_bin}")
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print(f"Binary is present: {latest_bin}")

    if Version(version) > Version(control.get_software_version()):
        print(f"Software version updated (from: {control.get_software_version()} to: {Version(version)})")
        package_updated = True
    else:
        print(f"Software version up-to-date ({Version(version)})")

    for f in glob.glob(f'*.{latest_bin_extension}'):
        if f != latest_bin:
            remove_file(f)

    control.set_software_version(version)
    control.save_control_to_wapt()

    return package_updated

a872526bf8ed1268eb23b83d8be71ffbc9c9233710c6973254a95079b087af26 : Tesseract-0.9.0-Linux.deb
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
0e9896ac7ea9818214c4b916ac07f08a33b3d837cf6bdf21144f7bdf8bc76c40 : WAPT/control
52420d07d329fc326a15f5d142c050b45f683de90397bbdd1f3e07284e45fc2d : WAPT/icon.png
d2c2ddf2534bf1a4af08155ae8f29db7aa0b90b876666f5b8b71aaf20db39bd8 : luti.json
3ed05894fb3cf2435aa063494d536ae233f3d1abeb697f6f0b1bf4f171e4ddda : setup.py
aeaeea74c0a9b753022067175ef6563f70f3705d41ea83b5d4e5d17c0aab96fb : update_package.py