- package: tis-inkscape
- name: Inkscape
- version: 1.4.2-4
- categories: Utilities
- maintainer: WAPT Team,Jimmy PELÉ,Simon Fonteneau,Pierre Cosson
- editor: Inkscape.org
- licence: GPLv3+
- locale: all
- target_os: darwin
- impacted_process: inkscape
- architecture: x64
- signature_date:
- size: 153.62 Mo
- homepage : https://inkscape.org/
package : tis-inkscape
version : 1.4.2-4
architecture : x64
section : base
priority : optional
name : Inkscape
categories : Utilities
maintainer : WAPT Team,Jimmy PELÉ,Simon Fonteneau,Pierre Cosson
description : Inkscape is a free vector drawing software under the GNU GPL license
depends :
conflicts :
maturity : PROD
locale : all
target_os : darwin
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 : a8e64029-51bc-4dac-b05c-6a6f10257817
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_date : 2025-05-17T20:43:13.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 : UTu6E0HKTpdWnSa+Rg2mer+2i2BJJHSGCHBulX7TV1WWgnfqpaxR2TiHmeLy9fJHIHhBbBDsoq6bwvnZKwpMQ73W+ZKVlOPtBSIoBIq7m+w+7oDE+CbdLZdI1xwP/+F8LQHksreZdc73izv4g/d8tqR0NA5AZPfy/jjnBRtRuCMP4Mn18BUH5+xxLtz+5TfIZbwrs8d7WgZzpp/NYFeAMOYNNyGr+YxSDKLOU5P91vFGNN4ZoTDRf9EpgVhXzubfDS2S4zLwkB5hq9v4EySBfAVDVwLdXyGxZO9ZFHMDU6vsbCwiUkQxw2z4XF1KcC7OjTVAQ8ZgwH+IjAUp7xgVUQ==
# -*- coding: utf-8 -*-
from setuphelpers import *
def install():
bin_name = glob.glob('Inkscape-*_x86_64.dmg')[0]
install_dmg(bin_name)
def uninstall():
remove_tree("/Applications/Inkscape.app")
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import bs4 as BeautifulSoup
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
app_name = control.name
url = "https://inkscape.org/release/?latest=1"
# Getting latest version from official website
page = requests.get(url, proxies=proxies).text
bs = BeautifulSoup.BeautifulSoup(page)
bs_raw_string = bs.find("h2", text="Revisions")
label = bs_raw_string.findNext().findNext()
version = label.find("label").get_text(strip=True)
os_dict = {
'x64': f"https://inkscape.org/release/inkscape-{version}/mac-os-x/dmg/dl/",
'arm': f"https://inkscape.org/release/inkscape-{version}/mac-os-x/dmg-arm64/dl/"
}
download_url = "https://inkscape.org/" + wgets(os_dict[control.architecture]).split(".dmg")[0].split("=")[-1] + ".dmg"
latest_bin = download_url.rsplit('/', 1)[-1]
latest_bin_extension = latest_bin.rsplit('.', 1)[-1]
# Downloading latest binaries
print(f"Latest {app_name} version is: {version}")
print(f"Download URL is: {download_url}")
if not isfile(latest_bin):
print(f"Downloading: {latest_bin}")
wget(download_url, latest_bin, proxies=proxies)
else:
print(f"Binary is present: {latest_bin}")
# Changing version of the package
if Version(version) > Version(control.get_software_version()):
print(f"Software version updated (from: {control.get_software_version()} to: {Version(version)})")
package_updated = True
else:
print(f"Software version up-to-date ({Version(version)})")
for f in glob.glob(f'*.{latest_bin_extension}'):
if f != latest_bin:
remove_file(f)
control.set_software_version(version)
control.save_control_to_wapt()
return package_updated
f0b05d5195e3aa0ba9d6d6a972f1d7f57abd876532b4d6eb02ecc98c0dcdfdbf : Inkscape-1.4.230579_x86_64.dmg
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
3d907bb296ea98f056873fb679ce1bf4af19222474dd36b6c82bae70205330c1 : WAPT/control
a5be046d87b6cd6a121eabb28634bcdd90dbef15495eb163df8ef00c5188caa9 : WAPT/icon.png
e1084b36985029c56dbedd850f279910603e1cc50ff71b82889bbce7c0b34091 : luti.json
5e4c739eb7b2a9ebe8be2b8ad83e8180637257b76c660d385bad5fbbf8b18692 : setup.py
fb090d123bf20cefcb1c46d65bddecaed0cc1522c586efc11a988ad170e34b6d : update_package.py