tis-libreoffice-still icon

LibreOffice Still

Silent install package for LibreOffice Still

26.2.4-25
Office
Office

  • package: tis-libreoffice-still
  • name: LibreOffice Still
  • version: 26.2.4-25
  • categories: Office
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
  • editor: The Document Foundation
  • licence: MPLv2.0 (secondary license GPL, LGPLv3+ or Apache License 2.0)
  • locale: all
  • target_os: darwin
  • impacted_process: swriter,sweb,soffice,smath,simpress,sdraw,scalc,sbase
  • architecture: arm
  • signature_date:
  • size: 286.93 Mo
  • installed_size: 980.25 Mo
  • homepage : https://www.libreoffice.org/
  • conflicts :

package           : tis-libreoffice-still
version           : 26.2.4-25
architecture      : arm
section           : base
priority          : optional
name              : LibreOffice Still
categories        : Office
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ
description       : LibreOffice (Still Branch) is a free and open-source office suite
depends           : 
conflicts         : tis-libreoffice-fresh
maturity          : PROD
locale            : all
target_os         : darwin
min_wapt_version  : 1.8
sources           : https://www.libreoffice.org/download/download
installed_size    : 980246528
impacted_process  : swriter,sweb,soffice,smath,simpress,sdraw,scalc,sbase
description_fr    : LibreOffice (Branche Stable) est une suite bureautique libre et gratuite
description_pl    : LibreOffice (Still Branch) to darmowy i open-source'owy pakiet biurowy
description_de    : LibreOffice (Still Branch) ist ein freies und quelloffenes Office-Paket
description_es    : LibreOffice (Still Branch) es una suite ofimática gratuita y de código abierto
description_pt    : O LibreOffice (filial Still) é uma suite de escritório gratuita e de código aberto
description_it    : LibreOffice (Still Branch) è una suite per ufficio libera e open-source
description_nl    : LibreOffice (Still Branch) is een gratis en open-source kantoorpakket
description_ru    : LibreOffice (Still Branch) - это бесплатный офисный пакет с открытым исходным кодом
audit_schedule    : 
editor            : The Document Foundation
keywords          : bureautique,office,suite
licence           : MPLv2.0 (secondary license GPL, LGPLv3+ or Apache License 2.0)
homepage          : https://www.libreoffice.org/
package_uuid      : 8b25d1bd-2d85-46f3-adbb-c54ec3590ebf
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://wiki.documentfoundation.org/Category:ReleaseNotes
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 9c51eebe7a7aa8b0066cc11588899f1add0a10f4b80fcee271d6eca64be46a87
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2026-07-29T14:09:58.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         : hNdoBGL/Ned+Js8Q8ocRY5kZdhDzCUvSFfL/5ZNnGJipJH/H4JCuCtvScEf8vnd+6EByKH6h+NBEcFyZaOaTB/vayANXUkK5QJUhkzeAZjm/c4NXco02v1OCfNZComcUggJ6GJDlgT2DqoRW8OcbIf+Y4TeMv4fR1EbGrzCyfwQ6iZflLcoLu5+PUPrE59FYIvDiFJck5Zmpzbe40Zwb/HdtLzAQBZ8mrDZgZjQC1Radq9j+ZtfVmEQjqRGun8cUrVgOG4Igfpx3x9dAbb88auxH1Opzn+ZR1nKUSs7WDKkyqlm7FwlxzC9LrooyK/iQioLOEC+bl5iG8udBg1JQUA==

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


def install():
    # Declaring local variables
    package_version = control.get_software_version()
    bin_name = glob.glob("LibreOffice_*_MacOS_*64.dmg")[0]
    install_dmg(bin_name)


def uninstall():
    shutil.rmtree("/Applications/LibreOffice.app")

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

def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36"
    url = "https://download.documentfoundation.org/libreoffice/stable/"

    versions_list = []

    # Getting version before latest (=still) and latest (=fresh) from official website
    for bs_search in bs_find_all(url,'td', 'valign', 'top', proxies=proxies, user_agent=user_agent):
        versions_list.append(bs_search.next_sibling.next_element['href'])
    still_version = versions_list[-2].replace('/', '')
    fresh_version = versions_list[-1].replace('/', '')

    print(f"Still version is : {still_version}")
    print(f"Fresh version is : {fresh_version}")

    #Building download url, latest_bin and version
    arch_dict = {
        "x86" : "x86",
        "x64" : "x86_64",
        "arm64" : "aarch64",
        "arm" : "aarch64"
    }

    arch_dict_tiret = {
        "x86" : "x86",
        "x64" : "x86-64",
        "arm64" : "aarch64",
        "arm" : "aarch64"
    }

    download_url = url + still_version + '/mac/' + arch_dict[control.architecture] + rf'/LibreOffice_{still_version}_MacOS_{arch_dict_tiret[control.architecture]}.dmg'
    latest_bin = download_url.split('/')[-1]
    version = still_version

    # Downloading latest binaries
    print(f"Latest {control.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}")

    # Changing version of the package
    version = ".".join(version.split(".")[:3])
    if Version(version, 4) > Version(control.get_software_version(), 4):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.set_software_version(version)
    control.save_control_to_wapt()

    # Deleting outdated binaries
    remove_outdated_binaries(version)

    # Validating or not update-package-sources
    return package_updated
    

64e0ad05564554eeee639d49b08b20908a38d4722ec95f1620d05c99bcbe9fb1 : LibreOffice_26.2.4_MacOS_aarch64.dmg
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
ae6cad5405fc36cedb221dace0601e8d1660b5a45446abeebf8767e59390d0ef : WAPT/control
9c51eebe7a7aa8b0066cc11588899f1add0a10f4b80fcee271d6eca64be46a87 : WAPT/icon.png
2211dc1cc161a0e779f1fe50386e4b9116809dda3e8dbd1d7ba13b7bf351d1ad : luti.json
e010bdafda9d4e25e55e44b4cf4d03958ff739e8a6ab6e38e03545129152b31f : setup.py
0f841dd75388b2f0eb026b79d266e6840f4378d6a0ad4306895cf27a47f8eddb : update_package.py