- package: tis-inkscape
- name: Inkscape
- version: 1.4.0-1
- 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.57 Mo
- homepage : https://inkscape.org/
package : tis-inkscape
version : 1.4.0-1
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 : 266c42e1-25ed-4774-960b-c1fcc73f2be6
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 : 2024-10-18T20:00:12.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 : qSmcDSbo+NJDfT21MXI8X8Mgm9MXN1fplap6Dnpp8o0VLNkYCzp1BTaJ8+SmiiDeTDWSMON52CcQc2cFS5O1GP9+0vm86Ik26ZCBGTKOhAV+XTcuCyrx8ohykVPlBaMEoQlldeaS6Lr79ZK64GE4NYkOKNf86p1ZncjLfum4JbVGLjZlERiOLSWLiexxtIrBabllgAr/qBkLQWbtnNHnJLH6T87ZhM0D9oqKP9dn8laXZXpc58JBxZU5gD/P7sJRGUzsLoA9FD6ZjaJrGTPKGadWaaC3XJy1ql/z6Hl7KiebyJ6A1YJeG875k8j/KcmhZefVEEU0+eMfJPgTe6iNxg==
# -*- coding: utf-8 -*-
from setuphelpers import *
import shutil
uninstallkey = []
bin_name_string = "Inkscape-%s.dmg"
def install():
install_dmg("Inkscape-%s.dmg" % control.version.split("-")[0])
def uninstall():
shutil.rmtree("/Applications/Inkscape.app")
# -*- coding: utf-8 -*-
from setuphelpers import *
import requests
import bs4 as BeautifulSoup
bin_name_string = "Inkscape-%s.dmg"
def update_package():
print("Download/Update package content from upstream binary sources")
# Getting proxy informations from WAPT settings
proxy = {}
if 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}
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
# https://inkscape.org/release/inkscape-1.2/mac-os-x/dmg/dl/
url_dl = "https://inkscape.org/release/inkscape-%s/mac-os-x/dmg/dl/" % version
bin_url = "https://inkscape.org/" + wgets(url_dl).split(".dmg")[0].split("=")[-1] + ".dmg"
print("Last version %s" % version)
if len(version.split(".")) == 2:
version = version + ".0"
newfilename = bin_name_string % version
# Downloading latest binaries
if not isfile(newfilename):
print("Downloading: " + newfilename)
wget(bin_url, newfilename, proxies=proxy)
print("Update package done. You can now build-upload your package")
control.version = "%s-1" % newfilename.split("-")[1].strip(".dmg")
control.save_control_to_wapt()
# Deleting outdated binaries
for bin_in_dir in glob.glob("*.dmg"):
if bin_in_dir != newfilename:
print("Outdated binary: " + bin_in_dir + " Deleted")
remove_file(bin_in_dir)
e3f968e131e5c3577ee21809da487eafe2a9b42370e2bf408e5811b6f965912e : Inkscape-1.4.0.dmg
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
0006aa232d41ec45a607c5418ec56be48131969f27802ac6cd81d408c4411697 : WAPT/control
a5be046d87b6cd6a121eabb28634bcdd90dbef15495eb163df8ef00c5188caa9 : WAPT/icon.png
58cffb222b1df05371dd9f03f0039373f644d2df550d35446a3a28107c6dbfb8 : luti.json
a92c0804aae3a2dc441f114b118524e9865a0f8322b40a1d7227e07a75934a70 : setup.py
d906c6c00f4f873b57bc4e752650030b5868d2d359ecdff709a43c4e7c520026 : update_package.py