tis-darktable icon

Darktable

Paquet d’installation silencieuse pour Darktable

5.2.0-1

  • package: tis-darktable
  • name: Darktable
  • version: 5.2.0-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: windows
  • impacted_process: darktable
  • architecture: x64
  • signature_date:
  • size: 129.88 Mo
  • installed_size: 488.34 Mo
  • homepage : https://www.autodesk.fr/viewers

package           : tis-darktable
version           : 5.2.0-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         : windows
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      : 7efad70d-f3a4-4c8b-be6f-84f10f0a1e06
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/darktable-org/darktable/releases/latest
min_os_version    : 10
max_os_version    : 
icon_sha256sum    : d668672dbc49ac48bb3563d2b729f03dd7eb0ba950e748636eb63cc0a6265caa
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-06-28T08:08:40.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         : sRz55BiQxN+9fk/WTQsa35nEn6K4l5gpWUxvUkadECAHScOpz0XCthmIBLhrfziPZ2ZZ5v3Nbwouv+Q9YqW1GpOLHOdxDYRYLYRrJJZiUScMJLuQdyKuV3lArxu6O5OuA+Tq91Kk7YuPOOGx6cu+dixAa5nLes6x5Z6GDfMdVCZlUbJg9ZDvFd7EMbRh1Z5riTD1Cq78oExDZkxaOhVKqNOOccx0YfZrMVtqpGw7Pa98evxd5RiAFbkBt8UlmzWU/5hYgsHxdsCEQgv2gtF4S/+bxsruaLcYSRzuICjBSa80fkcCmv74Cf/ZVhSmaJG1vWY+6HUyryZjRRhN36/k9w==

# -*- 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"
silentflags = "/S"
app_uninstallkey = "darktable"


def install():
    # Declaring local variables
    package_version = control.get_software_version()
    bin_name = glob.glob("*%s*.exe" % bin_contains)[0]
    # Installing the software
    print("Installing: %s" % bin_name)
    # print("Installing: %s (%s)" % (bin_name, package_version))
    # print("Installing: %s (%s)" % (control.name, package_version))
    install_exe_if_needed(
        bin_name,
        silentflags=silentflags,
        key=app_uninstallkey,
        min_version=package_version,
    )

# -*- 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"


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 ".exe" 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

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 : WAPT/changelog.txt
6ee2efaeeb0b576988216ce4c5b75df136c2b7c911f2b5fecb6994f99b2e768a : WAPT/control
d668672dbc49ac48bb3563d2b729f03dd7eb0ba950e748636eb63cc0a6265caa : WAPT/icon.png
4c1499e9d137efcd87e8b70fb6a0374f7139f1d0f0c49baeac9923ef7df7bdaa : darktable-5.2.0-win64.exe
07c154a2bde6ffbc09566d37eeb86af0f05c98a0cdc39b95bcd91578e5cef486 : luti.json
676ed76a116f0f54adccd39c6d315ebb2bb5580d02f3915d999044df4dcde277 : setup.py
afa3af778bc6290ad3a7e4013e2fd17eab8003eb8febd08d4896d420a5348353 : update_package.py