tis-texmacs icon

TeXmacs

Paquet d’installation silencieuse pour TeXmacs

2.1.5-3

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-texmacs
  • name: TeXmacs
  • version: 2.1.5-3
  • maintainer: Amel FRADJ, Ingrid TALBOT
  • licence: GNU GENERAL PUBLIC LICENSE
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 198.17 Mo
  • homepage : https://www.texmacs.org/tmweb/home/welcome.en.html

package           : tis-texmacs
version           : 2.1.5-3
architecture      : x64
section           : base
priority          : optional
name              : TeXmacs
categories        : 
maintainer        : Amel FRADJ, Ingrid TALBOT
description       : The software aims to provide a unified and user friendly framework for editing structured documents with different types of content (text, graphics, mathematics, interactive content, etc.)
depends           : 
conflicts         : 
maturity          : PREPROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : https://www.texmacs.org/tmweb/download/windows.en.html
installed_size    : 
impacted_process  : 
description_fr    : Le logiciel vise à fournir un cadre unifié et convivial pour l'édition de documents structurés avec différents types de contenu (texte, graphiques, mathématiques, contenu interactif, etc.)
description_pl    : Oprogramowanie ma na celu zapewnienie ujednoliconej i przyjaznej dla użytkownika struktury do edycji ustrukturyzowanych dokumentów z różnymi rodzajami treści (tekst, grafika, matematyka, treści interaktywne itp.)
description_de    : Die Software zielt darauf ab, einen einheitlichen und benutzerfreundlichen Rahmen für die Bearbeitung strukturierter Dokumente mit verschiedenen Arten von Inhalten (Text, Grafiken, Mathematik, interaktive Inhalte usw.) zu schaffen
description_es    : El objetivo del programa es ofrecer un marco unificado y fácil de usar para editar documentos estructurados con distintos tipos de contenido (texto, gráficos, matemáticas, contenido interactivo, etc.)
description_pt    : O software tem por objetivo fornecer um quadro unificado e de fácil utilização para a edição de documentos estruturados com diferentes tipos de conteúdo (texto, gráficos, matemática, conteúdo interativo, etc.)
description_it    : Il software si propone di fornire una struttura unificata e di facile utilizzo per l'editing di documenti strutturati con diversi tipi di contenuto (testo, grafica, matematica, contenuti interattivi, ecc.)
description_nl    : De software is bedoeld om een uniform en gebruiksvriendelijk kader te bieden voor het bewerken van gestructureerde documenten met verschillende soorten inhoud (tekst, afbeeldingen, wiskunde, interactieve inhoud, enz.)
description_ru    : Программное обеспечение призвано обеспечить единую и удобную основу для редактирования структурированных документов с различными типами содержимого (текст, графика, математика, интерактивный контент и т.д.)
audit_schedule    : 
editor            : 
keywords          : 
licence           : GNU GENERAL PUBLIC LICENSE
homepage          : https://www.texmacs.org/tmweb/home/welcome.en.html
package_uuid      : f1bad1d2-4aab-4f87-aa81-264314f61d07
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://www.texmacs.org/tmweb/about/changes.en.html
min_os_version    : 
max_os_version    : 
icon_sha256sum    : a8ef56d87860479d6e430d5a69912a6ab5b09f02a33f9626b41a1aabdac5b95c
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2026-03-12T14:57:05.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         : DivhOmjYfM4vvbeSKoOxObA1g/V2Ef1AzRkAbmbwi18onpwMdjLth05CTF0h2T4dzpQt9Grsa2Bv2fsJoSdcV7FHZBA7o1Khn9qTXsa2VM9bAjbOrHaJmNiHsCTlRv94HUkSFs0DQ0qh0ElmpiIiHqN+AwIixS5w0zE08lLj848BVfAUWgRE07ANTm5iQCr2E56+dbinQj5jHWMJT8++A0s6s8tUPIZDRYSkE41SJI8+ii1JbGlSjb9h9+eYklarUx2WAuV3iCteTb/1xG563hRqhucYA9Y1OnnqBJ70vRuBh+1a9Pdq+0DrgOmDKLXwDHjzAuum+1OPTAUukg9VQA==

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

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
 {
   "key":"TeXmacs_is1",
   "name":"Texmacs",
   "version":"2.1.4",
   "install_date":"2024-06-03 00:00:00",
   "install_location":"C:\\Program Files (x86)\\TeXmacs\\",
   "uninstall_string":"\"C:\\Program Files (x86)\\TeXmacs\\unins000.exe\"",
   "publisher":"MAGIX",
   "system_component":0,
   "win64":false
  }

"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def install():
    # Declaring local variables
    bin_name = glob.glob('TeXmacs-*-x86_64.exe')[0]
    # Installing the software
   
    install_exe_if_needed(bin_name,
        silentflags='/VERYSILENT /SUPPRESSMSGBOXES  /NORESTART  /SP- /ALLUSERS',
        key='TeXmacs_is1',
        min_version=control.get_software_version(),
    )



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


def update_package():
    # Declaring local variables
    result = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    url = "http://texmacs.org/tmweb/download/windows.en.html"  

    bin_ends = ".exe"
    bin_contains = "TeXmacs"

    # Getting latest version from official sources
    print("URL used is: %s" % url)
    for bs_search in bs_find_all(url, "a", proxies=proxies, timeout=10):
        if bin_contains in bs_search["href"]  and bin_ends in bs_search["href"]:
            version = bs_search["href"].split("-")[-2]
            latest_bin = bs_search["href"].split("/")[-1]
            download_url = bs_search["href"]
            break

    print("Latest %s version is: %s" % (app_name, version))
    print("Download URL is: %s" % download_url)

    # Downloading latest binaries
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, connect_timeout=100, proxies=proxies)

        # Checking version from file
        version_from_file = get_version_from_binary(latest_bin)
        # if not version_from_file.startswith(version) and version_from_file != '':
        if Version(version_from_file) != Version(version) and version_from_file != "":
            print("Changing version to the version number of the binary (from: %s to: %s)" % (version, version_from_file))
            os.rename(latest_bin, bin_contains + version_from_file + bin_ends)
            version = version_from_file
        else:
            print("Binary file version corresponds to online version")

    # 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)))
        result = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
    # control.set_software_version(version)
    control.save_control_to_wapt()

    # Deleting outdated binaries
    remove_outdated_binaries(version)

    # Validating or not update-package-sources
    return result

0839ce145c111a04a6db2a4f47c996f107e25307a6d37ccfcb42602ab135a70e : TeXmacs-2.1.5-x86_64.exe
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
47db1bace250a8b40ecef4944aa79d89600e8effe9245cd3986376b32b7cbabe : WAPT/control
a8ef56d87860479d6e430d5a69912a6ab5b09f02a33f9626b41a1aabdac5b95c : WAPT/icon.png
1a4a685587288409e3d8279dea10cd33411917633d6455be323b95d5cf127fac : luti.json
769123c479196f9bbff1731b3fe1de9937d40fab52a3da235fb903479607e8d4 : setup.py
2b9324f011ed9117df8a4c9776a50c8353a74603764809ac2cfa263c0dc34e49 : update_package.py