- package: tis-inkscape
- name: Inkscape
- version: 1.3.1-14
- categories: Utilities
- maintainer: WAPT Team,Jimmy PELÉ,Simon Fonteneau
- editor: Inkscape.org
- licence: GPLv3+
- locale: all
- target_os: windows
- impacted_process: inkscape
- architecture: x64
- signature_date:
- size: 100.96 Mo
- homepage : https://inkscape.org/
package : tis-inkscape
version : 1.3.1-14
architecture : x64
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 : df8a3db7-875c-4f3e-afaa-a2a80671b053
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 : UnJtnm6G7mMorbP33m8MjSvSVdDtz10qvk3BKG/UQGq2xIPqbFmII4SXTTymI6tyv4Wc/yiOYrCPTwcN2tc5UV0vMIQgPkwU7J3oVKxANquszfqk0IOOwBzaWuvR13b7WjSWBtR3zMr2u9q/Wd4T9S1JPvFGjfi40ruie2Jl4TfZaJCWrvf11xkzcLqdgtV7JNRbU9O3K3VZkvz09dhUS4neiypKcnjG5/suQCTnlapjVJiamqOExjVrVvHypkoJd56y2yIkehNHYYxriwSsRgnj64xS3ILlMjtIzJuZvD0M89+8nH30TPPTQE0u7KDcdICdqX7JyUzJV9/+r5RkTw==
signature_date : 2023-11-23T21:00:21.829086
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 *
# Declaring specific app values (TO CHANGE)
bin_name_string = "inkscape-%s-x64.exe"
silent_args = "/S /ALLUSER=ON /CONTEXTMENU=OFF"
def install():
# Specific app values
package_version = control.version.split("-")[0]
bin_name = bin_name_string % package_version
# Uninstalling version installed with exe instead of msi
for uninstall in installed_softwares("inkscape"):
if "msiexec.exe" in str(uninstall_cmd(uninstall["key"])).lower():
run(uninstall_cmd(uninstall["key"]))
# Installing the package
install_exe_if_needed(bin_name, silentflags=silent_args, key="Inkscape", min_version=package_version, get_version=get_version_ink)
def get_version_ink(key):
return key["version"].split("-")[0]
# -*- coding: utf-8 -*-
from setuphelpers import *
import platform
import requests
import bs4 as BeautifulSoup
def update_package():
bin_name_string = "inkscape-%s-x64.exe"
print("Download/Update package content from upstream binary sources")
# Getting proxy informations from WAPT settings
proxy = {}
if platform.system() == "Windows" and isfile(makepath(user_local_appdata(), "waptconsole", "waptconsole.ini")):
proxywapt = inifile_readstring(makepath(user_local_appdata(), "waptconsole", "waptconsole.ini"), "global", "http_proxy")
if proxywapt:
proxy = {"http": proxywapt, "https": proxywapt}
# Specific app values
app_name = control.name
url = "https://inkscape.org/release/?latest=1"
# Getting latest version from official website
page = requests.get(url, proxies=proxy).text
bs = BeautifulSoup.BeautifulSoup(page)
bs_raw_string = bs.find("h2", text="Revisions")
label = bs_raw_string.findNext().findNext()
version = label.find("label").text
latest_bin = bin_name_string % version
url_dl = "https://inkscape.org/release/inkscape-%s/windows/64-bit/exe/dl" % version
bin_url = "https://inkscape.org/" + wgets(url_dl).split(".exe")[0].split("=")[-1] + ".exe"
print("Latest " + app_name + " version is: " + version)
print("Download url is: " + bin_url)
if len(version.split(".")) == 2:
version = version + ".0"
newfilename = bin_name_string % version
# Downloading latest binaries
if not isfile(newfilename):
print("Downloading: " + latest_bin)
wget(bin_url, newfilename, proxies=proxy)
# Change version of the package
control.version = "%s-%s" % (version, int(control.version.split("-", 1)[1]) + 1)
control.save_control_to_wapt(".")
print("Changing version to " + control.version + " in WAPT\\control")
print("Update package done. You can now build-upload your package")
else:
print("This package is already up-to-date")
# Deleting outdated binaries
for bin_in_dir in glob.glob("*.exe"):
if bin_in_dir != newfilename:
print("Outdated binary: " + bin_in_dir + " Deleted")
remove_file(bin_in_dir)
8e7cf7da7af324e90a4991337f30bb653226a2f3046747e47a9ab3c257962d1d : setup.py
79da17826f2f6c0eed3fdf3613646f3d3c371afe330efdbf1bf771ba6ef45f73 : update_package.py
a5be046d87b6cd6a121eabb28634bcdd90dbef15495eb163df8ef00c5188caa9 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
7ef18362820d3816ed06e4c3e7d4ea3f1f46be55f4d8a7cad97ab09b2d231677 : inkscape-1.3.1-x64.exe
1fde06fbdf54849c4070711c589210c05fe31e2d03e1870b6e5cc23076f549d8 : luti.json
193d0ea277ada7d5160eeb277cfd6b67d85b4d5557c5a7e838f3c503f03661f6 : WAPT/control