tis-add-font-marianne
2.1.3.0-8
Installer la police Marianne
98 téléchargements
Télécharger
Voir le résultat de la construction Voir l'analyse de VirusTotal

- package : tis-add-font-marianne
- name : Font-Marianne
- version : 2.1.3.0-8
- categories : Configuration
- maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ,Jordan ARNAUD
- editor :
- licence :
- locale : all
- target_os : windows
- impacted_process :
- architecture : all
- signature_date : 2024-10-10 13:00
- size : 4.50 Mo
- homepage : https://www.systeme-de-design.gouv.fr/fondamentaux/typographie/
- conflicts :
package : tis-add-font-marianne
version : 2.1.3.0-8
architecture : all
section : base
priority : optional
name : Font-Marianne
categories : Configuration
maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ,Jordan ARNAUD
description : Install font Marianne
depends :
conflicts : tis-addfont
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.3
sources :
installed_size :
impacted_process :
description_fr : Installer la police Marianne
description_pl : Zainstaluj czcionkę Marianne
description_de : Schriftart Marianne installieren
description_es : Instalar fuente Marianne
description_pt : Instalar o tipo de letra Marianne
description_it : Installare il font Marianne
description_nl : Lettertype Marianne installeren
description_ru : Установите шрифт Marianne
audit_schedule :
editor :
keywords :
licence :
homepage : https://www.systeme-de-design.gouv.fr/fondamentaux/typographie/
package_uuid : 612ef860-741b-4d85-90c1-21836fdfc16a
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : 2bc8d2071b881c53e721f95f2f9c880b4b9be10474a7404ce5d947575f99204c
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2024-10-10T13:00: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 : mBIi+CiiSxn+yFjPSSAmntBkwOqd0ieSOiCsE2fkjYNPgM2aELBXEpTulFr3il+LdMh7bhwlyHXEPqU2GnqqSEfqlqIviUGreApuhs93haKs7ho1xuTzP5LrMfmrYReksqZO63/hf2LLJUPeTvPFzs396xyoUzwORLSuBDtjoGUxpYTV/A5fbZN65XVog6WPQgnmVIgXUFcfUEqwv3RKat7HFA5Ni+dkX8cVmKPpuiBPQrmHM/oBP9jqdng0V+pMxVD1+lD4hSdQ3L36Z46zfzpDU0AzFRXqC+XxMrTb22CgcmSyeV8Rbl05JiNXWDbgL8wsWtXTHY4CE/TP3APd+g==
# -*- coding: utf-8 -*-
from setuphelpers import *
def install():
# Declaring local variables
if iswin64():
bin_name = "FontReg64.exe"
else:
bin_name = "FontReg32.exe"
fonts_path = os.path.abspath("fonts")
# Getting the fonts
for zip_file in glob.glob("*.zip"):
unzip(zip_file, "fonts", extract_with_full_paths=False)
for font in glob.glob(f"{fonts_path}/*.ttf"): # Only printing
print("Installing Font: %s" % font.split(os.sep)[-1])
# Installing the fonts
os.chdir(fonts_path)
run(f'"{bin_name}" /copy')
print("INFO: The PC must be rebooted for the fonts to appear")
# -*- coding: utf-8 -*-
from setuphelpers import *
bin_name_x86 = "FontReg32.exe"
bin_name_x64 = "FontReg64.exe"
fonts_path = os.path.abspath("fonts")
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
version = control.get_software_version()
# Deleting outdated binaries
for f in glob.glob('*.zip'):
remove_file(f)
# Downloading latest binaries
if not isfile(bin_name_x64):
print("Downloading: %s" % bin_name_x64)
wget("https://raw.githubusercontent.com/jason-jxc/FontReg/master/bin.x86-64/FontReg.exe", makepath(fonts_path, bin_name_x64), proxies=proxies)
if not isfile(bin_name_x86):
print("Downloading: %s" % bin_name_x86)
wget("https://raw.githubusercontent.com/jason-jxc/FontReg/master/bin.x86-32/FontReg.exe", makepath(fonts_path, bin_name_x86), proxies=proxies)
# Downloading fonts
if not isfile("Marianne.zip"):
print("Downloading: %s" % "Marianne.zip")
wget("https://www.systeme-de-design.gouv.fr/uploads/Marianne_fd0ba9c190.zip", "Marianne.zip", proxies=proxies)
# Changing version of the package
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()
# Validating or not update-package-sources
return package_updated
da6776ef021df6286bf657878ae3ef8d6660dfbfc38ae42b5a4f051e7d3bf86b : Marianne.zip
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
824ca7b190df85cded998e53907b7cb6109305c626711b4b99cee26d5ad4ef49 : WAPT/control
2bc8d2071b881c53e721f95f2f9c880b4b9be10474a7404ce5d947575f99204c : WAPT/icon.png
0a76dd4304c1c0fb3454e888acc92f7423c22181035e37b6153519f7d7075c10 : fonts/FontReg32.exe
c38ac955e588a8e22f51e9b6460017c1e0642001b0f0b9139737675256913908 : fonts/FontReg64.exe
7d0768f0ec06a9ef6ce85bb04a1b744a39651426b721b4084997d1bd46a426d2 : luti.json
db1c3f1dc5aa9d3d9ee126f7c992cb87c67e1151c3a9d6f573a626489ce7a6f0 : setup.py
2a1bb45b76fff21fd612efec4530d0c1ddd1a8ef775ff62e21dadb79ae8a5af4 : update_package.py