
TeXmacs
Silent install package for TeXmacs
2.1.4-1
- package: tis-texmacs
- name: TeXmacs
- version: 2.1.4-1
- maintainer: Amel FRADJ
- licence: GNU GENERAL PUBLIC LICENSE
- target_os: windows
- architecture: all
- signature_date:
- size: 123.25 Mo
- homepage : https://www.texmacs.org/tmweb/home/welcome.en.html
package : tis-texmacs
version : 2.1.4-1
architecture : all
section : base
priority : optional
name : TeXmacs
categories :
maintainer : Amel FRADJ
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 : 9823a85d-9cdf-42ee-b95e-6ba5e990ea5c
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 : 99a9202c850b7ccee211e65dbc812dded9c4922c268434a4e47bf6ba5e875f8e
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : pjxNLxOogvadr9klm3Q3soHv7pA3bQjpCafqxUh0kJzX4qrePInp4p+LaUA3IHVHYeIkLBg3YjRcJTkeTe/65OkHOaolpec/a7PY2ErKtFe/oR5OTLbP0GaqyabQ+suE94yiofyOK3Hx7vg5tT4DpuYk2MHHRX34ergx1LvgFrufQQcLjSSjqcMTddQjTqybaL4xCW9biJk0h5N1Jmv1Cja58DOsL/mNrs+lc4MGbF8cRBpKwLGCFhc18+ziwBzWWGpMZKQKIBH8ClUEWME/gPAXqml69agwn6brq2QHuiSOefQ0f+QlvL1bzHvPz9TJd9z4dpAQLvAbOjZxWqoSEA==
signature_date : 2024-06-08T10:02:21.605817
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
# -*- 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-*-installer.exe')[0]
# Installing the software
install_exe_if_needed(bin_name,
silentflags='/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-',
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
2596810e88490412cae1464318381bf8c0296a2a81803ea384daeb7b7a5c1afc : setup.py
915dc8f19c73cc5d482d737e831cd4204319a10f9b6e98f33f39a1955e207958 : TeXmacs-2.1.4-installer.exe
2b9324f011ed9117df8a4c9776a50c8353a74603764809ac2cfa263c0dc34e49 : update_package.py
99a9202c850b7ccee211e65dbc812dded9c4922c268434a4e47bf6ba5e875f8e : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
6f186ae1f01caca7f084debcff3b3ea8d66945712744c4639e3f37ee394c9b30 : luti.json
d18fc19d17faf568893dc24f61da256aab4104c28fb5dca5fb77e053090796be : WAPT/control