tis-libreoffice-still icon

LibreOffice Still

Paquet d’installation silencieuse pour LibreOffice Still

25.8.6-15
Office
Office

Les paquets PREPROD sont des paquets construits via LUTI. Ils restent généralement 5 jours en PREPROD, après quoi un deuxième scan VirusTotal est effectué pour vérifier que le status n'a pas changé.
Si le paquet réussit ce dernier contrôle, il est promu en PROD et publié sur le store.

  • package: tis-libreoffice-still
  • name: LibreOffice Still
  • version: 25.8.6-15
  • 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: debian(>=9),ubuntu
  • impacted_process: swriter,sweb,soffice,smath,simpress,sdraw,scalc,sbase
  • architecture: x64
  • signature_date:
  • size: 214.99 Mo
  • installed_size: 980.25 Mo
  • homepage : https://www.libreoffice.org/
  • conflicts :

package           : tis-libreoffice-still
version           : 25.8.6-15
architecture      : x64
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          : PREPROD
locale            : all
target_os         : debian(>=9),ubuntu
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      : 6e995416-d4aa-43fa-8bfd-8e1510e81901
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://wiki.documentfoundation.org/Category:ReleaseNotes
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 9c51eebe7a7aa8b0066cc11588899f1add0a10f4b80fcee271d6eca64be46a87
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2026-03-26T14:27:00.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         : cHpvUg+4laocKwVFmb33iMN/jJ04fE4seGOG3ZIxgs2Npm1yL7uu9NZx4hX7L0RBFA2XPZfL9e+PUL9IAUhMGOQw7IdqZlxOu2VIk7I11v7CVD6kYJU9Dsxui3pcP9pTF9AIZUhU9hoXOd/T4DTds2eSAfv9qgLDW0CQSwAgJfeWGuIUpXrzJC5UJ2N2lVtUMeBdYNUz0n75EuV1VG7N12JDdaFK8BxKsIoTOF6wkelGkwJH8ap3/B01S12OZ0+RjUhNvHLQ/7UXxjlF/lwN5LBmAPXGCYXhBALfOm+MpTrkm+e+DEKi7M3UgwXBMvIr0vbWICHDgVLfetiTYAQZ6A==

# -*- coding: utf-8 -*-
from setuphelpers import *
import tarfile
from typing import List, Optional


def install():
    isapt = True
    try:
        run("apt --version")
    except:
        isapt = False

    version_soft = control.get_software_version()

    if isapt:
        uninstall()
        extract_tar("LibreOffice_%s_Linux_x86-64_deb.tar.gz" % version_soft)
        extract_tar("LibreOffice_%s_Linux_x86-64_deb_langpack_fr.tar.gz" % version_soft)
        run("dpkg -i */DEBS/*.deb")
    else:
        extract_tar("LibreOffice_%s_Linux_x86-64_rpm.tar.gz" % version_soft)
        run("yum install RPMS/*.rpm -y")


def uninstall():
    run_notfatal("LANG=C DEBIAN_FRONTEND=noninteractive apt-get remove -y *libobasis*")
    run_notfatal("LANG=C DEBIAN_FRONTEND=noninteractive apt-get remove -y *libreoffice*")

def extract_tar(
    tar_path: str,
    extract_path: str = ".",
    exclude_list: Optional[List[str]] = None,
    include_list: Optional[List[str]] = None
) -> None:
    """
    Extracts a tar archive to the given directory, with optional inclusion or exclusion filtering.

    :param tar_path: Path to the .tar (or .tar.gz, .tar.bz2, etc.) archive.
    :param extract_path: Directory where files should be extracted.
    :param exclude_list: List of path prefixes to exclude from extraction.
    :param include_list: List of path prefixes to include exclusively. Overrides exclude_list if provided.
    """
    with tarfile.open(tar_path, 'r:*') as tar:
        all_members = tar.getmembers()

        if include_list:
            include_set = set(include_list)
            members = [
                m for m in all_members
                if any(m.name.startswith(inc) for inc in include_set)
            ]
        elif exclude_list:
            exclude_set = set(exclude_list)
            members = [
                m for m in all_members
                if not any(m.name.startswith(exc) for exc in exclude_set)
            ]
        else:
            members = all_members

        tar.extractall(path=extract_path, members=members)

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


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    url = "https://www.libreoffice.org/download/download"
    bin_contains = "LibreOffice_"
    ends_bin_name = "_Linux_x86-64_deb.tar.gz"

    # Getting latest version from official sources
    version = wgets('https://www.libreoffice.org/download/download-libreoffice/',proxies=proxies).split('The previous stable branch')[0].split('_Win_x86.msi')[-2].split('_')[-1]
    search_url = "https://download.documentfoundation.org/libreoffice/stable/%s/mac/x86_64/" % version
    for bs_search in bs_find_all(search_url, "a", proxies=proxies):
        if bin_contains in bs_search["href"] and ends_bin_name in bs_search["href"]:
            latest_bin = bs_search.string
            download_url = search_url + latest_bin
            break

    # Downloading latest binaries
    download_url = "https://download.documentfoundation.org/libreoffice/stable/%s/deb/x86_64/LibreOffice_%s_Linux_x86-64_deb.tar.gz" % (
        version,
        version,
    )
    download_url_LP = "https://download.documentfoundation.org/libreoffice/stable/%s/deb/x86_64/LibreOffice_%s_Linux_x86-64_deb_langpack_fr.tar.gz" % (
        version,
        version,
    )
    latest_bin = "LibreOffice_%s_Linux_x86-64_deb.tar.gz" % version
    latest_bin_LP = "LibreOffice_%s_Linux_x86-64_deb_langpack_fr.tar.gz" % version
    print("Latest %s version is: %s" % (app_name, version))
    print("Download URL is: %s" % download_url)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
        wget(download_url_LP, latest_bin_LP, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        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

90b083e6c8f860630ea2ac8558a2bed2756a4393c3f727aa7bd13b0bce85e8a9 : LibreOffice_25.8.6_Linux_x86-64_deb.tar.gz
1ffbc2abe1e063356435f76dd64af7ff7694f026cc8e5d057081c2c1cf12e918 : LibreOffice_25.8.6_Linux_x86-64_deb_langpack_fr.tar.gz
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
5ebc9c4070d5e122e587e354d6c3a6ec9c512d9e678bf5ea920391410d932eb5 : WAPT/changelog.txt
93cf948693d3f46c06de662d70cf7f55ea771be405ba39db8a50d245355b6bfc : WAPT/control
9c51eebe7a7aa8b0066cc11588899f1add0a10f4b80fcee271d6eca64be46a87 : WAPT/icon.png
9497e280644dddf0bf027ca69d6ceb5ae5607688e1b23a6ed115e3247d47c9ca : luti.json
6203cb92ca30e4c01b43c4739691d49523d19707cf17b14c7c961681c77d0f23 : setup.py
559894626898a48c5b1b75d3887b781fd6b2263bf94f3802872b3fe0d9652ef9 : update_package.py

https://wiki.documentfoundation.org/Category:ReleaseNotes
7.2.7-23
===
Translating missing languages description
improve code
Split update-package