- package: tis-inkscape
- name: Inkscape
- version: 1.3.2-12
- categories: Utilities
- maintainer: WAPT Team,Jimmy PELÉ,Simon Fonteneau
- editor: Inkscape.org
- licence: GPLv3+
- locale: all
- target_os: windows
- impacted_process: inkscape
- architecture: x86
- signature_date:
- size: 106.58 Mo
- homepage : https://inkscape.org/
package : tis-inkscape
version : 1.3.2-12
architecture : x86
section : base
priority : optional
name : Inkscape
categories : Utilities
maintainer : WAPT Team,Jimmy PELÉ,Simon Fonteneau
description : Inkscape is a free vector drawing software under the GNU GPL license
depends :
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 1.5
sources : https://gitlab.com/inkscape/inkscape
installed_size :
impacted_process : inkscape
description_fr : Inkscape est un logiciel libre de dessin vectoriel sous licence GNU GPL
description_pl : Inkscape jest wolnym programem do rysowania wektorów na licencji GNU GPL
description_de : Inkscape ist ein freies Vektorzeichenprogramm unter der GNU GPL Lizenz
description_es : Inkscape es un software libre de dibujo vectorial bajo la licencia GNU GPL
description_pt : Inkscape é um software livre de desenho vectorial sob a licença GNU GPL
description_it : Inkscape è un software di disegno vettoriale gratuito con licenza GNU GPL
description_nl : Inkscape is een gratis vectortekenprogramma onder de GNU GPL licentie
description_ru : Inkscape - это бесплатная программа для рисования векторов под лицензией GNU GPL
audit_schedule :
editor : Inkscape.org
keywords : inkscape,drawing,vector
licence : GPLv3+
homepage : https://inkscape.org/
package_uuid : 31e61ff0-0f55-42e2-815d-779869aec824
valid_from :
valid_until :
forced_install_on :
changelog : https://inkscape.org/release
min_os_version :
max_os_version :
icon_sha256sum : a5be046d87b6cd6a121eabb28634bcdd90dbef15495eb163df8ef00c5188caa9
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : OLoV6eoZswLMOFsE4acY+RAv70YrCFbNASjm0XRk+phOMaBjD645H9rXGP/T7IZy2aP/6UBso0f32UnHcR58cMQlKEa0kZST7n9gzWUoUnWGmVEeIZE1LYA/DLvSKp79BxfnEc8+kk5R1xQBdlm0LfuH72O7WHhZqbmOD1iLubxM+YBuZMUJyg+NC4y3TIKTvVALUumXZox3zzR3ewCa8b6i4A1/r7F+25zSWsOgetKKDhgpXvXdWBz8U2otI2fvxSSn6WgbUyuxSybIjFBqE0OYjZL/bmQ+DW5ujY3vdTyxsmyXEdTDY99vKj1s6kl4BkCUDwLHjRWfN+CxBS/2lA==
signature_date : 2023-12-03T19:01:47.334344
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 *
"""
https://inkscape.org/release/inkscape-1.3.2/windows/64-bit/:
Please note: Always remove/uninstall the previous version before updating!
"""
def install():
bin_name = glob.glob("inkscape-*-x86.exe")[0]
# Uninstalling older version of software
for to_uninstall in installed_softwares(uninstallkey="Inkscape"):
if Version(to_uninstall["version"]) < Version(control.get_software_version()) or force:
print("Removing: %s (%s)" % (to_uninstall["name"], to_uninstall["version"]))
killalltasks(ensure_list(control.impacted_process))
run(uninstall_cmd(to_uninstall["key"]))
wait_uninstallkey_absent(to_uninstall["key"])
# Installing the package
install_exe_if_needed(
bin_name,
silentflags="/S /ALLUSER=ON /CONTEXTMENU=OFF",
key="Inkscape",
min_version=control.get_software_version(),
)
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
url = "https://inkscape.org/release/?latest=1"
# Getting latest version from official sources
for bs_search in bs_find_all(url, "h2", proxies=proxies):
if "Revisions" in bs_search.text:
version = bs_search.findNext().findNext().find("label").text
download_url_page = "https://inkscape.org/release/inkscape-%s/windows/64-bit/exe/dl" % version
if control.architecture == "x86":
download_url_page = download_url_page.replace("64-bit", "32-bit")
download_url = "https://inkscape.org/" + wgets(download_url_page).split(".exe")[0].split("=")[-1] + ".exe"
latest_bin = download_url.split("/")[-1]
# Downloading latest binaries
print("Latest %s version is: %s" % (control.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)
else:
print("Binary is present: %s" % latest_bin)
# Deleting outdated binaries
remove_outdated_binaries(latest_bin)
# # Checking version from file
# if get_os_name() == "Windows" and "windows" in control.target_os.lower():
# version_from_file = get_version_from_binary(latest_bin)
# if Version(version_from_file, 4) == Version(version, 4):
# print(f"INFO: Binary file version ({version_from_file}) corresponds to online version ({version})")
# else:
# error(f"ERROR: Binary file version ({version_from_file}) do NOT corresponds to online version ({version})")
# 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
db396cdcc558e348b8ad075ba8d876292fb2ba3860f8fabdd54beeb924cb591f : setup.py
61432e527cb11a9f8ff426bd4c8131cbd5ead74a74e4463ea9914c9010778ee2 : update_package.py
27ad42cb23f9d81873dea3c8bea9e62b10c7e662fa0a1887de233487406310ff : inkscape-1.3.2_2023-11-25_091e20ef0f-x86.exe
a5be046d87b6cd6a121eabb28634bcdd90dbef15495eb163df8ef00c5188caa9 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
5a50839dc856281c2bceaaf23b7a9a24337acef730f745924dfbaffe48efc94d : luti.json
e4c16254b4dd63a14247df728711ed582ff027ef7d39ba3e3fd413d44d6a012a : WAPT/control