- package: tis-inkscape
- name: Inkscape
- version: 1.3.1-13
- 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.1-13
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 : 6e1813dd-f859-4091-931c-3148679b9adb
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 : HWx5JzywA2Iah7BoEJ1x9ulCEVdAOtsi0Xd07iq89RQxfSc8MSF1v9/kla7xpttEGhKJ2BUr8q8BsaEwWy5VTouFOg9DS3C380RY0uDePDC+OGiNdK5Z/D6grDFv1V9BuG56KXbsT7zL2XrVlcyHnkXBXJoHgb2CG5vOaNSSCeO+DEu38Yw/jhIH2qd1kUfQIODuUinWgoUCc6v0JvrVYtJ1wFEp6IKdlitfgk+3vXH3TREOjSBChFHnAmsLyL6DDs2k7Yl49+N685LhmI1A7knuY6O8XWjn/Kd++XHr+wnOj/m5/etIUjA/6ig+lZ1Xvchi/TZ6Fvmjx37TrEke6A==
signature_date : 2023-11-23T21:01:14.445961
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-x86.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
# Declaring specific app values (TO CHANGE)
bin_name_string = "inkscape-%s-x86.exe"
def update_package():
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/32-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: " + url_dl)
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)
250b6264a7735aa80880308bf80d50b776e6ea1412a4d9eebcbc28e7a97fec77 : setup.py
c2c6c5101dd3ae4c4107aab6f06d9ddd769a530662f14226db1fe7976aed5911 : update_package.py
a5be046d87b6cd6a121eabb28634bcdd90dbef15495eb163df8ef00c5188caa9 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
3b21906d636d7997ff5f497491948c600d3b51ecf5d12c08bda985657ddabca8 : luti.json
6622a26ccf8ae2839f10f607803ce4ac3f849263da14b3acf4cba4f04e14abd0 : inkscape-1.3.1-x86.exe
ca5c7756df24c51c6229a4e8adaf2b80a864033338af2abccde9e71d61b36dbe : WAPT/control