tis-texmacs icon

TeXmacs

Paquet d’installation silencieuse pour TeXmacs

2.1.5-3

  • 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          : PROD
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      : 89e0366c-1758-4f02-81af-068c1d09cdd5
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            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2026-03-17T15:25:09.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         : mF+CSNFktM8/nK6V5kfrf9AiEEpiWEMcQC2T6pD+LrEKTTnIWpHoX51DAFrCY+adg5rd+pnPLRO4JpbeMOc9RFQ7Uklp7LTcDu0z0OahYB3487764yxv5wrE8INSxDGlxu970vRhgJTbDoEaBjQlOgUS9Igu3xlIR3oZwUS5H2JRHwU1gMvj7EJpJUYpuMHdBzzYpUKhMPqixwEV6NbVso3D19yQuhbuCh/LxgJAPDsQfC1wXlD0SDwLYtTqdtUg9EPycY1j3RSXcOmTaLYB++O3DJpI9rKEEsxe8QvT8fD5+6d0UKGa0G5bG5y1NzKyJHTM1k655wO3bgv6jEomNg==

# -*- 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
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
21f0dc3aa7ecc5e61e9cb1901627e4201e0c9967ee838d5c1d84a4735d1d67ab : WAPT/control
a8ef56d87860479d6e430d5a69912a6ab5b09f02a33f9626b41a1aabdac5b95c : WAPT/icon.png
1a4a685587288409e3d8279dea10cd33411917633d6455be323b95d5cf127fac : luti.json
769123c479196f9bbff1731b3fe1de9937d40fab52a3da235fb903479607e8d4 : setup.py
2b9324f011ed9117df8a4c9776a50c8353a74603764809ac2cfa263c0dc34e49 : update_package.py