tis-onlyoffice-desktop icon

ONLYOFFICE Desktop Editors

Paquet d’installation silencieuse pour ONLYOFFICE Desktop Editors

9.0.0-5

  • package: tis-onlyoffice-desktop
  • name: ONLYOFFICE Desktop Editors
  • version: 9.0.0-5
  • categories: Office
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ,Simon Fonteneau
  • editor: Ascensio System SIA
  • licence: GPLv3
  • locale: all
  • target_os: debian_based
  • impacted_process: DesktopEditors,editors,editors_helper
  • architecture: x64
  • signature_date:
  • size: 301.81 Mo
  • homepage : https://www.onlyoffice.com/

package           : tis-onlyoffice-desktop
version           : 9.0.0-5
architecture      : x64
section           : base
priority          : optional
name              : ONLYOFFICE Desktop Editors
categories        : Office
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ,Simon Fonteneau
description       : ONLYOFFICE (formerly TeamLab) is an open source office suite
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : debian_based
min_wapt_version  : 2.1
sources           : https://www.onlyoffice.com/download-desktop.aspx
installed_size    : 
impacted_process  : DesktopEditors,editors,editors_helper
description_fr    : ONLYOFFICE (anciennement Teamlab Office) est une suite bureautique libre
description_pl    : ONLYOFFICE (dawniej TeamLab) to pakiet biurowy typu open source
description_de    : ONLYOFFICE (ehemals TeamLab) ist eine Open-Source-Office-Suite
description_es    : ONLYOFFICE (antes TeamLab) es una suite ofimática de código abierto
description_pt    : ONLYOFFICE (antigo TeamLab) é uma suite de escritório de código aberto
description_it    : ONLYOFFICE (ex TeamLab) è una suite per ufficio open source
description_nl    : ONLYOFFICE (voorheen TeamLab) is een open source kantoorpakket
description_ru    : ONLYOFFICE (ранее TeamLab) - офисный пакет с открытым исходным кодом
audit_schedule    : 
editor            : Ascensio System SIA
keywords          : only,onlyoffice,office,suite,word,spreadsheet,sheet,excel,presentation,doc,docx,xls,xlsx,ppt,pptx
licence           : GPLv3
homepage          : https://www.onlyoffice.com/
package_uuid      : e6ae8acd-3dae-4d9b-9695-d225ec73bcdc
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://helpcenter.onlyoffice.com/server/document/changelog.aspx
min_os_version    : 
max_os_version    : 
icon_sha256sum    : fcaa0478b4159a05634ae213c29643b6138b39e067c19210b2553a9746c4dad3
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-06-24T15:12:25.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         : YZneNJxB+uCjYBfb0TblmSKBwUGaK42D6uwoUcyxMjtOjZoICjEWberldRdyAMWVkeUEXqdH9AB8oi5fTApo0pYyPCXnnolHHHmIAF792vfmrOzrDs83MSXyt4mgqlraKOVtR29zzyfir0RGXqlGyR5va2VahaYKR3FPXAoIciywokU5mrORJWx54NrW3RRd9iWw83OTSthvnbZFwSUN0O4h++pvbn2bG7WAaHfSmSdOO1hSOUEsPb3zqqsbI+Qtsho8IP80QdvFOt+06X1hdWw9sjhBjVx/2cW1cdGQ2+thEE/sVv0cE0OP5j7CZoj8ErVpURz1p0r63EIlkrZj/w==

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


def install():
    install_apt('xdg-utils')
    install_apt('desktop-file-utils')

    install_deb("onlyoffice-desktopeditors_amd64.deb")


def uninstall():
    uninstall_apt("onlyoffice-desktopeditors")

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


def update_package():
    print("Update package content from upstream binary sources")
    latest_bin_deb = "onlyoffice-desktopeditors_amd64.deb"
    # Getting proxy informations from WAPT settings
    proxy = {}
    if platform.system() == "Windows" and isfile(makepath(user_local_appdata(), "waptconsole", "waptconsole.ini")):
        proxywapt = inifile_readstring(makepath(user_local_appdata(), "waptconsole", "waptconsole.ini"), "global", "http_proxy")
        if proxywapt:
            proxy = {"http": proxywapt, "https": proxywapt}

    remove_file(latest_bin_deb)

    # Specific app values
    app_name = control.name
    git_repo = "ONLYOFFICE/DesktopEditors"
    url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo

    # Getting latest version from official website
    json_load = json.loads(wgets(url_api, proxies=proxy))
    for download in json_load["assets"]:
        if download["name"].endswith(".deb"):
            url_dl_deb = download["browser_download_url"]
            if 'help' in url_dl_deb:
                continue
            break

    # Downloading latest binaries
    if not isfile(latest_bin_deb):
        print("Downloading: " + latest_bin_deb)
        wget(url_dl_deb, latest_bin_deb, proxies=proxy)

    version = run(f"dpkg --info {latest_bin_deb}").split("Version: ")[1].split('\n')[0].split("-")[0]

    # Changing version of the package
    control.version = "%s-%s" % (version, int(control.version.split("-", 1)[1]) + 1)
    control.save_control_to_wapt()
    print("Changing version to " + control.version + " in WAPT\\control")
    print("Update package done. You can now build-upload your package")

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
e76b0bbe5d2f758452313e79316b365c8b36c8022a83066c34c3966bb81dcf85 : WAPT/control
fcaa0478b4159a05634ae213c29643b6138b39e067c19210b2553a9746c4dad3 : WAPT/icon.png
1753f84418c1f1c229ba36680f814c2a0bfd9f5eb73916b3686037fb3a513d7c : luti.json
9868c516eba994620d823b88107a0edc03b8a6992e9b59627e3e6e91b7d6592f : onlyoffice-desktopeditors_amd64.deb
e05a5ad54f2e6655e5c5786b7fb59a2a1ab1a42002ed350aa341b06053d1d308 : setup.py
5b2e9598f990d7bd9016d90abd2c12beee37827fa25a45a804ac4598a8955f4a : update_package.py