
- package: tis-darktable
- name: Darktable
- version: 4.8.1-1
- categories: Utilities,Media
- maintainer: WAPT Team,Tranquil IT,Pierre Cosson
- editor: https://github.com/darktable-org
- licence: GPL-3.0 license
- locale: all
- target_os: darwin
- impacted_process: darktable
- architecture: x64
- signature_date:
- size: 75.38 Mo
- installed_size: 488.34 Mo
- homepage : https://www.autodesk.fr/viewers
package : tis-darktable
version : 4.8.1-1
architecture : x64
section : base
priority : optional
name : Darktable
categories : Utilities,Media
maintainer : WAPT Team,Tranquil IT,Pierre Cosson
description : darktable is an open source photography workflow application and non-destructive raw developer
depends :
conflicts :
maturity : PROD
locale : all
target_os : darwin
min_wapt_version : 2.0
sources : https://github.com/darktable-org/darktable/releases/latest
installed_size : 488340945
impacted_process : darktable
description_fr : darktable est une application de flux de travail photographique open source et un développeur raw non destructif
description_pl : darktable jest aplikacją open source do organizacji pracy w fotografii i niedestrukcyjnego rozwijania surowego materiału
description_de : darktable ist eine Open-Source-Fotoworkflow-Anwendung und nicht-destruktiver Rohdatenentwickler
description_es : darktable es una aplicación de flujo de trabajo fotográfico de código abierto y un revelador de raw no destructivo
description_pt : darktable é uma aplicação de fluxo de trabalho de fotografia de código aberto e revelador bruto não destrutivo
description_it : darktable è un'applicazione open source per il flusso di lavoro fotografico e per lo sviluppo non distruttivo di raw
description_nl : darktable is een open source fotografie workflow applicatie en niet-destructieve raw ontwikkelaar
description_ru : darktable - это приложение для работы с фотографиями с открытым исходным кодом и недеструктивный разработчик raw
audit_schedule :
editor : https://github.com/darktable-org
keywords :
licence : GPL-3.0 license
homepage : https://www.autodesk.fr/viewers
package_uuid : 4cb75e7e-1fcb-4a05-ac4f-3613fec031b8
valid_from :
valid_until :
forced_install_on :
changelog : https://github.com/darktable-org/darktable/releases/latest
min_os_version :
max_os_version :
icon_sha256sum : d668672dbc49ac48bb3563d2b729f03dd7eb0ba950e748636eb63cc0a6265caa
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : UXpxtPHAo2HbM2KnGT5bkMiaQch5VsYKAvtH88KFPVXRxwAwT2QNRcotxv2jf7NoFhEz8wnkAaG3JML7td9eCf0M/exn0ZImM59ZtoNiqJtQNruRbCMKWo6/5bkUoqQLbVn3o9FAyH9Z7E1mJve6RIYEeu6h+EZuLxPwZmBtAO4XiSeT3tKbMT2fpQp9AQNLmKpSdduqE34OO8rzH1dz3rIps2s3QwwaEKMpnqR1QK0+PVh9NP0HoX1f3sREJevLhqJ7ynDpgIfgLnmnVpvOPXdndKLfhPbRLhMZjw/KTGi/XuXydue9WWRg9WK1yhL10RSNcRi/vldMhIScfiYYKw==
signature_date : 2024-07-29T21:00:44.931994
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 *
r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
bin_contains = "darktable"
app_uninstallkey = "darktable"
def install():
# Declaring local variables
package_version = control.get_software_version()
bin_name = glob.glob("*%s*.dmg" % bin_contains)[0]
# Installing the software
print("Installing: %s" % bin_name)
install_dmg(bin_name)
def uninstall():
# uninstalling the software
remove_tree(f"/Applications/{app_uninstallkey}.app")
# -*- coding: utf-8 -*-
from setuphelpers import *
import json
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
bin_contains = "darktable"
bin_ends = ".dmg"
def update_package():
# Declaring local variables
result = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
app_name = control.name
api_url = "https://api.github.com/repos/darktable-org/darktable/releases/latest"
# Getting latest version information from official sources
print("API used is: %s" % api_url)
json_load = json.loads(wgets(api_url, proxies=proxies))
for download in json_load["assets"]:
if bin_contains in download["name"] and bin_ends in download["name"]:
download_url = download["browser_download_url"]
version = json_load["tag_name"].split("-")[1]
latest_bin = download["name"]
break
print("Latest %s version is: %s" % (app_name, version))
print("Download URL is: %s" % download_url)
# Downloading latest binaries
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)
# Checking version from file
version_from_file = get_version_from_binary(latest_bin)
# if not version_from_file.startswith(version) and version_from_file != '':
if Version(version_from_file) != Version(version) and version_from_file != "":
print("Changing version to the version number of the binary")
os.rename(latest_bin, bin_contains + version_from_file + bin_ends)
version = version_from_file
else:
print("Binary file version corresponds to online version")
# Changing version of the package
if Version(version) > Version(control.get_software_version()):
print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
result = True
else:
print("Software version up-to-date (%s)" % Version(version))
control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
# control.set_software_version(version)
control.save_control_to_wapt()
# Deleting outdated binaries
remove_outdated_binaries(version)
# Validating update-package-sources
return result
5631793ef690f197ef6259fb5f52d0643d6ea64251544d1aeaaa1910364b6fb1 : setup.py
e4c8fbb5e012ffa09d398ab5e653ffecaa8cd7d66697800627d640730a5c741a : update_package.py
1947ffb16f1fcc21d43c7bc7002e79f49fa82ee3d17a76832c11ee6b4d3cad73 : darktable-4.8.1-arm64.dmg
d668672dbc49ac48bb3563d2b729f03dd7eb0ba950e748636eb63cc0a6265caa : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 : WAPT/changelog.txt
c69cd5c0bdcfffd53f26c21482befec4dffa25d43694d65fbfef2a8a0f3f11d6 : luti.json
645b95e29a4c85503b42323e9e747cce4679bf3cf89444ab1b5e5b5848f91b65 : WAPT/control